old-www/HOWTO/BootPrompt-HOWTO-11.html

149 lines
6.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>The Linux BootPrompt-HowTo: Other Hardware Devices</TITLE>
<LINK HREF="BootPrompt-HOWTO-12.html" REL=next>
<LINK HREF="BootPrompt-HOWTO-10.html" REL=previous>
<LINK HREF="BootPrompt-HOWTO.html#toc11" REL=contents>
</HEAD>
<BODY>
<A HREF="BootPrompt-HOWTO-12.html">Next</A>
<A HREF="BootPrompt-HOWTO-10.html">Previous</A>
<A HREF="BootPrompt-HOWTO.html#toc11">Contents</A>
<HR>
<H2><A NAME="s11">11. Other Hardware Devices</A></H2>
<P>Any other devices that didn't fit into any of the above categories
got lumped together here.
<P>
<H2><A NAME="ss11.1">11.1 Ethernet Devices (`ether=', `netdev=')</A>
</H2>
<P>Different drivers make use of different parameters, but they all
at least share having an IRQ, an I/O port base value, and
a name. In its most generic form, it looks something like this:
<P>
<HR>
<PRE>
ether=irq,iobase[,param_1[,param_2,...param_8]]],name
</PRE>
<HR>
<P>The first non-numeric argument is taken as the name.
The <CODE>param_n</CODE> values (if applicable) usually have
different meanings for each different card/driver.
Typical <CODE>param_n</CODE> values are used to specify things
like shared memory address, interface selection, DMA
channel and the like.
<P>The most common use of this parameter is to force probing
for a second ethercard, as the default is to only probe
for one (with 2.4 and older kernels). This can be accomplished
with a simple:
<P>
<HR>
<PRE>
ether=0,0,eth1
</PRE>
<HR>
<P>Note that the values of zero for the IRQ and I/O base in the
above example tell the driver(s) to autoprobe.
<P>IMPORTANT NOTE TO MODULE USERS: The above will <EM>not</EM> force a
probe for a second card if you are using the driver(s) as run time
loadable modules (instead of having them complied into the kernel).
Most Linux distributions use a bare bones kernel combined with a
large selection of modular drivers. The <CODE>ether=</CODE> only applies
to drivers compiled directly into the kernel.
<P>The Ethernet-HowTo has complete and extensive
documentation on using multiple cards and on the card/driver
specific implementation of the <CODE>param_n</CODE> values where used.
Interested readers should refer to the section in that document
on their particular card for more complete information.
<A HREF="http://metalab.unc.edu/mdw/HOWTO/Ethernet-HOWTO.html">Ethernet-HowTo</A><P>
<H2><A NAME="ss11.2">11.2 The Floppy Disk Driver (`floppy=')</A>
</H2>
<P>There are many floppy driver options, and they are all listed in
<CODE>floppy.txt</CODE> in <CODE>linux/Documentation</CODE>. There are too
many options in that file to list here. Instead, only those
options that may be required to get a Linux install to proceed
on less than normal hardware are reprinted here.
<P><CODE>floppy=0,daring</CODE>
Tells the floppy driver that your floppy controller should be used
with caution (disables all daring operations).
<P><CODE>floppy=thinkpad</CODE>
Tells the floppy driver that you have a Thinkpad. Thinkpads use an
inverted convention for the disk change line.
<P><CODE>floppy=nodma</CODE>
Tells the floppy driver not to use DMA for data transfers.
This is needed on HP Omnibooks, which don't have a workable
DMA channel for the floppy driver. This option is also useful
if you frequently get `Unable to allocate DMA memory' messages.
Use of `nodma' is not recommended if
you have a FDC without a FIFO (8272A or 82072). 82072A and
later are OK). The FDC model is reported at boot.
You also need at least a 486 to use nodma.
<P><CODE>floppy=nofifo</CODE>
Disables the FIFO entirely. This is needed if you get `Bus
master arbitration error' messages from your Ethernet card (or
from other devices) while accessing the floppy.
<P><CODE>floppy=broken_dcl</CODE>
Don't use the disk change line, but assume that the disk was
changed whenever the device node is reopened. Needed on some
boxes where the disk change line is broken or unsupported.
This should be regarded as a stopgap measure, indeed it makes
floppy operation less efficient due to unneeded cache
flushings, and slightly more unreliable. Please verify your
cable connection and jumper settings if you have any DCL
problems. However, some older drives, and also some Laptops
are known not to have a DCL.
<P><CODE>floppy=debug</CODE>
Print (additional) debugging messages.
<P><CODE>floppy=messages</CODE>
Print informational messages for some operations (disk change
notifications, warnings about over and underruns, and about
autodetection).
<P>
<H2><A NAME="ss11.3">11.3 The Bus Mouse Driver (`bmouse=')</A>
</H2>
<P>The busmouse driver only accepts one parameter, that being
the hardware IRQ value to be used.
<P>
<H2><A NAME="ss11.4">11.4 The MS Bus Mouse Driver (`msmouse=')</A>
</H2>
<P>The MS mouse driver only accepts one parameter, that being
the hardware IRQ value to be used.
<P>
<H2><A NAME="ss11.5">11.5 The Printer Driver (`lp=')</A>
</H2>
<P>With this boot argument you can tell the printer driver
what ports to use and what ports <EM>not</EM> to use. The latter comes
in handy if you don't want the printer driver to claim all available
parallel ports, so that other drivers (e.g. PLIP, PPA) can use
them instead.
<P>The format of the argument is multiple i/o, IRQ pairs. For example,
<CODE>lp=0x3bc,0,0x378,7</CODE> would use the port at <CODE>0x3bc</CODE> in IRQ-less
(polling) mode, and use IRQ 7 for the port at <CODE>0x378</CODE>. The port
at <CODE>0x278</CODE> (if any) would not be probed, since autoprobing only
takes place in the absence of a <CODE>lp=</CODE> argument. To disable the
printer driver entirely, one can use <CODE>lp=0</CODE>.
<P>
<H2><A NAME="ss11.6">11.6 The Parallel port IP driver (`plip=')</A>
</H2>
<P>
<P>Using <CODE>plip=timid</CODE> will tell the plip driver to avoid
any ports that appear to be in use by other parallel port
devices. Otherwise you can use <CODE>plip=parportN</CODE> where
<CODE>N</CODE> is a non-zero integer indicating the parallel
port to use. (Using <CODE>N</CODE>=0 will disable the plip driver.)
<P>
<HR>
<A HREF="BootPrompt-HOWTO-12.html">Next</A>
<A HREF="BootPrompt-HOWTO-10.html">Previous</A>
<A HREF="BootPrompt-HOWTO.html#toc11">Contents</A>
</BODY>
</HTML>