Frequently Asked Questions for FreeBSD 2.X, 3.X and 4.X

The FreeBSD Documentation Project

This is the FAQ for FreeBSD versions 2.X, 3.X, and 4.X. All entries are assumed to be relevant to FreeBSD 2.0.5 and later, unless otherwise noted. Any entries with a <XXX> are under construction. If you are interested in helping with this project, send email to the FreeBSD documentation project mailing list . The latest version of this document is always available from the FreeBSD World Wide Web server. It may also be downloaded as one large HTML file with HTTP or as plain text, postscript, PDF, etc. from the FreeBSD FTP server. You may also want to Search the FAQ.


Table of Contents
Preface
1. Installation
2. Hardware compatibility
3. Troubleshooting
4. Commercial Applications
5. User Applications
6. Kernel Configuration
7. System Administration
8. The X Window System and Virtual Consoles
9. Networking
10. PPP
11. Serial Communications
12. Miscellaneous Questions
13. For serious FreeBSD hackers only
14. ACKNOWLEDGMENTS

Preface

Welcome to the FreeBSD 2.X-4.X FAQ!

As is usual with Usenet FAQs, this document aims to cover the most frequently asked questions concerning the FreeBSD operating system (and of course answer them!). Although originally intended to reduce bandwidth and avoid the same old questions being asked over and over again, FAQs have become recognized as valuable information resources.

Every effort has been made to make this FAQ as informative as possible; if you have any suggestions as to how it may be improved, please feel free to mail them to the FAQ Maintainer .

Q: What is FreeBSD?
Q: What are the goals of FreeBSD?
Q: Why is it called FreeBSD?
Q: What is the latest version of FreeBSD?
Q: What is FreeBSD-CURRENT?
Q: What is the FreeBSD-STABLE concept?
Q: When are FreeBSD releases made?
Q: Is FreeBSD only available for PCs ?
Q: Who is responsible for FreeBSD?
Q: Where can I get FreeBSD?
Q: Where do I find info on the FreeBSD mailing lists?
Q: Where do I find the FreeBSD Y2K info?
Q: What FreeBSD news groups are available?
Q: Are there FreeBSD IRC (Internet Relay Chat) channels?
Q: Books on FreeBSD
Q: How do I access your Problem Report database?
Q: Is the documentation available in other formats, such as plain text (ASCII), or Postscript?
Q: I'd like to become a FreeBSD Web mirror!
Q: I'd like to translate the documentation into Friesian.
Q: Other sources of information.

Q: What is FreeBSD?

A: Briefly, FreeBSD is a UN*X-like operating system for the i386 and Alpha/AXP platforms based on U.C. Berkeley's 4.4BSD-Lite release. It is also based indirectly on William Jolitz's port of U.C. Berkeley's Net/2 to the i386, known as 386BSD, though very little of the 386BSD code remains. A fuller description of what FreeBSD is and how it can work for you may be found on the FreeBSD home page.

FreeBSD is used by companies, Internet Service Providers, researchers, computer professionals, students and home users all over the world in their work, education and recreation. See some of them in the FreeBSD Gallery.

For more detailed information on FreeBSD, please see the FreeBSD Handbook.

Q: What are the goals of FreeBSD?

A: The goals of the FreeBSD Project are to provide software that may be used for any purpose and without strings attached. Many of us have a significant investment in the code (and project) and would certainly not mind a little financial compensation now and then, but we're definitely not prepared to insist on it. We believe that our first and foremost ``mission'' is to provide code to any and all comers, and for whatever purpose, so that the code gets the widest possible use and provides the widest possible benefit. This is, we believe, one of the most fundamental goals of Free Software and one that we enthusiastically support.

That code in our source tree which falls under the GNU General Public License (GPL) or GNU Library General Public License (LGPL) comes with slightly more strings attached, though at least on the side of enforced access rather than the usual opposite. Due to the additional complexities that can evolve in the commercial use of GPL software, we do, however, endeavor to replace such software with submissions under the more relaxed BSD copyright whenever possible.

Q: Why is it called FreeBSD?

A:

  • It may be used free of charge, even by commercial users.

  • Full source for the operating system is freely available, and the minimum possible restrictions have been placed upon its use, distribution and incorporation into other work (commercial or non-commercial).

  • Anyone who has an improvement and/or bug fix is free to submit their code and have it added to the source tree (subject to one or two obvious provisos).

  • For those of our readers whose first language is not English, it may be worth pointing out that the word ``free'' is being used in two ways here, one meaning ``at no cost'', the other meaning ``you can do whatever you like''. Apart from one or two things you cannot do with the FreeBSD code, for example pretending you wrote it, you really can do whatever you like with it.

Q: What is the latest version of FreeBSD?

A: Version 4.1.1 is the latest STABLE version; it was released in September, 2000. This is also the latest RELEASE version.

Briefly explained, -STABLE is aimed at the ISP or other corporate user who wants stability and a low change count over the wizzy new features of the latest -CURRENT snapshot. Releases can come from either branch, but you should only use -CURRENT if you're sure that you're prepared for its increased volatility (relative to -STABLE, that is).

Releases are only made every few months. While many people stay more up-to-date with the FreeBSD sources (see the questions on FreeBSD-CURRENT and FreeBSD-STABLE) than that, doing so is more of a commitment, as the sources are a moving target.

Q: What is FreeBSD-CURRENT?

A: FreeBSD-CURRENT is the development version of the operating system, which will in due course become 5.0-RELEASE. As such, it is really only of interest to developers working on the system and die-hard hobbyists. See the relevant section in the handbook for details on running -CURRENT.

If you are not familiar with the operating system or are not capable of identifying the difference between a real problem and a temporary problem, you should not use FreeBSD-CURRENT. This branch sometimes evolves quite quickly and can be un-buildable for a number of days at a time. People that use FreeBSD-CURRENT are expected to be able to analyze any problems and only report them if they are deemed to be mistakes rather than ``glitches''. Questions such as ``make world produces some error about groups'' on the -CURRENT mailing list are sometimes treated with contempt.

Every day, snapshot releases are made based on the current state of the -CURRENT and -STABLE branches. Nowadays, distributions of the occasional snapshot are now being made available. The goals behind each snapshot release are:

  • To test the latest version of the installation software.

  • To give people who would like to run -CURRENT or -STABLE but who don't have the time and/or bandwidth to follow it on a day-to-day basis an easy way of bootstrapping it onto their systems.

  • To preserve a fixed reference point for the code in question, just in case we break something really badly later. (Although CVS normally prevents anything horrible like this happening :)

  • To ensure that any new features in need of testing have the greatest possible number of potential testers.

No claims are made that any -CURRENT snapshot can be considered ``production quality'' for any purpose. If you want to run a stable and fully tested system, you will have to stick to full releases, or use the -STABLE snaphosts.

Snapshot releases are directly available from ftp://current.FreeBSD.org/pub/FreeBSD/ for 5.0-CURRENT and releng4.FreeBSD.org for 4-STABLE snapshots. 3-STABLE snapshots are not being produced at the time of this writing (May 2000).

Snapshots are generated, on the average, once a day for all actively developed branches.

Q: What is the FreeBSD-STABLE concept?

A: Back when FreeBSD 2.0.5 was released, we decided to branch FreeBSD development into two parts. One branch was named -STABLE, with the intention that only well-tested bug fixes and small incremental enhancements would be made to it (for Internet Service Providers and other commercial enterprises for whom sudden shifts or experimental features are quite undesirable). The other branch was -CURRENT, which essentially has been one unbroken line leading towards 5.0-RELEASE (and beyond) since 2.0 was released. If a little ASCII art would help, this is how it looks:

                     2.0
                      |
                      |
                      |  [2.1-STABLE]
     *BRANCH*       2.0.5 -> 2.1 -> 2.1.5 -> 2.1.6 -> 2.1.7.1  [2.1-STABLE ends]
                      |                            (Mar 1997)
                      |
                      |
                      |  [2.2-STABLE]
     *BRANCH*       2.2.1 -> 2.2.2-RELEASE -> 2.2.5 -> 2.2.6 -> 2.2.7 -> 2.2.8 [end]
                      |       (Mar 1997)    (Oct 97) (Apr 98) (Jul 98) (Dec 98)
                      |
                      |
                   3.0-SNAPs  (started Q1 1997)
                      |
                      |
                   3.0-RELEASE (Oct 1998)
                      |
                      |  [3.0-STABLE]
     *BRANCH*      3.1-RELEASE  (Feb 1999) -> 3.2 -> 3.3 -> 3.4 -> 3.5 -> 3.5.1
                      |                     (May 1999) (Sep 1999) (Dec 1999) (June 2000) (July 2000)
                      |
                      |  [4.0-STABLE]
     *BRANCH*        4.0  (Mar 2000) -> 4.1 -> 4.1.1 -> ... future 4.x releases ...
                      |
                      |              (July 2000)   (Sep 2000)
                     \|/
                      +
              [5.0-CURRENT continues]

The -CURRENT branch is slowly progressing towards 5.0 and beyond, the previous 2.2-STABLE branch having been retired with the release of 2.2.8. 3-STABLE replaced it, with 3.5.1 (the final 3.X release) being released in July 2000. In May 2000 (even though 3.5 came after that), the 3-STABLE branch was more or less replaced by the 4-STABLE branch. 4.1.1-RELEASE was released in September 2000. 4-STABLE is the actively developed -STABLE branch, although some bugfixes (mostly security-related) are still being committed to 3-STABLE. It is expected that the 3.X branch will be officially obsoleted some time in summer 2000. 5.0-CURRENT is now the ``current branch'', with the no release date planed.

Q: When are FreeBSD releases made?

A: As a general principle, the FreeBSD core team only release a new version of FreeBSD when they believe that there are sufficient new features and/or bug fixes to justify one, and are satisfied that the changes made have settled down sufficiently to avoid compromising the stability of the release. Many users regard this caution as one of the best things about FreeBSD, although it can be a little frustrating when waiting for all the latest goodies to become available...

Releases are made about every 4 months on average.

For people needing (or wanting) a little more excitement, binary snapshots are made every day... see above.

Q: Is FreeBSD only available for PCs ?

A: Since 3.x, FreeBSD has run on the DEC Alpha as well as the x86 architecture. Some interest has also been expressed in a SPARC port, but details on this project are not yet clear.

If your machine has a different architecture and you need something right now, we suggest you look at NetBSD or OpenBSD.

Q: Who is responsible for FreeBSD?

A: The key decisions concerning the FreeBSD project, such as the overall direction of the project and who is allowed to add code to the source tree, are made by a core team of 9 people. There is a much larger team of more than 200 committers who are authorized to make changes directly to the FreeBSD source tree.

However, most non-trivial changes are discussed in advance in the mailing lists, and there are no restrictions on who may take part in the discussion.

Q: Where can I get FreeBSD?

A: Every significant release of FreeBSD is available via anonymous ftp from the FreeBSD FTP site:

FreeBSD is also available via CDROM, from the following place(s):

Walnut Creek CDROM
4041 Pike Lane, Suite F
ConcordCA
94520
USA

Orders: +1 800 786-9907
Questions: +1 925 674-0783
FAX: +1 925 674-0821
email: WC Orders address
WWW: WC Home page

In Australia, you may find it at:

Advanced Multimedia Distributors
Factory 1/1 Ovata Drive
Tullamarine, Melbourne
Victoria
Australia
Voice: +61 3 9338 6777

CDROM Support BBS
17 Irvine St
Peppermint GroveWA
6011
Voice: +61 9 385-3793
Fax: +61 9 385-2360

And in the UK:

The Public Domain & Shareware Library
Winscombe House, Beacon Rd
Crowborough
Sussex. TN6 1UL
Voice: +44 1892 663-298
Fax: +44 1892 667-473

Q: Where do I find info on the FreeBSD mailing lists?

A: You can find full information in the Handbook entry on mailing-lists.

Q: Where do I find the FreeBSD Y2K info?

A: You can find full information in the FreeBSD Y2K page.

Q: What FreeBSD news groups are available?

A: You can find full information in the Handbook entry on newsgroups.

Q: Are there FreeBSD IRC (Internet Relay Chat) channels?

A: Yes, most major IRC networks host a FreeBSD chat channel:

  • Channel #FreeBSD on EFNet is a FreeBSD forum, but don't go there for tech support or to try and get folks there to help you avoid the pain of reading man pages or doing your own research. It is a chat channel, first and foremost, and topics there are just as likely to involve sex, sports or nuclear weapons as they are FreeBSD. You Have Been Warned! Available at server irc.chat.org.

  • Channel #FreeBSDhelp on EFNet is a channel dedicated to helping FreeBSD users. They are much more sympathetic to questions then #FreeBSD is.

  • Channel #FreeBSD on DALNET is available at irc.dal.net in the US and irc.eu.dal.net in Europe.

  • Channel #FreeBSD on UNDERNET is available at us.undernet.org in the US and eu.undernet.org in Europe. Since it is a help channel, be prepared to read the documents you are referred to.

  • Channel #FreeBSD on HybNet is available at irc.FreeBSD.org. This channel is a help channel.

Each of these channels are distinct and are not connected to each other. Their chat styles also differ, so you may need to try each to find one suited to your chat style. As with *all* types of IRC traffic, if you're easily offended or can't deal with lots of young people (and more than a few older ones) doing the verbal equivalent of jello wrestling, don't even bother with it.

Q: Books on FreeBSD

A: There is a FreeBSD Documentation Project which you may contact (or even better, join) at the freebsd-doc mailing list: . This list is for discussion of the FreeBSD documentation. For actual questions about FreeBSD, there is the freebsd-questions mailing list: .

A FreeBSD ``handbook'' is available, and can be found as: the FreeBSD Handbook. Note that this is a work in progress; some parts may be incomplete or out-of-date.

The definitive printed guide on FreeBSD is ``The Complete FreeBSD'', written by Greg Lehey and published by Walnut Creek CDROM Books. Now in its second edition, the book contains 1,750 pages of install & system administration guidance, program setup help, and manual pages. The book (and current FreeBSD release) can be ordered from Walnut Creek, CheapBytes, or at your favorite bookstore. The ISBN is 1-57176-227-2.

Since FreeBSD is based upon Berkeley 4.4BSD-Lite, most of the 4.4BSD manuals are applicable to FreeBSD. O'Reilly and Associates publishes the following manuals:

  • 4.4BSD System Manager's Manual By Computer Systems Research Group, UC Berkeley 1st Edition June 1994, 804 pages ISBN: 1-56592-080-5

  • 4.4BSD User's Reference Manual By Computer Systems Research Group, UC Berkeley 1st Edition June 1994, 905 pages ISBN: 1-56592-075-9

  • 4.4BSD User's Supplementary Documents By Computer Systems Research Group, UC Berkeley 1st Edition July 1994, 712 pages ISBN: 1-56592-076-7

  • 4.4BSD Programmer's Reference Manual By Computer Systems Research Group, UC Berkeley 1st Edition June 1994, 886 pages ISBN: 1-56592-078-3

  • 4.4BSD Programmer's Supplementary Documents By Computer Systems Research Group, UC Berkeley 1st Edition July 1994, 596 pages ISBN: 1-56592-079-1

A description of these can be found via WWW as: 4.4BSD books description. Due to poor sales, however, these manuals may be hard to get a hold of.

For a more in-depth look at the 4.4BSD kernel organization, you can't go wrong with:

McKusick, Marshall Kirk, Keith Bostic, Michael J Karels, and John Quarterman.

The Design and Implementation of the 4.4BSD Operating System. Reading, Mass. : Addison-Wesley, 1996. ISBN 0-201-54979-4

A good book on system administration is:

Evi Nemeth, Garth Snyder, Scott Seebass & Trent R. Hein, ``Unix System Administration Handbook'', Prentice-Hall, 1995 ISBN: 0-13-151051-7

Note: Make sure you get the second edition, with a red cover, instead of the first edition.



This book covers the basics, as well as TCP/IP, DNS, NFS, SLIP/PPP, sendmail, INN/NNTP, printing, etc.. It's expensive (approx. US$45-$55), but worth it. It also includes a CDROM with the sources for various tools; most of these, however, are also on the FreeBSD 2.2.6R CDROM (and the FreeBSD CDROM often has newer versions).

Q: How do I access your Problem Report database?

A: The Problem Report database of all user change requests may be queried (or submitted to) by using our web-based PR submission and query interfaces. The send-pr(1) command can also be used to submit problem reports and change requests via electronic mail.

Q: Is the documentation available in other formats, such as plain text (ASCII), or Postscript?

A: Yes. The documentation is available in a number of different formats and compression schemes on the FreeBSD FTP site, in the /pub/FreeBSD/doc/ directory.

The documentation is categorised in a number of different ways. These include:

  • The document's name, such as faq, or handbook.

  • The document's language and encoding. These are based on the locale names you will find under /usr/share/locale on your FreeBSD system. The current languages and encodings that we have for documentation are as follows:

    Name Meaning
    en_US.ISO_8859-1 US English
    es_ES.ISO_8859-1 Spanish
    fr_FR.ISO_8859-1 French
    ja_JP.eucJP Japanese (EUC encoding)
    ru_RU.KOI8-R Russian (KOI8-R encoding)
    zh_TW.Big5 Chinese (Big5 encoding)

    Note: Some documents may not be available in all languages.

  • The document's format. We produce the documentation in a number of different output formats to try and make it as flexible as possible. The current formats are;

    Format Meaning
    html-split A collection of small, linked, HTML files.
    html One large HTML file containing the entire document
    pdb Palm Pilot database format, for use with the iSilo reader.
    pdf Adobe's Portable Document Format
    ps Postscript
    rtf Microsoft's Rich Text Format[a]
    txt Plain text
    Notes:
    a. Page numbers are not automatically updated when loading this format in to Word. Press CTRL+A, CTRL+END, F9 after loading the document, to update the page numbers.
  • The compression and packaging scheme. There are three of these currently in use.

    1. Where the format is html-split, the files are bundled up using tar(1). The resulting .tar file is then compressed using the compression schemes detailed in the next point.

    2. All the other formats generate one file, called book.format (i.e., book.pdb, book.html, and so on).

      These files are then compressed using three compression schemes.

      Scheme Description
      zip The Zip format. If you want to uncompress this on FreeBSD you will need to install the archivers/unzip port first.
      gz The GNU Zip format. Use gunzip(1) to uncompress these files, which is part of FreeBSD.
      bz2 The BZip2 format. Less widespread than the others, but generally gives smaller files. Install the archivers/bzip2 port to uncompress these files.

      So the Postscript version of the Handbook, compressed using BZip2 will be stored in a file called book.sgml.bz2 in the handbook/ directory.

    3. The formatted documentation is also available as a FreeBSD package, of which more later.

After choosing the format and compression mechanism that you want to download, you must then decide whether or not you want to download the document as a FreeBSD package.

The advantage of downloading and installing the package is that the documentation can then be managed using the normal FreeBSD package management comments, such as pkg_add(1) and pkg_delete(1).

If you decide to download and install the package then you must know the filename to download. The documentation-as-packages files are stored in a directory called packages. Each package file looks like document-name.lang.encoding.format.tgz.

