[1219] in linux-scsi channel archive
[2.0.27] generic scsi nastiness
daemon@ATHENA.MIT.EDU (Dan Hollis)
Fri Jan 3 22:54:04 1997
Date: Fri, 3 Jan 1997 19:34:33 -0800 (PST)
From: Dan Hollis <goemon@sasami.anime.net>
To: linux-scsi@vger.rutgers.edu
If a program dies and leaves commands hanging on the generic scsi
interface, Linux 2.0.27 has a tendency to barf bigtime.
This is easily reproduceable.
Does anyone know how to get debugging information out of modules? I don't
want to have to recompile a monolithic kernel just to get symbol
information or use gdb.
scsi0: data overrun of 29 bytes detected; forcing a retry.
scsi : aborting command due to timeout : pid 32382, scsi0, channel 0, id 2, lun 0 Read (6) 01 2c c4 98 00
aic7xxx: (abort) Aborting scb 1, TCL 2/0/0
scsi : aborting command due to timeout : pid 32383, scsi0, channel 0, id 2, lun 0 Write (6) 00 00 30 02 00
aic7xxx: (abort) Aborting scb 0, TCL 2/0/0
scsi : aborting command due to timeout : pid 32382, scsi0, channel 0, id 2, lun 0 Read (6) 01 2c c4 98 00
aic7xxx: (abort) Aborting scb 1, TCL 2/0/0
SCSI host 0 abort (pid 32382) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
aic7xxx: (reset) target/channel 2/0
aic7xxx: (abort_reset) scb state 0x1, Message-In phase, SCSISIGI = 0xe6
aic7xxx: (abort_scb) asserted ATN - bus device reset in message buffer.
scsi : aborting command due to timeout : pid 32468, scsi0, channel 0, id 2, lun 0 Read (6) 01 39 e2 98 00
aic7xxx: (abort) Aborting scb 0, TCL 2/0/0
scsi : aborting command due to timeout : pid 32469, scsi0, channel 0, id 2, lun 0 Write (6) 00 00 30 02 00
aic7xxx: (abort) Aborting scb 2, TCL 2/0/0
scsi : aborting command due to timeout : pid 32468, scsi0, channel 0, id 2, lun 0 Read (6) 01 39 e2 98 00
aic7xxx: (abort) Aborting scb 0, TCL 2/0/0
SCSI host 0 abort (pid 32468) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
aic7xxx: (reset) target/channel 2/0
aic7xxx: (abort_reset) scb state 0x1, Message-In phase, SCSISIGI = 0xe6
aic7xxx: (abort_scb) asserted ATN - bus device reset in message buffer.
general protection: a844
CPU: 0
EIP: 0010:[<0018afee>]
EFLAGS: 00010006
eax: 019f7068 ebx: 00000000 ecx: 00000000 edx: 0018afec
esi: 01279dfc edi: 00000008 ebp: 0005f018 esp: 00181a54
ds: 0018 es: 0018 fs: 002b gs: 0018 ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=0018011c)
Stack: 0387a847 01279dfc 0024faf8 24000000 0000000c 019f7068 010d5214 000005d1
00000000 00000034 001980a0 84b3f5e6 0024fb58 0016b0ea 00198520 00000008
010d5860 00000000 010d5808 00000017 00000000 010d5860 00000000 010d5808
Call Trace: [<0387a847>] [<0016b0ea>] [<03869128>] [<038694dd>] [<038694ef>] [<0391e54d>] [<03840224>]
[<0387a847>] [<0383fba8>] [<0383fba8>] [<0383fba8>] [<0383fba8>] [<0383fba8>] [<00123e07>] [<00123e07>]
[<0015bc66>] [<0015c7c1>] [<0015c724>] [<0016b0ea>] [<0016b19a>] [<0015bc66>] [<0015c7c1>] [<0015c724>]
[<00123e07>] [<0015b8dd>] [<0015d02f>] [<0015c724>] [<0015c724>] [<0010f098>] [<0010c7b9>] [<0010b545>]
[<03831980>] [<03831980>] [<03831980>] [<03831980>] [<03827491>] [<03831980>] [<0010c7b9>] [<03831980>]
[<00136f27>] [<00136d8f>] [<001371aa>] [<03827353>] [<03831a00>] [<03831920>] [<03831980>] [<00164101>]
[<00164101>] [<0016425b>] [<00166d44>] [<00112329>] [<0010c806>] [<0010c2cf>] [<0387d58a>] [<03840534>]
Code: 17 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Aiee, killing interrupt handler
kfree of non-kmalloced memory: 00182164, next= 010d5214, order=518
kfree of non-kmalloced memory: 00182154, next= 010d5214, order=518
kfree of non-kmalloced memory: 00182668, next= 010d5214, order=518
idle task may not sleep
idle task may not sleep
idle task may not sleep
idle task may not sleep
SCSI host 0 channel 0 reset (pid 32468) timed out - trying harder
SCSI bus is being reset for host 0 channel 0.
aic7xxx: (reset) target/channel 2/0
aic7xxx: (reset_device) target/channel -1/A, active_scb 2
aic7xxx: (match_scb) comparing target/channel -1/A to scb 2/A
aic7xxx: (match_scb) comparing target/channel -1/A to scb 2/A
aic7xxx: (reset_channel) Resetting current channel A
aic7xxx: (reset_channel) Channel reset, sequencer restarted
aic7xxx: (done_aborted_scbs) Aborting scb 0, TCL=2/0/0
aic7xxx: (done_aborted_scbs) Aborting scb 2, TCL=2/0/0
error: exit: Identifier removed
scsi : aborting command due to timeout : pid 32468, scsi0, channel 0, id 2, lun 0 Read (6) 01 39 e2 98 00
aic7xxx: (abort) Aborting scb 0, TCL 2/0/0
SCSI host 0 abort (pid 32468) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
aic7xxx: (reset) target/channel 2/0
aic7xxx: (abort_reset) scb state 0x200, Data-Out phase, SCSISIGI = 0x0
aic7xxx: (reset_device) target/channel -1/A, active_scb 0
aic7xxx: (reset_channel) Resetting current channel A
aic7xxx: (reset_channel) Channel reset, sequencer restarted
scsi : aborting command due to timeout : pid 32469, scsi0, channel 0, id 2, lun 0 Write (6) 00 00 30 02 00
aic7xxx: (abort) Aborting scb 2, TCL 2/0/0
SCSI host 0 abort (pid 32469) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
aic7xxx: (reset) target/channel 2/0
aic7xxx: (abort_reset) scb state 0x200, Data-Out phase, SCSISIGI = 0x0
aic7xxx: (reset_device) target/channel -1/A, active_scb 2
aic7xxx: (reset_channel) Resetting current channel A
aic7xxx: (reset_channel) Channel reset, sequencer restarted
scsi : aborting command due to timeout : pid 32468, scsi0, channel 0, id 2, lun 0 Read (6) 01 39 e2 98 00
aic7xxx: (abort) Aborting scb 0, TCL 2/0/0
SCSI host 0 abort (pid 32468) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
aic7xxx: (reset) target/channel 2/0
aic7xxx: (abort_reset) scb state 0x200, Data-Out phase, SCSISIGI = 0x0
aic7xxx: (reset_device) target/channel -1/A, active_scb 0
aic7xxx: (reset_channel) Resetting current channel A
aic7xxx: (reset_channel) Channel reset, sequencer restarted
scsi : aborting command due to timeout : pid 32469, scsi0, channel 0, id 2, lun 0 Write (6) 00 00 30 02 00
aic7xxx: (abort) Aborting scb 2, TCL 2/0/0
SCSI host 0 abort (pid 32469) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
aic7xxx: (reset) target/channel 2/0
aic7xxx: (abort_reset) scb state 0x200, Data-Out phase, SCSISIGI = 0x0
aic7xxx: (reset_device) target/channel -1/A, active_scb 2
aic7xxx: (reset_channel) Resetting current channel A
aic7xxx: (reset_channel) Channel reset, sequencer restarted
scsi : aborting command due to timeout : pid 32468, scsi0, channel 0, id 2, lun 0 Read (6) 01 39 e2 98 00
aic7xxx: (abort) Aborting scb 0, TCL 2/0/0
SCSI host 0 abort (pid 32468) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
aic7xxx: (reset) target/channel 2/0
aic7xxx: (abort_reset) scb state 0x200, Data-Out phase, SCSISIGI = 0x0
aic7xxx: (reset_device) target/channel -1/A, active_scb 0
aic7xxx: (reset_channel) Resetting current channel A
aic7xxx: (reset_channel) Channel reset, sequencer restarted
scsi : aborting command due to timeout : pid 32469, scsi0, channel 0, id 2, lun 0 Write (6) 00 00 30 02 00
aic7xxx: (abort) Aborting scb 2, TCL 2/0/0
SCSI host 0 abort (pid 32469) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
aic7xxx: (reset) target/channel 2/0
aic7xxx: (abort_reset) scb state 0x200, Data-Out phase, SCSISIGI = 0x0
aic7xxx: (reset_device) target/channel -1/A, active_scb 2
aic7xxx: (reset_channel) Resetting current channel A
aic7xxx: (reset_channel) Channel reset, sequencer restarted
scsi : aborting command due to timeout : pid 32468, scsi0, channel 0, id 2, lun 0 Read (6) 01 39 e2 98 00
aic7xxx: (abort) Aborting scb 0, TCL 2/0/0
SCSI host 0 abort (pid 32468) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
aic7xxx: (reset) target/channel 2/0
aic7xxx: (abort_reset) scb state 0x200, Data-Out phase, SCSISIGI = 0x0
aic7xxx: (reset_device) target/channel -1/A, active_scb 0
aic7xxx: (reset_channel) Resetting current channel A
aic7xxx: (reset_channel) Channel reset, sequencer restarted
scsi : aborting command due to timeout : pid 32469, scsi0, channel 0, id 2, lun 0 Write (6) 00 00 30 02 00
aic7xxx: (abort) Aborting scb 2, TCL 2/0/0