Gentoo Archives: gentoo-user

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 3.2.12 Kenel wont boot
Date: Wed, 25 Apr 2012 21:32:45
Message-Id: 4F986CDC.1070904@binarywings.net
In Reply to: Re: [gentoo-user] 3.2.12 Kenel wont boot by Dale
1 Am 25.04.2012 22:55, schrieb Dale:
2 > James wrote:
3 >> Hello,
4 >>
5 >> OK, I manage quite a few gentoo systems.
6 >> ONE of them is being a BIT _ _ ! and I cannot
7 >> figure out what is obviously simple....
8 >>
9 >> I have already migrated most system that I manage
10 >> to the 3.2.12 kernel (not testing kernels for me
11 >> at this time).
12 >>
13 >> Background: The system is an old HP AMD dual core laptop:
14 >> AMD Turion(tm) 64 X2 Mobile Technology TL-56
15 >>
16 >> The error message is this:
17 >>
18 >> Root-NFS: no NFS server address
19 >> VFS: Unable to mount root fs via NFS, try floppy
20 >> VFS: Cannot open root device "sda4" or unknown block (2,0)
21 >> Please append a correct "root=" boot option;
22 >> here are the available partitions:
23 >> oboo 1048575 sr0 driver:sr
24 >>
25 >> Kernel panic - not syncing : VFS : Unable to
26 >> mount root fs on unknown block(2,0)
27 >> PID:1,comm : swapper /0
28 >> Not tainted 3.2.12-gentoo#2
29 >>
30 >> The other (3) series kernels boot and run just fine:
31 >> from grub.conf:
32 >> #0
33 >> title= Linux 3.2.1-gentoo
34 >> root(hd0,1)
35 >> kernel /boot/kernel-3.2.1-gentoo root=/dev/sda4
36 >> #1
37 >> title= Linux 3.2.12-gentoo
38 >> root(hd0,1)
39 >> kernel /boot/kernel-3.2.12-gentoo root=/dev/sda4
40 >> #2
41 >> title= Linux 3.0.6-gentoo
42 >> root(hd0,1)
43 >> kernel /boot/kernel-3.0.6-gentoo root=/dev/sda4
44 >>
45 >> I can even scp over a kernel from a single processor AMD64
46 >> laptop and it boots and runs just fine.
47 >>
48 >>
49 >> When I make a new kernel, I do what I have done for years
50 >> with Gentoo:
51 >>
52 >> cd /usr/src
53 >> rm linux
54 >> ln -sf <latest.kernel> linux
55 >> cd linux
56 >> make menuconfig <save any changes>
57 >> make && make models_install
58 >>
59 >> cp System.map /boot/System.map-3.2.12-gentoo
60 >> cp arch/x86_64/boot/bzImage /boot/kernel-3.2.12-gentoo
61 >> cp .config /boot/config-3.2.12-gentoo
62 >>
63 >>
64 >> So all I can think of is NFS is the difference?
65 >> I cannot seem to flesh out way the new kernel will
66 >> not boot on this system and many others are just fine....
67 >>
68 >> maybe I'm missing support for the "sr" driver ?
69 >>
70
71 Like Simon said, sr is your optical drive. I guess you are missing
72 something in the HDD driver stack. Maybe you should post your kernel
73 config and lspci.
74
75 Or, like Simon suggested, the drives don't spin up fast enough.
76
77 >
78 > OK. I'm used to looking for something stupid that I do so I can't help
79 > but notice something missing. In the list of commands for the new
80 > kernel, I notice the command to copy the old config over is missing.
81 > You did copy the config over right?
82 >
83
84 Thought the same. Using `make oldconfig` is also highly recommended.
85
86 > When I run into this, it's because I forgot to put the root file system
87 > type in the kernel. Example: The root partition has ext3 and I forgot
88 > to build it into the kernel. Some people out of habit build it has a
89 > module which also doesn't work. ^_^
90 >
91
92 I think that is a different error ("unknown super block", "unsupported
93 features" or something similar).
94
95 > Also, make sure the stage files are in /boot too.
96 >
97 > Hope that helps.
98 >
99 > Dale
100 >
101 > :-) :-)
102 >

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: 3.2.12 Kenel wont boot James <wireless@×××××××××××.com>