home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 11 / IOPROG_11.ISO / docs / bootpr~1 < prev    next >
Encoding:
Text File  |  1996-12-14  |  80.4 KB  |  1,815 lines

  1.   The Linux BootPrompt HOWTO
  2.   Paul Gortmaker, Editor.
  3.   v1.12, 6 December 1996
  4.  
  5.   This is the BootPrompt-Howto, which is a compilation of all the possiĀ”
  6.   ble boot time arguments that can be passed to the Linux kernel at boot
  7.   time. This includes all kernel and device parameters.  A discussion of
  8.   how the kernel sorts boot time arguments, along with an overview of
  9.   some of the popular software used to boot Linux kernels is also
  10.   included.
  11.  
  12.   1.  Introduction
  13.  
  14.   The kernel has a limited capability to accept information at boot in
  15.   the form of a `command line', similar to an argument list you would
  16.   give to a program. In general this is used to supply the kernel with
  17.   information about hardware parameters that the kernel would not be
  18.   able to determine on its own, or to avoid/override the values that the
  19.   kernel would otherwise detect.
  20.  
  21.   However, if you just copy a kernel image directly to a floppy, (e.g.
  22.   cp zImage /dev/fd0) then you are not given a chance to specify any
  23.   arguments to that kernel. So most Linux users will use software like
  24.   LILO or loadlin that takes care of handing these arguments to the
  25.   kernel, and then booting it.
  26.  
  27.   This present revision covers kernels up to and including v2.0.27.
  28.   Development/testing kernels up to v2.1.14 are also documented.
  29.  
  30.   The BootPrompt-Howto is edited and maintained by:
  31.  
  32.        Paul Gortmaker, gpg109@rsphy1.anu.edu.au
  33.  
  34.   [Please note that boot prompt arguments that are specific to the non-
  35.   i386 ports and devices (esp. Atari/Amiga) are not currently
  36.   documented.]
  37.  
  38.   1.1.  Disclaimer and Copyright
  39.  
  40.   This document is not gospel. However, it is probably the most up to
  41.   date info that you will be able to find. Nobody is responsible for
  42.   what happens to your hardware but yourself. If your hardware goes up
  43.   in smoke (...nearly impossible!)  I take no responsibility. ie. THE
  44.   AUTHOR IS NOT RESPONSIBLE FOR ANY DAMAGES INCURRED DUE TO ACTIONS
  45.   TAKEN BASED ON THE INFORMATION INCLUDED IN THIS DOCUMENT.
  46.  
  47.   This document is Copyright (C) 1995,1996 by Paul Gortmaker.
  48.  
  49.   This document may be copied according to the conditions of the GNU
  50.   General Public License, version 2, included herein by reference. See
  51.   the file linux/COPYING that comes with the Linux kernel for full
  52.   details.
  53.  
  54.   If you are intending to incorporate this document into a published
  55.   work, please contact me, and I will make an effort to ensure that you
  56.   have the most up to date information available. In the past, out of
  57.   date versions of the Linux howto documents have been published, which
  58.   caused the developers undue grief from being plagued with questions
  59.   that were already answered in the up to date versions.
  60.  
  61.   1.2.  Related Documentation
  62.  
  63.   The most up-to-date documentation will always be the kernel source
  64.   itself. Hold on! Don't get scared. You don't need to know any
  65.   programming to read the comments in the source files.  For example, if
  66.   you were looking for what arguments could be passed to the AHA1542
  67.   SCSI driver, then you would go to the linux/drivers/scsi directory,
  68.   and look at the file aha1542.c -- and within the first 100 lines, you
  69.   would find a plain english description of the boot time arguments that
  70.   the 1542 driver accepts.
  71.  
  72.   The next best thing will be any documentation files that are
  73.   distributed with the kernel itself. There are now quite a few of
  74.   these, and most of them can be found in the directory
  75.   linux/Documentation and subdirectories from there.  The linux
  76.   directory is usually found in /usr/src/.  Sometimes there will be
  77.   README.foo files that can be found in the related driver directory
  78.   (e.g. linux/drivers/XXX/, where XXX will be scsi, char, or net).
  79.  
  80.   If you have figured out what boot-args you intend to use, and now want
  81.   to know how to get that information to the kernel, then look at the
  82.   documentation that comes with the software that you use to boot the
  83.   kernel (e.g. LILO or loadlin). A brief overview is given below, but it
  84.   is no substitute for the documentation that comes with the booting
  85.   software.
  86.  
  87.   1.3.  The Linux Newsgroups
  88.  
  89.   If you have questions about passing boot arguments to the kernel,
  90.   please READ this document first. If this and the related documentation
  91.   mentioned above does not answer your question(s) then you can try the
  92.   Linux newsgroups.  Of course you should try reading the group before
  93.   blindly posting your question, as somebody else may have already asked
  94.   it, or it may even be a Frequently Asked Question (a FAQ).  A quick
  95.   browse of the linux FAQ before posting is a good idea. You should be
  96.   able to find the FAQ somewhere close to where you found this document.
  97.  
  98.   General questions on how to configure your system should be directed
  99.   to the comp.os.linux.setup newsgroup.  We ask that you please respect
  100.   this general guideline for content, and don't cross-post your request
  101.   to other groups.
  102.  
  103.   1.4.  New Versions of this Document
  104.  
  105.   New versions of this document can be retrieved via anonymous FTP from
  106.   the site sunsite.unc.edu, in the directory /pub/Linux/docs/HOWTO/.
  107.   Note that SunSITE is usually heavily loaded, and you are better
  108.   advised to get the document from one of the Linux ftp mirror sites.
  109.   Updates will be made as new information and/or drivers becomes
  110.   available. If this copy that you are presently reading is more than a
  111.   few months old, then you should probably check to see if a newer copy
  112.   exists.
  113.  
  114.   This document was produced by using a modified SGML system that was
  115.   specifically set up for the Linux Howto project, and there are various
  116.   output formats available, including, postscript, dvi, ascii, html, and
  117.   soon TeXinfo.  I would recommend viewing it in the html (via a WWW
  118.   browser) or the Postscript/dvi format. Both of these contain cross-
  119.   references that are lost in the ascii translation.
  120.  
  121.   If you want to get the official copy off sunsite, here is URL.
  122.  
  123.   BootPrompt-HOWTO <http://sunsite.unc.edu/mdw/HOWTO/BootPrompt-
  124.   HOWTO.html>
  125.  
  126.   2.  Overview of Boot Prompt Arguments
  127.  
  128.   This section gives some examples of software that can be used to pass
  129.   kernel boot-time arguments to the kernel itself.  It also gives you an
  130.   idea of how the arguments are processed, what limitations there are on
  131.   the boot args, and how they filter down to each appropriate device
  132.   that they are intended for.
  133.  
  134.   It is important to note that spaces should not be used in a boot
  135.   argument, but only between separate arguments.  A list of values that
  136.   are for a single argument are to be separated with a comma between the
  137.   values, and again without any spaces. See the following examples
  138.   below.
  139.  
  140.   ______________________________________________________________________
  141.           ether=9,0x300,0xd0000,0xd4000,eth0  root=/dev/hda1            *RIGHT*
  142.           ether = 9, 0x300, 0xd0000, 0xd4000, eth0  root = /dev/hda1    *WRONG*
  143.   ______________________________________________________________________
  144.  
  145.   2.1.  LILO (LInux LOader)
  146.  
  147.   The LILO program (LInux LOader) written by Werner Almesberger is the
  148.   most commonly used. It has the ability to boot various kernels, and
  149.   stores the configuration information in a plain text file. Most
  150.   distributions ship with LILO as the default boot-loader. LILO can boot
  151.   DOS, OS/2 Linux, FreeBSD, etc. without any difficulties, and is quite
  152.   flexible.
  153.  
  154.   A typical configuration will have LILO stop and print LILO: shortly
  155.   after you turn on your computer. It will then wait for a few seconds
  156.   for any optional input from the user, and failing that it will then
  157.   boot the default system. Typical system labels that people use in the
  158.   LILO configuration files are linux and backup and msdos. If you want
  159.   to type in a boot argument, you type it in here, after typing in the
  160.   system label that you want LILO to boot from, as shown in the example
  161.   below.
  162.  
  163.   ______________________________________________________________________
  164.           LILO: linux root=/dev/hda1
  165.   ______________________________________________________________________
  166.  
  167.   LILO comes with excellent documentation, and for the purposes of boot
  168.   args discussed here, the LILO append= command is of significant
  169.   importance when one wants to add a boot time argument as a permanent
  170.   addition to the LILO config file.  You simply add something like
  171.   append = "foo=bar" to the /etc/lilo.conf file. It can either be added
  172.   at the top of the config file, making it apply to all sections, or to
  173.   a single system section by adding it inside an image= section.  Please
  174.   see the LILO documentation for a more complete description.
  175.  
  176.   2.2.  LoadLin
  177.  
  178.   The other commonly used Linux loader is `LoadLin' which is a DOS
  179.   program that has the capability to launch a Linux kernel from the DOS
  180.   prompt (with boot-args) assuming that certain resources are available.
  181.   This is good for people that use DOS and want to launch into Linux
  182.   from DOS.
  183.  
  184.   It is also very useful if you have certain hardware which relies on
  185.   the supplied DOS driver to put the hardware into a known state. A
  186.   common example is `SoundBlaster Compatible' sound cards that require
  187.   the DOS driver to twiddle a few mystical registers to put the card
  188.   into a SB compatible mode. Booting DOS with the supplied driver, and
  189.   then loading Linux from the DOS prompt with loadlin avoids the reset
  190.   of the card that happens if one rebooted instead. Thus the card is
  191.   left in a SB compatible mode and hence is useable under Linux.
  192.  
  193.   There are also other programs that can be used to boot Linux.  For a
  194.   complete list, please look at the programs available on your local
  195.   Linux ftp mirror, under system/Linux-boot/.
  196.  
  197.   2.3.  The ``rdev'' utility
  198.  
  199.   There are a few of the kernel boot parameters that have their default
  200.   values stored in various bytes in the kernel image itself.  There is a
  201.   utility called rdev that is installed on most systems that knows where
  202.   these values are, and how to change them.  It can also change things
  203.   that have no kernel boot argument equivalent, such as the default
  204.   video mode used.
  205.  
  206.   The rdev utility is usually also aliased to swapdev, ramsize, vidmode
  207.   and rootflags. These are the five things that rdev can change, those
  208.   being the root device, the swap device, the RAM disk parameters, the
  209.   default video mode, and the readonly/readwrite setting of root device.
  210.  
  211.   More information on rdev can be found by typing rdev -h or by reading
  212.   the supplied man page (man rdev).
  213.  
  214.   2.4.  How the Kernel Sorts the Arguments
  215.  
  216.   Most of the boot args take the form of:
  217.  
  218.   ______________________________________________________________________
  219.           name[=value_1][,value_2]...[,value_11]
  220.   ______________________________________________________________________
  221.  
  222.   where `name' is a unique keyword that is used to identify what part of
  223.   the kernel the associated values (if any) are to be given to. Multiple
  224.   boot args are just a space separated list of the above format. Note
  225.   the limit of 11 is real, as the present code only handles 11 comma
  226.   separated parameters per keyword. (However, you can re-use the same
  227.   keyword with up to an additional 11 parameters in unusually
  228.   complicated situations, assuming the setup function supports it.)
  229.   Also note that the kernel splits the list into a maximum of ten
  230.   integer arguments, and a following string, so you can't really supply
  231.   11 integers unless you convert the 11th arg from a string to an int in
  232.   the driver itself.
  233.  
  234.   Most of the sorting goes on in linux/init/main.c.  First, the kernel
  235.   checks to see if the argument is any of the special arguments `root=',
  236.   `ro', `rw', or `debug'.  The meaning of these special arguments is
  237.   described further on in the document.
  238.  
  239.   Then it walks a list of setup functions (contained in the bootsetups
  240.   array) to see if the specified argument string (such as `foo') has
  241.   been associated with a setup function (foo_setup()) for a particular
  242.   device or part of the kernel. If you passed the kernel the line
  243.   foo=3,4,5,6,bar then the kernel would search the bootsetups array to
  244.   see if `foo' was registered. If it was, then it would call the setup
  245.   function associated with `foo' (foo_setup()) and hand it the integer
  246.   arguments 3, 4, 5 and 6 as given on the kernel command line, and also
  247.   hand it the string argument bar.
  248.  
  249.   2.5.  Setting Environment Variables.
  250.  
  251.   Anything of the form `foo=bar' that is not accepted as a setup
  252.   function as described above is then interpreted as an environment
  253.   variable to be set. A (useless?) example would be to use `TERM=vt100'
  254.   as a boot argument.
  255.  
  256.   2.6.  Passing Arguments to the `init' program
  257.  
  258.   Any remaining arguments that were not picked up by the kernel and were
  259.   not interpreted as environment variables are then passed onto process
  260.   one, which is usually the init program. The most common argument that
  261.   is passed to the init process is the word single which instructs init
  262.   to boot the computer in single user mode, and not launch all the usual
  263.   daemons. Check the manual page for the version of init installed on
  264.   your system to see what arguments it accepts.
  265.  
  266.   3.  General Non-Device Specific Boot Args
  267.  
  268.   These are the boot arguments that are not related to any specific
  269.   device or peripheral. They are instead related to certain internal
  270.   kernel parameters, such as memory handling, ramdisk handling, root
  271.   file system handling and others.
  272.  
  273.   3.1.  Root Filesystem options
  274.  
  275.   The following options all pertain to how the kernel selects and
  276.   handles the root filesystem.
  277.  
  278.   3.1.1.  The `root=' Argument
  279.  
  280.   This argument tells the kernel what device is to be used as the root
  281.   filesystem while booting. The default of this setting is the value of
  282.   the root device of the system that the kernel was built on.  For
  283.   example, if the kernel in question was built on a system that used
  284.   `/dev/hda1' as the root partition, then the default root device would
  285.   be `/dev/hda1'.  To override this default value, and select the second
  286.   floppy drive as the root device, one would use `root=/dev/fd1'.
  287.  
  288.   Valid root devices are any of the following devices:
  289.  
  290.   (1) /dev/hdaN to /dev/hddN, which is partition N on ST-506 compatible
  291.   disk `a to d'.
  292.  
  293.   (2) /dev/sdaN to /dev/sdeN, which is partition N on SCSI compatible
  294.   disk `a to e'.
  295.  
  296.   (3) /dev/xdaN to /dev/xdbN, which is partition N on XT compatible disk
  297.   `a to b'.
  298.  
  299.   (4) /dev/fdN, which is floppy disk drive number N. Having N=0 would be
  300.   the DOS `A:' drive, and N=1 would be `B:'.
  301.  
  302.   (5) /dev/nfs, which is not really a device, but rather a flag to tell
  303.   the kernel to get the root fs via the network.
  304.  
  305.   The more awkward and less portable numeric specification of the above
  306.   possible disk devices in major/minor format is also accepted. (e.g.
  307.   /dev/sda3 is major 8, minor 3, so you could use root=0x803 as an
  308.   alternative.)
  309.  
  310.   This is one of the few kernel boot arguments that has its default
  311.   stored in the kernel image, and which can thus be altered with the
  312.   rdev utility.
  313.  
  314.   3.1.2.  The `ro' Argument
  315.  
  316.   When the kernel boots, it needs a root filesystem to read basic things
  317.   off of. This is the root filesystem that is mounted at boot. However,
  318.   if the root filesystem is mounted with write access, you can not
  319.   reliably check the filesystem integrity with half-written files in
  320.   progress. The `ro' option tells the kernel to mount the root
  321.   filesystem as `readonly' so that any filesystem consistency check
  322.   programs (fsck) can safely assume that there are no half-written files
  323.   in progress while performing the check. No programs or processes can
  324.   write to files on the filesystem in question until it is `remounted'
  325.   as read/write capable.
  326.  
  327.   This is one of the few kernel boot arguments that has its default
  328.   stored in the kernel image, and which can thus be altered with the
  329.   rdev utility.
  330.  
  331.   3.1.3.  The `rw' Argument
  332.  
  333.   This is the exact opposite of the above, in that it tells the kernel
  334.   to mount the root filesystem as read/write. The default is to mount
  335.   the root filesystem as read/write anyway. Do not run any `fsck' type
  336.   programs on a filesystem that is mounted read/write.
  337.  
  338.   The same value stored in the image file mentioned above is also used
  339.   for this parameter, accessible via rdev.
  340.  
  341.   3.2.  Options Relating to RAM Disk Management
  342.  
  343.   The following options all relate to how the kernel handles the RAM
  344.   disk device, which is usually used for bootstrapping machines during
  345.   the install phase, or for machines with modular drivers that need to
  346.   be installed to access the root filesystem.
  347.  
  348.   3.2.1.  The `ramdisk_start=' Argument
  349.  
  350.   To allow a kernel image to reside on a floppy disk along with a
  351.   compressed ramdisk image, the `ramdisk_start=<offset>' command was
  352.   added. The kernel can't be included into the compressed ramdisk
  353.   filesystem image, because it needs to be stored starting at block zero
  354.   so that the BIOS can load the bootsector and then the kernel can
  355.   bootstrap itself to get going.
  356.  
  357.   Note: If you are using an uncompressed ramdisk image, then the kernel
  358.   can be a part of the filesystem image that is being loaded into the
  359.   ramdisk, and the floppy can be booted with LILO, or the two can be
  360.   separate as is done for the compressed images.
  361.  
  362.   If you are using a two-disk boot/root setup (kernel on disk 1, ramdisk
  363.   image on disk 2) then the ramdisk would start at block zero, and an
  364.   offset of zero would be used. Since this is the default value, you
  365.   would not need to actually use the command at all.
  366.  
  367.   3.2.2.  The `load_ramdisk=' Argument
  368.  
  369.   This parameter tells the kernel whether it is to try to load a ramdisk
  370.   image or not. Specifying `load_ramdisk=1' will tell the kernel to load
  371.   a floppy into the ramdisk. The default value is zero, meaning that the
  372.   kernel should not try to load a ramdisk.
  373.  
  374.   Please see the file linux/Documentation/ramdisk.txt for a complete
  375.   description of the new boot time arguments, and how to use them. A
  376.   description of how this parameter can be set and stored in the kernel
  377.   image via `rdev' is also described.
  378.  
  379.   3.2.3.  The `prompt_ramdisk=' Argument
  380.  
  381.   This parameter tells the kernel whether or not to give you a prompt
  382.   asking you to insert the floppy containing the ramdisk image. In a
  383.   single floppy configuration the ramdisk image is on the same floppy as
  384.   the kernel that just finished loading/booting and so a prompt is not
  385.   needed. In this case one can use `prompt_ramdisk=0'. In a two floppy
  386.   configuration, you will need the chance to switch disks, and thus
  387.   `prompt_ramdisk=1' can be used. Since this is the default value, it
  388.   doesn't really need to be specified. ( (Historical note: Sneaky people
  389.   used to use the `vga=ask' LILO option to temporarily pause the boot
  390.   process and allow a chance to switch from boot to root floppy.)
  391.  
  392.   Please see the file linux/Documentation/ramdisk.txt for a complete
  393.   description of the new boot time arguments, and how to use them. A
  394.   description of how this parameter can be set and stored in the kernel
  395.   image via `rdev' is also described.
  396.  
  397.   3.2.4.  The `ramdisk_size=' Argument
  398.  
  399.   While it is true that the ramdisk grows dynamically as required, there
  400.   is an upper bound on its size so that it doesn't consume all available
  401.   RAM and leave you in a mess. The default is 4096 (i.e. 4MB) which
  402.   should be large enough for most needs. You can override the default to
  403.   a bigger or smaller size with this boot argument.
  404.  
  405.   Please see the file linux/Documentation/ramdisk.txt for a complete
  406.   description of the new boot time arguments, and how to use them. A
  407.   description of how this parameter can be set and stored in the kernel
  408.   image via `rdev' is also described.
  409.  
  410.   3.2.5.  The `ramdisk=' Argument (obsolete)
  411.  
  412.   (NOTE: This argument is obsolete, and should not be used except on
  413.   kernels v1.3.47 and older. The commands that should be used for the
  414.   ramdisk device are documented above.)
  415.  
  416.   This specifies the size in kB of the RAM disk device.  For example, if
  417.   one wished to have a root filesystem on a 1.44MB floppy loaded into
  418.   the RAM disk device, they would use:
  419.  
  420.   ______________________________________________________________________
  421.           ramdisk=1440
  422.   ______________________________________________________________________
  423.  
  424.   This is one of the few kernel boot arguments that has its default
  425.   stored in the kernel image, and which can thus be altered with the
  426.   rdev utility.
  427.  
  428.   3.2.6.  The `noinitrd' (initial RAM disk) Argument
  429.  
  430.   The v2.x and newer kernels have a feature where the root filesystem is
  431.   initially a RAM disk, and the kernel executes /linuxrc on that RAM
  432.   image. This feature is typically used to allow loading of modules
  433.   needed to mount the real root filesystem (e.g. load the SCSI driver
  434.   modules stored in the RAM disk image, and then mount the real root
  435.   filesystem on a SCSI disk.)
  436.  
  437.   The actual `noinitrd' argument determines what happens to the initrd
  438.   data after the kernel has booted.  When specified, instead of
  439.   converting it to a RAM disk, it is accessible via /dev/initrd, which
  440.   can be read once before the RAM is released back to the system. For
  441.   full details on using the initial RAM disk, please consult
  442.   linux/Documentation/initrd.txt. In addition, the most recent versions
  443.   of LILO and LOADLIN should have additional useful information.
  444.  
  445.   3.3.  Boot Arguments Related to Memory Handling
  446.  
  447.   The following arguments alter how linux detects or handles the
  448.   physical and virtual memory of your system.
  449.  
  450.   3.3.1.  The `mem=' Argument
  451.  
  452.   This argument has two purposes: The original purpose was to specify
  453.   the amount of installed memory (or a value less than that if you
  454.   wanted to limit the amount of memory available to linux). The second
  455.   (and hardly used) purpose is to specify mem=nopentium which tells the
  456.   linux kernel to not use the 4MB page table performance feature.
  457.  
  458.   The original BIOS call defined in the PC specification  that returns
  459.   the amount of installed memory was only designed to be able to report
  460.   up to 64MB. (Yes, another lack of foresight, just like the 1024
  461.   cylinder disks... sigh.) Linux uses this BIOS call at boot to
  462.   determine how much memory is installed.  If you have more than 64MB of
  463.   RAM installed, you can use this boot arg to tell Linux how much memory
  464.   you have.  Here is a quote from Linus on usage of the `mem='
  465.   parameter.
  466.  
  467.   ``The kernel will accept any `mem=xx' parameter you give it, and if it
  468.   turns out that you lied to it, it will crash horribly sooner or later.
  469.   The parameter indicates the highest addressable RAM address, so
  470.   `mem=0x1000000' means you have 16MB of memory, for example.  For a
  471.   96MB machine this would be `mem=0x6000000'.
  472.  
  473.   NOTE NOTE NOTE: some machines might use the top of memory for BIOS
  474.   cacheing or whatever, so you might not actually have up to the full
  475.   96MB addressable.  The reverse is also true: some chipsets will map
  476.   the physical memory that is covered by the BIOS area into the area
  477.   just past the top of memory, so the top-of-mem might actually be 96MB
  478.   + 384kB for example.  If you tell linux that it has more memory than
  479.   it actually does have, bad things will happen: maybe not at once, but
  480.   surely eventually.''
  481.  
  482.   Note that the argument does not have to be in hex, and the suffixes
  483.   `k' and `M' (case insensitive) can be used to specify kilobytes and
  484.   Megabytes, respectively. (A `k' will cause a 10 bit shift on your
  485.   value, and a `M' will cause a 20 bit shift.)  The above warning still
  486.   holds, in that a 96MB machine may work with mem=97920k but fail with
  487.   either mem=98304k or mem=96M.
  488.  
  489.   3.3.2.  The `swap=' Argument
  490.  
  491.   This allows the user to tune some of the virtual memory (VM)
  492.   parameters that are related to swapping to disk. It accepts the
  493.   following eight parameters:
  494.  
  495.   ______________________________________________________________________
  496.           MAX_PAGE_AGE
  497.           PAGE_ADVANCE
  498.           PAGE_DECLINE
  499.           PAGE_INITIAL_AGE
  500.           AGE_CLUSTER_FRACT
  501.           AGE_CLUSTER_MIN
  502.           PAGEOUT_WEIGHT
  503.           BUFFEROUT_WEIGHT
  504.   ______________________________________________________________________
  505.  
  506.   Interested hackers are advised to have a read of linux/mm/swap.c and
  507.   also make note of the goodies in /proc/sys/vm.
  508.  
  509.   3.3.3.  The `buff=' Argument
  510.  
  511.   Similar to the `swap=' argument, this allows the user to tune some of
  512.   the parameters related to buffer memory management.  It accepts the
  513.   following six parameters:
  514.  
  515.   ______________________________________________________________________
  516.           MAX_BUFF_AGE
  517.           BUFF_ADVANCE
  518.           BUFF_DECLINE
  519.           BUFF_INITIAL_AGE
  520.           BUFFEROUT_WEIGHT
  521.           BUFFERMEM_GRACE
  522.   ______________________________________________________________________
  523.  
  524.   Interested hackers are advised to have a read of linux/mm/swap.c and
  525.   also make note of the goodies in /proc/sys/vm.
  526.  
  527.   3.4.  Boot Arguments for NFS Root Filesystem
  528.  
  529.   Linux supports systems such as diskless workstations via having their
  530.   root filesystem as NFS (Network FileSystem).  These arguments are used
  531.   to tell the diskless workstation which machine it is to get its system
  532.   from. Also note that the argument root=/dev/nfs is required. Detailed
  533.   information on using an NFS root fs is in the file
  534.   linux/Documentation/nfsroot.txt. You should read that file, as the
  535.   following is only a quick summary taken directly from that file.
  536.  
  537.   3.4.1.  The `nfsroot=' Argument
  538.  
  539.   This argument tells the kernel which machine, what directory and what
  540.   NFS options to use for the root filesystem. The form of the argument
  541.   is as follows:
  542.  
  543.   ______________________________________________________________________
  544.           nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
  545.   ______________________________________________________________________
  546.  
  547.   If the nfsroot parameter is not given on the command line, the default
  548.   `/tftpboot/%s' will be used. The other options are as follows:
  549.  
  550.   <server-ip> -- Specifies the IP address of the NFS server. If this
  551.   field is not given, the default address as determined by the nfsaddrs
  552.   variable (see below) is used. One use of this parameter is for example
  553.   to allow using different servers for RARP and NFS. Usually you can
  554.   leave this blank.
  555.  
  556.   <root-dir> -- Name of the directory on the server to mount as root. If
  557.   there is a `%s' token in the string, the token will be replaced by the
  558.   ASCII-representation of the client's IP address.
  559.  
  560.   <nfs-options> -- Standard NFS options. All options are separated by
  561.   commas.  If the options field is not given, the following defaults
  562.   will be used:
  563.  
  564.           port            = as given by server portmap daemon
  565.           rsize           = 1024
  566.           wsize           = 1024
  567.           timeo           = 7
  568.           retrans         = 3
  569.           acregmin        = 3
  570.           acregmax        = 60
  571.           acdirmin        = 30
  572.           acdirmax        = 60
  573.           flags           = hard, nointr, noposix, cto, ac
  574.  
  575.   3.4.2.  The `nfsaddrs=' Argument
  576.  
  577.   This boot argument sets up the various network interface addresses
  578.   that are required to communicate over the network. If this argument is
  579.   not given, then the kernel tries to use RARP and/or BOOTP to figure
  580.   out these parameters. The form is as follows:
  581.  
  582.   ______________________________________________________________________
  583.           nfsaddrs=<my-ip>:<serv-ip>:<gw-ip>:<netmask>:<name>:<dev>:<auto>
  584.   ______________________________________________________________________
  585.  
  586.   <my-ip> -- IP address of the client. If empty, the address will either
  587.   be determined by RARP or BOOTP. What protocol is used de- pends on
  588.   what has been enabled during kernel configuration and on the <auto>
  589.   parameter. If this parameter is not empty, neither RARP nor BOOTP will
  590.   be used.
  591.  
  592.   <serv-ip> -- IP address of the NFS server. If RARP is used to
  593.   determine the client address and this parameter is NOT empty only
  594.   replies from the specified server are accepted. To use different RARP
  595.   and NFS server, specify your RARP server here (or leave it blank), and
  596.   specify your NFS server in the nfsroot parameter (see above). If this
  597.   entry is blank the address of the server is used which answered the
  598.   RARP or BOOTP request.
  599.  
  600.   <gw-ip> -- IP address of a gateway if the server in on a different
  601.   subnet. If this entry is empty no gateway is used and the server is
  602.   assumed to be on the local network, unless a value has been received
  603.   by BOOTP.
  604.  
  605.   <netmask> -- Netmask for local network interface. If this is empty,
  606.   the netmask is derived from the client IP address, unless a value has
  607.   been received by BOOTP.
  608.  
  609.   <name> -- Name of the client. If empty, the client IP address is used
  610.   in ASCII-notation, or the value received by BOOTP.
  611.  
  612.   <dev> -- Name of network device to use. If this is empty, all devices
  613.   are used for RARP requests, and the first one found for BOOTP. For NFS
  614.   the device is used on which either RARP or BOOTP replies have been
  615.   received. If you only have one device you can safely leave this blank.
  616.  
  617.   <auto> -- Method to use for autoconfiguration. If this is either
  618.   `rarp' or `bootp' the specified protocol is being used.  If the value
  619.   is `both' or empty, both protocols are used so far as they have been
  620.   enabled during kernel configuration Using 'none' means no
  621.   autoconfiguration. In this case you have to specify all necessary
  622.   values in the fields before.
  623.   The <auto> parameter can appear alone as the value to the nfsaddrs
  624.   parameter (without all the `:' characters before) in which case
  625.   autoconfiguration is used. However, the `none' value is not available
  626.   in that case.
  627.  
  628.   3.5.  Other Misc. Kernel Boot Arguments
  629.  
  630.   These various boot arguments let the user tune certain internal kernel
  631.   parameters.
  632.  
  633.   3.5.1.  The `debug' Argument
  634.  
  635.   The kernel communicates important (and not-so important) messages to
  636.   the operator via the printk() function.  If the message is considered
  637.   important, the printk() function will put a copy on the present
  638.   console as well as handing it off to the klogd() facility so that it
  639.   gets logged to disk. The reason for printing important messages to the
  640.   console as well as logging them to disk is because under unfortunate
  641.   circumstances (e.g. a disk failure) the message won't make it to disk
  642.   and will be lost.
  643.  
  644.   The threshold for what is and what isn't considered important is set
  645.   by the console_loglevel variable. The default is to log anything more
  646.   important than DEBUG (level 7) to the console. (These levels are
  647.   defined in the include file kernel.h) Specifying debug as a boot
  648.   argument will set the console loglevel to 10, so that all kernel
  649.   messages appear on the console.
  650.  
  651.   The console loglevel can usually also be set at run time via an option
  652.   to the klogd() program. Check the man page for the version installed
  653.   on your system to see how to do this.
  654.  
  655.   3.5.2.  The `init=' Argument
  656.  
  657.   The kernel defaults to starting the `init' program at boot, which then
  658.   takes care of setting up the computer for users via launching getty
  659.   programs, running `rc' scripts and the like.  The kernel first looks
  660.   for /sbin/init, then /etc/init (depreciated), and as a last resort, it
  661.   will try to use /bin/sh (possibly on /etc/rc).  If for example, your
  662.   init program got corrupted and thus stopped you from being able to
  663.   boot, you could simply use the boot prompt init=/bin/sh which would
  664.   drop you directly into a shell at boot, allowing you to replace the
  665.   corrupted program.
  666.  
  667.   3.5.3.  The `no387' Argument
  668.  
  669.   Some i387 coprocessor chips have bugs that show up when used in 32 bit
  670.   protected mode. For example, some of the early ULSI-387 chips would
  671.   cause solid lockups while performing floating point calculations,
  672.   apparently due to a bug in the FRSAV/FRRESTOR instructions.  Using the
  673.   `no387' boot arg causes Linux to ignore the math coprocessor even if
  674.   you have one. Of course you must then have your kernel compiled with
  675.   math emulation support! This may also be useful if you have one of
  676.   those really old 386 machines that could use an 80287 FPU, as linux
  677.   can't use an 80287.
  678.  
  679.   3.5.4.  The `no-hlt' Argument
  680.  
  681.   The i386 (and successors thereof) family of CPUs have a `hlt'
  682.   instruction which tells the CPU that nothing is going to happen until
  683.   an external device (keyboard, modem, disk, etc.) calls upon the CPU to
  684.   do a task. This allows the CPU to enter a `low-power' mode where it
  685.   sits like a zombie until an external device wakes it up (usually via
  686.   an interrupt).  Some of the early i486DX-100 chips had a problem  with
  687.   the `hlt' instruction, in that they couldn't reliably return to
  688.   operating mode after this instruction was used. Using the `no-hlt'
  689.   instruction tells Linux to just run an infinite loop when there is
  690.   nothing else to do, and to not halt your CPU when there is no
  691.   activity. This allows people with these broken chips to use Linux,
  692.   although they would be well advised to seek a replacement through a
  693.   warranty where possible.
  694.  
  695.   3.5.5.  The `no-scroll' Argument
  696.  
  697.   Using this argument at boot disables scrolling features that make it
  698.   difficult to use Braille terminals.
  699.  
  700.   3.5.6.  The `panic=' Argument
  701.  
  702.   In the unlikely event of a kernel panic (i.e. an internal error that
  703.   has been detected by the kernel, and which the kernel decides is
  704.   serious enough to moan loudly and then halt everything), the default
  705.   behaviour is to just sit there until someone comes along and notices
  706.   the panic message on the screen and reboots the machine.  However if a
  707.   machine is running unattended in an isolated location it may be
  708.   desirable for it to automatically reset itself so that the machine
  709.   comes back on line. For example, using `panic=30' at boot would cause
  710.   the kernel to try and reboot itself 30 seconds after the kernel panic
  711.   happened. A value of zero gives the default behaviour, which is to
  712.   wait forever.
  713.  
  714.   Note that this timeout value can also be read and set via the
  715.   /proc/sys/kernel/panic sysctl interface.
  716.  
  717.   3.5.7.  The `profile=' Argument
  718.  
  719.   Kernel developers can enable an option that allows them to profile how
  720.   and where the kernel is spending its CPU cycles in an effort to
  721.   maximize efficiency and performance. This option lets you set the
  722.   profile shift count at boot. Typically it is set to two. You can also
  723.   compile your kernel with profiling enabled by default. In either case,
  724.   you need a tool such as readprofile.c that can make use of the
  725.   /proc/profile output.
  726.  
  727.   3.5.8.  The `reboot=' Argument
  728.  
  729.   This option controls the type of reboot that Linux will do when it
  730.   resets the computer (typically via /sbin/init handling a Control-Alt-
  731.   Delete). The default as of late v2.0 kernels is to do a `cold' reboot
  732.   (i.e. full reset, BIOS does memory check, etc.) instead of a `warm'
  733.   reboot (i.e. no full reset, no memory check). It was changed to be
  734.   cold by default since that tends to work on cheap/broken hardware that
  735.   fails to reboot when a warm reboot is requested. To get the old
  736.   behaviour (i.e. warm reboots) use reboot=w or in fact any word that
  737.   starts with w will work.
  738.  
  739.   Why would you bother? Some disk controllers with cache memory on board
  740.   can sense a warm reboot, and flush any cached data to disk. Upon a
  741.   cold boot, the card may be reset and the write-back data in your cache
  742.   card's memory is lost. Others have reported systems that take a long
  743.   time to go through the memory check, and/or SCSI BIOSes that take
  744.   longer to initialize on a cold boot as a good reason to use warm
  745.   reboots.
  746.  
  747.   3.5.9.  The `reserve=' Argument
  748.  
  749.   This is used to protect I/O port regions from probes.  The form of the
  750.   command is:
  751.  
  752.        reserve=iobase,extent[,iobase,extent]...
  753.  
  754.   In some machines it may be necessary to prevent device drivers from
  755.   checking for devices (auto-probing) in a specific region. This may be
  756.   because of poorly designed hardware that causes the boot to freeze
  757.   (such as some ethercards), hardware that is mistakenly identified,
  758.   hardware whose state is changed by an earlier probe, or merely
  759.   hardware you don't want the kernel to initialize.
  760.  
  761.   The reserve boot-time argument addresses this problem by specifying an
  762.   I/O port region that shouldn't be probed. That region is reserved in
  763.   the kernel's port registration table as if a device has already been
  764.   found in that region (with the name reserved).  Note that this
  765.   mechanism shouldn't be necessary on most machines.  Only when there is
  766.   a problem or special case would it be necessary to use this.
  767.  
  768.   The I/O ports in the specified region are protected against device
  769.   probes that do a check_region() prior to probing blindly into a region
  770.   of I/O space. This was put in to be used when some driver was hanging
  771.   on a NE2000, or misidentifying some other device as its own.  A
  772.   correct device driver shouldn't probe a reserved region, unless
  773.   another boot argument explicitly specifies that it do so.  This
  774.   implies that reserve will most often be used with some other boot
  775.   argument. Hence if you specify a reserve region to protect a specific
  776.   device, you must generally specify an explicit probe for that device.
  777.   Most drivers ignore the port registration table if they are given an
  778.   explicit address.
  779.  
  780.   For example, the boot line
  781.  
  782.   ______________________________________________________________________
  783.           reserve=0x300,32  blah=0x300
  784.   ______________________________________________________________________
  785.  
  786.   keeps all device drivers except the driver for `blah' from probing
  787.   0x300-0x31f.
  788.  
  789.   As usual with boot-time specifiers there is an 11 parameter limit,
  790.   thus you can only specify 5 reserved regions per reserve keyword.
  791.   Multiple reserve specifiers will work if you have an unusually
  792.   complicated request.
  793.  
  794.   3.5.10.  The `vga=' Argument
  795.  
  796.   Note that this is not really a boot argument. It is an option that is
  797.   interpreted by LILO and not by the kernel like all the other boot
  798.   arguments are. However its use has become so common that it deserves a
  799.   mention here. It can also be set via using rdev -v or equivalently
  800.   vidmode on the vmlinuz file.  This allows the setup code to use the
  801.   video BIOS to change the default display mode before actually booting
  802.   the Linux kernel. Typical modes are 80x50, 132x44 and so on. The best
  803.   way to use this option is to start with vga=ask which will prompt you
  804.   with a list of various modes that you can use with your video adapter
  805.   before booting the kernel. Once you have the number from the above
  806.   list that you want to use, you can later put it in place of the `ask'.
  807.   For more information, please see the file linux/Documentation/svga.txt
  808.   that comes with all recent kernel versions.
  809.  
  810.   Note that newer kernels (v2.1 and up) have the setup code that changes
  811.   the video mode as an option, listed as Video mode selection support so
  812.   you need to enable this option if you want to use this feature.
  813.  
  814.   4.  Boot Arguments for SCSI Peripherals.
  815.  
  816.   This section contains the descriptions of the boot args that are used
  817.   for passing information about the installed SCSI host adapters, and
  818.   SCSI devices.
  819.  
  820.   4.1.  Arguments for Mid-level Drivers
  821.  
  822.   The mid level drivers handle things like disks, CD-ROMs and tapes
  823.   without getting into host adapter specifics.
  824.  
  825.   4.1.1.  Maximum Probed LUNs (`max_scsi_luns=')
  826.  
  827.   Each SCSI device can have a number of `sub-devices' contained within
  828.   itself. The most common example is one of the new SCSI CD-ROMs that
  829.   handle more than one disk at a time.  Each CD is addressed as a
  830.   `Logical Unit Number' (LUN) of that particular device. But most
  831.   devices, such as hard disks, tape drives and such are only one device,
  832.   and will be assigned to LUN zero.
  833.  
  834.   The problem arises with single LUN devices with bad firmware.  Some
  835.   poorly designed SCSI devices (old and unfortunately new) can not
  836.   handle being probed for LUNs not equal to zero. They will respond by
  837.   locking up, and possibly taking the whole SCSI bus down with them.
  838.  
  839.   Newer kernels have the configuration option that allows you to set the
  840.   maximum number of probed LUNs. The default is to only probe LUN zero,
  841.   to avoid the problem described above.
  842.  
  843.   To specify the number of probed LUNs at boot, one enters
  844.   `max_scsi_luns=n' as a boot arg, where n is a number between one and
  845.   eight. To avoid problems as described above, one would use n=1 to
  846.   avoid upsetting such broken devices
  847.  
  848.   4.1.2.  Parameters for the SCSI Tape Driver (`st=')
  849.  
  850.   Some boot time configuration of the SCSI tape driver can be achieved
  851.   by using the following:
  852.   ______________________________________________________________________
  853.           st=buf_size[,write_threshold[,max_bufs]]
  854.   ______________________________________________________________________
  855.  
  856.   The first two numbers are specified in units of kB.  The default
  857.   buf_size is 32kB, and the maximum size that can be specified is a
  858.   ridiculous 16384kB.  The write_threshold is the value at which the
  859.   buffer is committed to tape, with a default value of 30kB.  The
  860.   maximum number of buffers varies with the number of drives detected,
  861.   and has a default of two. An example usage would be:
  862.  
  863.   ______________________________________________________________________
  864.           st=32,30,2
  865.   ______________________________________________________________________
  866.  
  867.   Full details can be found in the README.st file that is in the scsi
  868.   directory of the kernel source tree.
  869.  
  870.   4.2.  Arguments for SCSI Host Adapters
  871.  
  872.   General notation for this section:
  873.  
  874.   iobase -- the first I/O port that the SCSI host occupies.  These are
  875.   specified in hexidecimal notation, and usually lie in the range from
  876.   0x200 to 0x3ff.
  877.  
  878.   irq -- the hardware interrupt that the card is configured to use.
  879.   Valid values will be dependent on the card in question, but will
  880.   usually be 5, 7, 9, 10, 11, 12, and 15. The other values are usually
  881.   used for common peripherals like IDE hard disks, floppies, serial
  882.   ports, etc.
  883.  
  884.   dma -- the DMA (Direct Memory Access) channel that the card uses.
  885.   Typically only applies to bus-mastering cards.  PCI and VLB cards are
  886.   native bus-masters, and do not require and ISA DMA channel.
  887.  
  888.   scsi-id -- the ID that the host adapter uses to identify itself on the
  889.   SCSI bus. Only some host adapters allow you to change this value, as
  890.   most have it permanently specified internally. The usual default value
  891.   is seven, but the Seagate and Future Domain TMC-950 boards use six.
  892.  
  893.   parity -- whether the SCSI host adapter expects the attached devices
  894.   to supply a parity value with all information exchanges.  Specifying a
  895.   one indicates parity checking is enabled, and a zero disables parity
  896.   checking. Again, not all adapters will support selection of parity
  897.   behaviour as a boot argument.
  898.  
  899.   4.2.1.  Adaptec aha151x, aha152x, aic6260, aic6360, SB16-SCSI
  900.   (`aha152x=')
  901.  
  902.   The aha numbers refer to cards and the aic numbers refer to the actual
  903.   SCSI chip on these type of cards, including the Soundblaster-16 SCSI.
  904.  
  905.   The probe code for these SCSI hosts looks for an installed BIOS, and
  906.   if none is present, the probe will not find your card. Then you will
  907.   have to use a boot arg of the form:
  908.  
  909.   ______________________________________________________________________
  910.            aha152x=iobase[,irq[,scsi-id[,reconnect[,parity]]]]
  911.   ______________________________________________________________________
  912.  
  913.   Note that if the driver was compiled with debugging enabled, a sixth
  914.   value can be specified to set the debug level.
  915.  
  916.   All the parameters are as described at the top of this section, and
  917.   the reconnect value will allow device disconnect/reconnect if a non-
  918.   zero value is used. An example usage is as follows:
  919.  
  920.   ______________________________________________________________________
  921.           aha152x=0x340,11,7,1
  922.   ______________________________________________________________________
  923.  
  924.   Note that the parameters must be specified in order, meaning that if
  925.   you want to specify a parity setting, then you will have to specify an
  926.   iobase, irq, scsi-id and reconnect value as well.
  927.  
  928.   4.2.2.  Adaptec aha154x (`aha1542=')
  929.  
  930.   These are the aha154x series cards. The aha1542 series cards have an
  931.   i82077 floppy controller onboard, while the aha1540 series cards do
  932.   not. These are busmastering cards, and have parameters to set the
  933.   ``fairness'' that is used to share the bus with other devices. The
  934.   boot arg looks like the following.
  935.  
  936.   ______________________________________________________________________
  937.           aha1542=iobase[,buson,busoff[,dmaspeed]]
  938.   ______________________________________________________________________
  939.  
  940.   Valid iobase values are usually one of: 0x130, 0x134, 0x230, 0x234,
  941.   0x330, 0x334.  Clone cards may permit other values.
  942.  
  943.   The buson, busoff values refer to the number of microseconds that the
  944.   card dominates the ISA bus. The defaults are 11us on, and 4us off, so
  945.   that other cards (such as an ISA LANCE Ethernet card) have a chance to
  946.   get access to the ISA bus.
  947.  
  948.   The dmaspeed value refers to the rate (in MB/s) at which the DMA
  949.   (Direct Memory Access) transfers proceed at. The default is 5MB/s.
  950.   Newer revision cards allow you to select this value as part of the
  951.   soft-configuration, older cards use jumpers. You can use values up to
  952.   10MB/s assuming that your motherboard is capable of handling it.
  953.   Experiment with caution if using values over 5MB/s.
  954.  
  955.   4.2.3.  Adaptec aha274x, aha284x, aic7xxx (`aic7xxx=')
  956.  
  957.   These boards can accept an argument of the form:
  958.  
  959.   ______________________________________________________________________
  960.           aic7xxx=extended,no_reset
  961.   ______________________________________________________________________
  962.  
  963.   The extended value, if non-zero, indicates that extended translation
  964.   for large disks is enabled. The no_reset value, if non-zero, tells the
  965.   driver not to reset the SCSI bus when setting up the host adaptor at
  966.   boot.
  967.  
  968.   4.2.4.  AdvanSys SCSI Host Adaptors (`advansys=')
  969.  
  970.   The AdvanSys driver can accept up to four i/o addresses that will be
  971.   probed for an AdvanSys SCSI card. Note that these values (if used) do
  972.   not effect EISA or PCI probing in any way.  They are only used for
  973.   probing ISA and VLB cards.  In addition, if the driver has been
  974.   compiled with debugging enabled, the level of debugging output can be
  975.   set by adding an 0xdeb[0-f] parameter. The 0-f allows setting the
  976.   level of the debugging messages to any of 16 levels of verbosity.
  977.  
  978.   4.2.5.  Always IN2000 Host Adaptor (`in2000=')
  979.  
  980.   Unlike other SCSI host boot arguments, the IN2000 driver uses ASCII
  981.   string prefixes for most of its integer arguments. Here is a list of
  982.   the supported arguments:
  983.  
  984.   ioport:addr -- Where addr is IO address of a (usually ROM-less) card.
  985.  
  986.   noreset -- No optional args. Prevents SCSI bus reset at boot time.
  987.  
  988.   nosync:x -- x is a bitmask where the 1st 7 bits correspond with the 7
  989.   possible SCSI devices (bit 0 for device #0, etc).  Set a bit to
  990.   PREVENT sync negotiation on that device.  The driver default is sync
  991.   DISABLED on all devices.
  992.  
  993.   period:ns -- ns is the minimum # of nanoseconds in a SCSI data
  994.   transfer period. Default is 500; acceptable values are 250 to 1000.
  995.  
  996.   disconnect:x -- x = 0 to never allow disconnects, 2 to always allow
  997.   them.  x = 1 does 'adaptive' disconnects, which is the default and
  998.   generally the best choice.
  999.  
  1000.   debug:x If `DEBUGGING_ON' is defined, x is a bitmask that causes
  1001.   various types of debug output to printed - see the DB_xxx defines in
  1002.   in2000.h
  1003.  
  1004.   proc:x -- If `PROC_INTERFACE' is defined, x is a bitmask that
  1005.   determines how the /proc interface works and what it does - see the
  1006.   PR_xxx defines in in2000.h
  1007.  
  1008.   Some example usages are listed below:
  1009.  
  1010.   ______________________________________________________________________
  1011.           in2000=ioport:0x220,noreset
  1012.           in2000=period:250,disconnect:2,nosync:0x03
  1013.           in2000=debug:0x1e
  1014.           in2000=proc:3
  1015.   ______________________________________________________________________
  1016.  
  1017.   4.2.6.  AMD AM53C974 based hardware (`AM53C974=')
  1018.  
  1019.   Unlike other drivers, this one does not use boot parameters to
  1020.   communicate i/o, IRQ or DMA channels. (Since the AM53C974 is a PCI
  1021.   device, there shouldn't be a need to do so.)  Instead, the parameters
  1022.   are used to communicate the transfer modes and rates that are to be
  1023.   used between the host and the target device. This is best described
  1024.   with an example:
  1025.  
  1026.   ______________________________________________________________________
  1027.           AM53C974=7,2,8,15
  1028.   ______________________________________________________________________
  1029.  
  1030.   This would be interpreted as follows: `For communication between the
  1031.   controller with SCSI-ID 7 and the device with SCSI-ID 2, a transfer
  1032.   rate of 8MHz in synchronous mode with max. 15 bytes offset should be
  1033.   negotiated.' More details can be found in the file
  1034.   linux/drivers/scsi/README.AM53C974
  1035.  
  1036.   4.2.7.  BusLogic SCSI Hosts with v1.2 kernels (`buslogic=')
  1037.  
  1038.   In older kernels, the buslogic driver accepts only one parameter, that
  1039.   being the I/O base. It expects that to be one of the following valid
  1040.   values: 0x130, 0x134, 0x230, 0x234, 0x330, 0x334.
  1041.  
  1042.   4.2.8.  BusLogic SCSI Hosts with v2.x kernels (`BusLogic=')
  1043.  
  1044.   With v2.x kernels, the BusLogic driver accepts many parameters.  (Note
  1045.   the case in the above; upper case B and L!!!).  The following detailed
  1046.   description is taken directly from Leonard N. Zubkoff's driver as
  1047.   included in the v2.0 kernel.
  1048.  
  1049.   For the BusLogic driver, a Kernel command line entry comprises the
  1050.   driver identifier "BusLogic=" optionally followed by a comma-separated
  1051.   sequence of integers and then optionally followed by a comma-separated
  1052.   sequence of strings.  Each command line entry applies to one BusLogic
  1053.   Host Adapter.  Multiple command line entries may be used in systems
  1054.   which contain multiple BusLogic Host Adapters.
  1055.  
  1056.   The first integer specified is the I/O Address at which the Host
  1057.   Adapter is located.  If unspecified, it defaults to 0 which means to
  1058.   apply this entry to the first BusLogic Host Adapter found during the
  1059.   default probe sequence.  If any I/O Address parameters are provided on
  1060.   the command line, then the default probe sequence is omitted.
  1061.  
  1062.   The second integer specified is the Tagged Queue Depth to use for
  1063.   Target Devices that support Tagged Queuing.  The Queue Depth is the
  1064.   number of SCSI commands that are allowed to be concurrently presented
  1065.   for execution.  If unspecified, it defaults to 0 which means to use a
  1066.   value determined automatically based on the Host Adapter's Total Queue
  1067.   Depth and the number, type, speed, and capabilities of the detected
  1068.   Target Devices.  For Host Adapters that require ISA Bounce Buffers,
  1069.   the Tagged Queue Depth is automatically set to
  1070.   BusLogic_TaggedQueueDepth_BB to avoid excessive preallocation of DMA
  1071.   Bounce Buffer memory.  Target Devices that do not support Tagged
  1072.   Queuing use a Queue Depth of BusLogic_UntaggedQueueDepth.
  1073.  
  1074.   The third integer specified is the Bus Settle Time in seconds.  This
  1075.   is the amount of time to wait between a Host Adapter Hard Reset which
  1076.   initiates a SCSI Bus Reset and issuing any SCSI Commands.  If
  1077.   unspecified, it defaults to 0 which means to use the value of
  1078.   BusLogic_DefaultBusSettleTime.
  1079.  
  1080.   The fourth integer specified is the Local Options.  If unspecified, it
  1081.   defaults to 0.  Note that Local Options are only applied to a specific
  1082.   Host Adapter.
  1083.  
  1084.   The fifth integer specified is the Global Options.  If unspecified, it
  1085.   defaults to 0.  Note that Global Options are applied across all Host
  1086.   Adapters.
  1087.  
  1088.   The string options are used to provide control over Tagged Queuing,
  1089.   Error Recovery, and Host Adapter Probing.
  1090.  
  1091.   The Tagged Queuing specification begins with "TQ:" and allows for
  1092.   explicitly specifying whether Tagged Queuing is permitted on Target
  1093.   Devices that support it.  The following specification options are
  1094.   available:
  1095.  
  1096.   TQ:Default -- Tagged Queuing will be permitted based on the firmware
  1097.   version of the BusLogic Host Adapter and based on whether the Tagged
  1098.   Queue Depth value allows queuing multiple commands.
  1099.  
  1100.   TQ:Enable -- Tagged Queuing will be enabled for all Target Devices on
  1101.   this Host Adapter overriding any limitation that would otherwise be
  1102.   imposed based on the Host Adapter firmware version.
  1103.  
  1104.   TQ:Disable -- Tagged Queuing will be disabled for all Target Devices
  1105.   on this Host Adapter.
  1106.  
  1107.   TQ:<Per-Target-Spec> -- Tagged Queuing will be controlled individually
  1108.   for each Target Device. <Per-Target-Spec> is a sequence of "Y", "N",
  1109.   and "X" characters.  "Y" enabled Tagged Queuing, "N" disables Tagged
  1110.   Queuing, and "X" accepts the default based on the firmware version.
  1111.   The first character refers to Target Device 0, the second to Target
  1112.   Device 1, and so on; if the sequence of "Y", "N", and "X" characters
  1113.   does not cover all the Target Devices, unspecified characters are
  1114.   assumed to be "X".
  1115.  
  1116.   Note that explicitly requesting Tagged Queuing may lead to problems;
  1117.   this facility is provided primarily to allow disabling Tagged Queuing
  1118.   on Target Devices that do not implement it correctly.
  1119.  
  1120.   The Error Recovery Strategy specification begins with "ER:" and allows
  1121.   for explicitly specifying the Error Recovery action to be performed
  1122.   when ResetCommand is called due to a SCSI Command failing to complete
  1123.   successfully.  The following specification options are available:
  1124.  
  1125.   ER:Default -- Error Recovery will select between the Hard Reset and
  1126.   Bus Device Reset options based on the recommendation of the SCSI
  1127.   Subsystem.
  1128.  
  1129.   ER:HardReset -- Error Recovery will initiate a Host Adapter Hard Reset
  1130.   which also causes a SCSI Bus Reset.
  1131.  
  1132.   ER:BusDeviceReset -- Error Recovery will send a Bus Device Reset
  1133.   message to the individual Target Device causing the error.  If Error
  1134.   Recovery is again initiated for this Target Device and no SCSI Command
  1135.   to this Target Device has completed successfully since the Bus Device
  1136.   Reset message was sent, then a Hard Reset will be attempted.
  1137.  
  1138.   ER:None -- Error Recovery will be suppressed.  This option should only
  1139.   be selected if a SCSI Bus Reset or Bus Device Reset will cause the
  1140.   Target Device to fail completely and unrecoverably.
  1141.  
  1142.   ER:<Per-Target-Spec> -- Error Recovery will be controlled individually
  1143.   for each Target Device. <Per-Target-Spec> is a sequence of "D", "H",
  1144.   "B", and "N" characters.  "D" selects Default, "H" selects Hard Reset,
  1145.   "B" selects Bus Device Reset, and "N" selects None.  The first
  1146.   character refers to Target Device 0, the second to Target Device 1,
  1147.   and so on; if the sequence of "D", "H", "B", and "N" characters does
  1148.   not cover all the possible Target Devices, unspecified characters are
  1149.   assumed to be "D".
  1150.  
  1151.   The Host Adapter Probing specification comprises the following
  1152.   strings:
  1153.  
  1154.   NoProbe -- No probing of any kind is to be performed, and hence no
  1155.   BusLogic Host Adapters will be detected.
  1156.  
  1157.   NoProbeISA -- No probing of the standard ISA I/O Addresses will be
  1158.   done, and hence only PCI Host Adapters will be detected.
  1159.  
  1160.   NoSortPCI -- PCI Host Adapters will be enumerated in the order
  1161.   provided by the PCI BIOS, ignoring any setting of the AutoSCSI "Use
  1162.   Bus And Device # For PCI Scanning Seq." option.
  1163.  
  1164.   4.2.9.  EATA SCSI Cards (`eata=')
  1165.  
  1166.   As of late v2.0 kernels, the EATA drivers will accept a boot argument
  1167.   to specify the i/o base(s) to be probed. It is of the form:
  1168.  
  1169.   ______________________________________________________________________
  1170.           eata=iobase1[,iobase2][,iobase3]...[,iobaseN]
  1171.   ______________________________________________________________________
  1172.  
  1173.   The driver will probe the addresses in the order that they are listed.
  1174.  
  1175.   4.2.10.  Future Domain TMC-8xx, TMC-950 (`tmc8xx=')
  1176.  
  1177.   The probe code for these SCSI hosts looks for an installed BIOS, and
  1178.   if none is present, the probe will not find your card. Or, if the
  1179.   signature string of your BIOS is not recognized then it will also not
  1180.   be found. In either case, you will then have to use a boot arg of the
  1181.   form:
  1182.  
  1183.   ______________________________________________________________________
  1184.           tmc8xx=mem_base,irq
  1185.   ______________________________________________________________________
  1186.  
  1187.   The mem_base value is the value of the memory mapped I/O region that
  1188.   the card uses. This will usually be one of the following values:
  1189.   0xc8000, 0xca000, 0xcc000, 0xce000, 0xdc000, 0xde000.
  1190.  
  1191.   4.2.11.  Future Domain TMC-16xx, TMC-3260, AHA-2920 (`fdomain=')
  1192.  
  1193.   The driver detects these cards according to a list of known BIOS ROM
  1194.   signatures. For a full list of known BIOS revisions, please see
  1195.   linux/drivers/scsi/fdomain.c as it has a lot of information at the top
  1196.   of that file. If your BIOS is not known to the driver, you can use an
  1197.   override of the form:
  1198.  
  1199.   ______________________________________________________________________
  1200.           fdomain=iobase,irq[,scsi_id]
  1201.   ______________________________________________________________________
  1202.  
  1203.   4.2.12.  IOMEGA Parallel Port / ZIP drive (`ppa=')
  1204.  
  1205.   This driver is for the IOMEGA Parallel Port SCSI adapter which is
  1206.   embedded into the IOMEGA ZIP drives. It may also work with the
  1207.   original IOMEGA PPA3 device. The boot argument for this driver is of
  1208.   the form:
  1209.  
  1210.   ______________________________________________________________________
  1211.           ppa=iobase,speed_high,speed_low,nybble
  1212.   ______________________________________________________________________
  1213.  
  1214.   with all but iobase being optionally specified values. If you wish to
  1215.   alter any of the three optional parameters, you are advised to read
  1216.   linux/drivers/scsi/README.ppa for details of what they control.
  1217.  
  1218.   4.2.13.  NCR5380 based controllers (`ncr5380=')
  1219.  
  1220.   Depending on your board, the 5380 can be either i/o mapped or memory
  1221.   mapped. (An address below 0x400 usually implies i/o mapping, but PCI
  1222.   and EISA hardware use i/o addresses above 0x3ff.) In either case, you
  1223.   specify the address, the IRQ value and the DMA channel value. An
  1224.   example for an i/o mapped card would be: ncr5380=0x350,5,3. If the
  1225.   card doesn't use interrupts, then an IRQ value of 255 (0xff) will
  1226.   disable interrupts. An IRQ value of 254 means to autoprobe. More
  1227.   details can be found in the file linux/drivers/scsi/README.g_NCR5380
  1228.  
  1229.   4.2.14.  NCR53c400 based controllers (`ncr53c400=')
  1230.  
  1231.   The generic 53c400 support is done with the same driver as the generic
  1232.   5380 support mentioned above. The boot argument is identical to the
  1233.   above with the exception that no DMA channel is used by the 53c400.
  1234.  
  1235.   4.2.15.  NCR53c406a based controllers (`ncr53c406a=')
  1236.  
  1237.   This driver uses a boot argument of the form:
  1238.  
  1239.   ______________________________________________________________________
  1240.           ncr53c406a=PORTBASE,IRQ,FASTPIO
  1241.   ______________________________________________________________________
  1242.  
  1243.   where the IRQ and FASTPIO parameters are optional. An interrupt value
  1244.   of zero disables the use of interrupts. Using a value of one for the
  1245.   FASTPIO parameter enables the use of insl and outsl instructions
  1246.   instead of the single-byte inb and outb instructions. The driver can
  1247.   also use DMA as a compile-time option.
  1248.  
  1249.   4.2.16.  Pro Audio Spectrum (`pas16=')
  1250.  
  1251.   The PAS16 uses a NCR5380 SCSI chip, and newer models support jumper-
  1252.   less configuration. The boot arg is of the form:
  1253.  
  1254.   ______________________________________________________________________
  1255.           pas16=iobase,irq
  1256.   ______________________________________________________________________
  1257.  
  1258.   The only difference is that you can specify an IRQ value of 255, which
  1259.   will tell the driver to work without using interrupts, albeit at a
  1260.   performance loss. The iobase is usually 0x388.
  1261.  
  1262.   4.2.17.  Seagate ST-0x (`st0x=')
  1263.  
  1264.   The probe code for these SCSI hosts looks for an installed BIOS, and
  1265.   if none is present, the probe will not find your card. Or, if the
  1266.   signature string of your BIOS is not recognized then it will also not
  1267.   be found. In either case, you will then have to use a boot arg of the
  1268.   form:
  1269.  
  1270.   ______________________________________________________________________
  1271.           st0x=mem_base,irq
  1272.   ______________________________________________________________________
  1273.  
  1274.   The mem_base value is the value of the memory mapped I/O region that
  1275.   the card uses. This will usually be one of the following values:
  1276.   0xc8000, 0xca000, 0xcc000, 0xce000, 0xdc000, 0xde000.
  1277.  
  1278.   4.2.18.  Trantor T128 (`t128=')
  1279.  
  1280.   These cards are also based on the NCR5380 chip, and accept the
  1281.   following options:
  1282.  
  1283.   ______________________________________________________________________
  1284.           t128=mem_base,irq
  1285.   ______________________________________________________________________
  1286.  
  1287.   The valid values for mem_base are as follows: 0xcc000, 0xc8000,
  1288.   0xdc000, 0xd8000.
  1289.  
  1290.   4.2.19.  Ultrastor SCSI cards (`u14-34f=')
  1291.  
  1292.   Note that there appears to be two independent drivers for this card,
  1293.   namely CONFIG_SCSI_U14_34F that uses u14-34f.c and
  1294.   CONFIG_SCSI_ULTRASTOR that uses ultrastor.c. It is the u14-34f one
  1295.   that (as of late v2.0 kernels) accepts a boot argument of the form:
  1296.  
  1297.   ______________________________________________________________________
  1298.           u14-34f=iobase1[,iobase2][,iobase3]...[,iobaseN]
  1299.   ______________________________________________________________________
  1300.  
  1301.   The driver will probe the addresses in the order that they are listed.
  1302.  
  1303.   4.2.20.  Western Digital WD7000 cards (`wd7000=')
  1304.  
  1305.   The driver probe for the wd7000 looks for a known BIOS ROM string and
  1306.   knows about a few standard configuration settings.  If it doesn't come
  1307.   up with the correct values for your card, or you have an unrecognized
  1308.   BIOS version, you can use a boot argument of the form:
  1309.  
  1310.   ______________________________________________________________________
  1311.           wd7000=irq,dma,iobase
  1312.   ______________________________________________________________________
  1313.  
  1314.   4.3.  SCSI Host Adapters that don't Accept Boot Args
  1315.  
  1316.   At present, the following SCSI cards do not make use of any boot-time
  1317.   parameters. In some cases, you can hard-wire values by directly
  1318.   editing the driver itself, if required.
  1319.  
  1320.           Adaptec aha1740 (EISA probing),
  1321.           NCR53c7xx,8xx (PCI, both drivers)
  1322.           Qlogic Fast (0x230, 0x330)
  1323.           Qligic ISP (PCI)
  1324.  
  1325.   5.  Hard Disks
  1326.  
  1327.   This section lists all the boot args associated with standard MFM/RLL,
  1328.   ST-506, XT, and IDE disk drive devices.  Note that both the IDE and
  1329.   the generic ST-506 HD driver both accept the `hd=' option.
  1330.  
  1331.   5.1.  IDE Disk/CD-ROM Driver Parameters
  1332.  
  1333.   The IDE driver accepts a number of parameters, which range from disk
  1334.   geometry specifications, to support for advanced or broken controller
  1335.   chips. The following is a summary of all the possible boot arguments.
  1336.   For full details, you really should consult the file ide.txt in the
  1337.   linux/Documentation directory, from which this summary was extracted.
  1338.  
  1339.   ______________________________________________________________________
  1340.  
  1341.    "hdx="  is recognized for all "x" from "a" to "h", such as "hdc".
  1342.    "idex=" is recognized for all "x" from "0" to "3", such as "ide1".
  1343.  
  1344.    "hdx=noprobe"          : drive may be present, but do not probe for it
  1345.    "hdx=none"             : drive is NOT present, ignore cmos and do not probe
  1346.    "hdx=nowerr"           : ignore the WRERR_STAT bit on this drive
  1347.    "hdx=cdrom"            : drive is present, and is a cdrom drive
  1348.    "hdx=cyl,head,sect"    : disk drive is present, with specified geometry
  1349.    "hdx=autotune"         : driver will attempt to tune interface speed
  1350.                                   to the fastest PIO mode supported,
  1351.                                   if possible for this drive only.
  1352.                                   Not fully supported by all chipset types,
  1353.                                   and quite likely to cause trouble with
  1354.                                   older/odd IDE drives.
  1355.  
  1356.    "idex=noprobe"         : do not attempt to access/use this interface
  1357.    "idex=base"            : probe for an interface at the addr specified,
  1358.                                   where "base" is usually 0x1f0 or 0x170
  1359.                                   and "ctl" is assumed to be "base"+0x206
  1360.    "idex=base,ctl"        : specify both base and ctl
  1361.    "idex=base,ctl,irq"    : specify base, ctl, and irq number
  1362.    "idex=autotune"        : driver will attempt to tune interface speed
  1363.                                   to the fastest PIO mode supported,
  1364.                                   for all drives on this interface.
  1365.                                   Not fully supported by all chipset types,
  1366.                                   and quite likely to cause trouble with
  1367.                                   older/odd IDE drives.
  1368.    "idex=noautotune"      : driver will NOT attempt to tune interface speed
  1369.                                   This is the default for most chipsets,
  1370.                                   except the cmd640.
  1371.    "idex=serialize"       : do not overlap operations on idex and ide(x^1)
  1372.   ______________________________________________________________________
  1373.  
  1374.   The following are valid ONLY on ide0, and the defaults for the
  1375.   base,ctl ports must not be altered.
  1376.  
  1377.   ______________________________________________________________________
  1378.  
  1379.    "ide0=dtc2278"         : probe/support DTC2278 interface
  1380.    "ide0=ht6560b"         : probe/support HT6560B interface
  1381.    "ide0=cmd640_vlb"      : *REQUIRED* for VLB cards with the CMD640 chip
  1382.                             (not for PCI -- automatically detected)
  1383.    "ide0=qd6580"          : probe/support qd6580 interface
  1384.    "ide0=ali14xx"         : probe/support ali14xx chipsets (ALI M1439/M1445)
  1385.    "ide0=umc8672"         : probe/support umc8672 chipsets
  1386.   ______________________________________________________________________
  1387.  
  1388.   Everything else is rejected with a "BAD OPTION" message.
  1389.  
  1390.   5.2.  Standard ST-506 Disk Driver Options (`hd=')
  1391.  
  1392.   The standard disk driver can accept geometry arguments for the disks
  1393.   similar to the IDE driver. Note however that it only expects three
  1394.   values (C/H/S) -- any more or any less and it will silently ignore
  1395.   you. Also, it only accepts `hd=' as an argument, i.e. `hda=', `hdb='
  1396.   and so on are not valid here. The format is as follows:
  1397.  
  1398.   ______________________________________________________________________
  1399.           hd=cyls,heads,sects
  1400.   ______________________________________________________________________
  1401.  
  1402.   If there are two disks installed, the above is repeated with the
  1403.   geometry parameters of the second disk.
  1404.  
  1405.   5.3.  XT Disk Driver Options (`xd=')
  1406.  
  1407.   If you are unfortunate enough to be using one of these old 8 bit cards
  1408.   that move data at a whopping 125kB/s then here is the scoop.  The
  1409.   probe code for these cards looks for an installed BIOS, and if none is
  1410.   present, the probe will not find your card. Or, if the signature
  1411.   string of your BIOS is not recognized then it will also not be found.
  1412.   In either case, you will then have to use a boot arg of the form:
  1413.  
  1414.   ______________________________________________________________________
  1415.           xd=type,irq,iobase,dma_chan
  1416.   ______________________________________________________________________
  1417.  
  1418.   The type value specifies the particular manufacturer of the card, and
  1419.   are as follows: 0=generic; 1=DTC; 2,3,4=Western Digital,
  1420.   5,6,7=Seagate; 8=OMTI. The only difference between multiple types from
  1421.   the same manufacturer is the BIOS string used for detection, which is
  1422.   not used if the type is specified.
  1423.  
  1424.   The xd_setup() function does no checking on the values, and assumes
  1425.   that you entered all four values. Don't disappoint it.  Here is an
  1426.   example usage for a WD1002 controller with the BIOS disabled/removed,
  1427.   using the `default' XT controller parameters:
  1428.  
  1429.   ______________________________________________________________________
  1430.           xd=2,5,0x320,3
  1431.   ______________________________________________________________________
  1432.  
  1433.   6.  CD-ROMs (Non-SCSI/ATAPI/IDE)
  1434.  
  1435.   This section lists all the possible boot args pertaining to CD-ROM
  1436.   devices. Note that this does not include SCSI or IDE/ATAPI CD-ROMs.
  1437.   See the appropriate section(s) for those types of CD-ROMs.
  1438.  
  1439.   Note that most of these CD-ROMs have documentation files that you
  1440.   should read, and they are all in one handy place:
  1441.   linux/Documentation/cdrom.
  1442.   6.1.  The Aztech Interface (`aztcd=')
  1443.  
  1444.   The syntax for this type of card is:
  1445.  
  1446.   ______________________________________________________________________
  1447.           aztcd=iobase[,magic_number]
  1448.   ______________________________________________________________________
  1449.  
  1450.   If you set the magic_number to 0x79 then the driver will try and run
  1451.   anyway in the event of an unknown firmware version. All other values
  1452.   are ignored.
  1453.  
  1454.   6.2.  The CDU-31A and CDU-33A Sony Interface (`cdu31a=')
  1455.  
  1456.   This CD-ROM interface is found on some of the Pro Audio Spectrum sound
  1457.   cards, and other Sony supplied interface cards.  The syntax is as
  1458.   follows:
  1459.  
  1460.   ______________________________________________________________________
  1461.           cdu31a=iobase,[irq[,is_pas_card]]
  1462.   ______________________________________________________________________
  1463.  
  1464.   Specifying an IRQ value of zero tells the driver that hardware
  1465.   interrupts aren't supported (as on some PAS cards). If your card
  1466.   supports interrupts, you should use them as it cuts down on the CPU
  1467.   usage of the driver.
  1468.  
  1469.   The `is_pas_card' should be entered as `PAS' if using a Pro Audio
  1470.   Spectrum card, and otherwise it should not be specified at all.
  1471.  
  1472.   6.3.  The CDU-535 Sony Interface (`sonycd535=')
  1473.  
  1474.   The syntax for this CD-ROM interface is:
  1475.  
  1476.   ______________________________________________________________________
  1477.           sonycd535=iobase[,irq]
  1478.   ______________________________________________________________________
  1479.  
  1480.   A zero can be used for the I/O base as a `placeholder' if one wishes
  1481.   to specify an IRQ value.
  1482.  
  1483.   6.4.  The GoldStar Interface (`gscd=')
  1484.  
  1485.   The syntax for this CD-ROM interface is:
  1486.  
  1487.   ______________________________________________________________________
  1488.           gscd=iobase
  1489.   ______________________________________________________________________
  1490.  
  1491.   6.5.  The ISP16 Interface (`isp16=')
  1492.  
  1493.   The syntax for this CD-ROM interface is:
  1494.  
  1495.   ______________________________________________________________________
  1496.           isp16=[port[,irq[,dma]]][[,]drive_type]
  1497.   ______________________________________________________________________
  1498.  
  1499.   Using a zero for irq or dma means that they are not used. The
  1500.   allowable values for drive_type are noisp16, Sanyo, Panasonic, Sony,
  1501.   and Mitsumi.  Using noisp16 disables the driver altogether.
  1502.  
  1503.   6.6.  The Mitsumi Standard Interface (`mcd=')
  1504.  
  1505.   The syntax for this CD-ROM interface is:
  1506.  
  1507.   ______________________________________________________________________
  1508.           mcd=iobase,[irq[,wait_value]]
  1509.   ______________________________________________________________________
  1510.  
  1511.   The wait_value is used as an internal timeout value for people who are
  1512.   having problems with their drive, and may or may not be implemented
  1513.   depending on a compile time DEFINE.
  1514.  
  1515.   6.7.  The Mitsumi XA/MultiSession Interface (`mcdx=')
  1516.  
  1517.   At present this `experimental' driver has a setup function, but no
  1518.   parameters are implemented yet (as of 1.3.15).  This is for the same
  1519.   hardware as above, but the driver has extended features.
  1520.  
  1521.   6.8.  The Optics Storage Interface (`optcd=')
  1522.  
  1523.   The syntax for this type of card is:
  1524.  
  1525.   ______________________________________________________________________
  1526.           optcd=iobase
  1527.   ______________________________________________________________________
  1528.  
  1529.   6.9.  The Phillips CM206 Interface (`cm206=')
  1530.  
  1531.   The syntax for this type of card is:
  1532.  
  1533.   ______________________________________________________________________
  1534.           cm206=[iobase][,irq]
  1535.   ______________________________________________________________________
  1536.  
  1537.   The driver assumes numbers between 3 and 11 are IRQ values, and
  1538.   numbers between 0x300 and 0x370 are I/O ports, so you can specify one,
  1539.   or both numbers, in any order.  It also accepts `cm206=auto' to enable
  1540.   autoprobing.
  1541.  
  1542.   6.10.  The Sanyo Interface (`sjcd=')
  1543.  
  1544.   The syntax for this type of card is:
  1545.  
  1546.   ______________________________________________________________________
  1547.           sjcd=iobase[,irq[,dma_channel]]
  1548.   ______________________________________________________________________
  1549.  
  1550.   6.11.  The SoundBlaster Pro Interface (`sbpcd=')
  1551.  
  1552.   The syntax for this type of card is:
  1553.  
  1554.   ______________________________________________________________________
  1555.           sbpcd=iobase,type
  1556.   ______________________________________________________________________
  1557.  
  1558.   where type is one of the following (case sensitive) strings:
  1559.   `SoundBlaster', `LaserMate', or `SPEA'.  The I/O base is that of the
  1560.   CD-ROM interface, and not that of the sound portion of the card.
  1561.  
  1562.   7.  Other Hardware Devices
  1563.  
  1564.   Any other devices that didn't fit into any of the above categories got
  1565.   lumped together here.
  1566.  
  1567.   7.1.  Ethernet Devices (`ether=')
  1568.  
  1569.   Different drivers make use of different parameters, but they all at
  1570.   least share having an IRQ, an I/O port base value, and a name. In its
  1571.   most generic form, it looks something like this:
  1572.  
  1573.   ______________________________________________________________________
  1574.           ether=irq,iobase[,param_1[,param_2,...param_8]]],name
  1575.   ______________________________________________________________________
  1576.  
  1577.   The first non-numeric argument is taken as the name.  The param_n
  1578.   values (if applicable) usually have different meanings for each
  1579.   different card/driver.  Typical param_n values are used to specify
  1580.   things like shared memory address, interface selection, DMA channel
  1581.   and the like.
  1582.  
  1583.   The most common use of this parameter is to force probing for a second
  1584.   ethercard, as the default is to only probe for one. This can be
  1585.   accomplished with a simple:
  1586.  
  1587.   ______________________________________________________________________
  1588.           ether=0,0,eth1
  1589.   ______________________________________________________________________
  1590.  
  1591.   Note that the values of zero for the IRQ and I/O base in the above
  1592.   example tell the driver(s) to autoprobe.
  1593.  
  1594.   Note that the Ethernet-HowTo has complete and extensive documentation
  1595.   on using multiple cards and on the card/driver specific implementation
  1596.   of the param_n values where used. Interested readers should refer to
  1597.   the section in that document on their particular card for more
  1598.   complete information.
  1599.  
  1600.   7.2.  The Floppy Disk Driver (`floppy=')
  1601.  
  1602.   There are many floppy driver options, and they are all listed in
  1603.   README.fd in linux/drivers/block. This information is taken directly
  1604.   from that file.
  1605.  
  1606.   floppy=mask,allowed_drive_mask
  1607.  
  1608.   Sets the bitmask of allowed drives to mask. By default, only units 0
  1609.   and 1 of each floppy controller are allowed. This is done because
  1610.   certain non-standard hardware (ASUS PCI motherboards) mess up the
  1611.   keyboard when accessing units 2 or 3. This option is somewhat
  1612.   obsoleted by the cmos option.
  1613.  
  1614.   floppy=all_drives
  1615.  
  1616.   Sets the bitmask of allowed drives to all drives. Use this if you have
  1617.   more than two drives connected to a floppy controller.
  1618.  
  1619.   floppy=asus_pci
  1620.  
  1621.   Sets the bitmask to allow only units 0 and 1. (The default)
  1622.  
  1623.   floppy=daring
  1624.  
  1625.   Tells the floppy driver that you have a well behaved floppy
  1626.   controller.  This allows more efficient and smoother operation, but
  1627.   may fail on certain controllers. This may speed up certain operations.
  1628.  
  1629.   floppy=0,daring
  1630.  
  1631.   Tells the floppy driver that your floppy controller should be used
  1632.   with caution.
  1633.  
  1634.   floppy=one_fdc
  1635.  
  1636.   Tells the floppy driver that you have only floppy controller (default)
  1637.  
  1638.   floppy=two_fdc or floppy=address,two_fdc
  1639.  
  1640.   Tells the floppy driver that you have two floppy controllers. The
  1641.   second floppy controller is assumed to be at address. If address is
  1642.   not given, 0x370 is assumed.
  1643.  
  1644.   floppy=thinkpad
  1645.  
  1646.   Tells the floppy driver that you have a Thinkpad. Thinkpads use an
  1647.   inverted convention for the disk change line.
  1648.   floppy=0,thinkpad
  1649.  
  1650.   Tells the floppy driver that you don't have a Thinkpad.
  1651.  
  1652.   floppy=drive,type,cmos
  1653.  
  1654.   Sets the cmos type of drive to type.  Additionally, this drive is
  1655.   allowed in the bitmask. This is useful if you have more than two
  1656.   floppy drives (only two can be described in the physical cmos), or if
  1657.   your BIOS uses non-standard CMOS types.  Setting the CMOS to 0 for the
  1658.   first two drives (default) makes the floppy driver read the physical
  1659.   cmos for those drives.
  1660.  
  1661.   floppy=unexpected_interrupts
  1662.  
  1663.   Print a warning message when an unexpected interrupt is received
  1664.   (default behaviour)
  1665.  
  1666.   floppy=no_unexpected_interrupts or floppy=L40SX
  1667.  
  1668.   Don't print a message when an unexpected interrupt is received. This
  1669.   is needed on IBM L40SX laptops in certain video modes. (There seems to
  1670.   be an interaction between video and floppy. The unexpected interrupts
  1671.   only affect performance, and can safely be ignored.)
  1672.  
  1673.   7.3.  The Sound Driver (`sound=')
  1674.  
  1675.   The sound driver can also accept boot args to override the compiled in
  1676.   values. This is not recommended, as it is rather complex. It is
  1677.   described in the Readme.Linux file, in linux/drivers/sound. It accepts
  1678.   a boot arg of the form:
  1679.  
  1680.   ______________________________________________________________________
  1681.           sound=device1[,device2[,device3...[,device11]]]
  1682.   ______________________________________________________________________
  1683.  
  1684.   where each deviceN value is of the following format 0xTaaaId and the
  1685.   bytes are used as follows:
  1686.  
  1687.   T - device type: 1=FM, 2=SB, 3=PAS, 4=GUS, 5=MPU401, 6=SB16,
  1688.   7=SB16-MPU401
  1689.  
  1690.   aaa - I/O address in hex.
  1691.  
  1692.   I - interrupt line in hex (i.e 10=a, 11=b, ...)
  1693.  
  1694.   d - DMA channel.
  1695.  
  1696.   As you can see it gets pretty messy, and you are better off to compile
  1697.   in your own personal values as recommended. Using a boot arg of
  1698.   `sound=0' will disable the sound driver entirely.
  1699.  
  1700.   7.4.  The Bus Mouse Driver (`bmouse=')
  1701.  
  1702.   The busmouse driver only accepts one parameter, that being the
  1703.   hardware IRQ value to be used.
  1704.  
  1705.   7.5.  The MS Bus Mouse Driver (`msmouse=')
  1706.  
  1707.   The MS mouse driver only accepts one parameter, that being the
  1708.   hardware IRQ value to be used.
  1709.  
  1710.   7.6.  The Printer Driver (`lp=')
  1711.  
  1712.   As of kernels newer than 1.3.75, you can tell the printer driver what
  1713.   ports to use and what ports not to use. The latter comes in handy if
  1714.   you don't want the printer driver to claim all available parallel
  1715.   ports, so that other drivers (e.g. PLIP, PPA) can use them instead.
  1716.  
  1717.   The format of the argument is multiple i/o, IRQ pairs. For example,
  1718.   lp=0x3bc,0,0x378,7 would use the port at 0x3bc in IRQ-less (polling)
  1719.   mode, and use IRQ 7 for the port at 0x378. The port at 0x278 (if any)
  1720.   would not be probed, since autoprobing only takes place in the absence
  1721.   of a `lp=' argument. To disable the printer driver entirely, one can
  1722.   use lp=0.
  1723.  
  1724.   7.7.  The ICN ISDN driver (`icn=')
  1725.  
  1726.   This ISDN driver expects a boot argument of the form:
  1727.  
  1728.   ______________________________________________________________________
  1729.           icn=iobase,membase,icn_id1,icn_id2
  1730.   ______________________________________________________________________
  1731.  
  1732.   where iobase is the i/o port address of the card, membase is the
  1733.   shared memory base address of the card, and the two icn_id are unique
  1734.   ASCII string identifiers.
  1735.  
  1736.   7.8.  The PCBIT ISDN driver (`pcbit=')
  1737.  
  1738.   This boot argument takes integer pair arguments of the form:
  1739.  
  1740.   ______________________________________________________________________
  1741.           pcbit=membase1,irq1[,membase2,irq2]
  1742.   ______________________________________________________________________
  1743.  
  1744.   where membaseN is the shared memory base of the N'th card, and irqN is
  1745.   the interrupt setting of the N'th card. The default is IRQ 5 and
  1746.   membase 0xD0000.
  1747.  
  1748.   7.9.  The Teles ISDN driver (`teles=')
  1749.  
  1750.   This ISDN driver expects a boot argument of the form:
  1751.  
  1752.   ______________________________________________________________________
  1753.           teles=iobase,irq,membase,protocol,teles_id
  1754.   ______________________________________________________________________
  1755.  
  1756.   where iobase is the i/o port address of the card, membase is the
  1757.   shared memory base address of the card, irq is the interrupt channel
  1758.   the card uses, and teles_id is the unique ASCII string identifier.
  1759.  
  1760.   7.10.  The DigiBoard Driver (`digi=')
  1761.  
  1762.   The DigiBoard driver accepts a string of six comma separated
  1763.   identifiers or integers.  The 6 values in order are:
  1764.  
  1765.           Enable/Disable this card
  1766.           Type of card: PC/Xi(0), PC/Xe(1), PC/Xeve(2), PC/Xem(3)
  1767.           Enable/Disable alternate pin arrangement
  1768.           Number of ports on this card
  1769.           I/O Port where card is configured (in HEX if using string identifiers)
  1770.           Base of memory window (in HEX if using string identifiers)
  1771.  
  1772.   An example of a correct boot prompt argument (in both identifier and
  1773.   integer form) is:
  1774.  
  1775.   ______________________________________________________________________
  1776.           digi=E,PC/Xi,D,16,200,D0000
  1777.           digi=1,0,0,16,512,851968
  1778.   ______________________________________________________________________
  1779.  
  1780.   Note that the driver defaults to an i/o of 0x200 and a shared memory
  1781.   base of 0xD0000 in the absence of a digi= boot argument.  There is no
  1782.   autoprobing performed. More details can be found in the file
  1783.   linux/Documentation/digiboard.txt.
  1784.  
  1785.   7.11.  The RISCom/8 Multiport Serial Driver (`riscom8=')
  1786.  
  1787.   Up to four boards can be supported by supplying four unique i/o port
  1788.   values for each individual board installed.  Other details can be
  1789.   found in the file linux/Documentation/riscom8.txt.
  1790.  
  1791.   7.12.  The Baycom Serial/Parallel Radio Modem (`baycom=')
  1792.  
  1793.   The format of the boot argument for these devices is:
  1794.  
  1795.   ______________________________________________________________________
  1796.           baycom=modem,io,irq,options[,modem,io,irq,options]
  1797.   ______________________________________________________________________
  1798.  
  1799.   Using modem=1 means you have the ser12 device, modem=2 means you have
  1800.   the par96 device. Using options=0 means use hardware DCD, and
  1801.   options=1 means use software DCD. The io and irq are the i/o port base
  1802.   and interrupt settings as usual.  There is more details in the file
  1803.   README.baycom which is currently in the /linux/drivers/char/
  1804.   directory.
  1805.  
  1806.   8.  Closing
  1807.  
  1808.   If you have found any glaring typos, or outdated info in this
  1809.   document, please let me know. It is easy to overlook stuff.
  1810.  
  1811.   Thanks,
  1812.  
  1813.   Paul Gortmaker, gpg109@rsphy1.anu.edu.au
  1814.  
  1815.