Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.0test1 works, 2.6.0mm2 doesn't boot: cannot find root fs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wishkah
Guru
Guru


Joined: 09 May 2003
Posts: 441
Location: de

PostPosted: Wed Jul 23, 2003 3:05 pm    Post subject: 2.6.0test1 works, 2.6.0mm2 doesn't boot: cannot find root fs Reply with quote

Hi,

just installed 2.6.0test1 vanilla and it works great. Now I heard about this mysterious mm2 patchset and emerged it (emerge mm-sources), copied my 2.6.0test1 .config over, made oldconfig (just asked me one think, said meh (==no)), then "make && make modules modules_install", copied over the kernelimage, modified the grub.conf (CTRL+K and CTRL+U of my 2.6.0test1 entry) and rebooted.

After the reboot and selection of the mm2 kernel in grub, I get the following:

Code:

[blah-blah-yack-yack-blah-yack]
BIOS EDD facility v0.09 2003-jan-22, 2 devices found
VFS: Cannot open root device "hda7" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)


The point is: I COPIED nearly everything from a working kernel, and now it's not working anymore!! I am absolutely sure there's nothing wrong with the hda7, it works with all my other kernels (2.4.20,2.4.21,2.6.0test1).

I already checked the .config file, it's settings should be allright...

Please help!

[edit]
grub.conf:
default 0
timeout 30
splash=[blahblah]

[...]

title=2.6.0test1 !BETA!
root (hd0,4)
kernel (hd0,4)/boot/bzImage_2600test1 root=/dev/hda7 vga=791 idebus=66

title=2.6.0test1_mm2 !BETA!
root (hd0,4)
kernel (hd0,4)/boot/bzImage_2600test1_mm2 root=/dev/hda7 vga=791 idebus=66

[...]
[/edit]
_________________
if only I could fill my heart with love...
Back to top
View user's profile Send private message
segflaunt
Tux's lil' helper
Tux's lil' helper


Joined: 22 May 2003
Posts: 101

PostPosted: Wed Jul 23, 2003 3:24 pm    Post subject: Reply with quote

Start here http://www.ussg.iu.edu/hypermail/linux/kernel/0307.2/1537.html

The problem is how the kernel (for whatever reason) resolves "/dev/hd??" to numerical a device address for the kernel.

If you run test kernels, read the mailing list.
Back to top
View user's profile Send private message
latexer
Retired Dev
Retired Dev


Joined: 05 Mar 2003
Posts: 239
Location: NYC

PostPosted: Wed Jul 23, 2003 3:59 pm    Post subject: Reply with quote

see here or here for info on what has changed. Because devfsd is actually handling creating the /dev/hda or /dev/hdbX, etc, you need to either specify a hex digit for the device (see the second link) or the actual device like
Code:
root=/dev/ide/host0/bus0/target1/lun0/part1

_________________
overlays - Use at your own risk. File bug reports on this stuff and i'll kick you in the junk. Ask me before asking upstream if these fail. I mean it. No, really.

#gentoo-dotnet on freenode
Back to top
View user's profile Send private message
wishkah
Guru
Guru


Joined: 09 May 2003
Posts: 441
Location: de

PostPosted: Wed Jul 23, 2003 4:01 pm    Post subject: Reply with quote

Hey, thanks, setting root=0307 fixed it!

Thanks for your help, segflaunt & latexer!

Edit:
Sure will read the kernel mailing list before posting anything beta from now on, I will be good :wink: :twisted:
_________________
if only I could fill my heart with love...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum