[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#284535: kernel / usb bug



Package: kernel
Version  : 2.6.8-1-386
(New install of sarge)

Connected a TwinMOS 7 in 1 card reader which was detected fine. It had a 64Mb 
CF card in the first slot.
I mounted it using mount -t vfat /dev/sda /mnt/twinmos_cf

Created a directory and then tried to copy a 22Mb file to it.
Looks like the cards u/s, but "kernel BUG" showed up twice.

dmesg showed the following:

scsi0 (0:0): rejecting I/O to offline device
<cut *lots* of the same>
scsi0 (0:0): rejecting I/O to offline device
printk: 36045 messages suppressed.
Buffer I/O error on device sda, logical block 24741
lost page write due to I/O error on sda
scsi0 (0:0): rejecting I/O to offline device
scsi0 (0:0): rejecting I/O to offline device
scsi0 (0:0): rejecting I/O to offline device
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed

scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 24741) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 24741) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 24741) failed
FAT: Directory bread(block 24741) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: bread(block 61) in fat_access failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 24741) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: unable to read inode block for updating (i_pos 3879)
scsi0 (0:0): rejecting I/O to offline device
printk: 75 messages suppressed.
Buffer I/O error on device sda, logical block 24742
lost page write due to I/O error on sda
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
Buffer I/O error on device sda, logical block 243
lost page write due to I/O error on sda
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 243) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 243) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 243) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 243) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 243) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: bread(block 61) in fat_access failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 243) failed
scsi0 (0:0): rejecting I/O to offline device
Buffer I/O error on device sda, logical block 244
lost page write due to I/O error on sda
usb 1-2.1: USB disconnect, address 3
slab error in kmem_cache_destroy(): cache `scsi_cmd_cache': Can't free all 
objects
 [<c0133cb2>] kmem_cache_destroy+0x79/0xe0
 [<caa82373>] scsi_destroy_command_freelist+0x64/0x76 [scsi_mod]
 [<caa83127>] scsi_host_dev_release+0x59/0x72 [scsi_mod]
 [<c01d2a55>] device_release+0x14/0x44
 [<c018ba98>] kobject_cleanup+0x40/0x65
 [<caa5f2e9>] usb_stor_release_resources+0x98/0xc0 [usb_storage]
 [<caa5f555>] storage_disconnect+0x56/0x62 [usb_storage]
 [<ca9b9077>] usb_unbind_interface+0x31/0x5b [usbcore]
 [<c01d3705>] device_release_driver+0x40/0x4b
 [<c01d38a7>] bus_remove_device+0x39/0x68
 [<c01d2cec>] device_del+0x43/0x67
 [<ca9be439>] usb_disable_device+0x72/0xe4 [usbcore]
 [<ca9baa4f>] usb_disconnect+0x95/0x10c [usbcore]
 [<ca9bb440>] hub_port_connect_change+0x5e/0x313 [usbcore]
 [<ca9bb919>] hub_events+0x224/0x2da [usbcore]
 [<ca9bb9cf>] hub_thread+0x0/0xe4 [usbcore]
 [<ca9bb9ec>] hub_thread+0x1d/0xe4 [usbcore]
 [<c0116fb4>] autoremove_wake_function+0x0/0x3a
 [<c0105e6e>] ret_from_fork+0x6/0x14
 [<ca9bb9cf>] hub_thread+0x0/0xe4 [usbcore]
 [<c0116fb4>] autoremove_wake_function+0x0/0x3a
 [<c01041e1>] kernel_thread_helper+0x5/0xb
usb 1-2.1: new full speed USB device using address 4
kmem_cache_create: duplicate cache scsi_cmd_cache
------------[ cut here ]------------
kernel BUG at mm/slab.c:1382!
invalid operand: 0000 [#1]
PREEMPT
Modules linked in: nls_iso8859_1 nls_cp437 vfat fat sd_mod usb_storage 
scsi_mod snd_pcm_oss snd_pcm snd_page_alloc snd_timer snd_mixer_oss snd 
soundcore ipv6 uhci_hcd usbcore pci_hotplug intel_agp pcspkr tsdev mousedev 
psmouse floppy parport_pc parport evdev 3c59x agpgart capability commoncap 
ide_cd cdrom rtc ext3 jbd ide_generic piix idscsi0 (0:0): rejecting I/O to 
offline device
<cut *lots* of the same>
scsi0 (0:0): rejecting I/O to offline device
printk: 36045 messages suppressed.
Buffer I/O error on device sda, logical block 24741
lost page write due to I/O error on sda
scsi0 (0:0): rejecting I/O to offline device
scsi0 (0:0): rejecting I/O to offline device
scsi0 (0:0): rejecting I/O to offline device
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed

scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 24741) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 24741) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 24741) failed
FAT: Directory bread(block 24741) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: bread(block 61) in fat_access failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 24741) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: unable to read inode block for updating (i_pos 3879)
scsi0 (0:0): rejecting I/O to offline device
printk: 75 messages suppressed.
Buffer I/O error on device sda, logical block 24742
lost page write due to I/O error on sda
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
Buffer I/O error on device sda, logical block 243
lost page write due to I/O error on sda
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 243) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 243) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 243) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 243) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 243) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: bread(block 61) in fat_access failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 242) failed
scsi0 (0:0): rejecting I/O to offline device
FAT: Directory bread(block 243) failed
scsi0 (0:0): rejecting I/O to offline device
Buffer I/O error on device sda, logical block 244
lost page write due to I/O error on sda
usb 1-2.1: USB disconnect, address 3
slab error in kmem_cache_destroy(): cache `scsi_cmd_cache': Can't free all 
objects
 [<c0133cb2>] kmem_cache_destroy+0x79/0xe0
 [<caa82373>] scsi_destroy_command_freelist+0x64/0x76 [scsi_mod]
 [<caa83127>] scsi_host_dev_release+0x59/0x72 [scsi_mod]
 [<c01d2a55>] device_release+0x14/0x44
 [<c018ba98>] kobject_cleanup+0x40/0x65
 [<caa5f2e9>] usb_stor_release_resources+0x98/0xc0 [usb_storage]
 [<caa5f555>] storage_disconnect+0x56/0x62 [usb_storage]
 [<ca9b9077>] usb_unbind_interface+0x31/0x5b [usbcore]
 [<c01d3705>] device_release_driver+0x40/0x4b
 [<c01d38a7>] bus_remove_device+0x39/0x68
 [<c01d2cec>] device_del+0x43/0x67
 [<ca9be439>] usb_disable_device+0x72/0xe4 [usbcore]
 [<ca9baa4f>] usb_disconnect+0x95/0x10c [usbcore]
 [<ca9bb440>] hub_port_connect_change+0x5e/0x313 [usbcore]
 [<ca9bb919>] hub_events+0x224/0x2da [usbcore]
 [<ca9bb9cf>] hub_thread+0x0/0xe4 [usbcore]
 [<ca9bb9ec>] hub_thread+0x1d/0xe4 [usbcore]
 [<c0116fb4>] autoremove_wake_function+0x0/0x3a
 [<c0105e6e>] ret_from_fork+0x6/0x14
 [<ca9bb9cf>] hub_thread+0x0/0xe4 [usbcore]
 [<c0116fb4>] autoremove_wake_function+0x0/0x3a
 [<c01041e1>] kernel_thread_helper+0x5/0xb
