kern/63779: USB-mass storage (USB to IDE Converter) works on UHCI not OHCI

Bjorn Dittmer-Roche bjorn at sccs.swarthmore.edu
Thu Mar 4 15:10:09 PST 2004


>Number:         63779
>Category:       kern
>Synopsis:       USB-mass storage (USB to IDE Converter) works on UHCI not OHCI
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 04 15:10:08 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Bjorn Dittmer-Roche
>Release:        Stable (4.9)
>Organization:
XO Audio
>Environment:
FreeBSD twiggy 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Jan 14 17:21:22 EST 2004     root at twiggy:/usr/obj/usr/src/sys/TWIGGY  i386

>Description:
(Note that I has a simmilar result with 5.1 when I tried it a long time ago. see http://lists.freebsd.org/pipermail/freebsd-questions/2003-September/019520.html) I have a USB-to-IDE converter: Genesys Logic USB TO IDE, rev 2.00/0.02

When I plug it into my UHCI controler, all is well. When I plug it into my OHCI controler I get lots of this:

---------<

Mar  4 17:30:00 twiggy /kernel: umass0: BBB reset failed, TIMEOUT
Mar  4 17:30:00 twiggy /kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT
Mar  4 17:30:00 twiggy /kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT
Mar  4 17:30:00 twiggy /kernel: umass0: BBB reset failed, TIMEOUT
Mar  4 17:30:00 twiggy /kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT
Mar  4 17:30:00 twiggy /kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT
Mar  4 17:30:00 twiggy /kernel: umass0: BBB reset failed, TIMEOUT
Mar  4 17:30:00 twiggy /kernel: umass0: BBB bulk-in clear stall failed, IOERROR
Mar  4 17:30:00 twiggy /kernel: umass0: BBB bulk-out clear stall failed, IOERROR

----------<

Whatever process is using the drive often hangs in D state and I am forced to reboot. I've tried to clip the relevant portions of dmesg here so you know what chipsets and so on:

----------<

ohci0: <OPTi 82C861 (FireLink) USB controller> mem 0xe7002000-0xe7002fff irq 5 at device 14.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OPTi 82C861 (FireLink) USB controller> on ohci0
uhub0: OPTi OHCI root hub, class 9/0, rev 1.00/1.00, addr 1


uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 12 at device 17.2 on pci0

umass0: Genesys Logic USB TO IDE, rev 2.00/0.02, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <ST312002 6A 0811> Fixed Direct Access SCSI-0 device
da0: 650KB/s transfers
da0: 114440MB (234375000 512 byte sectors: 64H 32S/T 48904C)

>How-To-Repeat:
Not sure, but it would probably happen ith UMASS and OHCI, but it could be specific to my USB-to-IDE converter.
>Fix:
Workaround is to use UHCI.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list