Begin forwarded message:
Date: Fri, 16 Apr 2004 15:50:46 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 2527] New: Lock Up when mounting / using USB-Stick http://bugme.osdl.org/show_bug.cgi?id=2527 Summary: Lock Up when mounting / using USB-Stick Kernel Version: 2.6.6-rc1 Status: NEW Severity: high Owner: [EMAIL PROTECTED] Submitter: [EMAIL PROTECTED] Distribution: Slackware Linux 9.1 Hardware Environment: Pentium III 1000, 512 MB PC100 SD-RAM, VIA 82CXXX IDE-Chipset ( Notebook ), USB 1.1 ( uhci_hcd ) Software Environment: Gnome 2.6, X.org 6.7.0, base installation of slackware 9.1, custom kernel, util-linux-2.12a (patched for loop-aes) Problem Description: Using my USB-Stick is impossible - after a short time it locks up and I have to plug it out, killing the mount process sometimes is possible ( not always ). Using the stick curiously seems to be possible if the stick is formatted as FAT32, it is impossible if the stick is formatted as ReiserFS or ext3. I tested both of them. With Kernel 2.6.5 on the same machine everything is running just fine without any problems. The stick is recognized, but as soon as i try to copy files on it the stick completely locks up. Sometimes I am able to mount the stick and he locks at the filetransfer, sometimes I can not even mount it. Steps to reproduce: Plug in stick, try to mount reiserfs/ext3-partition. here is the output of syslog : usb 1-2.3: new full speed USB device using address 4 Initializing USB Mass Storage driver... scsi0 : SCSI emulation for USB Mass Storage devices Vendor: Model: USB BAR Rev: 2.00 Type: Direct-Access ANSI SCSI revision: 02 sda: Unit Not Ready, sense: Current : sense = 70 6 ASC=28 ASCQ= 0 Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 SCSI device sda: 511744 512-byte hdwr sectors (262 MB) sda: assuming Write Enabled sda: assuming drive cache: write through sda: sda1 sda2 Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 USB Mass Storage device found at 4 usbcore: registered new driver usb-storage USB Mass Storage support registered. ( mounting /dev/sda2 with ext3 fs leads to following: ) kjournald starting. Commit interval 5 seconds EXT3 FS on sda2, internal journal EXT3-fs: mounted filesystem with ordered data mode. usb 1-2.3: control timeout on ep0in scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0 lun 0 SCSI error : <0 0 0 0> return code = 0x50000 end_request: I/O error, dev sda, sector 256068 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 Buffer I/O error on device sda2, logical block 273 lost page write due to I/O error on sda2 Aborting journal on device sda2. EXT3-fs error (device sda2): read_inode_bitmap: Cannot read inode bitmap - block_group = 3, inode_bitmap = 24580 scsi0 (0:0): rejecting I/O to offline device Buffer I/O error on device sda2, logical block 1 lost page write due to I/O error on sda2 EXT3-fs error (device sda2) in ext3_new_inode: IO failure buffer layer error at fs/buffer.c:1251 Call Trace: [<c014fc34>] mark_buffer_dirty+0x54/0x60 [<c01beda1>] ext3_commit_super+0x51/0x90 [<c01bca11>] ext3_handle_error+0x81/0xc0 [<c01bcb9d>] __ext3_std_error+0x4d/0x60 [<c01b3d58>] ext3_new_inode+0x2a8/0x7c0 [<c01bb295>] ext3_create+0x55/0xc0 [<c015c1f9>] vfs_create+0x79/0xd0 [<c015c7ef>] open_namei+0x3bf/0x410 [<c014c353>] filp_open+0x43/0x70 [<c014c82b>] sys_open+0x5b/0x90 [<c0105deb>] syscall_call+0x7/0xb buffer layer error at fs/buffer.c:2698 Call Trace: [<c0151fef>] submit_bh+0x12f/0x180 [<c0152139>] sync_dirty_buffer+0x69/0xd0 [<c01bca11>] ext3_handle_error+0x81/0xc0 [<c01bcb9d>] __ext3_std_error+0x4d/0x60 [<c01b3d58>] ext3_new_inode+0x2a8/0x7c0 [<c01bb295>] ext3_create+0x55/0xc0 [<c015c1f9>] vfs_create+0x79/0xd0 [<c015c7ef>] open_namei+0x3bf/0x410 [<c014c353>] filp_open+0x43/0x70 [<c014c82b>] sys_open+0x5b/0x90 [<c0105deb>] syscall_call+0x7/0xb scsi0 (0:0): rejecting I/O to offline device Buffer I/O error on device sda2, logical block 1 lost page write due to I/O error on sda2 EXT3-fs error (device sda2) in ext3_create: IO failure buffer layer error at fs/buffer.c:1251 Call Trace: [<c014fc34>] mark_buffer_dirty+0x54/0x60 [<c01beda1>] ext3_commit_super+0x51/0x90 [<c01bca11>] ext3_handle_error+0x81/0xc0 [<c01bcb9d>] __ext3_std_error+0x4d/0x60 [<c01bc912>] __ext3_journal_stop+0x42/0x50 [<c01bb2ae>] ext3_create+0x6e/0xc0 [<c015c1f9>] vfs_create+0x79/0xd0 [<c015c7ef>] open_namei+0x3bf/0x410 [<c014c353>] filp_open+0x43/0x70 [<c014c82b>] sys_open+0x5b/0x90 [<c0105deb>] syscall_call+0x7/0xb buffer layer error at fs/buffer.c:2698 Call Trace: [<c0151fef>] submit_bh+0x12f/0x180 [<c0152139>] sync_dirty_buffer+0x69/0xd0 [<c01bca11>] ext3_handle_error+0x81/0xc0 [<c01bcb9d>] __ext3_std_error+0x4d/0x60 [<c01bc912>] __ext3_journal_stop+0x42/0x50 [<c01bb2ae>] ext3_create+0x6e/0xc0 [<c015c1f9>] vfs_create+0x79/0xd0 [<c015c7ef>] open_namei+0x3bf/0x410 [<c014c353>] filp_open+0x43/0x70 [<c014c82b>] sys_open+0x5b/0x90 [<c0105deb>] syscall_call+0x7/0xb scsi0 (0:0): rejecting I/O to offline device Buffer I/O error on device sda2, logical block 1 lost page write due to I/O error on sda2 scsi0 (0:0): rejecting I/O to offline device Buffer I/O error on device sda2, logical block 5 lost page write due to I/O error on sda2 scsi0 (0:0): rejecting I/O to offline device Buffer I/O error on device sda2, logical block 40965 lost page write due to I/O error on sda2 scsi0 (0:0): rejecting I/O to offline device Buffer I/O error on device sda2, logical block 269 lost page write due to I/O error on sda2 buffer layer error at fs/buffer.c:1251 Call Trace: [<c014fc34>] mark_buffer_dirty+0x54/0x60 [<c01bd0ae>] ext3_put_super+0x17e/0x1a0 [<c0153987>] generic_shutdown_super+0x177/0x190 [<c015456d>] kill_block_super+0x1d/0x40 [<c01536cf>] deactivate_super+0x5f/0xc0 [<c0169b9f>] sys_umount+0x3f/0xa0 [<c0169c17>] sys_oldumount+0x17/0x20 [<c0105deb>] syscall_call+0x7/0xb buffer layer error at fs/buffer.c:1251 Call Trace: [<c014fc34>] mark_buffer_dirty+0x54/0x60 [<c01beda1>] ext3_commit_super+0x51/0x90 [<c01bd0c2>] ext3_put_super+0x192/0x1a0 [<c0153987>] generic_shutdown_super+0x177/0x190 [<c015456d>] kill_block_super+0x1d/0x40 [<c01536cf>] deactivate_super+0x5f/0xc0 [<c0169b9f>] sys_umount+0x3f/0xa0 [<c0169c17>] sys_oldumount+0x17/0x20 [<c0105deb>] syscall_call+0x7/0xb buffer layer error at fs/buffer.c:2698 Call Trace: [<c0151fef>] submit_bh+0x12f/0x180 [<c0152139>] sync_dirty_buffer+0x69/0xd0 [<c01bd0c2>] ext3_put_super+0x192/0x1a0 [<c0153987>] generic_shutdown_super+0x177/0x190 [<c015456d>] kill_block_super+0x1d/0x40 [<c01536cf>] deactivate_super+0x5f/0xc0 [<c0169b9f>] sys_umount+0x3f/0xa0 [<c0169c17>] sys_oldumount+0x17/0x20 [<c0105deb>] syscall_call+0x7/0xb scsi0 (0:0): rejecting I/O to offline device Buffer I/O error on device sda2, logical block 1 lost page write due to I/O error on sda2 scsi0 (0:0): rejecting I/O to offline device Buffer I/O error on device sda1, logical block 1 lost page write due to I/O error on sda1 ( then I unplug the stick because unmount has crashed ) usb 1-2.3: USB disconnect, address 4 sd 0:0:0:0: Illegal state transition offline->cancel Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1640 Call Trace: [<c025ffdd>] scsi_device_set_state+0xcd/0x120 [<c025b049>] scsi_device_cancel+0x29/0x11c [<c025b180>] scsi_device_cancel_cb+0x0/0x20 [<c022ab09>] device_for_each_child+0x49/0x80 [<c025b1d5>] scsi_host_cancel+0x35/0xb0 [<c025b180>] scsi_device_cancel_cb+0x0/0x20 [<e0a173f2>] usb_buffer_free+0x52/0x60 [usbcore] [<c025b26b>] scsi_remove_host+0x1b/0x60 [<e0af1d78>] storage_disconnect+0x38/0x48 [usb_storage] [<e0a16108>] usb_unbind_interface+0x78/0x80 [usbcore] [<c022ba26>] device_release_driver+0x66/0x70 [<c022bb65>] bus_remove_device+0x55/0xa0 [<c022aa4d>] device_del+0x5d/0xa0 [<c022aaa3>] device_unregister+0x13/0x30 [<e0a1c3a0>] usb_disable_device+0x70/0xb0 [usbcore] [<e0a16cf6>] usb_disconnect+0x96/0xf0 [usbcore] [<e0a18f61>] hub_port_connect_change+0x281/0x290 [usbcore] [<e0a188f3>] hub_port_status+0x43/0xb0 [usbcore] [<e0a192a6>] hub_events+0x336/0x3a0 [usbcore] [<e0a19345>] hub_thread+0x35/0xf0 [usbcore] [<c0105cc2>] ret_from_fork+0x6/0x14 [<c0114bf0>] default_wake_function+0x0/0x20 [<e0a19310>] hub_thread+0x0/0xf0 [usbcore] [<c0103f25>] kernel_thread_helper+0x5/0x10 sd 0:0:0:0: Illegal state transition offline->cancel Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1640 Call Trace: [<c025ffdd>] scsi_device_set_state+0xcd/0x120 [<c0261f8f>] scsi_remove_device+0x1f/0xc0 [<c0261365>] scsi_forget_host+0x55/0xa0 [<c025b27b>] scsi_remove_host+0x2b/0x60 [<e0af1d78>] storage_disconnect+0x38/0x48 [usb_storage] [<e0a16108>] usb_unbind_interface+0x78/0x80 [usbcore] [<c022ba26>] device_release_driver+0x66/0x70 [<c022bb65>] bus_remove_device+0x55/0xa0 [<c022aa4d>] device_del+0x5d/0xa0 [<c022aaa3>] device_unregister+0x13/0x30 [<e0a1c3a0>] usb_disable_device+0x70/0xb0 [usbcore] [<e0a16cf6>] usb_disconnect+0x96/0xf0 [usbcore] [<e0a18f61>] hub_port_connect_change+0x281/0x290 [usbcore] [<e0a188f3>] hub_port_status+0x43/0xb0 [usbcore] [<e0a192a6>] hub_events+0x336/0x3a0 [usbcore] [<e0a19345>] hub_thread+0x35/0xf0 [usbcore] [<c0105cc2>] ret_from_fork+0x6/0x14 [<c0114bf0>] default_wake_function+0x0/0x20 [<e0a19310>] hub_thread+0x0/0xf0 [usbcore] [<c0103f25>] kernel_thread_helper+0x5/0x10 usb 1-2: USB disconnect, address 3 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel