Revised explanation for /etc/modprobe.conf.

Update udev-lfs init-net-rules.sh script for "en*" devices 
introduced in systemd-197


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10094 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2013-01-11 19:12:41 +00:00
parent 86b1ebcfe5
commit cdd87ad4b7
6 changed files with 30 additions and 12 deletions

View File

@ -35,6 +35,21 @@
</itemizedlist> </itemizedlist>
</listitem> </listitem>
--> -->
<listitem>
<para>2013-01-11</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Revised explanation for /etc/modprobe.conf.
Fixes <ulink url="&lfs-ticket-root;3270">#3270</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update udev-lfs init-net-rules.sh
script for "en*" devices introduced in systemd-197.
</para>
</listitem>
</itemizedlist>
</listitem>
<listitem> <listitem>
<para>2013-01-09</para> <para>2013-01-09</para>
<itemizedlist> <itemizedlist>
@ -49,7 +64,6 @@
</itemizedlist> </itemizedlist>
</listitem> </listitem>
<listitem> <listitem>
<para>2013-01-02</para> <para>2013-01-02</para>
<itemizedlist> <itemizedlist>

View File

@ -196,11 +196,14 @@ cp -r Documentation/* /usr/share/doc/linux-&linux-version;</userinput></screen>
<primary sortas="e-/etc/modprobe.d/usb.conf">/etc/modprobe.d/usb.conf</primary> <primary sortas="e-/etc/modprobe.d/usb.conf">/etc/modprobe.d/usb.conf</primary>
</indexterm> </indexterm>
<para>The <filename>/etc/modprobe.d/usb.conf</filename> file needs to be <para>Most of the time Linux modules are loaded automatically, but
created so that if the USB drivers (ehci_hcd, ohci_hcd and uhci_hcd) have sometimes it needs some specific direction. The program that loads
been built as modules, they will be loaded in the correct order; ehci_hcd modules, <command>modprobe</command> or <command>insmod</command>, uses
needs to be loaded prior to ohci_hcd and uhci_hcd in order to avoid a <filename>/etc/modprobe.d/usb.conf</filename> for this purpose. This file
warning being output at boot time.</para> 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 <para>Create a new file <filename>/etc/modprobe.d/usb.conf</filename> by running
the following:</para> the following:</para>

View File

@ -1,5 +1,5 @@
<!ENTITY version "SVN-20130109"> <!ENTITY version "SVN-20130111">
<!ENTITY releasedate "January 2, 2019"> <!ENTITY releasedate "January 11, 2013">
<!ENTITY copyrightdate "1999-2013"><!-- jhalfs needs a literal dash, not &ndash; --> <!ENTITY copyrightdate "1999-2013"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "7.3"> <!ENTITY milestone "7.3">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

View File

@ -540,10 +540,10 @@
<!ENTITY tzdata-ch6-du "6.4 MB"> <!ENTITY tzdata-ch6-du "6.4 MB">
<!ENTITY tzdata-ch6-sbu "less than 0.1 SBU"> <!ENTITY tzdata-ch6-sbu "less than 0.1 SBU">
<!ENTITY udev-lfs "udev-lfs-&systemd-version;-1"> <!ENTITY udev-lfs "udev-lfs-&systemd-version;-2">
<!ENTITY udev-lfs-size "17 KB"> <!ENTITY udev-lfs-size "17 KB">
<!ENTITY udev-lfs-url "&anduin-other;&udev-lfs;.tar.bz2"> <!ENTITY udev-lfs-url "&anduin-other;&udev-lfs;.tar.bz2">
<!ENTITY udev-lfs-md5 "4534a2760481a24f3c1dc611c6932a0d"> <!ENTITY udev-lfs-md5 "f4272c121514caf0c2a6245fbffeb047">
<!ENTITY udev-lfs-home " "> <!ENTITY udev-lfs-home " ">
<!ENTITY util-linux-version "2.22.2"> <!ENTITY util-linux-version "2.22.2">

View File

@ -5,7 +5,7 @@
SHELL=/bin/bash SHELL=/bin/bash
SYSTEMD_VERSION=197 SYSTEMD_VERSION=197
VERSION=197-1 VERSION=197-2
ifeq ($(V),) ifeq ($(V),)
VB = @ VB = @

View File

@ -2,9 +2,10 @@
# This script generates rules for persistent network device naming # This script generates rules for persistent network device naming
# Data from udev-182 75-persistent-net-generator.rules # Data from udev-182 75-persistent-net-generator.rules
# Updated fof udev-197 (DEVICES=en*)
RULES=/etc/udev/rules.d/70-persistent-net.rules RULES=/etc/udev/rules.d/70-persistent-net.rules
DEVICES=$(eval echo /sys/class/net/{eth*,ath*,wlan*[0-9],msh*,ra*,sta*,ctc*,lcs*,hsi*}) DEVICES=$(eval echo /sys/class/net/{en*,eth*,ath*,wlan*[0-9],msh*,ra*,sta*,ctc*,lcs*,hsi*})
function usage function usage
{ {