Using a usb-ata converter, on a Linux smeagol.perkons.com.br 2.6.6-1.435
#1 Mon Jun 14 09:09:07 EDT 2004 i686 i686 i386 GNU/Linux.

First the device was attached, then mounted a vfat filesystem on sda1.
vfat panic because of the SCSI error : <0 0 0 0> return code = 0x6000000
vfat has unmounted, the device was unplugged and plugged back again,
then the oops take place.

If needed, I can make further tests.

Begin of dmesg:

usb 1-1: new high speed USB device using address 2
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: TOSHIBA   Model: MK6015MAP         Rev: U8.1
  Type:   Direct-Access                      ANSI SCSI revision: 02
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
SCSI device sda: 11733120 512-byte hdwr sectors (6007 MB)
sda: assuming drive cache: write through
 sda: sda1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
updfstab: Using deprecated /dev/sg mechanism instead of SG_IO on the
actual device
inserting floppy driver for 2.6.6-1.435
Floppy drive(s): fd0 is 1.44M
floppy0: no floppy controllers found
SCSI error : <0 0 0 0> return code = 0x6000000
end_request: I/O error, dev sda, sector 22957
FAT: Directory bread(block 22894) failed
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 63
FAT: unable to read boot sector
usb 1-1: USB disconnect, address 2
SCSI error : <0 0 0 0> return code = 0x50000
end_request: I/O error, dev sda, sector 63
FAT: unable to read boot sector
------------[ cut here ]------------
kernel BUG at drivers/usb/storage/usb.c:846!
invalid operand: 0000 [#1]
Modules linked in: nls_utf8 nls_cp437 vfat fat sg sd_mod usb_storage
scsi_mod snd_mixer_oss snd_ali5451 snd_ac97_codec snd_pcm snd_page_alloc
snd_timer snd soundcore parport_pc lp parport autofs4 rfcomm l2cap
bluetooth ds yenta_socket pcmcia_core sunrpc 8139too mii ipt_REJECT
ipt_state ip_conntrack iptable_filter ip_tables microcode dm_mod joydev
ohci_hcd ehci_hcd toshiba_acpi button battery asus_acpi ac ipv6 ext3 jbd
CPU:    0
EIP:    0060:[<109dc0fc>]    Not tainted
EFLAGS: 00010202   (2.6.6-1.435)
EIP is at usb_stor_release_resources+0x34/0x9b [usb_storage]
eax: 0fd3a200   ebx: 0fd32e00   ecx: 109d6a48   edx: 0fd3a26c
esi: 109e6a40   edi: 0fd3a248   ebp: 00000000   esp: 0fd48f20
ds: 007b   es: 007b   ss: 0068
Process khubd (pid: 25, threadinfo=0fd48000 task=0fd65130)
Stack: 0fd3a238 02212d91 0fd3a248 109e6a60 021db000 022e5aa0 022e5aec
021db100
       0fd3a248 022dde68 0c3718cc 021da46a 00000001 0c371800 ffffffff
02217803
       0c371840 0c371800 022136d0 0ffab338 00000001 0ffab238 02215050
00000001
Call Trace:
 [<02212d91>] usb_unbind_interface+0x2c/0x50
 [<021db000>] device_release_driver+0x3c/0x46
 [<021db100>] bus_remove_device+0x47/0x80
 [<021da46a>] device_del+0x66/0x87
 [<02217803>] usb_disable_device+0x62/0xc1
 [<022136d0>] usb_disconnect+0xa7/0xd3
 [<02215050>] hub_port_connect_change+0x6e/0x293
 [<02215355>] hub_events+0xe0/0x255
 [<022154e8>] hub_thread+0x1e/0xd0
 [<02115e4e>] default_wake_function+0x0/0xc
 [<022154ca>] hub_thread+0x0/0xd0
 [<021041d9>] kernel_thread_helper+0x5/0xb
 
Code: 0f 0b 4e 03 79 22 9e 10 c7 83 b4 00 00 00 00 00 00 00 8d 8b
 <1>Unable to handle kernel NULL pointer dereference at virtual address
00000000
 printing eip:
00000000
*pde = 00000000
Oops: 0000 [#2]
Modules linked in: nls_utf8 nls_cp437 vfat fat sg sd_mod usb_storage
scsi_mod snd_mixer_oss snd_ali5451 snd_ac97_codec snd_pcm snd_page_alloc
snd_timer snd soundcore parport_pc lp parport autofs4 rfcomm l2cap
bluetooth ds yenta_socket pcmcia_core sunrpc 8139too mii ipt_REJECT
ipt_state ip_conntrack iptable_filter ip_tables microcode dm_mod joydev
ohci_hcd ehci_hcd toshiba_acpi button battery asus_acpi ac ipv6 ext3 jbd
CPU:    0
EIP:    0060:[<00000000>]    Not tainted
EFLAGS: 00010006   (2.6.6-1.435)
EIP is at 0x0
eax: 0f46ac80   ebx: 0fd32f04   ecx: 0fd32e00   edx: 0f46ac80
esi: 00000000   edi: 00000000   ebp: 0fd32e00   esp: 05f16fac
ds: 007b   es: 007b   ss: 0068
Process usb-storage (pid: 2688, threadinfo=05f16000 task=086ed8b0)
Stack: 109db92f 02115a51 ffff1000 08400eb8 ffff30b2 086ed330 109db7b1
00000000
       0fd32e00 00000000 00000000 00000000 00000000 109db7b1 00000000
00000000
       00000000 021041d9 0fd32e00 00000000 00000000
Call Trace:
 [<109db92f>] usb_stor_control_thread+0x17e/0x1b9 [usb_storage]
 [<02115a51>] schedule_tail+0xc/0x37
 [<109db7b1>] usb_stor_control_thread+0x0/0x1b9 [usb_storage]
 [<109db7b1>] usb_stor_control_thread+0x0/0x1b9 [usb_storage]
 [<021041d9>] kernel_thread_helper+0x5/0xb
 
Code:  Bad EIP value.
  
usb 1-1: new high speed USB device using address 2
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: TOSHIBA   Model: MK6015MAP         Rev: U8.1
  Type:   Direct-Access                      ANSI SCSI revision: 02
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
SCSI device sda: 11733120 512-byte hdwr sectors (6007 MB)
sda: assuming drive cache: write through
 sda: sda1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
updfstab: Using deprecated /dev/sg mechanism instead of SG_IO on the
actual device
inserting floppy driver for 2.6.6-1.435
Floppy drive(s): fd0 is 1.44M
floppy0: no floppy controllers found
SCSI error : <0 0 0 0> return code = 0x6000000
end_request: I/O error, dev sda, sector 22957
FAT: Directory bread(block 22894) failed
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 63
FAT: unable to read boot sector
usb 1-1: USB disconnect, address 2
SCSI error : <0 0 0 0> return code = 0x50000
end_request: I/O error, dev sda, sector 63
FAT: unable to read boot sector
------------[ cut here ]------------
kernel BUG at drivers/usb/storage/usb.c:846!
invalid operand: 0000 [#1]
Modules linked in: nls_utf8 nls_cp437 vfat fat sg sd_mod usb_storage
scsi_mod snd_mixer_oss snd_ali5451 snd_ac97_codec snd_pcm snd_page_alloc
snd_timer snd soundcore parport_pc lp parport autofs4 rfcomm l2cap
bluetooth ds yenta_socket pcmcia_core sunrpc 8139too mii ipt_REJECT
ipt_state ip_conntrack iptable_filter ip_tables microcode dm_mod joydev
ohci_hcd ehci_hcd toshiba_acpi button battery asus_acpi ac ipv6 ext3 jbd
CPU:    0
EIP:    0060:[<109dc0fc>]    Not tainted
EFLAGS: 00010202   (2.6.6-1.435)
EIP is at usb_stor_release_resources+0x34/0x9b [usb_storage]
eax: 0fd3a200   ebx: 0fd32e00   ecx: 109d6a48   edx: 0fd3a26c
esi: 109e6a40   edi: 0fd3a248   ebp: 00000000   esp: 0fd48f20
ds: 007b   es: 007b   ss: 0068
Process khubd (pid: 25, threadinfo=0fd48000 task=0fd65130)
Stack: 0fd3a238 02212d91 0fd3a248 109e6a60 021db000 022e5aa0 022e5aec
021db100
       0fd3a248 022dde68 0c3718cc 021da46a 00000001 0c371800 ffffffff
02217803
       0c371840 0c371800 022136d0 0ffab338 00000001 0ffab238 02215050
00000001
Call Trace:
 [<02212d91>] usb_unbind_interface+0x2c/0x50
 [<021db000>] device_release_driver+0x3c/0x46
 [<021db100>] bus_remove_device+0x47/0x80
 [<021da46a>] device_del+0x66/0x87
 [<02217803>] usb_disable_device+0x62/0xc1
 [<022136d0>] usb_disconnect+0xa7/0xd3
 [<02215050>] hub_port_connect_change+0x6e/0x293
 [<02215355>] hub_events+0xe0/0x255
 [<022154e8>] hub_thread+0x1e/0xd0
 [<02115e4e>] default_wake_function+0x0/0xc
 [<022154ca>] hub_thread+0x0/0xd0
 [<021041d9>] kernel_thread_helper+0x5/0xb
 
Code: 0f 0b 4e 03 79 22 9e 10 c7 83 b4 00 00 00 00 00 00 00 8d 8b
 <1>Unable to handle kernel NULL pointer dereference at virtual address
00000000
 printing eip:
00000000
*pde = 00000000
Oops: 0000 [#2]
Modules linked in: nls_utf8 nls_cp437 vfat fat sg sd_mod usb_storage
scsi_mod snd_mixer_oss snd_ali5451 snd_ac97_codec snd_pcm snd_page_alloc
snd_timer snd soundcore parport_pc lp parport autofs4 rfcomm l2cap
bluetooth ds yenta_socket pcmcia_core sunrpc 8139too mii ipt_REJECT
ipt_state ip_conntrack iptable_filter ip_tables microcode dm_mod joydev
ohci_hcd ehci_hcd toshiba_acpi button battery asus_acpi ac ipv6 ext3 jbd
CPU:    0
EIP:    0060:[<00000000>]    Not tainted
EFLAGS: 00010006   (2.6.6-1.435)
EIP is at 0x0
eax: 0f46ac80   ebx: 0fd32f04   ecx: 0fd32e00   edx: 0f46ac80
esi: 00000000   edi: 00000000   ebp: 0fd32e00   esp: 05f16fac
ds: 007b   es: 007b   ss: 0068
Process usb-storage (pid: 2688, threadinfo=05f16000 task=086ed8b0)
Stack: 109db92f 02115a51 ffff1000 08400eb8 ffff30b2 086ed330 109db7b1
00000000
       0fd32e00 00000000 00000000 00000000 00000000 109db7b1 00000000
00000000
       00000000 021041d9 0fd32e00 00000000 00000000
Call Trace:
 [<109db92f>] usb_stor_control_thread+0x17e/0x1b9 [usb_storage]
 [<02115a51>] schedule_tail+0xc/0x37
 [<109db7b1>] usb_stor_control_thread+0x0/0x1b9 [usb_storage]
 [<109db7b1>] usb_stor_control_thread+0x0/0x1b9 [usb_storage]
 [<021041d9>] kernel_thread_helper+0x5/0xb
 
Code:  Bad EIP value.
  
end of dmesg.


-- 
Guilherme Destefani
Computer Engineer
Helix S.A.
gd _at_ helixbrasil _dot_ com _dot_ br
Brazil - Parana - Curitiba
(+5541) 362-1313



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to