usb 1-2.1: new full speed USB device using address 4
kmem_cache_create: duplicate cache scsi_cmd_cache
------------[ cut here ]------------
kernel BUG at mm/slab.c:1382!
invalid operand: 0000 [#1]
PREEMPT
Modules linked in: nls_iso8859_1 nls_cp437 vfat fat sd_mod usb_storage 
scsi_mod snd_pcm_oss snd_pcm snd_page_alloc snd_timer snd_mixer_oss snd 
soundcore ipv6 uhci_hcd usbcore pci_hotplug intel_agp pcspkr tsdev mousedev 
psmouse floppy parport_pc parport evdev 3c59x agpgart capability commoncap 
ide_cd cdrom rtc ext3 jbd ide_generic piix ide_disk ide_core unix font vesafb 
cfbcopyarea cfbimgblt cfbfillrect
CPU:    0
EIP:    0060:[<c0133a52>]    Not tainted
EFLAGS: 00010202   (2.6.8-1-386)
EIP is at kmem_cache_create+0x39f/0x417
eax: 00000032   ebx: c956b460   ecx: c03484d8   edx: c02895b8
esi: c025ebe0   edi: caa8a700   ebp: c956b5d0   esp: c8e2bdec
ds: 007b   es: 007b   ss: 0068
Process khubd (pid: 1399, threadinfo=c8e2a000 task=c8df7220)
Stack: c0000000 000000a0 caa9c488 caa9c460 c9fdb200 caa69ca0 caa82295 caa8a700
       00000158 00000000 00002000 00000000 00000000 000001d8 c9fdb200 c9fdb3d8
       caa832fc c9fdb200 00000000 c9b97440 caa5e3fd c9b9b200 00000000 c8e2be48
Call Trace:
 [<caa82295>] scsi_setup_command_freelist+0x54/0xce [scsi_mod]
 [<caa832fc>] scsi_host_alloc+0x1bc/0x277 [scsi_mod]
 [<caa5e3fd>] usb_stor_Bulk_max_lun+0x2f/0x5f [usb_storage]
 [<caa5f1e4>] usb_stor_acquire_resources+0x84/0xf1 [usb_storage]
 [<caa5f49b>] storage_probe+0x132/0x196 [usb_storage]
 [<ca9b903c>] usb_probe_interface+0x36/0x40 [usbcore]
 [<c01d35bb>] bus_match+0x2e/0x4d
 [<c01d361b>] device_attach+0x41/0x7d
 [<c01d383f>] bus_add_device+0x3f/0x6e
 [<c01d2c08>] device_add+0x72/0xda
 [<ca9bea19>] usb_set_configuration+0x2dd/0x334 [usbcore]
 [<ca9bac0e>] usb_new_device+0xb7/0x116 [usbcore]
 [<ca9bb665>] hub_port_connect_change+0x283/0x313 [usbcore]
 [<ca9bb919>] hub_events+0x224/0x2da [usbcore]
 [<ca9bb9cf>] hub_thread+0x0/0xe4 [usbcore]
 [<ca9bb9ec>] hub_thread+0x1d/0xe4 [usbcore]
 [<c0116fb4>] autoremove_wake_function+0x0/0x3a
 [<c0105e6e>] ret_from_fork+0x6/0x14
 [<ca9bb9cf>] hub_thread+0x0/0xe4 [usbcore]
 [<c0116fb4>] autoremove_wake_function+0x0/0x3a
 [<c01041e1>] kernel_thread_helper+0x5/0xb
Code: 0f 0b 66 05 d2 e2 25 c0 8b 6d 00 8b 45 00 8d 74 26 00 81 fd
e_disk ide_core unix font vesafb cfbcopyarea cfbimgblt cfbfillrect
CPU:    0
EIP:    0060:[<c0133a52>]    Not tainted
EFLAGS: 00010202   (2.6.8-1-386)
EIP is at kmem_cache_create+0x39f/0x417
eax: 00000032   ebx: c956b460   ecx: c03484d8   edx: c02895b8
esi: c025ebe0   edi: caa8a700   ebp: c956b5d0   esp: c8e2bdec
ds: 007b   es: 007b   ss: 0068
Process khubd (pid: 1399, threadinfo=c8e2a000 task=c8df7220)
Stack: c0000000 000000a0 caa9c488 caa9c460 c9fdb200 caa69ca0 caa82295 caa8a700
       00000158 00000000 00002000 00000000 00000000 000001d8 c9fdb200 c9fdb3d8
       caa832fc c9fdb200 00000000 c9b97440 caa5e3fd c9b9b200 00000000 c8e2be48
Call Trace:
 [<caa82295>] scsi_setup_command_freelist+0x54/0xce [scsi_mod]
 [<caa832fc>] scsi_host_alloc+0x1bc/0x277 [scsi_mod]
 [<caa5e3fd>] usb_stor_Bulk_max_lun+0x2f/0x5f [usb_storage]
 [<caa5f1e4>] usb_stor_acquire_resources+0x84/0xf1 [usb_storage]
 [<caa5f49b>] storage_probe+0x132/0x196 [usb_storage]
 [<ca9b903c>] usb_probe_interface+0x36/0x40 [usbcore]
 [<c01d35bb>] bus_match+0x2e/0x4d
 [<c01d361b>] device_attach+0x41/0x7d
 [<c01d383f>] bus_add_device+0x3f/0x6e
 [<c01d2c08>] device_add+0x72/0xda
 [<ca9bea19>] usb_set_configuration+0x2dd/0x334 [usbcore]
 [<ca9bac0e>] usb_new_device+0xb7/0x116 [usbcore]
 [<ca9bb665>] hub_port_connect_change+0x283/0x313 [usbcore]
 [<ca9bb919>] hub_events+0x224/0x2da [usbcore]
 [<ca9bb9cf>] hub_thread+0x0/0xe4 [usbcore]
 [<ca9bb9ec>] hub_thread+0x1d/0xe4 [usbcore]
 [<c0116fb4>] autoremove_wake_function+0x0/0x3a
 [<c0105e6e>] ret_from_fork+0x6/0x14
 [<ca9bb9cf>] hub_thread+0x0/0xe4 [usbcore]
 [<c0116fb4>] autoremove_wake_function+0x0/0x3a
 [<c01041e1>] kernel_thread_helper+0x5/0xb
Code: 0f 0b 66 05 d2 e2 25 c0 8b 6d 00 8b 45 00 8d 74 26 00 81 fd

Regards,
Dave Bingham



Reply to: