home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / NetBSD / docs-netbsd / 386BSD-FAQ / BSD-FAQ-part06 < prev    next >
Text File  |  1994-11-27  |  22KB  |  611 lines

  1. Archive-name: 386bsd-faq/part6
  2.  
  3. Section 5.    (Kernel Replacements)
  4.  
  5. 5.0    Introduction
  6.  
  7.     This section is supposed to document the unusual or optional
  8.     kernel add-ons that are available from various places.  As 
  9.     they are included in the mainstream of the various Berkeley
  10.     Net Release systems, they will slowly come out of here.
  11.  
  12.     If you know of any replacement parts for the kernel, please 
  13.     send Dave Burgess (burgess@hrd769.brooks.af.mil) a message 
  14.     detailing the package (possibly include a README), where it 
  15.     can be found, and what version of the OS (ie. NetBSD, 
  16.     386bsd 0.1 + pk 0.2, FreeBSD) it was designed to run under.
  17.  
  18.     When the exact directory is not listed for a package, the
  19.     places to look on agate.berkeley.edu are in unofficial/drivers
  20.     and unofficial/from-ref/sys.extras.
  21.  
  22.     Many a goodie can be found in these directories.
  23.  
  24.  
  25. 5.1    Available Kernel Replacements
  26.  
  27.  
  28. 5.1.1    keycap/codrv
  29.  
  30.     These server as replacements for the generic pccons driver
  31.     that comes (by default) with 386bsd 0.1.
  32.  
  33.     Holger Veit (author of these) writes:
  34.  
  35.     "The same type of driver, but keycap has the version number 0.1.1
  36.     and codrv has the version number 0.1.2.  The latter is much 
  37.     improved and downward compatible.  Codrv was developed to provide
  38.     a universal way of mapping national keyboard layouts during
  39.     runtime (ie, not by patching the kernel tables) and providing
  40.     better X11 support.  Codrv uses a superset of the pc3 terminal 
  41.     emulation, and a termcap-like database for keymaps (therefore
  42.     "keycap").  X11 is supported by two dedicated console raw devices
  43.     /dev/kbd and /dev/vga, which avoids all the existing problems
  44.     pccons has with X11.  The latest version has virtual consoles.
  45.     Codrv will become part of patchkit 0.2.4"
  46.  
  47.     This package is available on agate.berkeley.edu.
  48.  
  49.     
  50.  
  51. 5.1.2    pcvt
  52.  
  53.     A superset of pccons, this driver supports virtual consoles, 
  54.     and some form of database oriented keyboard mappings.  It was
  55.     also designed to emulate a vt220 terminal as best as possible.
  56.  
  57.     Joerg Wunsch, the author of pcvt <joerg_wunsch@tcd-dresden.de>
  58.     has sent us this update.
  59.  
  60.     I've arranged irz301.inf.tu-dresden.de [141.76.4.1] as the 
  61.     `official' ftp server for the pcvt console driver, as long as 
  62.     there are several different drivers.  The stuff is under 
  63.     ~ftp/pub/unix/386bsd/pcvt, along with some recent (still 
  64.     unofficial) patches to be compatible with XFree86.  Everything 
  65.     is scheduled with the author, Hellmuth Michaelis.
  66.  
  67.     I'm not the official maintainer of that ftp site, so I must ask 
  68.     the folks there to help me.  This might delay recent changes; 
  69.     before they're merged into the official server tree, they can 
  70.     be found in ~ftp/pub/incoming/unix/386bsd.
  71.  
  72.     The Dresden University has only a thin wire to outside.  Any 
  73.     mirroring site, especially in US, would be appreciated.  The 
  74.     space requirements are less, only 2 or 3 Meg.  Maybe I'll upload 
  75.     a `generic' kernel configured with pcvt there some day.
  76.  
  77.     all the best, J"org <joerg_wunsch@uriah.sax.de>
  78.  
  79.     I heard a rumor that pcvt is now included in the source 
  80.     distribution for NetBSD.
  81.  
  82.  
  83. 5.1.3    syscons
  84.  
  85.     Another superset of pccons that was designed to emulate SCO as
  86.     well as possible.  Many of the ioctls from SysV have been 
  87.     implemented.  XFree86 2.0 no longer requires special patches 
  88.     to be run with kernels using this console driver.  Available on 
  89.     agate.
  90.  
  91.  
  92. 5.1.4    Fast Symbolic Links
  93.  
  94.     The following is taken from the README for the fast sym-links
  95.     patch:
  96.  
  97.     "This cruddy but complete hack answers one of the objections to
  98.      symlinks: that they are slow, and cost an entire frag.  Symlinks
  99.      of less than length 60 are stored in the inode itself.  Symlinks
  100.      longer than this are still in the inode.  To make the illusion
  101.      of normality complete, dump and fsck also need changing.  
  102.      Additionally, I made dumpfs verbose to excess."
  103.  
  104.     Available on agate.
  105.  
  106.     Fast Symbolic Links are supported natively in FreeBSD and NetBSD.
  107.  
  108.  
  109. 5.1.5    npx fixes
  110.  
  111.     There are problems with the floating point error handling 
  112.     routines, and there are fixes available for this problem provided
  113.     by Bruce Evans (of Minix-386 fame)
  114.  
  115.     The code for these fixes is available on agate.berkeley.edu
  116.     in unofficial/from-ref/sys.extras/bde-npx.
  117.  
  118.     Note that most of the code is applicable to floating point hardware
  119.     as opposed to emulation.
  120.  
  121.     The newest version (and now official) fixes to this are in
  122.     patchkit-0.2.4.
  123.  
  124.     There are still some nits in the npx emulation code in both FreeBSD
  125.     and NetBSD.  They are being worked on.
  126.  
  127.  
  128. 5.1.6    CGD's COM drivers
  129.  
  130.     Chris G. Demetriou (cgd@blah blah blah) has written some COM drivers
  131.     for 386bsd.  These, among other things, support multi-port serial
  132.     packages.
  133.  
  134.     The latest (and last) version is 0.2, and is available on agate
  135.     in unofficial/from-ref/sys.extras/cgd-com-ports.  Please note that
  136.     this is not going be developed any further by the author, and no 
  137.     new versions will appear.  Users who do not absolutely need the
  138.     features this provides are encouraged to use the newest drivers
  139.     that come with the patch-kits.
  140.  
  141.     This driver was the basis for the FreeBSD com subsystem.  NetBSD
  142.     does not use them.  There are patch files around (E-Mail me; I have
  143.     them) that added some of the missing functionality to NetBSD.
  144.     Multiport comm support is included in both FreeBSD and NetBSD.
  145.  
  146.  
  147. 5.1.7    Tom Ivar Helbekkmo's wd.c replacement
  148.  
  149.     Tom Ivar Helbekkmo (tih@barsoom.nhh.no) has rewritten much of the
  150.     386bsd 0.1 wd.c file that handles common hard disks, and added 
  151.     many new features to the code.
  152.  
  153.     The patches to use these can be obtained from barsoom.nhh.no
  154.     in pub/386bsd.  Users should consult the README file for more
  155.     information.
  156.  
  157.     Also, it should be noted that NetBSD uses these drivers as their
  158.     stock drivers.
  159.  
  160.     FreeBSD uses similar changes.
  161.  
  162.  
  163. 5.1.8    Interruptless LPT Driver Kit
  164.  
  165.     An Interruptless lpr driver kit is available from agate.berkeley.edu
  166.     in unofficial/drivers/lpt.
  167.  
  168.     This driver was designed with faster performance and lower system
  169.     load in mind.  See the INSTALL-NOTES that come with the package
  170.     for more details and installation information.
  171.  
  172.     This is also included in NetBSD and FreeBSD.  Note that with some
  173.     printers, it may be prefereable to ignore the status port and rely
  174.     on the data port.  If you have tried everything else and the
  175.     interruptless printer driver still does not work for you, you may
  176.     need to play with this.
  177.  
  178.     It has also been determined that the interruptless driver may be
  179.     (or already has been) removed from the system.  A newer lpt driver
  180.     has been developed that removes many of the overhead problems that
  181.     the original 386bsd lpt driver had.
  182.  
  183.  
  184. 5.2    Floppy Disk problems.
  185.  
  186.     One of the most common problems in 386BSD involves working with 
  187.     new boot sector and/or reformatting a floppy.  Dave Silvia 
  188.     provided this section on using floppy disks.
  189.  
  190.  
  191. 5.2.1    How do I get a bootable floppy?
  192.  
  193.     Several ways, ranging from brain-dead-but-works to simplest.  
  194.     Classification into categories is left to the reader (is there 
  195.     really a difference between 'brain-dead' and 'simple'?:')
  196.  
  197.     1) rawrite (or dd) dist.fs (or fixit.fs) to a disk,
  198.        mount it, cd to the mount point, and execute:
  199.  
  200.         rm -rf .
  201.  
  202.        you now have a bootable floppy!;^}
  203.  
  204.     2) Take your existing dist.fs or fixit.fs boot disk and
  205.        diskcopy it on a DOS machine.  Mount and rm as in 1)
  206.        above.  Again, you have a bootable floppy!;^}
  207.  
  208.     3) Run disklabel on the floppy, e.g.:
  209.  
  210.         disklabel -w -r fd0a floppy5
  211.  
  212.        where 'floppy5' is a 'name' for an entry in the /etc/disktab
  213.        file.  You'll get a couple of ioctl errors because writing a 
  214.        label to a floppy isn't supported (yet?), but the boot blocks 
  215.        have indeed been written.
  216.  
  217.     4) Write the boot blocks to the floppy:
  218.  
  219.         cat /usr/mdec/fdboot /usr/mdec/bootfd | dd of=/dev/rfd0a
  220.  
  221.        or, more simply:
  222.  
  223.         cat /usr/mdec/fdboot /usr/mdec/bootfd > /dev/rfd0a
  224.  
  225.     Methods 3) and 4) require you to run newfs on the floppy, e.g.:
  226.  
  227.     newfs /dev/rfd0a floppy5
  228.  
  229.     If you have a floppy that was originally bootable, but the boot
  230.     blocks were somehow damaged, you can use method 3) or 4) to
  231.     restore boot-ability (do _NOT_ run newfs).  You _could_, through
  232.     the convolutions of copying a floppy whose boot blocks are damaged
  233.     to a temporary location and then re-copying to a bootable floppy,
  234.     use method 1) or 2) (if you really want to!;^})
  235.  
  236.     5)  If the disk is already newfs'ed and is otherwise ready to use,
  237.     disklabel will write the boot blocks on the disk.  Read the man page
  238.     for disklabel.
  239.  
  240.  
  241. 5.2.2    How do I maximize the space on a mountable floppy disk.
  242.  
  243.     As you all know, when you are working with a floppy, it is usually
  244.     more important that the floppy have a lot of room, rather than a
  245.     lot of other 'stuff'.  Here is the magic incantation that will
  246.     maximize the amount of free space on the disk.
  247.  
  248.         newfs -Tfloppy[35] -i[4096 | 8192] -c 80 /dev/fd[0|1]a
  249.  
  250.     This leaves the disk with fewer inodes and only one cylinder group.
  251.  
  252.  
  253. 5.3    Character Device Driver info
  254.  
  255.     These devices are also often referred to as character devices.
  256.     
  257. 5.3.1    Printers
  258.  
  259.     Configuring a parallel printer for 386bsd requires a working 
  260.     printer driver to be installed in the kernel.  386bsd 0.1 does 
  261.     not include a printer driver in the stock distribution kernel.
  262.     NetBSD and FreeBSD both include this driver in their stock 
  263.     manifestations.
  264.  
  265.     It is possible to connect a serial printer to either.  This brief
  266.     tutorial is provided by Daryl Berryhill 
  267.     (djberry2@b25info.b25.ingr.com)
  268.  
  269.     The way I got my printer to work.
  270.  
  271.     1) connect a 25 pin to 9 pin null modem cable to printer and 
  272.        computer.
  273.     2) set printer to 9600 baud, 7 data bits, even parity.
  274.     3) configure /dev/com1 (DOS COM2) port the same way as the printer
  275.     4) add a line to /etc/printcap that says:
  276.            lp|local line printer:\
  277.               :lp=/dev/com2:wq:sd=/var/spool/lpd:lf=/var/log/lpd-errs:\
  278.               :br#9600
  279.     5) type "lpr <add filename here>"
  280.     6) type "lpd"
  281.        and it should start printing.
  282.  
  283.     An obvious point, but make sure that you do NOT start a getty on 
  284.     on the com port.  Check the /etc/ttys file and make sure that 
  285.     the com port you select is not active.
  286.  
  287.     There have been many reports in the past of people not being able 
  288.     to get their parallel port printer working.  One of the problems
  289.     seems to be cables.  Another problem may be with the hardware.  
  290.     A seemingly stupid suggestion is to replace your printer card with
  291.     the cheapest parallel port card you can find.  I am using a $10
  292.     single parallel, two serial port card that I got from Altex.  
  293.     Works great.
  294.  
  295.  
  296. 5.3.2    Terminals/Keyboards
  297.  
  298.     Terminals are relatively simple to add.  It involves making sure the 
  299.     /etc/ttys file identifies the com port (com0, com00, or tty00 
  300.     depending on your configuration) as an active port and a getty is
  301.     running.  The man page for ttys and getty help explain this.
  302.  
  303.     Many people report that there are sometimes problems running some
  304.     programs on a remote terminal.  There are some known bugs in the
  305.     terminal handler where the parity and bits per character are 
  306.     concerned.  They are being worked on.
  307.  
  308.  
  309. 5.3.3    Modems
  310.  
  311.     How to add a modem to 386BSD:
  312.  
  313.     The first part that confused me was assuming that /dev/com1 is 
  314.     the same as DOS com1, they're not.  /dev/com0 is connected to 
  315.     COM1 and (I think) /dev/com1 is connected to COM2.
  316.  
  317.     The switch settings for my modem were the same as what I had 
  318.     under DOS, CTS CD RTS et al were set to follow the actual line 
  319.     (i.e. my modem can force them high, which I turn off)
  320.  
  321.     Ok that's not too bad.
  322.  
  323.     Now you need to edit the /etc/remote file to include a reference 
  324.     to the com port. I have only used NetBSD-0.8, so I'm not sure 
  325.     what the default files are like that come with the other rev's 
  326.     of 386BSD.
  327.  
  328.     I added the last line (with com0).
  329.     --------------------------------------------------------
  330.     #    @(#)remote    5.2 (Berkeley) 6/30/90
  331.     #
  332.  
  333.     ...stuff deleted...
  334.  
  335.     # UNIX system definitions
  336.     unix1200|1200 Baud dial-out to another UNIX system:\
  337.         :el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial1200:
  338.     unix300|300 Baud dial-out to another UNIX system:\
  339.         :el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial300:
  340.  
  341.     ...stuff deleted...
  342.  
  343.     dial2400|2400 Baud Hayes attributes:\
  344.             :dv=/dev/tty19:br#2400:cu=/dev/tty19:at=hayes:du:
  345.     dial1200|1200 Baud Hayes attributes:\
  346.             :dv=/dev/tty19:br#1200:cu=/dev/tty19:at=hayes:du:
  347.     
  348.     # Hardwired line
  349.     com1c|com1:dv=/dev/com1:br#9600:
  350.     com1b:dv=/dev/com1:br#2400:
  351.  
  352.     com0:com0:dv=/dev/com0:br#9600:at=hayes:
  353.     ------------------------------------------------
  354.  
  355.     Ok, now if you are running as root you can use type 'tip com0' 
  356.     and you should then be talking to your modem.  I use kermit to 
  357.     transfer files, and it wants to create a lock file in (not sure 
  358.     about the exact path) /var/spool/uucp/lock or something along 
  359.     those lines.  I made the directory world writeable so I could 
  360.     run kermit with my own uid, rather than root.
  361.  
  362.     Also, you may need to add an entry in /etc/remote for com0.
  363.  
  364.     Thanks also to thombsr@liciren.li.co.uk for information on how 
  365.     to do this.
  366.  
  367.     New problems have surfaced with the latest releases of NetBSD.
  368.     It seems that the paradigm that the com port used to use was
  369.     'less than complte' and much of the code has been replaced. 
  370.     This provides for some interesting new problems.  The first is
  371.     that the Carrier Detect line is no longer ignored, as it was
  372.     before.  This means that programs like kermit and tip/cu either
  373.     have to be told explicitly to ignore the CD line (in kermit,
  374.     for example, you would use the 'set carrier off' in your .kermrc)
  375.     or you need to use the 'stty -f /dev/com? clocal' command before
  376.     you open the port.
  377.  
  378.     If you have trouble getting the settings to 'stick' it is because
  379.     the ports are now initialized to known settings on the last close
  380.     of the port.  A workaround for this is to use the command:
  381.  
  382.         sleep 1000 < /dev/com?
  383.         tip ...
  384.          { or }
  385.         kermit ...
  386.  
  387.     This will keep the port open for about 12 minutes while you do 
  388.     whatever it is you need to do.  Once the port is open and your
  389.     connection established, the port will not reset until the final
  390.     close.
  391.  
  392.  
  393. 5.4    Tape Drives
  394.  
  395.     This section should help out for those of you that have either
  396.     never used tape drives before, or only have experience with them
  397.     as non-Unix devices.
  398.  
  399.  
  400. 5.4.1    Does the tape need to be formatted?
  401.  
  402.     It depends, but I think usually not.  And when it is necessary,
  403.     I don't know how it would be done.  One thing is for certain, 
  404.     though, first....  NEVER use the block devices..  erase them and 
  405.     forget you ever saw them.  All operations on tape should be to 
  406.     the character device (rst0).
  407.  
  408.  
  409. 5.4.2    If I execute the command 'st -f /dev/st0 status', I get:
  410.         Archive/Tandberg? tape drive, residual=0, blocksize=512
  411.         Density: high = 16 (0x10), medium = 15 (0xf), low = 5 (0x5)
  412.         ds=0
  413.         er=0
  414.  
  415.     so to write to tape at high-density (QIC-150), presumably I want 
  416.     to use a device with minor number +4 (in st.c, density is computed as
  417.     minor >> 2 & 0x03, where low density == 3 and high == 1):
  418.  
  419.     You have the idea.. density is controlled by bits 2 and 3
  420.  
  421.         00 = default
  422.         01 = hi density
  423.         10 = medium density
  424.         11 = low density, 
  425.  
  426.     Unless the driver knows about you kind of drive the density values
  427.     may need to be set by hand before they make any sense.
  428.  
  429.  
  430. 5.4.3    When is erst0 used?
  431.  
  432.     e stands for 'eject' and is bit 1 of the minor.. 
  433.     e.g. eject on close.. many devices can't actually do this.
  434.  
  435.     There is actually a method to this whole thing:
  436.  
  437.         r = raw        (rst0)
  438.         e = eject    (erst0)
  439.         n = No rewind    (nrst0 or maybe nerst0)
  440.  
  441.  
  442. 5.4.4    How is density (bpi) computed?  I am using 3M DC 6250 cassettes 
  443.     which have a 250MB capacity on the Viper 150.  But computing the 
  444.     bits/inch based on 250MB/tape-length (1020 ft.), I get a density 
  445.     of 171335 bpi, which is nowhere near the 10000 bpi associated 
  446.     with QIC-150 in the st(1) man page.  Why the discrepancy?
  447.  
  448.     These cartridge tapes are written in narrow tracks which 
  449.     alternately begin at opposite ends of the tape.  Track 0 starts 
  450.     at the beginning of the tape, and Track 1 starts at the other 
  451.     end, etc.
  452.  
  453.     So, how many times does the tape go backwards and forwards?  If 
  454.     there are 17 tracks, your density is 170000 bpi if it is 10000
  455.     bpi per track.  The more tracks, the lower the bpi/track.
  456.  
  457.  
  458. 5.4.5    How is an appropriate block size determined (and in what units 
  459.     are they specified in the st(1) command)?
  460.  
  461.     QIC 150 and below should stick to 512 byte blocks a write of 
  462.     1024 bytes from the program will be written as 2 512 byte blocks 
  463.     with no speed penalty.  dd will think it's writing a 1024 byte 
  464.     block but on tape it's 2 x 512.
  465.  
  466.     Stick to 512 on QIC 150 or less if you ever hope to swap data 
  467.     with anyone else.
  468.  
  469.  
  470. 5.4.6    From the 4.3BSD mtio(4) man page, it sounds like data is typically
  471.     (traditionally?) stored on tape in eof-terminated sequences of 
  472.     1K records.  
  473.  
  474. 5.4.6.1    Is st's notion of "file" the record sequence between two eof marks?  
  475.  
  476. 5.4.6.2    What about a "record"?  
  477.  
  478. 5.4.6.3    Is a "record" one "block", as determined by st's "blocksize" command?   
  479.     If not, what is the connection between them?  
  480.  
  481. 5.4.6.4    Can I change the "record" size?  
  482. 5.4.6.5    When would I want a block size that is different from the default?  
  483.     1KB is the size of writes used by dd or whatever.  QIC specifies 
  484.     512 byte records (well at least its what people use..)  Whatever 
  485.     you write in will be broken into 512 byte sections.  They must be 
  486.     multiples of 512 though.
  487.  
  488.     If you have written to a tape, a close will automatically append a 
  489.     filemark (eof mark).  You may read the 512 byte blocks back as 
  490.     512 byte records or as 1024 byte records (in which case you'll 
  491.     get 2 at once).  The bigger the unit, the more efficient.
  492.  
  493. 5.4.7.1    How do I write several archives to a single tape?  I tried without 
  494.     success:
  495.         $ st -f /dev/rst4 rewind
  496.         $ tar cf /dev/nst4 archive1
  497.         $ st -f /dev/nrst4 weof
  498.         $ tar cf /dev/nst4 archive2
  499.         $ st -f /dev/nrst4 weof
  500.  
  501.     First:  throw away the block devices.
  502.  
  503.     'n' stands for 'No-Rewind-on-close' and will leave the tape 
  504.     positioned ready for another file e.g.
  505.  
  506.         tar -cf /dev/nrst0 archive1
  507.         tar -cf /dev/nrst0 archive2
  508.  
  509.  
  510. 5.4.7.2    Later, I would expect to be able to access, say, archive3 via the fsf
  511.     directive to skip over the first two archives.  What is the correct
  512.     sequence?
  513.  
  514.         st -f /dev/nrst0 rewind
  515.         st -f /dev/nrst0 fsf 2
  516.         tar -xf /dev/rst0 {files}
  517.  
  518.  
  519. 5.4.8    Since the Viper 150 writes on QIC-150/120, I guess I don't need 
  520.     to worry about writing variable-length records?  How about reading 
  521.     a tape written with variable-length records.  Is this possible 
  522.     with the Viper?  If so, what's involved?
  523.  
  524.  
  525.     Who would have written it? :-)
  526.  
  527.     Presently you can't.  You`re right.  Don't worry about it.
  528.  
  529.     The new 'st' changes will change this somewhat, though.
  530.  
  531.  
  532. 5.4.9    The very scant documentation that came with my drive mentions
  533.     a "selectable buffer disconnect size," whose default is 16K.
  534.     This is evidently the "maximum number of bytes that can be 
  535.     sent over the SCSI bus during a single data transfer phase."  
  536.     What's that?  How is it connected st's "blocksize" command?  
  537.     Do I want to use 16K blocks, or might I even want to set the 
  538.     disconnect size to a higher value?
  539.  
  540.     This suggests that 32 512 blocks will be written at a time.
  541.     This jives with the tape format for some of the lower density 
  542.     cartridges (QIC-40 and 80, for example).  The tape is written 
  543.     in blocks of 32 512-byte blocks, with the last three being used
  544.     for Error Correction Codes.  
  545.  
  546.     Use dd or tar with 16 k blocks and 32 x 512 byte blocks will be 
  547.     written.
  548.  
  549. 5.4.10    What is "streaming"?  When I tar a directory of files to tape,
  550.     I notice that the tape often stops.  Streaming means it doesn't 
  551.     stop?  How would I get the viper 150 to stream using tar or cpio 
  552.     or dump?
  553.  
  554.     Use a bigger write size... (more efficient)  Try 16k blocks.
  555.  
  556.  
  557. 5.4.11    Where are all the answers to the above and related questions 
  558.     written down?  Neither on the net nor in the 4.3BSD manuals 
  559.     nor Administration text which I have could I find this stuff 
  560.     covered!
  561.  
  562.     They are in the FAQ :-)...
  563.  
  564.  
  565. 5.4.12    What else should I know?  For example, it seems that a new tape 
  566.     must stretched.  How is this done?
  567.  
  568.     Use a blowtorch and a pair of pliers;  or you can use the 
  569.     non-destructive method and run the tape through a complete fast 
  570.     forward/rewind cycle to get it tight on the spindles.
  571.  
  572.  
  573. 5.4.13    My tape drive doesn't work.  
  574.  
  575.     OK.  There are lots of reasons why it may not.  The most obvious is
  576.     that there are no devices associated with the device in the kernel.
  577.     You can check this through the use of the 'dmesg' command.  Look
  578.     for tape drives.
  579.  
  580.     If your tape drive is connected to your floppy controller, it may
  581.     or may not be supported.  Several manufacturers of QIC-40/QIC-80
  582.     minicartridge drives are supported natively in FreeBSD and 
  583.     experimentatlly in NetBSD.  Some aren't (mine for example, is not).
  584.  
  585.     If your tape drive is a SCSI based drive, your guess is as good as 
  586.     mine.  I don't have one.
  587.  
  588.  
  589. 5.5    Network
  590.  
  591.     Network devices for NetBSD and FreeBSD include many types of
  592.     Ethernet cards, as well as Serial Line IP and Point to Point
  593.     Protocol.
  594.  
  595. 5.5.1    How can I get my system to work as a network router?
  596.  
  597.     The first hurdle to overcome is that the default kernels do not
  598.     have the GATEWAY option compiled in.  Without this, it is very
  599.     nearly impossible to use the kernel as a router.
  600.  
  601.     Once you have the GATEWAY option compiled in, all sorts of things
  602.     magically start to work.  
  603. -- 
  604. ------
  605. TSgt Dave Burgess               | Dave Burgess
  606. NCOIC, USSTRATCOM/J6444         | *BSD FAQ Maintainer
  607. Offutt AFB, NE                  | Burgess@hrd769.brooks.af.mil
  608.  
  609.  
  610.  
  611.