Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel panic. "sdb3 doesn't exist" [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Quartzrox
n00b
n00b


Joined: 25 Jan 2006
Posts: 4
Location: France

PostPosted: Wed Jan 25, 2006 9:50 pm    Post subject: kernel panic. "sdb3 doesn't exist" [SOLVED] Reply with quote

i have 2 SATA drives and they're recognized by the BIOS and Gentoo LiveCD in a certain order. for some reason, for GRUB, second disk is (hd0) and the 1st one is (hd1), it was tricky to find.
Gentoo is on disk 2 (hd0) and there are 3 partitions: boot, swap, root. I set the systemmap right for the HDs:
(hd0) /dev/sdb
(hd1) /dev/sda

i installed Gentoo on sdb3 w/ reiserfs and compiled the kernel with all the reiserfs features.
the line in grub.conf looks like this:
kernel kernel-2.6.12-gentoo-r10 root=/dev/sdb3.

the result is a kernel panic because "sdb3 is not a valid device" and it says i should set a correct one. i don't know if this matters but GRUB does see all 3 partitions.


Last edited by Quartzrox on Sat Jan 28, 2006 2:46 am; edited 1 time in total
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Wed Jan 25, 2006 10:13 pm    Post subject: Reply with quote

Hi and welcome to the forums.

Please post the exact error message. If you want to know how GRUB sees your disks, on the GRUB menu select the command-line c and use GRUB auto-complete feature, use TAB, to discover how GRUB sees your disks.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Quartzrox
n00b
n00b


Joined: 25 Jan 2006
Posts: 4
Location: France

PostPosted: Thu Jan 26, 2006 12:11 am    Post subject: Reply with quote

Thx

i believe someone else in a recent thread had the exact same problem. the error message is the message exept i get cannot the line is
Quote:
VFS: Cannot open root device "sdb3" or unknown block(0,0)
. however there's no low-level driver for Nvidia SATA (what i've got) in the version of the gentoo-sources i have[/quote].
I downloaded the latest portage and going to recompile the kernel with this option...
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Thu Jan 26, 2006 1:44 am    Post subject: Reply with quote

The driver for Nvidia SATA is available under Device Drivers --> SCSI device support --> SCSI low-level drivers --> Serial ATA (SATA) support --> NVIDIA SATA support. Don't forget you need to compile it in the kernel <*> and not as a module <M>.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
HellFace
n00b
n00b


Joined: 17 May 2005
Posts: 44

PostPosted: Thu Jan 26, 2006 4:33 am    Post subject: Reply with quote

jmbsvicetto wrote:
The driver for Nvidia SATA is available under Device Drivers --> SCSI device support --> SCSI low-level drivers --> Serial ATA (SATA) support --> NVIDIA SATA support. Don't forget you need to compile it in the kernel <*> and not as a module <M>.


Exactly... Grub is probably seeing /dev/hdx without the correct SATA support. You should be able to see it as you boot up.
Back to top
View user's profile Send private message
Quartzrox
n00b
n00b


Joined: 25 Jan 2006
Posts: 4
Location: France

PostPosted: Fri Jan 27, 2006 4:09 am    Post subject: Reply with quote

i don't get it.
when i did "make menuconfig" the Nvidia driver didn't show up, then for some reason i tried "genkernel --menuconfig" and then it did appear!
why is that ?
Back to top
View user's profile Send private message
iamben
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 275

PostPosted: Fri Jan 27, 2006 6:54 am    Post subject: Reply with quote

maybe because you disabled "Prompt for development and/or incomplete code/drivers"
Back to top
View user's profile Send private message
Quartzrox
n00b
n00b


Joined: 25 Jan 2006
Posts: 4
Location: France

PostPosted: Fri Jan 27, 2006 7:17 am    Post subject: Reply with quote

oh yeah, i thought this option did the opposite (don't ask me why) :oops:
i'm glad it takes only a couple of minutes to compile a kernel. the problem is solved. thank you.
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Fri Jan 27, 2006 8:41 am    Post subject: Reply with quote

There is nothing like getting your problem solved, is there? :D
Please add [SOLVED] to the subject of your original post so that other people can share your happiness!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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