[8592] in linux-scsi channel archive

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

Re: device node sequence issue

daemon@ATHENA.MIT.EDU (Matthew Dharm)
Mon Apr 10 23:05:48 2000

Date:	Mon, 10 Apr 2000 20:03:44 -0700 (PDT)
From: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
To: Douglas Gilbert <dgilbert@interlog.com>
Cc: "WANG,YIDING (HP-SanJose,ex1)" <yiding_wang@agilent.com>,
	"'linux_scsi'" <linux-scsi@vger.rutgers.edu>
In-Reply-To: <38F29241.19145C73@interlog.com>
Message-ID: <Pine.LNX.4.10.10004101958540.16103-100000@ziggy.one-eyed-alien.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 10 Apr 2000, Douglas Gilbert wrote:

> "WANG,YIDING (HP-SanJose,ex1)" wrote:
> > 
> > I have an issue regarding scsi device node assignment to scsi device in
> > Linux.
>
> One outstanding issue is the "scsihosts" boot time option
> specified in the devfs documentation. This would allow the
> user to specify the order in which HBA drivers are to be
> scanned. Even though logic is present to interpret the
> given string, the logic to modify the scan order does not
> seem to be present.

First, I apologize if my writing is a bit incoherent.  I'm recovering from
surgery, and the pain medication I'm on is very strong.

However, when I saw this thread, it reminded me of an idea I had tossed
around with Eric Youngdale a while back.  The idea goes something like
this:

Basically, the way HBA drivers are loaded dynamically in linux now is that
the scsi layer requests a module by the name of scsi_hostadaptor.  If
there are multiple modules to be loaded, then a series of pre-load
directives must be placed in the conf.modules file to make them all load
in the correct order.

I propose the following:  SCSI HBA drivers are requested by a series of
names like scsi_host_0, scsi_host_1, etc.  These HBA drivers would be
loaded in order when probing, but can be removed and re-loaded on demand
more easily than under the current system.  Also, changing the order that
HBA drivers are loaded in is easier.

Any thoughts?  I realize that a change like this is too late for 2.4, but
perhaps for 2.5?

Matt Dharm

-- 
Matthew Dharm                              Home: mdharm@one-eyed-alien.net 
Engineer, Qualcomm, Inc.                         Work: mdharm@qualcomm.com

What, are you one of those Microsoft-bashing Linux freaks?
					-- Customer to Greg
User Friendly, 2/10/1999


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

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