From owner-freebsd-current Tue Oct 22 11:20:16 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA21153 for current-outgoing; Tue, 22 Oct 1996 11:20:16 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA21147 for ; Tue, 22 Oct 1996 11:20:14 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA08292; Tue, 22 Oct 1996 11:17:13 -0700 From: Terry Lambert Message-Id: <199610221817.LAA08292@phaeton.artisoft.com> Subject: Re: Possibility? To: alexandr@hawk.pearson.udel.edu Date: Tue, 22 Oct 1996 11:17:13 -0700 (MST) Cc: freebsd-current@FreeBSD.org In-Reply-To: <199610221749.NAA06467@hawk.pearson.udel.edu> from "Jerry Alexandratos" at Oct 22, 96 01:49:16 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > So, digging through my box-o-parts (tm), I find that I've got an old > Media-Vision PAS16 soundcard with scsi attachment (for that old external > nec cdrom). > > Obvious questions. Is the Jaz drive supported under 2.2? If so, is the > scsi port on a PAS16 supported? My JAZ drive works on my 2.2-current (+local changes) box. My local changes shouldn't affect it one way or the other. One annoying thing is that the FreeBSD SCSI code does not recognize the drive size : ============================================================================== (ncr0:1:0): "iomega jaz 1GB G.60" type 0 removable SCSI 2 sd1(ncr0:1:0): Direct-Access sd1(ncr0:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. sd1(ncr0:1:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB sd1 could not mode sense (4). Using ficticious geometry sd1(ncr0:1:0): NOT READY asc:3a,0 Medium not present sd1: could not get size 0MB (0 512 byte sectors) ============================================================================== But OpenBSD does: ============================================================================== sd1 at scsibus0 targ 1 lun 0: SCSI2 0/direct removable sd1: sd1(ncr0:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 1021MB, 1021 cyl, 64 head, 32 sec, 512 bytes/sec ============================================================================== This doesn't keep it from working, it just pisses me off a bit. The fix is obvious from a casual examination of the OpenBSD SCSI code. In any case, on to the PAS card: It depends. The PAS cards have a number of SCSI chips they've used at various times in the past -- it's kind of a "lowest bidder" thing. The most common is the NCR 5380 chip, but it may also use the Trantor T130 chip. The driver for these two chips is the "nca" driver. See the file /sys/i386/conf/LINT for details on how to build a kernel. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.