Changeset 200e466 for chapter08


Ignore:
Timestamp:
05/16/2009 09:29:05 PM (15 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
33169fa
Parents:
2084b36
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/kernel.xml

    r2084b36 r200e466  
    176176  </sect2>
    177177
     178  <sect2 id="conf-modprobe" role="configuration">
     179    <title>Configuring Linux Module Load Order</title>
     180
     181    <indexterm zone="conf-modprobe">
     182      <primary sortas="e-/etc/modprobe.conf">/etc/modprobe.conf</primary>
     183    </indexterm>
     184
     185    <para>The <filename>/etc/modprobe.conf</filename> file needs to be created
     186    so that if the USB drivers (ehci_hcd, ohci_hcd and uhci_hcd) have been built
     187    as modules, they will be loaded in the correct order; ehci_hcd needs to be
     188    loaded prior to ohci_hcd and uhci_hcd in order to avoid a warning being
     189    output at boot time.</para>
     190
     191    <para>Create a new file <filename>/etc/modprobe.conf</filename> by running
     192    the following:</para>
     193
     194<screen><userinput>cat &gt; /etc/modprobe.conf &lt;&lt; "EOF"
     195<literal># Begin /etc/modprobe.conf
     196
     197install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true
     198install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true
     199
     200# End /etc/modprobe.conf</literal>
     201EOF</userinput></screen>
     202
     203  </sect2>
     204
    178205  <sect2 id="contents-kernel" role="content">
    179206    <title>Contents of Linux</title>
Note: See TracChangeset for help on using the changeset viewer.