Gentoo Archives: gentoo-user

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

Replies