Bug 1290

Summary: qemuppc minimal,sato,sato-sdk images boot failed ( nightly build 20110723-2)
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: liang li <liang.li2>
Component: meta-yoctoAssignee: Bruce Ashfield <bruce.ashfield>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: Undecided CC: jiajun.xu, liangliang.wang, poky.bs.watcher, poky.watcher, sgw, yi.zhao
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: ppc   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
qemuppc boot log (kernel version 3.0.3) none

Description liang li 2011-07-25 02:44:50 UTC
qemuppc minimal, sato,sato-sdk images boot failed (nightly build 20110723-2):

boot error below :
Continuing with the following parameters:
KERNEL: [/home/liangli/test_dir_4/zImage-3.0+git1+9010d1cbef2633dac7e559a7705c326b7601dd4c_1+f4ce805d0b74f9f32b6455730485120e27a4711e-r0-qemuppc-20110724020516.bin]
ROOTFS: [/home/liangli/test_dir_4/core-image-sato-qemuppc-20110724020516.rootfs.ext3]
FSTYPE: [ext3]
Acquiring lockfile for tap0...
Acquiring lockfile for tap1...
Setting up tap interface under sudo
Acquiring lockfile for tap2...
WARNING: distccd not present, no distcc support loaded.
Running qemu-system-ppc...
/opt/poky/1.0+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/qemu-system-ppc -kernel /home/liangli/test_dir_4/zImage-3.0+git1+9010d1cbef2633dac7e559a7705c326b7601dd4c_1+f4ce805d0b74f9f32b6455730485120e27a4711e-r0-qemuppc-20110724020516.bin -net nic,vlan=0 -net tap,vlan=0,ifname=tap2,script=no,downscript=no -cpu 603e -M prep -bios powerpc_rom.bin -hda /home/liangli/test_dir_4/core-image-sato-qemuppc-20110724020516.rootfs.ext3 -no-reboot -show-cursor -usb -usbdevice wacom-tablet -nographic -no-reboot -m 128 --append "root=/dev/hda rw console=ttyS0 console=tty0 ip=192.168.7.6::192.168.7.5:255.255.255.0 mem=128M "
Using QEMU machine description
............
Uniform Multi-Platform E-IDE driver
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
hda: QEMU HARDDISK, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 13
ide1: disabled, unable to get IRQ 13
ide1: failed to initialize IDE interface
ide1: disabling port
ide-gd driver 1.18
hda: max request size: 512KiB
hda: 433286 sectors (221 MB) w/256KiB Cache, CHS=429/255/63
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
hda: cache flushes supported
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
 hda: unknown partition table
hda: lost interrupt
ne.c:v1.10 9/23/94 Donald Becker (becker@scyld.com)
Last modified Nov 1, 2000 by Paul Gortmaker
NE*000 ethercard probe at 0x300:52:54:00:12:34:56
eth0: NE2000 found at 0x300, using IRQ 9.
console [netcon0] enabled
netconsole: network logging started
mousedev: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: multipath personality registered for level -4
md: faulty personality registered for level -5
device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
Registering the dns_resolver key type
registered taskstats version 1
IP-Config: Complete:
     device=eth0, addr=192.168.7.6, mask=255.255.255.0, gw=192.168.7.5,
     host=192.168.7.6, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
hda: lost interrupt
EXT3-fs (hda): warning: feature flags set on rev 0 fs, running e2fsck is recommended
hda: lost interrupt
hda: lost interrupt
EXT3-fs: barriers not enabled
hda: lost interrupt
EXT3-fs (hda): warning: updating to rev 1 because of new feature flag, running e2fsck is recommended
kjournald starting.  Commit interval 5 seconds
hda: lost interrupt
EXT3-fs (hda): using internal journal
EXT3-fs (hda): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 3:0.
hda: lost interrupt
hda: lost interrupt
devtmpfs: mounted
Freeing unused kernel memory: 248k init
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
..... (always output "hda: lost interrupt")

qemuppc can not boot .

------------
Image location:
http://autobuilder.yoctoproject.org/nightly/20110723-2/machines/qemu/qemuppc/
git info :eea4bd731ef286516ee1fb934fe2222a09c06e70
git branch : poky/master
Comment 1 liang li 2011-07-25 02:52:07 UTC
Test env:
host : ubuntu 10.10 x86_64
kernel: 2.6.35-30-generic #54-Ubuntu SMP
Comment 2 Richard Purdie 2011-07-25 03:41:37 UTC
I think the addition of the 3.0 kernel has become default before Bruce intended it too...
Comment 3 Bruce Ashfield 2011-07-25 06:01:32 UTC
yes. this should definitely NOT be the default at this point.
Now that I think about it we weren't protected by virtue of the
recipe name, and we need to merge a change that forces
2.6.37 vs the old style change where we had to actually jump to a 
new recipe when it was available.

I'll use this bug to force 2.6.37 vs fixing qemuppc, since that is
not supposed to be a defect yet :)
Comment 4 Bruce Ashfield 2011-07-27 10:50:17 UTC
This is resolved two ways now. We have a forced preference to 2.6.37 and the ppc image has been fixed in 3.0 to boot to the prompt.
Comment 5 liang li 2011-08-01 03:08:59 UTC
From nightly build 20110730-1:
http://autobuilder.pokylinux.org/nightly/20110730-1/machines/qemu/qemuppc/
the qemu minimal,sato,sato-sdk images all boot normally now and qemu kernel version is 2.6.37.6 (compare to nightly build 20110723-2,qemu kernel version is 3.0). 
next time when kernel version 3.0 is found and boot normally,will change the defect status to verified.
Comment 6 liang li 2011-08-28 23:11:49 UTC
using git branch master newest to build qemuppc,qemuppc can boot and kernel version is now 3.0.3, so verify this bug. 
git info : 6c2b7beac3cd23ed44bd3e195c6360a0932876bf
git branch : poky/master
Comment 7 liang li 2011-08-28 23:21:12 UTC
Created attachment 214 [details]
qemuppc boot log (kernel version 3.0.3)

qemuppc boot log (kernel version 3.0.3).