For example, the FAQ, in English, formatted as PDF, is in the package called faq.en_US.ISO_8859-1.pdf.tgz.

Knowing this, you can use the following command to install the English PDF FAQ package.

    # pkg_add ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/packages/faq.en_US.ISO_8859-1.pdf.tgz

Having done that, you can use pkg_info(1) to determine where the file has been installed.

    # pkg_info -f faq.en_US.ISO_8859-1.pdf
    Information for faq.en_US.ISO_8859-1.pdf:
    
    Packing list:
            Package name: faq.en_US.ISO_8859-1.pdf
            CWD to /usr/share/doc/en_US.ISO_8859-1/books/faq
    File: book.pdf
            CWD to .
    File: +COMMENT (ignored)
    File: +DESC (ignored)

As you can see, book.pdf will have been installed in to /usr/share/doc/en_US.ISO_8859-1/books/faq.

If you do not want to use the packages then you will have to download the compressed files yourself, uncompress them, and then copy the appropriate documents in to place.

For example, the split HTML version of the FAQ, compressed using gzip(1), can be found in the en_US.ISO_8859-1/books/faq/book.html-split.tar.gz file. To download and uncompress that file you would have to do this.

    # fetch ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO_8859-1/books/faq/book.html-split.tar.gz
    # gzip -d book.html-split.tar.gz
    # tar xvf book.html-split.tar

You will be left with a collection of .html files. The main one is called index.html, which will contain the table of contents, introductory material, and links to the other parts of the document. You can then copy or move these to their final location as necessary.

Q: I'd like to become a FreeBSD Web mirror!

A: Certainly! There are multiple ways to mirror the Web pages.

  • Using CVSup: You can retrieve the formatted files using CVSup, and connecting to a CVSup server.

    To retrieve the webpages, please look at the example supfile, which can be found in /usr/share/examples/cvsup/www-supfile.

  • Using ftp mirror: You can download the FTP server's copy of the web site sources using your favorite ftp mirror tool. Keep in mind that you have to build these sources before publishing them. Simply start at ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/www.

Q: I'd like to translate the documentation into Friesian.

A: Well, we can't pay, but we might arrange a free CD or T-shirt and a Contributor's Handbook entry if you submit a translation of the documentation. Before you begin translating please contact the freebsd-doc mailing list at ; you may find somebody to help with the translation effort. You may also find out there is already a team translating the docs into your chosen language, who surely wouldn't turn down your help.

Q: Other sources of information.

A: The following newsgroups contain pertinent discussion for FreeBSD users:

Web resources:

The FreeBSD handbook also has a fairly complete bibliography section which is worth reading if you're looking for actual books to buy.


Chapter 1. Installation

Q: Which file do I download to get FreeBSD?
Q: Help! The boot floppy image will not fit on a single floppy!
Q: Where are the instructions for installing FreeBSD?
Q: What do I need in order to run FreeBSD?
Q: I have only 4 MB of RAM. Can I install FreeBSD?
Q: How can I make my own custom install floppy?
Q: Can I have more than one operating system on my PC?
Q: Can Windows 95/98 co-exist with FreeBSD?
Q: Windows 95/98 killed my boot manager! How do I get it back?
Q: Can I install on a disk with bad blocks?
Q: Strange things happen when I boot the install floppy!
Q: I booted from my ATAPI CD-ROM, but the install program says no CD-ROM is found. Where did it go?
Q: Help! I can't install from tape!
Q: Connect two FreeBSD boxes over a parallel line (PLIP)
Q: Can I install on my laptop over PLIP (Parallel Line IP)?
Q: Which geometry should I use for a disk drive?
Q: Any restrictions on how I divide the disk up?
Q: What about disk managers? Or, I have a large drive!
Q: When I boot FreeBSD I get Missing Operating System
Q: I can't get past the boot manager's F? prompt.
Q: Do I need to install the complete sources?
Q: Do I need to build a kernel?
Q: Should I use DES passwords, or MD5, and how do I specify which form my users receive?
Q: The boot floppy starts but hangs at the Probing Devices... screen.
Q: I get a panic: cant mount root error when rebooting the system after installation.
Q: What are the limits for memory?
Q: What are the limits for ffs filesystems?
Q: How can I put 1TB files on my floppy?
Q: I compiled a new kernel and now I get the error message archsw.readin.failed when booting.
Q: How do I upgrade from 3.X -> 4.X?

Q: Which file do I download to get FreeBSD?

A: Prior to release 3.1, you only needed one floppy image to install FreeBSD, namely floppies/boot.flp. However, since release 3.1 the Project has added base support for a wide variety of hardware which needed more space, and thus for 3.x and 4.x we now use two floppy images, namely floppies/kernel.flp and floppies/mfsroot.flp. These images need to be copied onto floppies by tools like fdimage or dd(1).

If you need to download the distributions yourself (for a DOS filesystem install, for instance), below are some recommendations for distributions to grab:

  • bin/

  • manpages/

  • compat*/

  • doc/

  • src/ssys.*

Full instructions on this procedure and a little bit more about installation issues in general can be found in the Handbook entry on installing FreeBSD.

Q: Help! The boot floppy image will not fit on a single floppy!

A: A 3.5 inch (1.44MB) floppy can accomodate 1474560 bytes of data. The boot image is exactly 1474560 bytes in size.

Common mistakes when preparing the boot floppy are:

  • Not downloading the floppy image in binary mode when using FTP.

    Some FTP clients default their transfer mode to ascii and attempt to change any end-of-line characters received to match the conventions used by the client's system. This will almost invariably corrupt the boot image. Check the size of the downloaded boot image: if it is not exactly that on the server, then the download process is suspect.

    To workaround: type binary at the FTP command prompt after getting connected to the server and before starting the download of the image.

  • Using the DOS copy command (or equivalent GUI tool) to transfer the boot image to floppy.

    Programs like copy will not work as the boot image has been created to be booted into directly. The image has the complete content of the floppy, track for track, and is not meant to be placed on the floppy as a regular file. You have to transfer it to the floppy ``raw'', using the low-level tools (e.g. fdimage or rawrite) described in the installation guide to FreeBSD.

Q: Where are the instructions for installing FreeBSD?

A: Installation instructions can be found in the Handbook entry on installing FreeBSD.

Q: What do I need in order to run FreeBSD?

A: You'll need a 386 or better PC, with 5 MB or more of RAM and at least 60 MB of hard disk space. It can run with a low end MDA graphics card but to run X11R6, a VGA or better video card is needed.

