[1795] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: kerneld

daemon@ATHENA.MIT.EDU (Richard Henderson)
Fri May 2 20:35:39 1997

From: Richard Henderson <richard@stommel.tamu.edu>
To: tmw20@cam.ac.uk (Tim Waugh)
Date: 	Fri, 2 May 1997 13:21:27 -0500 (CDT)
Cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.96.970502183934.5151B-100000@cyberelk.elk.co.uk> from "Tim Waugh" at May 2, 97 06:42:55 pm

Tim Waugh <tmw20@cam.ac.uk> wrote:
> I would like kerneld to automagically modprobe ppa when I mount from
> /dev/sdb4.  I have only two SCSI low-level drivers compiled into the
> kernel, and only one of those as a module (namely ppa, of course).  Do you
> know if this can be done?

Not at present.  The scsi subsystem will only probe for a host adaptor
if there are none present.  Furthermore, it is sd.o that is associated
with block-major-8, so there's not really any place to hook on.

Perhaps one of the scsi folk can comment on the advisability of probing
for additional host adaptors if a device beyond the number currently
detected is opened.  And if it is not evil, whereabouts would be a good
place to hook on.


r~


ps. I don't subscribe to linux-scsi, so direct replies are appreciated.

home help back first fref pref prev next nref lref last post