Bug 5040

Summary: [Yocto 1.4.2] runqemu: Could not initialize SDL(No available video device) for core-image-sato on Fedora 19
Product: [Runtime] General Runtime Reporter: Yi Zhao <yi.zhao>
Component: General RuntimeAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bluelightning, ke.zou, ning.zhang
Version: 1.4.2   
Target Milestone: 1.4.2   
Hardware: x86   
OS: Multiple   
Whiteboard: Release Note 1.4.2
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Yi Zhao 2013-08-22 10:01:07 UTC
Image location: http://autobuilder.yoctoproject.org/pub/releases/dylan-1.4.2.rc1/

Git rev: dylan/d734ab491a30078d43dee5440c03acce2d251425

This issue is same with bug 4973 in Yocto 1.5.

When try to startup a sato image on Fedora 19, the image can not boot up and show the following message:

#######################
$ runqemu nfs download_image/vmlinux-qemumips.bin test-yocto/mips
Assuming test-yocto/mips is an nfs rootfs
Set MACHINE to [qemumips] based on kernel [download_image/vmlinux-qemumips.bin]

Continuing with the following parameters:
KERNEL: [download_image/vmlinux-qemumips.bin]
ROOTFS: [test-yocto/mips]
FSTYPE: [nfs]
Setting up tap interface under sudo
Acquiring lockfile for tap0...
runqemu-export-rootfs restart test-yocto/mips
No PID file, not stopping rpc.mountd
No PID file, not stopping rpc.nfsd
Creating exports file...
Starting User Mode rpc.mountd
  /buildarea/adt-installer-automation/sdk/sysroots/i686-pokysdk-linux/usr/bin/pseudo -P /buildarea/adt-installer-automation/sdk/sysroots/i686-pokysdk-linux/usr /buildarea/adt-installer-automation/sdk/sysroots/i686-pokysdk-linux/usr/sbin/rpc.mountd --allow-non-root --mount-pid /home/yocto/.runqemu-sdk/mount0.pid -f /home/yocto/.runqemu-sdk/exports0 --rmtab /home/yocto/.runqemu-sdk/rmtab0 --prog 21111 -r -P 3048
Starting User Mode nfsd
  /buildarea/adt-installer-automation/sdk/sysroots/i686-pokysdk-linux/usr/bin/pseudo -P /buildarea/adt-installer-automation/sdk/sysroots/i686-pokysdk-linux/usr /buildarea/adt-installer-automation/sdk/sysroots/i686-pokysdk-linux/usr/sbin/rpc.nfsd --allow-non-root --nfs-pid /home/yocto/.runqemu-sdk/nfs0.pid -f /home/yocto/.runqemu-sdk/exports0 --prog 11111 -P 3049 -r
 
On your target please remember to add the following options for NFS
nfsroot=IP_ADDRESS:/buildarea/adt-installer-automation/test-yocto/mips,nfsvers=2,mountprog=21111,nfsprog=11111,udp
Running qemu-system-mips...
/buildarea/adt-installer-automation/sdk/sysroots/i686-pokysdk-linux/usr/bin/qemu-system-mips -kernel download_image/vmlinux-qemumips.bin -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -M malta -no-reboot -vga cirrus -show-cursor -usb -usbdevice wacom-tablet -no-reboot -m 128 --append "root=/dev/nfs console=ttyS0 console=tty nfsroot=192.168.7.1:test-yocto/mips,nfsvers=2,mountprog=21111,nfsprog=11111,udp,port=3049,mountport=3048 rw ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=128M "
Could not initialize SDL(No available video device) - exiting
Set 'tap0' nonpersistent
Releasing lockfile of preconfigured tap device 'tap0'
Shutting down the userspace NFS server...
runqemu-export-rootfs stop test-yocto/mips
Stopping rpc.mountd
Stopping rpc.nfsd
Removing exports file
########################
Comment 1 Saul Wold 2013-08-29 14:36:36 UTC
Don't build libX11 native