[CentOS] Controller detection order

Matt Hyclak hyclak at math.ohiou.edu
Tue Mar 14 12:56:37 UTC 2006


On Tue, Mar 14, 2006 at 12:29:43PM +0100, Peter Kjellström enlightened us:
> > Hi,
> > I have a dell poweredge 850 with centos 4, freshly installed. I'm now
> > trying to add in a fibre -> sata raid enclosure with LSI HBA's in the
> > 850.
> >
> > My problem is the enclosure gets detected first, hijacking sda and
> > sdb from the internal SATA drive and causing kernel panic at boot
> > time. I've tried changing the order in modprobe to the following:
> >
> > alias eth0 tg3
> > alias eth1 tg3
> > alias eth2 e1000
> > alias eth3 e1000
> > alias scsi_hostadapter ata_piix
> > alias scsi_hostadapter1 mptbase
> > alias scsi_hostadapter2 mptscsih
> > alias usb-controller ehci-hcd
> > alias usb-controller1 uhci-hcd
> >
> > previously ata_piix was below the other two.
> >
> > This hasn't made any difference though. Can anyone suggest any
> > solutions?
> 
> After modifying modprobe.conf you must rerun mkinitrd. for the running kernel 
> that would be something like:
> mkinird /boot/initrd-$(uname -r).img $(uname -r)
> 
> /Peter
> 

Another trick I learned from the nahant-list during kickstart is to boot
with the nostorage option at the isolinux boot prompt. In your kickstart
file you can then include a line like

device scsi ata_piix

Helps to prevent overwriting shared storage an the like when trying to
partition disks. It correctly sets up the modprobe.conf and initrd for you
that way, too. You could probably also do this by hand, since I believe
anaconda asks if you would like to load drivers when it can't find hard
disks. 

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263



More information about the CentOS mailing list