home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / doc / FAQ / linux-faq / linux-faq.ascii next >
Text File  |  1996-03-04  |  117KB  |  2,638 lines

  1.             LINUX FREQUENTLY ASKED QUESTIONS WITH ANSWERS
  2.                             06 Mar 1996
  3.                 Ian Jackson <ijackson@gnu.ai.mit.edu>
  4.  
  5. This is the list of Frequently Asked Questions about Linux, the free Unix
  6. for 386/486/586 [see Q1.1 `What is Linux ?' for more details].  It should
  7. be read in conjunction with the HOWTO documents, which are available in
  8.  
  9. * ftp.funet.fi (128.214.6.100) : /pub/OS/Linux/doc/HOWTO
  10. * tsx-11.mit.edu (18.172.1.2) : /pub/linux/docs/HOWTO
  11. * sunsite.unc.edu (152.2.22.81) : /pub/Linux/docs/HOWTO
  12.  
  13. and mirror sites thereof -- see Q2.5 `Where can I get Linux material by
  14. FTP ?'.  See Q2.1 `Where can I get the HOWTOs and other documentation ?'
  15. for a list of the HOWTOs and more information.  The INFO-SHEET and
  16. META-FAQ, found in the same place, also list other sources of Linux
  17. information.
  18.  
  19. The Linux Documentation Project documentation is available on
  20. sunsite.unc.edu in /pub/Linux/docs/LDP.  These documents (more are in
  21. preparation) are invaluable to the newcomer or for use as a reference
  22. work.
  23.  
  24. Please check out these documents and this FAQ, especially Q12.1 `You still
  25. haven't answered my question !', before posting your question to a
  26. newsgroup.
  27.  
  28. See Q13.2 `Formats in which this FAQ is available' for details of where to
  29. get the PostScript, Emacs Info, HTML (WWW) and plain ASCII versions of
  30. this document.
  31.  
  32. A new version of this document appears approximately monthly.  If this
  33. copy is more than a month old it may be out of date.
  34.  
  35. ===============================================================================
  36.  
  37. Index
  38.  
  39.  Section 1.  Introduction and General Information
  40.  Q1.1        What is Linux ?
  41.  Q1.2        What software does it support ?
  42.  Q1.3        Does it run on my computer ?  What hardware is supported ?
  43.  Q1.4        What ports to other processors are there ?
  44.  Q1.5        How much hard disk space does Linux need ?
  45.  Q1.6        Is Linux PD ?  Copyrighted ?
  46.  
  47.  Section 2.  Network sources and resources
  48.  Q2.1        Where can I get the HOWTOs and other documentation ?
  49.  Q2.2        Where should I look on the World Wide Web for Linux stuff ?
  50.  Q2.3        What newsgroups are there for Linux ?
  51.  Q2.4        How do I install Linux ?
  52.  Q2.5        Where can I get Linux material by FTP ?
  53.  Q2.6        I don't have FTP access.  Where do I get Linux ?
  54.  Q2.7        I don't have Usenet access.  Where do I get information ?
  55.  Q2.8        What mailing lists are there ?
  56.  Q2.9        Are the newsgroups archived anywhere ?
  57.  
  58.  Section 3.  Compatibility with other operating systems
  59.  Q3.1        Can Linux share my disk with DOS ?  OS/2 ?  386BSD ?  Win95 ?
  60.  Q3.2        How do I access files on my DOS partition or floppy ?
  61.  Q3.3        Can I use my Stacked/DBLSPC/etc. DOS drive ?
  62.  Q3.4        Can I access OS/2 HPFS partitions from Linux ?
  63.  Q3.5        Can I access BSD FFS, SysV UFS, Mac, Amiga, etc filesystems ?
  64.  Q3.6        Can I run Microsoft Windows programs under Linux ?
  65.  Q3.7        How can I boot Linux from OS/2's Boot Manager ?
  66.  Q3.8        How can I share a swap partition between Linux and MS Windows ?
  67.  
  68.  Section 4.  Linux's handling of filesystems, disks and drives
  69.  Q4.1        How can I get Linux to work with my large disk ?
  70.  Q4.2        How can I undelete files ?
  71.  Q4.3        Is there a defragmenter for ext2fs etc. ?
  72.  Q4.4        How do I format and create a filesystem on a floppy ?
  73.  Q4.5        I get nasty messages about inodes, blocks, and the suchlike
  74.  Q4.6        My swap area isn't working.
  75.  Q4.7        How do I remove LILO so my system boots DOS again ?
  76.  Q4.8        Why can't I use fdformat except as root ?
  77.  Q4.9        Is there something like Stacker or Doublespace for Linux ?
  78.  Q4.10       My ext2fs partitions are checked each time I reboot.
  79.  Q4.11       My root filesystem is read-only !
  80.  Q4.12       I have a huge /proc/kcore !  Can I delete it ?
  81.  Q4.13       My AHA1542C doesn't work with Linux.
  82.  
  83.  Section 5.  Porting, compiling and obtaining programs
  84.  Q5.1        How do I port XXX to Linux ?
  85.  Q5.2        What is ld.so and where do I get it ?
  86.  Q5.3        Has anyone ported / compiled / written XXX for Linux ?
  87.  Q5.4        Can I use code or a compiler compiled for a 486 on my 386 ?
  88.  Q5.5        What does gcc -O6 do ?
  89.  Q5.6        Where are <linux/*.h> and <asm/*.h> ?
  90.  Q5.7        I get errors when I try to compile the kernel.
  91.  Q5.8        How do I make a shared library ?
  92.  Q5.9        My executables are (very) large.
  93.  Q5.10       Does Linux support threads or lightweight processes ?
  94.  Q5.11       Where can I get `lint' for Linux ?
  95.  Q5.12       Where can I find `kermit' for Linux ?
  96.  
  97.  Section 6.  Solutions to common miscellaneous problems
  98.  Q6.1        free dumps core.
  99.  Q6.2        My clock is very wrong.
  100.  Q6.3        Setuid scripts don't seem to work.
  101.  Q6.4        Free memory as reported by free keeps shrinking.
  102.  Q6.5        When I add more memory it slows to a crawl.
  103.  Q6.6        Some programs (e.g. xdm) won't let me log in.
  104.  Q6.7        Some programs let me log in with no password.
  105.  Q6.8        My machine runs very slowly when I run GCC / X / ...
  106.  Q6.9        I can only log in as root.
  107.  Q6.10       My screen is all full of weird characters instead of letters.
  108.  Q6.11       I have screwed up my system and can't log in to fix it.
  109.  Q6.12       I've discovered a huge security hole in rm !
  110.  Q6.13       lpr and/or lpd aren't working.
  111.  Q6.14       Timestamps on files on msdos partitions are set incorrectly.
  112.  Q6.15       How do I get LILO to boot the vmlinux file ?
  113.  
  114.  Section 7.  How do I do this or find out that ... ?
  115.  Q7.1        How can I get scrollback in text mode ?
  116.  Q7.2        How do I switch virtual consoles ?  How do I enable them ?
  117.  Q7.3        How do I set the timezone ?
  118.  Q7.4        What version of Linux and what machine name am I using ?
  119.  Q7.5        How can I enable or disable core dumps ?
  120.  Q7.6        How do I upgrade/recompile my kernel ?
  121.  Q7.7        Can I have more than 3 serial ports by sharing interrupts ?
  122.  Q7.8        How do I make a bootable floppy ?
  123.  Q7.9        How do I remap my keyboard to UK, French, etc. ?
  124.  Q7.10       How do I get NUM LOCK to default to on ?
  125.  Q7.11       How can I have more than 128Mb of swap ?
  126.  
  127.  Section 8.  Miscellaneous information and questions answered
  128.  Q8.1        How do I program XYZ under Linux ?
  129.  Q8.2        What's all this about ELF ?
  130.  Q8.3        What is a .gz file ? And a .tgz ? And ... ?
  131.  Q8.4        What does VFS stand for ?
  132.  Q8.5        What is a BogoMip ?
  133.  Q8.6        What is the Linux Journal and where can I get it ?
  134.  Q8.7        How many people use Linux ?
  135.  Q8.8        How should I pronounce Linux ?
  136.  
  137.  Section 9.  Frequently encountered error messages
  138.  Q9.1        Unknown terminal type linux and similar
  139.  Q9.2        During linking I get Undefined symbol _mcount
  140.  Q9.3        lp1 on fire
  141.  Q9.4        INET: Warning: old style ioctl(IP_SET_DEV) called!
  142.  Q9.5        ld: unrecognized option '-m486'
  143.  Q9.6        GCC says Internal compiler error
  144.  Q9.7        make says Error 139
  145.  Q9.8        shell-init: permission denied when I log in.
  146.  Q9.9        No utmp entry.  You must exec ... when I log in.
  147.  Q9.10       Warning - bdflush not running
  148.  Q9.11       Warning: obsolete routing request made.
  149.  Q9.12       EXT2-fs: warning: mounting unchecked filesystem
  150.  Q9.13       EXT2-fs warning: maximal count reached
  151.  Q9.14       EXT2-fs warning: checktime reached
  152.  Q9.15       df says Cannot read table of mounted filesystems
  153.  Q9.16       fdisk says Partition X has different physical/logical ...
  154.  Q9.17       fdisk: Partition 1 does not start on cylinder boundary
  155.  Q9.18       fdisk says partition n has an odd number of sectors
  156.  Q9.19       mtools says cannot initialise drive XYZ
  157.  Q9.20       At the start of booting: Memory tight
  158.  Q9.21       You don't exist. Go away.
  159.  
  160.  Section 10. The X Window System
  161.  Q10.1       Does Linux support X Windows ?
  162.  Q10.2       Where can I get an XF86Config for my system ?
  163.  Q10.3       xterm logins show up strangely in who, finger
  164.  Q10.4       I can't get X Windows to work right.
  165.  
  166.  Section 11. Questions applicable to very out-of-date software
  167.  Q11.1       Emacs just dumps core.
  168.  Q11.2       fdisk says cannot use nnn sectors of this partition
  169.  Q11.3       GCC sometimes uses huge amounts of virtual memory and thrashes
  170.  Q11.4       My keyboard goes all funny after I switch VC's.
  171.  
  172.  Section 12. How to get further assistance
  173.  Q12.1       You still haven't answered my question !
  174.  Q12.2       What to put in a request for help
  175.  Q12.3       I want to mail someone about my problem.
  176.  
  177.  Section 13. Administrative information and acknowledgements
  178.  Q13.1       Feedback is invited
  179.  Q13.2       Formats in which this FAQ is available
  180.  Q13.3       Authorship and acknowledgements
  181.  Q13.4       Disclaimer and Copyright
  182.  
  183. ===============================================================================
  184.  
  185. Section 1.  Introduction and General Information
  186.  
  187.  Q1.1        What is Linux ?
  188.  Q1.2        What software does it support ?
  189.  Q1.3        Does it run on my computer ?  What hardware is supported ?
  190.  Q1.4        What ports to other processors are there ?
  191.  Q1.5        How much hard disk space does Linux need ?
  192.  Q1.6        Is Linux PD ?  Copyrighted ?
  193.  
  194. -------------------------------------------------------------------------------
  195.  
  196. Question 1.1.  What is Linux ?
  197.  
  198. Linux is a Unix clone written from scratch by Linus Torvalds with
  199. assistance from a loosely-knit team of hackers across the Net.  It aims
  200. towards POSIX compliance.
  201.  
  202. It has all the features you would expect in a modern fully-fledged Unix,
  203. including true multitasking, virtual memory, shared libraries, demand
  204. loading, shared copy-on-write executables, proper memory management and
  205. TCP/IP networking.
  206.  
  207. It runs mainly on 386/486/586-based PCs, using the hardware facilities of
  208. the 386 processor family (TSS segments et al) to implement these features.
  209. Ports to other architectures are underway [Q1.4 `What ports to other
  210. processors are there ?'].
  211.  
  212. See the Linux INFO-SHEET [Q2.1 `Where can I get the HOWTOs and other
  213. documentation ?'] for more details.
  214.  
  215. The Linux kernel is distributed under the GNU General Public License - see
  216. Q1.6 `Is Linux PD ?  Copyrighted ?' for more details.
  217.  
  218. -------------------------------------------------------------------------------
  219.  
  220. Question 1.2.  What software does it support ?
  221.  
  222. Linux has GCC, Emacs, X-Windows, all the standard Unix utilities, TCP/IP
  223. (including SLIP and PPP) and all the hundreds of programs that people have
  224. compiled or ported for it.
  225.  
  226. There is a DOS emulator (look on tsx-11.mit.edu in
  227. /pub/linux/ALPHA/dosemu) which can run DOS itself and some (but not all)
  228. DOS applications.  I'm told that it can now run Windows 3.1 in Enhanced
  229. Mode.
  230.  
  231. An iBCS2 (Intel Binary Compatibility Standard) emulator for SVR4 ELF and
  232. SVR3.2 COFF binaries is at a fairly advanced stage of development.  See
  233. the file /pub/linux/BETA/ibcs2/README on tsx-11.mit.edu.
  234.  
  235. Work is progressing on an emulator for Microsoft Windows binaries [Q3.6
  236. `Can I run Microsoft Windows programs under Linux ?']; alternatively, I'm
  237. told that the DOS emulator team have been having some success getting MS
  238. Windows to run inside dosemu - there will be an announcement if and when
  239. they get it working.
  240.  
  241. For more information see the INFO-SHEET, which is one of the the HOWTOs
  242. [Q2.1 `Where can I get the HOWTOs and other documentation ?'].  See also
  243. Q5.1 `How do I port XXX to Linux ?'.
  244.  
  245. Some companies have commercial software available, including Motif.  They
  246. announce their availability in comp.os.linux.announce --- try searching
  247. the archives [Q2.9 `Are the newsgroups archived anywhere ?'].
  248.  
  249. -------------------------------------------------------------------------------
  250.  
  251. Question 1.3.  Does it run on my computer ?  What hardware is supported ?
  252.  
  253. You need a 386, 486 or 586, with at least 2Mb of RAM and a single floppy,
  254. to try it out.  To do anything useful more RAM (4Mb to install most
  255. distributions, and 8Mb is highly recommended for running X) and a hard
  256. disk are required.
  257.  
  258. VESA local bus and PCI are both supported.
  259.  
  260. There are problems with machines using MCA (IBM's proprietary bus), mainly
  261. to do with the hard disk controller.  There is a developers' release for
  262. PS/2 ESDI drives on invaders.dcrl.nd.edu in /pub/misc/linux.  Certain
  263. kinds of SCSI controllers also work, I understand.  Work is in progress to
  264. create a suitable version of the Slackware distribution.  I'm afraid I
  265. don't have any further details; you could try asking Arindam Banerji
  266. <axb@defender.dcrl.nd.edu>.
  267.  
  268. Linux runs on 386 family based laptops, with X on most of them.  There is
  269. a relevant Web page at
  270. http://www.cs.utexas.edu/users/kharker/linux-laptop/.
  271.  
  272. For details of exactly which PC's, video cards, disk controllers, etc.
  273. work see the INFO-SHEET and the Hardware HOWTO [Q2.1 `Where can I get the
  274. HOWTOs and other documentation ?'].
  275.  
  276. There is a port of Linux to the 8086, known as the Embeddable Linux Kernel
  277. Subset (ELKS).  This is a 16-bit subset of the Linux kernel which will
  278. mainly be used for embedded systems.  See
  279. http://www.linux.org.uk/Linux8086.html for more information.  Linux will
  280. never run fully on an 8086 or '286, because it requires task-switching and
  281. memory management facilities not found on these processors.
  282.  
  283. Recent versions of Linux (1.3.35 and later) do support multiprocessor
  284. machines, though this is still rather less stable than one would hope.
  285.  
  286. -------------------------------------------------------------------------------
  287.  
  288. Question 1.4.  What ports to other processors are there ?
  289.  
  290. A project has been underway for a while to port Linux to suitable
  291. 68000-series based systems such as Amigas and Ataris.  This has now
  292. reached beta test quality and there is an X server.  There is a
  293. linux-680x0 mailing list [Q2.8 `What mailing lists are there ?'], and a
  294. Linux/68K FAQ at
  295. http://pfah.informatik.uni-kl.de:8000/pers/jmayer/linux68k-faq and on
  296. tsx-11.mit.edu in /pub/linux/680x0/FAQ; further information is at
  297. http://www-users.informatik.rwth-aachen.de/~hn/linux68k.html.  There is a
  298. mailing list for the Atari port - mail <majordomo@phil.uni-sb.de> with a
  299. body containing only subscribe atarix - and an ftp area on
  300. ftp.phil.uni-sb.de in /pub/atari/linux.
  301.  
  302. There used to be a project to port Linux too 68K-based Macintoshes, but
  303. its FTP site disappeared recently and the project appears to be dead.
  304.  
  305. There is a port to the PowerPC.  As of the 7th of July it is rather
  306. fragmentary and cannot recompile itself, and only supports Motorola 1603
  307. boards.  Work on Motorola Ultra, PowerStack, RS/6000 and NuBus machines
  308. continues.  If you wish to contribute to the project join the linux-ppc
  309. mailing list [Q2.8 `What mailing lists are there ?'].  There is a FAQ on
  310. liber.stanford.edu in /pub/linuxppc/linux-ppc-FAQ or on the WWW at
  311. http://liber.stanford.edu/linuxppc/linux-ppc-FAQ.html.
  312.  
  313. Apple and the OSF are working on a PowerPC port of Linux based on the OSF
  314. Mach microkernel. See http://mklinux.apple.com/.
  315.  
  316. There is a port to the 64-bit DEC Alpha/AXP.  See
  317. http://www.azstarnet.com/~axplinux/.  Again, there is a mailing list at
  318. vger.rutgers.edu.
  319.  
  320. Ralf Baechle is working on a port to the MIPS, initially for the R4600 on
  321. Deskstation Tyne machines.  The Linux/MIPS FAQ is available on the WWW and
  322. in the MIPS port area on ftp.waldorf-gmbh.de in /pub/linux/mips.  There is
  323. also a MIPS channel on the Linux Activists mailserver and a linux-mips
  324. mailing list [Q2.8 `What mailing lists are there ?'].  Interested people
  325. may mail their questions and offers of assistance to
  326. <linux@waldorf-gmbh.de>.
  327.  
  328. There are currently two ports of Linux to the ARM family of processors
  329. ongoing; one of these is to the ARM3 as fitted to the Acorn A5000, and
  330. includes I/O drivers for the 82710/11 as appropriate, and the other is to
  331. the ARM610 as fitted to the Acorn Risc PC.  The Risc PC port is currently
  332. in its early to middle stages, owing to the need to rewrite much of the
  333. memory handling.  The A5000 port is in restricted beta testing; a release
  334. is likely fairly soon.  For more up to date information watch the
  335. newsgroup comp.sys.acorn.misc, or look on the WWW at
  336. http://whirligig.ecs.soton.ac.uk/~rmk92/armlinux.html; if you want to
  337. volunteer you should contact Martin Ebourne <mje@soton.ac.uk>.
  338.  
  339. David Miller is working on a port to the Sparc.  It is at a very early
  340. stage; people who are willing to dedicate lots of time and have access to
  341. Sparc boxes for testing should get in touch with <davem@caip.rutgers.edu>.
  342.  
  343. None of the above ports will be capable of running Linux/386 binaries.
  344.  
  345. Linux port to the Aleph One 486 card (*not* the second processor card for
  346. the Risc PC yet, but the original PC-on-a-podule card) has been completed
  347. and appears stable.  Full details on this version, and updates on general
  348. ports in progress, can be found on the WWW at
  349. http://www.ph.kcl.ac.uk/~amb/linux.html.
  350.  
  351. -------------------------------------------------------------------------------
  352.  
  353. Question 1.5.  How much hard disk space does Linux need ?
  354.  
  355. 10Mb for a very minimal installation, suitable for trying it out and not
  356. much else.
  357.  
  358. You can squeeze a more complete installation including X Windows into
  359. 80Mb.  Installating almost all of Debian 0.93R6 takes around 500Mb,
  360. including some space for user files and spool areas.
  361.  
  362. -------------------------------------------------------------------------------
  363.  
  364. Question 1.6.  Is Linux PD ?  Copyrighted ?
  365.  
  366. The Linux kernel copyright belongs to Linus Torvalds.  He has placed it
  367. under the GNU General Public Licence, which basically means that you may
  368. freely copy, change and distribute it, but that you may not impose any
  369. restrictions on further distribution, and that you must make the source
  370. code available.  This is not the same as Public Domain (see the Copyright
  371. FAQ, available on rtfm.mit.edu in
  372. /pub/usenet/news.answers/law/Copyright-FAQ, for details).
  373.  
  374. Full details are in the file COPYING in the Linux kernel sources (probably
  375. in /usr/src/linux on your system).
  376.  
  377. The licences of the utilities and programs which come with the
  378. installations vary; much of the code is from the GNU Project at the Free
  379. Software Foundation, and is also under the GPL.
  380.  
  381. Note that discussion about the merits or otherwise of the GPL should be
  382. posted to gnu.misc.discuss and not to the comp.os.linux groups.
  383.  
  384. ===============================================================================
  385.  
  386. Section 2.  Network sources and resources
  387.  
  388.  Q2.1        Where can I get the HOWTOs and other documentation ?
  389.  Q2.2        Where should I look on the World Wide Web for Linux stuff ?
  390.  Q2.3        What newsgroups are there for Linux ?
  391.  Q2.4        How do I install Linux ?
  392.  Q2.5        Where can I get Linux material by FTP ?
  393.  Q2.6        I don't have FTP access.  Where do I get Linux ?
  394.  Q2.7        I don't have Usenet access.  Where do I get information ?
  395.  Q2.8        What mailing lists are there ?
  396.  Q2.9        Are the newsgroups archived anywhere ?
  397.  
  398. -------------------------------------------------------------------------------
  399.  
  400. Question 2.1.  Where can I get the HOWTOs and other documentation ?
  401.  
  402. Look in the following places, and on sites that mirror them.
  403.  
  404. * ftp.funet.fi (128.214.6.100) : /pub/OS/Linux/doc/HOWTO
  405. * tsx-11.mit.edu (18.172.1.2) : /pub/linux/docs/HOWTO
  406. * sunsite.unc.edu (152.2.22.81) : /pub/Linux/docs/HOWTO
  407.  
  408. For a complete list of Linux FTP sites see Q2.5 `Where can I get Linux
  409. material by FTP ?'.
  410.  
  411. If you don't have access to FTP try using the FTP-by-mail servers at
  412. ftpmail@decwrl.dec.com, ftpmail@doc.ic.ac.uk or
  413. ftp-mailer@informatik.tu-muenchen.de.
  414.  
  415. A complete list of HOWTO's is available in the file HOWTO.INDEX in the
  416. docs/HOWTO directory at the FTP sites, or on the Web at
  417. http://sunsite.unc.edu/mdw/HOWTO/HOWTO-INDEX.html but here is a (possibly
  418. incomplete) list:
  419.  
  420.      Linux INFO-SHEET                        Linux META-FAQ
  421.      Bootdisk HOWTO                          Busmouse HOWTO
  422.      CDROM HOWTO                             Commercial HOWTO
  423.      Cyrillic HOWTO                          DOSEMU HOWTO
  424.      Danish HOWTO                            Distribution HOWTO
  425.      ELF HOWTO                               Ethernet HOWTO
  426.      Firewall HOWTO                          Ftape HOWTO
  427.      German HOWTO                            HAM HOWTO
  428.      Hardware HOWTO                          Installation HOWTO
  429.      JE HOWTO                                Kernel HOWTO
  430.      MGR HOWTO                               Electronic Mail HOWTO
  431.      NET-2 HOWTO                             NIS HOWTO
  432.      News HOWTO                              PCI-HOWTO
  433.      PCMCIA HOWTO                            PPP HOWTO
  434.      Printing HOWTO                          SCSI HOWTO
  435.      SCSI Programming HOWTO                  Serial HOWTO
  436.      Sound HOWTO                             Term HOWTO
  437.      Tips HOWTO                              UPS HOWTO
  438.      UUCP HOWTO                              XFree86 HOWTO
  439. More of these documents are always in preparation.  You should check in
  440. nearby directories on the FTP sites if you can't find the answer in one of
  441. the HOWTOs.  There are also several mini-HOWTOs on sunsite.unc.edu in the
  442. /pub/Linux/docs/HOWTO/mini directory.
  443.  
  444. The file WRITING contains information on how to write a new HOWTO.
  445.  
  446. The HOWTOs are coordinated by Greg Hankins, <gregh@cc.gatech.edu>.
  447.  
  448. The `books' produced by the Linux Documentation Project are available in
  449. /pub/Linux/docs/LDP on sunsite.unc.edu.  Please read them if you are new
  450. to Unix and Linux.  Here is a list of those released so far:
  451.  
  452. * The Linux Documentation Project manifesto
  453. * Installation and Getting Started Guide
  454. * The Kernel Hacker's Guide
  455. * Network Administration Guide
  456. * Linux System Administrator's Guide
  457.  
  458. -------------------------------------------------------------------------------
  459.  
  460. Question 2.2.  Where should I look on the World Wide Web for Linux stuff ?
  461.  
  462. Matt Welsh maintains the Linux Documentation Project Home Page, at
  463. http://sunsite.unc.edu/mdw/linux.html.
  464.  
  465. This page refers to all the FAQs and HOWTOs, both those which are
  466. available in HTML (WWW) format, like this FAQ, and those which aren't.
  467.  
  468. -------------------------------------------------------------------------------
  469.  
  470. Question 2.3.  What newsgroups are there for Linux ?
  471.  
  472. There are ten international Usenet newsgroups devoted to Linux.
  473.  
  474. comp.os.linux.announce is the moderated announcements group; you should
  475. read this if you intend to use Linux.  Submissions for that group should
  476. be emailed to linux-announce@news.ornl.gov.
  477.  
  478. comp.os.linux.answers contains all the FAQs, HOWTOs and other important
  479. documentation.  You should subscribe to this too.
  480.  
  481. Also worth reading are the other groups in the comp.os.linux.* hierarchy
  482. -- you may find that many common problems are too recent to find in this
  483. FAQ but are answered in the newsgroups.  These groups are
  484. comp.os.linux.setup, comp.os.linux.hardware, comp.os.linux.networking,
  485. comp.os.linux.x, comp.os.linux.development.apps,
  486. comp.os.linux.development.system, comp.os.linux.advocacy and
  487. comp.os.linux.misc.
  488.  
  489. Remember that since Linux is a Unix clone, most all of the material in
  490. comp.unix.* and comp.windows.x.* groups will be relevant.  Apart from
  491. hardware considerations, and some obscure or very technical low-level
  492. issues, you'll find that these groups are the right place to start.
  493.  
  494. Please read Q12.1 `You still haven't answered my question !' before
  495. posting, and make sure you post to the right newsgroup -- see `Welcome to
  496. the comp.os.linux.* hierarchy' which is posted every two weeks to
  497. comp.os.linux.announce, comp.os.linux.answers and other groups.
  498.  
  499. Crossposting between different comp.os.linux.* groups is rarely a good
  500. idea.
  501.  
  502. There may well be Linux groups local to your institution or area - check
  503. there first.
  504.  
  505. The groups comp.os.linux.development, comp.os.linux.admin and
  506. comp.os.linux.help were superseded in a recent newsgroup reorganisation.
  507. You should no longer use them.
  508.  
  509. See also Q2.7 `I don't have Usenet access.  Where do I get information ?'.
  510.  
  511. Other regional and local newsgroups also exist - you may find the traffic
  512. more manageable there.  The French Linux newsgroup is fr.comp.os.linux;
  513. The German one is de.comp.os.linux.  In Australia, try
  514. aus.computers.linux.  In Croatia there is the moderated group
  515. hr.comp.linux.m.  In Italy, it.comp.linux.
  516.  
  517. -------------------------------------------------------------------------------
  518.  
  519. Question 2.4.  How do I install Linux ?
  520.  
  521. There are several pre-packaged releases of Linux available, including
  522. Debian, Red Hat and Slackware.  Each contains the software you need to run
  523. Linux, ready to install and use.  The exact details of which software is
  524. included and how to install them vary from release to release.
  525.  
  526. You should read the Installation HOWTO for more details on how to go about
  527. installing Slackware.  Red Hat and Debian are both more recent and less
  528. buggy, and have more sophisticated installation schemes, but they are less
  529. widely used and don't contain quite as wide a range of software.
  530.  
  531. All of those releases are available via anonymous FTP from various Linux
  532. archive sites [Q2.5 `Where can I get Linux material by FTP ?'].  There are
  533. also a large number of other releases which are distributed less globally,
  534. which suit special local and national requirements (for example, better
  535. internationalisation support).
  536.  
  537. -------------------------------------------------------------------------------
  538.  
  539. Question 2.5.  Where can I get Linux material by FTP ?
  540.  
  541. There are three main archive sites for Linux:
  542.  
  543. * ftp.funet.fi (Finland, 128.214.6.100) : /pub/OS/Linux
  544. * sunsite.unc.edu (US, 152.2.22.81) : /pub/Linux
  545. * tsx-11.mit.edu (US, 18.172.1.2) : /pub/linux
  546.  
  547. The best place to get the Linux kernel is on ftp.cs.helsinki.fi in
  548. /pub/Software/Linux/Kernel; Linus Torvalds uploads the most recent kernel
  549. versions to this site.
  550.  
  551. The Debian distribution is available at ftp.debian.org and the Red Hat
  552. distribution at ftp.redhat.com.
  553.  
  554. The contents of these sites is mirrored (copied, usually approximately
  555. daily) by a number of other sites.  Please use one close to you -- that
  556. will be faster for you and easier on the network.
  557.  
  558. * src.doc.ic.ac.uk : /packages/Linux (UK)
  559. * sunacm.swan.ac.uk : /pub/Linux (UK)
  560. * ftp.ibp.fr : /pub/linux (France)
  561. * ftp.cc.gatech.edu : /pub/linux (US - southeast: Suranet)
  562. * wuarchive.wustl.edu : /systems/linux (US)
  563. * uiarchive.cso.uiuc.edu : /pub/systems/linux (US)
  564. * ftp.cdrom.com : /pub/linux (US)
  565. * ftp.informatik.tu-muenchen.de : /pub/comp/os/linux (Germany)
  566. * ftp.ibr.cs.tu-bs.de : /pub/os/linux (Germany)
  567. * ftp.dfv.rwth-aachen.de : /pub/linux (Germany)
  568. * ftp.informatik.rwth-aachen.de : /pub/Linux (Germany)
  569. * bond.edu.au : /pub/OS/Linux (Australia)
  570. * ftp.cc.monash.edu.au : /pub/linux (Australia)
  571. * ftp.dstc.edu.au : /pub/Linux (Australia: Queensland)
  572. * ftp.sun.ac.za : /pub/linux (South Africa)
  573. * ftp.inf.utfsm.cl : /pub/Linux (Chile)
  574. * ftp.zel.fer.hr : /pub/Linux (Croatia)
  575.  
  576. Not all of these mirror all of the other `source' sites, and some have
  577. material not available on the `source' sites.
  578.  
  579. -------------------------------------------------------------------------------
  580.  
  581. Question 2.6.  I don't have FTP access.  Where do I get Linux ?
  582.  
  583. The easiest thing is probably to find a friend with FTP access.  If there
  584. is a Linux users group near you they may be able to help.
  585.  
  586. If you have a reasonably good email connection you could try the
  587. FTP-by-mail servers at ftpmail@decwrl.dec.com, ftpmail@doc.ic.ac.uk or
  588. ftp-mailer@informatik.tu-muenchen.de.
  589.  
  590. Linux is also available via traditional mail on diskette, CD-ROM and tape.
  591. The Installation HOWTO, and the file /pub/Linux/docs/distributions on
  592. sunsite.unc.edu, contain information on these distributions.
  593.  
  594. You could also try Zane Healy <healyzh@holonet.net>'s list of Linux BBS's,
  595. which is posted regularly (1st and 15th of each month) to
  596. comp.os.linux.announce and occasionally to the Fidonet and RIME UNIX
  597. echoes.
  598.  
  599. -------------------------------------------------------------------------------
  600.  
  601. Question 2.7.  I don't have Usenet access.  Where do I get information ?
  602.  
  603. A digest of comp.os.linux.announce is available by mailing the word
  604. subscribe as the body of a message to
  605. <linux-announce-REQUEST@news-digests.mit.edu>.  You are strongly advised
  606. to subscribe to this list, as it carries important information and
  607. documentation about Linux.
  608.  
  609. Please remember to use the -request addresses for your subscription and
  610. unsubscription messages; mail to the other address is posted to the
  611. newsgroup !
  612.  
  613. -------------------------------------------------------------------------------
  614.  
  615. Question 2.8.  What mailing lists are there ?
  616.  
  617. The Linux developers now mainly use the Majordomo server at
  618. <majordomo@vger.rutgers.edu>.  Send a message with lists in the body to
  619. get a list of the lists there; add a line with help to get the standard
  620. Majordomo help file which has instructions for subscribing and
  621. unsubscribing.
  622.  
  623. Note that most of these lists are used by the developers of Linux to talk
  624. about technical issues and future developments.  These are not intended
  625. for new users' questions.
  626.  
  627. There is a linux-newbie list where `no question is too stupid';
  628. unfortunately it seems that few of the experienced users read that
  629. channel.  It does have very low volume.
  630.  
  631. There used to be a multi-channel Linux mailing list server on
  632. niksula.hut.fi.  This shut down during the summer of 1995.
  633.  
  634. -------------------------------------------------------------------------------
  635.  
  636. Question 2.9.  Are the newsgroups archived anywhere ?
  637.  
  638. sunsite.unc.edu contains archives of comp.os.linux.announce, in
  639. /pub/Linux/docs/linux-announce.archive.  These are mirrored from /usenet
  640. on src.doc.ic.ac.uk.
  641.  
  642. There is an `easy to access' archive of comp.os.linux.announce on the
  643. World Wide Web at http://www.leo.org/archiv/linux/archiv/ann_index.html.
  644. It supports searching and browsing.
  645.  
  646. I do not know of any (current) archives of the other groups in the
  647. comp.os.linux hierarchy.
  648.  
  649. ===============================================================================
  650.  
  651. Section 3.  Compatibility with other operating systems
  652.  
  653.  Q3.1        Can Linux share my disk with DOS ?  OS/2 ?  386BSD ?  Win95 ?
  654.  Q3.2        How do I access files on my DOS partition or floppy ?
  655.  Q3.3        Can I use my Stacked/DBLSPC/etc. DOS drive ?
  656.  Q3.4        Can I access OS/2 HPFS partitions from Linux ?
  657.  Q3.5        Can I access BSD FFS, SysV UFS, Mac, Amiga, etc filesystems ?
  658.  Q3.6        Can I run Microsoft Windows programs under Linux ?
  659.  Q3.7        How can I boot Linux from OS/2's Boot Manager ?
  660.  Q3.8        How can I share a swap partition between Linux and MS Windows ?
  661.  
  662. -------------------------------------------------------------------------------
  663.  
  664. Question 3.1.  Can Linux share my disk with DOS ?  OS/2 ?  386BSD ?  Win95 ?
  665.  
  666. Yes.  Linux uses the standard PC partitioning scheme, so it can share your
  667. disk with other operating systems.  Note, however, that many of these
  668. other operating systems are rather cranky: DOS FDISK and FORMAT can
  669. sometimes overwrite data in a Linux partition because they sometimes
  670. incorrectly use partition data from the partition's boot sector rather
  671. than the partition table.  In order to prevent them from doing this it is
  672. a good idea to zero out under Linux the start of a partition you've just
  673. created, before you use MSDOS or whatever to format it.  Type:
  674.    dd if=/dev/zero of=/dev/hdXY bs=512 count=1
  675. where hdXY is the relevant partition, eg, hda1 for the first partition of
  676. the first (IDE) disk.
  677.  
  678. Linux can read and write the files on your DOS and OS/2 FAT partitions and
  679. floppies using either the DOS filesystem type built into the kernel or
  680. mtools.  There is an alpha version of kernel support for the VFAT
  681. filesystem used by Windows 95 and Windows NT; it is available from
  682. mm-ftp.cs.berkeley.edu in /pub/multimedia/linux/vfat/vfat-0.3.0.tgz.  This
  683. was integrated into the standard kernel in version 1.3.60.
  684.  
  685. See Q1.2 `What software does it support ?' for details and status of the
  686. emulators for DOS, MS Windows and System V programs.
  687.  
  688. See also Q3.5 `Can I access BSD FFS, SysV UFS, Mac, Amiga, etc filesystems
  689. ?'.
  690.  
  691. -------------------------------------------------------------------------------
  692.  
  693. Question 3.2.  How do I access files on my DOS partition or floppy ?
  694.  
  695. Use the DOS filesystem, i.e. type, for example:
  696.         mkdir /dos
  697.         mount -t msdos -o conv=text,umask=022,uid=100,gid=100 /dev/hda3 /dos
  698. If it's a floppy, don't forget to umount it before ejecting it !
  699.  
  700. You can use the conv=text/binary/auto, umask=nnn, uid=nnn and gid=nnn
  701. options to control the automatic line-ending conversion, permissions and
  702. ownerships of the files in the DOS filesystem as they appear under Linux.
  703. If you mount your DOS filesystem by putting it in your /etc/fstab you can
  704. record the options (comma-separated) there, instead of defaults.
  705.  
  706. Alternatively you can use `mtools', available in both binary and source
  707. form on the FTP sites -- see Q2.5 `Where can I get Linux material by FTP
  708. ?'.
  709.  
  710. A kernel patch (known as the fd-patches) is available which allows
  711. floppies with nonstandard numbers of tracks and/or sectors to be used;
  712. this patch is included in the 1.1 alpha testing kernel series.
  713.  
  714. -------------------------------------------------------------------------------
  715.  
  716. Question 3.3.  Can I use my Stacked/DBLSPC/etc. DOS drive ?
  717.  
  718. Not very easily.  You can access them from within the DOS emulator [Q1.2
  719. `What software does it support ?'], but it's harder to do as a normal
  720. filesystem under Linux or using mtools.  There is a module available for
  721. the Linux kernel which can do read-only access of the compressed volume.
  722. Look on sunsite.unc.edu in /pub/Linux/system/Filesystems, for the ths
  723. package.
  724.  
  725. -------------------------------------------------------------------------------
  726.  
  727. Question 3.4.  Can I access OS/2 HPFS partitions from Linux ?
  728.  
  729. Yes, but it's only read-only at the moment.  To use it you must compile a
  730. kernel with support for it enabled [Q7.6 `How do I upgrade/recompile my
  731. kernel ?'].  Then you can mount it using the mount command, for example:
  732.         mkdir /hpfs
  733.         mount -t hpfs /dev/hda5 /hpfs
  734.  
  735. -------------------------------------------------------------------------------
  736.  
  737. Question 3.5.  Can I access BSD FFS, SysV UFS, Mac, Amiga, etc filesystems ?
  738.  
  739. I'm told that there is a primitive, alpha test read-only Amiga filesystem
  740. on sunsite.unc.edu in /pub/Linux/patches/amigaffs.tar.Z.  More information
  741. is in affs-readme in the tarfile.
  742.  
  743. Recent kernels contain support for the UFS filesystem used by System V,
  744. Coherent and Xenix.
  745.  
  746. There is alpha kernel support, readonly for the moment, for the 4.2BSD
  747. UFS, on sunsite.unc.edu in /pub/Linux/ALPHA/ufs.
  748.  
  749. There is a set of user-level programs that provides read-only access to
  750. the Macintosh hierarchical filing system (HFS). It is available on
  751. sunsite.unc.edu in /pub/Linux/utils/disk-management/hfs0_36.tgz.  This is
  752. being turned into a kernel module, which is available on sunsite.
  753.  
  754. A suite of programs called Samba provide support for Windows for
  755. Workgroups networked filesystems (provided it's configured to use TCP/IP).
  756. Information is available at http://lake.canberra.edu.au/samba/samba.html.
  757. There is alpha kernel support for mounting such filesystems, on
  758. sunsite.unc.edu in /pub/Linux/ALPHA/smbfs.
  759.  
  760. There is no support for the rest of those yet; I have not heard of any
  761. recent work on providing some.
  762.  
  763. -------------------------------------------------------------------------------
  764.  
  765. Question 3.6.  Can I run Microsoft Windows programs under Linux ?
  766.  
  767. Not yet.  There is a project, known as WINE, to build an MS Windows
  768. emulator for Linux, but it is not ready for users yet.  Don't ask about it
  769. unless you think you can contribute; look out for the status reports in
  770. comp.emulators.ms-windows.wine.
  771.  
  772. In the meantime if you need to run MS Windows programs your best bet is
  773. probably to reboot when you want to switch environments.  LILO (the Linux
  774. bootloader) has the facility for a boot menu --- see its documentation for
  775. more details.
  776.  
  777. -------------------------------------------------------------------------------
  778.  
  779. Question 3.7.  How can I boot Linux from OS/2's Boot Manager ?
  780.  
  781. 1. Create a partition using OS/2's FDISK (Not Linux's fdisk).
  782.  
  783. 2. Format the partition under OS/2, either with FAT or HPFS.  This is so
  784. that OS/2 knows about the partition being formatted.  (This step is not
  785. necessary with OS/2 "warp" 3.0.)
  786.  
  787. 3. Add the partition to the Boot Manager.
  788.  
  789. 4. Boot Linux, and create a filesystem on the partition using mkfs -t ext2
  790. or mke2fs.  At this point you may, if you like, use Linux's fdisk to
  791. change the partition type code of the new partition to type 83 (Linux
  792. Native) -- this may help some automated installation scripts find the
  793. right partition to use.
  794.  
  795. 5. Install Linux on the partition.
  796.  
  797. 6. Install LILO on the Linux partition -- NOT on the master boot record of
  798. the hard drive.  This installs LILO as a second-stage boot loader on the
  799. Linux partition itself, to start up the kernel specified in the LILO
  800. config file.  To do this you should put
  801.    boot = /dev/hda2
  802. (where /dev/hda2 is the *partition* you want to boot off) in your
  803. /etc/lilo/config or /etc/lilo.config file.
  804.  
  805. 7. Make sure that it is the Boot Manager partition that is marked active,
  806. so that you can use Boot Manager to choose what to boot.
  807.  
  808. -------------------------------------------------------------------------------
  809.  
  810. Question 3.8.  How can I share a swap partition between Linux and MS Windows ?
  811.  
  812. See the Mini-HOWTO on the subject by H. Peter Anvin, <hpa@yggdrasil.com>.
  813. It is available on sunsite.unc.edu in
  814. /pub/Linux/docs/HOWTO/mini/Swap-Space.
  815.  
  816. ===============================================================================
  817.  
  818. Section 4.  Linux's handling of filesystems, disks and drives
  819.  
  820.  Q4.1        How can I get Linux to work with my large disk ?
  821.  Q4.2        How can I undelete files ?
  822.  Q4.3        Is there a defragmenter for ext2fs etc. ?
  823.  Q4.4        How do I format and create a filesystem on a floppy ?
  824.  Q4.5        I get nasty messages about inodes, blocks, and the suchlike
  825.  Q4.6        My swap area isn't working.
  826.  Q4.7        How do I remove LILO so my system boots DOS again ?
  827.  Q4.8        Why can't I use fdformat except as root ?
  828.  Q4.9        Is there something like Stacker or Doublespace for Linux ?
  829.  Q4.10       My ext2fs partitions are checked each time I reboot.
  830.  Q4.11       My root filesystem is read-only !
  831.  Q4.12       I have a huge /proc/kcore !  Can I delete it ?
  832.  Q4.13       My AHA1542C doesn't work with Linux.
  833.  
  834. -------------------------------------------------------------------------------
  835.  
  836. Question 4.1.  How can I get Linux to work with my large disk ?
  837.  
  838. If your disk is an IDE or EIDE drive you should read the file
  839. /usr/src/linux/drivers/block/README.ide (part of the Linux kernel source
  840. code).  This README contains many helpful hints about IDE drives.  Many
  841. modern IDE controllers do translation between `physical'
  842. cylinders/heads/sectors and `logical' ones.
  843.  
  844. SCSI disks are accessed by linear block numbers; the BIOS invents some
  845. `logical' cylinders/heads/sectors fiction to support DOS.
  846.  
  847. DOS will usually not be able to access partitions which extend beyond 1024
  848. logical cylinders, and will make booting a Linux kernel from such
  849. partitions using LILO problematic at best.
  850.  
  851. You can still use such partitions for Linux or other operating systems
  852. that access the controller directly.
  853.  
  854. I'd recommend creating at least one Linux partition entirely under the
  855. 1024-logical-cylinder limit and booting off that; the other partitions
  856. will then be OK.
  857.  
  858. -------------------------------------------------------------------------------
  859.  
  860. Question 4.2.  How can I undelete files ?
  861.  
  862. In general, this is very hard to do on Unices because of their
  863. multitasking nature.  Undelete functionality for the ext2fs is being
  864. worked on, but don't hold your breath.
  865.  
  866. There are a number of packages available that work by providing new
  867. commands for deletion and sometimes copying that move deleted files into a
  868. `wastebasket' directory instead; they can then be recovered until cleaned
  869. out automatically by background processing.
  870.  
  871. Alternatively you can search the raw disk device which holds the
  872. filesystem in question.  This is hard work, and you will need to be root
  873. to do this.
  874.  
  875. -------------------------------------------------------------------------------
  876.  
  877. Question 4.3.  Is there a defragmenter for ext2fs etc. ?
  878.  
  879. Yes.  There is a Linux filesystem defragmenter for ext2, minix and
  880. old-style ext filesystems available on sunsite.unc.edu in
  881. system/Filesystems/defrag-0.6.tar.gz.
  882.  
  883. Users of the ext2 filesystem can probably do without defrag since ext2
  884. contains extra code to keep fragmentation reduced even in very full
  885. filesystems.
  886.  
  887. -------------------------------------------------------------------------------
  888.  
  889. Question 4.4.  How do I format and create a filesystem on a floppy ?
  890.  
  891. For a 3.5 inch high density floppy:
  892.    fdformat /dev/fd0H1440
  893.    mkfs -t ext2 -m 0 /dev/fd0H1440 1440
  894. For a 5.25 inch floppy use fd0h1200 and 1200 as appropriate.  For the `B'
  895. drive use fd1 instead of fd0.  Full details of which floppy devices do
  896. what can be found in the Linux Device List [Q2.1 `Where can I get the
  897. HOWTOs and other documentation ?'].  You may have to run mke2fs directly
  898. instead of mkfs -t ext2.  The -m 0 option tells mkfs.ext2 not to reserve
  899. any space on the disk for the superuser --- usually the last 10% is
  900. reserved for root.
  901.  
  902. The first command low-level formats the floppy; the second creates an
  903. empty filesystem on it.  After doing this you can mount the floppy like a
  904. hard disk partition and simply cp and mv files, etc.
  905.  
  906. -------------------------------------------------------------------------------
  907.  
  908. Question 4.5.  I get nasty messages about inodes, blocks, and the suchlike
  909.  
  910. You probably have a corrupted filesystem, probably caused by not shutting
  911. Linux down properly before turning off the power or resetting.  You need
  912. to use a recent shutdown program to do this --- for example, the one
  913. included in the util-linux package, available on sunsite and tsx-11.
  914.  
  915. If you're lucky the program fsck (or e2fsck or xfsck as appropriate if you
  916. don't have the automatic fsck front-end) will be able to repair your
  917. filesystem; if you're unlucky the filesystem is trashed and you'll have to
  918. reinitialise it with mkfs (or mke2fs, mkxfs etc.) it and restore from a
  919. backup.
  920.  
  921. NB: don't try to check a filesystem that's mounted read-write - this
  922. includes the root partition if you don't see
  923.    VFS: mounted root ... read-only
  924. at boot time.
  925.  
  926. -------------------------------------------------------------------------------
  927.  
  928. Question 4.6.  My swap area isn't working.
  929.  
  930. When you boot (or enable swapping manually) you should see
  931.         Adding Swap: NNNNk swap-space
  932.  
  933. If you don't see any messages at all you are probably missing swapon -av
  934. (the command to enable swapping) in your /etc/rc.local or /etc/rc.d/* (the
  935. system startup scripts), or have forgotten to make the right entry in
  936. /etc/fstab:
  937.         /dev/hda2       none       swap       sw
  938. for example.
  939.  
  940. If you see
  941.         Unable to find swap-space signature
  942. you have forgotten to run mkswap.  See the manpage for details; it works
  943. much like mkfs.
  944.  
  945. Check the Installation HOWTO for detailed instructions of how to set up a
  946. swap area.
  947.  
  948. -------------------------------------------------------------------------------
  949.  
  950. Question 4.7.  How do I remove LILO so my system boots DOS again ?
  951.  
  952. Using DOS (MS-DOS 5.0 or later, or OS/2), type FDISK /MBR (which is not
  953. documented).  This will restore a standard MS-DOS Master Boot Record.  If
  954. you have DR-DOS 6.0, go into FDISK in the normal way and then select the
  955. `Re-write Master Boot Record' option.
  956.  
  957. If you don't have DOS 5 or DR-DOS you need to have the boot sector that
  958. LILO saved when you first installed it.  You did keep that file, didn't
  959. you ?  It's probably called boot.0301 or some such.  Type
  960.    dd if=boot.0301 of=/dev/hda bs=445 count=1
  961. (or sda if you're using a SCSI disk).  This may also wipe out your
  962. partition table, so beware !  If you're desperate, you could use
  963.    dd if=/dev/zero of=/dev/hda bs=512 count=1
  964. which will erase your partition table and boot sector completely: you can
  965. then reformat the disk using your favourite software; however this will
  966. render the contents of your disk inaccessible --- you'll lose it all
  967. unless you're an expert.
  968.  
  969. Note that the DOS MBR boots whichever (single!) partition is flagged as
  970. `active'; you may need to use fdisk to set and clear the active flags on
  971. partitions appropriately.
  972.  
  973. -------------------------------------------------------------------------------
  974.  
  975. Question 4.8.  Why can't I use fdformat except as root ?
  976.  
  977. The system call to format a floppy may only be done as root, regardless of
  978. the permissions of /dev/fd0*.  If you want any user to be able to format a
  979. floppy try getting the fdformat2 program; this works around the problems
  980. by being setuid to root.
  981.  
  982. -------------------------------------------------------------------------------
  983.  
  984. Question 4.9.  Is there something like Stacker or Doublespace for Linux ?
  985.  
  986. Currently none of the Linux filesystems can do compression in the
  987. filesystem.
  988.  
  989. There is a program called Zlibc which allows existing applications to read
  990. compressed (GNU zipped) files as if they were not compressed.  After
  991. installing it you can compress files using gzip and programs will still
  992. find them, without having to change the programs.  Look on sunsite.unc.edu
  993. in /pub/Linux/libs.  The author is <Alain.Knaff@imag.fr>.
  994.  
  995. There is a compressing block device driver that can provide
  996. filesystem-independant on the fly disk compression in the kernel.  It is
  997. called `DouBle'.  There is a source only distribution on sunsite.unc.edu
  998. in /pub/Linux/kernel/patches/diskdrives; the author is Jean-Marc Verbavatz
  999. <jmv@receptor.mgh.harvard.edu>.  Note that since this compresses inodes
  1000. (administrative information) and directories as well as file contents any
  1001. corruption is quite likely to be serious.
  1002.  
  1003. There is also a package available called tcx (Transparently Compressed
  1004. Executables) which allows you to keep infrequently used executables
  1005. compressed and only uncompress them temporarily while you use them.
  1006. You'll find it on the Linux FTP sites [Q2.5 `Where can I get Linux
  1007. material by FTP ?']; it was also announced in comp.os.linux.announce.
  1008. Note - this is not the same as gzexe, which is an inferior implementation
  1009. of the same concept.
  1010.  
  1011. -------------------------------------------------------------------------------
  1012.  
  1013. Question 4.10.  My ext2fs partitions are checked each time I reboot.
  1014.  
  1015. See Q9.12 `EXT2-fs: warning: mounting unchecked filesystem'.
  1016.  
  1017. -------------------------------------------------------------------------------
  1018.  
  1019. Question 4.11.  My root filesystem is read-only !
  1020.  
  1021. Remount it.  If /etc/fstab is correct you can simply mount -n -o remount
  1022. /. If /etc/fstab is wrong you must give the device name and posibly the
  1023. type too: e.g. mount -n -o remount -t ext2 /dev/hda2 /.  To understand why
  1024. you got into this state see Q9.12 `EXT2-fs: warning: mounting unchecked
  1025. filesystem'.
  1026.  
  1027. -------------------------------------------------------------------------------
  1028.  
  1029. Question 4.12.  I have a huge /proc/kcore !  Can I delete it ?
  1030.  
  1031. None of the files in /proc are really there - they're all "pretend" files
  1032. made up by the kernel, to give you information about the system, and don't
  1033. take up any hard disk space.
  1034.  
  1035. /proc/kcore is like an "alias" for the memory in your computer; its size
  1036. is the same as the amount of RAM you have, and if you ask to read it as a
  1037. file the kernel does memory reads.
  1038.  
  1039. -------------------------------------------------------------------------------
  1040.  
  1041. Question 4.13.  My AHA1542C doesn't work with Linux.
  1042.  
  1043. The option to allow disks with more than 1024 cylinders is only required
  1044. as a workaround for a DOS misfeature and should be turned *off* under
  1045. Linux.  For older Linux kernels you need to turn off most of the "advanced
  1046. BIOS" options - all but the one about scanning the bus for bootable
  1047. devices.
  1048.  
  1049. ===============================================================================
  1050.  
  1051. Section 5.  Porting, compiling and obtaining programs
  1052.  
  1053.  Q5.1        How do I port XXX to Linux ?
  1054.  Q5.2        What is ld.so and where do I get it ?
  1055.  Q5.3        Has anyone ported / compiled / written XXX for Linux ?
  1056.  Q5.4        Can I use code or a compiler compiled for a 486 on my 386 ?
  1057.  Q5.5        What does gcc -O6 do ?
  1058.  Q5.6        Where are <linux/*.h> and <asm/*.h> ?
  1059.  Q5.7        I get errors when I try to compile the kernel.
  1060.  Q5.8        How do I make a shared library ?
  1061.  Q5.9        My executables are (very) large.
  1062.  Q5.10       Does Linux support threads or lightweight processes ?
  1063.  Q5.11       Where can I get `lint' for Linux ?
  1064.  Q5.12       Where can I find `kermit' for Linux ?
  1065.  
  1066. Please see also the Linux GCC-FAQ, available in HTML format by FTP from
  1067. www.mrc-apu.cam.ac.uk in /pub/linux/GCC-FAQ.html.
  1068.  
  1069. -------------------------------------------------------------------------------
  1070.  
  1071. Question 5.1.  How do I port XXX to Linux ?
  1072.  
  1073. In general Unix programs need very little porting.  Simply follow the
  1074. installation instructions.  If you don't know and don't know how to find
  1075. out the answers to some of the questions asked during or by the
  1076. installation procedure you can guess, but this tends to produce buggy
  1077. programs.  In this case you're probably better off asking someone else to
  1078. do the port.
  1079.  
  1080. If you have a BSD-ish program you should try using -I/usr/include/bsd and
  1081. -lbsd on the appropriate parts of the compilation lines.
  1082.  
  1083. -------------------------------------------------------------------------------
  1084.  
  1085. Question 5.2.  What is ld.so and where do I get it ?
  1086.  
  1087. ld.so is the dynamic library loader.  Each binary using shared libraries
  1088. used to have about 3K of start-up code to find and load the shared
  1089. libraries.  Now that code has been put in a special shared library,
  1090. /lib/ld.so, where all binaries can look for it, so that it wastes less
  1091. disk space, and can be upgraded more easily.
  1092.  
  1093. It can be obtained from tsx-11.mit.edu in /pub/linux/packages/GCC and
  1094. mirror sites thereof.  The latest version at the time of writing is
  1095. ld.so.1.7.11.tar.gz.
  1096.  
  1097. /lib/ld-linux.so.1 is the same thing for ELF [Q8.2 `What's all this about
  1098. ELF ?'], and comes in the same package as the a.out loader.
  1099.  
  1100. -------------------------------------------------------------------------------
  1101.  
  1102. Question 5.3.  Has anyone ported / compiled / written XXX for Linux ?
  1103.  
  1104. First, look in the Linux Software Map (LSM) --- it's in the docs directory
  1105. on sunsite.unc.edu, and on the other FTP sites.  A search engine is
  1106. available on the WWW at http://www.boutell.com/lsm/.
  1107.  
  1108. Check the FTP sites (see Q2.5 `Where can I get Linux material by FTP ?')
  1109. first --- search the find-ls or INDEX files for appropriate strings.
  1110. Check the Linux Projects Map (LPM), on ftp.ix.de in
  1111. /pub/Linux/docs/Projects-Map.gz.
  1112.  
  1113. If you don't find anything, you could either download the sources to the
  1114. program yourself and compile them -- see Q5.1 `How do I port XXX to Linux
  1115. ?' -- or, if it's a large package which may require some porting, post a
  1116. message to the newsgroup comp.os.linux.development.apps.
  1117.  
  1118. If you compile a largeish program please upload it to one or more of the
  1119. FTP sites and post a message to comp.os.linux.announce (submit your
  1120. posting to <linux-announce@news.ornl.gov>).
  1121.  
  1122. If you're looking for an application-type program the chances are someone
  1123. has already written a free verson.  Try reading the FAQ in
  1124. comp.sources.wanted for instructions on how to find sources.
  1125.  
  1126. You should also check the Projects-FAQ, available in
  1127. /pub/Linux/docs/faqs/Projects-FAQ on sunsite.unc.edu.
  1128.  
  1129. -------------------------------------------------------------------------------
  1130.  
  1131. Question 5.4.  Can I use code or a compiler compiled for a 486 on my 386 ?
  1132.  
  1133. Yes, unless it's the kernel.
  1134.  
  1135. The -m486 option to GCC, which is used to compile binaries for 486
  1136. machines, merely changes certain optimisations.  This makes for slightly
  1137. larger binaries which run somewhat faster on a 486.  They still work fine
  1138. on a 386, though, with little performance hit.
  1139.  
  1140. However, from version 1.3.35 the kernel will use 486- or Pentium-specific
  1141. instructions if configured for a 486 or Pentium, thus making it unusable
  1142. on a 386.
  1143.  
  1144. GCC can be configured for a 386 or 486; the only difference is that
  1145. configuring it for a 386 makes -m386 the default and configuring for a 486
  1146. makes -m486 the default; in either case these can be overriden on a
  1147. per-compilation basis or by editing /usr/lib/gcc-lib/i*-linux/n.n.n/specs.
  1148.  
  1149. There is an alpha version of GCC that knows how to do optimisation well
  1150. for the 586, but it is quite unreliable, especially at high optimisation
  1151. settings.  The Pentium GCC can be found on tsx-11.mit.edu in
  1152. /pub/linux/ALPHA/pentium-gcc.  I'd recommend using the ordinary 486 GCC
  1153. instead; word has it that using -m386 produces code that's better for the
  1154. Pentium, or at least slightly smaller.
  1155.  
  1156. -------------------------------------------------------------------------------
  1157.  
  1158. Question 5.5.  What does gcc -O6 do ?
  1159.  
  1160. Currently the same as -O2 (GCC 2.5) or -O3 (GCC 2.6, 2.7); any number
  1161. greater than that currently does the same thing.  The Makefiles of newer
  1162. kernels use -O2, you should probably do the same.
  1163.  
  1164. -------------------------------------------------------------------------------
  1165.  
  1166. Question 5.6.  Where are <linux/*.h> and <asm/*.h> ?
  1167.  
  1168. These are in the directories /usr/include/linux and /usr/include/asm.
  1169.  
  1170. However they should be symbolic links to your kernel sources in
  1171. /usr/src/linux and not real directories.
  1172.  
  1173. If you don't have the kernel sources download them --- see Q7.6 `How do I
  1174. upgrade/recompile my kernel ?'.
  1175.  
  1176. Then use rm to remove any garbage, and ln to create the links:
  1177.    rm -rf /usr/include/linux /usr/include/asm
  1178.    ln -sf /usr/src/linux/include/linux /usr/include/linux
  1179.    ln -sf /usr/src/linux/include/asm /usr/include/asm
  1180.  
  1181. Nowadays /usr/src/linux/include/asm is a symbolic link to an
  1182. architecture-specific asm-<arch> directory - if you have a freshly
  1183. unpacked kernel source tree you must use make symlinks.  You'll also find
  1184. that you may need to do make config in a newly-unpacked kernel source
  1185. tree, to create <linux/autoconf.h>.
  1186.  
  1187. -------------------------------------------------------------------------------
  1188.  
  1189. Question 5.7.  I get errors when I try to compile the kernel.
  1190.  
  1191. Make sure that /usr/include/linux and /usr/include/asm aren't actual
  1192. directories but instead symbolic links to /usr/src/linux/include/linux and
  1193. /usr/src/linux/include/asm respectively.
  1194.  
  1195. If necessary, delete them using rm and then use ln -s to make the links as
  1196. in Q5.6 `Where are <linux/*.h> and <asm/*.h> ?'.
  1197.  
  1198. Remember that when you apply a patch to the kernel you must use the -p0 or
  1199. -p1 option: otherwise the patch may be misapplied.  See the manpage for
  1200. patch for details.
  1201.  
  1202. If you're patching to a kernel more recent than 1.1.44 you should find
  1203. that there are new directories /usr/src/linux/include/asm-i386.  The
  1204. directory asm there should be removed.  The symlinks Makefile target will
  1205. make these be symbolic links to asm-i36 and arch/i386/boot respectively.
  1206. The easiest way to make sure all this gets done is not to try to patch
  1207. 1.1.44 to make 1.1.45, but to download linux-1.1.45.tar.gz instead.
  1208.  
  1209. ld: unrecognised option `-qmagic' means you should get a newer linker,
  1210. from tsx-11.mit.edu in /pub/linux/packages/GCC, in the file
  1211. binutils-2.6.0.2.bin.tar.gz.
  1212.  
  1213. -------------------------------------------------------------------------------
  1214.  
  1215. Question 5.8.  How do I make a shared library ?
  1216.  
  1217. For ELF,
  1218.    gcc -fPIC -c *.c
  1219.    gcc -shared -Wl,-soname,libfoo.so.1 -o libfoo.so.1.0 *.o
  1220.  
  1221. For a.out, get tools-n.nn.tar.gz from tsx-11.mit.edu, in
  1222. /pub/linux/packages/GCC/src.  It comes with documentation that will tell
  1223. you what to do.  Note that a.out shared libraries are a very tricky
  1224. business.
  1225.  
  1226. -------------------------------------------------------------------------------
  1227.  
  1228. Question 5.9.  My executables are (very) large.
  1229.  
  1230. With an ELF compiler (see Q8.2 `What's all this about ELF ?') the most
  1231. common cause of large executables is the lack of an appropriate .so
  1232. library link for one of the libraries you're using.  There should be a
  1233. link like libc.so for every library like libc.so.5.2.18.
  1234.  
  1235. With an a.out compiler (see Q8.2 `What's all this about ELF ?') the most
  1236. common cause of large executables is the -g linker (compiler) flag.  This
  1237. produces (as well as debugging information in the output file) a program
  1238. which is statically linked, i.e. one which includes a copy of the C
  1239. library instead of using a dynamically linked copy.
  1240.  
  1241. Other things that are worth investigating are -O and -O2 which enable
  1242. optimisation (check the GCC documentation) and -s (or the strip command)
  1243. which strip the symbol information from the resulting binary (making
  1244. debugging totally impossible).
  1245.  
  1246. You may wish to use -N on very small executables (less than 8K with the
  1247. -N), but you shouldn't do this unless you understand its performance
  1248. implications, and definitely never with daemons.
  1249.  
  1250. -------------------------------------------------------------------------------
  1251.  
  1252. Question 5.10.  Does Linux support threads or lightweight processes ?
  1253.  
  1254. As well as the Unix multiprocessing model involving heavyweight processes,
  1255. which is of course part of the standard Linux kernel, there are several
  1256. implementations of lightweight processes or threads, most of which are
  1257. generic packages for any Unix:
  1258.  
  1259. * In sipb.mit.edu:/pub/pthread or ftp.ibp.fr:/pub/unix/threads/pthreads.
  1260.   Documentation isn't in the package, but is available on the World Wide
  1261.   Web at http://www.mit.edu:8001/people/proven/home_page.html.  Newer
  1262.   Linux libcs contain the pthreads source; the GNU Ada compiler on
  1263.   sunsite.unc.edu in /pub/Linux/devel/lang/ada/gnat-3.01-linux+elf.tar.gz
  1264.   contains binaries made from that source code.
  1265. * In ftp.cs.washington.edu:/pub/qt-001.tar.Z is QuickThreads.  More
  1266.   information can be found in the technical report, available on the same
  1267.   site as /tr/1993/05/UW-CSE-93-05-06.PS.Z.
  1268. * In gummo.doc.ic.ac.uk:/rex is lwp, a very minimal implementation.
  1269. * In ftp.cs.fsu.edu:/pub/PART, an Ada implementation.  This is useful
  1270.   mainly because it has a lot of PostScript papers that you'll find useful
  1271.   in learning more about threads.  This is not directly usable under
  1272.   Linux.
  1273.  
  1274. Please contact the authors of the packages in question for details.
  1275.  
  1276. Kernel version 1.3.35 contains some support for kernel threads, but this
  1277. code has not been well-tested.
  1278.  
  1279. -------------------------------------------------------------------------------
  1280.  
  1281. Question 5.11.  Where can I get `lint' for Linux ?
  1282.  
  1283. Roughly equivalent functionality is built into the GNU C compiler (gcc)
  1284. which is used by Linux systems.  Use the -Wall option to turn on most of
  1285. the useful extra warnings.  Check the GCC manual for more details (type
  1286. control-h followed by i in Emacs and select the entry for GCC).
  1287.  
  1288. There is a freely available program called `lclint' that does much the
  1289. same thing as traditional lint.  The announcement and source code are
  1290. available at on larch.lcs.mit.edu in /pub/Larch/lclint; on the World Wide
  1291. Web look at http://larch-www.lcs.mit.edu:8001/larch/lclint.html.
  1292.  
  1293. -------------------------------------------------------------------------------
  1294.  
  1295. Question 5.12.  Where can I find `kermit' for Linux ?
  1296.  
  1297. Kermit has a restrictive copyright which has forced most distribution
  1298. maintainers to remove it, or to move the package containing it into an
  1299. obscure directory.
  1300.  
  1301. The source code is available on kermit.columbia.edu in
  1302. /kermit/archives/cku190.tar.gz; Linux binaries are available in
  1303. /kermit/bin/ckuker.linux and /kermit/bin/ckuker.linuxtcp.
  1304.  
  1305. ===============================================================================
  1306.  
  1307. Section 6.  Solutions to common miscellaneous problems
  1308.  
  1309.  Q6.1        free dumps core.
  1310.  Q6.2        My clock is very wrong.
  1311.  Q6.3        Setuid scripts don't seem to work.
  1312.  Q6.4        Free memory as reported by free keeps shrinking.
  1313.  Q6.5        When I add more memory it slows to a crawl.
  1314.  Q6.6        Some programs (e.g. xdm) won't let me log in.
  1315.  Q6.7        Some programs let me log in with no password.
  1316.  Q6.8        My machine runs very slowly when I run GCC / X / ...
  1317.  Q6.9        I can only log in as root.
  1318.  Q6.10       My screen is all full of weird characters instead of letters.
  1319.  Q6.11       I have screwed up my system and can't log in to fix it.
  1320.  Q6.12       I've discovered a huge security hole in rm !
  1321.  Q6.13       lpr and/or lpd aren't working.
  1322.  Q6.14       Timestamps on files on msdos partitions are set incorrectly.
  1323.  Q6.15       How do I get LILO to boot the vmlinux file ?
  1324.  
  1325. -------------------------------------------------------------------------------
  1326.  
  1327. Question 6.1.  free dumps core.
  1328.  
  1329. In Linux 1.3.57 and later the format of /proc/meminfo was changed in a way
  1330. that the implementation of free doesn't understand.
  1331.  
  1332. Get the latest version, from sunsite.unc.edu in
  1333. /pub/Linux/system/Status/ps/procps-0.99.tgz.
  1334.  
  1335. -------------------------------------------------------------------------------
  1336.  
  1337. Question 6.2.  My clock is very wrong.
  1338.  
  1339. There are two clocks in your computer.  The hardware (CMOS) clock runs
  1340. even when the computer is off and is used to when the system starts up and
  1341. by DOS (if you use it).  The ordinary system time, shown and set by date,
  1342. is maintained by the kernel while Linux is running.
  1343.  
  1344. You can display the CMOS clock time, or set either clock from the other,
  1345. with /sbin/clock program - see man 8 clock.
  1346.  
  1347. There are various other programs that can correct either or both clocks
  1348. for systematic drift or transfer time across the network.  Some of them
  1349. may already be installed on your system.  Try looking at or for adjtimex
  1350. (corrects for drift), netdate and getdate (simply get the time from the
  1351. network) or xntp (accurate fully-featured network time daemon).
  1352.  
  1353. -------------------------------------------------------------------------------
  1354.  
  1355. Question 6.3.  Setuid scripts don't seem to work.
  1356.  
  1357. That's right.  This feature has been deliberately disabled in the Linux
  1358. kernel because setuid scripts are almost always a security hole.  If you
  1359. want to know why read the FAQ for comp.unix.questions.
  1360.  
  1361. -------------------------------------------------------------------------------
  1362.  
  1363. Question 6.4.  Free memory as reported by free keeps shrinking.
  1364.  
  1365. The `free' figure printed by free doesn't include memory used as a disk
  1366. buffer cache - shown in the `buffers' column.  If you want to know how
  1367. much memory is really free add the `buffers' amount to `free' - newer
  1368. versions of free print an extra line with this info.
  1369.  
  1370. The disk buffer cache tends to grow soon after starting Linux up, as you
  1371. load more programs and use more files and the contents get cached.  It
  1372. will stabilise after a while.
  1373.  
  1374. -------------------------------------------------------------------------------
  1375.  
  1376. Question 6.5.  When I add more memory it slows to a crawl.
  1377.  
  1378. This is quite a common symptom of a failure to cache the additional
  1379. memory.  The exact problem depends on your motherboard.
  1380.  
  1381. Sometimes you have to enable caching of certain regions in your BIOS
  1382. setup.  Look in the CMOS setup and see if there is an option to cache the
  1383. new memory area which is currently switched off.  This is apparently most
  1384. common on a 486.
  1385.  
  1386. Sometimes the RAMs have to be in certain sockets to be cached.
  1387.  
  1388. Sometimes you have to set jumpers to enable the caching.
  1389.  
  1390. Some motherboards don't cache all the RAM if you have more RAM per amount
  1391. of cache than they expect.  Usually a full 256K cache will solve this
  1392. problem.
  1393.  
  1394. If in doubt, check your motherboard manual.  If you still can't fix it
  1395. because the documentation is inadequate you might like to post a message
  1396. to comp.os.linux.hardware giving *all* the details - make, model number,
  1397. date code, etc. so that other Linux users can avoid it.
  1398.  
  1399. -------------------------------------------------------------------------------
  1400.  
  1401. Question 6.6.  Some programs (e.g. xdm) won't let me log in.
  1402.  
  1403. You are probably using non-shadow-password programs but are using shadow
  1404. passwords.
  1405.  
  1406. If so, you have to get or compile a shadow password version of the
  1407. program(s) in question.  The shadow password suite can be found in
  1408. (amongst other places):
  1409.    tsx-11.mit.edu:/pub/linux/sources/usr.bin/shadow-*
  1410. This is the source code; you will probably find the binaries in
  1411. .../linux/binaries/usr.bin.
  1412.  
  1413. -------------------------------------------------------------------------------
  1414.  
  1415. Question 6.7.  Some programs let me log in with no password.
  1416.  
  1417. You probably have the same problem as in Q6.6 `Some programs (e.g. xdm)
  1418. won't let me log in.', with an added wrinkle:
  1419.  
  1420. If you are using shadow passords you should put a letter x or an asterisk
  1421. in the password field of /etc/passwd for each account, so that if a
  1422. program doesn't know about the shadow passwords it won't think it's a
  1423. passwordless account and let anyone in.
  1424.  
  1425. -------------------------------------------------------------------------------
  1426.  
  1427. Question 6.8.  My machine runs very slowly when I run GCC / X / ...
  1428.  
  1429. You may not have any swap enabled.  You need to enable swapping to allow
  1430. Linux to page out bits of data programs aren't using at the moment to disk
  1431. to make more room for other programs and data.  If you don't Linux has to
  1432. keep data in memory and throw away in-memory copies of programs (which are
  1433. paged straight from the filesystem) and so less and less program is in
  1434. memory and everything runs very slowly.
  1435.  
  1436. See the Installation HOWTO and the Installation and Getting Started Guide
  1437. [Q2.1 `Where can I get the HOWTOs and other documentation ?'] for details
  1438. of how to set up a swap partition or swapfile; see also Q4.6 `My swap area
  1439. isn't working.'.
  1440.  
  1441. Alternatively you may have too little real memory.  If you have less RAM
  1442. than all the programs you're running at once use Linux will use your hard
  1443. disk instead and thrash horribly.  The solution in this case is to not run
  1444. so many things at once or to buy more memory.  You can also reclaim some
  1445. memory by compiling and using a kernel with less options configured.  See
  1446. Q7.6 `How do I upgrade/recompile my kernel ?'.
  1447.  
  1448. You can tell how much memory and/or swap you're using by using the free
  1449. command, or by typing
  1450.     cat /proc/meminfo
  1451.  
  1452. If your kernel is configured with a ramdisk this is probably wasted space
  1453. and will cause things to go slowly.  Use LILO or rdev to tell the kernel
  1454. not to allocate a ramdisk (see the LILO documentation or type man rdev).
  1455.  
  1456. -------------------------------------------------------------------------------
  1457.  
  1458. Question 6.9.  I can only log in as root.
  1459.  
  1460. You probably have some permission problems, or you have a file
  1461. /etc/nologin.
  1462.  
  1463. If the latter put rm -f /etc/nologin in your /etc/rc.local or /etc/rc.d/*
  1464. scripts.
  1465.  
  1466. Otherwise check the permissions on your shell, and any filenames which
  1467. appear in error messages, and also the directories containing these files
  1468. all the way up the tree, up to and including the root directory.
  1469.  
  1470. -------------------------------------------------------------------------------
  1471.  
  1472. Question 6.10.  My screen is all full of weird characters instead of letters.
  1473.  
  1474. You probably sent some binary data to your screen by mistake.  Type echo
  1475. '\033c' to fix it.  Many Linux distributions have a command reset that
  1476. does this.
  1477.  
  1478. -------------------------------------------------------------------------------
  1479.  
  1480. Question 6.11.  I have screwed up my system and can't log in to fix it.
  1481.  
  1482. Reboot from an emergency floppy or floppy pair, for example the Slackware
  1483. boot- and root-disk pair (in the install subdirectory of the Slackware
  1484. mirrors) or the MCC installation boot floppy.  There are also two diy
  1485. rescue disk creation packages on sunsite.unc.edu in
  1486. /pub/Linux/system/Recovery.  These are better as they'll have your own
  1487. kernel on them, so that you don't run the risk of missing devices,
  1488. filesystems, etc.
  1489.  
  1490. Get to a shell prompt and mount your hard disk with something like
  1491.    mount -t ext2 /dev/hda1 /mnt
  1492.  
  1493. Then your filesystem is available under the directory /mnt and you can fix
  1494. the problem.  Remember to unmount your hard disk before rebooting (cd back
  1495. down to / first or it will say it's busy).
  1496.  
  1497. -------------------------------------------------------------------------------
  1498.  
  1499. Question 6.12.  I've discovered a huge security hole in rm !
  1500.  
  1501. No you haven't.  You are obviously new to Unix and need to read a good
  1502. book on it to find out how things work.  Clue: ability to delete files
  1503. under Unix depends on permission to write the directory they are in.
  1504.  
  1505. -------------------------------------------------------------------------------
  1506.  
  1507. Question 6.13.  lpr and/or lpd aren't working.
  1508.  
  1509. Check the Printing HOWTO [Q2.1 `Where can I get the HOWTOs and other
  1510. documentation ?'].
  1511.  
  1512. -------------------------------------------------------------------------------
  1513.  
  1514. Question 6.14.  Timestamps on files on msdos partitions are set incorrectly.
  1515.  
  1516. There is a bug in the program clock (often found in /sbin) - it miscounts
  1517. a timezone offset, confusing seconds with minutes or some such.  Get a new
  1518. version of it.
  1519.  
  1520. -------------------------------------------------------------------------------
  1521.  
  1522. Question 6.15.  How do I get LILO to boot the vmlinux file ?
  1523.  
  1524. In kernel versions 1.1.80 and later the compressed kernel image, which is
  1525. what you have to give to LILO, has been moved to arch/i386/boot/zImage.
  1526. The vmlinux file in the root directory is the uncompressed kernel, and you
  1527. shouldn't try to boot it.
  1528.  
  1529. This change has been made to make it easier to build the versions for
  1530. several different processors from the same source tree.
  1531.  
  1532. ===============================================================================
  1533.  
  1534. Section 7.  How do I do this or find out that ... ?
  1535.  
  1536.  Q7.1        How can I get scrollback in text mode ?
  1537.  Q7.2        How do I switch virtual consoles ?  How do I enable them ?
  1538.  Q7.3        How do I set the timezone ?
  1539.  Q7.4        What version of Linux and what machine name am I using ?
  1540.  Q7.5        How can I enable or disable core dumps ?
  1541.  Q7.6        How do I upgrade/recompile my kernel ?
  1542.  Q7.7        Can I have more than 3 serial ports by sharing interrupts ?
  1543.  Q7.8        How do I make a bootable floppy ?
  1544.  Q7.9        How do I remap my keyboard to UK, French, etc. ?
  1545.  Q7.10       How do I get NUM LOCK to default to on ?
  1546.  Q7.11       How can I have more than 128Mb of swap ?
  1547.  
  1548. -------------------------------------------------------------------------------
  1549.  
  1550. Question 7.1.  How can I get scrollback in text mode ?
  1551.  
  1552. With the default US keymap you can use Shift with the PageUp and PageDown
  1553. keys (NB: these must be the grey ones, not the ones on the numeric keypad
  1554. !).  With other keymaps check the maps in /usr/lib/keytables; you can
  1555. remap the scroll up and down keys to be whatever you like --- for example,
  1556. in order to remap them to keys that exist on an 84-key AT keyboard.
  1557.  
  1558. You can't increase the amount of scrollback, because of the way it is
  1559. implemented using the video memory to store the scrollback text, though
  1560. you may be able to get more scrollback in each virtual console by reducing
  1561. the total number of VC's --- see <linux/tty.h>.
  1562.  
  1563. -------------------------------------------------------------------------------
  1564.  
  1565. Question 7.2.  How do I switch virtual consoles ?  How do I enable them ?
  1566.  
  1567. In text mode, press Left Alt-F1 to Alt-F12 to select the consoles tty1 to
  1568. tty12; Right Alt-F1 gives tty13 and so on.  To switch out of X windows you
  1569. must press Ctrl-Alt-F1 etc; Alt-F5 or whatever will switch back.
  1570.  
  1571. If you want to use a VC for ordinary login you need to list it in
  1572. /etc/inittab, which controls which terminals and virtual consoles have
  1573. login prompts.  NB: X needs at least one free VC in order to start.
  1574.  
  1575. Kernels earlier than around 1.1.59 have a compiled-in limit on the number
  1576. of consoles, for which the default is 8.  See NR_CONSOLES in
  1577. linux/include/linux/tty.h.  Newer kernels allocate them dynamically, up to
  1578. a maximum of 63.
  1579.  
  1580. -------------------------------------------------------------------------------
  1581.  
  1582. Question 7.3.  How do I set the timezone ?
  1583.  
  1584. Change directory to /usr/lib/zoneinfo; get the timezone package if you
  1585. don't have this directory.  The source can be found on sunsite.unc.edu in
  1586. /pub/Linux/system/Admin/timesrc-1.2.tar.gz.
  1587.  
  1588. Then make a symbolic link named localtime pointing to one of the files in
  1589. this directory (or a subdirectory), and one called posixrules pointing to
  1590. localtime.  For example:
  1591.    ln -sf US/Mountain localtime
  1592.    ln -sf localtime posixrules
  1593. This change will take effect immediately - try date.
  1594.  
  1595. Don't try to use the TZ variable - leave it unset.
  1596.  
  1597. You should also make sure that your Linux kernel clock is set to the
  1598. correct GMT time - type date -u and check that the correct universal time
  1599. is displayed.
  1600.  
  1601. -------------------------------------------------------------------------------
  1602.  
  1603. Question 7.4.  What version of Linux and what machine name am I using ?
  1604.  
  1605. Type:
  1606.    uname -a
  1607.  
  1608. -------------------------------------------------------------------------------
  1609.  
  1610. Question 7.5.  How can I enable or disable core dumps ?
  1611.  
  1612. Linux now has corefiles turned off by default for all processes.
  1613.  
  1614. You can turn them on or off by using the ulimit command in bash, the limit
  1615. command in tcsh, or the rlimit command in ksh.  See the manpage for the
  1616. shell for more details.
  1617.  
  1618. That command affects all programs run from that shell (directly or
  1619. indirectly), not the whole system.
  1620.  
  1621. If you wish to enable or disable coredumping for all processes by default
  1622. you can change the default setting in <linux/sched.h> - see the definition
  1623. of INIT_TASK, and look also in <linux/resource.h>.
  1624.  
  1625. 1.2.13 will produce a.out core dumps [Q8.2 `What's all this about ELF ?'].
  1626.  
  1627. -------------------------------------------------------------------------------
  1628.  
  1629. Question 7.6.  How do I upgrade/recompile my kernel ?
  1630.  
  1631. See the Kernel HOWTO or the README which comes with the kernel release on
  1632. ftp.cs.helsinki.fi, in /pub/Software/Linux/Kernel and mirrors thereof
  1633. [Q2.5 `Where can I get Linux material by FTP ?'].  You may already have a
  1634. version of the kernel source code installed on your system, but if you got
  1635. it as part of a standard distribution it is likely to be somewhat out of
  1636. date (this is not a problem if you only want a custom-configured kernel,
  1637. but it probably is if you need to upgrade.)
  1638.  
  1639. Remember that to make the new kernel boot you must run LILO after copying
  1640. the kernel into your root partition -- the Makefile in recent kernels has
  1641. a special zlilo target for this; try make zlilo.
  1642.  
  1643. Kernel version numbers with an odd minor version (ie, 1.1.x, 1.3.x) are
  1644. the testing releases; stable production kernels have even minor versions
  1645. (1.0.x, 1.2.x).  If you want to try the testing kernels you should
  1646. probably subscribe to the linux-kernel mailing list [Q2.8 `What mailing
  1647. lists are there ?'].
  1648.  
  1649. Russel Nelson posts summaries of what changes in recent kernel patches to
  1650. comp.os.linux.development, and these are archived on ftp.emlist.com in
  1651. /pub/kchanges.
  1652.  
  1653. -------------------------------------------------------------------------------
  1654.  
  1655. Question 7.7.  Can I have more than 3 serial ports by sharing interrupts ?
  1656.  
  1657. Yes, but you won't be able to use simultaneously two ordinary ports which
  1658. share an interrupt (without some trickery).  This is a limitation of the
  1659. ISA bus architecture.
  1660.  
  1661. See the Serial HOWTO for information about possible solutions to and
  1662. workarounds for this problem.
  1663.  
  1664. -------------------------------------------------------------------------------
  1665.  
  1666. Question 7.8.  How do I make a bootable floppy ?
  1667.  
  1668. Make a filesystem on it with bin, etc, lib and dev directories --
  1669. everything you need.  Install a kernel on it and arrange to have LILO boot
  1670. it from the floppy (see the LILO documentation, in lilo.u.*.ps).
  1671.  
  1672. If you build the kernel (or tell LILO to tell the kernel) to have a
  1673. ramdisk the same size as the floppy the ramdisk will be loaded at
  1674. boot-time and mounted as root in place of the floppy.
  1675.  
  1676. See the Bootdisk HOWTO.
  1677.  
  1678. -------------------------------------------------------------------------------
  1679.  
  1680. Question 7.9.  How do I remap my keyboard to UK, French, etc. ?
  1681.  
  1682. For recent kernels, get /pub/Linux/system/Keyboards/kbd-0.90.tar.gz from
  1683. sunsite.unc.edu.  Make sure you get the appropriate version; you have to
  1684. use the right keyboard-mapping package to go with your kernel version.
  1685. 0.90 should work with kernel versions from 1.0.
  1686.  
  1687. For older kernels you have to edit the top-level kernel Makefile, in
  1688. /usr/src/linux.
  1689.  
  1690. You may find more helpful information in the Keystroke HOWTO, on
  1691. sunsite.unc.edu in /pub/Linux/docs/HOWTO/Keystroke-HOWTO.
  1692.  
  1693. -------------------------------------------------------------------------------
  1694.  
  1695. Question 7.10.  How do I get NUM LOCK to default to on ?
  1696.  
  1697. Use the setleds program, for example (in /etc/rc.local or one of the
  1698. /etc/rc.d/* files):
  1699.    for t in 1 2 3 4 5 6 7 8
  1700.    do
  1701.         setleds +num < /dev/tty$t > /dev/null
  1702.    done
  1703.  
  1704. setleds is part of the kbd package (see Q7.9 `How do I remap my keyboard
  1705. to UK, French, etc. ?').
  1706.  
  1707. Alternatively, patch your kernel.  You need to arrange for KBD_DEFLEDS to
  1708. be defined to (1 << VC_NUMLOCK) when compiling drivers/char/keyboard.c.
  1709.  
  1710. -------------------------------------------------------------------------------
  1711.  
  1712. Question 7.11.  How can I have more than 128Mb of swap ?
  1713.  
  1714. Use several swap partitions or swapfiles - Linux supports up to 16 swap
  1715. areas, each of up to 128Mb.
  1716.  
  1717. Very old kernels only supported swap area sizes up to 16Mb.
  1718.  
  1719. ===============================================================================
  1720.  
  1721. Section 8.  Miscellaneous information and questions answered
  1722.  
  1723.  Q8.1        How do I program XYZ under Linux ?
  1724.  Q8.2        What's all this about ELF ?
  1725.  Q8.3        What is a .gz file ? And a .tgz ? And ... ?
  1726.  Q8.4        What does VFS stand for ?
  1727.  Q8.5        What is a BogoMip ?
  1728.  Q8.6        What is the Linux Journal and where can I get it ?
  1729.  Q8.7        How many people use Linux ?
  1730.  Q8.8        How should I pronounce Linux ?
  1731.  
  1732. -------------------------------------------------------------------------------
  1733.  
  1734. Question 8.1.  How do I program XYZ under Linux ?
  1735.  
  1736. Read the manuals, or a good book on Unix.  manpages (type man man) are
  1737. usually a good source of reference information on exactly how to use a
  1738. particular command or function.
  1739.  
  1740. There is also a lot of GNU Info documentation, which is often more useful
  1741. as a tutorial.  Run Emacs and type C-h i, or type info info if you don't
  1742. have or don't like Emacs.  Note that the Emacs libc node doesn't exactly
  1743. describe the Linux libc (which is more like a traditional Unix libc, not
  1744. having some of the GNU oddities), but it's close enough to make a fair
  1745. tutorial in Unix C programming.
  1746.  
  1747. The latest release of the Linux manpages and a collection of useful GNU
  1748. Info documentation various other information related to programming Linux
  1749. can be found on sunsite.unc.edu in /pub/Linux/docs/man-pages.
  1750.  
  1751. -------------------------------------------------------------------------------
  1752.  
  1753. Question 8.2.  What's all this about ELF ?
  1754.  
  1755. See the ELF HOWTO by Daniel Barlow - note, this is not the file
  1756. move-to-elf, which is a blow-by-blow account of how to upgrade to ELF
  1757. manually.
  1758.  
  1759. Linux is switching to a different format for executables, object files and
  1760. object code libraries, known as `ELF' (the old format is called `a.out').
  1761. This will have many advantages, including better support for shared
  1762. libraries and dynamic linking.
  1763.  
  1764. Both a.out and ELF binaries can coexist on a system.  However, they use
  1765. different shared C libraries, both of which will have to be installed to
  1766. do this.
  1767.  
  1768. If you want to find out whether your system can run ELF binaries, look in
  1769. /lib for a filename libc.so.5.  If this exists it probably can.  If you
  1770. want to know whether your installation actually *is* ELF you can pick a
  1771. representative program, like ls, and run file on it:
  1772.    -chiark:~> file /bin/ls
  1773.    /bin/ls: Linux/i386 impure executable (OMAGIC) - stripped
  1774.  
  1775.    valour:~> file /bin/ls
  1776.    /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1, stripped
  1777.  
  1778. There is a patch to get 1.2.x to compile using the ELF compilers, and
  1779. produce ELF coredumps, on tsx-11.mit.edu in /pub/packages/GCC.  You do not
  1780. need the patch merely to run ELF binaries.  1.3.x and later do not need a
  1781. patch at all.
  1782.  
  1783. -------------------------------------------------------------------------------
  1784.  
  1785. Question 8.3.  What is a .gz file ? And a .tgz ? And ... ?
  1786.  
  1787. .gz (and .z) files have been compressed using GNU gzip.  You need to use
  1788. gunzip (which is as a symlink to the gzip command which comes with most
  1789. Linux installations) to unpack the file.
  1790.  
  1791. .taz and .tz are tarfiles (made with Unix tar) compressed using standard
  1792. Unix compress.
  1793.  
  1794. .tgz (or .tpz) is a tarfile compressed with gzip.
  1795.  
  1796. .lsm is a Linux Software Map entry, in the form of a short text file.
  1797. Details about the LSM and the LSM itself are available in the docs
  1798. subdirectory on sunsite.unc.edu.
  1799.  
  1800. .deb is a Debian Binary Package - the binary package format used by the
  1801. Debian GNU/Linux distribution.  It is manipulated using dpkg and dpkg-deb
  1802. (available on Debian systems and from ftp.debian.org).
  1803.  
  1804. .rpm is a Red Hat RPM package, which is used in the Red Hat distribution.
  1805. These can be found on ftp.redhat.com.
  1806.  
  1807. The file command can often tell you what a file is.
  1808.  
  1809. If you find that gzip complains when you try to uncompress a gzipped file
  1810. you probably downloaded it in ASCII mode by mistake.  You must download
  1811. most things in binary mode - remember to type binary as a command in FTP
  1812. before using get to get the file.
  1813.  
  1814. -------------------------------------------------------------------------------
  1815.  
  1816. Question 8.4.  What does VFS stand for ?
  1817.  
  1818. Virtual File System.  It's the abstraction layer between the user and real
  1819. filesystems like ext2, minix and msdos.  Amongst other things, its job is
  1820. to flush the read buffer when it detects a disk change on the floppy disk
  1821. drive:
  1822.    VFS: Disk change detected on device 2/0
  1823.  
  1824. -------------------------------------------------------------------------------
  1825.  
  1826. Question 8.5.  What is a BogoMip ?
  1827.  
  1828. `BogoMips' is a contraction of `Bogus MIPS'.  MIPS stands for (depending
  1829. who you listen to) Millions of Instructions per Second, or Meaningless
  1830. Indication of Processor Speed.
  1831.  
  1832. The number printed at boot-time is the result of a kernel timing
  1833. calibration, used for very short delay loops by some device drivers.
  1834.  
  1835. As a very rough guide the BogoMips will be approximately:
  1836.      386SX              clock * 0.14
  1837.      386DX              clock * 0.18
  1838.      486Cyrix/IBM       clock * 0.33
  1839.      486SX/DX/DX2       clock * 0.50
  1840.      586                clock * 0.39
  1841.  
  1842. If the number you're seeing is wildly lower than this you may have the
  1843. Turbo button or CPU speed set incorrectly, or have some kind of caching
  1844. problem [as described in Q6.5 `When I add more memory it slows to a
  1845. crawl.'.]
  1846.  
  1847. For values people have seen with other, rarer, chips, see the BogoMips
  1848. Mini-HOWTO, on sunsite.unc.edu in /pub/Linux/docs/howto/mini/BogoMips.
  1849.  
  1850. -------------------------------------------------------------------------------
  1851.  
  1852. Question 8.6.  What is the Linux Journal and where can I get it ?
  1853.  
  1854. Linux Journal is a monthly magazine (printed on paper) that is available
  1855. on newsstands and via subscription worldwide. Email <linux@ssc.com> for
  1856. details.  They are on the Web at http://www.ssc.com/.
  1857.  
  1858. -------------------------------------------------------------------------------
  1859.  
  1860. Question 8.7.  How many people use Linux ?
  1861.  
  1862. Linux is freely available, and no one is required to register their copies
  1863. with any central authority, so it is difficult to know.  Several
  1864. businesses are now surviving solely on selling and supporting Linux, and
  1865. very few Linux users use those businesses, relatively speaking.  The Linux
  1866. newsgroups are some of the most heavily read on the Net, so the number is
  1867. likely in the hundreds of thousands, but firm numbers are hard to come by.
  1868.  
  1869. However, one brave soul, Harald T. Alvestrand
  1870. <Harald.T.Alvestrand@uninett.no>, has decided to try, and asks that if you
  1871. use Linux, you send a message to <linux-counter@uninett.no> with one of
  1872. the following subjects: `I use Linux at home', `I use Linux at work', or
  1873. `I use Linux at home and at work'.  He will also accept `third-party'
  1874. registrations - ask him for details.
  1875.  
  1876. Alternatively, you can register using the WWW forms found at
  1877. http://domen.uninett.no/~hta/linux/counter.html.
  1878.  
  1879. He posts his counts to comp.os.linux.misc each month; alternatively look
  1880. on aun.uninett.no in /pub/misc/linux-counter or at the web page above.
  1881.  
  1882. -------------------------------------------------------------------------------
  1883.  
  1884. Question 8.8.  How should I pronounce Linux ?
  1885.  
  1886. This is a matter of religious debate, of course !
  1887.  
  1888. If you want to hear Linus himself say how he pronounces it download
  1889. english.au or swedish.au from ftp.funet.fi (in
  1890. /pub/OS/Linux/PEOPLE/Linus/SillySounds).  If you have a soundcard or the
  1891. PC-speaker audio driver you can hear them by typing
  1892.    cat english.au >/dev/audio
  1893. The difference isn't in the pronunciation of Linux but in the language
  1894. Linus uses to say hello.  The English version was parodied very well by
  1895. Jin Choi as "Hi, my name is Leenoos Torvahlds and I pronounce Leenooks as
  1896. Leenooks."
  1897.  
  1898. For the benefit of those of you who don't have the equipment or
  1899. inclination: Linus pronounces Linux approximately as Leenus, where the ee
  1900. is as in feet but rather shorter and the u is like a much shorter version
  1901. of the French eu sound in peur (pronouncing it as the u in put is probably
  1902. passable).
  1903.  
  1904. When speaking English I pronounce it Lie-nucks (u as in bucket) --- this
  1905. is an anglicised pronunciation based on the analogy with Linus' name,
  1906. which in English is usually pronounced Lie-nus (u as in put).  It is of
  1907. course quite acceptable and common to modify the pronunciation of a proper
  1908. noun when it changes languages.
  1909.  
  1910. I think I can safely say that the pronunciation Linnucks (short i as in
  1911. pit, short u as in bucket) is wrong in English, as it is not the original
  1912. Swedish pronunciation, not a sensible direct anglicisation of it, and not
  1913. based on the anglicised version of Linus' name.
  1914.  
  1915. ===============================================================================
  1916.  
  1917. Section 9.  Frequently encountered error messages
  1918.  
  1919.  Q9.1        Unknown terminal type linux and similar
  1920.  Q9.2        During linking I get Undefined symbol _mcount
  1921.  Q9.3        lp1 on fire
  1922.  Q9.4        INET: Warning: old style ioctl(IP_SET_DEV) called!
  1923.  Q9.5        ld: unrecognized option '-m486'
  1924.  Q9.6        GCC says Internal compiler error
  1925.  Q9.7        make says Error 139
  1926.  Q9.8        shell-init: permission denied when I log in.
  1927.  Q9.9        No utmp entry.  You must exec ... when I log in.
  1928.  Q9.10       Warning - bdflush not running
  1929.  Q9.11       Warning: obsolete routing request made.
  1930.  Q9.12       EXT2-fs: warning: mounting unchecked filesystem
  1931.  Q9.13       EXT2-fs warning: maximal count reached
  1932.  Q9.14       EXT2-fs warning: checktime reached
  1933.  Q9.15       df says Cannot read table of mounted filesystems
  1934.  Q9.16       fdisk says Partition X has different physical/logical ...
  1935.  Q9.17       fdisk: Partition 1 does not start on cylinder boundary
  1936.  Q9.18       fdisk says partition n has an odd number of sectors
  1937.  Q9.19       mtools says cannot initialise drive XYZ
  1938.  Q9.20       At the start of booting: Memory tight
  1939.  Q9.21       You don't exist. Go away.
  1940.  
  1941. -------------------------------------------------------------------------------
  1942.  
  1943. Question 9.1.  Unknown terminal type linux and similar
  1944.  
  1945. In an early 1.3.x kernel the default console terminal type has changed
  1946. from console to linux.  You must edit /etc/termcap to change the line
  1947. reading:
  1948.    console|con80x25:\
  1949. to
  1950.    linux|console|con80x25:\
  1951. (there may be an additional dumb in there - if so it should be removed.)
  1952.  
  1953. In order to get the editor to work you may need say TERM=console (for bash
  1954. and ksh) or setenv TERM console (csh, tcsh) first.
  1955.  
  1956. Some programs use /usr/lib/terminfo instead of /etc/termcap.  For these
  1957. programs you should upgrade your terminfo, which is part of ncurses.
  1958.  
  1959. -------------------------------------------------------------------------------
  1960.  
  1961. Question 9.2.  During linking I get Undefined symbol _mcount
  1962.  
  1963. This is usually due to a bad interaction between a brokenness in SLS and
  1964. the C library release notes.  Your libc.a has been replaced by the
  1965. profiling library.  You should remove libc.a, libg.a and libc_p.a and once
  1966. again install the new libraries (following the release notes, of course).
  1967.  
  1968. -------------------------------------------------------------------------------
  1969.  
  1970. Question 9.3.  lp1 on fire
  1971.  
  1972. This is a joke/traditional error message indicating that some sort of
  1973. error is being reported by your printer, but that the error status isn't a
  1974. valid one.  It may be that you have some kind of I/O or IRQ conflict -
  1975. check your cards' settings.  Some people report that they get this message
  1976. when their printer is switched off.  Hopefully it isn't really on fire ...
  1977.  
  1978. In newer kernels this message reads lp1 reported invalid error status (on
  1979. fire, eh?).
  1980.  
  1981. -------------------------------------------------------------------------------
  1982.  
  1983. Question 9.4.  INET: Warning: old style ioctl(IP_SET_DEV) called!
  1984.  
  1985. You are trying to use the old network configuration utilities; the new
  1986. ones can be found on ftp.linux.org.uk in
  1987. /pub/linux/Networking/PROGRAMS/NetTools (source only, I'm afraid).
  1988.  
  1989. Note that they cannot be used just like the old-style programs; see the
  1990. NET-2 HOWTO for instructions on how to set up networking correctly.
  1991.  
  1992. -------------------------------------------------------------------------------
  1993.  
  1994. Question 9.5.  ld: unrecognized option '-m486'
  1995.  
  1996. You have an old version of ld.  Install a newer binutils package -- this
  1997. will contain an updated ld.  Look on tsx-11.mit.edu in
  1998. /pub/linux/packages/GCC for binutils-2.6.0.2.bin.tar.gz.
  1999.  
  2000. -------------------------------------------------------------------------------
  2001.  
  2002. Question 9.6.  GCC says Internal compiler error
  2003.  
  2004. If the fault is repeatable (ie, it always happens at the same place in the
  2005. same file --- even after rebooting and trying again, using a stable
  2006. kernel) you have discovered a bug in GCC.  See the GCC Info documentation
  2007. (type Control-h i in Emacs, and select GCC from the menu) for details on
  2008. how to report this -- make sure you have the latest version though.
  2009.  
  2010. Note that this is probably not a Linux-specific problem; unless you were
  2011. compiling a program many other Linux users also compile you should not
  2012. post your bug report to any of the comp.os.linux groups.
  2013.  
  2014. If the problem is not repeatable you are very probably experiencing memory
  2015. corruption --- see Q9.7 `make says Error 139'.
  2016.  
  2017. -------------------------------------------------------------------------------
  2018.  
  2019. Question 9.7.  make says Error 139
  2020.  
  2021. Your compiler driver (gcc) dumped core.  You probably have a corrupted,
  2022. buggy or old version of GCC --- get the latest release.  Alternatively you
  2023. may be running out of swap space --- see Q6.8 `My machine runs very slowly
  2024. when I run GCC / X / ...' for more info.
  2025.  
  2026. If this doesn't fix the problem you are probably having problems with
  2027. memory or disk corruption.  Check that the clock rate, wait states and
  2028. refresh timing for your SIMMs and cache are correct (hardware manuals are
  2029. sometimes wrong, too).  If so you may have some dodgy SIMMs or a faulty
  2030. motherboard or hard disk or controller.
  2031.  
  2032. Linux, like any Unix, is a very good memory tester --- much better than
  2033. DOS-based memory test programs.
  2034.  
  2035. Reportedly some clone x87 maths coprocessors can cause problems; try
  2036. compiling a kernel with maths emulation [Q7.6 `How do I upgrade/recompile
  2037. my kernel ?']; you may need to use the no387 kernel command line flag on
  2038. the LILO prompt to force the kernel to use it, or it may be able to work
  2039. and still use the 387, with the maths emulation compiled in but mainly
  2040. unused.
  2041.  
  2042. Much more information about this problem is available on the WWW at
  2043. http://einstein.et.tudelft.nl/~wolff/sig11/.
  2044.  
  2045. -------------------------------------------------------------------------------
  2046.  
  2047. Question 9.8.  shell-init: permission denied when I log in.
  2048.  
  2049. Your root directory and all the directories up to your home directory must
  2050. be readable and executable by everybody.  See the manpage for chmod or a
  2051. book on Unix for how to fix the problem.
  2052.  
  2053. -------------------------------------------------------------------------------
  2054.  
  2055. Question 9.9.  No utmp entry.  You must exec ... when I log in.
  2056.  
  2057. Your /var/run/utmp is screwed up.  You should have
  2058.    > /var/run/utmp
  2059. in your /etc/rc.local or /etc/rc.d/*.  See Q6.11 `I have screwed up my
  2060. system and can't log in to fix it.' for how to be able to do this.  Note
  2061. that utmp may also be found in /var/adm/utmp or /etc/utmp on some older
  2062. systems.
  2063.  
  2064. -------------------------------------------------------------------------------
  2065.  
  2066. Question 9.10.  Warning - bdflush not running
  2067.  
  2068. Modern kernels use a better strategy for writing cached disk blocks.  In
  2069. addition to the kernel changes, this involves replacing the old update
  2070. program which used to write everything every 30 seconds with a more subtle
  2071. daemon (actually a pair), known as bdflush.
  2072.  
  2073. Get bdflush-n.n.tar.gz from the same place as the kernel source code [Q7.6
  2074. `How do I upgrade/recompile my kernel ?'] and compile and install it; it
  2075. should be started before the usual boot-time filesystem checks.  It will
  2076. work fine with older kernels as well, so there's no need to keep the old
  2077. update around.
  2078.  
  2079. -------------------------------------------------------------------------------
  2080.  
  2081. Question 9.11.  Warning: obsolete routing request made.
  2082.  
  2083. This is nothing to worry about; it just means that the version of route
  2084. you have is a little out of date compared to the kernel.  You can make the
  2085. message go away by getting a new version of route from the same place as
  2086. the kernel source code [Q7.6 `How do I upgrade/recompile my kernel ?'].
  2087.  
  2088. -------------------------------------------------------------------------------
  2089.  
  2090. Question 9.12.  EXT2-fs: warning: mounting unchecked filesystem
  2091.  
  2092. You need to run e2fsck (or fsck -t ext2 if you have the fsck front-end
  2093. program) with the -a option to get it to clear the `dirty' flag, and then
  2094. cleanly unmount the partition during each shutdown.
  2095.  
  2096. The easiest way to do this is to get the latest fsck, umount and shutdown
  2097. commands, available in Rik Faith's util-linux package [Q2.5 `Where can I
  2098. get Linux material by FTP ?'].  You have to make sure that your /etc/rc*
  2099. scripts use them correctly.
  2100.  
  2101. NB: don't try to check a filesystem that's mounted read-write - this
  2102. includes the root partition if you don't see
  2103.    VFS: mounted root ... read-only
  2104. at boot time.  You must arrange to mount the root filesystem readonly to
  2105. start with, check it if necessary, and then remount it read-write.  Read
  2106. the documentation that comes with util-linux to find out how to do this.
  2107.  
  2108. Note that you need to specify the -n option to mount to get it not to try
  2109. to update /etc/mtab, since the root filesystem is still read-only and this
  2110. will otherwise cause it to fail !
  2111.  
  2112. -------------------------------------------------------------------------------
  2113.  
  2114. Question 9.13.  EXT2-fs warning: maximal count reached
  2115.  
  2116. This message is issued by the kernel when it mounts a filesystem that's
  2117. marked as clean, but whose `number of mounts since check' counter has
  2118. reached the predefined value.  The solution is to get the latest version
  2119. of the ext2fs utilities (e2fsprogs-0.5b.tar.gz at the time of writing)
  2120. from the usual sites [Q2.5 `Where can I get Linux material by FTP ?'].
  2121.  
  2122. The maximal number of mounts value can be examined and changed using the
  2123. tune2fs program from this package.
  2124.  
  2125. -------------------------------------------------------------------------------
  2126.  
  2127. Question 9.14.  EXT2-fs warning: checktime reached
  2128.  
  2129. Kernels from 1.0 onwards support checking a filesystem based on the
  2130. elapsed time since the last check as well as by the number of mounts.  Get
  2131. the latest version of the ext2fs utilities [see Q9.13 `EXT2-fs warning:
  2132. maximal count reached'].
  2133.  
  2134. -------------------------------------------------------------------------------
  2135.  
  2136. Question 9.15.  df says Cannot read table of mounted filesystems
  2137.  
  2138. There is probably something wrong with your /etc/mtab or /etc/fstab files.
  2139. If you have a reasonably new version of mount, /etc/mtab should be emptied
  2140. or deleted at boot time (in /etc/rc.local or /etc/rc.d/*), using something
  2141. like
  2142.    rm -f /etc/mtab*
  2143.  
  2144. Some versions of SLS have an entry for the root partition in /etc/mtab
  2145. made in /etc/rc* by using rdev.  This is incorrect -- the newer versions
  2146. of mount do this automatically.
  2147.  
  2148. Other versions of SLS have a line in /etc/fstab that looks like:
  2149.     /dev/sdb1   /root   ext2   defaults
  2150. This is wrong.  /root should read simply /.
  2151.  
  2152. -------------------------------------------------------------------------------
  2153.  
  2154. Question 9.16.  fdisk says Partition X has different physical/logical ...
  2155.  
  2156. If the partition number (X, above) is 1 this is the same problem as Q9.17
  2157. `fdisk: Partition 1 does not start on cylinder boundary'.
  2158.  
  2159. If the partition begins or ends on a cylinder numbered beyond 1024 this is
  2160. because standard DOS disk geometry information format in the partition
  2161. table can't cope with cylinder numbers with more than 10 bits.  You should
  2162. see Q4.1 `How can I get Linux to work with my large disk ?'.
  2163.  
  2164. -------------------------------------------------------------------------------
  2165.  
  2166. Question 9.17.  fdisk: Partition 1 does not start on cylinder boundary
  2167.  
  2168. The version of fdisk that comes with many Linux systems creates partitions
  2169. that fail its own validity checking.  Unfortunately if you've already
  2170. installed your system there's not much you can do about this, apart from
  2171. copying the data off the partition, deleting and remaking it, and copying
  2172. the data back.
  2173.  
  2174. You can avoid the problem by getting the latest version of fdisk, from Rik
  2175. Faith's util-linux package (available on all good FTP sites).
  2176. Alternatively, if you are creating a new partition 1 that starts in the
  2177. first cylinder, you can do the following to get a partition that fdisk
  2178. likes.
  2179.  
  2180. 1. Create partition 1 in the normal way.  A p listing will produce the
  2181. mismatch complaint.
  2182.  
  2183. 2. Type u to set sector mode and do p again.  Copy down the number from
  2184. the "End" column.
  2185.  
  2186. 3. Delete partition 1.
  2187.  
  2188. 4. While still in sector mode recreate partition 1.  Set the first sector
  2189. to match the number of sectors per track.  This is the sector number in
  2190. the first line of the p output.  Set the last sector to the value noted in
  2191. 2. above.
  2192.  
  2193. 5. Type u to reset cylinder mode and continue with other partitions.
  2194.  
  2195. Ignore the message about unallocated sectors - they refer to the sectors
  2196. on the first track apart from the Master Boot Record, which are not used
  2197. if you start the first partition in track 2.
  2198.  
  2199. -------------------------------------------------------------------------------
  2200.  
  2201. Question 9.18.  fdisk says partition n has an odd number of sectors
  2202.  
  2203. The PC disk partitioning scheme works in 512-byte sectors, but Linux uses
  2204. 1K blocks.  If you have a partition with an odd number of sectors the last
  2205. sector is wasted.  Ignore the message.
  2206.  
  2207. -------------------------------------------------------------------------------
  2208.  
  2209. Question 9.19.  mtools says cannot initialise drive XYZ
  2210.  
  2211. This means that mtools is having trouble accessing the drive.  This can be
  2212. due to several things.
  2213.  
  2214. Often this is due to the permissions on floppy drive devices (/dev/fd0*
  2215. and /dev/fd1*) being incorrect --- the user running mtools must have the
  2216. appropriate access.  See the manpage for chmod for details.
  2217.  
  2218. Most versions of mtools distributed with Linux systems (not the standard
  2219. GNU version) use the contents of a file /etc/mtools to discover which
  2220. devices and densities to use, in place of having this information compiled
  2221. into the binary.  Mistakes in this file often cause problems.  There is
  2222. often no documentation about this --- distribution packagers please note
  2223. that this is *evil*.
  2224.  
  2225. For the easiest way to access your DOS files (especially those on a hard
  2226. disk partition) see Q3.2 `How do I access files on my DOS partition or
  2227. floppy ?'.  Note - you should never use mtools to access files on an
  2228. msdosfs mounted partition or disk !
  2229.  
  2230. -------------------------------------------------------------------------------
  2231.  
  2232. Question 9.20.  At the start of booting: Memory tight
  2233.  
  2234. This means that you have an extra large kernel that means that Linux has
  2235. to do some special memory-management magic to be able to boot itself from
  2236. the BIOS.  It isn't related to the amount of physical memory in your
  2237. machine.  Ignore the message, or compile a kernel containing only the
  2238. drivers and features you need [Q7.6 `How do I upgrade/recompile my kernel
  2239. ?'].
  2240.  
  2241. -------------------------------------------------------------------------------
  2242.  
  2243. Question 9.21.  You don't exist. Go away.
  2244.  
  2245. This is not a viral infection :-).  It comes from various programs such as
  2246. write, talk and wall, if your invoking uid doesn't correspond to a valid
  2247. user (probably due to /etc/passwd being corrupted), or if the session
  2248. (pseudoterminal, specifically) you're using isn't properly registered in
  2249. the utmp file (probably because you invoked it in a funny way).
  2250.  
  2251. ===============================================================================
  2252.  
  2253. Section 10.  The X Window System
  2254.  
  2255.  Q10.1       Does Linux support X Windows ?
  2256.  Q10.2       Where can I get an XF86Config for my system ?
  2257.  Q10.3       xterm logins show up strangely in who, finger
  2258.  Q10.4       I can't get X Windows to work right.
  2259.  
  2260. -------------------------------------------------------------------------------
  2261.  
  2262. Question 10.1.  Does Linux support X Windows ?
  2263.  
  2264. Yes.  Linux uses XFree86 (the current version is 3.1.2, which is based on
  2265. X11R6).  You need to have a video card which is supported by XFree86.  See
  2266. the Linux XFree86 HOWTO for more details.
  2267.  
  2268. Most Linux distributions nowadays come with an X installation.
  2269.  
  2270. However, you can install or upgrade your own, from
  2271. /pub/Linux/X11/Xfree86-* on sunsite.unc.edu and its mirror sites.  Read
  2272. the XFree86 HOWTO for installation instructions.
  2273.  
  2274. -------------------------------------------------------------------------------
  2275.  
  2276. Question 10.2.  Where can I get an XF86Config for my system ?
  2277.  
  2278. See the Linux XFree86 HOWTO.
  2279.  
  2280. You'll need to put together your own XF86Config file, because it depends
  2281. on the exact combination of video card and monitor you have.  It's not
  2282. that hard to do -- read the instructions that came with XFree86, in
  2283. /usr/X11R6/lib/X11/etc.  The file you probably most need to look at is
  2284. README.Config.
  2285.  
  2286. For a quick start you may run the program xf86config.  Note that
  2287. ConfigXF86 is now obsolete and you shouldn't use it.
  2288.  
  2289. Please don't post to comp.os.linux.x asking for an XF86Config, and please
  2290. don't answer such requests - especially not in the group.
  2291.  
  2292. -------------------------------------------------------------------------------
  2293.  
  2294. Question 10.3.  xterm logins show up strangely in who, finger
  2295.  
  2296. The xterm that comes with XFree86 2.1 and earlier doesn't correctly
  2297. understand the format that Linux uses for the /var/adm/utmp file, where
  2298. the system records who is logged in.  It therefore doesn't set all the
  2299. information correctly.
  2300.  
  2301. XFree86 3.1 fixes this problem.
  2302.  
  2303. -------------------------------------------------------------------------------
  2304.  
  2305. Question 10.4.  I can't get X Windows to work right.
  2306.  
  2307. Read the XFree86 HOWTO - note the question and answer section.
  2308.  
  2309. Try reading comp.windows.x.i386unix -- specifically read the the FAQ for
  2310. that group.
  2311.  
  2312. Please don't post X Windows or XFree86 related questions to
  2313. comp.os.linux.x unless they are Linux-specific.
  2314.  
  2315. ===============================================================================
  2316.  
  2317. Section 11.  Questions applicable to very out-of-date software
  2318.  
  2319.  Q11.1       Emacs just dumps core.
  2320.  Q11.2       fdisk says cannot use nnn sectors of this partition
  2321.  Q11.3       GCC sometimes uses huge amounts of virtual memory and thrashes
  2322.  Q11.4       My keyboard goes all funny after I switch VC's.
  2323.  
  2324. The questions in this section are only relevant to users of software that
  2325. is at least 3 months old.
  2326.  
  2327. Please let me know if you find the answer to a problem you had here, as
  2328. unused questions in this section will eventually disappear [Q13.1
  2329. `Feedback is invited'].
  2330.  
  2331. -------------------------------------------------------------------------------
  2332.  
  2333. Question 11.1.  Emacs just dumps core.
  2334.  
  2335. You probably have a version of Emacs that was compiled to work with X11;
  2336. this requires the X11 libraries to work.  If you're using Slackware you
  2337. can change the /usr/bin/emacs symbolic link to point to emacs-19.29-no-x11
  2338. instead (see man ln).  This is in the file emac_nox.tgz on Slackware 3.0's
  2339. E6 disk.
  2340.  
  2341. -------------------------------------------------------------------------------
  2342.  
  2343. Question 11.2.  fdisk says cannot use nnn sectors of this partition
  2344.  
  2345. Originally Linux only supported the Minix filesystem, which cannot use
  2346. more than 64Mb per parition.  This limitation is not present in the more
  2347. advanced filesystems now available, such as ext2fs (the 2nd version of the
  2348. Extended Filesystem, the `standard' Linux filesystem).
  2349.  
  2350. If you intend to use ext2fs you can ignore the message.
  2351.  
  2352. -------------------------------------------------------------------------------
  2353.  
  2354. Question 11.3.  GCC sometimes uses huge amounts of virtual memory and thrashes
  2355.  
  2356. Older versions of GCC had a bug which made them use lots of memory if you
  2357. tried to compile a program which had a large static data table in it.
  2358.  
  2359. You can either upgrade your version of GCC to at least version 2.5, or add
  2360. more swap if necessary and just grin and bear it; it'll work in the end.
  2361.  
  2362. -------------------------------------------------------------------------------
  2363.  
  2364. Question 11.4.  My keyboard goes all funny after I switch VC's.
  2365.  
  2366. This is a bug in kernel versions before 0.99pl14-alpha-n.  Sometimes Linux
  2367. loses track of what modifier keys (Shift, Alt, Control etc.) are pressed
  2368. or not, and believes that one or more are pressed when they are not.  The
  2369. solution is to press and release each of the modifier keys (without
  2370. pressing any other keys) --- this will ensure that Linux knows what state
  2371. the keyboard is actually in.
  2372.  
  2373. This problem often occurs when switching out of X windows; it can
  2374. sometimes be avoided by releasing Ctrl and Alt very quickly after pressing
  2375. the F-key of the VC you are switching to.
  2376.  
  2377. ===============================================================================
  2378.  
  2379. Section 12.  How to get further assistance
  2380.  
  2381.  Q12.1       You still haven't answered my question !
  2382.  Q12.2       What to put in a request for help
  2383.  Q12.3       I want to mail someone about my problem.
  2384.  
  2385. -------------------------------------------------------------------------------
  2386.  
  2387. Question 12.1.  You still haven't answered my question !
  2388.  
  2389. Please read all of this answer before posting.  I know it's a bit long,
  2390. but you may be about to make a fool of yourself in front of 50000 people
  2391. and waste hundreds of hours of their time.  Don't you think it's worth it
  2392. to spend some of your time reading and following these instructions ?
  2393.  
  2394. If you think an answer is incomplete or inaccurate, please mail Ian
  2395. Jackson at <ijackson@gnu.ai.mit.edu>.
  2396.  
  2397. Read the appropriate Linux Documentation Project books - see Q2.1 `Where
  2398. can I get the HOWTOs and other documentation ?'.
  2399.  
  2400. If you're a Unix newbie read the FAQ for comp.unix.questions, and those
  2401. for any of the other comp.unix.* groups that may be relevant.
  2402.  
  2403. Linux is a Unix clone, so almost everything you read there will apply to
  2404. Linux.  Those FAQs can, like all FAQs, be found on rtfm.mit.edu in
  2405. /pub/usenet/news.answers (the mail-server@rtfm.mit.edu can send you these
  2406. files, for those who don't have FTP access).  There are mirrors of rtfm's
  2407. FAQ archives on various sites - check the Introduction to *.answers
  2408. posting, posted, or look in news-answers/introduction in the directory
  2409. above.
  2410.  
  2411. Check the relevant HOWTO for the subject in question, if there is one, or
  2412. an appropriate old-style sub-FAQ document.  Check the FTP sites.
  2413.  
  2414. Try experimenting --- that's the best way to get to know Unix and Linux.
  2415.  
  2416. Read the documentation.  Check the manpages (type man man if you don't
  2417. know about manpages.  Try man -k <subject> --- it often lists useful and
  2418. relevant manpages.
  2419.  
  2420. Check the Info documentation (type C-h i, i.e. Control H followed by I in
  2421. Emacs) --- NB: this isn't just for Emacs; for example the GCC
  2422. documentation lives here as well.
  2423.  
  2424. There will also often be a README file with a package giving installation
  2425. and/or usage instructions.
  2426.  
  2427. Make sure that you don't have a corrupted or out-of-date copy of the
  2428. program in question.  If possible, download it again and reinstall it ---
  2429. perhaps you made a mistake the first time.
  2430.  
  2431. Read comp.os.linux.announce --- this often contains very important
  2432. information for all Linux users.
  2433.  
  2434. General X-Windows questions belong in comp.windows.x.i386unix, not in
  2435. comp.os.linux.x.  But read the group first (including the FAQ), before you
  2436. post !
  2437.  
  2438. Only if you have done all of these things and are still stuck should you
  2439. post to the appropriate comp.os.linux.* newsgroup.  Make sure you read the
  2440. next question, Q12.2 `What to put in a request for help', first.
  2441.  
  2442. -------------------------------------------------------------------------------
  2443.  
  2444. Question 12.2.  What to put in a request for help
  2445.  
  2446. Please read carefully the following advice about how to write your posting
  2447. or email.  Taking heed of it will greatly increase the chances that an
  2448. expert and/or fellow user reading it will have enough information and
  2449. motivation to reply.
  2450.  
  2451. This advice applies both to postings asking for advice and to personal
  2452. email sent to experts and fellow users.
  2453.  
  2454. Make sure you give full details of the problem, including:
  2455.  
  2456. * What program, exactly, you are having problems with.  Include the
  2457.   version number if known and say where you got it.  Many standard
  2458.   commands tell you their version number if you give them a --version
  2459.   option.
  2460.  
  2461. * Which Linux release you're using (MCC, Slackware, Debian or whatever)
  2462.   and what version of that release.
  2463.  
  2464. * The *exact* and *complete* text of any error messages printed.
  2465.  
  2466. * Exactly what behaviour you were expecting, and exactly what behaviour
  2467.   you observed.  A transcript of an example session is a good way of
  2468.   showing this.
  2469.  
  2470. * The contents of any configuration files used by the program in question
  2471.   and any related programs.
  2472.  
  2473. * What version of the kernel and of the shared libraries you are using.
  2474.   The kernel version can be found by typing uname -a, and the shared
  2475.   library version by typing ls -l /lib/libc.so.4.
  2476.  
  2477. * Details of what hardware you're running on, if it seems appropriate.
  2478.  
  2479. You are in little danger of making your posting too long unless you
  2480. include large chunks of source code or uuencoded files, so err on the side
  2481. of giving too much information.
  2482.  
  2483. Use a clear, detailed Subject line.  Don't put things like `doesn't work',
  2484. `Linux', `help' or `question' in it --- we already knew that ! Save the
  2485. space for the name of the program, a fragment of the error message,
  2486. summary of the unusual behaviour, etc.
  2487.  
  2488. If you are reporting an `unable to handle kernel paging request' message,
  2489. follow the instructions in the Linux kernel sources README for turning the
  2490. numbers into something more meaningful.  If you don't do this noone who
  2491. reads your post will be able to do it for you, as the mapping from numbers
  2492. to function names varies from one kernel to another.
  2493.  
  2494. Put a summary paragraph at the top of your posting.
  2495.  
  2496. At the bottom of your posting, ask for responses by email and say you'll
  2497. post a summary.  Back this up by using Followup-To: poster.  Then, do
  2498. actually post a summary in a few days or a week or so.  Don't just
  2499. concatenate the replies you got --- summarise.  Putting the word SUMMARY
  2500. in your summary's Subject line is also a good idea.  Consider submitting
  2501. the summary to comp.os.linux.announce.
  2502.  
  2503. Make sure your posting doesn't have an inappropriate References header
  2504. line.  This marks your article as part of the thread of the article
  2505. referred to, which will often cause it to be junked by the readers with
  2506. the rest of a boring thread.
  2507.  
  2508. You might like to say in your posting that you've read this FAQ and the
  2509. appropriate HOWTOs - this may make people less likely to skip your
  2510. posting.
  2511.  
  2512. Remember that you should not post email sent to you personally without the
  2513. sender's permission.
  2514.  
  2515. -------------------------------------------------------------------------------
  2516.  
  2517. Question 12.3.  I want to mail someone about my problem.
  2518.  
  2519. Try to find the author or developer of whatever program or component is
  2520. causing you difficulty.  If you have a contact point for the Linux
  2521. distribution you are using you should use it.
  2522.  
  2523. Please put everything in your email that you would put in a posting asking
  2524. for help.
  2525.  
  2526. Finally, remember that despite the fact that most of the Linux community
  2527. are very helpful and responsive to emailed questions you'll be asking for
  2528. help from an unpaid volunteer, so you have no right to expect an answer.
  2529.  
  2530. ===============================================================================
  2531.  
  2532. Section 13.  Administrative information and acknowledgements
  2533.  
  2534.  Q13.1       Feedback is invited
  2535.  Q13.2       Formats in which this FAQ is available
  2536.  Q13.3       Authorship and acknowledgements
  2537.  Q13.4       Disclaimer and Copyright
  2538.  
  2539. -------------------------------------------------------------------------------
  2540.  
  2541. Question 13.1.  Feedback is invited
  2542.  
  2543. Please send me your comments on this FAQ.
  2544.  
  2545. I accept submissions for the FAQ in any format;  All contributions
  2546. comments and corrections are gratefully received.
  2547.  
  2548. Please send them to <ijackson@gnu.ai.mit.edu>.
  2549.  
  2550. If you wish to refer to a question(s) in the FAQ it's most useful for me
  2551. if you do so by the question heading, rather than the number, as the
  2552. question numbers are generated automatically and I don't see them in the
  2553. source file I edit.
  2554.  
  2555. I prefer comments in English to patchfiles - I write the FAQ in a
  2556. different internal format anyway, so I can't use a patchfile.
  2557.  
  2558. -------------------------------------------------------------------------------
  2559.  
  2560. Question 13.2.  Formats in which this FAQ is available
  2561.  
  2562. This document is available as an ASCII text file, an Emacs Info document,
  2563. an HTML World Wide Web page, PostScript and as a USENET news posting.
  2564.  
  2565. The ASCII, Emacs Info, HTML and posted versions and a Lout typesetter file
  2566. (from which the PostScript is produced) are generated automatically by a
  2567. Perl script which takes as input a file in the Bizarre Format with No
  2568. Name.
  2569.  
  2570. The output files linux-faq.ascii, .info and .ps and a tarfile
  2571. linux-faq.source.tar.gz, containing the BFNN source and Perl script
  2572. converter, are available in the docs directories of the major Linux FTP
  2573. sites.
  2574.  
  2575. The HTML version of this FAQ is available as
  2576. http://www.cl.cam.ac.uk/users/iwj10/linux-faq/index.html and is mirrored
  2577. at www.li.org and other sites.
  2578.  
  2579. The USENET version is posted regularly to comp.os.linux.announce,
  2580. comp.os.linux.answers, comp.answers and news.answers.
  2581.  
  2582. -------------------------------------------------------------------------------
  2583.  
  2584. Question 13.3.  Authorship and acknowledgements
  2585.  
  2586. This FAQ was compiled by Ian Jackson <ijackson@gnu.ai.mit.edu>, with
  2587. assistance and comments from others too numerous to mention.
  2588.  
  2589. Special thanks are due to Matt Welsh, who moderated comp.os.linux.announce
  2590. and comp.os.linux.answers, used to coordinate the HOWTOs and has written
  2591. substantial portions of many of them, to Greg Hankins, who currently
  2592. coordinates the HOWTOS, to Lars Wirzenius, who currently moderates
  2593. comp.os.linux.announce, and to Marc-Michel Corsini, who wrote the original
  2594. Linux FAQ.
  2595.  
  2596. Thanks also to the many people who have sent comments and suggestions;
  2597. they are too numerous to list here, but their input has been invaluable.
  2598.  
  2599. Last but not least, thanks to Linus Torvalds and the other contributors to
  2600. Linux for giving us something to write about !
  2601.  
  2602. -------------------------------------------------------------------------------
  2603.  
  2604. Question 13.4.  Disclaimer and Copyright
  2605.  
  2606. Note that this document is provided as is.  The information in it is *not*
  2607. warranted to be correct; you use it at your own risk.
  2608.  
  2609. Linux Frequently Asked Questions with Answers is Copyright 1994, 1995,
  2610. 1996 by Ian Jackson <ijackson@gnu.ai.mit.edu>.
  2611.  
  2612. It may be reproduced and distributed in its entirety (including this
  2613. authorship, copyright and permission notice) provided that either:
  2614.  
  2615. * the distribution is not commercial (commercial means any situation in
  2616.   which you benefit financially - directly or indirectly such as by
  2617.   inclusion in a publication which carries commercial advertising), or
  2618. * the distribution is in machine-readable form (ie, a form intended to be
  2619.   easily processed by a computer).
  2620.  
  2621. Note that this restriction is not intended to prohibit charging for the
  2622. service of printing or copying a document supplied by your customer.
  2623.  
  2624. Any distribution of a partial copy or extract, a translation or a
  2625. derivative work must be approved by me before distribution.  Email me -
  2626. I'll probably be happy to oblige !
  2627.  
  2628. Exceptions to these rules may be granted, and I shall be happy to answer
  2629. any questions about this copyright --- write to Ian Jackson, Churchill
  2630. College, Cambridge, CB3 0DS, United Kingdom or email
  2631. <ijackson@gnu.ai.mit.edu>.  These restrictions are here to protect the
  2632. contributors, not to restrict you as educators and learners.
  2633.  
  2634. Ian Jackson asserts the right to be identified as the author of this work,
  2635. and claims the moral rights of paternity and integrity, in accordance with
  2636. the Copyright, Designs and Patents Act, 1988.
  2637.  
  2638.