Changeset b67f2d6


Ignore:
Timestamp:
01/27/2010 04:55:48 AM (14 years ago)
Author:
Bryan Kadzban <bryan@…>
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.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:
06dbab2
Parents:
279eb4f
Message:

Move from /etc/modprobe.conf to /etc/modprobe.d/*.conf, since module-init-tools now complains about the former. Fixes #2560.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9167 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r279eb4f rb67f2d6  
    4545          rules instead. Fixes
    4646          <ulink url="&lfs-ticket-root;2527">#2527</ulink>.</para>
     47        </listitem>
     48        <listitem>
     49          <para>[bryan] Use /etc/modprobe.d/*.conf files instead of a single
     50          /etc/modprobe.conf file, since module-init-tools now warns.  Fixes
     51          <ulink url="&lfs-ticket-root;2560">#2560</ulink>.</para>
    4752        </listitem>
    4853      </itemizedlist>
  • chapter07/udev.xml

    r279eb4f rb67f2d6  
    236236      sound cards available to OSS applications), configure
    237237      <command>modprobe</command> to load the wrapper after Udev loads the
    238       wrapped module. To do this, add an <quote>install</quote> line in
    239       <filename>/etc/modprobe.conf</filename>. For example:</para>
     238      wrapped module. To do this, add an <quote>install</quote> line in any
     239      <filename>/etc/modprobe.d/<replaceable>&lt;filename&gt;</replaceable>.conf</filename>
     240      file. For example:</para>
    240241
    241242<screen role="nodump"><literal>install snd-pcm /sbin/modprobe -i snd-pcm ; \
     
    253254      <title>Udev loads some unwanted module</title>
    254255
    255       <para>Either don't build the module, or blacklist it in
    256       <filename>/etc/modprobe.conf</filename> file as done with the
     256      <para>Either don't build the module, or blacklist it in a
     257      <filename>/etc/modprobe.d/blacklist.conf</filename> file as done with the
    257258      <emphasis>forte</emphasis> module in the example below:</para>
    258259
  • chapter08/kernel.xml

    r279eb4f rb67f2d6  
    101101<screen><userinput remap="make">make</userinput></screen>
    102102
    103     <para>If using kernel modules, an <filename>/etc/modprobe.conf</filename>
    104     file may be needed. Information pertaining to modules and kernel
    105     configuration is located in <xref linkend="ch-scripts-udev"/> and in the
    106     kernel documentation in the <filename
     103    <para>If using kernel modules, module configuration in <filename
     104    class="directory">/etc/modprobe.d</filename> may be required.
     105    Information pertaining to modules and kernel configuration is
     106    located in <xref linkend="ch-scripts-udev"/> and in the kernel
     107    documentation in the <filename
    107108    class="directory">linux-&linux-version;/Documentation</filename> directory.
    108109    Also, <filename>modprobe.conf(5)</filename> may be of interest.</para>
     
    185186
    186187    <indexterm zone="conf-modprobe">
    187       <primary sortas="e-/etc/modprobe.conf">/etc/modprobe.conf</primary>
     188      <primary sortas="e-/etc/modprobe.d/usb.conf">/etc/modprobe.d/usb.conf</primary>
    188189    </indexterm>
    189190
    190     <para>The <filename>/etc/modprobe.conf</filename> file needs to be created
    191     so that if the USB drivers (ehci_hcd, ohci_hcd and uhci_hcd) have been built
    192     as modules, they will be loaded in the correct order; ehci_hcd needs to be
    193     loaded prior to ohci_hcd and uhci_hcd in order to avoid a warning being
    194     output at boot time.</para>
    195 
    196     <para>Create a new file <filename>/etc/modprobe.conf</filename> by running
     191    <para>The <filename>/etc/modprobe.d/usb.conf</filename> file needs to be
     192    created so that if the USB drivers (ehci_hcd, ohci_hcd and uhci_hcd) have
     193    been built as modules, they will be loaded in the correct order; ehci_hcd
     194    needs to be loaded prior to ohci_hcd and uhci_hcd in order to avoid a
     195    warning being output at boot time.</para>
     196
     197    <para>Create a new file <filename>/etc/modprobe.d/usb.conf</filename> by running
    197198    the following:</para>
    198199
    199 <screen><userinput>cat &gt; /etc/modprobe.conf &lt;&lt; "EOF"
    200 <literal># Begin /etc/modprobe.conf
     200<screen><userinput>install -v -m755 /etc/modprobe.d
     201cat &gt; /etc/modprobe.d/usb.conf &lt;&lt; "EOF"
     202<literal># Begin /etc/modprobe.d/usb.conf
    201203
    202204install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true
    203205install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true
    204206
    205 # End /etc/modprobe.conf</literal>
     207# End /etc/modprobe.d/usb.conf</literal>
    206208EOF</userinput></screen>
    207209
Note: See TracChangeset for help on using the changeset viewer.