2.0.17 SCSI crash

Jeff Haumont (operator@abeln931a.unl.edu)
Fri, 6 Sep 1996 15:51:03 -0500 (CDT)


Sadly, this will be a rather vague description of the problem, since my
log files are kept on a SCSI drive and the kernel panic can't get written
to disk in time.

The other day I was formatting a new ZIP disk with mke2fs and ran into a
bad sector on the disk. The kernel promptly dumped out an Oops,
complained a little about not receiving the number of bytes it was
expecting, and then filled the screen with
Aiee: scheduling in interrupt 0012475d
(BTW: I did a 'disassemble 0x0012475d' and it is in wait_on_buffer)

I rebooted and tried mke2fs several times, and also tried
'dd if=/dev/zero of=/dev/sdb' but the same thing happened everytime.

I went back to 1.2.13 and tried the same thing. The kernel didn't panic,
but instead did:

aha274x: target 5 underflow - wanted (at least) 28672, got
27648
aha274x: target 5 underflow - wanted (at least) 28672, got
27648
scsi0 : resetting for second half of retries.
aha274x: attempting to reset scsi bus and card

1.2.13 never officially crashed, but was nearly unusable while it was
trying to recover.

I then went to Windows and used the ZIP tools to format the disk. After that
all problems vanished. Good news, but bad news for tracing down the problem,
since I can no longer make it happen.

My SCSI ZIP drive is connected to a VLB Adaptec 2842 controller. I assume
this is mostly the ZIP drives fault. It appears to do thing in a bit of
a 'different' way. For example, it boots up like this:

AHA-2840 AT VLB SLOT 4:
irq 11
bus release time 40 bclks
data fifo threshold 100%
SCSI CHANNEL A:
scsi id 7
scsi selection timeout 256 ms
scsi bus reset at power-on enabled
scsi bus parity enabled
scsi bus termination (low byte) enabled
aic7xxx: Resetting the SCSI bus...done.
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 3.4/3.2/3.1
scsi : 1 host.
scsi0: Target 0, channel A, now synchronous at 10.0MHz, offset 15.
Vendor: IBM Model: DPES-31080 !t Rev: S31K
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
scsi0: Target 4, channel A, now synchronous at 5.0MHz, offset 15.
Vendor: NEC Model: CD-ROM DRIVE:400 Rev: 1.0
Type: CD-ROM ANSI SCSI revision: 02
scsi0: Target 5, channel A, refusing synchronous negotiation; using
asynchronous transfers.
Vendor: IOMEGA Model: ZIP 100 Rev: N*32
Type: Direct-Access ANSI SCSI revision: 02

Thanks,
Jeff Haumont (jhaumont@cse.unl.edu)