From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262166AbUJZHiq (ORCPT ); Tue, 26 Oct 2004 03:38:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262170AbUJZHip (ORCPT ); Tue, 26 Oct 2004 03:38:45 -0400 Received: from gate.crashing.org ([63.228.1.57]:5594 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S262166AbUJZHfd (ORCPT ); Tue, 26 Oct 2004 03:35:33 -0400 Subject: USB stopped working on my g5 From: Benjamin Herrenschmidt To: Linux Kernel list Cc: David Brownell Content-Type: text/plain Date: Tue, 26 Oct 2004 17:32:09 +1000 Message-Id: <1098775929.6916.19.camel@gaston> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi David ! With today's bk tree, I get an infinite loop of those messages from the USB stack on the G5. I also added the lspci output. It's a keyboard & mouse setup plugged into one of the ports of a NEC EHCI/OHCI. usb 4-2: new full speed USB device using ohci_hcd and address 118 hub 4-2:1.0: USB hub found hub 4-2:1.0: 3 ports detected hub 4-2:1.0: hub_port_status failed (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: hub_port_status failed (err = -110) hub 4-2:1.0: hub_port_status failed (err = -110) hub 4-2:1.0: hub_port_status failed (err = -110) hub 4-2:1.0: hub_port_status failed (err = -110) usb 4-2: reset full speed USB device using ohci_hcd and address 118 usb 4-2.3: new full speed USB device using ohci_hcd and address 121 input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 hub 4-2:1.0: hub_port_status failed (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: hub_port_status failed (err = -110) usb 4-2.3: USB disconnect, address 121 usb 4-2: reset full speed USB device using ohci_hcd and address 118 usb 4-2.3: new full speed USB device using ohci_hcd and address 124 input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 hub 4-2:1.0: hub_port_status failed (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: hub_port_status failed (err = -110) usb 4-2.3: USB disconnect, address 124 usb 4-2: reset full speed USB device using ohci_hcd and address 118 usb 4-2.3: new full speed USB device using ohci_hcd and address 127 input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 hub 4-2:1.0: hub_port_status failed (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: hub_port_status failed (err = -110) usb 4-2.3: USB disconnect, address 127 usb 4-2: reset full speed USB device using ohci_hcd and address 118 usb 4-2.3: new full speed USB device using ohci_hcd and address 4 input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 hub 4-2:1.0: hub_port_status failed (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: hub_port_status failed (err = -110) usb 4-2.3: USB disconnect, address 4 usb 4-2: reset full speed USB device using ohci_hcd and address 118 usb 4-2.3: new full speed USB device using ohci_hcd and address 7 input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 hub 4-2:1.0: hub_port_status failed (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: hub_port_status failed (err = -110) usb 4-2.3: USB disconnect, address 7 usb 4-2: reset full speed USB device using ohci_hcd and address 118 usb 4-2.3: new full speed USB device using ohci_hcd and address 10 input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 hub 4-2:1.0: hub_port_status failed (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: hub_port_status failed (err = -110) usb 4-2.3: USB disconnect, address 10 usb 4-2: reset full speed USB device using ohci_hcd and address 118 usb 4-2.3: new full speed USB device using ohci_hcd and address 13 input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 hub 4-2:1.0: hub_port_status failed (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: hub_port_status failed (err = -110) usb 4-2.3: USB disconnect, address 13 usb 4-2: reset full speed USB device using ohci_hcd and address 118 usb 4-2.3: new full speed USB device using ohci_hcd and address 16 input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 hub 4-2:1.0: hub_port_status failed (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: hub_port_status failed (err = -110) usb 4-2.3: USB disconnect, address 16 usb 4-2: reset full speed USB device using ohci_hcd and address 118 usb 4-2.3: new full speed USB device using ohci_hcd and address 19 input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-0001:02:0b.0-2.3 hub 4-2:1.0: hub_port_status failed (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: cannot reset port 1 (err = -110) hub 4-2:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: cannot disable port 1 (err = -110) hub 4-2:1.0: hub_port_status failed (err = -110) 0000:f0:0b.0 Host bridge: Apple Computer Inc.: Unknown device 004b Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- 0000:f0:10.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600] (prog-if 00 [VGA]) Subsystem: ATI Technologies Inc RV350 AP [Radeon 9600] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0001:00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Reset- FastB2B- Capabilities: [a0] Capabilities: [b8] #08 [8000] Capabilities: [c0] #08 [0041] 0001:00:02.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Reset- FastB2B- Capabilities: [a0] Capabilities: [b8] #08 [8000] 0001:00:03.0 PCI bridge: Apple Computer Inc.: Unknown device 0045 (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- Capabilities: [70] #08 [00a3] Capabilities: [90] #08 [8000] 0001:00:04.0 PCI bridge: Apple Computer Inc.: Unknown device 0046 (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- Capabilities: [70] #08 [8824] 0001:00:05.0 PCI bridge: Apple Computer Inc.: Unknown device 0047 (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- Capabilities: [70] #08 [8824] 0001:00:06.0 PCI bridge: Apple Computer Inc.: Unknown device 0048 (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- Capabilities: [70] #08 [8824] 0001:00:07.0 PCI bridge: Apple Computer Inc.: Unknown device 0049 (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Reset- FastB2B- Capabilities: [70] #08 [8824] 0001:01:07.0 Class ff00: Apple Computer Inc.: Unknown device 0041 (rev 20) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- [disabled] Region 1: I/O ports at [disabled] Region 2: I/O ports at [disabled] Region 3: I/O ports at [disabled] Region 4: I/O ports at [disabled] Region 5: Memory at 80600000 (32-bit, non-prefetchable) [size=8K]