Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] SCSI-disk - not a valid root device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Moreaulf
n00b
n00b


Joined: 26 Sep 2005
Posts: 44

PostPosted: Thu Jun 29, 2006 8:25 am    Post subject: [SOLVED] SCSI-disk - not a valid root device Reply with quote

Hello,

I've been trying to install Gentoo dist 2006.0 on a new server with no success.
The server is a Dell PowerEdge 1850 with two SCSI hard disk drives using hardware RAID 1. The SCSI controller is a "PERC 4di".

I've installed Gentoo a few times before but my knowledge in compiling kernels and these things is not very good and I believe the problems lies in this. I started with installing through the minimal cd, as usual, but when it didn't work I tried the live cd - the exakt same problem occured in both scenarios so I'm back at the minimal cd installation so I know what's done and not at least.


I'm using the grub loader and it seem to load fine, until this error shows up in the boot sequence:
Quote:
Block device /dev/sda3 is not a valid root device

I've googled on this issue and found a lot of information, in these forums among other sites, but I haven't been able to solve the problem yet. I believe the problem is that the SCSI controller driver is not loaded correctly into the kernel, and therefore the mounting of the root device (which is /dev/sd3) fails.
I have no problem booting up on the minimal cd and manually mounting the devices/partitions so I guess the drivers for the controller is on the CD but it is not loaded into the kernel (I've been using genkernel) like they should.


Questions I haven't found an answer for are these:
How do I know which driver I should mark with an * in the genkernel menuconfig. And, if it's not available in the list, do I have to copy the driver from somewhere to somewhere to make it appear in the menuconfig list? In that case, from where to where?


I know about the commands lspci and lsmod and I guess that the one I need should be there somewhere but I haven't been able to find the corresponding ones in the genkernel menuconfig...

Thank you very much in advance for any help!

/Thomas


Last edited by Moreaulf on Fri Jun 30, 2006 1:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54808
Location: 56N 3W

PostPosted: Thu Jun 29, 2006 11:28 am    Post subject: Reply with quote

Moreaulf,

Googling shows that the PERC 4di has used several chipsets needing several drivers.
I can't tell from your post which one your have.

Run boot the liveCD lsmod then attempt to
Code:
modprobe -r <name>
all the unused modules.
You will need to do this several times, since unloading some modules will make others unused.
Eventually, your lsmod will show only used modules. The kernel will not allow you to remove something its using.

In the remaining list look for one of
Code:
aic7xxx
megaraid_sas
megaraid
google suggests it will be one of those.

Genkernel, with defualts will leave them all out too.
In make menuconfig they are on the Device Drivers -> SCSI device support -> SCSI low-level drivers menu.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moreaulf
n00b
n00b


Joined: 26 Sep 2005
Posts: 44

PostPosted: Fri Jun 30, 2006 2:04 pm    Post subject: Thank you NeddySeagoon Reply with quote

I found the SCSI low-level drivers menu and I added what I thought would be the ones and it worked like it should have.

Thank you NeddySeagoon for information about finding out which ones - specifically. Now I guess a little bit more about genkernel too :)

/Thomas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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