Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 1995 11:23:11 +0200 (MET DST)
From:      Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
To:        hardware@freebsd.org
Subject:   Problem adding a second SCSI disk on 1542CF
Message-ID:  <199506140923.LAA01388@ghpc6.ihf.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
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): <ST3283A>
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: <QUANTUM LPS270S         5900>
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: <IBM     DSAS-3540       S47W>
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: <IBM     DSAS-3540       S47W>
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: <IBM     DSAS-3540       S47W>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506140923.LAA01388>