From owner-freebsd-scsi Mon Jan 22 07:15:14 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA19216 for freebsd-scsi-outgoing; Mon, 22 Jan 1996 07:15:14 -0800 (PST) Received: from Sysiphos (Sysiphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA19184 Mon, 22 Jan 1996 07:14:55 -0800 (PST) Received: by Sysiphos id AA16526 (5.67b/IDA-1.5); Mon, 22 Jan 1996 16:14:22 +0100 Message-Id: <199601221514.AA16526@Sysiphos> From: se@zpr.uni-koeln.de (Stefan Esser) Date: Mon, 22 Jan 1996 16:14:20 +0100 In-Reply-To: "Jonathan M. Bresler" "nakamichi MBR-7, some bizarre behavior" (Jan 20, 22:02) X-Mailer: Mail User's Shell (7.2.6 alpha(2) 7/9/95) To: "Jonathan M. Bresler" Subject: Re: nakamichi MBR-7, some bizarre behavior Cc: freebsd-scsi@freebsd.org, freebsd-hackers@freebsd.org Sender: owner-freebsd-scsi@freebsd.org Precedence: bulk On Jan 20, 22:02, "Jonathan M. Bresler" wrote: } Subject: nakamichi MBR-7, some bizarre behavior } i have a nakamichi MBR-7 scsi-ii 2x cdrom 7 changer. the unit has } internal terminators controlled by a rear panel dip switch. the } rear panel has 2 centronics 50-pin scsi connectors. the scsi card } is an ASUS SC-200. } } regardless of whether the internal scsi terminator are enabled or } i use an external scsi terminator (active) on the lower scsi } connector of the MBR-7, i get scsi phase errors. when the cable } connects the SC-200 to the upper scsi connector on the MBR-7, the } unit reponds normally. Hmmm, you are saying, whether it works depends on which of two external connectors you use ??? That seems to indicate a cable/terminator problem. But you may want to try the latest /sys/pci/ncr.c from -current, which has handshake timeouts disabled. I'm not sure, } } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ } SC-200 connected to UPPER scsi connector: } } ncr1 rev 1 int a irq 11 on pci0:5 } (ncr1:6:0): "NRC MBR-7 110" type 5 removable SCSI 2 } cd0(ncr1:6:0): CD-ROM } cd0(ncr1:6:0): asynchronous. } cd present.[330927 x 2048 byte records] } (ncr1:6:1): "NRC MBR-7 110" type 5 removable SCSI 2 } cd1(ncr1:6:1): CD-ROM } cd1(ncr1:6:1): asynchronous. } cd present.[208702 x 2048 byte records] } (ncr1:6:2): "NRC MBR-7 110" type 5 removable SCSI 2 } cd2(ncr1:6:2): CD-ROM } cd2(ncr1:6:2): asynchronous. } cd present.[307527 x 2048 byte records] } (ncr1:6:3): "NRC MBR-7 110" type 5 removable SCSI 2 } cd3(ncr1:6:3): CD-ROM } cd3(ncr1:6:3): asynchronous. } cd present.[326402 x 2048 byte records] } (ncr1:6:4): "NRC MBR-7 110" type 5 removable SCSI 2 } cd4(ncr1:6:4): CD-ROM } cd4(ncr1:6:4): asynchronous. } } cd4(ncr1:6:4): NOT READY asc:3a,0 Medium not present } can't get the size } } (ncr1:6:5): "NRC MBR-7 110" type 5 removable SCSI 2 } cd5(ncr1:6:5): CD-ROM } cd5(ncr1:6:5): asynchronous. } } cd5(ncr1:6:5): NOT READY asc:3a,0 Medium not present } can't get the size } } (ncr1:6:6): "NRC MBR-7 110" type 5 removable SCSI 2 } cd6(ncr1:6:6): CD-ROM } cd6(ncr1:6:6): asynchronous. } } cd6(ncr1:6:6): NOT READY asc:3a,0 Medium not present } can't get the size } } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ } SC-200 connected to LOWER scsi connector: } } ncr1 rev 1 int a irq 11 on pci0:5 } ncr1: SCSI phase error fixup: CCB address mismatch (0xf0688b08 != 0x00000000) ^^^^^^^^^^ That doesn't look right ! None of the operands to the compare should be 0 ... Have never seen this. I will check the sources for an explanation of how this can happen. } ncr1:6: ERROR (80:100) (e-ac-0) (0/13) @ (438:1e000000). } script cmd = 868b0000 This indicates a handshake timeout occured. Please use the most recent ncr.c, or apply the following patch and let me know, whether it helps: Index: /sys/pci/ncr.c =================================================================== RCS file: /usr/cvs/src/sys/pci/ncr.c,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -r1.57 -r1.58 *** ncr.c 1996/01/15 00:10:15 1.57 --- ncr.c 1996/01/15 23:16:39 1.58 *************** *** 4427,4431 **** OUTB (nc_stest2, EXT ); /* Extended Sreq/Sack filtering */ OUTB (nc_stest3, TE ); /* TolerANT enable */ ! OUTB (nc_stime0, 0xfb ); /* HTH = 1.6sec STO = 0.1 sec. */ /* --- 4427,4431 ---- OUTB (nc_stest2, EXT ); /* Extended Sreq/Sack filtering */ OUTB (nc_stest3, TE ); /* TolerANT enable */ ! OUTB (nc_stime0, 0x0b ); /* HTH = disabled, STO = 0.1 sec. */ /* Regards, STefan -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/~se