lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <50DCDC54.4020508@lwfinger.net>
Date:	Thu, 27 Dec 2012 17:40:04 -0600
From:	Larry Finger <Larry.Finger@...inger.net>
To:	Alan Stern <stern@...land.harvard.edu>
CC:	LKML <linux-kernel@...r.kernel.org>, linux-usb@...r.kernel.org
Subject: Re: Regression in kernel 3.8-rc1 bisected to commit adfa79d: I now
 get many "unable to enumerate USB device" messages

On 12/27/2012 05:18 PM, Alan Stern wrote:
> On Thu, 27 Dec 2012, Larry Finger wrote:
>
>> I could not do exactly the experiment that you wanted, as ehci-hcd was loaded
>> even though it was blacklisted. Rather than solve that problem, I generated a
>> kernel from just before commit adfa79d with ohci-hcd built in and ehci-hcd as a
>> module. This one generated the errors, but they stopped when ehci-hcd loaded. I
>> also tested a 3.8-rc1 kernel with ehci-hcd and ehcd-pci built in and ohci-hcd as
>> a module. No errors for that one. Your hypothesis looks correct.
>>
>> I hope there is some way to force ehci-pci to load as soon as ehci-hcd is
>> loaded, and before ohci-hcd loads, but if there is not, I know how to prevent
>> the errors on my system even though this solution won't help the users of distro
>> kernels. At least this time the errors stop once all 3 modules are loaded, and
>> the number of error outputs is limited.
>
> This is now a userspace issue.  Perhaps a change to a udev rule will
> prevent ohci-hcd from loading until ehci-pci is in place.  Or a change
> to a startup script in your initramfs.  However the problem gets
> solved, there doesn't seem to be much the kernel can do about it.

Thanks for looking at this. At the moment, there are no udev rules on my system 
that mention "ehci" or "ohci". Perhaps a suitable one can be prepared. In 
addition, I still need to look at the startup scripts to see if there is a 
possible fix there.

Larry


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