Changeset c0d9af5


Ignore:
Timestamp:
03/25/2006 12:56:15 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
11d4252
Parents:
6d8d38c
Message:

Indentation and tagging fixes.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/udev.xml

    r6d8d38c rc0d9af5  
    8989      available to userspace processes and to <command>udevd</command> for device
    9090      node creation.</para>
     91
    9192    </sect3>
    9293
     
    113114      have already been registered with the kernel by forcing them to raise
    114115      hotplug events which <command>udevd</command> will then handle.</para>
     116
    115117    </sect3>
    116118
     
    135137      rules configuration files are available in
    136138      <filename>/usr/share/doc/udev-&udev-version;/index.html</filename></para>
     139
    137140    </sect3>
    138141
     
    167170      <para>The kernel itself is also able to load modules for network
    168171      protocols, filesystems and NLS support on demand.</para>
     172
    169173    </sect3>
    170174
     
    176180      generates a hotplug event. This hotplug event is then handled by
    177181      <command>udevd</command> as described above.</para>
     182
    178183    </sect3>
    179184
     
    188193    <sect3>
    189194      <title>A kernel module is not loaded automatically</title>
     195
    190196      <para>Udev will only load a module if it has a bus-specific alias and the
    191197      bus driver properly exports the necessary aliases to <systemitem
     
    202208      <filename class="directory">/sys/bus</filename> and check whether there is
    203209      a <filename>modalias</filename> file there.</para>
    204      
     210
    205211      <para>If the <filename>modalias</filename> file exists in <systemitem
    206212      class="filesystem">sysfs</systemitem>, the driver supports the device and
     
    214220      this bus type. With Linux-&linux-version;, this is the case with ISA and
    215221      IDE busses. Expect this issue to be fixed in later kernel versions.</para>
    216      
     222
    217223      <!-- Remove IDE from the list above after Linux-2.6.16 -->
    218224
     
    220226      <emphasis>snd-pcm-oss</emphasis> and non-hardware drivers such as
    221227      <emphasis>loop</emphasis> at all.</para>
     228
    222229    </sect3>
    223230
     
    233240      wrapped module. To do this, add an <quote>install</quote> line in
    234241      <filename>/etc/modprobe.conf</filename>. For example:</para>
    235 <screen role="nodump">install snd-pcm modprobe -i snd-pcm ; modprobe \
    236     snd-pcm-oss ; true</screen>
    237    
     242
     243<screen role="nodump"><literal>install snd-pcm modprobe -i snd-pcm ; modprobe \
     244    snd-pcm-oss ; true</literal></screen>
     245
    238246      <para>If the module in question is not a wrapper and is useful by itself,
    239247      configure the <command>S05modules</command> bootscript to load this
     
    241249      <filename>/etc/sysconfig/modules</filename> file on a separate line.
    242250      This works for wrapper modules too, but is suboptimal in that case.</para>
     251
    243252    </sect3>
    244253
     
    249258      <filename>/etc/modprobe.conf</filename> file as done with the
    250259      <emphasis>forte</emphasis> module in the example below:</para>
    251 <screen role="nodump">blacklist forte</screen>
     260
     261<screen role="nodump"><literal>blacklist forte</literal></screen>
    252262
    253263      <para>Blacklisted modules can still be loaded manually with the
    254264      explicit <command>modprobe</command> command.</para>
     265
    255266    </sect3>
    256267
     
    263274      Increase the logging verbosity of Udev, find the offending rule by
    264275      examining the logs and make it more specific.</para>
     276
    265277    </sect3>
    266278
    267279    <sect3>
    268280      <title>Udev rule works unreliably</title>
     281
    269282      <para>This may be another manifestation of the previous problem. If not,
    270283      and your rule uses <systemitem class="filesystem">sysfs</systemitem>
     
    273286      <systemitem class="filesystem">sysfs</systemitem> attribute and appending
    274287      it to the <filename>/etc/udev/rules.d/10-wait_for_sysfs.rules</filename>
    275       file. Please notify the LFS Development list if you do so and it helps.
    276       </para>
    277     </sect3>
    278    
     288      file. Please notify the LFS Development list if you do so and it
     289      helps.</para>
     290
     291    </sect3>
     292
    279293    <sect3>
    280294      <title>Udev does not create a device</title>
     295
    281296      <para>Further text assumes that the driver is built statically into the
    282297      kernel or already loaded as a module, and that you have already checked
    283298      that Udev doesn't create a misnamed device.</para>
    284      
     299
    285300      <para>Udev has no information needed to create a device node if a kernel
    286301      driver does not export its data to <systemitem
     
    294309      <filename class="directory">/dev</filename> by the
    295310      <command>S10udev</command> bootscript.</para>
    296     </sect3>
    297    
     311
     312    </sect3>
     313
    298314    <sect3>
    299315      <title>Device naming order changes randomly after rebooting</title>
     316
    300317      <para>This is due to the fact that Udev, by design, handles uevents and
    301318      loads modules in parallel, and thus in an unpredictable order. This will
     
    306323      See also the network interface renaming example in
    307324      <xref linkend="ch-scripts-network"/>.</para>
    308     </sect3>
    309    
     325
     326    </sect3>
     327
    310328  </sect2>
    311329
Note: See TracChangeset for help on using the changeset viewer.