Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 14:34:15 -0600
From:      Matt_Domsch@Dell.com
To:        ragnar.wisloff@asker.online.no
Cc:        AIC7xxx@FreeBSD.ORG
Subject:   RE: Order of detection of scsi controllers
Message-ID:  <CDF99E351003D311A8B0009027457F1403BF9BBD@ausxmrr501.us.dell.com>

next in thread | raw e-mail | index | archive | help
Hi Ragnar.  Thanks for writing.

> I've got a Linux system with an internal AIC 7899 and an 
> attached RAID 
> controller for internal disks and an AMI Megaraid controller 
> in a PCI slot 
> for external disks. The system came preinstalled with kernel 
> 2.2.14. After 
> upgrade of the kernel to 2.2.16, the kernel now detects the 
> controllers in 
> the opposite order to what it did previously and causes my 
> sdaX and sdbX 
> partitions to get swapped around. The driver modules 
> (aic7xxx, aacraid and 
> megaraid) are loaded from ramdisk images during boot (it's RHL 6.2). 

The lines are in the wrong order in /etc/conf.modules now.
If you re-arrange the alias scsi_hostadapterX lines and make your initrd
again, it'll work like you want.

> Why does the kernel upgrade cause this effect?

I'm pretty suprised, that shouldn't have happened.  When the
kernel RPM is installed, it changes the name 'percraid' to
'aacraid' in /etc/{modules.conf,conf.modules}.  It must have written
the lines in the wrong order.

> Will a kernel recompile with the aic7xxx and aacraid drivers 
> compiled in and 
> the megaraid kept as module, plus using the reverse_scan argument in 
> lilo.conf make the kernel do the detection in the previous 
> (not necessarily 
> correct) order.

Nope, reverse_scan won't help you.  It's entirely a module load
order problem.  Changing your /etc/conf.modules and making your
initrd again will solve it.

Thanks for buying Dell!
Matt Domsch
Dell Enterprise Systems Group
Linux Development Team





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CDF99E351003D311A8B0009027457F1403BF9BBD>