Re: usb3 writes fail with transcend rdf8

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

 



On Fri, Jul 13, 2012 at 12:02:34 -0400, Alan Stern wrote:
> On Fri, 13 Jul 2012, Sami Farin wrote:
> 
> > On Fri, Jul 13, 2012 at 10:17:14 -0400, Alan Stern wrote:
> > > On Fri, 13 Jul 2012, Sami Farin wrote:
> > > 
> > > > transcend rdf8 reader works in usb2 port, but some SD cards do not work in
> > > > usb3 port.  3.5.0-g918227bb1 kernel, Asus P8Z68-V PRO GEN3 rev 3402.
> > > > 
> > > > If someone knows a working (in Linux) SD card reader for usb3, please tell me.
> > > > 
> > > > cat: write error: Input/output error
> > > 
> > > Please post a usbmon trace showing the error (see 
> > > Documentation/usb/usbmon.txt).
> > > 
> > > Alan Stern
> > 
> > I uploaded it here, 534 KB
> > https://docs.google.com/open?id=0B_EMXtsx7o56bEtobmJwYi1TaWc
> 
> The card reader has a couple of bugs in its firmware.  It's odd that 
> the errors occur only when running at SuperSpeed.  You'd think the 
> firmware would behave the same way regardless of the speed.
> 
> Anyway, you can work around one of the bugs by specifying a quirk 
> parameter for usb-storage:
> 
> 	modprobe usb-storage quirks=8564:4000:m
> 
> To fix the other bug will require adding a blacklist entry for the card 
> reader.  First let's see if the quirk alone will get it working.
> 
> Alan Stern

Unfortunately it still does not work.
I first re-ran mkfs.vfat when connected to usb2 port and then tried to write 512 MB
with usb3..

usbmon with quirk enabled
https://docs.google.com/file/d/0B_EMXtsx7o56bEtobmJwYi1TaWc/edit

