Changeset 3f91a9c


Ignore:
Timestamp:
06/24/2004 02:27:04 PM (20 years ago)
Author:
Alexander E. Patrakov <alexander@…>
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.0, 6.1, 6.1.1, 6.3, 6.4, 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:
e43d9b66
Parents:
ad6dca1
Message:

Various hotplug-related changes

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rad6dca1 r3f91a9c  
    7979</listitem>
    8080
     81<listitem><para>June 24, 2004 [alexander]: Wordings changed on the hotplug
     82page</para></listitem>
     83
     84<listitem><para>June 24, 2004 [alexander]: Removed hotplug isapnp patch for a
     85while until bugs are fixed</para></listitem>
     86
    8187<listitem><para>June 23, 2004 [matt]: Removed the note regarding the use of
    8288GRUB's --no-mem-option</para></listitem>
  • chapter03/patches.xml

    rad6dca1 r3f91a9c  
    7878</varlistentry>
    7979
     80<!--
    8081<varlistentry>
    8182<term>Hotplug ISAPNP Coldplugging Patch - 1 KB:</term>
     
    8485</listitem>
    8586</varlistentry>
     87-->
    8688
    8789<varlistentry>
  • chapter06/hotplug.xml

    rad6dca1 r3f91a9c  
    1212<sect2 role="package"><title/>
    1313
    14 <para>The Hotplug package contains scripts that react upon various changes
    15 in the kernel state, in particular, addition and removal of hardware. This
    16 package also detects existing hardware during boot and inserts the relevant
    17 modules into the running kernel.
     14<para>The Hotplug package contains scripts that react upon hotplug events
     15generated by the kernel. Such events correspond to every change in the
     16in the kernel state visible in the "sysfs" filesystem, e.g., the addition and
     17removal of hardware. This package also detects existing hardware during
     18boot and inserts the relevant modules into the running kernel.
    1819</para>
    1920<segmentedlist>
     
    2930
    3031<para>
    31 Apply the patch that avoids bogus dependencies of the
    32 <command>usb.rc</command> script
    33 upon <application>which</application> and
    34 <application>usbutils</application> packages:
     32The <command>usb.rc</command> script provided by the
     33<application>Hotplug</application> package depends on the programs
     34<command>usbutils</command> and <command>which</command> being present.
     35However, these programs are not called for any useful purpose.
     36Apply the patch that removes those dependencies:
    3537</para>
    3638
     
    3840
    3941<para>
    40 USB coldplugging is somewhat broken in Hotplug by default. Fix this with the
    41 following patch:
     42USB coldplugging is somewhat broken in <application>Hotplug</application>
     43by default: the DEVICE environment variable is not passed to user-defined USB
     44hotplug handlers. Fix this with the following patch:
    4245</para>
    4346
    4447<screen><userinput>patch -Np1 -i ../hotplug-&hotplug-version;-device-2.patch</userinput></screen>
    4548
     49<!-- Waiting for hotplug-2004_04_01-isapnp-4.patch
    4650<para>
    47 At last, there is an optional patch that adds ISAPNP hardware detection
    48 capabilities to Hotplug. It is not well tested. If you chose to apply it,
    49 run the following command:
     51There is an optional patch that adds ISAPNP hardware detection
     52capabilities to Hotplug. It is not well tested and in fact contains known
     53bugs. If you chose to apply it, run the following command:
    5054</para>
    5155
    5256<screen><userinput>patch -Np1 -i ../hotplug-&hotplug-version;-isapnp-2.patch</userinput></screen>
     57-->
    5358
    54 
    55 <para>And finally install the Hotplug package:</para>
     59<para>Now install the Hotplug package:</para>
    5660
    5761<screen><userinput>make install</userinput></screen>
     
    6266<screen><userinput>rm -rf /etc/init.d</userinput></screen>
    6367
     68<para>Network device hotplugging is not supported by LFS bootscripts yet. For
     69that reason, remove the network hotplug agent:</para>
     70
     71<screen><userinput>rm -f /etc/hotplug/net.agent</userinput></screen>
     72<!-- Will be useless with version 4 of the isapnp patch
    6473<para>
    6574If you have applied the ISAPNP patch, add some required entries to
     
    8291since Marco d'Itri will try to convince developers to put them into the
    8392corresponding modules themselves.</para>
    84 
     93-->
    8594</sect2>
    8695
     
    110119from the lfs-bootscripts package.
    111120The <command>*.rc</command>
    112 scripts try to find kernel modules corresponding to your hardware and insert
    113 them into the running kernel.
     121scripts try to recover hotplug events that were lost during system boot
     122because, e.g., the root filesystem was not mounted by the kernel.
    114123</para>
    115124</listitem>
     
    180189sortas="e-/etc/hotplug.d">/etc/hotplug.d</primary></indexterm>
    181190<para>This directory contains programs (or symlinks to them)
    182 that are interested in receiving all hotplug events. E.g.,
     191that are interested in receiving hotplug events. E.g.,
    183192<application>udev</application> puts its symlink here during installation.
    184193</para>
  • general.ent

    rad6dca1 r3f91a9c  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!ENTITY version "SVN-20040623">
    3 <!ENTITY releasedate "June 23, 2004">
     2<!ENTITY version "SVN-20040624">
     3<!ENTITY releasedate "June 24, 2004">
    44<!ENTITY milestone "6.0">
    55
Note: See TracChangeset for help on using the changeset viewer.