From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Date: Mon, 22 Feb 2010 07:30:19 +0000 Subject: Re: Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd Message-Id: <201002221030.19671.arvidjaar@mail.ru> MIME-Version: 1 Content-Type: multipart/mixed; boundary="nextPart4576246.giZ5mUhv6c" List-Id: References: <200811211554.17452.toralf.foerster@gmx.de> In-Reply-To: <200811211554.17452.toralf.foerster@gmx.de> To: linux-hotplug@vger.kernel.org --nextPart4576246.giZ5mUhv6c Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Monday 22 of February 2010 10:00:53 Robby Workman wrote: > On Mon, 22 Feb 2010 09:42:31 +0300 >=20 > Andrey Borzenkov wrote: > > ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver > > Warning! ehci_hcd should always be loaded before uhci_hcd and > > ohci_hcd, not after > >=20 > > [snipped] > >=20 > > So my question is - is the warning still true? How serious problems > > can result if uhci is loaded before ehci? > >=20 > > Does it make sense to workaround it in udev or may be trivial > >=20 > > install uhci_hcd mdprobe ehci_hcd; modprobe --ignore-install > > uhci_hcd > >=20 > > would be enough? >=20 > That's basically what we did: >=20 > $ cat /etc/modprobe.d/usb-controller.conf > # Make sure that ehci-hcd is always loaded before uhci-hci > # # or ohci-hcd to prevent a kernel warning: > install uhci-hcd /sbin/modprobe ehci-hcd ; /sbin/modprobe -i uhci-hcd > install ohci-hcd /sbin/modprobe ehci-hcd ; /sbin/modprobe -i ohci-hcd >=20 The problem is this dependency strikes back in other places as well.=20 E.g. I want to find out drivers for my USB keyboard to be loaded in=20 initrd. Natural way is to walk up device tree collecting them - which=20 leaves me with uhci (or ohci). Now I must manually do not forget to put=20 in ehci, although strictly speaking I do not need it (in initrd) at all. Kernel based solution would really be nice ... --nextPart4576246.giZ5mUhv6c Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkuCMosACgkQR6LMutpd94zqjwCdE1OjMpCNO1Gp19dxjYNbveRI EcwAnA6vsqgWb/frKqCor8koMS4xVmcO =6uEG -----END PGP SIGNATURE----- --nextPart4576246.giZ5mUhv6c--