lkml.org 
[lkml]   [2000]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: autoload scsi1 on access of /dev/sdc1
Date
From

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."


-
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/

\
 
 \ /
  Last update: 2005-03-22 12:37    [W:0.070 / U:25.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site