- Timestamp:
- 01/27/2010 04:55:48 AM (14 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/kernel.xml
r279eb4f rb67f2d6 101 101 <screen><userinput remap="make">make</userinput></screen> 102 102 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 107 108 class="directory">linux-&linux-version;/Documentation</filename> directory. 108 109 Also, <filename>modprobe.conf(5)</filename> may be of interest.</para> … … 185 186 186 187 <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> 188 189 </indexterm> 189 190 190 <para>The <filename>/etc/modprobe. conf</filename> file needs to be created191 so that if the USB drivers (ehci_hcd, ohci_hcd and uhci_hcd) have been built192 as modules, they will be loaded in the correct order; ehci_hcd needs to be193 loaded prior to ohci_hcd and uhci_hcd in order to avoid a warning being194 output at boot time.</para>195 196 <para>Create a new file <filename>/etc/modprobe. conf</filename> by running191 <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 197 198 the following:</para> 198 199 199 <screen><userinput>cat > /etc/modprobe.conf << "EOF" 200 <literal># Begin /etc/modprobe.conf 200 <screen><userinput>install -v -m755 /etc/modprobe.d 201 cat > /etc/modprobe.d/usb.conf << "EOF" 202 <literal># Begin /etc/modprobe.d/usb.conf 201 203 202 204 install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true 203 205 install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true 204 206 205 # End /etc/modprobe. conf</literal>207 # End /etc/modprobe.d/usb.conf</literal> 206 208 EOF</userinput></screen> 207 209
Note:
See TracChangeset
for help on using the changeset viewer.