USB Storage oops in 2.5.69-bk8
----- Forwarded message from Alan Stern <[email protected]> -----
Quoted 55 lines
Subject: Re: [linux-usb-devel] USB Storage oops in 2.5.69-bk8
From: Alan Stern <[email protected]>
To: Florin Iucha <[email protected]>
Cc: USB development list <[email protected]>
Date: Fri, 16 May 2003 11:49:00 -0400 (EDT)Quoted 47 lines · Florin Iucha
Hello,
I get the following oops in 2.5.69-bk8 when I try to mount a Compact Flash card in a SanDisk adapter:
usb 2-1: USB disconnect, address 2
hub 2-0:0: debounce: port 1: delay 100ms stable 4 status0x301
hub 2-0:0: new USB device on port 1, assigned address 3
input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse? Explorer] on usb-00:02.3-1 usb 2-1: USB disconnect, address 3drivers/usb/input/hid-core.c: can't resubmit intr, 00:02.3-1/input0, status -19 hub 2-0:0: debounce: port 1: delay 100ms stable 4 status0x301
hub 2-0:0: new USB device on port 1, assigned address 4
input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse? Explorer] on usb-00:02.3-1 SCSI device sda: 31232 512-byte hdwr sectors (16 MB)
sda: Write Protect is off
sda: Mode Sense: 02 00 00 00drivers/usb/core/message.c: usb_control/bulk_msg: timeoutdrivers/usb/core/message.c: usb_control/bulk_msg: timeoutdrivers/usb/core/hub.c: USB device not accepting new address (error=-22)
scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0 usb 5-2: USB disconnect, address 2Unable to handle kernel paging request at virtual address 544150a8 printing eip: c02abc39 *pde = 00000000 Oops: 0000 [#1] CPU: 0 EIP: 0060:[<c02abc39>] Not tainted EFLAGS: 00010286EIP is at
scsi_eh_finish_cmd+0x19/0x60
eax:ef19d000ebx:eef28080ecx:eef22140edx: 54415056
esi:eef21fa8edi:eef21fb0ebp:eef21fa8esp:eef21f60
ds: 007b es: 007b ss: 0068
Processscsi_eh_1(pid: 118, threadinfo=eef20000 task=eef23340)Stack: eef28080 eef28080 eef21fb0 c02ac418 eef28080 eef21fa8 00000000 00000000 00000000 ef62f428 eef20000 00000282 eef21fa8 c02ac8d6 eef21fb0 eef21fa8 eef21fa8 eef21fb0 eef21fa8 eef21fa8 eef28098 eef28098 ef62f400 eef21fd4 Call Trace: [<c02ac418>] scsi_eh_offline_sdevs+0x68/0x80 [<c02ac8d6>] scsi_unjam_host+0xc6/0xd0 [<c02ac9b1>] scsi_error_handler+0xd1/0x120 [<c02ac8e0>] scsi_error_handler+0x0/0x120 [<c0108abd>] kernel_thread_helper+0x5/0x18 Code: 0f b7 42 52 48 66 89 42 52 c7 43 24 00 00 00 00 66 c7 43 08
Quoted 8 lines
Quoted 2 lines
I cannot tell if it is a regression since I just got the CF and the adapter.
This is a problem in the SCSI error handler. You should post your question to <[email protected]>. Maybe also cc: to Mike Anderson <[email protected]>.
Alan Stern
----- End forwarded message -----
florin
Signature · 1 line
"NT is to UNIX what a doughnut is to a particle accelerator."
This might be a case that the scsi_error handler never reclaimed or canceled the command (i.e., this is a lost command) and probably should not update the fields.
Could you get me a little more data on what the error handler actions where by doing the following:
1.) Ensure SCSI logging is enabled in your config. CONFIG_SCSI_LOGGING=y.
2.) Prior to the mount of the Compact Flash card. echo "scsi log error 4" > /proc/scsi/scsi
If this is getting set dmesg should give a line that scsi logging level set to ...
3.) Mount the Compact Flash card and send me the output when it fails.
Thanks,
Quoted 64 lines · Florin Iucha [[email protected]] wrote:
----- Forwarded message from Alan Stern <[email protected]> -----
Quoted 62 lines
Subject: Re: [linux-usb-devel] USB Storage oops in 2.5.69-bk8
From: Alan Stern <[email protected]>
To: Florin Iucha <[email protected]>
Cc: USB development list <[email protected]>
Date: Fri, 16 May 2003 11:49:00 -0400 (EDT)Quoted 47 lines · Florin Iucha
Hello,
I get the following oops in 2.5.69-bk8 when I try to mount a Compact Flash card in a SanDisk adapter:
usb 2-1: USB disconnect, address 2
hub 2-0:0: debounce: port 1: delay 100ms stable 4 status0x301
hub 2-0:0: new USB device on port 1, assigned address 3
input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse? Explorer] on usb-00:02.3-1 usb 2-1: USB disconnect, address 3drivers/usb/input/hid-core.c: can't resubmit intr, 00:02.3-1/input0, status -19 hub 2-0:0: debounce: port 1: delay 100ms stable 4 status0x301
hub 2-0:0: new USB device on port 1, assigned address 4
input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse? Explorer] on usb-00:02.3-1 SCSI device sda: 31232 512-byte hdwr sectors (16 MB)
sda: Write Protect is off
sda: Mode Sense: 02 00 00 00drivers/usb/core/message.c: usb_control/bulk_msg: timeoutdrivers/usb/core/message.c: usb_control/bulk_msg: timeoutdrivers/usb/core/hub.c: USB device not accepting new address (error=-22)
scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0 usb 5-2: USB disconnect, address 2Unable to handle kernel paging request at virtual address 544150a8 printing eip: c02abc39 *pde = 00000000 Oops: 0000 [#1] CPU: 0 EIP: 0060:[<c02abc39>] Not tainted EFLAGS: 00010286EIP is at
scsi_eh_finish_cmd+0x19/0x60
eax:ef19d000ebx:eef28080ecx:eef22140edx: 54415056
esi:eef21fa8edi:eef21fb0ebp:eef21fa8esp:eef21f60
ds: 007b es: 007b ss: 0068
Processscsi_eh_1(pid: 118, threadinfo=eef20000 task=eef23340)Stack: eef28080 eef28080 eef21fb0 c02ac418 eef28080 eef21fa8 00000000 00000000 00000000 ef62f428 eef20000 00000282 eef21fa8 c02ac8d6 eef21fb0 eef21fa8 eef21fa8 eef21fb0 eef21fa8 eef21fa8 eef28098 eef28098 ef62f400 eef21fd4 Call Trace: [<c02ac418>] scsi_eh_offline_sdevs+0x68/0x80 [<c02ac8d6>] scsi_unjam_host+0xc6/0xd0 [<c02ac9b1>] scsi_error_handler+0xd1/0x120 [<c02ac8e0>] scsi_error_handler+0x0/0x120 [<c0108abd>] kernel_thread_helper+0x5/0x18 Code: 0f b7 42 52 48 66 89 42 52 c7 43 24 00 00 00 00 66 c7 43 08Quoted 2 lines
I cannot tell if it is a regression since I just got the CF and the adapter.
This is a problem in the SCSI error handler. You should post your question to <[email protected]>. Maybe also cc: to Mike Anderson <[email protected]>.
Quoted 9 lines
Quoted 1 line
Alan Stern
----- End forwarded message -----
florin
Signature · 1 line
"NT is to UNIX what a doughnut is to a particle accelerator."
-andmike
--
Michael Anderson
[email protected]
Quoted 9 lines · Mike Anderson
This might be a case that the
scsi_errorhandler never reclaimed or canceled the command (i.e., this is a lost command) and probably should not update the fields.Could you get me a little more data on what the error handler actions where by doing the following:
1.) Ensure SCSI logging is enabled in your config.CONFIG_SCSI_LOGGING=y.
Quoted 8 lines
2.) Prior to the mount of the Compact Flash card. echo "scsi log error 4" >
/proc/scsi/scsiIf this is getting set dmesg should give a line that scsi logging level set to ...
3.) Mount the Compact Flash card and send me the output when it fails.
Here it is:
scsi logging level set to 0x00000004
SCSI device sda: 31232 512-byte hdwr sectors (16 MB)
sda: Write Protect is off
sda: Mode Sense: 02 00 00 00drivers/usb/core/message.c: usb_control/bulk_msg: timeout
Error handler scsi_eh_1 waking upscsi_eh_prt_fail_stats: 1:0:0:0 cmds failed: 0, cancel: 1
Total of 1 commands on 1 devices require eh workscsi_eh_1: aborting cmd:0xedac3080scsi_eh_times_out: scmd:edac3080scsi_send_eh_cmnd: scmd: edac3080, rtn:2003scsi_eh_tur: scmd edac3080 rtn 2003scsi_eh_1: Sending BDR sdev: 0xee133c00drivers/usb/core/message.c: usb_control/bulk_msg: timeoutscsi_eh_1: BDR failed sdev:0xee133c00scsi_eh_1: Sending BRST chan: 0scsi_try_bus_reset: Snd Bus RSTdrivers/usb/core/hub.c: USB device not accepting new address (error=-22)scsi_eh_1: BRST failed chan: 0scsi_eh_1: Sending HRSTscsi_try_host_reset: Snd Host RSTscsi_eh_1: HRST failed
scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0scsi_eh_1: flush finish cmd: edac3080
usb 5-2: USB disconnect, address 2
Unable to handle kernel paging request at virtual address 544150a6 printing eip: c02aa5e8 *pde = 00000000 Oops: 0000 [#1] CPU: 0 EIP: 0060:[<c02aa5e8>] Not tainted EFLAGS: 00010002
EIP is at scsi_host_busy_dec_and_test+0x18/0x8a
eax: ed9f8000 ebx: 00000286 ecx: 54415056 edx: ed9f8000
esi: edac3080 edi: 54415056 ebp: ed9f8000 esp: ed9f9f24
ds: 007b es: 007b ss: 0068
Process scsi_eh_1 (pid: 604, threadinfo=ed9f8000 task=ee15d840)
Stack: c036db3b ee133c00 c02a93fc 54415056 ee133c00 edac3080 edac3080 ed9f9fa8
ed9f9fa8 c02ad2bb edac3080 ee15db26 edac3080 ed9f8000 edac3098 ee8a0008
ee133c00 ed9f9fb0 c02ad49c ed9f9fa8 ed9f9fa8 ed9f9fa8 00000000 00000000
Call Trace:
[<c02a93fc>] scsi_finish_command+0x1c/0x110
[<c02ad2bb>] scsi_eh_flush_done_q+0x5b/0xe0
[<c02ad49c>] scsi_unjam_host+0x15c/0x230
[<c02ad6af>] scsi_error_handler+0x13f/0x1b0
[<c02ad570>] scsi_error_handler+0x0/0x1b0
[<c0108abd>] kernel_thread_helper+0x5/0x18
Code: 0f b7 41 50 48 f6 81 92 00 00 00 01 66 89 41 50 74 16 0f b7
<6>note: scsi_eh_1[604] exited with preempt_count 1Thank you,
florin
PS: this trace was obtained on 2.5.69-bk11.
Signature · 1 line
"NT is to UNIX what a doughnut is to a particle accelerator."