1 |
James wrote: |
2 |
> Hello, |
3 |
> |
4 |
> OK, I manage quite a few gentoo systems. |
5 |
> ONE of them is being a BIT _ _ ! and I cannot |
6 |
> figure out what is obviously simple.... |
7 |
> |
8 |
> I have already migrated most system that I manage |
9 |
> to the 3.2.12 kernel (not testing kernels for me |
10 |
> at this time). |
11 |
> |
12 |
> Background: The system is an old HP AMD dual core laptop: |
13 |
> AMD Turion(tm) 64 X2 Mobile Technology TL-56 |
14 |
> |
15 |
> The error message is this: |
16 |
> |
17 |
> Root-NFS: no NFS server address |
18 |
> VFS: Unable to mount root fs via NFS, try floppy |
19 |
> VFS: Cannot open root device "sda4" or unknown block (2,0) |
20 |
> Please append a correct "root=" boot option; |
21 |
> here are the available partitions: |
22 |
> oboo 1048575 sr0 driver:sr |
23 |
> |
24 |
> Kernel panic - not syncing : VFS : Unable to |
25 |
> mount root fs on unknown block(2,0) |
26 |
> PID:1,comm : swapper /0 |
27 |
> Not tainted 3.2.12-gentoo#2 |
28 |
> |
29 |
> The other (3) series kernels boot and run just fine: |
30 |
> from grub.conf: |
31 |
> #0 |
32 |
> title= Linux 3.2.1-gentoo |
33 |
> root(hd0,1) |
34 |
> kernel /boot/kernel-3.2.1-gentoo root=/dev/sda4 |
35 |
> #1 |
36 |
> title= Linux 3.2.12-gentoo |
37 |
> root(hd0,1) |
38 |
> kernel /boot/kernel-3.2.12-gentoo root=/dev/sda4 |
39 |
> #2 |
40 |
> title= Linux 3.0.6-gentoo |
41 |
> root(hd0,1) |
42 |
> kernel /boot/kernel-3.0.6-gentoo root=/dev/sda4 |
43 |
> |
44 |
> I can even scp over a kernel from a single processor AMD64 |
45 |
> laptop and it boots and runs just fine. |
46 |
> |
47 |
> |
48 |
> When I make a new kernel, I do what I have done for years |
49 |
> with Gentoo: |
50 |
> |
51 |
> cd /usr/src |
52 |
> rm linux |
53 |
> ln -sf <latest.kernel> linux |
54 |
> cd linux |
55 |
> make menuconfig <save any changes> |
56 |
> make && make models_install |
57 |
> |
58 |
> cp System.map /boot/System.map-3.2.12-gentoo |
59 |
> cp arch/x86_64/boot/bzImage /boot/kernel-3.2.12-gentoo |
60 |
> cp .config /boot/config-3.2.12-gentoo |
61 |
> |
62 |
> |
63 |
> So all I can think of is NFS is the difference? |
64 |
> I cannot seem to flesh out way the new kernel will |
65 |
> not boot on this system and many others are just fine.... |
66 |
> |
67 |
> maybe I'm missing support for the "sr" driver ? |
68 |
> |
69 |
> ideas? |
70 |
> |
71 |
> James |
72 |
> |
73 |
|
74 |
OK. I'm used to looking for something stupid that I do so I can't help |
75 |
but notice something missing. In the list of commands for the new |
76 |
kernel, I notice the command to copy the old config over is missing. |
77 |
You did copy the config over right? |
78 |
|
79 |
When I run into this, it's because I forgot to put the root file system |
80 |
type in the kernel. Example: The root partition has ext3 and I forgot |
81 |
to build it into the kernel. Some people out of habit build it has a |
82 |
module which also doesn't work. ^_^ |
83 |
|
84 |
Also, make sure the stage files are in /boot too. |
85 |
|
86 |
Hope that helps. |
87 |
|
88 |
Dale |
89 |
|
90 |
:-) :-) |
91 |
|
92 |
-- |
93 |
I am only responsible for what I said ... Not for what you understood or |
94 |
how you interpreted my words! |
95 |
|
96 |
Miss the compile output? Hint: |
97 |
EMERGE_DEFAULT_OPTS="--quiet-build=n" |