Hi all,
The qlogic-isp driver causes a kernel crash on my Alpha/Linux machine.
Unfortunately, it only happens under very heavy load, so it is not
easily reproducible.
The machine is running kernel 2.4.2 with TUX-W2 applied. (This is
basically 2.4.2-ac24 with the tux server added.)
The machine is a single-CPU DS10 with the following:
SCSI subsystem driver Revision: 1.00
qlogicisp : new isp1020 revision ID (5)
scsi0 : QLogic ISP1020 SCSI on PCI bus 00 device 78 irq 39 I/O base 0x8000
00:0f.0 SCSI storage controller: Q Logic ISP1020 (rev 05)
I think that I have the line, and the reason for the crash.
The guilty instruction is: (See below for context..)
fffffc000042372c: 20 02 09 b0 stl v0,544(s0)
Both:
v0 = 0
s0 = 0
The line that causes it is qlogicisp.c (1054):
...
void isp1020_intr_handler()
....
DEBUG_INTR(isp1020_print_status_entry(sts));
if (sts->hdr.entry_type == ENTRY_STATUS)
fffffc000042371c: 00 00 30 28 ldbu t0,0(a0)
fffffc0000423720: a1 75 20 40 cmpeq t0,0x3,t0
fffffc0000423724: 03 00 20 e4 beq t0,fffffc0000423734
<isp1020_intr_handler+0x2d4>
Cmnd->result = isp1020_return_status(sts);
fffffc0000423728: 3f 00 40 d3 bsr ra,fffffc0000423828
<isp1020_return_status+0x8>
fffffc000042372c: 20 02 09 b0 stl v0,544(s0)
fffffc0000423730: 02 00 e0 c3 br fffffc000042373c
<isp1020_intr_handler+0x2dc>
else
Cmnd->result = DID_ERROR << 16;
fffffc0000423734: 07 00 3f 24 ldah t0,7(zero)
fffffc0000423738: 20 02 29 b0 stl t0,544(s0)
if (Cmnd->use_sg)
:
>From the values in v0, and s0, I believe that Cmnd is NULL.
The crash is the first place that Cmnd is accessed within the function.
Is there a fix for this?
Thanks,
--Phil
Compaq: High Performance Server Division/Benchmark Performance Engineering
---------------- Alpha, The Fastest Processor on Earth --------------------
[EMAIL PROTECTED] |C|O|M|P|A|Q| [EMAIL PROTECTED]
------------------- See the results at www.spec.org -----------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]