On Mon, 2004-07-12 at 14:18, [EMAIL PROTECTED] wrote: > Hi, I've got a little problem that I hope someone out there can help > me out with. > I have a number of servers that have multiple SCSI controllers and I > am having difficulty controlling which driver gets loaded first. > > The disk I want to boot from (post-install) is attached to an > embedded LSI SCSI controller. I also have an external disk system that > is thatched to an Adaptec (aic79xx) controller. It appears that during > hardware detection, module loading is done in alphabetical order, so > my Adaptec card gets installed first and /dev/sda ends up as the first > target in the external enclosure. > > Can anyone tell me how to control this behavior, I just need a way to > specify that the LSI controller gets loaded first. > > Thanks
If you are using devfs (the latest SI release is), you can try the following kernel boot param: scsihosts=host0:hosts1::host3 >From the SCSI faq: The recently introduced devfs defines a "scsihosts" boot time parameter to give the user some control over this. See the devfs documentation [ref: W5] for a description. The host names given in the list to the "scsihosts" boot option are the names of lower level drivers (e.g. "scsihosts=advansys:imm::ide-scsi"). [7] [8] Devfs does not need to be present for "scsihosts" to be used. The "scsihosts" parameter, if given, is echoed during in the boot up messages. For example: scsi: host order: advansys:imm::ide-scsi Also if multiple HBA are present in a system then they are scanned in a fixed order (see footnote). The "scsihosts" parameter only effects how these HBAs are indexed (i.e. which SCSI adapter numbers are associated with them by the kernel). In the above example, if the "imm" driver is not found during boot up, then the scsi adapter number "1" is not allocated. If the "imm" driver is later loaded as a module, then it will adopt scsi adapter number "1". If a driver that is not named in "scsihosts" is found, then it will get the next available scsi adapter number (e.g. a built in aic7xxx driver would get scsi adapter number "2" in the above example). A full list of kernel parameters with some explanations can be found in the file /usr/src/linux/Documentation/kernel-parameters.txt * - Using "scsihosts" can lead to a situation in which the computer's BIOS finds the boot track (and hence boot time parameters set in lilo or grub) on one disk while the kernel finds the root partition on another disk. This can be quite confusing when it is unplanned. Hence after changing (or adding) "scsihosts" in lilo or grub's configuration, it may be wise to boot the machine to see which disks are accessed. Link: http://www.faqs.org/docs/Linux-HOWTO/SCSI-2.4-HOWTO.html ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Sisuite-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-users
