From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2D0B713877A for ; Wed, 20 Aug 2014 00:29:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0BDE0E0874; Wed, 20 Aug 2014 00:29:02 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.230]) by pigeon.gentoo.org (Postfix) with ESMTP id 1A35EE0843 for ; Wed, 20 Aug 2014 00:29:00 +0000 (UTC) Received: from [142.196.222.217] ([142.196.222.217:53751] helo=basement.kutulu.org) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 18/EA-19179-CCBE3F35; Wed, 20 Aug 2014 00:29:00 +0000 Received: from localhost (basement.kutulu.org [127.0.0.1]) by basement.kutulu.org (Postfix) with ESMTP id C720A112008 for ; Tue, 19 Aug 2014 20:28:59 -0400 (EDT) X-Virus-Scanned: amavisd-new at kutulu.org Received: from basement.kutulu.org ([127.0.0.1]) by localhost (basement.kutulu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uDADBTqwgLxm for ; Tue, 19 Aug 2014 20:28:49 -0400 (EDT) Received: from PORPOISE (PORPOISE.kutulu.org [192.168.69.91]) by basement.kutulu.org (Postfix) with ESMTPSA id DDE05112007 for ; Tue, 19 Aug 2014 20:28:49 -0400 (EDT) From: "Mike Edenfield" To: References: <005d01cfb762$56aadcf0$040096d0$@kutulu.org> <53EE9D6F.1070706@googlemail.com> <001001cfb9be$87487030$95d95090$@kutulu.org> <201408171133.11036.michaelkintzios@gmail.com> <53F2939F.7030000@googlemail.com> In-Reply-To: <53F2939F.7030000@googlemail.com> Subject: RE: [gentoo-user] Intermittent USB device failures Date: Tue, 19 Aug 2014 20:28:54 -0400 Message-ID: <01fd01cfbc0d$b9544c60$2bfce520$@kutulu.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Content-Language: en-us Thread-Index: AQGTiOOI4ChztzPWRALR3hwMKl1BYwKQFlMnAbS+xOYBmIat0AG6oYmenBRJuEA= X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 X-Archives-Salt: bd96c781-cad4-43c4-aa2f-cd8b7c66699f X-Archives-Hash: a34acf5e3b60bc0b1957b3127ba2c30a > From: Volker Armin Hemmann [mailto:volkerarmin@googlemail.com] > Sent: Monday, August 18, 2014 8:01 PM >=20 > Am 17.08.2014 um 12:33 schrieb Mick: > > On Sunday 17 Aug 2014 02:56:58 Mike Edenfield wrote: > > > >> When I `modprobe -r ochi_pci` while the system is operating = normally, > >> I see all four modules (ohci-pci, ohci-hcd, ehci-pci, and ehci-hcd) > >> unloading > >> properly: > >> > >> [25603.370000] ohci-pci 0000:00:0b.0: remove, state 1 = [25603.370395] > >> usb usb2: USB disconnect, device number 1 [25603.370414] usb 2-6: = USB > >> disconnect, device number 2 [25603.383451] usb 2-7: USB disconnect, > >> device number 3 [25603.384217] ohci-pci 0000:00:0b.0: USB bus 2 > >> deregistered [25603.384597] ehci-pci 0000:00:0b.1: remove, state 1 > >> [25603.384611] usb usb1: USB disconnect, device number 1 > >> [25603.386306] ehci-pci 0000:00:0b.1: USB bus 1 deregistered > >> > >> If I try to do the same thing after the mouse has locked up, = modprobe > >> stalls trying to unload the first module: > >> > >> wombat kutulu # modprobe -r -v ohci_pci rmmod ohci_pci > >> > >> wombat kutulu # dmesg > >> [38091.627389] ohci-pci 0000:00:0b.0: remove, state 1 = [38091.627400] > >> usb usb2: USB disconnect, device number 1 > >> > >> Any ideas what's going wrong here? Any chance I can salvage this > hardware? > > Do you need ohci-pci? Have you tried running a kernel without it = and > > check if your hardware still works as intended? > > > I would try that too,,, > From: Volker Armin Hemmann [mailto:volkerarmin@googlemail.com] > Sent: Monday, August 18, 2014 8:01 PM >=20 > Am 17.08.2014 um 12:33 schrieb Mick: > > On Sunday 17 Aug 2014 02:56:58 Mike Edenfield wrote: > > > >> When I `modprobe -r ochi_pci` while the system is operating = normally, > >> I see all four modules (ohci-pci, ohci-hcd, ehci-pci, and ehci-hcd) > >> unloading > >> properly: > >> > >> [25603.370000] ohci-pci 0000:00:0b.0: remove, state 1 = [25603.370395] > >> usb usb2: USB disconnect, device number 1 [25603.370414] usb 2-6: = USB > >> disconnect, device number 2 [25603.383451] usb 2-7: USB disconnect, > >> device number 3 [25603.384217] ohci-pci 0000:00:0b.0: USB bus 2 > >> deregistered [25603.384597] ehci-pci 0000:00:0b.1: remove, state 1 > >> [25603.384611] usb usb1: USB disconnect, device number 1 > >> [25603.386306] ehci-pci 0000:00:0b.1: USB bus 1 deregistered > >> > >> If I try to do the same thing after the mouse has locked up, = modprobe > >> stalls trying to unload the first module: > >> > >> wombat kutulu # modprobe -r -v ohci_pci rmmod ohci_pci > >> > >> wombat kutulu # dmesg > >> [38091.627389] ohci-pci 0000:00:0b.0: remove, state 1 = [38091.627400] > >> usb usb2: USB disconnect, device number 1 > >> > >> Any ideas what's going wrong here? Any chance I can salvage this > hardware? > > Do you need ohci-pci? Have you tried running a kernel without it = and > > check if your hardware still works as intended? > > > I would try that too,,, I booted a kernel without ohci-pci and no, it doesn't quite work, though = I'm pretty confused by it. With OHCI removed from my kernel, neither my = mouse nor my keyboard register as attached, but it doesn't seem to = matter which ports I put them in. I have 6 USB ports, 2 pair on the = motherboard and a third pair in the front of the case, and I expected = that the back four would be OCHI and the front two EHCI (or something = similr), but they don't seem to follow that pattern. Anywhere I plug my = flash drive or camera in, it gets routed through the ECHI controller, = while anywhere I plug my keyboard or mouse in gets routed through the = OHCI controller. For example, I have my keyword and a flash drive = plugged into the two front-mounted ports, and when I boot, I get this: =20 With OHCI: kutulu@wombat ~ $ dmesg | grep usb [ 0.074276] usbcore: registered new interface driver usbfs [ 0.074460] usbcore: registered new interface driver hub [ 0.074658] usbcore: registered new device driver usb [ 0.245705] usbcore: registered new interface driver usbhid [ 0.245879] usbhid: USB HID core driver [ 7.420249] usb usb1: New USB device found, idVendor=3D1d6b, = idProduct=3D0002 [ 7.420426] usb usb1: New USB device strings: Mfr=3D3, Product=3D2, = SerialNumber=3D1 [ 7.420735] usb usb1: Product: EHCI Host Controller [ 7.420908] usb usb1: Manufacturer: Linux 3.16.0-gentoo-wombat-3 = ehci_hcd [ 7.421089] usb usb1: SerialNumber: 0000:00:0b.1 [ 7.631143] usb usb2: New USB device found, idVendor=3D1d6b, = idProduct=3D0001 [ 7.631328] usb usb2: New USB device strings: Mfr=3D3, Product=3D2, = SerialNumber=3D1 [ 7.631618] usb usb2: Product: OHCI PCI host controller [ 7.631789] usb usb2: Manufacturer: Linux 3.16.0-gentoo-wombat-3 = ohci_hcd [ 7.631964] usb usb2: SerialNumber: 0000:00:0b.0 [ 7.753477] usb 1-7: new high-speed USB device number 2 using = ehci-pci [ 7.968033] usb 1-7: New USB device found, idVendor=3D14cd, = idProduct=3D6500 [ 7.968179] usb 1-7: New USB device strings: Mfr=3D1, Product=3D3, = SerialNumber=3D2 [ 7.968312] usb 1-7: Product: USB 2.0 Flash drive [ 7.968442] usb 1-7: Manufacturer: MOAI INC. [ 7.968568] usb 1-7: SerialNumber: 4FD30F4B00C5 [ 8.165667] usb-storage 1-7:1.0: USB Mass Storage device detected [ 8.174052] scsi4 : usb-storage 1-7:1.0 [ 8.174281] usbcore: registered new interface driver usb-storage [ 8.380031] usb 2-8: new low-speed USB device number 2 using ohci-pci [ 8.717028] usb 2-8: New USB device found, idVendor=3D413c, = idProduct=3D2105 [ 8.717058] usb 2-8: New USB device strings: Mfr=3D1, Product=3D2, = SerialNumber=3D0 [ 8.717068] usb 2-8: Product: Dell USB Keyboard [ 8.717075] usb 2-8: Manufacturer: Dell [ 8.746601] input: Dell Dell USB Keyboard as = /devices/pci0000:00/0000:00:0b.0/usb2/2-8/2-8:1.0/0003:413C:2105.0001/inp= ut/input4 [ 8.746836] hid-generic 0003:413C:2105.0001: input,hidraw0: USB HID = v1.10 Keyboard [Dell Dell USB Keyboard] on usb-0000:00:0b.0-8/input0 kutulu@wombat ~ $ Without OHCI: kutulu@wombat ~ $ dmesg | grep usb [ 0.076245] usbcore: registered new interface driver usbfs [ 0.076428] usbcore: registered new interface driver hub [ 0.076626] usbcore: registered new device driver usb [ 0.247749] usbcore: registered new interface driver usbhid [ 0.247922] usbhid: USB HID core driver [ 6.991241] usb usb1: New USB device found, idVendor=3D1d6b, = idProduct=3D0002 [ 6.991417] usb usb1: New USB device strings: Mfr=3D3, Product=3D2, = SerialNumber=3D1 [ 6.991726] usb usb1: Product: EHCI Host Controller [ 6.991900] usb usb1: Manufacturer: Linux 3.16.0-gentoo-wombat-5 = ehci_hcd [ 6.992078] usb usb1: SerialNumber: 0000:00:0b.1 [ 7.295804] usb 1-7: new high-speed USB device number 2 using = ehci-pci [ 7.413707] usb 1-7: New USB device found, idVendor=3D14cd, = idProduct=3D6500 [ 7.413881] usb 1-7: New USB device strings: Mfr=3D1, Product=3D3, = SerialNumber=3D2 [ 7.414047] usb 1-7: Product: USB 2.0 Flash drive [ 7.414205] usb 1-7: Manufacturer: MOAI INC. [ 7.414371] usb 1-7: SerialNumber: 4FD30F4B00C5 [ 7.870672] usb-storage 1-7:1.0: USB Mass Storage device detected [ 7.871215] scsi4 : usb-storage 1-7:1.0 [ 7.871425] usbcore: registered new interface driver usb-storage kutulu@wombat ~ $ Is that normal?