From owner-freebsd-current Tue Mar 4 3:21:15 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC49F37B401 for ; Tue, 4 Mar 2003 03:21:13 -0800 (PST) Received: from ns3.safety.net (ns3.safety.net [216.40.201.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36F4B43FCB for ; Tue, 4 Mar 2003 03:21:13 -0800 (PST) (envelope-from cbiffle@safety.net) Received: from localhost (rs.rackshack.net.safety.net [216.40.201.32]) by ns3.safety.net (8.10.2/8.10.2) with ESMTP id h24BLCA26518 for ; Tue, 4 Mar 2003 04:21:12 -0700 From: "Cliff L. Biffle" To: current@freebsd.org Subject: USB port periodically dies, now with complete body text Date: Tue, 4 Mar 2003 04:21:14 -0700 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303040421.14971.cbiffle@safety.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Damn KMail. Full text to follow: --- I've been having a reliable USB issue on my 5-current box (3 Mar, 23:58:25 MST). It's been happening since I upgraded to -current in the DP2 days, and has happened on two completely independent motherboards. On the more recent of the two (the previous died) I've enabled USB_DEBUG. Here's the deal. The port periodically dies. Once it dies, a reboot clears it up every time, but nothing short of that will. Once one port has died, any device plugged into another port causes it to quit working as well. (I generally have only my mouse plugged in.) During normal use with hw.usb.ums.debug, hw.usb.uhub.debug, and hw.usb.debug set to 1, I get a lot of lines like: ums_intr: status=13 When the port finally dies, it does so with no fanfare; the mouse simply stops responding. If I unplug the mouse, I get: uhub_explore: C_PORT_ENABLED uhub_explore: device addr=2 disappeared on port 2 ums0: at uhub0 port 1 (addr 2) disconnected ums0: disconnected ums0: detached uhub_explore: get port status failed, error=TIMEOUT uhub_explore: get port status failed, error=TIMEOUT uhub_explore: get port status failed, error=TIMEOUT If I reconnect the mouse: uhub_explore: C_PORT_ENABLED uhub0: port error, restarting port 1 usbd_new_device bus=0xc261b000 port=1 depth=1 speed=1 usbd_new_device: addr=2, getting first desc failed usbd_remove_device: 0xc2e68a00 uhub_explore: usb_new_device failed, error=TIMEOUT uhub0: device problem, disabling port 1 uhub_explore: get port status failed, error=TIMEOUT [last line repeats every few seconds] ...and disconnect: uhub_explore: C_PORT_ENABLED uhub0: port error, restarting port 1 uhub_explore: status change hub=1 port=1 ...and then the same stuff as above. Repeat ad nauseum The ports work fine under Linux. The earlier motherboard I saw this on worked fine under 4-stable; I have not yet had an opportunity to nuke my machine and install 4.7. :-) (Though I will say that I have very, very similar symptoms on my 4.7 OHCI-based laptop, though it does it starting right from boot, instead of working for a while and then going insane. Again, ports work fine under Linux. I suspect it may be unrelated.) What should I instrument? Any debug flags I can turn on? -Cliff L. Biffle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message