See also the section on Chapter 2

Q: I have only 4 MB of RAM. Can I install FreeBSD?

A: FreeBSD 2.1.7 was the last version of FreeBSD that could be installed on a 4MB system. Newer versions of FreeBSD, like 2.2, need at least 5MB to install on a new system.

All versions of FreeBSD, including 3.0, will run in 4MB of RAM, they just can't run the installation program in 4MB. You can add extra memory for the install process, if you like, and then after the system is up and running, go back to 4MB. Or you could always just swap your disk into a system which has >4MB, install onto it and then swap it back.

There are also situations in which FreeBSD 2.1.7 will not install in 4 MB. To be exact: it does not install with 640 kB base + 3 MB extended memory. If your motherboard can remap some of the ``lost'' memory out of the 640kB to 1MB region, then you may still be able to get FreeBSD 2.1.7 up.

Try to go into your BIOS setup and look for a ``remap'' option. Enable it. You may also have to disable ROM shadowing.

It may be easier to get 4 more MB just for the install. Build a custom kernel with only the options you need and then get the 4MB out again.

You may also install 2.0.5 and then upgrade your system to 2.1.7 with the ``upgrade'' option of the 2.1.7 installation program.

After the installation, if you build a custom kernel, it will run in 4 MB. Someone has even succeeded in booting with 2 MB (the system was almost unusable though :-))

Q: How can I make my own custom install floppy?

A: Currently there's no way to just make a custom install floppy. You have to cut a whole new release, which will include your install floppy. There's some code in /usr/src/release/floppies/Makefile that's supposed to let you just make those floppies, but it's not really gelled yet.

To make a custom release, follow the instructions here.

Q: Can I have more than one operating system on my PC?

A: Have a look at The multi-OS page.

Q: Can Windows 95/98 co-exist with FreeBSD?

A: Install Windows 95/98 first, after that FreeBSD. FreeBSD's boot manager will then manage to boot Win95/98 and FreeBSD. If you install Windows 95/98 second, it will boorishly overwrite your boot manager without even asking. If that happens, see the next section.

Q: Windows 95/98 killed my boot manager! How do I get it back?

A: You can reinstall the boot manager FreeBSD comes with in one of three ways:

  • Running DOS, go into the tools/ directory of your FreeBSD distribution and look for bootinst.exe. You run it like so:

        ...\TOOLS> bootinst.exe boot.bin
    

    and the boot manager will be reinstalled.

  • Boot the FreeBSD boot floppy again and go to the Custom installation menu item. Choose Partition. Select the drive which used to contain your boot manager (likely the first one) and when you come to the partition editor for it, as the very first thing (e.g. do not make any changes) select (W)rite. This will ask for confirmation, say yes, and when you get the Boot Manager selection prompt, be sure to select Boot Manager. This will re-write the boot manager to disk. Now quit out of the installation menu and reboot off the hard disk as normal.

  • Boot the FreeBSD boot floppy (or CD-ROM) and choose the ``Fixit'' menu item. Select either the Fixit floppy or CD-ROM #2 (the ``live'' file system option) as appropriate and enter the fixit shell. Then execute the following command:

        Fixit# fdisk -B -b /boot/boot0 bootdevice
    

    substituting bootdevice for your real boot device such as ad0 (first IDE disk), ad4 (first IDE disk on auxiliary controller), da0 (first SCSI disk), etc.

Q: Can I install on a disk with bad blocks?

A: Prior to 3.0, FreeBSD included a utility known as bad144, which automatically remapped bad blocks. Because modern IDE drives perform this function themselves, bad144 has been removed from the FreeBSD source tree. If you wish to install FreeBSD 3.0 or later, we strongly suggest you purchase a newer disk drive. If you do not wish to do this, you must run FreeBSD 2.x.

