From 200e4660ba04aa7555c281b33625f75e3ace880c Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sat, 16 May 2009 21:29:05 +0000 Subject: Add creation of /etc/modprobe.conf to stop ohci_hcd & uhci_hcd from being loaded before ehci_hcd. Fixes #2280. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8876 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/kernel.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'chapter08/kernel.xml') diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml index ca3fd9145..cf6b44bee 100644 --- a/chapter08/kernel.xml +++ b/chapter08/kernel.xml @@ -175,6 +175,33 @@ cp -r Documentation/* /usr/share/doc/linux-&linux-version; + + Configuring Linux Module Load Order + + + /etc/modprobe.conf + + + The /etc/modprobe.conf file needs to be created + so that if the USB drivers (ehci_hcd, ohci_hcd and uhci_hcd) have been built + as modules, they will be loaded in the correct order; ehci_hcd needs to be + loaded prior to ohci_hcd and uhci_hcd in order to avoid a warning being + output at boot time. + + Create a new file /etc/modprobe.conf by running + the following: + +cat > /etc/modprobe.conf << "EOF" +# Begin /etc/modprobe.conf + +install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true +install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true + +# End /etc/modprobe.conf +EOF + + + Contents of Linux -- cgit v1.2.3-54-g00ecf