Re: 2.2.1 lockup (SCSI related)

Manfred Petz (pm@radawana.cg.tuwien.ac.at)
Tue, 2 Feb 1999 00:58:19 +0100 (CET)


> Hmm - yes, my memory is bad but I recall encountering this
> and finding out where it was caused. If it was in aha1542.c
> then I probably fixed it. If it was in scsi_error.c or so
> then I didnt fix it.
>
> Anyway, could you try and see whether my aha1542.c fares any better?
> These days it is no longer available on ftp.win.tue.nl
> but ftp.cwi.nl/pub/aeb may work.

Ok. Here's what I get:

On startup:

scsi0 : Adaptec 1542
scsi : 1 host.
Vendor: QUANTUM Model: FIREBALL1080S Rev: 1Q09
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
aha1542.c: I/O error mbo=2 tarstat=2 hastat=0 idlun=1
aha1542.c: I/O error mbo=3 tarstat=2 hastat=0 idlun=2
aha1542.c: I/O error mbo=4 tarstat=2 hastat=0 idlun=3
aha1542.c: I/O error mbo=5 tarstat=2 hastat=0 idlun=4
aha1542.c: I/O error mbo=6 tarstat=2 hastat=0 idlun=5
aha1542.c: I/O error mbo=7 tarstat=2 hastat=0 idlun=6
aha1542.c: I/O error mbo=0 tarstat=2 hastat=0 idlun=7
Vendor: SEAGATE Model: ST3283N Rev: 9303
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
aha1542.c: I/O error mbo=3 tarstat=2 hastat=0 idlun=21
aha1542.c: I/O error mbo=4 tarstat=2 hastat=0 idlun=22
aha1542.c: I/O error mbo=5 tarstat=2 hastat=0 idlun=23
aha1542.c: I/O error mbo=6 tarstat=2 hastat=0 idlun=24
aha1542.c: I/O error mbo=7 tarstat=2 hastat=0 idlun=25
aha1542.c: I/O error mbo=0 tarstat=2 hastat=0 idlun=26
aha1542.c: I/O error mbo=1 tarstat=2 hastat=0 idlun=27
aha1542.c: I/O error mbo=2 tarstat=0 hastat=11 idlun=40
aha1542.c: I/O error mbo=3 tarstat=0 hastat=11 idlun=60
aha1542.c: I/O error mbo=4 tarstat=0 hastat=11 idlun=80
aha1542.c: I/O error mbo=5 tarstat=0 hastat=11 idlun=a0
aha1542.c: I/O error mbo=6 tarstat=2 hastat=0 idlun=c0
aha1542_intr_handle: sense: 70 00 06 00 00 00 00 12 00 00 00 00 00 00 00 00
extra data not valid Current error xx00:00: sense key Unit Attention
Vendor: EXABYTE Model: EXB-8200 Rev: 425A
Type: Sequential-Access ANSI SCSI revision: 01
Detected scsi tape st0 at scsi0, channel 0, id 6, lun 0

...and when accessing the drive:

I/O error mbo=4 tarstat=2 hastat=0 idlun=c8
aha1542_intr_handler: sense f0 00 20 00 00 00 20 12 00 00 00 00 00 00 00 00
ILI Current error xx09:00:sense key None
st0: Incorrect block size
surprising: LUN is busy, but got interrupt nevertheless

OK, the `Incorrect block size' is reasonable, original aha1542.c locks
up the same way when mt(1)'ing the correct blocksize; I didn't test this
with your version since it's late and I think it makes no difference.

With the 2.2.1 version of aha1542.c I don't get the `st0: Incorrect block size'
error, it locks up before. I don't know whether this is just a coincidence.

Lockup again in scsi_error_handler(), VC switching works.

Hm, so what does this tell us?

pm

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/