Card-Reader Problem continued

Christian Haul c.haul at web.de
Fri May 19 14:08:38 PDT 2006


Alan Stern wrote:
> On Fri, 19 May 2006, Christian Haul wrote:
>> So, it really looks like a problem of the ehci driver with usb 1.1
>> devices. There are two kernel options I need to experiment with: the
>> "Full speed ISO transactions" and "Root Hub Translators", both marked
>> "experimental".
> 
> Neither of those is likely to affect this issue.  Mass Storage devices 
> don't use ISO transactions, and only a very small number of EHCI 
> controllers have root-hub translators.

OK, that eliminates some tests.

> Furthermore, the ehci-hcd driver does not get used when you plug in a
> USB-1.1 device.  If you check the kernel log (the part where the 128 MB 
> stick is detected) you'll probably see that it mentions ohci-hcd instead.

Right:

 usb 5-2: new full speed USB device using uhci_hcd and address 2
 usb 5-2: Product: Solid state disk
 usb 5-2: Manufacturer: USB
 usb 5-2: SerialNumber: 316516FA3DC833C9
 usb 5-2: configuration #1 chosen from 1 choice
 scsi4 : SCSI emulation for USB Mass Storage devices
   Vendor: TwinMOS   Model: MOBILE Disk       Rev: 1.11
   Type:   Direct-Access                      ANSI SCSI revision: 02
 SCSI device sda: 258048 512-byte hdwr sectors (132 MB)
 sda: Write Protect is off
 SCSI device sda: 258048 512-byte hdwr sectors (132 MB)
 sda: Write Protect is off
  sda:<7>usb-storage: queuecommand called
  sda1
 sd 4:0:0:0: Attached scsi removable disk sda
 sd 4:0:0:0: Attached scsi generic sg0 type 0
 UDF-fs: No VRS found
 Unable to identify CD-ROM format.


> None of this answers the question about why all those retries were
> present.  It might help if you rebuild the kernel with CONFIG_SCSI_LOGGING
> turned on.  (Probably CONFIG_USB_STORAGE_DEBUG should be off when you do
> this.)  You'll also have to do something like:
> 
>    echo 0777777777 >/sys/module/scsi_mod/parameters/scsi_logging_level
> 
> You can turn the logging back off with:
> 
>    echo 0 >/sys/module/scsi_mod/parameters/scsi_logging_level
> 
> This should tell us whether the retries are initiated by the kernel as 
> opposed to the application.

OK, will do that tomorrow.

> By the way, what is the brand and model of your USB extension card?  
> People should be told to avoid it.

It's an EXSYS EX-6506E FireWire IEEE 1394A + USB 2.0 PCI card.
(Texas Instruments OHCI-Lynx chip for IEEE 1394A and VIA for USB)
http://www.exsys.ch/english/products/ex_6506e.html

# lspci
...
0000:00:09.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 61)
0000:00:09.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 61)
0000:00:09.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
0000:00:09.3 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A
IEEE-1394a-2000 Controller (PHY/Link)
...

Don't know if it matters, the mainboard is a VIA KT266A based model and
thus also provides "VT82xxxxx UHCI USB 1.1 Controller (rev 1b)" (3 times)

Cheers,
	Chris.




More information about the hal mailing list