[81577.454868] hub 4-0:1.0: state 7 ports 2 chg 0000 evt 0004
[81577.454895] hub 4-0:1.0: port 2, status 0203, change 0001, 5.0 Gb/s
[81577.558207] hub 4-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x203
[81577.663743] usb 4-2: new SuperSpeed USB device number 14 using xhci_hcd
[81577.675454] usb 4-2: Parent hub missing LPM exit latency info.  Power management will be impacted.
[81577.676274] usb 4-2: skipped 1 descriptor after endpoint
[81577.676278] usb 4-2: skipped 1 descriptor after endpoint
[81577.676550] usb 4-2: default language 0x0409
[81577.677574] usb 4-2: udev 14, busnum 4, minor = 397
[81577.677577] usb 4-2: New USB device found, idVendor=8564, idProduct=4000
[81577.677581] usb 4-2: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[81577.677584] usb 4-2: Product: GL3220      
[81577.677586] usb 4-2: Manufacturer: Genesys 
[81577.677589] usb 4-2: SerialNumber: 000001272
[81577.677757] usb 4-2: usb_probe_device
[81577.677760] usb 4-2: configuration #1 chosen from 1 choice
[81577.678391] usb 4-2: Successful Endpoint Configure command
[81577.678649] usb 4-2: adding 4-2:1.0 (config #1, interface 0)
[81577.678735] usb-storage 4-2:1.0: usb_probe_interface
[81577.678739] usb-storage 4-2:1.0: usb_probe_interface - got id
[81577.678767] usb-storage 4-2:1.0: Quirks match for vid 8564 pid 4000: 400
[81577.678785] scsi24 : usb-storage 4-2:1.0
[81578.679882] scsi 24:0:0:0: Direct-Access     Generic  STORAGE DEVICE   TS07 PQ: 0 ANSI: 0
[81578.680364] scsi 24:0:0:1: Direct-Access     Generic  STORAGE DEVICE   TS07 PQ: 0 ANSI: 0
[81578.680806] scsi 24:0:0:2: Direct-Access     Generic  STORAGE DEVICE   TS07 PQ: 0 ANSI: 0
[81578.681731] sd 24:0:0:0: Attached scsi generic sg4 type 0
[81578.682568] sd 24:0:0:1: Attached scsi generic sg5 type 0
[81578.683254] sd 24:0:0:2: Attached scsi generic sg6 type 0
[81579.028286] sd 24:0:0:1: [sdg] 15759360 512-byte logical blocks: (8.06 GB/7.51 GiB)
[81579.029333] sd 24:0:0:1: [sdg] Write Protect is off
[81579.029335] sd 24:0:0:1: [sdg] Mode Sense: 0b 00 00 08
[81579.029557] sd 24:0:0:0: [sdd] Attached SCSI removable disk
[81579.029781] sd 24:0:0:2: [sdh] Attached SCSI removable disk
[81579.030418] sd 24:0:0:1: [sdg] No Caching mode page present
[81579.030419] sd 24:0:0:1: [sdg] Assuming drive cache: write through
[81579.036337] sd 24:0:0:1: [sdg] No Caching mode page present
[81579.036340] sd 24:0:0:1: [sdg] Assuming drive cache: write through
[81579.037357]  sdg: sdg1
[81579.041152] sd 24:0:0:1: [sdg] No Caching mode page present
[81579.041155] sd 24:0:0:1: [sdg] Assuming drive cache: write through
[81579.041157] sd 24:0:0:1: [sdg] Attached SCSI removable disk
[81691.504815] usb 4-2: reset SuperSpeed USB device number 14 using xhci_hcd
[81691.516980] usb 4-2: Parent hub missing LPM exit latency info.  Power management will be impacted.
[81691.517881] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880365464400
[81691.517883] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880365464440
[81691.518512] usb 4-2: Successful Endpoint Configure command
[81691.866349] sd 24:0:0:1: [sdg] Media Changed
[81691.866354] sd 24:0:0:1: [sdg]  
[81691.866356] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[81691.866359] sd 24:0:0:1: [sdg]  
[81691.866360] Sense Key : Unit Attention [current] 
[81691.866365] sd 24:0:0:1: [sdg]  
[81691.866368] Add. Sense: Not ready to ready change, medium may have changed
[81691.866378] sd 24:0:0:1: [sdg] CDB: 
[81691.866379] Write(10): 2a 00 00 00 5e 60 00 00 40 00
[81691.866384] end_request: I/O error, dev sdg, sector 24160
[81691.866386] quiet_error: 6 callbacks suppressed
[81691.866388] Buffer I/O error on device sdg1, logical block 15968
[81691.866389] lost page write due to I/O error on sdg1
[81691.866391] Buffer I/O error on device sdg1, logical block 15969
[81691.866392] lost page write due to I/O error on sdg1
[81691.866393] Buffer I/O error on device sdg1, logical block 15970
[81691.866394] lost page write due to I/O error on sdg1
[81691.866395] Buffer I/O error on device sdg1, logical block 15971
[81691.866396] lost page write due to I/O error on sdg1
[81691.866398] Buffer I/O error on device sdg1, logical block 15972
[81691.866398] lost page write due to I/O error on sdg1
[81691.866400] Buffer I/O error on device sdg1, logical block 15973
[81691.866401] lost page write due to I/O error on sdg1
[81691.866402] Buffer I/O error on device sdg1, logical block 15974
[81691.866403] lost page write due to I/O error on sdg1
[81691.866404] Buffer I/O error on device sdg1, logical block 15975
[81691.866405] lost page write due to I/O error on sdg1
[81691.866408] Buffer I/O error on device sdg1, logical block 15976
[81691.866409] lost page write due to I/O error on sdg1
[81691.866410] Buffer I/O error on device sdg1, logical block 15977
[81691.866411] lost page write due to I/O error on sdg1
[81691.867005] FAT-fs (sdg1): FAT read failed (blocknr 689)
[81691.914519] FAT-fs (sdg1): bread failed in fat_clusters_flush
[81693.186652] sd 24:0:0:1: [sdg] No Caching mode page present
[81693.186657] sd 24:0:0:1: [sdg] Assuming drive cache: write through
[81699.638723] FAT-fs (sdg1): error, invalid access to FAT (entry 0x18328f6e)
[81699.638726] FAT-fs (sdg1): Filesystem has been set read-only
[81713.554506] sd 24:0:0:1: [sdg] No Caching mode page present
[81713.554511] sd 24:0:0:1: [sdg] Assuming drive cache: write through
[81713.555354]  sdg: sdg1
[81715.639485] FAT-fs (sdg1): error, invalid access to FAT (entry 0x18328f6e)
[81715.639488] FAT-fs (sdg1): Filesystem has been set read-only
[81715.639700] FAT-fs (sdg1): error, invalid access to FAT (entry 0x904c862b)
[81715.639764] FAT-fs (sdg1): error, invalid access to FAT (entry 0x07c3b0f8)
[81715.639898] FAT-fs (sdg1): error, invalid access to FAT (entry 0x0af7328e)
[81715.639951] FAT-fs (sdg1): error, invalid access to FAT (entry 0xeb8c9a97)
[81715.640028] FAT-fs (sdg1): error, invalid access to FAT (entry 0x76e22edb)
[81715.640088] FAT-fs (sdg1): error, invalid access to FAT (entry 0x7ee891d0)
[81715.640178] FAT-fs (sdg1): error, invalid access to FAT (entry 0xfe9c3763)
[81715.640313] FAT-fs (sdg1): error, invalid access to FAT (entry 0x8ff3d815)
[81715.640400] FAT-fs (sdg1): error, invalid access to FAT (entry 0x1808400b)
[81715.640462] FAT-fs (sdg1): error, invalid access to FAT (entry 0x46420cbe)
[81715.640542] FAT-fs (sdg1): error, invalid access to FAT (entry 0x59fd427d)
[81715.640642] FAT-fs (sdg1): error, invalid access to FAT (entry 0x83c66a64)
[81715.640702] FAT-fs (sdg1): error, invalid access to FAT (entry 0xb28e249d)
[81715.640764] FAT-fs (sdg1): error, invalid access to FAT (entry 0xb7595586)
[81715.640882] FAT-fs (sdg1): error, invalid access to FAT (entry 0x18328f6e)
[81715.640954] FAT-fs (sdg1): error, invalid access to FAT (entry 0x904c862b)
[81715.641015] FAT-fs (sdg1): error, invalid access to FAT (entry 0x07c3b0f8)
[81715.641120] FAT-fs (sdg1): error, invalid access to FAT (entry 0x0af7328e)
[81715.641180] FAT-fs (sdg1): error, invalid access to FAT (entry 0xeb8c9a97)
[81715.641249] FAT-fs (sdg1): error, invalid access to FAT (entry 0x76e22edb)
[81715.641305] FAT-fs (sdg1): error, invalid access to FAT (entry 0x7ee891d0)
[81715.641391] FAT-fs (sdg1): error, invalid access to FAT (entry 0xfe9c3763)
[81715.641478] FAT-fs (sdg1): error, invalid access to FAT (entry 0x8ff3d815)
[81715.641540] FAT-fs (sdg1): error, invalid access to FAT (entry 0x1808400b)
[81715.641600] FAT-fs (sdg1): error, invalid access to FAT (entry 0x46420cbe)
[81715.641663] FAT-fs (sdg1): error, invalid access to FAT (entry 0x59fd427d)
[81715.641742] FAT-fs (sdg1): error, invalid access to FAT (entry 0x83c66a64)
[81715.641830] FAT-fs (sdg1): error, invalid access to FAT (entry 0xb28e249d)
[81715.641900] FAT-fs (sdg1): error, invalid access to FAT (entry 0xb7595586)


-- 
Do what you love because life is too short for anything else.

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux