[lfs] 03/03: kernel: drop the "Configuring Linux Module Load Order" section
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository lfs. commit b43686931a5acd6c6ce7ee268996bb8dd21424b5 Author: Xi Ruoyao <[email protected]> AuthorDate: Sun May 3 15:46:28 2026 +0800 kernel: drop the "Configuring Linux Module Load Order" section The kernel itself already guarantees the order of [eou]hci_hcd since Linux 3.13 (12 years ago!). Link: https://git.kernel.org/torvalds/c/05c92da0c52494ca --- chapter10/kernel.xml | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index 639942e0f..4d87c6aae 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -505,37 +505,6 @@ </sect2> - <sect2 id="conf-modprobe" role="configuration"> - <title>Configuring Linux Module Load Order</title> - - <indexterm zone="conf-modprobe"> - <primary sortas="e-/etc/modprobe.d/usb.conf">/etc/modprobe.d/usb.conf</primary> - </indexterm> - - <para>Most of the time Linux modules are loaded automatically, but - sometimes it needs some specific direction. The program that loads - modules, <command>modprobe</command> or <command>insmod</command>, uses - <filename>/etc/modprobe.d/usb.conf</filename> for this purpose. This 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.d/usb.conf</filename> by running - the following:</para> - -<screen><userinput>install -v -m755 -d /etc/modprobe.d -cat > /etc/modprobe.d/usb.conf << "EOF" -<literal># Begin /etc/modprobe.d/usb.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.d/usb.conf</literal> -EOF</userinput></screen> - - </sect2> - <sect2 id="contents-kernel" role="content"> <title>Contents of Linux</title> -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/lfs-book Unsubscribe: See the above information page