From owner-freebsd-hardware Wed Jun 14 02:24:05 1995 Return-Path: hardware-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA26202 for hardware-outgoing; Wed, 14 Jun 1995 02:24:05 -0700 Received: from ghpc6.ihf.rwth-aachen.de (ghpc6.ihf.RWTH-Aachen.DE [134.130.90.6]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id CAA26175 for ; Wed, 14 Jun 1995 02:23:37 -0700 Received: (from thomas@localhost) by ghpc6.ihf.rwth-aachen.de (8.6.8/8.6.6) id LAA01388 for hardware@freebsd.org; Wed, 14 Jun 1995 11:23:11 +0200 From: Thomas Gellekum Message-Id: <199506140923.LAA01388@ghpc6.ihf.rwth-aachen.de> Subject: Problem adding a second SCSI disk on 1542CF To: hardware@freebsd.org Date: Wed, 14 Jun 1995 11:23:11 +0200 (MET DST) Organization: Institut f. Hochfrequenztechnik, RWTH Aachen X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 3061 Sender: hardware-owner@freebsd.org Precedence: bulk Moin moin, I hope I didn't misinterpret the charter for this list, if so, feel free to move it around. I'm having problems adding a second SCSI disk. The new disk is an IBM DSAS-3540. I have tried it on two machines, the one at home: FreeBSD 2.0-RELEASE #0: Tue Jun 13 15:17:16 MET DST 1995 root@fenchurch:/usr/src/sys/compile/FENCHURCH CPU: i386DX (386-class CPU) real memory = 7995392 (1952 pages) avail memory = 6967296 (1701 pages) [...] wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 233MB (479220 total sec), 978 cyl, 14 head, 35 sec, bytes/sec 512 aha0: 1542C/CF detected, unlocking mailbox aha0: reading board settings, dma=5 int=11 (bus speed defaulted) aha0 at 0x330-0x333 irq 11 drq 5 on isa aha0 targ 0 lun 0: type 0(direct) fixed SCSI2 aha0 targ 0 lun 0: sd0: 258MB (528808 total sec), 2740 cyl, 2 head, 96 sec, bytes/sec 512 aha0 targ 1 lun 0: type 0(direct) fixed SCSI2 aha0 targ 1 lun 0: sd1: 522MB (1070496 total sec), 3875 cyl, 3 head, 92 sec, bytes/sec 512 and one here at work: FreeBSD 2.0-RELEASE #2: Wed Apr 12 17:59:59 MET DST 1995 thomas@ghpc8.ihf.rwth-aachen.de:/usr/src/sys/compile/GHPC8 CPU: i386DX (386-class CPU) real memory = 7995392 (1952 pages) avail memory = 6819840 (1665 pages) [...] aha0: 1542C/CF detected, unlocking mailbox aha0: reading board settings, dma=5 int=11 (bus speed defaulted) aha0 at 0x330-0x333 irq 11 drq 5 on isa aha0 targ 0 lun 0: type 0(direct) fixed SCSI2 aha0 targ 0 lun 0: sd0: 522MB (1070496 total sec), 3875 cyl, 3 head, 92 sec, bytes/sec 512 aha0 targ 1 lun 0: type 0(direct) fixed SCSI2 aha0 targ 1 lun 0: sd1: 522MB (1070496 total sec), 3875 cyl, 3 head, 92 sec, bytes/sec 512 sd1 is the new disk in both cases; it sits in the middle of the SCSI bus (thus not terminated); I use the same cable which works for the single drive configuration. The probe always succeeds on the second machine (at least as long as I played with it), the 1542 on the first machine sometimes locks up; the kernel probes the aha0, then it hangs. This also happened in the Disk Utility menu of the adapters SCSISelect software (it hangs while scanning for devices on the SCSI bus), so I don't think it's a FreeBSD specific problem. If the probe succeeds on machine I, both systems show the same behaviour: I can use the disk for a short while until sd1(aha0:1:0): timed out sd0(aha0:0:0): timed out adapter not taking commands.. frozen?! Debugger ("aha1542") called. AGAIN aha0: MBO not free These messages appear repeatedly, only way out is a reset. I haven't found a pattern which causes the locks. I guess the ``aha0: MBO not free'' is caused by the running process which tries to write to the disk when the 1542 hasn't emptied its buffers. The new drive works fine if it's alone on the SCSI bus. I have tried enabling/disabling the TI Sync Negotiation and/or Unit Attention on the drive to no avail. Any ideas? Any more info you need? tg