home *** CD-ROM | disk | FTP | other *** search
/ Freelog Special Edition 1: Linux / CD1.iso / doc / FAQ / txt / Linux-FAQ < prev    next >
Encoding:
Text File  |  1998-10-14  |  113.5 KB  |  2,796 lines

  1.  
  2.    #next
  3.    
  4.    
  5.                  Linux Frequently Asked Questions with Answers
  6.                                        
  7.  
  8.    August 30, 1998
  9.    
  10.    This is the list of Frequently Asked Questions about Linux, the fre
  11.    Unix for just about every computer hardware platform on the planet.
  12.    Originally written for 386/486/586 Intel/ISA bus machines, versions
  13.    are available for Alpha, MIPS, ARM, 680x0 and PPC processors, and m
  14.    others. (See the question, "What is Linux? " below.) This
  15.    document should be read in conjunction with the Linux Documentation
  16.    Project's HOWTO series. ("Where can I get Linux material by FTP?
  17.    " and "Where can I get the HOWTOs and other documentation? ")
  18.    The INFO-SHEET and META-FAQ, which are found in the same place, als
  19.    list sources of Linux information. Please look at these documents, 
  20.    "You still haven't answered my question! " before posting your
  21.    question to a news group. See "Formats in which this FAQ is
  22.    available. " for details of where to get the PostScript, HTML, and
  23.    plain ASCII versions of this document. 
  24.    
  25. 1. Introduction and General Information 
  26.  
  27.      * 1.1 What is Linux? 
  28.      * 1.2 Where do I start? 
  29.      * 1.3 What software does Linux support? 
  30.      * 1.4 Does Linux run on my computer? What hardware is supported?
  31.      * 1.5 What ports to other processors are there? 
  32.      * 1.6 How much hard disk space does Linux need? 
  33.      * 1.7 How much memory does Linux need? 
  34.      * 1.8 How much memory can Linux use? 
  35.      * 1.9 Is Linux public domain? Copyrighted? 
  36.        
  37. 2. Network sources and resources. 
  38.  
  39.      * 2.1 Where can I get the HOWTOs and other documentation? 
  40.      * 2.2 Where should I look on the World Wide Web for Linux stuff?
  41.      * 2.3 What newsgroups are there for Linux? 
  42.      * 2.4 Where can I find out about Linux and the Millennium (Y2K)
  43.        bug? 
  44.      * 2.5 Where can I get Linux material by FTP? 
  45.      * 2.6 I don't have FTP access. Where do I get Linux? 
  46.      * 2.7 I don't have Usenet access. Where do I get information? 
  47.      * 2.8 What mailing lists are there? 
  48.      * 2.9 Are the newsgroups archived anywhere? 
  49.        
  50. 3. Compatibility with other operating systems. 
  51.  
  52.      * 3.1 Can Linux share my disk with DOS? OS/2? 386BSD? Win95? 
  53.      * 3.2 How do I access files on my DOS partition or floppy? 
  54.      * 3.3 Does Linux support compressed ext2 file systems? 
  55.      * 3.4 Can I use my Stacked/DBLSPC/etc. DOS drive? 
  56.      * 3.5 Can I access OS/2 HPFS partitions from Linux? 
  57.      * 3.6 Can Linux access Amiga file systems? 
  58.      * 3.7 Can Linux access BSD, SysV, etc. UFS? 
  59.      * 3.8 Can Linux access SMB file systems? 
  60.      * 3.9 Can Linux access Mac file systems? 
  61.      * 3.10 Can I run Microsoft Windows programs under Linux? 
  62.      * 3.11 How can I boot Linux from OS/2's Boot Manager? 
  63.      * 3.12 How can I share a swap partition between Linux and MS
  64.        Windows? 
  65.        
  66. 4. Linux's handling of file systems, disks, and drives 
  67.  
  68.      * 4.1 How can I get Linux to work with my disk? 
  69.      * 4.2 How can I undelete files? 
  70.      * 4.3 Is there a defragmenter for ext2fs etc.? 
  71.      * 4.4 How do I format and create a file system on a floppy? 
  72.      * 4.5 I get nasty messages about inodes, blocks, and the
  73.        suchlike. 
  74.      * 4.6 My swap area isn't working. 
  75.      * 4.7 How do I remove LILO so my system boots DOS again? 
  76.      * 4.8 Why can't I use fdformat except as root? 
  77.      * 4.9 My ext2fs partitions are checked each time I reboot. 
  78.      * 4.10 My root file system is read-only! 
  79.      * 4.11 I have a huge /proc/kcore! Can I delete it? 
  80.      * 4.12 My AHA1542C doesn't work with Linux. 
  81.        
  82. 5. Porting, compiling and obtaining programs 
  83.  
  84.      * 5.1 How do I port XXX to Linux? 
  85.      * 5.2 What is ld.so and where do I get it? 
  86.      * 5.3 Has anyone ported / compiled / written XXX for Linux? 
  87.      * 5.4 Can I use code or a compiler compiled for a 486 on my 386?
  88.      * 5.5 What does gcc -O6 do? 
  89.      * 5.6 Where are linux/*.h and asm/*.h? 
  90.      * 5.7 I get errors when I try to compile the kernel. 
  91.      * 5.8 How do I make a shared library? 
  92.      * 5.9 My executables are (very) large. 
  93.      * 5.10 Does Linux support threads or lightweight processes? 
  94.      * 5.11 Where can I get `lint' for Linux? 
  95.      * 5.12 Where can I find kermit for Linux? 
  96.        
  97. 6. Solutions to common miscellaneous problems. 
  98.  
  99.      * 6.1 free dumps core. 
  100.      * 6.2 My clock is very wrong. 
  101.      * 6.3 Setuid scripts don't seem to work. 
  102.      * 6.4 Free memory as reported by free keeps shrinking. 
  103.      * 6.5 When I add more memory, the system slows to a crawl. 
  104.      * 6.6 Some programs (e.g. xdm) won't let me log in. 
  105.      * 6.7 Some programs let me log in with no password. 
  106.      * 6.8 My machine runs very slowly when I run GCC / X / ... 
  107.      * 6.9 I can only log in as root. 
  108.      * 6.10 My screen is all full of weird characters instead of
  109.        letters. 
  110.      * 6.11 I have screwed up my system and can't log in to fix it. 
  111.      * 6.12 I've discovered a huge security hole in rm! 
  112.      * 6.13 lpr(1) and/or lpd(8) don't work. 
  113.      * 6.14 Timestamps on files on msdos partitions are set
  114.        incorrectly. 
  115.      * 6.15 How do I get LILO to boot the vmlinux file? 
  116.        
  117. 7. How do I do this or find out that ... ? 
  118.  
  119.      * 7.1 How can I get scrollback in text mode? 
  120.      * 7.2 How do I switch virtual consoles? How do I enable them? 
  121.      * 7.3 How do I set the time zone? 
  122.      * 7.4 What version of Linux and what machine name am I using? 
  123.      * 7.5 How can I enable or disable core dumps? 
  124.      * 7.6 How do I upgrade/recompile my kernel? 
  125.      * 7.7 Can I have more than 3 serial ports by sharing interrupts?
  126.      * 7.8 How do I make a bootable floppy? 
  127.      * 7.9 How do I remap my keyboard to UK, French, etc.? 
  128.      * 7.10 How do I get NUM LOCK to default to on? 
  129.      * 7.11 How can I have more than 128Mb of swap? 
  130.      * 7.12 Miscellaneous information and questions answered. 
  131.      * 7.13 How do I program XYZ under Linux? 
  132.      * 7.14 What's all this about ELF? 
  133.      * 7.15 What is a .gz file ? And a .tgz ? And ... ? 
  134.      * 7.16 What does VFS stand for? 
  135.      * 7.17 What is a BogoMip? 
  136.      * 7.18 What is the Linux Journal and where can I get it? 
  137.      * 7.19 How many people use Linux? 
  138.      * 7.20 How should I pronounce Linux? 
  139.        
  140. 8. Frequently encountered error messages. 
  141.  
  142.      * 8.1 Unknown terminal type linux and similar. 
  143.      * 8.2 lp1 on fire 
  144.      * 8.3 INET: Warning: old style ioctl... called! 
  145.      * 8.4 ld: unrecognized option '-m486' 
  146.      * 8.5 GCC says Internal compiler error. 
  147.      * 8.6 make says Error 139 
  148.      * 8.7 shell-init: permission denied when I log in. 
  149.      * 8.8 No utmp entry. You must exec ... when I log in. 
  150.      * 8.9 Warning--bdflush not running. 
  151.      * 8.10 Warning: obsolete routing request made. 
  152.      * 8.11 EXT2-fs: warning: mounting unchecked file system. 
  153.      * 8.12 EXT2-fs warning: maximal count reached. 
  154.      * 8.13 EXT2-fs warning: checktime reached. 
  155.      * 8.14 df says Cannot read table of mounted file systems. 
  156.      * 8.15 fdisk says Partition X has different physical/logical
  157.        ... 
  158.      * 8.16 fdisk: Partition 1 does not start on cylinder boundary 
  159.      * 8.17 fdisk says partition n has an odd number of sectors. 
  160.      * 8.18 mtools says cannot initialize drive XYZ 
  161.      * 8.19 At the start of booting: Memory tight 
  162.      * 8.20 My syslog says `end_request: I/O error, ...'. 
  163.      * 8.21 You don't exist. Go away. 
  164.        
  165. 9. The X Window System. 
  166.  
  167.      * 9.1 Does Linux support X Windows? 
  168.      * 9.2 Where can I get an XF86Config for my system? 
  169.      * 9.3 xterm logins show up strangely in who, finger. 
  170.      * 9.4 I can't get X Windows to work right. 
  171.        
  172. 10. Questions applicable to very out-of-date software. 
  173.  
  174.      * 10.1 fdisk says cannot use nnn sectors of this partition. 
  175.      * 10.2 GCC sometimes uses huge amounts of virtual memory and
  176.        thrashes.
  177.        
  178. 11. How to get further assistance. 
  179.  
  180.      * 11.1 You still haven't answered my question! 
  181.      * 11.2 What to put in a request for help. 
  182.      * 11.3 I want to mail someone about my problem. 
  183.        
  184. 12. Administrative information and acknowledgements. 
  185.  
  186.      * 12.1 Feedback is invited. 
  187.      * 12.2 Formats in which this FAQ is available. 
  188.      * 12.3 Authorship and acknowledgements. 
  189.      * 12.4 Disclaimer and Copyright. 
  190.    
  191.    
  192.    
  193. 1. Introduction and General Information
  194.  
  195. 1.1 What is Linux?
  196.  
  197.    Linux is the free Unix written from scratch by Linus Torvalds with
  198.    assistance from a loosely-knit team of hackers from across the
  199.    Internet. Linux aims towards POSIX compliance, and has all of the
  200.    features you would expect of a modern, fully-fledged Unix: true
  201.    multitasking, virtual memory, shared libraries, demand loading,
  202.    shared, copy-on-write executables, proper memory management, and
  203.    TCP/IP networking.
  204.    
  205.    Linux runs mainly on 386/486/586-based PCs, using the hardware
  206.    facilities of the 386 processor family (TSS segments, et al.) to
  207.    implement these features. Ports to other architectures are underway
  208.    (See "What ports to other processors are there? ")
  209.    
  210.    See the Linux INFO-SHEET for more details. (See "Where can I
  211.    get the HOWTOs and other documentation? ")
  212.    
  213.    The Linux kernel is distributed under the GNU General Public Licens
  214.    (See, "Is Linux public domain? Copyrighted? ")
  215.    
  216.    
  217. 1.2 Where do I start?
  218.  
  219.    There are a handful of different Linux distributions. For informati
  220.    about them, and how they are installed, see Matthew Welsh's
  221.    Installation and Getting Started, or IGS for short. It's located at
  222.    the Linux Documentation Project Home Page,
  223.    http://sunsite.unc.edu/LDP.
  224.    
  225.    There is also an Installation HOWTO at the LDP Home Page.
  226.    
  227.    Most of the distributions are available via anonymous FTP from vari
  228.    Linux archive sites. See "Where can I get Linux material by
  229.    FTP? " There are also a large number of other releases which are
  230.    distributed less globally, which suit special local and national
  231.    needs.
  232.    
  233.    
  234. 1.3 What software does Linux support?
  235.  
  236.    Linux supports GCC, Emacs, the X Window System, all the standard Un
  237.    utilities, TCP/IP (including SLIP and PPP), and all the hundreds of
  238.    programs that people have compiled or ported for it.
  239.    
  240.    There is a DOS emulator (available at
  241.    tsx-11.mit.edu/pub/linux/ALPHA/dosemu) which can run DOS itself
  242.    and some (but not all) DOS applications. Be sure to look at the REA
  243.    file to determine which version of dosemu you should get. Also, see
  244.    the DOSEMU-HOWTO (slightly dated at this point--it doesn't cover th
  245.    most recent version of the program), which is located at
  246.    sunsite.unc.edu/pub/Linux/docs/HOWTO.
  247.    
  248.    Work has been progressing on an emulator for Microsoft Windows
  249.    binaries. (See "Can I run Microsoft Windows programs under
  250.    Linux? ")
  251.    
  252.    iBCS2 (Intel Binary Compatibility Standard) emulator code for SVR4 
  253.    and SVR3.2 COFF binaries can be included in the kernel as a
  254.    compile-time option. See the file
  255.    tsx-11.mit.edu/pub/linux/BETA/ibcs2/README.
  256.    
  257.    For more information see the INFO-SHEET, which is one of the the
  258.    HOWTOs (See "Where can I get the HOWTOs and other
  259.    documentation? " See also "How do I port XXX to Linux? "
  260.    
  261.    Some companies have commercial software available, including Motif.
  262.    They announce their availability in comp.os.linux.announce--try
  263.    searching the archives. (See "Are the newsgroups archived
  264.    anywhere? ")
  265.    
  266.    
  267. 1.4 Does Linux run on my computer? What hardware is supported?
  268.  
  269.    You need a 386, 486 or 586, with at least 2Mb of RAM and a single
  270.    floppy, to try Linux. To do anything useful, more RAM is needed. ("
  271.    How much memory does Linux need? ")
  272.    
  273.    VESA Local Bus and PCI are supported.
  274.    
  275.    MCA (IBM's proprietary bus) and ESDI hard drives are mostly support
  276.    There is further information on the MCA bus and what cards Linux
  277.    supports on the Micro Channel Linux Web page,
  278.    http://glycerine.itsmm.uni.edu/mca.
  279.    
  280.    Linux runs on 386 family based laptops, with X on most of them. The
  281.    is a relevant Web page at
  282.    http://www.cs.utexas.edu/users/kharker/linux-laptop/.
  283.    
  284.    For details of exactly which PC's, video cards, disk controllers, e
  285.    work see the INFO-SHEET and the Hardware-HOWTO. (See "Where can
  286.    I get the HOWTOs and other documentation? ")
  287.    
  288.    There is a port of Linux to the 8086, known as the Embeddable Linux
  289.    Kernel Subset (ELKS). This is a 16-bit subset of the Linux kernel
  290.    which will mainly be used for embedded systems. See
  291.    http://www.linux.org.uk/Linux8086.html for more information.
  292.    Linux will never run fully on an 8086 or '286, because it requires
  293.    task-switching and memory management facilities not found on these
  294.    processors.
  295.    
  296.    Linux supports multiprocessing with Intel MP architecture. See the
  297.    file Documentation/smp.tex in the Linux kernel source code
  298.    distribution.
  299.    
  300.    See the next question for a (probably incomplete) list of hardware
  301.    platforms that Linux has been ported to.
  302.    
  303.    
  304. 1.5 What ports to other processors are there?
  305.  
  306.    There is a reasonably complete list of Linux ports at
  307.    http://www.ctv.es/USERS/xose/linux/linux_ports.html, and at
  308.    http://www.linuxhq.com/dist-index.html.
  309.    
  310.    A project has been underway for a while to port Linux to suitable
  311.    68000-series based systems such as Amigas and Ataris. The Linux/m68
  312.    FAQ is located at www.clark.net/pub/lawrencc/linux/faq/faq.html.
  313.    The URL of the Linux/m68k home page is www.linux-m68k.
  314.    
  315.    There is a linux-680x0 mailing list. (See "What mailing lists
  316.    are there? ")
  317.    
  318.    There is (or was) a FTP site for the Linux-m68k project on
  319.    ftp.phil.uni-sb.de/pub/atari/linux-68k, but this address may no
  320.    longer be current.
  321.    
  322.    Debian GNU/Linux is being ported to Alpha, Sparc, PowerPC, and ARM.
  323.    There are mailing lists for all of these platforms. See
  324.    http://www.debian.org/MailingLists/subscribe.
  325.    
  326.    One of the Linux-PPC project pages has moved recently. Its location
  327.    http://www.linuxppc.org, and the archive site is
  328.    ftp.linuxppc.org/linuxppc.
  329.    
  330.    There is a Linux-PPC support page at www.cs.nmt.edu/~linuxppc/.
  331.    There you will find the kernel that is distributed with Linux.
  332.    
  333.    Apple now supports MkLinux development on Power Macs, based on OSF 
  334.    the Mach microkernel. See http://www.mklinux.apple.com.
  335.    
  336.    A port to the 64-bit DEC Alpha/AXP is at
  337.    http://www.azstarnet.com/~axplinux/. There is a mailing list at
  338.    vger.rutgers.edu. (See "What mailing lists are there? ")
  339.    
  340.    Ralf Baechle is working on a port to the MIPS, initially for the R4
  341.    on Deskstation Tyne machines. The Linux-MIPS FTP sites are
  342.    ftp.fnet.fr/linux-mips and
  343.    ftp://ftp.linux.sgi.com/pub/mips-linux. Interested people may
  344.    mail their questions and offers of assistance to
  345.    linux@waldorf-gmbh.de.
  346.    
  347.    There is also a MIPS channel on the Linux Activists mailserver and 
  348.    linux-mips mailing list. (See "What mailing lists are there?
  349.    ")
  350.    
  351.    There are currently two ports of Linux to the ARM family of
  352.    processors. One of these is for the ARM3, fitted to the Acorn A5000
  353.    and it includes I/O drivers for the 82710/11 as appropriate. The ot
  354.    is to the ARM610 of the Acorn Risc PC. The Risc PC port is currentl
  355.    in its early to middle stages, owing to the need to rewrite much of
  356.    the memory handling. The A5000 port is in restricted beta testing. 
  357.    release is likely soon.
  358.    
  359.    For more up-to-date information, watch the newsgroup
  360.    comp.sys.acorn.misc. There is a FAQ at
  361.    http://www.arm.uk.linux.org
  362.    
  363.    The Linux SPARC project is a hotbed of activity. There is a FAQ
  364.    available from Jim Mintha's Linux for SPARC Processors page,
  365.    http://www.geog.ubc.ca/sparclinux.html. The SPARC/Linux archives
  366.    are at vger.rutgers.edu/pub/linux/Sparc.
  367.    
  368.    There is also a port ("Hardhat") to SGI/Indy machines. The URL is
  369.    http://www.linux.sgi.com.
  370.    
  371.    
  372. 1.6 How much hard disk space does Linux need?
  373.  
  374.    About 10Mb for a very minimal installation, suitable for trying it 
  375.    and not much else.
  376.    
  377.    You can squeeze a more complete installation including X, into 80Mb
  378.    Installing almost all of Debian GNU/Linux takes around 500Mb,
  379.    including kernel source code, some space for user files, and spool
  380.    areas.
  381.    
  382.    
  383. 1.7 How much memory does Linux need?
  384.  
  385.    At least 4MB, and then you will need to use special installation
  386.    procedures. Linux will run comfortably in 4MB of RAM, although X
  387.    Windows Apps will run slowly because they need to swap out to disk.
  388.    
  389.    Some recent applications, like Netscape, require 64MB of physical
  390.    memory.
  391.    
  392.    
  393. 1.8 How much memory can Linux use?
  394.  
  395.    A number of people have asked how to address more than 64 MB of
  396.    memory, which is the default upper limit. Place the following in yo
  397.    lilo.conf file:
  398. append="mem=XXM"
  399.  
  400.    Where "XX" is the amount of memory, specified as megabytes, for
  401.    example, '128M'. For further details see the lilo manual page.
  402.    
  403.    
  404. 1.9 Is Linux public domain? Copyrighted?
  405.  
  406.    The Linux kernel copyright belongs to Linus Torvalds. He has placed
  407.    under the GNU General Public License, which basically means that yo
  408.    may freely copy, change, and distribute it, but you may not impose 
  409.    restrictions on further distribution, and you must make the source
  410.    code available.
  411.    
  412.    This is not the same as Public Domain. See the Copyright FAQ,
  413.    rtfm.mit.edu/pub/usenet/news.answers/law/copyright, for details.
  414.    
  415.    Full details are in the file COPYING in the Linux kernel sources
  416.    (probably in /usr/src/linux on your system).
  417.    
  418.    The licenses of the utilities and programs which come with the
  419.    installations vary. Much of the code is from the GNU Project at the
  420.    Free Software Foundation, and is also under the GPL.
  421.    
  422.    Note that discussion about the merits or otherwise of the GPL shoul
  423.    be posted to gnu.misc.discuss and not to the comp.os.linux groups.
  424.    
  425.    
  426.    
  427.    
  428. 2. Network sources and resources.
  429.  
  430.    
  431. 2.1 Where can I get the HOWTOs and other documentation?
  432.  
  433.    Look in the following places, and the sites that mirror them.
  434.      * ftp.funet.fi : /pub/OS/Linux/doc/HOWTO
  435.      * tsx-11.mit.edu : /pub/linux/docs/HOWTO
  436.      * sunsite.unc.edu : /pub/Linux/docs/HOWTO
  437.        
  438.    For a complete list of Linux FTP sites, "Where can I get Linux
  439.    material by FTP? "
  440.    
  441.    If you don't have access to FTP, try the FTP-by-mail servers at
  442.    ftpmail@decwrl.dec.com, ftpmail@doc.ic.ac.uk or
  443.    ftp-mailer@informatik.tu-muenchen.de..
  444.    
  445.    A complete list of HOWTO's and Mini-HOWTO's is available in the fil
  446.    HOWTO.INDEX in the docs/HOWTO directory at the FTP sites, or on the
  447.    Web at http://sunsite.unc.edu/LDP/HOWTO/HOWTO-INDEX.html, but
  448.    here is a (possibly incomplete) list:
  449. AX25-HOWTO                             Access-HOWTO
  450. Assembly-HOWTO                         Benchmarking-HOWTO
  451. BootPrompt-HOWTO                       Bootdisk-HOWTO
  452. CD-Writing-HOWTO                       CDROM-HOWTO
  453. Chinese-HOWTO                          Commercial-HOWTO
  454. Consultants-HOWTO                      Cyrillic-HOWTO
  455. DNS-HOWTO                              DOS-to-Linux-HOWTO
  456. DOSEMU-HOWTO                           Danish-HOWTO
  457. Distribution-HOWTO                     ELF-HOWTO
  458. Emacspeak-HOWTO                        Ethernet-HOWTO
  459. Finnish-HOWTO                          Firewall-HOWTO
  460. Ftape-HOWTO                            GCC-HOWTO
  461. German-HOWTO                           HAM-HOWTO
  462. HOWTO-INDEX                            Hardware-HOWTO
  463. Hebrew-HOWTO                           IPX-HOWTO
  464. ISP-Hookup-HOWTO                       Installation-HOWTO
  465. Intranet-Server-HOWTO                  Italian-HOWTO
  466. Java-CGI-HOWTO                         Kernel-HOWTO
  467. Keyboard-and-Console-HOWTO             MGR-HOWTO
  468. MILO-HOWTO                             Mail-HOWTO
  469. NET-3-HOWTO                            NFS-HOWTO
  470. NIS-HOWTO                              News-HOWTO
  471. Optical-Disk-HOWTO                     PCI-HOWTO
  472. PCMCIA-HOWTO                           PPP-HOWTO
  473. Pilot-HOWTO                            Polish-HOWTO
  474. Printing-HOWTO                         Printing-Usage-HOWTO
  475. RPM-HOWTO                              Reading-List-HOWTO
  476. SCSI-HOWTO                             SCSI-Programming-HOWTO
  477. SMB-HOWTO                              Serial-HOWTO
  478. Serial-Programming-HOWTO               Shadow-Password-HOWTO
  479. Slovenian-HOWTO                        Sound-HOWTO
  480. Sound-Playing-HOWTO                    Spanish-HOWTO
  481. TeTeX-HOWTO                            Thai-HOWTO
  482. Tips-HOWTO                             UMSDOS-HOWTO
  483. UPS-HOWTO                              UUCP-HOWTO
  484. User-Group-HOWTO                       VAR-HOWTO
  485. VMS-to-Linux-HOWTO                     XFree86-HOWTO
  486. XFree86-Video-Timings-HOWTO
  487. 3-Button-Mouse
  488.  
  489.    The following Mini-HOWTO's are available from
  490.    http://sunsite.unc.edu/pub/Linux/HOWTO/mini:
  491. ADSM-Backup                            AI-Alife
  492. Advocacy                               Backup-With-MSDOS
  493. Battery-Powered                        Boca
  494. BogoMips                               Bridge
  495. Bridge+Firewall                        Clock
  496. Colour-ls                              Comeau-C++
  497. DHCPd                                  Dial-On-Demand
  498. Diald                                  Dip+SLiRP+CSLIP
  499. Diskless                               Dynamic-IP-Hacks
  500. Ext2fs-Undeletion                      GTEK-BBS-550
  501. HTML-Validation                        IO-Port-Programming
  502. IP-Alias                               IP-Masquerade
  503. IP-Subnetworking                       JE
  504. Jaz-Drive                              Kerneld
  505. Key-Setup                              LBX
  506. Large-Disk                             Linux+DOS+Win95
  507. Linux+DOS+Win95+OS2                    Linux+NT-Loader
  508. Linux+OS2+DOS                          Linux+Win95
  509. Loadlin+Win95                          Locales
  510. MIDI+SB                                Mail-Queue
  511. Mail2News                              Man-Page
  512. Multiple-Disks-Layout                  Multiple-Ethernet
  513. NFS-Root                               NFS-Root-Client
  514. Netscape+Proxy                         Offline-Mailing
  515. Online-Support                         PLIP
  516. PPP-over-minicom                       Pager
  517. Partition                              Print2Win
  518. Process-Accounting                     Proxy-ARP
  519. Public-Web-Browser                     Qmail+MH
  520. Quota                                  RCS
  521. Remote-Boot                            Remote-X-Apps
  522. SLIP+proxyARP                          SLIP-PPP-Emulator
  523. Sendmail+UUCP                          Software-Building
  524. Software-RAID                          Soundblaster-16
  525. Soundblaster-AWE64                     StarOffice
  526. Swap-Space                             Term-Firewall
  527. Tiny-News                              Token-Ring
  528. Upgrade                                VPN
  529. Virtual-wu-ftpd                        Visual-Bell
  530. Win95+Win+Linux                        Windows-Modem-Sharing
  531. WordPerfect                            X-Big-Cursor
  532. XFree86-XInside                        Xterm-Title
  533. Xterminal                              ZIP-Drive
  534. ZIP-Install
  535.  
  536.    In addition, translations of the HOWTO's are available from
  537.    sunsite.unc.edu/pub/Linux/docs/HOWTO/translations and mirrors
  538.    worldwide. Translations in the following languages are available:
  539.    
  540. Chinese (zh)                    French (fr)
  541. German (de)                     Hellenic (el)
  542. Indonesian (id)                 Italian (it)
  543. Japanese (jp)                   Korean (ko)
  544. Polish (pl)                     Spanish (es)
  545. Slovenian (sl)                  Polish (sv)
  546. Turkish (tr)
  547.  
  548.    The HOWTO's are also on the Web, at the Linux Documentation Project
  549.    home page, http://sunsite.unc./edu/LDP.
  550.    
  551.    More of these documents are always in preparation. Please get in to
  552.    with Greg Hankins, gregh@cc.gatech.edu, the HOWTO coordinator, if
  553.    you are interested in writing one. The file
  554.    sunsite.unc.edu/pub/Linux/HOWTO/HOWTO-INDEX contains guidelines
  555.    for writing a HOWTO.
  556.    
  557.    The Guide Series produced by the Linux Documentation Project is
  558.    available from http://sunsite.unc.edu/LDP. Please read them if
  559.    you are new to Unix and Linux. Here is a list of those available so
  560.    far:
  561.    
  562.      * The Linux Documentation Project Manifesto, by Matt Welsh.
  563.      * Installation and Getting Started Guide, by Matt Welsh.
  564.      * The Linux Kernel, by David Rusling.
  565.      * The Network Administrator's Guide, by Olaf Kirch.
  566.      * The Linux Programmer's Guide, by Sven Goldt, Sven van der
  567.        Meer, Scott Burkett, and Matt Welsh.
  568.      * The Linux System Administrator's Guide, Version 0.5, by Lars
  569.        Wirzenius.
  570.      * Text Processing with Linux, by Robert Kiesling.
  571.        
  572.    
  573. 2.2 Where should I look on the World Wide Web for Linux stuff?
  574.  
  575.    Two Web pages in particular provide good starting point for general
  576.    Linux information: Linux International's Home Page, at
  577.    http://www.li.org, and the Linux Online's Linux Home Page at
  578.    http://www.linux.org/.
  579.    
  580.    Both of these pages provide links to other sites, information about
  581.    general information, distributions, new software, documentation, an
  582.    news.
  583.    
  584.    Greg Hankins, gregh@cc.gatech.edu, maintains the Linux
  585.    Documentation Project Home Page, at http://sunsite.unc.edu/LDP.
  586.    
  587.    This page refers to all the FAQs and HOWTOs, both those which are
  588.    available in HTML (WWW) format, and those which aren't.
  589.    
  590.    
  591. 2.3 What newsgroups are there for Linux?
  592.  
  593.    There are a number of international Usenet newsgroups devoted to
  594.    Linux.
  595.    
  596.    comp.os.linux.announce is the moderated announcements group; you
  597.    should read this if you intend to use Linux: it contains informatio
  598.    about software updates, new ports, user group meetings, and commerc
  599.    products. It is the ONLY newsgroup that may carry commercial postin
  600.    Submissions for that group should be emailed to
  601.    linux-announce@news.ornl.gov.
  602.    
  603.    comp.os.linux.answers contains all the FAQs, HOWTOs and other
  604.    important documentation. You should subscribe to this group also.
  605.    
  606.    Axel Boldt, axel@uni-paderborn.de, noted that comp.os.linux.announc
  607.    is NOT archived on Dejanews or Altavista. The only archive for the
  608.    news group seems to be www.iki.fi/mjr/linux/cola.html.
  609.    
  610.    Also worth reading are the other groups in the comp.os.linux.*
  611.    hierarchy--you may find that many common problems are too recent to
  612.    find in this FAQ but are answered in the newsgroups. These groups a
  613. comp.os.linux.setup
  614. comp.os.linux.hardware
  615. comp.os.linux.networking
  616. comp.os.linux.x
  617. comp.os.linux.development.apps
  618. comp.os.linux.development.system
  619. comp.os.linux.advocacy
  620. comp.os.linux.misc
  621.  
  622.    Remember that since Linux is POSIX compatible, most all of the
  623.    material in comp.unix.* and comp.windows.x.* groups will be relevan
  624.    Apart from hardware considerations, and some obscure or very techni
  625.    low-level issues, you'll find that these groups are a good place to
  626.    start.
  627.    
  628.    Please read "You still haven't answered my question! " before
  629.    posting. Crossposting between different comp.os.linux.* groups is
  630.    rarely a good idea.
  631.    
  632.    There may well be Linux groups local to your institution or
  633.    area--check there first.
  634.    
  635.    See also "I don't have Usenet access. Where do I get
  636.    information? "
  637.    
  638.    Other regional and local newsgroups also exist--you may find the
  639.    traffic more manageable there. The French Linux newsgroup is
  640.    fr.comp.os.linux. The German one is de.comp.os.linux. In Australia,
  641.    try aus.computers.linux. In Croatia there is the moderated group
  642.    hr.comp.linux.m. In Italy, there is it.comp.linux.
  643.    
  644.    
  645. 2.4 Where can I find out about Linux and the Millennium (Y2K) bug?
  646.  
  647.    The Debian/GNU Linux people have a statement on their Web site at
  648.    http://www.debian.org
  649.    
  650.    Essentially, Linux uses libraries that store dates as 32-bit intege
  651.    which count the seconds since 1970. This counter will not overflow
  652.    until the year 2038, by which time the library programmers will
  653.    (hopefully) have upgraded the system software to store dates as 64-
  654.    integers.
  655.    
  656.    This, of course, does not mean that applications are not susceptibl
  657.    to the millennium bug, if they do not use the standard library
  658.    routines.
  659.    
  660.    The Free Software Foundation has a webpage about Y2K issues in GNU
  661.    software at http://www.fsf.org/software/year2000.html
  662.    
  663.    There is also a Usenet newsgroup, comp.software.year-2000, for gene
  664.    discussion of Y2K issues.
  665.    
  666.    
  667. 2.5 Where can I get Linux material by FTP?
  668.  
  669.    There are three main archive sites for Linux:
  670.      * ftp.funet.fi (Finland) : /pub/OS/Linux
  671.      * sunsite.unc.edu (US) : /pub/Linux
  672.      * tsx-11.mit.edu (US) : /pub/linux
  673.        
  674.    The best place to get the Linux kernel is
  675.    ftp.cs.helsinki.fi/pub/Linux_Kernel. Linus Torvalds uploads the
  676.    most recent kernel versions to this site.
  677.    
  678.    Of the U.S. distributions, Debian GNU/Linux is available at
  679.    ftp.debian.org/pub/debian. Red Hat Linux's home site is
  680.    ftp.redhat.com, and Slackware's is ftp.cdrom.com.
  681.    
  682.    The contents of these sites is mirrored (copied, usually approximat
  683.    daily) by a number of other sites. Please use one close to you--tha
  684.    will be faster for you and easier on the network.
  685.      * ftp.sun.ac.za/pub/linux/sunsite/ (South Africa)
  686.      * ftp.is.co.za/linux/sunsite/ (South Africa)
  687.      * ftp.cs.cuhk.hk/pub/Linux/ (Hong Kong)
  688.      * ftp.cs.cuhk.hk/pub/Linux/ (Hong Kong)
  689.      * ftp.spin.ad.jp/pub/linux/sunsite.unc.edu/ (Japan)
  690.      * ftp.nuri.net/pub/Linux/ (Korea)
  691.      * ftp.jaring.my/pub/Linux/ (Malaysia)
  692.      * ftp.nus.sg/pub/unix/Linux/ (Singapore)
  693.      * ftp.nectec.or.th/pub/mirrors/linux/ (Thailand)
  694.      * mirror.aarnet.edu.au/pub/linux/ (Australia)
  695.      * sunsite.anu.edu.au/pub/linux/ (Australia)
  696.      * ftp.monash.edu.au/pub/linux/ (Australia)
  697.      * ftp.univie.ac.at/systems/linux/sunsite/ (Austria)
  698.      * ftp.fi.muni.cz/pub/UNIX/linux/ (Czech Republic)
  699.      * ftp://sunsite.fri.uni-lj.si/pub/linux/ (Slovenia)
  700.      * ftp.funet.fi/pub/Linux/sunsite/ (Finland)
  701.      * ftp.univ-angers.fr/pub/Linux/ (France)
  702.      * ftp.iut-bm.univ-fcomte.fr (France)
  703.      * ftp.ibp.fr/pub/linux/sunsite/ (France)
  704.      * ftp.loria.fr/pub/linux/sunsite/ (France)
  705.      * ftp.dfv.rwth-aachen.de/pub/linux/sunsite/ (Germany)
  706.      * ftp.germany.eu.net/pub/os/Linux/Mirror.SunSITE/ (Germany)
  707.      * ftp.tu-dresden.de/pub/Linux/sunsite/ (Germany)
  708.      * ftp.uni-erlangen.de/pub/Linux/MIRROR.sunsite/ (Germany)
  709.      * ftp.gwdg.de/pub/linux/mirrors/sunsite/ (Germany)
  710.      * ftp.rz.uni-karlsruhe.de/pub/linux/mirror.sunsite/ (Germany)
  711.      * ftp.ba-mannheim.de/pub/linux/mirror.sunsite/ (Germany)
  712.      * ftp.uni-paderborn.de/pub/Mirrors/sunsite.unc.edu/ (Germany)
  713.      * ftp.uni-rostock.de/Linux/sunsite/ (Germany)
  714.      * tp.rus.uni-stuttgart.de/pub/unix/systems/linux/MIRROR.sunsite
  715.        / (Germany)
  716.      * ftp.uni-tuebingen.de/pub/linux/Mirror.sunsite/ (Germany)
  717.      * ftp.rz.uni-ulm.de/pub/mirrors/linux/sunsite/ (Germany)
  718.      * ftp.kfki.hu/pub/linux/ (Hungary)
  719.      * linux.italnet.it/pub/Linux/ (Italy)
  720.      * ftp.unina.it/pub/linux/sunsite/ (Italy)
  721.      * giotto.unipd.it/pub/unix/Linux/ (Italy)
  722.      * cnuce-arch.cnr.it/pub/Linux/ (Italy)
  723.      * ftp.flashnet.it/mirror2/sunsite.unc.edu/ (Italy)
  724.      * ftp.nijenrode.nl/pub/linux/sunsite.unc-mirror/ (Netherlands)
  725.      * ftp.LeidenUniv.nl/pub/linux/sunsite/ (Netherlands)
  726.      * ftp.nvg.unit.no/pub/linux/sunsite/ (Norway)
  727.      * ftp://sunsite.icm.edu.pl/pub/Linux/sunsite.unc.edu/ (Poland)
  728.      * ftp.rediris.es/software/os/linux/sunsite/ (Spain)
  729.      * sunsite.rediris.es/software/linux/ (Spain)
  730.      * ftp.cs.us.es/pub/Linux/sunsite-mirror/ (Spain)
  731.      * ftp.etse.urv.es/pub/mirror/linux/ (Spain)
  732.      * ftp.etsimo.uniovi.es/pub/linux/ (Spain)
  733.      * ftp.luna.gui.es/pub/linux.new/ (Spain)
  734.      * ftp.switch.ch/mirror/linux/ (Switzerland)
  735.      * ftp.metu.edu.tr/pub/linux/sunsite/ (Turkey)
  736.      * unix.hensa.ac.uk/mirrors/sunsite/pub/Linux/ (UK)
  737.      * ftp.maths.warwick.ac.uk/mirrors/linux/sunsite.unc-mirror/
  738.        (UK)
  739.      * ftp.idiscover.co.uk/pub/Linux/sunsite.unc-mirror/ (UK)
  740.      * sunsite.doc.ic.ac.uk/packages/linux/sunsite.unc-mirror/ (UK)
  741.      * ftp.dungeon.com/pub/linux/sunsite-mirror/ (UK)
  742.      * ftp.io.org/pub/mirrors/linux/sunsite/ (Canada)
  743.      * ftp.cc.gatech.edu/pub/linux/ (US)
  744.      * ftp.cdrom.com/pub/linux/sunsite/ (US)
  745.      * ftp.siriuscc.com/pub/Linux/Sunsite/ (US)
  746.      * ftp.engr.uark.edu/pub/linux/sunsite/ (US)
  747.      * ftp.infomagic.com/pub/mirrors/linux/sunsite/ (US)
  748.      * linux.if.usp.br/pub/mirror/sunsite.unc.edu/pub/Linux/
  749.        (Brazil)
  750.      * farofa.ime.usp.br/pub/linux/ (Brazil)
  751.        
  752.    Not all of these mirror all of the other `source' sites, and some h
  753.    material not available on the `source' sites.
  754.    
  755.    
  756. 2.6 I don't have FTP access. Where do I get Linux?
  757.  
  758.    The easiest thing is probably to find a friend with FTP access. If
  759.    there is a Linux user's group near you, they may be able to help.
  760.    
  761.    If you have a reasonably good email connection you could try the
  762.    FTP-by-mail servers at ftpmail@ftp.sunet.se,
  763.    ftpmail@garbo.uwasa.fi or ftpmail@ftp.uni-stuttgart.de.
  764.    
  765.    Linux is also available via traditional mail on CD-ROM. The file
  766.    sunsite.unc.edu/pub/Linux/docs/HOWTO/Installation-HOWTO, and the
  767.    file
  768.    sunsite.unc.edu/pub/Linux/docs/distributions/Distribution-HOWTO
  769.    contain information on these distributions.
  770.    
  771.    
  772. 2.7 I don't have Usenet access. Where do I get information?
  773.  
  774.    A digest of comp.os.linux.announce is available by mailing the word
  775.    "subscribe" (without the quotes) as the body of a message to
  776.    linux-announce-REQUEST@news-digests.mit.edu. Subscribe to this
  777.    list is a good idea, as it carries important information and
  778.    documentation about Linux.
  779.    
  780.    Please remember to use the *-request addresses for your subscriptio
  781.    and unsubscription messages; mail to the other address is posted to
  782.    the newsgroup!
  783.    
  784.    
  785. 2.8 What mailing lists are there?
  786.  
  787.    The Linux developers now mainly use the Majordomo server at
  788.    majordomo@vger.rutgers.edu. Send a message with the word
  789.    "lists" (without the quotes) in the body to get a list of lists
  790.    there. Add a line with the word, "help," to get the standard
  791.    Majordomo help file which lists instructions for subscribing and
  792.    unsubscribing to the lists.
  793.    
  794.    Most of the lists are used by the developers of Linux to talk about
  795.    technical issues and future developments. These are not intended fo
  796.    new users' questions.
  797.    
  798.    There is a linux-newbie list where "no question is too stupid."
  799.    Unfortunately, it seems that few of the experienced users read that
  800.    channel. It does have very low volume.
  801.    
  802.    
  803. 2.9 Are the newsgroups archived anywhere?
  804.  
  805.    The Usenet Linux news groups are archived at
  806.    http://www.dejanews.com, http://www.reference.com and
  807.    http://altavista.digital.com
  808.    
  809.    sunsite.unc.edu//pub/Linux/docs/linux-announce.archive contains
  810.    archives of comp.os.linux.announce. These are mirrored from
  811.    src.doc.ic.ac.uk/usenet, which also archives comp.os.linux,
  812.    comp.os.linux.development.apps, and comp.os.linux.development.syste
  813.    
  814.    There is an "easy to access" archive of comp.os.linux.announce on
  815.    the World Wide Web at
  816.    http://www.leo.org/archiv/linux/archiv/ann_index.html. It
  817.    supports searching and browsing.
  818.    
  819.    
  820.    contents
  821.    
  822.    
  823. 3. Compatibility with other operating systems.
  824.  
  825.    
  826. 3.1 Can Linux share my disk with DOS? OS/2? 386BSD? Win95?
  827.  
  828.    Yes. Linux uses the standard MS-DOS partitioning scheme, so it can
  829.    share your disk with other operating systems. Note, however, that m
  830.    of these other operating systems are rather picky. DOS's FDISK.EXE 
  831.    FORMAT.EXE, for example, can overwrite data in a Linux partition,
  832.    because they sometimes incorrectly use partition data from the
  833.    partition's boot sector rather than the partition table.
  834.    
  835.    In order to prevent programs like these from doing this, it is a go
  836.    idea to zero out--under Linux--the start of a partition you created
  837.    before you use MS-DOS--or whatever--to format it. Type:
  838. $ dd if=/dev/zero of=/dev/hdXY bs=512 count=1
  839.  
  840.    where hdXY is the relevant partition; e.g., hda1 for the first
  841.    partition of the first (IDE) disk.
  842.    
  843.    Linux can read and write the files on your DOS and OS/2 FAT partiti
  844.    and floppies using either the DOS file system type built into the
  845.    kernel or mtools. There is kernel support for the VFAT file system
  846.    used by Windows 9x and Windows NT.
  847.    
  848.    For information about FAT32 partition support, see
  849.    http://bmrc.berkeley.edu/people/chaffee/fat32.html.
  850.    
  851.    "What software does Linux support? " for details and status of
  852.    the emulators for DOS, MS Windows, and System V programs.
  853.    
  854.    See, "Can Linux access Amiga file systems? " and, "Can
  855.    Linux access Mac file systems? " "Can Linux access BSD, SysV,
  856.    etc., UFS? " "Can Linux access SMB file systems? "
  857.    
  858.    There are said to be NTFS drivers under development, which should
  859.    support compression as a standard feature.
  860.    
  861.    There is also supposedly a Win95 driver that allows read-only acces
  862.    to Linux file systems, although I don't know the URL. Call Microsof
  863.    technical support.
  864.    
  865.    
  866. 3.2 How do I access files on my DOS partition or floppy?
  867.  
  868.    Use the DOS file system; i.e., type, for example:
  869. $ mkdir /dos
  870. $ mount -t msdos -o conv=text,umask=022,uid=100,gid=100 /dev/hda3 /dos
  871.  
  872.    If it's a floppy, don't forget to umount it before ejecting it!
  873.    
  874.    You can use the conv=text/binary/auto, umask=nnn, uid=nnn, and gid=
  875.    options to control the automatic line-ending conversion, permission
  876.    and ownerships of the files in the DOS file system as they appear
  877.    under Linux. If you mount your DOS file system by putting it in you
  878.    /etc/fstab, you can record the options (comma-separated) there,
  879.    instead of defaults.
  880.    
  881.    Alternatively, you can use mtools, available in both binary and sou
  882.    form on the FTP sites--"Where can I get Linux material by FTP?
  883.    ".
  884.    
  885.    A kernel patch (known as the fd-patches) is available which allows
  886.    floppies with nonstandard numbers of tracks and/or sectors to be us
  887.    this patch is included in the 1.1 alpha testing kernel series.
  888.    
  889.    
  890. 3.3 Does Linux support compressed ext2 file systems?
  891.  
  892.    As of recently, it does. Information about them is located at
  893.    http://www.netspace.net.au/~reiter/e2compr/.
  894.    
  895.    There is also a Web site for the e2compr patches. The code is still
  896.    experimental and consists of patches for the 2.0 and 2.1 kernels. F
  897.    more information about the project, including the latest patches an
  898.    the address of the mailing list, look up the URL at
  899.    http://debs.fuller.edu/e2compr/ This is according to Roderich
  900.    Schupp, who adds somewhat cryptically, "There is a program called
  901.    Zlibc ..."
  902.    
  903.    Zlibc is actually a program that allows existing applications to re
  904.    compressed (GNU gzip'ed) files as if they were not compressed. Look
  905.    sunsite.unc.edu in /pub/Linux/libs. The author is Alain.Knuff@imag.
  906.    
  907.    There is also a compressing block device driver that can provide on
  908.    the fly disk compression in the kernel. It is called, "DouBle" and
  909.    is written by Jean-Marc Verbavatz. The source-only distribution is
  910.    located on sunsite.unc.edu in the directory
  911.    /pub/Linux/patches/diskdrives. This driver compresses inodes and
  912.    directory information as well as files, so any corruption of the fi
  913.    system is likely to be serious.
  914.    
  915.    There is also a package called tcx (Transparently Compressed
  916.    Executables) which allows you to keep infrequently compressed
  917.    executables compressed and only uncompress them temporarily when in
  918.    use. It is located on sunsite.unc.edu in the directory
  919.    /pub/Linux/utils/compress/.
  920.    
  921.    
  922. 3.4 Can I use my Stacked/DBLSPC/etc. DOS drive?
  923.  
  924.    Until recently, not very easily. You can access DOS 6.X volumes fro
  925.    the DOS emulator ("What software does Linux support? "), but
  926.    it's harder than accessing a normal DOS volume via the DOS kernel
  927.    option, a module, or mtools.
  928.    
  929.    There is a recently added package, dmsdos, which reads and writes
  930.    compressed file systems like DoubleSpace/DriveSpace in MS-DOS 6.x a
  931.    Win95, as well as Stacker versions 3 and 4. It is available in the
  932.    archives on
  933.    ftp://sunsite.unc.edu/pub/Linux/system/Filesystem/dosfs.
  934.    
  935.    There is a module available for the Linux kernel which can do
  936.    read-only access of the compressed volume. Look in
  937.    sunsite.unc.edu/pub/Linux/system/filesystems/dosfs for this
  938.    package.
  939.    
  940.    
  941. 3.5 Can I access OS/2 HPFS partitions from Linux?
  942.  
  943.    Yes, but Linux access to HPFS partitions is read-only. HPFS file
  944.    system access is available as an option when compiling the kernel o
  945.    as a module. See the Documentation/filesystems/hpfs.txt file in the
  946.    kernel source distribution. "How do I upgrade/recompile my
  947.    kernel? "). Then you can mount HPFS partition, using, for example:
  948. $ mkdir /hpfs
  949. $ mount -t hpfs /dev/hda5 /hpfs
  950.  
  951.    
  952. 3.6 Can Linux access Amiga file systems?
  953.  
  954.    The Linux kernel has support for the Amiga Fast File System (AFFS)
  955.    version 1.3 and later, both as a compile-time option and as a modul
  956.    The file Documentation/filesystems/affs.txt in the Linux kernel sou
  957.    distribution has more information.
  958.    
  959.    See "How do I upgrade/recompile my kernel? ".
  960.    
  961.    Linux supports AFFS hard-drive partitions only, though: floppy acce
  962.    is not supported due to incompatibilities between Amiga floppy
  963.    controllers, and PC and workstation controllers. The AFFS driver ca
  964.    also mount disk partitions used by the Un*x Amiga Emulator, by Bern
  965.    Schmidt.
  966.    
  967.    
  968. 3.7 Can Linux access BSD, SysV, etc. UFS?
  969.  
  970.    Recent kernels can mount (read only) the UFS file system used by
  971.    System V; Coherent; Xenix; BSD and derivatives like SunOS, FreeBSD,
  972.    NetBSD, and NeXTstep. UFS support is available as a kernel
  973.    compile-time option and a module.
  974.    
  975.    See "How do I upgrade/recompile my kernel? ".
  976.    
  977.    
  978. 3.8 Can Linux access SMB file systems?
  979.  
  980.    Linux supports read/write access of Windows for Workgroups and Wind
  981.    NT SMB volumes. See the file Documentation/filesystems/smbfs.txt of
  982.    the Linux kernel source distribution, and "How do I
  983.    upgrade/recompile my kernel? " in this FAQ.
  984.    
  985.    There is also a suite of programs called Samba which provide suppor
  986.    for WfW networked file systems (provided they're for TCP/IP).
  987.    Information is available in the README file at
  988.    sunsite.unc.edu/pub/Linux/system/network/samba.
  989.    
  990.    There is a SMB web site at samba.canberra.edu.au/pub/samba.
  991.    
  992.    
  993. 3.9 Can Linux access Mac file systems?
  994.  
  995.    There is a set of user-level programs that read and write the
  996.    Macintosh Hierarchical File System (HFS). It is available at
  997.    sunsite.unc.edu/pub/Linux/utils/disk-management.
  998.    
  999.    
  1000. 3.10 Can I run Microsoft Windows programs under Linux?
  1001.  
  1002.    WINE, a MS Windows emulator for Linux, is still not ready for gener
  1003.    distribution. If you want to contribute to its development, look fo
  1004.    the status reports in the comp.emulators.ms-windows.wine newsgroup.
  1005.    
  1006.    A commercial, working product known as WABI is said to provide full
  1007.    Windows emulation under Linux. It was written by Sunsoft, Inc. The
  1008.    Linux version is available from Caldera.
  1009.    
  1010.    There is also a FAQ, compiled by P. David Gardner, at
  1011.    sunsite.unc.edu/pub/Linux/docs/faqs/Wine-FAQ/.
  1012.    
  1013.    In the meantime, if you need to run MS Windows programs, the best
  1014.    bet--seriously--is to reboot. LILO, the Linux bootloader, can boot 
  1015.    of several operating systems from a menu. See the LILO documentatio
  1016.    for details.
  1017.    
  1018.    Also, LOADLIN (a DOS program to load a Linux, or other OS, kernel i
  1019.    handy way to make Linux co-exist with DOS. LOADLIN is particularly
  1020.    handy when you want to install Linux on a 3rd or 4th drive on a sys
  1021.    (or when you're adding a SCSI drive to a system with an existing ID
  1022.    
  1023.    In these cases, it is common for LILO's boot load to be unable to f
  1024.    or load the kernel on the "other" drive. So you just create a C:\LI
  1025.    directory (or whatever), put LOADLIN in it with a copy of your kern
  1026.    and use that.
  1027.    
  1028.    LOADLIN is a VCPI compliant program. Win '95 will want to, "shutdow
  1029.    into DOS mode," to run it (as it would with certain other DOS
  1030.    protected-mode programs).
  1031.    
  1032.    Earlier versions of LOADLIN sometimes required a package called
  1033.    REALBIOS.COM, which required a boot procedure on an (almost) blank
  1034.    floppy to map the REALBIOS interrupt vectors (prior to the loading 
  1035.    any software drivers). (Current versions don't seem to ship with it
  1036.    and don't seem to need it).
  1037.    
  1038.    (Much thanks to Jim Dennis for this information.)
  1039.    
  1040.    
  1041. 3.11 How can I boot Linux from OS/2's Boot Manager?
  1042.  
  1043.     1. Create a partition using OS/2's FDISK.EXE (Not Linux's fdisk).
  1044.     2. Format the partition under OS/2, either with FAT or HPFS. This 
  1045.        so that OS/2 knows about the partition being formatted. (This s
  1046.        is not necessary with OS/2 "warp" 3.0.)
  1047.     3. Add the partition to the Boot Manager.
  1048.     4. Boot Linux, and create a file system on the partition using mkf
  1049.        -t ext2 or mke2fs. At this point you may, if you like, use Linu
  1050.        fdisk to change the code of the new partition to type 83 (Linux
  1051.        Native)--this may help some automated installation scripts find
  1052.        the right partition to use.
  1053.     5. Install Linux on the partition.
  1054.     6. Install LILO on the Linux partition--NOT on the master boot rec
  1055.        of the hard drive. This installs LILO as a second-stage boot
  1056.        loader on the Linux partition itself, to start up the kernel
  1057.        specified in the LILO config file. To do this, you should put
  1058. boot = /dev/hda2
  1059.        (where /dev/hda2 is the partition you want to boot from) in you
  1060.        /etc/lilo/config or /etc/lilo.config file.
  1061.     7. Make sure that it is the Boot Manager partition that is marked
  1062.        active, so that you can use Boot Manager to choose what to boot
  1063.        
  1064.    There is a set of HOWTO's on the subject of multi-boot systems on t
  1065.    LDP Home Page, http://sunssite.unc.edu/LDP/.
  1066.    
  1067.    
  1068. 3.12 How can I share a swap partition between Linux and MS Windows?
  1069.  
  1070.    See the Mini-HOWTO on the subject by H. Peter Anvin,
  1071.    hpa@yggdrasil.com. It is available at
  1072.    sunsite.unc.edu/pub/Linux/docs/HOWTO/mini/Swap-Space.
  1073.    
  1074.    
  1075.    contents
  1076.    
  1077.    
  1078. 4. Linux's handling of file systems, disks, and drives
  1079.  
  1080.    
  1081. 4.1 How can I get Linux to work with my disk?
  1082.  
  1083.    If your disk is an IDE or EIDE drive, you should read the file
  1084.    /usr/src/linux/drivers/block/README.ide (part of the Linux kernel
  1085.    source code). This README contains many helpful hints about IDE
  1086.    drives. Many modern IDE controllers do translation between `physica
  1087.    cylinders/heads/sectors and `logical' ones.
  1088.    
  1089.    SCSI disks are accessed by linear block numbers. The BIOS invents s
  1090.    `logical' cylinder/head/sector fiction to support DOS.
  1091.    
  1092.    DOS will usually not be able to access partitions which extend beyo
  1093.    1024 logical cylinders, and will make booting a Linux kernel from s
  1094.    partitions using LILO problematic at best.
  1095.    
  1096.    You can still use such partitions for Linux or other operating syst
  1097.    that access the controller directly.
  1098.    
  1099.    It's recommend that you create at least one Linux partition entirel
  1100.    under the 1024 logical cylinder limit, and boot from that. The othe
  1101.    partitions will then be okay.
  1102.    
  1103.    Also there seems to be a bit of trouble with the newer Ultra-DMA
  1104.    drives. I haven't gottent the straight scoop on them--but they are
  1105.    becoming a very common problem and the SVLUG installfests. When you
  1106.    can get 8 to 12 Gig drives for $200 to $300 it's no wonder.
  1107.    
  1108.    (Much thanks to Jim Dennis for this information.)
  1109.    
  1110.    
  1111. 4.2 How can I undelete files?
  1112.  
  1113.    In general, this is very hard to do on Unices because of their
  1114.    multitasking nature. Undelete functionality for the ext2fs file sys
  1115.    is being worked on, but don't hold your breath.
  1116.    
  1117.    There are a number of packages available which instead provide new
  1118.    commands for deleting and copying which move deleted files into a
  1119.    `wastebasket' directory. The files can be recovered until cleaned o
  1120.    automatically by background processing.
  1121.    
  1122.    Alternatively, you can search the raw disk device which holds the f
  1123.    system in question. This is hard work, and you will need to be logg
  1124.    in as root to do this.
  1125.    
  1126.    
  1127. 4.3 Is there a defragmenter for ext2fs etc.?
  1128.  
  1129.    Yes. There is defrag, a Linux file system defragmenter for ext2, mi
  1130.    and old-style ext file systems. It is available at
  1131.    sunsite.unc.edu/pub/Linux/system/filesystems/defrag-0.70.tar.gz.
  1132.    
  1133.    Users of the ext2 file system can probably do without defrag, becau
  1134.    ext2 contains extra code to keep fragmentation reduced even in very
  1135.    full file systems.
  1136.    
  1137.    
  1138. 4.4 How do I format and create a file system on a floppy?
  1139.  
  1140.    To format a 3.5-inch, high density floppy:
  1141. $ fdformat /dev/fd0H1440
  1142. $ mkfs -t ext2 -m 0 /dev/fd0H1440 1440
  1143.  
  1144.    For a 5.25 inch floppy, use fd0h1200 and 1200 as appropriate. For t
  1145.    `B' drive use fd1 instead of fd0.
  1146.    
  1147.    The -m 0 option tells mkfs.ext2 not to reserve any space on the dis
  1148.    for the superuser--usually the last 10% is reserved for root.
  1149.    
  1150.    The first command performs a low-level format. The second creates a
  1151.    empty file system. You can mount the floppy like a hard disk partit
  1152.    and simply cp and mv files, etc.
  1153.    
  1154.    Device naming conventions generally are the same as for other Unice
  1155.    They can be found in Matt Welsh's Installation and Getting Started
  1156.    Guide. (See "Where can I get the HOWTOs and other
  1157.    documentation? ") A more detailed and technical description is Linu
  1158.    Allocated Devices by H. Peter Anvin, hpa@zytor.com, which is
  1159.    included in LaTeX and ASCII form in the kernel source distribution
  1160.    (probably in /usr/src/kernel/Documentation), as devices.tex and
  1161.    devices.txt.
  1162.    
  1163.    
  1164. 4.5 I get nasty messages about inodes, blocks, and the suchlike.
  1165.  
  1166.    You may have a corrupted file system, probably caused by not shutti
  1167.    Linux down properly before turning off the power or resetting. You
  1168.    need to use a recent shutdown program to do this--for example, the 
  1169.    included in the util-linux package, available on sunsite and tsx-11
  1170.    
  1171.    If you're lucky, the program fsck (or e2fsck or xfsck as appropriat
  1172.    if you don't have the automatic fsck front-end) will be able to rep
  1173.    your file system. If you're unlucky, the file system is trashed, an
  1174.    you'll have to reinitialize it with mkfs (or mke2fs, mkxfs, etc.), 
  1175.    restore from a backup.
  1176.    
  1177.    NB: don't try to check a file system that's mounted read/write--thi
  1178.    includes the root partition if you don't see
  1179.    VFS: mounted root ... read-only
  1180.  
  1181.    at boot time.
  1182.    
  1183.    
  1184. 4.6 My swap area isn't working.
  1185.  
  1186.    When you boot (or enable swapping manually) you should see
  1187.         Adding Swap: NNNNk swap-space
  1188.  
  1189.    If you don't see any messages at all you are probably missing swapo
  1190.    -av (the command to enable swapping) in your /etc/rc.local or
  1191.    /etc/rc.d/* (the system startup scripts), or have forgotten to make
  1192.    the right entry in /etc/fstab:
  1193.    
  1194.         /dev/hda2       none       swap       sw
  1195.  
  1196.    for example.
  1197.    
  1198.    If you see
  1199.         Unable to find swap-space signature
  1200.  
  1201.    you have forgotten to run mkswap. See the manual page for details; 
  1202.    works much like mkfs.
  1203.    
  1204.    Running, 'free' in addition to showing free memory, should display:
  1205.    
  1206.              total       used       free
  1207. Swap:        10188       2960       7228
  1208.  
  1209.    Check the Installation HOWTO for detailed instructions of how to se
  1210.    up a swap area.
  1211.    
  1212.    
  1213. 4.7 How do I remove LILO so my system boots DOS again?
  1214.  
  1215.    Using DOS (MS-DOS 5.0 or later, or OS/2), type FDISK /MBR (which is
  1216.    not documented). This will restore a standard MS-DOS Master Boot
  1217.    Record. If you have DR-DOS 6.0, go into FDISK in the normal way and
  1218.    then select the `Re-write Master Boot Record' option.
  1219.    
  1220.    If you don't have MS DOS or DR DOS, you need to have the boot secto
  1221.    that LILO saved when you first installed it. You did keep that file
  1222.    didn't you ? It's probably called boot.0301 or some such. Type
  1223.    dd if=boot.0301 of=/dev/hda bs=445 count=1
  1224.  
  1225.    (or sda if you're using a SCSI disk). This may also wipe out your
  1226.    partition table, so beware! If you're desperate, you could use
  1227.    dd if=/dev/zero of=/dev/hda bs=512 count=1
  1228.  
  1229.    This will erase your partition table and boot sector completely: yo
  1230.    can then reformat the disk using your favorite software. But this w
  1231.    render the contents of your disk inaccessible--you'll lose it all
  1232.    unless you're an expert.
  1233.    
  1234.    Note that the DOS MBR boots whichever (single!) partition is flagge
  1235.    as `active'. You may need to use fdisk to set and clear the active
  1236.    flags on partitions appropriately.
  1237.    
  1238.    
  1239. 4.8 Why can't I use fdformat except as root?
  1240.  
  1241.    The system call to format a floppy can only be done as root,
  1242.    regardless of the permissions of /dev/fd0*. If you want any user to
  1243.    able to format a floppy, try getting the fdformat2 program. This wo
  1244.    around the problems by being setuid to root.
  1245.    
  1246.    
  1247. 4.9 My ext2fs partitions are checked each time I reboot.
  1248.  
  1249.    See "EXT2-fs: warning: mounting unchecked file system.".
  1250.    
  1251.    
  1252. 4.10 My root file system is read-only!
  1253.  
  1254.    Remount it. If /etc/fstab is correct, you can simply mount -n -o
  1255.    remount /. If /etc/fstab is wrong you must give the device name and
  1256.    posibly the type too: e.g. mount -n -o remount -t ext2 /dev/hda2 /.
  1257.    understand how you got into this state, see "EXT2-fs: warning:
  1258.    mounting unchecked file system."
  1259.    
  1260.    
  1261. 4.11 I have a huge /proc/kcore! Can I delete it?
  1262.  
  1263.    None of the files in /proc are really there--they're all "pretend"
  1264.    files made up by the kernel, to give you information about the syst
  1265.    and don't take up any hard disk space.
  1266.    
  1267.    /proc/kcore is like an "alias" for the memory in your computer; its
  1268.    size is the same as the amount of RAM you have, and if you ask to r
  1269.    it as a file the kernel does memory reads.
  1270.    
  1271.    
  1272. 4.12 My AHA1542C doesn't work with Linux.
  1273.  
  1274.    The option to allow disks with more than 1024 cylinders is only
  1275.    required as a workaround for a DOS misfeature and should be turned
  1276.    `off' under Linux. For older Linux kernels you need to turn off mos
  1277.    of the "advanced BIOS" options--all but the one about scanning the
  1278.    bus for bootable devices.
  1279.    
  1280.    
  1281.    contents
  1282.    
  1283.    
  1284. 5. Porting, compiling and obtaining programs
  1285.  
  1286.    
  1287. 5.1 How do I port XXX to Linux?
  1288.  
  1289.    In general, Unix programs need very little porting. Simply follow t
  1290.    installation instructions. If you don't know--and don't know how to
  1291.    find out--the answers to some of the questions asked during the
  1292.    installation procedure, you can guess, but this tends to produce bu
  1293.    programs. In this case, you're probably better off asking someone e
  1294.    to do the port.
  1295.    
  1296.    If you have a BSD-ish program, you should try using -I/usr/include/
  1297.    and -lbsd on the appropriate parts of the compilation lines.
  1298.    
  1299.    
  1300. 5.2 What is ld.so and where do I get it?
  1301.  
  1302.    ld.so is the dynamic library loader. Each binary using shared
  1303.    libraries used to have about 3K of start-up code to find and load t
  1304.    shared libraries. Now that code has been put in a special shared
  1305.    library, /lib/ld.so, where all binaries can look for it, so that it
  1306.    wastes less disk space, and can be upgraded more easily.
  1307.    
  1308.    ld.so can be obtained from tsx-11.mit.edu/pub/linux/packages/GCC
  1309.    and mirror sites. The latest version at the time of writing is
  1310.    ld.so.1.9.5.tar.gz.
  1311.    
  1312.    /lib/ld-linux.so.1 is the same thing for ELF "( What's all this
  1313.    about ELF? )" and comes in the same package as the a.out loader.
  1314.    
  1315.    
  1316. 5.3 Has anyone ported / compiled / written XXX for Linux?
  1317.  
  1318.    First, look in the Linux Software Map--it's at
  1319.    sunsite.unc.edu/pub/Linux/docs/linux-software-map, and on the
  1320.    other FTP sites. A search engine is available on the World Wide Web
  1321.    http://www.boutell.com/lsm/.
  1322.    
  1323.    Check the FTP sites "Where can I get Linux material by FTP? "
  1324.    first--search the ls-lR or INDEX files for appropriate strings.
  1325.    
  1326.    Also look at the Linux Projects Map,
  1327.    ftp.ix.de/pub/ix/Linux/docs/Projects-Map.gz.
  1328.    
  1329.    There's a search engine for Linux FTP archives at
  1330.    http://lfw.linuxhq.com/
  1331.    
  1332.    Also check out the Freshmeat Web site http://www.freshmeat.org,
  1333.    which is really cool.
  1334.    
  1335.    If you don't find anything, you could either download the sources t
  1336.    the program yourself and compile them. See "How do I port XXX
  1337.    to Linux? " If it's a large package which may require some porting,
  1338.    post a message to comp.os.linux.development.apps.
  1339.    
  1340.    If you compile a large-ish program, please upload it to one or more
  1341.    the FTP sites, and post a message to comp.os.linux.announce (submit
  1342.    your posting to linux-announce@news.ornl.gov).
  1343.    
  1344.    If you're looking for an application program, the chances are that
  1345.    someone has already written a free verson. The comp.sources.wanted 
  1346.    has instructions for finding the source code.
  1347.    
  1348.    
  1349. 5.4 Can I use code or a compiler compiled for a 486 on my 386?
  1350.  
  1351.    Yes, unless it's the kernel.
  1352.    
  1353.    The -m486 option to GCC, which is used to compile binaries for x486
  1354.    machines, merely changes certain optimizations. This makes for
  1355.    slightly larger binaries which run somewhat faster on a 486. They
  1356.    still work fine on a 386, though, with a small performance hit.
  1357.    
  1358.    However, from version 1.3.35 the kernel will use 486- or
  1359.    Pentium-specific instructions if configured for a 486 or Pentium, t
  1360.    making it unusable on a 386.
  1361.    
  1362.    GCC can be configured for a 386 or 486; the only difference is that
  1363.    configuring it for a 386 makes -m386 the default and configuring fo
  1364.    486 makes -m486 the default; in either case these can be overriden 
  1365.    a per-compilation basis or by editing
  1366.    /usr/lib/gcc-lib/i*-linux/n.n.n/specs.
  1367.    
  1368.    There is an Alpha version of GCC which knows how to do optimisation
  1369.    well for the 586, but it is quite unreliable, especially at high
  1370.    optimisation settings. The Pentium GCC can be found on tsx-11.mit.e
  1371.    in /pub/linux/ALPHA/pentium-gcc. I'd recommend using the ordinary 4
  1372.    GCC instead; word has it that using -m386 produces code that's bett
  1373.    for the Pentium, or at least slightly smaller.
  1374.    
  1375.    
  1376. 5.5 What does gcc -O6 do?
  1377.  
  1378.    Currently the same as -O2 (GCC 2.5) or -O3 (GCC 2.6, 2.7); any numb
  1379.    greater than that currently does the same thing. The Makefiles of
  1380.    newer kernels use -O2, and you should probably do the same.
  1381.    
  1382.    
  1383. 5.6 Where are linux/*.h and asm/*.h?
  1384.  
  1385.    These are in the directories /usr/include/linux and /usr/include/as
  1386.    However, they should be symbolic links to your kernel sources in
  1387.    /usr/src/linux, not actual directories.
  1388.    
  1389.    If you don't have the kernel sources, download them--see, "How
  1390.    do I upgrade/recompile my kernel? "
  1391.    
  1392.    Then, use rm to remove any garbage, and ln to create the links:
  1393.    rm -rf /usr/include/linux /usr/include/asm
  1394.    ln -sf /usr/src/linux/include/linux /usr/include/linux
  1395.    ln -sf /usr/src/linux/include/asm /usr/include/asm
  1396.  
  1397.    /usr/src/linux/include/asm is a symbolic link to an
  1398.    architecture-specific asm-arch directory--if you have a freshly
  1399.    unpacked kernel source tree you must use make symlinks. You'll also
  1400.    find that you may need to do make config in a newly-unpacked kernel
  1401.    source tree, to create linux/autoconf.h.
  1402.    
  1403.    
  1404. 5.7 I get errors when I try to compile the kernel.
  1405.  
  1406.    See the previous question regarding the header files.
  1407.    
  1408.    Remember that when you apply a patch to the kernel, you must use th
  1409.    -p0 or -p1 option: otherwise the patch may be misapplied. See the
  1410.    patch manual page for details.
  1411.    
  1412.    ld: unrecognised option `-qmagic' means that you should get a newer
  1413.    linker, from ftp://tsx-11.mit.edu/pub/linux/packages/GCC/, in the
  1414.    file binutils-2.8.1.0.1.bin.tar.gz.
  1415.    
  1416.    
  1417. 5.8 How do I make a shared library?
  1418.  
  1419.    For ELF,
  1420.    gcc -fPIC -c *.c
  1421.    gcc -shared -Wl,-soname,libfoo.so.1 -o libfoo.so.1.0 *.o
  1422.  
  1423.    For a.out, get tools-n.nn.tar.gz from tsx-11.mit.edu, in
  1424.    /pub/linux/packages/GCC/src/. It comes with documentation that will
  1425.    tell you what to do. Note that a.out shared libraries are a very
  1426.    tricky business. Consider upgrading your libraries to ELF shared
  1427.    libraries. See the ELF HOWTO, at
  1428.    sunsite.unc.edu/pub/Linux/docs/HOWTO/
  1429.    
  1430.    
  1431. 5.9 My executables are (very) large.
  1432.  
  1433.    With an ELF compiler (see Q8.2 `What's all this about ELF ?') the m
  1434.    common cause of large executables is the lack of an appropriate .so
  1435.    library link for one of the libraries you're using. There should be
  1436.    link like libc.so for every library like libc.so.5.2.18.
  1437.    
  1438.    With an a.out compiler (see, "What's all this about ELF? ")
  1439.    the most common cause of large executables is the -g linker (compil
  1440.    flag. This produces (as well as debugging information in the output
  1441.    file) a program which is statically linked, i.e. one which includes
  1442.    copy of the C library instead of using a dynamically linked copy.
  1443.    
  1444.    Other things worth investigating are -O and -O2 which enable
  1445.    optimisation (check the GCC documentation) and -s (or the strip
  1446.    command) which strip the symbol information from the resulting bina
  1447.    (making debugging totally impossible).
  1448.    
  1449.    You may wish to use -N on very small executables (less than 8K with
  1450.    the -N), but you shouldn't do this unless you understand its
  1451.    performance implications, and definitely never with daemons.
  1452.    
  1453.    
  1454. 5.10 Does Linux support threads or lightweight processes?
  1455.  
  1456.    As well as the Unix multiprocessing model involving heavyweight
  1457.    processes, which is of course part of the standard Linux kernel, th
  1458.    are several implementations of lightweight processes or threads, mo
  1459.    of which are generic packages for any Unix:
  1460.      * In sipb.mit.edu:/pub/pthread or
  1461.        ftp.ibp.fr:/pub/unix/threads/pthreads. Documentation isn't in t
  1462.        package, but is available on the World Wide Web at
  1463.        http://www.mit.edu:8001/people/proven/home_page.html. Newer Lin
  1464.        libcs contain the pthreads source; the GNU Ada compiler on
  1465.        sunsite.unc.edu in
  1466.        /pub/Linux/devel/lang/ada/gnat-3.01-linux+elf.tar.gz contains
  1467.        binaries made from that source code.
  1468.      * In ftp.cs.washington.edu:/pub/qt-001.tar.Z is QuickThreads. Mor
  1469.        information can be found in the technical report, available on 
  1470.        same site as /tr/1993/05/UW-CSE-93-05-06.PS.Z.
  1471.      * In gummo.doc.ic.ac.uk:/rex is lwp, a very minimal implementatio
  1472.      * In ftp.cs.fsu.edu:/pub/PART, an Ada implementation. This is use
  1473.        mainly because it has a lot of PostScript papers that you'll fi
  1474.        useful in learning more about threads. This is not directly usa
  1475.        under Linux.
  1476.        
  1477.    Please contact the authors of the packages in question for details.
  1478.    
  1479.    
  1480. 5.11 Where can I get `lint' for Linux?
  1481.  
  1482.    Roughly equivalent functionality is built into the GNU C compiler
  1483.    (gcc) which is used by Linux systems. Use the -Wall option to turn 
  1484.    most of the useful extra warnings. Check the GCC manual for more
  1485.    details (type control-h followed by i in Emacs and select the entry
  1486.    for GCC).
  1487.    
  1488.    There is a freely available program called `lclint' that does much 
  1489.    same thing as traditional lint. The announcement and source code ar
  1490.    available at on larch.lcs.mit.edu in /pub/Larch/lclint; on the Worl
  1491.    Wide Web look at http://larch-www.lcs.mit.edu:8001/larch/lclint.htm
  1492.    
  1493.    
  1494. 5.12 Where can I find kermit for Linux?
  1495.  
  1496.    Kermit is distributed under a non-GPL copyright that makes its term
  1497.    of distribution somewhat different. The sources and some binaries a
  1498.    available on kermit.columbia.edu.
  1499.    
  1500.    The WWW Home Page of the Columbia University Kermit project is
  1501.    http://www.columbia.edu/kermit.
  1502.    
  1503.    
  1504.    contents
  1505.    
  1506.    
  1507. 6. Solutions to common miscellaneous problems.
  1508.  
  1509.    
  1510. 6.1 free dumps core.
  1511.  
  1512.    In Linux 1.3.57 and later, the format of /proc/meminfo was changed 
  1513.    a way that the implementation of free doesn't understand.
  1514.    
  1515.    Get the latest version, from sunsite.unc.edu in
  1516.    /pub/Linux/system/Status/ps/procps-0.99.tgz.
  1517.    
  1518.    
  1519. 6.2 My clock is very wrong.
  1520.  
  1521.    There are two clocks in your computer. The hardware (CMOS) clock ru
  1522.    even when the computer is off and is used to when the system starts
  1523.    and by DOS (if you use it). The ordinary system time, shown and set
  1524.    date, is maintained by the kernel while Linux is running.
  1525.    
  1526.    You can display the CMOS clock time, or set either clock from the
  1527.    other, with /sbin/clock program--see "man 8 clock."
  1528.    
  1529.    To set the time zone, some programs recognize the TZ environment
  1530.    variable. The manual page for tzset describes setting the time zone
  1531.    Recent, POSIX-correct systems have the time zone info in
  1532.    /usr/lib/zoneinfo/. The soft link localtime points to the zone
  1533.    information file for your time zone. The soft link posixrules point
  1534.    to localtime.
  1535.    
  1536.    There are various other programs that can correct either or both
  1537.    clocks for systematic drift or transfer time across the network. So
  1538.    of them may already be installed on your system. Try looking at or 
  1539.    adjtimex (corrects for drift), netdate and getdate (simply get the
  1540.    time from the network) or xntp (accurate fully-featured network tim
  1541.    daemon).
  1542.    
  1543.    
  1544. 6.3 Setuid scripts don't seem to work.
  1545.  
  1546.    That's right. This feature has been deliberately disabled in the Li
  1547.    kernel because setuid scripts are almost always a security hole. If
  1548.    you want to know why read the FAQ for comp.unix.questions.
  1549.    
  1550.    
  1551. 6.4 Free memory as reported by free keeps shrinking.
  1552.  
  1553.    The `free' figure printed by free doesn't include memory used as a
  1554.    disk buffer cache - shown in the `buffers' column. If you want to k
  1555.    how much memory is really free add the `buffers' amount to `free' -
  1556.    newer versions of free print an extra line with this info.
  1557.    
  1558.    The disk buffer cache tends to grow soon after starting Linux up, a
  1559.    you load more programs and use more files and the contents get cach
  1560.    It will stabilize after a while.
  1561.    
  1562.    
  1563. 6.5 When I add more memory, the system slows to a crawl.
  1564.  
  1565.    This is quite a common symptom of a failure to cache the additional
  1566.    memory. The exact problem depends on your motherboard.
  1567.    
  1568.    Sometimes you have to enable caching of certain regions in your BIO
  1569.    setup. Look in the CMOS setup and see if there is an option to cach
  1570.    the new memory area which is currently switched off. This is
  1571.    apparently most common on a 486.
  1572.    
  1573.    Sometimes the RAM has to be in certain sockets to be cached.
  1574.    
  1575.    Sometimes you have to set jumpers to enable the caching.
  1576.    
  1577.    Some motherboards don't cache all the RAM if you have more RAM per
  1578.    amount of cache than they expect. Usually a full 256K cache will so
  1579.    this problem.
  1580.    
  1581.    If in doubt, check your motherboard manual. If you still can't fix 
  1582.    because the documentation is inadequate you might like to post a
  1583.    message to comp.os.linux.hardware giving *all* the details - make,
  1584.    model number, date code, etc. so that other Linux users can avoid i
  1585.    
  1586.    
  1587. 6.6 Some programs (e.g. xdm) won't let me log in.
  1588.  
  1589.    You are probably using non-shadow password programs but are using
  1590.    shadow passwords.
  1591.    
  1592.    If so, you have to get or compile a shadow password version of the
  1593.    program(s) in question. The shadow password suite can be found in
  1594.    (amongst other places):
  1595.    tsx-11.mit.edu:/pub/linux/sources/usr.bin/shadow-* This is the sour
  1596.    code; you will probably find the binaries in
  1597.    .../linux/binaries/usr.bin.
  1598.    
  1599.    
  1600. 6.7 Some programs let me log in with no password.
  1601.  
  1602.    You probably have the same problem as in "Some programs (e.g.
  1603.    xdm) won't let me log in. ", with an added wrinkle:
  1604.    
  1605.    If you are using shadow passords you should put a letter x or an
  1606.    asterisk in the password field of /etc/passwd for each account, so
  1607.    that if a program doesn't know about the shadow passwords it won't
  1608.    think it's a passwordless account and let anyone in.
  1609.    
  1610.    
  1611. 6.8 My machine runs very slowly when I run GCC / X / ...
  1612.  
  1613.    You may have too little real memory. If you have less RAM than all 
  1614.    programs you're running at once, Linux will swap to your hard disk
  1615.    instead and thrash horribly. The solution in this case is to not ru
  1616.    so many things at once or to buy more memory. You can also reclaim
  1617.    some memory by compiling and using a kernel with less options
  1618.    configured. See "How do I upgrade/recompile my kernel? ".
  1619.    
  1620.    You can tell how much memory and/or swap you're using by using the
  1621.    free command, or by typing
  1622.     cat /proc/meminfo
  1623.  
  1624.    If your kernel is configured with a ramdisk this is probably wasted
  1625.    space and will cause things to go slowly. Use LILO or rdev to tell 
  1626.    kernel not to allocate a ramdisk (see the LILO documentation or typ
  1627.    man rdev).
  1628.    
  1629.    
  1630. 6.9 I can only log in as root.
  1631.  
  1632.    You probably have some permission problems, or you have a file
  1633.    /etc/nologin.
  1634.    
  1635.    If the latter, put rm -f /etc/nologin in your /etc/rc.local or
  1636.    /etc/rc.d/* scripts.
  1637.    
  1638.    Otherwise, check the permissions on your shell, and any file names
  1639.    that appear in error messages, and also the directories containing
  1640.    these files all the way up the tree, up to and including the root
  1641.    directory.
  1642.    
  1643.    
  1644. 6.10 My screen is all full of weird characters instead of letters.
  1645.  
  1646.    You probably sent some binary data to your screen by mistake. Type
  1647.    echo '\033c' to fix it. Many Linux distributions have a command,
  1648.    "reset," that does this.
  1649.    
  1650. 6.11 I have screwed up my system and can't log in to fix it.
  1651.  
  1652.    Reboot from an emergency floppy or floppy pair, for example, the
  1653.    Slackware boot and root disk pair in the install subdirectory of th
  1654.    Slackware distributions.
  1655.    
  1656.    There are also two do-it-yourself rescue disk creation packages in
  1657.    sunsite.unc.edu/pub/Linux/system/Recovery. These are better
  1658.    because as they have your own kernel on them, so that you don't run
  1659.    the risk of missing devices, file systems, and so forth.
  1660.    
  1661.    Get to a shell prompt and mount your hard disk with something like
  1662. >   mount -t ext2 /dev/hda1 /mnt
  1663.  
  1664.    Then your file system is available under the directory /mnt and you
  1665.    can fix the problem. Remember to unmount your hard disk before
  1666.    rebooting (cd back down to / first, or it will say it's busy).
  1667.    
  1668.    
  1669. 6.12 I've discovered a huge security hole in rm!
  1670.  
  1671.    No you haven't. You are obviously new to Unix and need to read a go
  1672.    book on it to find out how things work. Clue: ability to delete fil
  1673.    under Unix depends on permission to write the directory they are in
  1674.    
  1675.    
  1676. 6.13 lpr(1) and/or lpd(8) don't work.
  1677.  
  1678.    First make sure that your /dev/lp* port is correctly configured. It
  1679.    IRQ (if any) and port address need to match the settings on the boa
  1680.    You should be able to dump a file directly to the printer; e.g.:
  1681. $ cat the_file >/dev/lp1
  1682.  
  1683.    If lpr gives you a message like "myname@host: host not found," it
  1684.    may mean that the TCP/IP loopback interface, lo, isn't working
  1685.    properly. Loopback support is compiled into most distribution kerne
  1686.    Check that the interface is configured with the ifconfig command. B
  1687.    Internet convention, the network number is 127.0.0.0, and the local
  1688.    host address is 127.0.0.1. If everything is configured correctly, y
  1689.    should be able to telnet to your own machine and get a login prompt
  1690.    
  1691.    If your machine has a network-aware lpd, like the one that comes wi
  1692.    LPRng, make sure that the lpd.perms file is configured correctly.
  1693.    
  1694.    Also look at the Printing-HOWTO "Where can I get the HOWTOs and
  1695.    other documentation? ".
  1696.    
  1697.    
  1698. 6.14 Timestamps on files on msdos partitions are set incorrectly.
  1699.  
  1700.    There is a bug in the program clock(8) (often found in /sbin)--it
  1701.    miscounts a time zone offset, confusing seconds with minutes or som
  1702.    such. Get a new version of it.
  1703.    
  1704.    
  1705. 6.15 How do I get LILO to boot the vmlinux file?
  1706.  
  1707.    In kernel versions 1.1.80 and later, the compressed kernel image,
  1708.    which is what LILO needs to find, has been moved to
  1709.    arch/i386/boot/zImage. The vmlinux file in the root directory is th
  1710.    uncompressed kernel, and you shouldn't try to boot it.
  1711.    
  1712.    This change has been made to make it easier to build the versions f
  1713.    several different processors from the same source tree.
  1714.    
  1715.    
  1716.    contents
  1717.    
  1718.    
  1719. 7. How do I do this or find out that ... ?
  1720.  
  1721.    
  1722. 7.1 How can I get scrollback in text mode?
  1723.  
  1724.    With the default US keymap you can use Shift with the PageUp and
  1725.    PageDown keys (NB: these must be the grey ones, not the ones on the
  1726.    numeric keypad!). With other keymaps check the maps in
  1727.    /usr/lib/keytables; you can remap the ScrollUp and ScrollDown keys 
  1728.    be whatever you like--for example, in order to remap them to keys t
  1729.    exist on an 84-key AT keyboard.
  1730.    
  1731.    You can't increase the amount of scrollback, because of the way it 
  1732.    implemented using the video memory to store the scrollback text,
  1733.    though you may be able to get more scrollback in each virtual conso
  1734.    by reducing the total number of VC's--see linux/tty.h.
  1735.    
  1736.    
  1737. 7.2 How do I switch virtual consoles? How do I enable them?
  1738.  
  1739.    In text mode, press Left Alt-F1 to Alt-F12 to select the consoles t
  1740.    to tty12; Right Alt-F1 gives tty13 and so on. To switch out of X
  1741.    windows you must press Ctrl-Alt-F1, etc; Alt-F5 or whatever will
  1742.    switch back.
  1743.    
  1744.    If you want to use a VC for ordinary login you need to list it in
  1745.    /etc/inittab, which controls which terminals and virtual consoles h
  1746.    login prompts. NB: X needs at least one free VC in order to start.
  1747.    
  1748.    Kernels earlier than around 1.1.59 have a compiled-in limit on the
  1749.    number of consoles, for which the default is 8. See NR_CONSOLES in
  1750.    linux/include/linux/tty.h. Newer kernels allocate them dynamically,
  1751.    to a maximum of 63.
  1752.    
  1753.    
  1754. 7.3 How do I set the time zone?
  1755.  
  1756.    Change directory to /usr/lib/zoneinfo; get the timezone package if 
  1757.    don't have this directory. The source is available as
  1758.    sunsite.unc.edu/pub/Linux/system/admin/time/timesrc-1.2.tar.gz.
  1759.    
  1760.    Then make a symbolic link named localtime pointing to one of the fi
  1761.    in this directory (or a subdirectory), and one called posixrules
  1762.    pointing to localtime. For example:
  1763.    ln -sf US/Mountain localtime
  1764.    ln -sf localtime posixrules
  1765.  
  1766.    This change will take effect immediately--try date(1).
  1767.    
  1768.    Don't try to use the TZ variable--leave it unset.
  1769.    
  1770.    You should also make sure that your Linux kernel clock is set to th
  1771.    correct GMT time--type date -u and check that the correct universal
  1772.    time is displayed.
  1773.    
  1774.    
  1775. 7.4 What version of Linux and what machine name am I using?
  1776.  
  1777.    Type:
  1778.    uname -a
  1779.  
  1780.    
  1781. 7.5 How can I enable or disable core dumps?
  1782.  
  1783.    By using the ulimit(1) command in bash(1), the limit command in
  1784.    tcsh(1), or the rlimit command in ksh(1). See the appropriate manua
  1785.    page for details.
  1786.    
  1787.    This setting affects all programs run from that shell (directly or
  1788.    indirectly), not the whole system.
  1789.    
  1790.    If you wish to enable or disable coredumping for all processes by
  1791.    default, you can change the default setting in linux/sched.h--see t
  1792.    definition of INIT_TASK, and look also in linux/resource.h.
  1793.    
  1794.    
  1795. 7.6 How do I upgrade/recompile my kernel?
  1796.  
  1797.    See the Kernel HOWTO or the README files which comes with the kerne
  1798.    release on ftp.cs.helsinki.fi, in /pub/Software/Linux/Kernel and
  1799.    mirrors. (See "Where can I get Linux material by FTP? ") You
  1800.    may already have a version of the kernel source code installed on y
  1801.    system, but if you got it as part of a standard distribution it is
  1802.    likely to be somewhat out of date (this is not a problem if you onl
  1803.    want a custom-configured kernel, but it probably is if you need to
  1804.    upgrade.)
  1805.    
  1806.    Remember that to make the new kernel boot you must run LILO after
  1807.    copying the kernel into your root partition--the Makefile in recent
  1808.    kernels has a special zlilo target for this; try make zlilo.
  1809.    
  1810.    Kernel version numbers with an odd minor version (ie, 1.1.x, 1.3.x)
  1811.    are the testing releases; stable production kernels have even minor
  1812.    versions (1.0.x, 1.2.x). If you want to try the testing kernels you
  1813.    should probably subscribe to the linux-kernel mailing list. (See "
  1814.    What mailing lists are there? .")
  1815.    
  1816.    
  1817. 7.7 Can I have more than 3 serial ports by sharing interrupts?
  1818.  
  1819.    Yes, but you won't be able to use simultaneously two ordinary ports
  1820.    which share an interrupt (without some trickery). This is a limitat
  1821.    of the ISA bus architecture.
  1822.    
  1823.    See the Serial HOWTO for information about possible solutions to an
  1824.    workarounds for this problem.
  1825.    
  1826.    
  1827. 7.8 How do I make a bootable floppy?
  1828.  
  1829.    Make a file system on it with bin, etc, lib and dev directories --
  1830.    everything you need. Install a kernel on it and arrange to have LIL
  1831.    boot it from the floppy (see the LILO documentation, in lilo.u.*.ps
  1832.    
  1833.    If you build the kernel (or tell LILO to tell the kernel) to have a
  1834.    ramdisk the same size as the floppy the ramdisk will be loaded at
  1835.    boot-time and mounted as root in place of the floppy.
  1836.    
  1837.    See the Bootdisk HOWTO.
  1838.    
  1839.    
  1840. 7.9 How do I remap my keyboard to UK, French, etc.?
  1841.  
  1842.    For recent kernels, get /pub/Linux/system/Keyboards/kbd-0.90.tar.gz
  1843.    from sunsite.unc.edu. Make sure you get the appropriate version; yo
  1844.    have to use the right keyboard-mapping package to go with your kern
  1845.    version. 0.90 should work with kernel versions from 1.0.
  1846.    
  1847.    For older kernels you have to edit the top-level kernel Makefile, i
  1848.    /usr/src/linux.
  1849.    
  1850.    You may find more helpful information in The Linux keystroke and
  1851.    console HOWTO, by Andries Brouwer, at
  1852.    sunsite.unc.edu/pub/Linux/docs/HOWTO
  1853.    
  1854.    
  1855. 7.10 How do I get NUM LOCK to default to on?
  1856.  
  1857.    Use the setleds program, for example (in /etc/rc.local or one of th
  1858.    /etc/rc.d/* files):
  1859.    for t in 1 2 3 4 5 6 7 8
  1860.    do
  1861.         setleds +num < /dev/tty$t > /dev/null
  1862.    done
  1863.  
  1864.    setleds is part of the kbd package (see Q7.9 `How do I remap my
  1865.    keyboard to UK, French, etc?').
  1866.    
  1867.    Alternatively, patch your kernel. You need to arrange for KBD_DEFLE
  1868.    to be defined to (1 << VC_NUMLOCK) when compiling
  1869.    drivers/char/keyboard.c.
  1870.    
  1871.    
  1872. 7.11 How can I have more than 128Mb of swap?
  1873.  
  1874.    Use several swap partitions or swap files--Linux supports up to 16
  1875.    swap areas, each of up to 128Mb.
  1876.    
  1877.    Very old kernels only supported swap area sizes up to 16Mb.
  1878.    
  1879.    Peter Moulder says that Linux on machines with 8MB, paging like Alp
  1880.    and Sparc64, support a swap partition up to 512MB. He says that the
  1881.    128MB limitation comes from PAGE_SIZE*BITSPERBYTE on machines with 
  1882.    paging, but is 512MB on machines with 8MB paging. The file
  1883.    mm/swapfile.c has all of the gory details.
  1884.    
  1885.    
  1886. 7.12 Miscellaneous information and questions answered.
  1887.  
  1888.    
  1889. 7.13 How do I program XYZ under Linux?
  1890.  
  1891.    Read the manuals, or a good book on Unix. Manual pages (type "man
  1892.    man") are usually a good source of reference information on exactly
  1893.    how to use a particular command or function.
  1894.    
  1895.    There is also a lot of GNU Info documentation, which is often more
  1896.    useful as a tutorial. Run Emacs and type C-h i, or type info info i
  1897.    you don't have or don't like Emacs. Note that the Emacs libc node
  1898.    doesn't exactly describe the Linux libc (which is more like a
  1899.    traditional Unix libc, not having some of the GNU oddities), but it
  1900.    close enough to make a fair tutorial in Unix C programming.
  1901.    
  1902.    The latest release of the Linux manual pages, a collection of usefu
  1903.    GNU Info documentation, and various other information related to
  1904.    programming Linux can be found on sunsite.unc.edu in
  1905.    /pub/Linux/docs/man-pages.
  1906.    
  1907.    
  1908. 7.14 What's all this about ELF?
  1909.  
  1910.    See the ELF HOWTO by Daniel Barlow--note, this is not the file
  1911.    move-to-elf, which is a blow-by-blow account of how to upgrade to E
  1912.    manually.
  1913.    
  1914.    Linux has two different formats for executables, object files, and
  1915.    object code libraries, known as `ELF' (the old format is called
  1916.    `a.out'). This will have many advantages, including better support 
  1917.    shared libraries and dynamic linking.
  1918.    
  1919.    Both a.out and ELF binaries can coexist on a system. However, they 
  1920.    different shared C libraries, both of which will have to be install
  1921.    to do this.
  1922.    
  1923.    If you want to find out whether your system can run ELF binaries, l
  1924.    in /lib for a filename libc.so.5. If this exists it probably can. I
  1925.    you want to know whether your installation actually is ELF you can
  1926.    pick a representative program, like ls, and run file on it:
  1927.    -chiark:~> file /bin/ls
  1928.    /bin/ls: Linux/i386 impure executable (OMAGIC) - stripped
  1929.  
  1930.    valour:~> file /bin/ls
  1931.    /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1, strippe
  1932.  
  1933.    There is a patch to get 1.2.x to compile using the ELF compilers, a
  1934.    produce ELF core dumps, at tsx-11.mit.edu in /pub/packages/GCC. You
  1935.    not need the patch merely to run ELF binaries. 1.3.x and later do n
  1936.    need a patch at all.
  1937.    
  1938.    
  1939. 7.15 What is a .gz file ? And a .tgz ? And ... ?
  1940.  
  1941.    .gz (and .z) files have been compressed using GNU gzip. You need to
  1942.    use gunzip (which is as a symlink to the gzip command which comes w
  1943.    most Linux installations) to unpack the file.
  1944.    
  1945.    .taz and .tz are tarfiles (made with Unix tar) compressed using
  1946.    standard Unix compress.
  1947.    
  1948.    .tgz (or .tpz) is a tarfile compressed with gzip.
  1949.    
  1950.    .lsm is a Linux Software Map entry, in the form of a short text fil
  1951.    Details about the LSM and the LSM itself are available in the docs
  1952.    subdirectory on sunsite.unc.edu.
  1953.    
  1954.    .deb is a Debian Binary Package - the binary package format used by
  1955.    the Debian GNU/Linux distribution. It is manipulated using dpkg and
  1956.    dpkg-deb (available on Debian systems and from ftp.debian.org).
  1957.    
  1958.    .rpm is a Red Hat RPM package, which is used in the Red Hat
  1959.    distribution. These can be found on ftp.redhat.com.
  1960.    
  1961.    The "file" command can often tell you what a file is.
  1962.    
  1963.    If you find that gzip complains when you try to uncompress a gzippe
  1964.    file you probably downloaded it in ASCII mode by mistake. You must
  1965.    download most things in binary mode - remember to type binary as a
  1966.    command in FTP before using get to get the file.
  1967.    
  1968.    
  1969. 7.16 What does VFS stand for?
  1970.  
  1971.    Virtual File System. It's the abstraction layer between the user an
  1972.    real file systems like ext2, minix and msdos. Among other things, i
  1973.    job is to flush the read buffer when it detects a disk change on th
  1974.    floppy disk drive:
  1975.    VFS: Disk change detected on device 2/0
  1976.  
  1977.    
  1978. 7.17 What is a BogoMip?
  1979.  
  1980.    `BogoMips' is a contraction of `Bogus MIPS'. MIPS stands for
  1981.    (depending who you listen to) Millions of Instructions per Second, 
  1982.    Meaningless Indication of Processor Speed.
  1983.    
  1984.    The number printed at boot-time is the result of a kernel timing
  1985.    calibration, used for very short delay loops by some device drivers
  1986.    
  1987.    As a very rough guide the BogoMips will be approximately:
  1988.      386SX              clock * 0.14
  1989.      386DX              clock * 0.18
  1990.      486Cyrix/IBM       clock * 0.33
  1991.      486SX/DX/DX2       clock * 0.50
  1992.      586                clock * 0.39
  1993.  
  1994.    If the number you're seeing is wildly lower than this you may have 
  1995.    Turbo button or CPU speed set incorrectly, or have some kind of
  1996.    caching problem (as described in Q6.5 `When I add more memory it sl
  1997.    to a crawl.'.)
  1998.    
  1999.    For values people have seen with other, rarer, chips, see the BogoM
  2000.    Mini-HOWTO, on sunsite.unc.edu in /pub/Linux/docs/howto/mini/BogoMi
  2001.    
  2002.    
  2003. 7.18 What is the Linux Journal and where can I get it?
  2004.  
  2005.    Linux Journal is a monthly magazine (printed on paper) that is
  2006.    available on newsstands and via subscription worldwide. Email
  2007.    linux@ssc.com for details. Their URL is http://www.ssc.com/.
  2008.    
  2009.    
  2010. 7.19 How many people use Linux?
  2011.  
  2012.    Linux is freely available, and no one is required to register their
  2013.    copies with any central authority, so it is difficult to know. Seve
  2014.    businesses are now surviving solely on selling and supporting Linux
  2015.    and very few Linux users use those businesses, relatively speaking.
  2016.    The Linux newsgroups are some of the most heavily read on the Net, 
  2017.    the number is likely in the hundreds of thousands, but firm numbers
  2018.    are hard to come by.
  2019.    
  2020.    However, one brave soul, Harald T. Alvestrand,
  2021.    Harald.T.Alvestrand@uninett.no, has decided to try, and asks that
  2022.    if you use Linux, you send a message to linux-counter@uninett.no
  2023.    with one of the following subjects: `I use Linux at home', `I use
  2024.    Linux at work', or `I use Linux at home and at work'. He will also
  2025.    accept `third-party' registrations--ask him for details.
  2026.    
  2027.    Alternatively, you can register using the WWW forms found at
  2028.    http://domen.uninett.no/~hta/linux/counter.html.
  2029.    
  2030.    He posts his counts to aun.uninett.no in /pub/misc/linux-counter or
  2031.    the web page above.
  2032.    
  2033.    
  2034. 7.20 How should I pronounce Linux?
  2035.  
  2036.    This is a matter of religious debate, of course!
  2037.    
  2038.    If you want to hear Linus himself say how he pronounces it, downloa
  2039.    english.au or swedish.au from ftp.funet.fi (in
  2040.    /pub/Linux/PEOPLE/Linus/SillySounds). If you have a soundcard or th
  2041.    PC-speaker audio driver you can hear them by typing
  2042.    cat english.au >/dev/audio
  2043.  
  2044.    The difference isn't in the pronunciation of Linux but in the langu
  2045.    Linus uses to say hello.
  2046.    
  2047.    For the benefit of those of you who don't have the equipment or
  2048.    inclination: Linus pronounces Linux approximately as Leenus, where 
  2049.    ee is as in feet but rather shorter and the u is like a much shorte
  2050.    version of the French eu sound in peur (pronouncing it as the u in 
  2051.    is probably passable).
  2052.    
  2053.    
  2054.    contents
  2055.    
  2056.    
  2057. 8. Frequently encountered error messages.
  2058.  
  2059.    
  2060. 8.1 Unknown terminal type linux and similar.
  2061.  
  2062.    In an early 1.3.x kernel the default console terminal type has chan
  2063.    from console to linux. You must edit /etc/termcap to change the lin
  2064.    reading:
  2065.    console|con80x25:\
  2066.  
  2067.    to
  2068.    linux|console|con80x25:\
  2069.  
  2070.    (there may be an additional dumb in there--if so it should be
  2071.    removed.)
  2072.    
  2073.    In order to get the editor to work you may need say TERM=console (f
  2074.    bash and ksh) or setenv TERM console (csh, tcsh) first.
  2075.    
  2076.    Some programs use /usr/lib/terminfo instead of /etc/termcap. For th
  2077.    programs you should upgrade your terminfo, which is part of ncurses
  2078.    
  2079.    
  2080. 8.2 lp1 on fire
  2081.  
  2082.    This is a joke/traditional error message indicating that some sort 
  2083.    error is being reported by your printer, but that the error status
  2084.    isn't a valid one. It may be that you have some kind of I/O or IRQ
  2085.    conflict - check your cards' settings. Some people report that they
  2086.    get this message when their printer is switched off. Hopefully it
  2087.    isn't really on fire ...
  2088.    
  2089.    In newer kernels, this message reads, "lp1 reported invalid error
  2090.    status (on fire, eh?)"
  2091.    
  2092.    
  2093. 8.3 INET: Warning: old style ioctl... called!
  2094.  
  2095.    You are trying to use the old network configuration utilities. The 
  2096.    ones can be found on ftp.linux.org.uk in
  2097.    /pub/linux/Networking/PROGRAMS/NetTools (source only, I'm afraid).
  2098.    
  2099.    Note that they cannot be used just like the old-style programs. See
  2100.    the NET-2 HOWTO for instructions on how to set up networking
  2101.    correctly.
  2102.    
  2103.    
  2104. 8.4 ld: unrecognized option '-m486'
  2105.  
  2106.    You have an old version of ld. Install a newer binutils package--th
  2107.    will contain an updated ld. Look on tsx-11.mit.edu in
  2108.    /pub/linux/packages/GCC for binutils-2.6.0.2.bin.tar.gz.
  2109.    
  2110.    
  2111. 8.5 GCC says Internal compiler error.
  2112.  
  2113.    If the fault is repeatable (i.e., it always happens at the same pla
  2114.    in the same file--even after rebooting and trying again, using a
  2115.    stable kernel) you have discovered a bug in GCC. See the GCC Info
  2116.    documentation (type Control-h i in Emacs, and select GCC from the
  2117.    menu) for details on how to report this--make sure you have the lat
  2118.    version, though.
  2119.    
  2120.    Note that this is probably not a Linux-specific problem; unless you
  2121.    were compiling a program many other Linux users also compile, you
  2122.    should not post your bug report to any of the comp.os.linux groups.
  2123.    
  2124.    If the problem is not repeatable you are very probably experiencing
  2125.    memory corruption--see make says Error 139 .
  2126.    
  2127.    
  2128. 8.6 make says Error 139
  2129.  
  2130.    Your compiler driver (gcc) dumped core. You probably have a corrupt
  2131.    buggy or old version of GCC--get the latest release. Alternatively 
  2132.    may be running out of swap space--see My machine runs very slowly
  2133.    when I run GCC / X / ... .
  2134.    
  2135.    If this doesn't fix the problem you are probably having problems wi
  2136.    memory or disk corruption. Check that the clock rate, wait states a
  2137.    refresh timing for your SIMMs and cache are correct (hardware manua
  2138.    are sometimes wrong, too). If so you may have some dodgy SIMMs or a
  2139.    faulty motherboard or hard disk or controller.
  2140.    
  2141.    Linux, like any Unix, is a very good memory tester--much better tha
  2142.    DOS-based memory test programs.
  2143.    
  2144.    Reportedly some clone x87 maths coprocessors can cause problems; tr
  2145.    compiling a kernel with math emulation ( How do I
  2146.    upgrade/recompile my kernel? .) You may need to use the no387 kerne
  2147.    command line flag on the LILO prompt to force the kernel to use mat
  2148.    emulation, or it may be able to work and still use the '387, with t
  2149.    math emulation compiled in but mainly unused.
  2150.    
  2151.    Much more information about this problem is available on the Web at
  2152.    http://www.bitwizard.nl/sig11/.
  2153.    
  2154.    
  2155. 8.7 shell-init: permission denied when I log in.
  2156.  
  2157.    Your root directory and all the directories up to your home directo
  2158.    must be readable and executable by everybody. See the manual page f
  2159.    chmod or a book on Unix for how to fix the problem.
  2160.    
  2161.    
  2162. 8.8 No utmp entry. You must exec ... when I log in.
  2163.  
  2164.    Your /var/run/utmp is screwed up. You should have
  2165.    > /var/run/utmp
  2166.  
  2167.    in your /etc/rc.local or /etc/rc.d/*. See ("I have screwed up
  2168.    my system and can't log in to fix it. ") Note that utmp may also be
  2169.    found in /var/adm/utmp or /etc/utmp on some older systems.
  2170.    
  2171.    
  2172. 8.9 Warning--bdflush not running.
  2173.  
  2174.    Modern kernels use a better strategy for writing cached disk blocks
  2175.    In addition to the kernel changes, this involves replacing the old
  2176.    update program which used to write everything every 30 seconds with
  2177.    more subtle daemon (actually a pair), known as bdflush.
  2178.    
  2179.    Get bdflush-n.n.tar.gz from the same place as the kernel source cod
  2180.    (Q7.6 `How do I upgrade/recompile my kernel ?') and compile and
  2181.    install it; it should be started before the usual boot-time file
  2182.    system checks. It will work fine with older kernels as well, so
  2183.    there's no need to keep the old update around.
  2184.    
  2185.    
  2186. 8.10 Warning: obsolete routing request made.
  2187.  
  2188.    This is nothing to worry about; it just means that the version of
  2189.    route you have is a little out of date compared to the kernel. You 
  2190.    make the message go away by getting a new version of route from the
  2191.    same place as the kernel source code (Q7.6 `How do I upgrade/recomp
  2192.    my kernel ?').
  2193.    
  2194.    
  2195. 8.11 EXT2-fs: warning: mounting unchecked file system.
  2196.  
  2197.    You need to run e2fsck (or fsck -t ext2 if you have the fsck front-
  2198.    program) with the -a option to get it to clear the `dirty' flag, an
  2199.    then cleanly unmount the partition during each shutdown.
  2200.    
  2201.    The easiest way to do this is to get the latest fsck, umount and
  2202.    shutdown commands, available in Rik Faith's util-linux package (Q2.
  2203.    `Where can I get Linux material by FTP?'). You have to make sure th
  2204.    your /etc/rc* scripts use them correctly.
  2205.    
  2206.    NB: don't try to check a file system that's mounted read-write--thi
  2207.    includes the root partition if you don't see
  2208.    VFS: mounted root ... read-only
  2209.  
  2210.    at boot time. You must arrange to mount the root file system read-o
  2211.    to start with, check it if necessary, and then remount it read-writ
  2212.    Read the documentation that comes with util-linux to find out how t
  2213.    do this.
  2214.    
  2215.    Note that you need to specify the -n option to mount to get it not 
  2216.    try to update /etc/mtab, since the root file system is still read-o
  2217.    and this will otherwise cause it to fail!
  2218.    
  2219.    
  2220. 8.12 EXT2-fs warning: maximal count reached.
  2221.  
  2222.    This message is issued by the kernel when it mounts a file system
  2223.    that's marked as clean, but whose `number of mounts since check'
  2224.    counter has reached the predefined value. The solution is to get th
  2225.    latest version of the ext2fs utilities (e2fsprogs-0.5b.tar.gz at th
  2226.    time of writing) from the usual sites (Q2.5 `Where can I get Linux
  2227.    material by FTP ?').
  2228.    
  2229.    The maximal number of mounts value can be examined and changed usin
  2230.    the tune2fs program from this package.
  2231.    
  2232.    
  2233. 8.13 EXT2-fs warning: checktime reached.
  2234.  
  2235.    Kernels from 1.0 onwards support checking a file system based on th
  2236.    elapsed time since the last check as well as by the number of mount
  2237.    Get the latest version of the ext2fs utilities (see Q9.13 `EXT2-fs
  2238.    warning: maximal count reached').
  2239.    
  2240.    
  2241. 8.14 df says Cannot read table of mounted file systems.
  2242.  
  2243.    There is probably something wrong with your /etc/mtab or /etc/fstab
  2244.    files. If you have a reasonably new version of mount, /etc/mtab sho
  2245.    be emptied or deleted at boot time (in /etc/rc.local or /etc/rc.d/*
  2246.    using something like
  2247.    rm -f /etc/mtab*
  2248.  
  2249.    Some versions of SLS have an entry for the root partition in /etc/m
  2250.    made in /etc/rc* by using rdev. This is incorrect--the newer versio
  2251.    of mount do this automatically.
  2252.    
  2253.    Other versions of SLS have a line in /etc/fstab that looks like:
  2254.     /dev/sdb1   /root   ext2   defaults
  2255.  
  2256.    This is wrong. /root should read simply /.
  2257.    
  2258.    
  2259. 8.15 fdisk says Partition X has different physical/logical ...
  2260.  
  2261.    If the partition number (X, above) is 1 this is the same problem as
  2262.    Q9.17 `fdisk: Partition 1 does not start on cylinder boundary'.
  2263.    
  2264.    If the partition begins or ends on a cylinder numbered greater than
  2265.    1024, this is because the standard DOS disk geometry information
  2266.    format in the partition table can't cope with cylinder numbers with
  2267.    more than 10 bits. You should see "How can I get Linux to work
  2268.    with my disk? "
  2269.    
  2270.    
  2271. 8.16 fdisk: Partition 1 does not start on cylinder boundary
  2272.  
  2273.    The version of fdisk that comes with many Linux systems creates
  2274.    partitions that fail its own validity checking. Unfortunately, if
  2275.    you've already installed your system, there's not much you can do
  2276.    about this, apart from copying the data off the partition, deleting
  2277.    and remaking it, and copying the data back.
  2278.    
  2279.    You can avoid the problem by getting the latest version of fdisk, f
  2280.    Rik Faith's util-linux package (available on all the usual FTP site
  2281.    Alternatively, if you are creating a new partition 1 that starts in
  2282.    the first cylinder, you can do the following to get a partition tha
  2283.    fdisk likes.
  2284.    
  2285.    * Create partition 1 in the normal way. A `p' listing will produce 
  2286.    mismatch complaint.
  2287.    
  2288.    * Type `u' to set sector mode and do `p' again. Copy down the numbe
  2289.    from the "End" column.
  2290.    
  2291.    * Delete partition 1.
  2292.    
  2293.    * While still in sector mode, re-create partition 1. Set the first
  2294.    sector to match the number of sectors per track. This is the sector
  2295.    number in the first line of the `p' output. Set the last sector to 
  2296.    value you wrote down in the step above.
  2297.    
  2298.    * Type `u' to reset cylinder mode and continue with other partition
  2299.    
  2300.    Ignore the message about unallocated sectors--they refer to the
  2301.    sectors on the first track apart from the Master Boot Record, and t
  2302.    are not used if you start the first partition in track 2.
  2303.    
  2304.    
  2305. 8.17 fdisk says partition n has an odd number of sectors.
  2306.  
  2307.    The PC disk partitioning scheme works in 512-byte sectors, but Linu
  2308.    uses 1K blocks. If you have a partition with an odd number of secto
  2309.    the last sector is wasted. Ignore the message.
  2310.    
  2311.    
  2312. 8.18 mtools says cannot initialize drive XYZ
  2313.  
  2314.    This means that mtools is having trouble accessing the drive. This 
  2315.    be due to several things.
  2316.    
  2317.    Often this is due to the permissions on floppy drive devices
  2318.    (/dev/fd0* and /dev/fd1*) being incorrect--the user running mtools
  2319.    must have the appropriate access. See the manual page for chmod for
  2320.    details.
  2321.    
  2322.    Most versions of mtools distributed with Linux systems (not the
  2323.    standard GNU version) use the contents of a file /etc/mtools to
  2324.    determine which devices and densities to use, in place of having th
  2325.    information compiled into the binary. Mistakes in this file often
  2326.    cause problems. There is often no documentation about
  2327.    this--distribution packagers, please note that this is evil.
  2328.    
  2329.    For the easiest way to access your DOS files (especially those on a
  2330.    hard disk partition) see How do I access files on my DOS
  2331.    partition or floppy? Note--you should never use mtools to access fi
  2332.    on an msdosfs mounted partition or disk!
  2333.    
  2334.    
  2335. 8.19 At the start of booting: Memory tight
  2336.  
  2337.    This means that you have an extra large kernel, which means that Li
  2338.    has to do some special memory-management magic to be able to boot
  2339.    itself from the BIOS. It isn't related to the amount of physical
  2340.    memory in your machine. Ignore the message, or compile a kernel
  2341.    containing only the drivers and features you need . (See, "How
  2342.    do I upgrade/recompile my kernel? )"
  2343.    
  2344.    
  2345. 8.20 My syslog says `end_request: I/O error, ...'.
  2346.  
  2347.    Peter Moulder, pjm@bofh.asn.au, noted that this should be a FAQ.
  2348.    
  2349.    This error message, and messages like it, almost always indicates a
  2350.    hardware error with a hard drive.
  2351.    
  2352.    Theodore T'so, tytso@mit.edu, noted that this commonly indicates of
  2353.    hard drive defect. The only way to avoid further data loss is to
  2354.    completely shut own the system. You must also make sure that the
  2355.    whatever data is on the drive is backed up, and restore it to a
  2356.    non-defective hard drive.
  2357.    
  2358.    This error message may also indicate a bad connection to the drive,
  2359.    especially with homebrew systems. If you install an IDE drive
  2360.    yourself, ALWAYS use new cables. This probably isn't a bad idea wit
  2361.    SCSI drives, too.
  2362.    
  2363.    This error also seemed to coincide with a grounding problem between
  2364.    the system board and the chassis on one machine. Be sure that all
  2365.    electrical connections are clean and tight before placing the blame
  2366.    the hard drive itself.
  2367.    
  2368.    
  2369. 8.21 You don't exist. Go away.
  2370.  
  2371.    This is not a viral infection :-). It comes from various programs s
  2372.    as write, talk, and wall, if your invoking uid doesn't correspond t
  2373.    valid user (probably due to /etc/passwd being corrupted), or if the
  2374.    session (pseudoterminal, specifically) you're using isn't properly
  2375.    registered in the utmp file (probably because you invoked it in a
  2376.    funny way).
  2377.    
  2378.    
  2379.    contents
  2380.    
  2381.    
  2382. 9. The X Window System.
  2383.  
  2384.    
  2385. 9.1 Does Linux support X Windows?
  2386.  
  2387.    Yes. Linux uses XFree86 (the current version is 3.3.2, which is bas
  2388.    on X11R6). You need to have a video card which is supported by
  2389.    XFree86. See the Linux XFree86 HOWTO for more details.
  2390.    
  2391.    Most Linux distributions nowadays come with an X installation.
  2392.    
  2393.    However, you can install or upgrade your own, from
  2394.    /pub/Linux/X11/Xfree86-* on sunsite.unc.edu and its mirror sites. R
  2395.    the XFree86 HOWTO for installation instructions.
  2396.    
  2397.    
  2398. 9.2 Where can I get an XF86Config for my system?
  2399.  
  2400.    See the Linux XFree86 HOWTO.
  2401.    
  2402.    You'll need to put together your own XF86Config file, because it
  2403.    depends on the exact combination of video card and monitor you have
  2404.    It's not that hard--read the instructions that came with XFree86, i
  2405.    /usr/X11R6/lib/X11/etc. The file you probably need to look at most 
  2406.    README.Config.
  2407.    
  2408.    You should not use the sample XF86Config.eg file which is included
  2409.    with newer versions of XFree86 verbatim, because the wrong video cl
  2410.    settings can damage your monitor.
  2411.    
  2412.    For a quick start, you may run the program xf86config. Note that
  2413.    ConfigXF86 is obsolete, and you shouldn't use it.
  2414.    
  2415.    Please don't post to comp.os.linux.x asking for an XF86Config, and
  2416.    please don't answer such requests.
  2417.    
  2418.    
  2419. 9.3 xterm logins show up strangely in who, finger.
  2420.  
  2421.    The xterm that comes with XFree86 2.1 and earlier doesn't correctly
  2422.    understand the format that Linux uses for the /var/adm/utmp file,
  2423.    where the system records who is logged in. It therefore doesn't set
  2424.    all the information correctly.
  2425.    
  2426.    The Xterms in XFree86 3.1 and later versions fix this problem.
  2427.    
  2428.    
  2429. 9.4 I can't get X Windows to work right.
  2430.  
  2431.    Read the XFree86 HOWTO--note the question and answer section.
  2432.    
  2433.    Try reading comp.windows.x.i386unix--specifically read the the FAQ 
  2434.    that group.
  2435.    
  2436.    Please don't post X Windows or XFree86 related questions to
  2437.    comp.os.linux.x unless they are Linux-specific.
  2438.    
  2439.    
  2440.    contents
  2441.    
  2442.    
  2443. 10. Questions applicable to very out-of-date software.
  2444.  
  2445.    The questions in this section are only relevant to users of softwar
  2446.    that is at least three months old.
  2447.    
  2448.    Please let me know if you find the answer to a problem you had here
  2449.    as unused questions in this section will eventually disappear. (See
  2450.    Feedback is invited. ")
  2451.    
  2452.    
  2453. 10.1 fdisk says cannot use nnn sectors of this partition.
  2454.  
  2455.    Originally Linux only supported the Minix file system, which cannot
  2456.    use more than 64Mb per parition. This limitation is not present in 
  2457.    more advanced file systems that are now available, such as ext2fs (
  2458.    2nd version of the Extended File System, the `standard' Linux file
  2459.    system).
  2460.    
  2461.    If you intend to use ext2fs you can ignore the message.
  2462.    
  2463.    
  2464. 10.2 GCC sometimes uses huge amounts of virtual memory and thrashes.
  2465.  
  2466.    Older versions of GCC had a bug that made them use lots of memory i
  2467.    you tried to compile a program which had a large static data table 
  2468.    it.
  2469.    
  2470.    You can either upgrade your version of GCC to at least version 2.5,
  2471.    add more swap if necessary and just grin and bear it; it'll work in
  2472.    the end.
  2473.    
  2474.    
  2475.    contents
  2476.    
  2477.    
  2478. 11. How to get further assistance.
  2479.  
  2480.    
  2481. 11.1 You still haven't answered my question!
  2482.  
  2483.    Please read all of this answer before posting. I know it's a bit lo
  2484.    but you may be about to make a fool of yourself in front of 50,000
  2485.    people and waste hundreds of hours of their time. Don't you think i
  2486.    worth it to spend some of your time reading and following these
  2487.    instructions?
  2488.    
  2489.    If you think an answer is incomplete or inaccurate, please e-mail
  2490.    Robert Kiesling at kiesling@terracom.net.
  2491.    
  2492.    Read the appropriate Linux Documentation Project books--see "
  2493.    Where can I get the HOWTOs and other documentation? "
  2494.    
  2495.    If you're a Unix newbie, read the FAQ for comp.unix.questions, and
  2496.    those for any of the other comp.unix.* groups that may be relevant.
  2497.    
  2498.    Linux is a Unix clone, so almost everything you read there will app
  2499.    to Linux. Those FAQs can, like all FAQs, be found on rtfm.mit.edu i
  2500.    /pub/usenet/news.answers (the mail-server@rtfm.mit.edu can send
  2501.    you these files, if you don't have FTP access). There are mirrors o
  2502.    rtfm's FAQ archives on various sites - check the Introduction to
  2503.    *.answers posting, posted, or look in news-answers/introduction in 
  2504.    directory above.
  2505.    
  2506.    Check the relevant HOWTO for the subject in question, if there is o
  2507.    or an appropriate old-style sub-FAQ document. Check the FTP sites.
  2508.    
  2509.    Try experimenting--that's the best way to get to know Unix and Linu
  2510.    
  2511.    Read the documentation. Check the manual pages (type "man man" if
  2512.    you don't know about manual pages. Try "man -k subject"--it often
  2513.    lists useful and relevant manpages.
  2514.    
  2515.    Check the Info documentation (type C-h i, i.e. Control H followed b
  2516.    in Emacs)--NB: this isn't just for Emacs; for example the GCC
  2517.    documentation lives here as well.
  2518.    
  2519.    There will also often be a README file with a package that gives
  2520.    installation and/or usage instructions.
  2521.    
  2522.    Make sure that you don't have a corrupted or out-of-date copy of th
  2523.    program in question. If possible, download it again and re-install
  2524.    it--perhaps you made a mistake the first time.
  2525.    
  2526.    Read comp.os.linux.announce--this often contains very important
  2527.    information for all Linux users.
  2528.    
  2529.    General X-Windows questions belong in comp.windows.x.i386unix, not 
  2530.    comp.os.linux.x. But read the group first (including the FAQ), befo
  2531.    you post!
  2532.    
  2533.    Only if you have done all of these things and are still stuck shoul
  2534.    you post to the appropriate comp.os.linux.* newsgroup. Make sure yo
  2535.    read the next question, Q12.2 `What to put in a request for help',
  2536.    first.
  2537.    
  2538.    
  2539. 11.2 What to put in a request for help.
  2540.  
  2541.    Please read carefully the following advice about how to write your
  2542.    posting or email. Taking heed of it will greatly increase the chanc
  2543.    that an expert or fellow user reading it will have enough informati
  2544.    and motivation to reply.
  2545.    
  2546.    This advice applies both to postings asking for advice and to perso
  2547.    email sent to experts and fellow users.
  2548.    
  2549.    Make sure you give full details of the problem, including:
  2550.      * What program, exactly, you are having problems with. Include th
  2551.        version number if known and say where you got it. Many standard
  2552.        commands tell you their version number if you give them a
  2553.        --version option.
  2554.      * Which Linux release you're using (Red Hat, Slackware, Debian, o
  2555.        whatever) and what version of that release.
  2556.      * The exact and complete text of any error messages printed.
  2557.      * Exactly what behaviour you were expecting, and exactly what
  2558.        behaviour you observed. A transcript of an example session is a
  2559.        good way of showing this.
  2560.      * The contents of any configuration files used by the program in
  2561.        question and any related programs.
  2562.      * What version of the kernel and of the shared libraries you are
  2563.        using. The kernel version can be found by typing uname -a, and 
  2564.        shared library version by typing ls -l /lib/libc.so.4.
  2565.      * Details of what hardware you're running on, if it seems
  2566.        appropriate.
  2567.        
  2568.    You are in little danger of making your posting too long unless you
  2569.    include large chunks of source code or uuencoded files, so err on t
  2570.    side of giving too much information.
  2571.    
  2572.    Use a clear, detailed Subject line. Don't put things like `doesn't
  2573.    work', `Linux', `help' or `question' in it--we already know that! S
  2574.    the space for the name of the program, a fragment of the error
  2575.    message, summary of the unusual behaviour, etc.
  2576.    
  2577.    If you are reporting an `unable to handle kernel paging request'
  2578.    message, follow the instructions in the Linux kernel sources README
  2579.    for turning the numbers into something more meaningful. If you don'
  2580.    do this, no one who reads your post will be able to do it for you, 
  2581.    the mapping from numbers to function names varies from one kernel t
  2582.    another.
  2583.    
  2584.    Put a summary paragraph at the top of your posting.
  2585.    
  2586.    At the bottom of your posting, ask for responses by email and say
  2587.    you'll post a summary. Back this up by using Followup-To: poster.
  2588.    Then, do actually post a summary in a few days or a week or so. Don
  2589.    just concatenate the replies you got--summarise. Putting the word
  2590.    SUMMARY in your summary's Subject line is also a good idea. Conside
  2591.    submitting the summary to comp.os.linux.announce.
  2592.    
  2593.    Make sure your posting doesn't have an inappropriate References hea
  2594.    line. This marks your article as part of the thread of the article
  2595.    referred to, which will often cause it to be junked by readers, alo
  2596.    with the rest of a boring thread.
  2597.    
  2598.    You might like to say in your posting that you've read this FAQ and
  2599.    the appropriate HOWTOs--this may make people less likely to skip yo
  2600.    posting.
  2601.    
  2602.    Remember that you should not post email sent to you personally with
  2603.    the sender's permission.
  2604.    
  2605.    
  2606. 11.3 I want to mail someone about my problem.
  2607.  
  2608.    Try to find the author or developer of whatever program or componen
  2609.    is causing you difficulty. If you have a contact point for your Lin
  2610.    distribution, you should use it.
  2611.    
  2612.    Please put everything in your email that you would put in a posting
  2613.    asking for help.
  2614.    
  2615.    Finally, remember that despite the fact that most of the Linux
  2616.    community are very helpful and responsive to emailed questions, you
  2617.    be asking for help from an unpaid volunteer, so you have no right t
  2618.    expect an answer.
  2619.    
  2620.    
  2621.    
  2622.    
  2623. 12. Administrative information and acknowledgements.
  2624.  
  2625.    
  2626. 12.1 Feedback is invited.
  2627.  
  2628.    Please send me your comments on this FAQ.
  2629.    
  2630.    I accept submissions for the FAQ in any format; All contributions,
  2631.    comments, and corrections are gratefully received.
  2632.    
  2633.    Please send them to kiesling@terracom.net.
  2634.    
  2635.    If you wish to refer to a question(s) in the FAQ, it's most useful 
  2636.    me if you do so by the question heading, rather than the number, as
  2637.    the question numbers are generated automatically and I don't see th
  2638.    in the source file I edit.
  2639.    
  2640.    I prefer comments in English to patch files--I context diff is not 
  2641.    first language.
  2642.    
  2643.    
  2644. 12.2 Formats in which this FAQ is available.
  2645.  
  2646.    This document is available as an ASCII text file, an HTML World Wid
  2647.    Web page, PostScript, and as a USENET news posting.
  2648.    
  2649.    All of these formats are generated from SGML source using SGML Tool
  2650.    and the LinuxDoc DTD.
  2651.    
  2652.    The HTML version of this FAQ is available as
  2653.    http://sunsite.unc.edu/LDP/ at other sites.
  2654.    
  2655.    The Usenet version is posted regularly to comp.os.linux.announce,
  2656.    comp.answers, and news.answers.
  2657.    
  2658.    The most recent text, HTML, source, and PostScript versions are
  2659.    available from the Linux archives at sunsite.unc.edu, and from
  2660.    http://www.terracom.net/~kiesling
  2661.    
  2662.    
  2663. 12.3 Authorship and acknowledgements.
  2664.  
  2665.    This FAQ is compiled and maintained by Robert Kiesling
  2666.    kiesling@terracom.net, with assistance and comments from Linux
  2667.    activists all over the world.
  2668.    
  2669.    Special thanks are due to Matt Welsh, who moderated
  2670.    comp.os.linux.announce and comp.os.linux.answers, coordinated the
  2671.    HOWTOs and wrote substantial portions of many of them, Greg Hankins
  2672.    and Timothy Bynum, the former and current HOWTO maintainers, Lars
  2673.    Wirzenius and Mikko Rauhala, the former and current moderators of
  2674.    comp.os.linux.announce, Marc-Michel Corsini, who wrote the original
  2675.    Linux FAQ, and Ian Jackson, the previous FAQ maintainer. Thanks als
  2676.    to Roman Maurer for his many updates and additions, especially with
  2677.    European Web sites, translations, and general miscellany.
  2678.    
  2679.    Last but not least, thanks to Linus Torvalds and the other
  2680.    contributors to Linux for giving us something to talk about!
  2681.    
  2682.    
  2683. 12.4 Disclaimer and Copyright.
  2684.  
  2685.    Note that this document is provided `as is'. The information in it 
  2686.    not warranted to be correct. Use it at your own risk.
  2687.    
  2688.    Linux Frequently Asked Questions with Answers is Copyright (c) 1997
  2689.    1998 by Robert Kiesling kiesling@terracom.net, under the
  2690.    copyright of the Linux Documentation Project. The full text of the 
  2691.    copyright is available via anonymous FTP from sunsite.unc.edu, in t
  2692.    directory /pub/Linux/docs/LDP, and is included below.
  2693.    
  2694.    Portions are Copyright (c) 1994, 1995, 1996 by Ian Jackson, the
  2695.    previous Linux FAQ maintainer.
  2696.    
  2697.    Linux Frequently Asked Questions with Answers may be reproduced and
  2698.    distributed in its entirety (including this authorship, copyright, 
  2699.    permission notice), provided that no charge is made for the documen
  2700.    itself, without the author's consent. Portions may be reproduced fo
  2701.    such purposes as reviews, advertising, and derivative works like
  2702.    translations, with the author's consent.
  2703.    
  2704.    Note that this restriction is not intended to prohibit charging for
  2705.    the service of printing or copying a document supplied by your
  2706.    customer.
  2707.    
  2708.    Exceptions to these rules may be granted. I would be happy to answe
  2709.    any questions about this copyright. Email me at
  2710.    kiesling@terracom.net. As the license below says, these
  2711.    restrictions are here to protect the contributors, not to restrict 
  2712.    as educators and learners.
  2713.    
  2714.    LINUX DOCUMENTATION PROJECT COPYING LICENSE
  2715.    
  2716.    Last modified 6 January 1997
  2717.    
  2718.    The following copyright license applies to all works by the Linux
  2719.    Documentation Project.
  2720.    
  2721.    Please read the license carefully---it is somewhat like the GNU
  2722.    General Public License, but there are several conditions in it that
  2723.    differ from what you may be used to. If you have any questions, ple
  2724.    email the LDP coordinator, mdw@sunsite.unc.edu.
  2725.    
  2726.    The Linux Documentation Project manuals may be reproduced and
  2727.    distributed in whole or in part, subject to the following condition
  2728.    
  2729.    All Linux Documentation Project manuals are copyrighted by their
  2730.    respective authors. THEY ARE NOT IN THE PUBLIC DOMAIN. * The copyri
  2731.    notice above and this permission notice must be preserved complete 
  2732.    all complete or partial copies. * Any translation or derivative wor
  2733.    of Linux Installation and Getting Started must be approved by the
  2734.    author in writing before distribution. * If you distribute Linux
  2735.    Installation and Getting Started in part, instructions for obtainin
  2736.    the complete version of this manual must be included, and a means f
  2737.    obtaining a complete version provided. * Small portions may be
  2738.    reproduced as illustrations for reviews or quotes in other works
  2739.    without this permission notice if proper citation is given. * The G
  2740.    General Public License referenced below may be reproduced under the
  2741.    conditions given within it.
  2742.    
  2743.    Exceptions to these rules may be granted for academic purposes: Wri
  2744.    to the author and ask. These restrictions are here to protect us as
  2745.    authors, not to restrict you as educators and learners. All source
  2746.    code in Linux Installation and Getting Started is placed under the 
  2747.    General Public License, available via anonymous FTP from the GNU
  2748.    archive site.
  2749.    
  2750.    PUBLISHING LDP MANUALS
  2751.    
  2752.    If you're a publishing company interested in distributing any of th
  2753.    LDP manuals, read on.
  2754.    
  2755.    By the license given in the previous section, anyone is allowed to
  2756.    publish and distribute verbatim copies of the Linux Documentation
  2757.    Project manuals. You don't need our explicit permission for this.
  2758.    However, if you would like to distribute a translation or derivativ
  2759.    work based on any of the LDP manuals, you must obtain permission fr
  2760.    the author, in writing, before doing so.
  2761.    
  2762.    All translations and derivative works of LDP manuals must be placed
  2763.    under the Linux Documentation License given in the previous section
  2764.    That is, if you plan to release a translation of one of the manuals
  2765.    it must be freely distributable by the above terms.
  2766.    
  2767.    You may, of course, sell the LDP manuals for profit. We encourage y
  2768.    to do so. Keep in mind, however, that because the LDP manuals are
  2769.    freely distributable, anyone may photocopy or distribute printed
  2770.    copies free of charge, if they wish to do so.
  2771.    
  2772.    We do not require to be paid royalties for any profit earned from
  2773.    selling LDP manuals. However, we would like to suggest that if you 
  2774.    sell LDP manuals for profit, that you either offer the author
  2775.    royalties, or donate a portion of your earnings to the author, the 
  2776.    as a whole, or to the Linux development community. You may also wis
  2777.    to send one or more free copies of the LDP manual that you are
  2778.    distributing to the author. Your show of support for the LDP and th
  2779.    Linux community will be very appreciated.
  2780.    
  2781.    We would like to be informed of any plans to publish or distribute 
  2782.    manuals, just so we know how they're becoming available. If you are
  2783.    publishing or planning to publish any LDP manuals, please send emai
  2784.    to Matt Welsh (email mdw@sunsite.unc.edu).
  2785.    
  2786.    We encourage Linux software distributors to distribute the LDP manu
  2787.    (such as the Installation and Getting Started Guide) with their
  2788.    software. The LDP manuals are intended to be used as the "official"
  2789.    Linux documentation, and we'd like to see mail-order distributors
  2790.    bundling the LDP manuals with the software. As the LDP manuals matu
  2791.    hopefully they will fulfill this goal more adequately.
  2792.    
  2793.    Matt Welsh, mdw@sunsite.unc.edu
  2794.    
  2795.  
  2796.