| Summary: | qemu doesn't boot with musl+ptest | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [QA/Testing] Package Testing (ptest) | Reporter: | Yi Fan Yu <yf3yu> | ||||
| Component: | ptest | Assignee: | Unassigned <unassigned> | ||||
| Status: | RESOLVED NOTABUG | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | raj.khem, randy.macleod | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 3.3 M4 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | Don't know | |||||
| Attachments: |
|
||||||
is this using poky or poky-tiny ? poky-tiny does not use sysvinit or systemd for init system and from error it looks like its using busybox shell which is not able to execute a given shell script. (In reply to comment #1) > is this using poky or poky-tiny ? > poky-tiny does not use sysvinit or systemd for init system > and from error it looks like its using busybox shell which is not able to > execute a given shell script. i only used oe-core so no-distro I added DISTRO_FEATURES ptest and built TCLIBC=musl core-image-minimal I took todays master-next and I can boot it fine, added DISTRO_FEATURES_append = " ptest" to local.conf $ TCLIBC=musl bitbake core-image-minimal $ TCLIBC=musl runqemu nographic ... INIT: version 2.99 booting Starting udev [ 7.303507] udevd[114]: starting version 3.2.10 [ 7.404499] udevd[115]: starting eudev-3.2.10 [ 10.782016] EXT4-fs (vda): re-mounted. Opts: (null) [ 10.782516] ext4 filesystem being remounted at / supports timestamps until 2038 (0x7fffffff) INIT: Entering runlevel: 5 Configuring network interfaces... ip: RTNETLINK answers: File exists Starting syslogd/klogd: done OpenEmbedded nodistro.0 qemux86-64 /dev/ttyS0 qemux86-64 login:root root@qemux86-64:~# ls -l /lib lrwxrwxrwx 1 root root 18 Mar 25 19:27 ld-musl-x86_64.so.1 -> ../usr/lib/libc.so lrwxrwxrwx 1 root root 17 Mar 25 19:35 libblkid.so.1 -> libblkid.so.1.1.0 -rwxr-xr-x 1 root root 316208 Mar 25 19:35 libblkid.so.1.1.0 lrwxrwxrwx 1 root root 14 Mar 25 19:30 libz.so.1 -> libz.so.1.2.11 -rwxr-xr-x 1 root root 100760 Mar 25 19:30 libz.so.1.2.11 drwxr-xr-x 3 root root 1024 Mar 25 19:30 modules drwxr-xr-x 3 root root 1024 Mar 25 19:36 udev are there any differences in your build env ? I was able to run musl ptest. Might be some misconfiguration on my end. Thx khem. |
Created attachment 4780 [details] error msg for qemu oe-core with DISTRO_FEATURES_append = " ptest" TLIBC=musl bitbake core-image-minimal runqemu tmp-musl/deploy/images/qemux86-64 nographic it will boot if i remove ptest from DISTRO_FEATURES error logs attached.