diff options
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/kernel.xml | 27 |
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 > /etc/modprobe.conf << "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> |