If you are seeing bad block errors with a modern IDE drive, chances are the drive is going to die very soon (the drive's internal remapping functions are no longer sufficient to fix the bad blocks, which means the disk is heavily corrupted); we suggest you by a new hard drive.

If you have a SCSI drive with bad blocks, see this answer.

Q: Strange things happen when I boot the install floppy!

A: If you're seeing things like the machine grinding to a halt or spontaneously rebooting when you try to boot the install floppy, here are three questions to ask yourself:-

  1. Did you use a new, freshly-formatted, error-free floppy (preferably a brand-new one straight out of the box, as opposed to the magazine coverdisk that's been lying under the bed for the last three years)?

  2. Did you download the floppy image in binary (or image) mode? (don't be embarrassed, even the best of us have accidentally downloaded a binary file in ASCII mode at least once!)

  3. If you're using Windows95 or Win98 did you run fdimage or rawrite in pure DOS mode? These OS's can interfere with programs that write directly to hardware, which the disk creation program does; even running it inside a DOS shell in the GUI can cause this problem.

There have also been reports of Netscape causing problems when downloading the boot floppy, so it's probably best to use a different FTP client if you can.

Q: I booted from my ATAPI CD-ROM, but the install program says no CD-ROM is found. Where did it go?

A: The usual cause of this problem is a mis-configured CD-ROM drive. Many PCs now ship with the CD-ROM as the slave device on the secondary IDE controller, with no master device on that controller. This is illegal according to the ATAPI specification, but Windows plays fast and loose with the specification, and the BIOS ignores it when booting. This is why the BIOS was able to see the CD-ROM to boot from it, but why FreeBSD can not see it to complete the install.

Reconfigure your system so that the CD-ROM is either the master device on the IDE controller it is attached to, or make sure that it is the slave on an IDE controller that also has a master device.

Q: Help! I can't install from tape!

A: If you are installing 2.1.7R from tape, you must create the tape using a tar blocksize of 10 (5120 bytes). The default tar blocksize is 20 (10240 bytes), and tapes created using this default size cannot be used to install 2.1.7R; with these tapes, you will get an error that complains about the record size being too big.

Q: Connect two FreeBSD boxes over a parallel line (PLIP)

A: Get a laplink cable. Make sure both computer have a kernel with lpt driver support.

    # dmesg | grep lp
    lpt0 at 0x378-0x37f irq 7 on isa
    lpt0: Interrupt-driven
    lp0: TCP/IP capable interface

Plug in the laplink cable into the parallel interface.

Configure the network interface parameters for lp0 on both sites as root. For example, if you want connect the host max with moritz

                     max <-----> moritz
    IP Address    10.0.0.1      10.0.0.2

on max start

    # ifconfig lp0 10.0.0.1 10.0.0.2

on moritz start

    # ifconfig lp0 10.0.0.2 10.0.0.1

Thats all! Please read also the manpages lp(4) and lpt(4) .

You should also add the hosts to /etc/hosts.

    127.0.0.1               localhost.my.domain localhost
    10.0.0.1                max.my.domain max
    10.0.0.2                moritz.my.domain

To check if it works do:

on max:

    # ifconfig lp0
    lp0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
            inet 10.0.0.1 --> 10.0.0.2 netmask 0xff000000
    # netstat -r
    Routing tables
    
    Internet:
    Destination        Gateway          Flags     Refs     Use      Netif Expire
    moritz             max              UH          4   127592       lp0
    # ping -c 4 moritz
    PING moritz (10.0.0.2): 56 data bytes
    64 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=2.774 ms
    64 bytes from 10.0.0.2: icmp_seq=1 ttl=255 time=2.530 ms
    64 bytes from 10.0.0.2: icmp_seq=2 ttl=255 time=2.556 ms
    64 bytes from 10.0.0.2: icmp_seq=3 ttl=255 time=2.714 ms
    
    --- moritz ping statistics ---
    4 packets transmitted, 4 packets received, 0% packet loss
    round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms

Q: Can I install on my laptop over PLIP (Parallel Line IP)?

A: Connect the two computers using a Laplink parallel cable to use this feature:

Table 1-1. Wiring a parallel cable for networking

A-name A-End B-End Descr. Post/Bit

DATA0
-ERROR

2
15

15
2

Data

0/0x01
1/0x08

DATA1
+SLCT

3
13

13
3

Data

0/0x02
1/0x10

DATA2
+PE

4
12

12
4

Data

0/0x04
1/0x20

DATA3
-ACK

5
10

10
5

Strobe

0/0x08
1/0x40

DATA4
BUSY

6
11

11
6

Data

0/0x10
1/0x80

GND 18-25 18-25 GND -

See also this note on the Mobile Computing page.

Q: Which geometry should I use for a disk drive?

A: (By the ``geometry'' of a disk, we mean the number of cylinders, heads and sectors/track on a disk - I'll refer to this as C/H/S for convenience. This is how the PC's BIOS works out which area on a disk to read/write from).

This seems to cause a lot of confusion for some reason. First of all, the physical geometry of a SCSI drive is totally irrelevant, as FreeBSD works in term of disk blocks. In fact, there is no such thing as the physical geometry, as the sector density varies across the disk - what manufacturers claim is the quote physical geometry is usually the geometry that they've worked out results in the least wasted space. For IDE disks, FreeBSD does work in terms of C/H/S, but all modern drives will convert this into block references internally as well.

All that matters is the logical geometry - the answer that the BIOS gets when it asks ``what is your geometry?'' and then uses to access the disk. As FreeBSD uses the BIOS when booting, it's very important to get this right. In particular, if you have more than one operating system on a disk, they must all agree on the geometry, otherwise you will have serious problems booting!

For SCSI disks, the geometry to use depends on whether extended translation support is turned on in your controller (this is often referred to as ``support for DOS disks >1GB'' or something similar). If it's turned off, then use N cylinders, 64 heads and 32 sectors/track, where N is the capacity of the disk in MB. For example, a 2GB disk should pretend to have 2048 cylinders, 64 heads and 32 sectors/track.

If it is turned on (it's often supplied this way to get around certain limitations in MSDOS) and the disk capacity is more than 1GB, use M cylinders, 63 sectors per track (*not* 64), and 255 heads, where 'M' is the disk capacity in MB divided by 7.844238 (!). So our example 2GB drive would have 261 cylinders, 63 sectors per track and 255 heads.

If you are not sure about this, or FreeBSD fails to detect the geometry correctly during installation, the simplest way around this is usually to create a small DOS partition on the disk. The correct geometry should then be detected (and you can always remove the DOS partition in the partition editor if you don't want to keep it, or leave it around for programming network cards and the like).

Alternatively, there is a freely available utility distributed with FreeBSD called pfdisk.exe (located in the tools subdirectory on the FreeBSD CDROM or on the various FreeBSD ftp sites) which can be used to work out what geometry the other operating systems on the disk are using. You can then enter this geometry in the partition editor.

Q: Any restrictions on how I divide the disk up?

A: Yes. You must make sure that your root partition is below 1024 cylinders so the BIOS can boot the kernel from it. (Note that this is a limitation in the PC's BIOS, not FreeBSD).

For a SCSI drive, this will normally imply that the root partition will be in the first 1024MB (or in the first 4096MB if extended translation is turned on - see previous question). For IDE, the corresponding figure is 504MB.

Q: What about disk managers? Or, I have a large drive!

A: FreeBSD recognizes the Ontrack Disk Manager and makes allowances for it. Other disk managers are not supported.

If you just want to use the disk with FreeBSD you don't need a disk manager. Just configure the disk for as much space as the BIOS can deal with (usually 504 megabytes), and FreeBSD should figure out how much space you really have. If you're using an old disk with an MFM controller, you may need to explicitly tell FreeBSD how many cylinders to use.

If you want to use the disk with FreeBSD and another operating system, you may be able to do without a disk manager: just make sure the the FreeBSD boot partition and the slice for the other operating system are in the first 1024 cylinders. If you're reasonably careful, a 20 megabyte boot partition should be plenty.

Q: When I boot FreeBSD I get Missing Operating System

A: This is classically a case of FreeBSD and DOS or some other OS conflicting over their ideas of disk geometry. You will have to reinstall FreeBSD, but obeying the instructions given above will almost always get you going.

Q: I can't get past the boot manager's F? prompt.

A: This is another symptom of the problem described in the preceding question. Your BIOS geometry and FreeBSD geometry settings do not agree! If your controller or BIOS supports cylinder translation (often marked as >1GB drive support), try toggling its setting and reinstalling FreeBSD.

Q: Do I need to install the complete sources?

A: In general, no. However, we would strongly recommend that you install, at a minimum, the base source kit, which includes several of the files mentioned here, and the sys (kernel) source kit, which includes sources for the kernel. There is nothing in the system which requires the presence of the sources to operate, however, except for the kernel-configuration program config(8). With the exception of the kernel sources, our build structure is set up so that you can read-only mount the sources from elsewhere via NFS and still be able to make new binaries. (Because of the kernel-source restriction, we recommend that you not mount this on /usr/src directly, but rather in some other location with appropriate symbolic links to duplicate the top-level structure of the source tree.)

Having the sources on-line and knowing how to build a system with them will make it much easier for you to upgrade to future releases of FreeBSD.

To actually select a subset of the sources, use the Custom menu item when you are in the Distributions menu of the system installation tool.

Q: Do I need to build a kernel?

A: Building a new kernel was originally pretty much a required step in a FreeBSD installation, but more recent releases have benefited from the introduction of a much friendlier kernel configuration tool. When at the FreeBSD boot prompt (boot:), use the -c flag and you will be dropped into a visual configuration screen which allows you to configure the kernel's settings for most common ISA cards.

It's still recommended that you eventually build a new kernel containing just the drivers that you need, just to save a bit of RAM, but it's no longer a strict requirement for most systems.

Q: Should I use DES passwords, or MD5, and how do I specify which form my users receive?

A: The default password format on FreeBSD is to use MD5-based passwords. These are believed to be more secure than the traditional UNIX password format, which used a scheme based on the DES algorithm. DES passwords are still available if you need to share your password file with legacy operating systems which still use the less secure password format (they are available if you choose to install the ``crypto'' distribution in sysinstall, or by installing the crypto sources if building from source). Which password format to use for new passwords is controlled by the ``passwd_format'' login capability in /etc/login.conf, which takes values of either ``des'' (if available) or ``md5''. See the login.conf(5) manpage for more information about login capabilities.

Q: The boot floppy starts but hangs at the Probing Devices... screen.

A: If you have a IDE Zip or Jaz drive installed, remove it and try again. The boot floppy can get confused by the drives. After the system is installed you can reconnect the drive. Hopefully this will be fixed in a later release.

Q: I get a panic: cant mount root error when rebooting the system after installation.

A: This error comes from confusion between the boot block's and the kernel's understanding of the disk devices. The error usually manifests on two-disk IDE systems, with the hard disks arranged as the master or single device on separate IDE controllers, with FreeBSD installed on the secondary IDE controller. The boot blocks think the system is installed on wd1 (the second BIOS disk) while the kernel assigns the first disk on the secondary controller device wd2. After the device probing, the kernel tries to mount what the boot blocks think is the boot disk, wd1, while it is really wd2, and fails.

To fix the problem, do one of the following:

  1. For FreeBSD 3.3 and later, reboot the system and hit Enter at the Booting kernel in 10 seconds; hit [Enter] to interrupt prompt. This will drop you into the boot loader.

    Then type set root_disk_unit="disk_number" . disk_number will be 0 if FreeBSD is installed on the master drive on the first IDE controller, 1 if it is installed on the slave on the first IDE controller, 2 if it is installed on the master of the second IDE controller, and 3 if it is installed on the slave of the second IDE controller.

    Then type boot, and your system should boot correctly.

    To make this change permanent (ie so you don't have to do this everytime you reboot or turn on your FreeBSD machine), put the line root_disk_unit="disk_number" in /boot/loader.conf.local .

  2. If using FreeBSD 3.2 or earlier, at the Boot: prompt, enter 1:wd(2,a)kernel and press Enter. If the system starts, then run the command echo "1:wd(2,a)kernel" > /boot.config to make it the default boot string.

  3. Move the FreeBSD disk onto the primary IDE controller, so the hard disks are consecutive.

  4. Rebuild your kernel, modify the wd configuration lines to read:

        controller      wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr
        disk            wd0     at wdc0 drive 0
        # disk            wd1     at wdc0 drive 1 # comment out this line
        
        controller      wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
        disk            wd1     at wdc1 drive 0 # change from wd2 to wd1
        disk            wd2     at wdc1 drive 1 # change from wd3 to wd2
    

    Install the new kernel. If you moved your disks and wish to restore the previous configuration, replace the disks in the desired configuration and reboot. Your system should boot successfully.



Q: What are the limits for memory?

A: For memory, the limit is 4 gigabytes. This configuration has been tested, see wcarchive's configuration for more details. If you plan to install this much memory into a machine, you need to be careful. You'll probably want to use ECC memory and to reduce capacitive loading use 9 chip memory modules vice 18 chip memory modules.

Q: What are the limits for ffs filesystems?

A: For ffs filesystems, the maximum theoretical limit is 8 terabytes (2G blocks), or 16TB for the default block size of 8K. In practice, there is a soft limit of 1 terabyte, but with modifications filesystems with 4 terabytes are possible (and exist).

The maximum size of a single ffs file is approximately 1G blocks (4TB) if the block size is 4K.

Table 1-2. Maximum file sizes

fs block size 2.2.7-stable 3.0-current works should work
4K 4T-1 4T-1 4T-1 4+t
8K 32+G 8T-1 32+G 32T-1
16K 128+G 16T-1 128+G 32T-1
32K 512+G 32T-1 512+G 64T-1
64K 2048+G 64T-1 2048+G 128T-1

When the fs block size is 4K, triple indirect blocks work and everything should be limited by the maximum fs block number that can be represented using triple indirect blocks (approx. 1K^3 + 1K^2 + 1K), but everything is limited by a (wrong) limit of 1G-1 on fs block numbers. The limit on fs block numbers should be 2G-1. There are some bugs for fs block numbers near 2G-1, but such block numbers are unreachable when the fs block size is 4K.

For block sizes of 8K and larger, everything should be limited by the 2G-1 limit on fs block numbers, but is actually limited by the 1G-1 limit on fs block numbers, except under -STABLE triple indirect blocks are unreachable, so the limit is the maxiumum fs block number that can be represented using double indirect blocks (approx. (blocksize/4)^2 + (blocksize/4)), and under -CURRENT exceeding this limit may cause problems. Using the correct limit of 2G-1 blocks does cause problems.

Q: How can I put 1TB files on my floppy?

A: I keep several virtual ones on floppies :-). The maxiumum file size is not closely related to the maximum disk size. The maximum disk size is 1TB. It is a feature that the file size can be larger than the disk size.

The following example creates a file of size 8T-1 using a whole 32K of disk space (3 indirect blocks and 1 data block) on a small root partition. The dd command requires a dd that works with large files.

    % cat foo
    df .
    dd if=/dev/zero of=z bs=1 seek=`echo 2^43 - 2 | bc` count=1
    ls -l z
    du z
    df .
    % sh foo
    Filesystem  1024-blocks     Used    Avail Capacity  Mounted on
    /dev/da0a         64479    27702    31619    47%    /
    1+0 records in
    1+0 records out
    1 bytes transferred in 0.000187 secs (5346 bytes/sec)
    -rw-r--r--  1 bde  bin  8796093022207 Sep  7 16:04 z
    32  z
    Filesystem  1024-blocks     Used    Avail Capacity  Mounted on
    /dev/da0a         64479    27734    31587    47%    /

Bruce Evans, September 1998

Q: I compiled a new kernel and now I get the error message archsw.readin.failed when booting.

A: You can boot by specifying the kernel directly at the second stage, pressing any key when the | shows up before loader is started. More specifically, you have upgraded the source for your kernel, and installed a new kernel builtin from them without making world. This is not supported. Make world.

Q: How do I upgrade from 3.X -> 4.X?

A: We strongly recommend that you use binary snapshots to do this. 4-STABLE snapshots are available at releng4.FreeBSD.org.

If you wish to upgrade using source, please see the FreeBSD Handbook for more information.

Upgrading via source is never recommended for new users, and upgading from 3.X -> 4.X is even less so; make sure you have read the instructions carefully before attempting to upgrade via source this!


Chapter 2. Hardware compatibility

Q: What kind of hard drives does FreeBSD support?
Q: Which SCSI controllers are supported?
Q: Which CD-ROM drives are supported by FreeBSD?
Q: Does FreeBSD support ZIP drives?
Q: Does FreeBSD support JAZ, EZ and other removable drives?
Q: Which multi-port serial cards are supported by FreeBSD?
Q: I have a USB keyboard. Does FreeBSD support it?
Q: I have an unusual bus mouse. How do I set it up?
Q: How do I use my PS/2 (``mouse port'' or ``keyboard'') mouse?
Q: Is it possible to make use of a mouse in any way outside the X Window?
Q: How do I cut and paste text with mouse in the text console?
Q: I have a USB mouse. Does FreeBSD support the USB mouse?
Q: My mouse has a fancy wheel and buttons. Can I use them in FreeBSD?
Q: My mouse does not seem working. The mouse cursor jumps around on the screen. The mouse has a wheel and is connected to the PS/2 mouse port.
Q: How do I use the mouse/trackball/touchpad on my laptop?
Q: What types of tape drives are supported?
Q: Does FreeBSD support tape changers?
Q: Which sound cards are supported by FreeBSD?
Q: Workarounds for no sound from es1370 with pcm driver?
Q: Which network cards does FreeBSD support?
Q: I don't have a math co-processor - is that bad?
Q: What other devices does FreeBSD support?
Q: Does FreeBSD support power management on my laptop?
Q: My Micron system hangs at boot time
Q: I have a newer Adaptec controller and FreeBSD can't find it.
Q: I have an internal Plug & Play modem and FreeBSD can't find it.
Q: How do I get the boot: prompt to show on the serial console?
Q: Why doesn't my 3Com PCI network card work with my Micron computer?
Q: Does FreeBSD support Symmetric Multiprocessing (SMP)?
Q: The boot floppy hangs on a system with an ASUS K7V motherboard. How do I fix this?

Q: What kind of hard drives does FreeBSD support?

A: FreeBSD supports EIDE and SCSI drives (with a compatible controller; see the next section), and all drives using the original ``Western Digital'' interface (MFM, RLL, ESDI, and of course IDE). A few ESDI controllers that use proprietary interfaces may not work: stick to WD1002/3/6/7 interfaces and clones.

Q: Which SCSI controllers are supported?

A: See the complete list in the Handbook.

Q: Which CD-ROM drives are supported by FreeBSD?

A: Any SCSI drive connected to a supported controller is supported.

The following proprietary CD-ROM interfaces are also supported:

  • Mitsumi LU002 (8bit), LU005 (16bit) and FX001D (16bit 2x Speed).

  • Sony CDU 31/33A

  • Sound Blaster Non-SCSI CD-ROM

  • Matsushita/Panasonic CD-ROM

  • ATAPI compatible IDE CD-ROMs



All non-SCSI cards are known to be extremely slow compared to SCSI drives, and some ATAPI CDROMs may not work.

As of 2.2 the FreeBSD CDROM from Walnut Creek supports booting directly from the CD.

Q: Does FreeBSD support ZIP drives?

A: FreeBSD supports the SCSI ZIP drive out of the box, of course. The ZIP drive can only be set to run at SCSI target IDs 5 or 6, but if your SCSI host adapter's BIOS supports it you can even boot from it. I don't know which host adapters let you boot from targets other than 0 or 1... look at your docs (and let me know if it works out for you).

ATAPI (IDE) Zip drives are supported in FreeBSD 2.2.6 and later releases.

FreeBSD has contained support for Parallel Port Zip Drives since version 3.0. If you are using a sufficiently up to date version, then you should check that your kernel contains the scbus0, da0, ppbus0, and vp0 drivers (the GENERIC kernel contains everything except vp0). With all these drivers present, the Parallel Port drive should be available as /dev/da0s4. Disks can be mounted using mount /dev/da0s4 /mnt OR (for dos disks) mount_msdos /dev/da0s4 /mnt as appropriate.

Also check out this note on removable drives, and this note on ``formatting''.

Q: Does FreeBSD support JAZ, EZ and other removable drives?

A: Apart from the IDE version of the EZ drive, these are all SCSI devices, so the should all look like SCSI disks to FreeBSD, and the IDE EZ should look like an IDE drive.

I'm not sure how well FreeBSD supports changing the media out while running. You will of course need to dismount the drive before swapping media, and make sure that any external units are powered on when you boot the system so FreeBSD can see them.

See this note on ``formatting''.

Q: Which multi-port serial cards are supported by FreeBSD?

A: There is a list of these in the Miscellaneous devices section of the handbook.

Some unnamed clone cards have also been known to work, especially those that claim to be AST compatible.

Check the sio man page to get more information on configuring such cards.

Q: I have a USB keyboard. Does FreeBSD support it?

A: USB device support was added to FreeBSD 3.1. However, it is still in preliminary state and may not always work as of version 3.2. If you want to experiment with the USB keyboard support, follow the procedure described below.

  1. Use FreeBSD 3.2 or later.

  2. Add the following lines to your kernel configuration file, and rebuild the kernel.

        device  uhci
        device  ohci
        device  usb
        device  ukbd
        options KBD_INSTALL_CDEV
    

    In versions of FreeBSD before 4.0, use this instead:

        controller      uhci0
        controller      ohci0
        controller      usb0
        controller      ukbd0
        options         KBD_INSTALL_CDEV
    
  3. Go to the /dev directory and create device nodes as follows:

        #