[Bug 67317] Re: I/O error copying large files to an USB flash memory

vcherkassky vcherkassky at gmail.com
Mon Nov 17 12:20:07 UTC 2008


I confirm this bug on Intepid Ibex 8.10.
Tried kernels 2.6.27-7 and 2.6.24-19.
Works only when enabling USB 1.1.
Works with transcend tsonic630 2Gb, but doesn't with kingston data traveler 8Gb.
Flash drive was formatted under WinXP and works fine under Win. 

    lsusb:
Bus 006 Device 010: ID 0951:1607 Kingston Technology Data Traveler 2.0  <- non-working kingston
Bus 006 Device 002: ID 0402:5661 ALi Corp.                                                <- working transcend
    
   tail -f /var/log/messages:
Nov 17 14:12:55 victor-book kernel: [ 3656.337328] usb 6-1: new high speed USB device using ehci_hcd and address 10
Nov 17 14:12:56 victor-book kernel: [ 3656.547864] usb 6-1: configuration #1 chosen from 1 choice
Nov 17 14:12:56 victor-book kernel: [ 3656.549088] scsi8 : SCSI emulation for USB Mass Storage devices
Nov 17 14:13:01 victor-book kernel: [ 3661.554374] scsi 8:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
Nov 17 14:13:01 victor-book kernel: [ 3661.566756] sd 8:0:0:0: [sdc] 15769600 512-byte hardware sectors (8074 MB)
Nov 17 14:13:01 victor-book kernel: [ 3661.567338] sd 8:0:0:0: [sdc] Write Protect is off
Nov 17 14:13:01 victor-book kernel: [ 3661.571472] sd 8:0:0:0: [sdc] 15769600 512-byte hardware sectors (8074 MB)
Nov 17 14:13:01 victor-book kernel: [ 3661.572458] sd 8:0:0:0: [sdc] Write Protect is off
Nov 17 14:13:01 victor-book kernel: [ 3661.572477]  sdc: unknown partition table
Nov 17 14:13:01 victor-book kernel: [ 3661.697746] sd 8:0:0:0: [sdc] Attached SCSI removable disk
Nov 17 14:13:01 victor-book kernel: [ 3661.697804] sd 8:0:0:0: Attached scsi generic sg2 type 0
Nov 17 14:14:45 victor-book kernel: [ 3765.785914] usb 6-1: reset high speed USB device using ehci_hcd and address 10
Nov 17 14:14:56 victor-book kernel: [ 3776.805851] usb 6-1: reset high speed USB device using ehci_hcd and address 10
Nov 17 14:15:02 victor-book kernel: [ 3783.057420] usb 6-1: reset high speed USB device using ehci_hcd and address 10
Nov 17 14:15:03 victor-book kernel: [ 3783.621028] usb 6-1: reset high speed USB device using ehci_hcd and address 10
Nov 17 14:15:03 victor-book kernel: [ 3784.174581] usb 6-1: reset high speed USB device using ehci_hcd and address 10
Nov 17 14:15:04 victor-book kernel: [ 3784.607723] usb 6-1: USB disconnect, address 10
Nov 17 14:15:04 victor-book kernel: [ 3784.607936] sd 8:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
Nov 17 14:15:04 victor-book kernel: [ 3784.607945] end_request: I/O error, dev sdc, sector 952400
Nov 17 14:15:04 victor-book kernel: [ 3784.611341] printk: 848 messages suppressed.
Nov 17 14:15:04 victor-book kernel: [ 3784.611350] lost page write due to I/O error on sdc
Nov 17 14:15:04 victor-book kernel: [ 3784.611359] lost page write due to I/O error on sdc
Nov 17 14:15:04 victor-book kernel: [ 3784.611368] lost page write due to I/O error on sdc
Nov 17 14:15:04 victor-book kernel: [ 3784.611376] lost page write due to I/O error on sdc
Nov 17 14:15:04 victor-book kernel: [ 3784.611384] lost page write due to I/O error on sdc
Nov 17 14:15:04 victor-book kernel: [ 3784.611392] lost page write due to I/O error on sdc
Nov 17 14:15:04 victor-book kernel: [ 3784.611400] lost page write due to I/O error on sdc
Nov 17 14:15:04 victor-book kernel: [ 3784.611408] lost page write due to I/O error on sdc
Nov 17 14:15:04 victor-book kernel: [ 3784.611417] lost page write due to I/O error on sdc
Nov 17 14:15:04 victor-book kernel: [ 3784.611426] lost page write due to I/O error on sdc
Nov 17 14:15:04 victor-book kernel: [ 3784.611753] sd 8:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
Nov 17 14:15:04 victor-book kernel: [ 3784.611759] end_request: I/O error, dev sdc, sector 952640
Nov 17 14:15:04 victor-book kernel: [ 3784.619621] VFS: busy inodes on changed media.
Nov 17 14:15:04 victor-book kernel: [ 3784.619826] sd 8:0:0:0: [sdc] READ CAPACITY failed
Nov 17 14:15:04 victor-book kernel: [ 3784.619831] sd 8:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
Nov 17 14:15:04 victor-book kernel: [ 3784.619838] sd 8:0:0:0: [sdc] Sense not available.
Nov 17 14:15:04 victor-book kernel: [ 3784.619949] sd 8:0:0:0: [sdc] Write Protect is off
Nov 17 14:15:04 victor-book kernel: [ 3784.791561] usb 6-1: new high speed USB device using ehci_hcd and address 11
Nov 17 14:15:05 victor-book kernel: [ 3785.415719] usb 6-1: new high speed USB device using ehci_hcd and address 12
Nov 17 14:15:05 victor-book kernel: [ 3786.037869] usb 6-1: new high speed USB device using ehci_hcd and address 13
Nov 17 14:15:06 victor-book kernel: [ 3786.605913] usb 6-1: new high speed USB device using ehci_hcd and address 14

     sudo fdisk -l:
Disk /dev/sdb: 2081 MB, 2081947648 bytes                                 <- working transcend (2Gb)
8 heads, 32 sectors/track, 15884 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Disk identifier: 0x221e5780

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       15884     2033136    b  W95 FAT32

Disk /dev/sdc: 8074 MB, 8074035200 bytes                                 <- non-working kingston (8Gb)
249 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 15438 * 512 = 7904256 bytes
Disk identifier: 0x6f20736b

This doesn't look like a partition table
Probably you selected the wrong device.

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   ?       50404      124346   570754815+  72  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(357, 116, 40) logical=(50403, 232, 11)
Partition 1 has different physical/logical endings:
     phys=(357, 32, 45) logical=(124345, 119, 51)
Partition 1 does not end on cylinder boundary.
/dev/sdc2   ?       10927      136334   968014120   65  Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(288, 115, 43) logical=(10926, 224, 47)
Partition 2 has different physical/logical endings:
     phys=(367, 114, 50) logical=(136333, 143, 42)
Partition 2 does not end on cylinder boundary.
/dev/sdc3   ?      121123      246529   968014096   79  Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(366, 32, 33) logical=(121122, 0, 30)
Partition 3 has different physical/logical endings:
     phys=(357, 32, 43) logical=(246528, 167, 39)
Partition 3 does not end on cylinder boundary.
/dev/sdc4   ?      186921      186925       27749+   d  Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(372, 97, 50) logical=(186920, 164, 25)
Partition 4 has different physical/logical endings:
     phys=(0, 10, 0) logical=(186924, 63, 33)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

-- 
I/O error copying large files to an USB flash memory
https://bugs.launchpad.net/bugs/67317
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-source-2.6.15 in ubuntu.




More information about the kernel-bugs mailing list