*BSD News Article 25020


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!tfs.com!julian
From: julian@TFS.COM (Julian Elischer)
Subject: Re: Predefined SCSI devices in NetBSD-0.9 ?
Message-ID: <CI3GJM.7zC@tfs.com>
Sender: usenet@tfs.com
Organization: TRW Financial Systems, Oakland, CA
References: <2eme9p$jo4@mips.arb-phys.uni-dortmund.de>
Date: Wed, 15 Dec 1993 20:50:10 GMT
Lines: 49

In article <2eme9p$jo4@mips.arb-phys.uni-dortmund.de>,
Wilhelm B. Kloke <wb@arb-phys.uni-dortmund.de> wrote:
>In NetBSD-0.9-current, I find the stuff handling predefined SCSI devices
>removed from scsiconf.c.
>I agree that this was a bad solution, anyway. I would prefer a direct mapping
>from dcsi device no's to minor dev no's, as it is handled in some SysV systems
>I know of (A/UX and Risc/OS).
>But I urgently need a way to use devices which are not available at boot
>time, as they may be used on other machines.
>
>Does anybody know of a reason why I could not use the original stuff from the
>patchkit in NetBSD-0.9?
>wbk
>-- 
>Dipl.-Math. Wilhelm Bernhard Kloke
>Institut fuer Arbeitsphysiologie an der Universitaet Dortmund
>Ardeystrasse 67, D-44139 Dortmund, Tel. 0231-1084-257

Theo added support for devices to be added with specified locations in the
config file, so theoretically it is not needed..
(though I don't know if it will support a device not found, it will definitly
allow you fo force certain device numbers onto certain scsi devices.)

The new code for NetBSD (magnum) has an improved config system, and also
uses the new scsi system, which allows reporbing at run- time
of trhe scsi bus, though the interactions between this code and the 
new config stuff have not been examined yet, and run-time reprobing may
not work in early versions..

Finally, The new scsi code for 386BSD,/FreeBSD,(and might work in NetBSD0.9)
is available from Freefall.cdrom.com:~ftp/pub/scsi

it definitly does allow run-time reprobing and I have often added devices
to the quiescent bus on a running system and reprobed to bring them 
on-line. It is not guarenteed to fit into NetBSD without work, as I don't
have running NetBSD, though several people have taken it for NetBSD
and none have ever called back to say that it didn't work..


julian
+----------------------------------+       ______ _  __
|   __--_|\  Julian Elischer       |       \     U \/ / On assignment
|  /       \ julian@tfs.com        +------>x   USA    \ in a very strange
| (   OZ    ) 300 lakeside Dr. oakland CA. \___   ___ | country !
+- X_.---._/  USA+(510) 645-3137(wk)           \_/   \\            
          v