*BSD News Article 77863


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!news.stealth.net!www.nntp.primenet.com!nntp.primenet.com!news.cais.net!news2.cais.com!news
From: Ray Cromwell <ray@westlake.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: NCR825 controller with Fujitsu M2915-Q SCSI2 drive
Date: Mon, 09 Sep 1996 12:23:19 +0000
Organization: Westlake Solutions
Lines: 32
Message-ID: <32340C37.3251@westlake.com>
Reply-To: ray@westlake.com
NNTP-Posting-Host: 204.157.28.8
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
CC: ray@westlake.com

Hi, could anyone help me with the following problem. I'm trying to
use a 2.1 gig Fujitsu SCSI-2 drive in WIDE and FAST mode with
FreeBSD using a NCR825 based PCI SCSI-2 card.  The problem is this:
The Fujitsu operates in WIDE mode as SCSI device number 15. However,
looking at the source code to the NCR driver I see that it has
an assertion that forces the drive number to range from 0 to 7. Whenever
the system tries to access the drive, I get the following
errors:

Sep  7 14:44:50 fax2 /kernel: 2777MB (5688447 512 byte sectors)
Sep  7 14:44:51 fax2 /kernel: (ncr0:15:0): "FUJITSU M2915Q-512 0127"
type 0 fixed SCSI 2
Sep  7 14:44:51 fax2 /kernel: sd1(ncr0:15:0): Direct-Access assertion
"target == xp->sc_link->target & 7" failed: file "../../pci/ncr.c", line
4618
Sep  7 14:44:51 fax2 /kernel: 
Sep  7 14:44:51 fax2 /kernel: sd1(ncr0:15:0): WIDE SCSI (16 bit)
enabled.
Sep  7 14:44:51 fax2 /kernel: assertion "target == xp->sc_link->target &
7" failed: file "../../pci/ncr.c", line 4618

  Does anyone have any recommendations? I don't think the drive
will work in fast mode with a SCSI device number < 8. And I'd rather
not run it as a normal SCSI-1 drive.

  I was thinking about hacking the ncr driver to remove the 
restrictions, but I'm concerned that they were put there for
a reason.

  This problem occurs on 2.1, 2.1.5, and the lastest 2.2 SNAP.

-Ray