Subject: Re: disappearing USB ports
To: None <current-users@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: current-users
Date: 03/21/2005 16:32:58
On Mon, Mar 21, 2005 at 02:03:49PM -0500, Steven M. Bellovin wrote:
> My USB ports stopped noticing new devices when I plugged them in.  I 
> tried two different flash drives (one 2.0, one 1.1 -- and I know that 
> that shouldn't have worked in a 2.0 hub), both via a hub and directly.  
> No messages at all appeared.  I disconnected and reconnected the hub; 
> again, there were no messages.  When I disconnected the USB mouse, I 
> did get a disconnect message; when I plugged it back in, however, 
> nothing happened.
> 
> This is -current as of about two days ago, on a Dell Dimension 8400.  
> When I rebooted, all was fine.  When the failure occurred, the machine 
> had only been up for about two hours.

Rushing to conclusions, NetBSD seem to have especially bad problems
with USB on Dells.  USB on my PowerEdge 400SC has always been flaky,
and somebody reported a few days ago that NetBSD's USB was flaking on
their Dell.

I have a bunch of uplcom(4)s attached to my 400SC.  They drop a lot of
characters.  Sometimes NetBSD shuts down the controller because of an
"irrecoverable" error:

uhci0: host controller halted

Here are the USB bits from dmesg on my 400SC:

uhci0 at pci0 dev 29 function 0: Intel 82801EB/ER USB UHCI Controller #0 (rev. 0
x02)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801EB/ER USB UHCI Controller #1 (rev. 0
x02)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801EB/ER USB UHCI Controller #2 (rev. 0
x02)
uhci2: interrupting at irq 9
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3: Intel 82801EB/ER USB UHCI Controller #3 (rev. 0
x02)
uhci3: interrupting at irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801EB/ER USB EHCI Controller (rev. 0x02
)
ehci0: interrupting at irq 5
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: single transaction translator
uhub4: 8 ports with 8 removable, self powered

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933