On Thu, 17 Nov 2005, Thomas Thanner wrote: > Hi everybody, > > I wanted to use a Mitsumi FA404M floppy/card reader combo in my Linux PC. > Floppy disk operations and reading from FLASH-card all work well. > The trouble starts when I try to *write* to a FLASH card. After some > megabytes of data the SCSI layer send some error messages and the card > reader refuses to work. > > Now to the details: > > I have tested on kernel 2.6.8 and 2.6.13, using different motherboards > (Supermicro X6DH3-G2 and AS-Rock P4VT8) > > The device contains a Via VT6205 controller chip: > > T: Bus=05 Lev=01 Prnt=01 Port=07 Cnt=01 Dev# 2 Spd=480 MxCH= 0 > D: Ver= 2.00 Cls=99(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=040d ProdID=6205 Rev= 0.03 > S: Manufacturer=VIA Technologies Inc. > S: Product=USB 2.0 Card Reader > S: SerialNumber=000000081822 > C:* #lfs= 1 Cfg#= 1 Atr=80 MxPwr=100mA > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage > E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125us > > I have also tested with different CF-cards. It looks like the faster the > flash card the lesser errors I get. But this is just my opinion, I > cannot proof it. > > The error I get always looks like > > Nov 16 11:21:55 linux kernel: SCSI error : <11 0 0 0> return code = x8000002 > Nov 16 11:21:55 linux kernel: Current sdf: sense key Hardware Error > Nov 16 11:21:55 linux kernel: Additional sense: Data phase error > Nov 16 11:21:55 linux kernel: end_request: I/O error, dev sdf, sector 11376 > Nov 16 11:21:55 linux kernel: Buffer I/O error on device sdf1, logical > block 11373 > Nov 16 11:21:55 linux kernel: lost page write due to I/O error on sdf1 > > After that all I can do is unplug the device. > > I have found some informations on the mailing list archive regarding > similar problems with an external USB hard drive. Therefore it looks to > me like there is a hardware bug in the controller chipset of the drive. > > Is there any possibility of tweaking the scsi or usb stack (writing some > magic parameters to /proc or /sys, or so) to get the thing working?
Maybe. It depends on what's going wrong, and your log doesn't contain enough information to tell that. > To me it looks like the problems start as soon as the FLASH card (or > maybe scsi layer?) RAM cache is full and real writing starts. At that > moment the transmission speed breaks down. > > Any help is welcome. Even somebody recommending me another internal > floppy/card reader combo is welcome (I have tested TEAC FD-CR7 as well, > same problem). You can try turning on the USB Mass Storage verbose debugging option in the kernel configuration (CONFIG_USB_STORAGE_DEBUG). That will add a lot of extra debugging information to the kernel log. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
