aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2009-05-16 21:29:05 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2009-05-16 21:29:05 +0000
commit200e4660ba04aa7555c281b33625f75e3ace880c (patch)
treebbb34532c77bae93874ae00f3bd08165ee5c0502 /chapter08
parent2084b36a18e4b50d7f6cd254afb8455bf5987930 (diff)
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
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/kernel.xml27
1 files changed, 27 insertions, 0 deletions
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;</userinput></screen>
</sect2>
+ <sect2 id="conf-modprobe" role="configuration">
+ <title>Configuring Linux Module Load Order</title>
+
+ <indexterm zone="conf-modprobe">
+ <primary sortas="e-/etc/modprobe.conf">/etc/modprobe.conf</primary>
+ </indexterm>
+
+ <para>The <filename>/etc/modprobe.conf</filename> 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.</para>
+
+ <para>Create a new file <filename>/etc/modprobe.conf</filename> by running
+ the following:</para>
+
+<screen><userinput>cat &gt; /etc/modprobe.conf &lt;&lt; "EOF"
+<literal># 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</literal>
+EOF</userinput></screen>
+
+ </sect2>
+
<sect2 id="contents-kernel" role="content">
<title>Contents of Linux</title>