Bug 12224

Summary: wic image created for qemux86-64 stalls on undefined video mode number: 318
Product: [Build System, Metadata & Runtime] OE-Core Reporter: brian avery <brian.avery>
Component: virtual machinesAssignee: Anuj Mittal <anuj.mittal>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: california.l.sullivan
Version: 2.4   
Target Milestone: 2.6 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description brian avery 2017-10-13 23:07:13 UTC
Build Configuration:
BB_VERSION        = "1.35.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.4"
TUNE_FEATURES     = "m64 core2"
TARGET_FPU        = ""
meta              
meta-poky         
meta-yocto-bsp    = "master:96967261993f8b583b51cdeccbb1fd06042d2192"

build core-image-base
add this to local.conf:
NOISO="1"
NOHDD="1"
IMAGE_FSTYPES="wic  wic.bmap "

and then run 
$ runqemu wic kvm 

you should see it complaining about a bad video mode.  It will boot anyway after 30 seconds or if you hit space, or if you hit enter and select one.
Comment 1 brian avery 2017-10-13 23:17:10 UTC
adding cal as he has some comments about how this does not occur with hddimage
Comment 2 California Sullivan 2017-10-13 23:21:42 UTC
Right, does not occur if you use an hddimg instead of wic. Examining the contents the only difference bootloader wise is the syslinux config, so I believe that's where the problem lies.