Created attachment 32 [details] qemuarm image not bootable Testing Env: Hardware: qemuarm Images from weekly build (20100812) on autobuilder, http://autobuilder.pokylinux.org/nightly/20100812-1. poky commit info: 69ac39b90eec55831a9b601913a089838307b200 from poky master tree With latest weekly build, qemuarm images can not boot up. See attachment snapshot.
There have been precisely zero changes to the kernel in 2 weeks now. So this must have been triggered by something else in master.
one more information. Use a zImage back to Aug.11, there's no panic observed. So even when there's no recent change in kernel side, it's very likely to be related to other bits related to kernel...
Whilst there have been no specific changes to the kernel itself, we have found bugs in the way the kernel configuration was being constructed and a recent upgrade to git-native could have changed the resulting kernel configuration as those bugs were fixed. One way or another we need to work out whats changed and address this.
This is caused by GCC. Edwin took lots of time today to narrow down the problem. Finally we found that by changing GCC to 4.3.3 (from poky-default.inc), arm kernel then boots successfully. So this is very likely to be related with recent GCC upgrade. Bruce, do you know whether WR arm kernel can be built well with gcc 4.5?
Seems gcc 4.5.0 has some issues with linux kernel. Pls. see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44129
For this question: Bruce, do you know whether WR arm kernel can be built well with gcc 4.5? The answer is: we haven't tried. We are sticking with our 4.4 toolchain since it is known to be stable. We won't get to testing with 4.5 for a few months yet. Slightly behind the curve for stability/commercialization reasons.
Pushed a fix for gcc on arm in the master: http://git.pokylinux.org/cgit.cgi/poky/commit/?id=41a364f59f70f3c643924eff67ca63ab667b63ae Zedd reported he also could fix the issue by up-rev-ing kernel. So now there are 2 fixes for 1 issue :)
(In reply to comment #7) > Pushed a fix for gcc on arm in the master: > http://git.pokylinux.org/cgit.cgi/poky/commit/?id=41a364f59f70f3c643924eff67ca63ab667b63ae > Nitin, It doesn't help, kernel panic still there. I try building from scratch and pulling your commit on old tree, both remain same panic.
2.6.34.4 should fix this, I built and booted the sato image for qemuarm yesterday with that config. Changes are out for review for this.
(In reply to comment #7) Edwin, Thanks for the information. Then this issue is nothing to the gcc bugzilla you pointed in comment #5. Regards, Nitin
(In reply to comment #9) > 2.6.34.4 should fix this, I built and booted the sato > image for qemuarm yesterday with that config. > > Changes are out for review for this. Bruce, Thanks, Could you elaborate on the root cause and which commits fix it? And when the fix in poky?
(In reply to comment #11) > (In reply to comment #9) > > 2.6.34.4 should fix this, I built and booted the sato > > image for qemuarm yesterday with that config. > > > > Changes are out for review for this. > Bruce, > Thanks, > Could you elaborate on the root cause and which commits fix it? And when the > fix in poky? Though I don't know the reason, now the fix is in poky/master (a33579dc, Aug 19). :-)
I never did bisect to the commit which fixes the problem. I intended to debug using the latest 2.6.34 kernel and found it fixed. So due to time and needing to get other issues fixed, I moved on. I have plans for a better bisection in the future.
cc Xianchao, who is responsible for qemuarm testing. Is the bug fixed in M3 or not?
Mark the bug as VERIFIED FIXED, since the kernel is latest one now, 2.6.34.6, and we are using another bug, bug 299, to track qemuarm not bootable issue now.