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 CA56F13877A for ; Wed, 20 Aug 2014 16:55:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B1DCE0804; Wed, 20 Aug 2014 16:54:46 +0000 (UTC) Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DA73DE07EC for ; Wed, 20 Aug 2014 16:54:44 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id a1so7990202wgh.23 for ; Wed, 20 Aug 2014 09:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=1zwUMzUztPCtGiqbeHml8pJhCe0wGdc1ueUVyNsF95I=; b=T0vzubWsG3FyZvaTx9grEMDUPpUqJ+zRzuqE/I8hI6KiLVewNHOePbTV+wPVvFwCJk 7hQHFL9dMKmMZ+CKr1k5Wth6bH5sjW+So3oQqE0nPhj21U0Q6GhvDHtuby00saNFFoLv Uu10NtV31Wks5O2vqZnk9pR2v2mpWLSYXXreoqWCO8U24g5dBzO8frhSDuD5TB2ajuMk yv9brJd9d+qT0u8fXMV7x1FoqOyaSnibL4Xzys7uUTFhsWK+sjXV+ljn2M5nR5DqZRKj Lpe8jcWpUsZ89/Nh14q3jYufFEHTQKqjK+Mdx47oq/gQqLloZ6bXhGmZd+Uo168C0vXR EWrA== X-Received: by 10.180.187.197 with SMTP id fu5mr16793952wic.64.1408553683404; Wed, 20 Aug 2014 09:54:43 -0700 (PDT) Received: from [192.168.178.21] (p3E9E65DF.dip0.t-ipconnect.de. [62.158.101.223]) by mx.google.com with ESMTPSA id fi1sm10928869wib.5.2014.08.20.09.54.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Aug 2014 09:54:42 -0700 (PDT) Message-ID: <53F4D2D1.90800@googlemail.com> Date: Wed, 20 Aug 2014 18:54:41 +0200 From: Volker Armin Hemmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Intermittent USB device failures References: <005d01cfb762$56aadcf0$040096d0$@kutulu.org> <53EE9D6F.1070706@googlemail.com> <001001cfb9be$87487030$95d95090$@kutulu.org> <201408171133.11036.michaelkintzios@gmail.com> <53F2939F.7030000@googlemail.com> <01fd01cfbc0d$b9544c60$2bfce520$@kutulu.org> In-Reply-To: <01fd01cfbc0d$b9544c60$2bfce520$@kutulu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 099cfd27-dd4b-496a-b4c4-36b0d655c853 X-Archives-Hash: 90a4d62c5e701f8c71dcabcb2ce191fb Am 20.08.2014 um 02:28 schrieb Mike Edenfield: >> From: Volker Armin Hemmann [mailto:volkerarmin@googlemail.com] >> Sent: Monday, August 18, 2014 8:01 PM >> >> 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 >> >> 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: > > 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=1d6b, idProduct=0002 > [ 7.420426] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 > [ 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=1d6b, idProduct=0001 > [ 7.631328] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 > [ 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=14cd, idProduct=6500 > [ 7.968179] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2 > [ 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=413c, idProduct=2105 > [ 8.717058] usb 2-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0 > [ 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/input/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=1d6b, idProduct=0002 > [ 6.991417] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 > [ 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=14cd, idProduct=6500 > [ 7.413881] usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=2 > [ 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? > > > well, today almost all usb controllers 'decide' what to use depending on the device plugged in. There are no dedicated 1.1 or 2.0 ports. And yes, not able to see the devices without ohci might be the norm. Do you have the problems with all ports?