Gentoo Archives: gentoo-user

From: Maxim Wexler <maxim.wexler@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] Re: kernel panic -- finding proper config diff
Date: Wed, 21 Oct 2009 18:56:43
Message-Id: a0811460910211156o3d7dba97r5cc831c4589a83ec@mail.gmail.com
In Reply to: [gentoo-user] kernel panic -- finding proper config diff by Maxim Wexler
1 as a follow up go here:
2
3 http://bugzilla.kernel.org/show_bug.cgi?id=13560
4
5 Virtually identical problem. Check out the screen pic. Just like mine,
6 save for the hardware and fs differences.
7
8 mw
9
10 On 10/21/09, Maxim Wexler <maxim.wexler@×××××.com> wrote:
11 > Hi group,
12 >
13 > Did linux#make menuconfig followed by linux# make && make
14 > modules_install on the .2.6.30-gentoo-r7 sources. And copied over the
15 > new kernel and rebooted.
16 >
17 > The kernel panicked. The relevant messages are:
18 >
19 > <...>
20 > VFS: Mounted root (ext2 filesystem) readonly on device 8:1,
21 > Freeing unused kernel memory: 276k freed
22 > Warning: unable to open an initial console
23 > Kernel panic - not syncing. No init found. Try passing init=option to
24 > kernel.
25 > Pid: 1. comm: swapper Not tainted 2.6.30-gentoo-r7 #2
26 > Call Trace:
27 > [<c0479986>] ? printk+0xf/0x11
28 > [<c04798dc>] panic+0x39/0xd4
29 > [<c020135z>] init_post+0x13c/0x13e
30 > [<c05b62dc>] kernel_init+0x148/0x152
31 > [<c05b6194>] ? kernel_init+0x0/0x152
32 > [<c02033cf>] kernel_thread_helper+0x7/0x10
33 >
34 >
35 > So far I've tried adding 'init=/bin/bash' and 'init=/sbin/init' to the
36 > command line. No help. Someone in a forum suggested chrooting and
37 > emerging sysvinit. But that's already installed.
38 >
39 > There's a million hits on google for this error message with about as
40 > many solutions.
41 >
42 > Assuming it has something to do with my kernel config, I tried running
43 > $diff -y on the two configs but at approx. 2600 lines per file I'm
44 > going to need some advice on what to zero in on.
45 >
46 > I tried to keep the new config as same as the old. But there's a lot
47 > of new features, weird stuff like CONFIG_X86_32_LAZY_GS=y and the new
48 > decompression protocol.
49 >
50 >
51 > Maxim
52 >