Subject: Re: USB problems
To: None <current-users@netbsd.org>
From: Bernhard Moellemann <zza@serpens.de>
List: current-users
Date: 01/30/2007 09:25:33
Hi!
Jukka Marin wrote:
> I disabled ehci in my kernel, so NetBSD uses ohci driver now - and now
> I am able to write to USB mass media without problems (well, so far ;)
> while when using ehci every attempt to write to USB memory sticks and
> CF cards (in a CF card reader) failed (the tar / cp / whatever process
> got stuck and no data was written to the mass media).
>
> dmesg says:
>
> ohci0 at pci0 dev 2 function 0: NVIDIA nForce4 USB Host Controller (rev. 0xa2)
> APCF: Picked IRQ 20 with weight 0
> ohci0: interrupting at ioapic0 pin 20 (irq 10)
> ohci0: OHCI version 1.0, legacy support
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0
> uhub0: NVIDIA OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 8 ports with 8 removable, self powered
> NVIDIA nForce4 USB2 Host Controller (USB serial bus, interface 0x20,
> revision 0xa3) at pci0 dev 2 function 1 not configured
I have something similar, my ehci on an nForce4 motherboard
<dmesg>
ehci0 at pci0 dev 2 function 1: NVIDIA nForce4 USB2 Host Controller (rev. 0xa3)
ehci0: interrupting at irq 10
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controller, 4 ports each: ohci0
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: NVIDIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
</dmesg>
is always disabled with the message
<dmesg>
uhub1: port 7, set config at addr 2 failed
uhub1: device problem, disabling port 7
</dmesg>
The problem was there at 3.99 and persisted through 4.0BETA(2) and is
still present in 4.99.9. The very only workaround I found is also to
disable ehci.
See PR port-i386/34161.
Bernhard //
\X/