[4057] in linux-scsi channel archive
Re: Three Controller setup
daemon@ATHENA.MIT.EDU (Keith Owens)
Wed Jun 3 03:43:12 1998
From: Keith Owens <kaos@ocs.com.au>
To: John Gibson <john.gibson@tekelec.com>
cc: Linux Raid Mailing List <linux-raid@vger.rutgers.edu>,
Linux SCSI Mailing List john <linux-scsi@vger.rutgers.edu>
In-reply-to: Your message of "Tue, 02 Jun 1998 15:45:59 MST."
<357480A7.BE4@tekelec.com>
Date: Wed, 03 Jun 1998 17:40:45 +1000
On Tue, 02 Jun 1998 15:45:59 -0700,
John Gibson <john.gibson@tekelec.com> wrote:
>What it did do was load LILO: and the linux kernel off of the PCI
>controller's boot disk. But after it loaded the aic7xxx driver and
>(apparently) found all of the devices on the two 2940 PCI
>controllers it loaded the 154x driver and assigned (?)
>the 154x controller as SCSI controller #0. The two 2940
>controllers were assigned as controllers 1 and 2. At that point it
>attempted to find the boot device at SCSI ID #0 on controller 0 (154x).
>This, of course, failed as the boot device is on the 2940 controller.
Edit linux/drivers/scsi/hosts.c. Find the lines
#ifdef CONFIG_SCSI_AHA1542
AHA1542,
#endif
Move the 1542 call to *after* the lines
#ifdef CONFIG_SCSI_AIC7XXX
AIC7XXX,
#endif
Make SUBDIRS=drivers/scsi zImage [or bzImage]. Install new kernel, run
lilo, reboot. You have just moved the 1542 probe to after the aic7xxx
probe, aic7xxx cards will be controller 0 and 1, 1542 will be
controller 2.
Alternatively, add these lines to /etc/lilo.conf
disk=/dev/sdb1
bios=0x80
Tells lilo to ignore the BIOS and treat partition /dev/sdb1 as the boot
disk.
Which option you use depends on what effect you want. I use the first
one because my 1542 external disks are rarely powered on. When they
are powered on, I don't want my PCI SCSI drive numbers to change.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu