RE: [gentoo-user] Intermittent USB device failures

2014-08-20 Thread Mike Edenfield
(BTW: I'm terribly sorry for the horrid formatting and duplicate mails; I'm 
stuck using Outlook until I get this resolved)

> From: Volker Armin Hemmann [mailto:volkerar...@googlemail.com]
> Sent: Wednesday, August 20, 2014 12:55 PM
> 
> Am 20.08.2014 um 02:28 schrieb Mike Edenfield:
> >> From: Volker Armin Hemmann [mailto:volkerar...@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:
> >>>
>  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 :00:0b.0: remove, state 1 [38091.627400] usb 
>  usb2: USB disconnect, device number 1
> 

> >>> 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:

> > 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?

Yes, I've tried the mouse and keyboard in all 6 ports and haven’t seen any 
significant change in behavior.

--Mike




Re: [gentoo-user] Intermittent USB device failures

2014-08-20 Thread Volker Armin Hemmann
Am 20.08.2014 um 02:28 schrieb Mike Edenfield:
>> From: Volker Armin Hemmann [mailto:volkerar...@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.37] ohci-pci :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 :00:0b.0: USB bus 2
 deregistered [25603.384597] ehci-pci :00:0b.1: remove, state 1
 [25603.384611] usb usb1: USB disconnect, device number 1
 [25603.386306] ehci-pci :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 :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:volkerar...@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.37] ohci-pci :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 :00:0b.0: USB bus 2
 deregistered [25603.384597] ehci-pci :00:0b.1: remove, state 1
 [25603.384611] usb usb1: USB disconnect, device number 1
 [25603.386306] ehci-pci :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 :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: :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: :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=1

Re: [gentoo-user] Changing glibc

2014-08-20 Thread Mick
On Monday 18 Aug 2014 20:56:53 Timur Aydin wrote:
> Thanks a lot guys for the helpful responses. I will definitely try all
> of them, just for the learning experience, even if one does take care of
> the problem.
> 
> Cheers!

Also worth looking into is meld, if you are not running kde on your system.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.