Subject: Re: AHA1542B stopped working!
To: Charles M. Hannum <mycroft@MIT.EDU>
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
List: port-i386
Date: 03/29/1996 22:33:02
On 29 Mar 1996, Charles M. Hannum wrote:

> I need to know what the messages (everything starting with `aha0 at
> isa0 ...') are in order to help you.

OK -- time for some serious typing here!  :-)  My system is a 25MHz
i386 with 8MB of RAM, and three SCSI disks and a CD ROM drive hooked
up to the AHA1542B adapter.  It looks like this when booting with a
March 13th kernel:

| aha0 at isa0 port 0x330-0x333 irq 11 drq 5
| scsibus0 at aha0
| sd0 at scsibus0 targ 0 lun 0: <IMPRIMIS, 94601-15, 1250> SCSI1 0/direct fixed
| sd0: 989MB, 1931 cyl, 15 head, 69 sec, 512 bytes/sec
| sd1 at scsibus0 targ 1 lun 0: <IMPRIMIS, 94601-15, 1250> SCSI1 0/direct fixed
| sd1: 989MB, 1931 cyl, 15 head, 69 sec, 512 bytes/sec
| sd2 at scsibus0 targ 2 lun 0: <DEC, RZ57     (C) DEC, 5000> SCSI1 0/direct fixed
| sd2: 954MB, 1928 cyl, 15 head, 67 sec, 512 bytes/sec
| cd0 at scsibus0 targ 4 lun 0: <HITACHI, CDR-3650/1650S, 0003> SCSI1 5/cdrom removable

According to the Adaptec SCSICNTL application that I use for low level
formatting and bad block scanning/replacement, the specs on the
adapter and its configuration are as follows:

AHA1542B with synch. negotiation and parity enabled, firmware revision
is 05, SCSI BIOS revision is 3.10, technical data: write pulse 200ns,
read pulse 200ns, strobe off time 150ns, bus on time 11us, bus off
time 4 us, host SCSI id 7 (of course).

The devices have the following specifications, again according to the
SCSICNTL application:

Devices 0 and 1 are synchronous, period 250ns, offset 7.4MB/second.
Devices 2 and 4 are asynchronous.

(Should I disable synch. negotiation on the adapter?  Since not all my
devices can do synch, and I'm running with a physically short bus
anyway, I guess it's the smart thing to do, right?  (Can someone point
me toward a good introductory text on SCSI, by the way?))

Booting a March 28th kernel, I get the following output:

| aha0 at isa0 port 0x330-0x333 irq11 drq5: model AHA-1540A/1542A/1542B, firmware 0.5
| (probe): aha_cmd, cmd/data port empty 7
| (probe): aha_cmd, host not idle(0x20)
| aha0: async, parity
| aha0 targ 1: sync, offset 8, period 550 nsec
| aha0 targ 3: sync, offset 14, period 500 nsec
| aha0 targ 5: sync, offset 8, period 550 nsec
| (probe): aha_cmd, cmd/data port full
| scsibus0 at aha0
| probe(aha0:0:0): timed outaha0: not taking commands!
| panic: should call debugger here (aha1542.c)
|
| The operating system has halted.
| Please press any key to reboot.

Hope this can help -- please let me know if there's anything more I
can do to supply you with more useful data!

-tih
--
Tom Ivar Helbekkmo
tih@Hamartun.Priv.NO