Re: 3.4.0-rc1: No init found

From: Christian Kujau
Date: Tue Apr 10 2012 - 01:47:27 EST


On Tue, 3 Apr 2012 at 18:08, Benjamin Herrenschmidt wrote:
> On Tue, 2012-04-03 at 00:20 -0700, Christian Kujau wrote:
> > Going from 3.3-rc7 to 3.4-rc1 (with "make oldconfig" inbetween) did not
> > go well on this PowerBook G4 machine:
> >
> > Apr 2 15:18:23 [ 8.318816] EXT4-fs (hda6): mounted filesystem with ordered data mode. Opts: (null)
> > Apr 2 15:18:23 [ 8.320286] VFS: Mounted root (ext4 filesystem) readonly on device 3:6.
> > Apr 2 15:18:23 [ 8.341555] devtmpfs: mounted
> > Apr 2 15:18:23 [ 8.343384] Freeing unused kernel memory: 204k freed
> > Apr 2 15:18:23 [ 8.457056] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
> > Apr 2 15:18:23 [ 8.459936] Rebooting in 180 seconds..
>
> I have observed this randomly on the G5 ... sometimes, if I try again,
> it works... it's very very odd. There is some kind of race maybe with
> async startup ? Or a problem with the vfs path walking ? It's certainly
> not easily reproducable for me, it goes away from one boot to the next.

I tried to sit this one out, but when -rc2 did not magicially fix it I
started a git bisect, this is what I got:

* a546498f3bf9aac311c66f965186373aee2ca0b0 is the first bad commit

commit a546498f3bf9aac311c66f965186373aee2ca0b0
Author: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Date: Wed Mar 7 16:48:45 2012 +1100

powerpc: Call do_page_fault() with interrupts off


Full bisect-log & more: http://nerdbynature.de/bits/3.4.0-rc1/init/

Thanks,
Christian.
--
BOFH excuse #124:

user to computer ration too low.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/