Messages in this thread |  | | Date | Sun, 20 Aug 2000 19:16:18 -0700 | From | Matthew Dharm <> | Subject | Re: autoload scsi1 on access of /dev/sdc1 |
| |
You mean you have two HBAs that both use the aic7xxx driver? That's a bug in the driver then, because it should be detecting both boards at once.
Or do you have one driver in the kernel and one as a module? If so, then you might just be stuck. I proposed a change to the SCSI layer to allow for multiple modules in a situation like this. But it looks like it will be a 2.5 enhancement.
Matt Dharm
On Sun, Aug 20, 2000 at 07:07:52PM -0700, Stephen Williams wrote: > > mdharm-kernel@one-eyed-alien.net said: > > Last time I checked, doing > > alias scsi_hostadaptor aic7xxx > > would do the trick > > Nope, not quite. As you see, sda and sdb are already mounted. If I try to > mount /dev/sdc1 (which is connected to the second scsi host adapter) I > get no joy. If I load the aic7xxx module, sdc appears and I can mount it. > > See? > > [root@icarus steve]# cat /proc/scsi/scsi > Attached devices: > Host: scsi0 Channel: 00 Id: 00 Lun: 00 > Vendor: Quantum Model: XP32150W Rev: L912 > Type: Direct-Access ANSI SCSI revision: 02 > Host: scsi0 Channel: 00 Id: 01 Lun: 00 > Vendor: IBM-PSG Model: DNES-309170W !# Rev: SAB0 > Type: Direct-Access ANSI SCSI revision: 03 > [root@icarus steve]# cat /etc/conf.modules > alias appletalk off > alias ipx off > alias eth0 3c509 > alias eth1 de4x5 > alias char-major-114 ise > alias char-major-184 pevss > alias lp parport_pc > # > alias scsi1 aic7xxx > alias scsi_hostadapter aic7xxx > # > # binary formats > alias binfmt-0008 binfmt_aout > alias binfmt-0009 binfmt_aout > [root@icarus steve]# mount /dev/sdc1 /mnt/pd > mount: /dev/sdc1 is not a valid block device > [root@icarus steve]# modprobe scsi1 > [root@icarus steve]# mount /dev/sdc1 /mnt/pd > [root@icarus steve]# cat /proc/scsi/scsi > Attached devices: > Host: scsi0 Channel: 00 Id: 00 Lun: 00 > Vendor: Quantum Model: XP32150W Rev: L912 > Type: Direct-Access ANSI SCSI revision: 02 > Host: scsi0 Channel: 00 Id: 01 Lun: 00 > Vendor: IBM-PSG Model: DNES-309170W !# Rev: SAB0 > Type: Direct-Access ANSI SCSI revision: 03 > Host: scsi1 Channel: 00 Id: 02 Lun: 00 > Vendor: MATSHITA Model: PD-1 LF-1001 Rev: A105 > Type: Optical Device ANSI SCSI revision: 02 > Host: scsi1 Channel: 00 Id: 02 Lun: 01 > Vendor: MATSHITA Model: PD-1 LF-1001 Rev: A105 > Type: CD-ROM ANSI SCSI revision: 02 > [root@icarus steve]# > > > -- > Steve Williams "The woods are lovely, dark and deep. > steve@icarus.com But I have promises to keep, > steve@picturel.com and lines to code before I sleep, > http://www.picturel.com And lines to code before I sleep." >
-- Matthew Dharm Home: mdharm-usb@one-eyed-alien.net Maintainer, Linux USB Mass Storage Driver
I need a computer? -- Customer User Friendly, 2/19/1998 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |