Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* Linux Frequently Asked Questions: TABLE OF CONTENTS [monthly posted]
@ 1993-06-10 13:15 corsini
  1993-06-10 13:16 ` Linux Frequently Asked Questions 1/6 " corsini
  0 siblings, 1 reply; 8+ messages in thread
From: corsini @ 1993-06-10 13:15 UTC (permalink / raw)


Archive-name: linux-faq/TOC
Last-Modified: 93/06/11
Version: 1.19

*********************************************************
*							*
*   TOC of the Frequently Asked Questions about Linux   *
*							*
*********************************************************

This post contains the TOC of the Linux FAQ (4 parts)
and a short introduction.


Hi Linuxers!

The original FAQ 1st version was posted on Dec. 19, 1991 by Robert Blum.

Most credits to Linus, Robert and Ted for the departure point of this
work. The first X11 section was written by Peter Hawkins, the rest was
either on the list posted by many (real) activists, not me ;-), either
in some other news groups, or else by direct posting to me (thanks
Humberto, Dan, Michael, Drew, Audoin). I haven't systematically
copyrighted them, so thanks to every one who participated even
indirectly to this FAQ.    

Since September 1992, the FAQ is co-written by:

WHO 			(WHAT) 		E-MAIL
=============================================================================
Michael K. Johnson  	(META-FAQ) 	johnsonm@stolaf.edu
Matt Welsh		(GENERAL INFO)	mdw@tc.cornell.edu
Zane Healy		(BBS INFO)	healyzh@holonet.net
Matt Welsh		(INSTALLATION)	mdw@tc.cornell.edu
Peter MacDonald		(SLS INFO)	pmacdona@sanjuan.uvic.ca
Mark Komarinski 	(DOS) 	 	komarimf@craft.camp.clarkson.edu
Drew Eckhardt		(SCSI)		drew@cs.colorado.edu 
Rick Miller		(DEVICE INFO)	rick@ee.uwm.edu
Hongjiu Lu		(GCC)		hlu@{eecs.wsu.edu,nynexst.com}
Krishna Balasubramanian (X11)		balasub@cis.ohio-state.edu 
Rick Sladkey		(EMACS)		jrs@world.std.com
Philip Copeland		(NET INFO)	p_copela@csd.bristol-poly.ac.uk
Brian McCauley		(LPD)		B.A.McCauley@bham.ac.uk
Vince Skahan		(UUCP/NEWS..)	vince@victrola.sea.wa.us
Dirk Hohndel		(PROOF READER)	hohndel@informatik.uni-wuerzburg.dbp.de
Marc-Michel Corsini	(FAQ collector)	corsini@{labri,firmin}.greco-prog.fr
=============================================================================

If anyone is interested in participating with this FAQ, just send me a
note with: your name/e-mail and the section you want to maintain.  

Many of the questions could be avoided, if people had read the FAQ of
the following newsgroups: news.announce.newusers, comp.lang.c,
gnu.emacs.help,  comp.unix.questions, comp.windows.x.i386unix.  
 
[The last-change-date of this posting is always "two minutes ago".  :-)]

This is the introduction to a list of frequently asked questions (FAQ
for short) about Linux with answers (Yeap!).  This article contains a
listing of the sections *AND* queries.

This FAQ is supposed to reduce the noise level ;-) in the comp.os.linux
newsgroup, and spare the time of many activists. I will cross-post it each 
month to news.answers. This FAQ is NOT an introduction to UNIX, there
are many books for unix, and there is *also* a FAQ for unix (it's the
one of comp.unix.questions which contains things such as "How do I
remove a file named -". I DO NOT WANT TO ADD SUCH THINGS IN THIS FAQ
DEVOTED TO LINUX.

Some books to read: 
  The C Programming Language: Kernighan & Ritchie
  POSIX Programmer's Guide: D. Lewine
  Unix System Administration Handbook: Nemeth, Snyder & Seebass.
  Unix for the Impatient: Abrahams & Larson
  Unix System V Release 4, An Introduction, by Rosen, Rosinski and
    Farber; Publisher Osborne MacGraw-Hill.
  The X Windows System in a Nutshell: O'Reilly.
.....

This FAQ is available at the main Linux sites in the doc directory,
the addresses are given in section II. of this FAQ. There is also an
archive of (all) FAQs at rtfm.mit.edu [18.70.0.224]. Have a look in
the anonymous ftp directory: /pub/usenet/news.answers/linux-faq.
If you do not have anonymous ftp access, you can access the archive by
mail server. Send mail to mail-server@rtfm.mit.edu with the words
"help" and "index" in the body on separate lines for more information.

The information in this multi-parts FAQ is likely to change relatively
quickly. If this is more than two months old (it was released on
June 1993) then you should obtain a new copy. See the paragraph
above for details of where to find a more recent version.

Please suggest any change, rephrasing, deletions, new questions,
answers ...  
Please include "FAQ" in the subject of messages sent to me about FAQ.  
Please send them to linux@numero6.greco-prog.fr whatever will be the
From part of this message. Finally discussion about the FAQ can be
done on the DOC Channel (see section II). 


Thanks in advance,
				Marc

The FAQ can be found in LaTeX version, thanks to Martin Schultze,
e-mail: Martin.Schulze@Informatik.Uni-Oldenburg.de
at tsx-11.mit.edu in pub/linux/docs

Future Plan:

	- provide FAQ as diff too, since it seems to stay stable
	  except for very few sections.
	- perform automatic post to c.o.l, c.o.l.a, c.a and n.a 
	  every month as I promised long time ago.

================================8<=====8<==============================
CONTENTS
	0.	WARNINGS				(part1)
	I.	LINUX GENERAL INFORMATION		(part1)
	II.	LINUX USEFUL ADDRESSES			(part1)
	III.	INSTALLATION and COMMON PROBLEMS	(part2)
	IV.	SOME CLASSICAL PROBLEMS			(part2)
	V.	LINUX and DOS				(part2)
	VI.	MISCELLANEOUS HINTS			(part3)
	VII.	MORE HINTS				(part3)
	VIII.	FEATURES				(part4)
	IX.	GCC MISC INFORMATION			(part4)
	X.	SCSI SPECIAL				(part4)
	XI.	EMACS for LINUX				(part5)
	XII.	X11, THE MINIMUM and MORE		(part5)
	XIII.	NETWORKING and LINUX			(part5)
	XIV.	EVERYTHING FOR PRINTING			(part6)
	XV.	UUCP/NEWS/MAIL for LINUX		(part6)
================================8<=====8<==============================



0. WARNINGS
===========

I. LINUX GENERAL INFORMATION 
=============================
   I.01)  What is linux?
   I.02)   Does Linux support GCC, TCP/IP, X-Windows, MGR, etc.?
   I.03)   What is the current state of Linux?
   I.04)  Linux sounds great, but where do I get it and how do I 
     install it? 
   I.05)  Sounds good, but all of these docs are very confusing. Is
     Linux really difficult to install and use?
   I.06)  What's the best advice you can give to a Linux newbie?
   I.07)  Does it run on my computer?
   I.08)   How much space will Linux take up on my hard drive?
   I.09)   Will Linux run on a PC or 286-AT? If not, why?
   I.10)   Will Linux run on a 386 Laptop?
   I.11)   Why the suggested 4Meg, for Linux?
   I.12)   How would this operate in an OS/2 environment?
   I.13)  (Dan) How long has Linux been publicly available?
   I.14)  How reliable is Linux, anyway?
   I.15)   What is the proper pronounciation for "Linux"?
   I.16)   What's about the copyright of linux?
   I.17)  Should I be a UNIX and/or a DOS wizard to install/use Linux?
   I.18)  Does Linux use TSS segments to provide multitasking?
   I.19)  If my PC runs under Linux, is it possible to ftp, rlogin,
     rsh etc.. to other Unix boxes?
   I.20)   Does linux do paging? Can I have virtual memory on my small
     machine?
   I.21)   Can I have tasks spanning the full 4GB of addressable 386
     memory? No more 64kB limits like in coherent or standard minix?
   I.22)   Does the bigger program sizes mean I can run X?
   I.23)   What are the differences, pros and cons compared to Minix ?
   I.24)   What are the pros and cons compared to 386BSD ?
   I.25)   Why can't we split comp.os.linux ?

II. LINUX USEFUL ADDRESSES 
=========================

II.A. LINUX ON THE NET: ftp, mailing-list
II.B. OBTAINING LINUX FROM BBS'S: everything about bbs

II.A. LINUX ON THE NET
~~~~~~~~~~~~~~~~~~~~~~
  II.01)  Where can I get linux?
  II.02)  I do not have FTP access, what can I do to get linux?
  II.03)  Is there a newsgroup or mailing-list about linux? 
  II.04)  Where can I get my questions answered? How about bug-reports?
     What do I put into a post to comp.os.linux?
  II.05)  Could you be more explicit about the multi-channel list?
  II.06)  How can I join the channel XXX on the linux-activists
     mailing list?
  II.07)  How can I leave the channel XXX on the linux-activists
     mailing list?
  II.08)  I'm not an hacker, what are the channels I could be interested
     in? 
  II.09)  Does there exist a place where the traffic of the newsgroup
     is kept?

II.B OBTAINING LINUX FROM BBS'S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  II.10)   I don't have access to FTP, how can I obtain Linux?
  II.11)   I got this FAQ from a local BBS, or a friend, and I see there
     is a newsgroup called comp.os.linux .  I don't have access to USENET or
     mail, so how can I get the messages?
  II.12)   Do BBS's offer anything that the Internet does not?
  II.13)   What is a BBS?
  II.14)   How can I get a (Near) complete list of BBS's that carry Linux?
  II.15)   Now that I have a phone number, how do I go about accessing a
     BBS?
  II.16)   There is a local BBS that carries Linux, but it isn't on the
     latest Linux BBS List.  How do I go about submitting it for inclusion in
     the list? 
  II.17)   What can I do to help ensure the continued development of
     Linux?
  II.18)  What are File Requests?

III. INSTALLATION, SETUP, and COMMON PROBLEMS
=============================================

III.A. WHERE TO START: What are the reliable sources of information
III.B. LINUX PACKAGES: Where and how install a complete Linux package

III.C. SOME COMMON PROBLEMS: Simple problems and simple solutions


III.A. WHERE TO START
~~~~~~~~~~~~~~~~~~~~~
 III.01)  I want to install Linux on my machine. Where do I start?
 III.02)  Is there some kind of limit on how large my Linux partitions
     and/or filesystems can be?

III.B. LINUX PACKAGES
~~~~~~~~~~~~~~~~~~~~~
 III.03)  Does there exist a way to get all (or nearly all) of the Linux
     stuff?
 III.04)  Where can I get these releases of Linux?
 III.05)  What files do I need to get for the SLS release?
 III.06)  Now that I have the files, how do I install SLS?
 III.07)  Any other information about SLS?
 III.08)  How do I get and install H.J. Lu's "bootable rootdisk" release?

III.C. SOME COMMON PROBLEMS
~~~~~~~~~~~~~~~~~~~~~~~~~~~
 III.09)  What filetype is the extension ".z"? What about ".taz", 
     ".tpz", and ".tgz"? I see these files on the archives but I don't
     know how to unpack them.
 III.10)  How do I make partitions and/or filesystems for Linux?
 III.11)  Why does fdisk say "Linux cannot currently use XXXX sectors of
     this partition"? 
 III.12)  What does the message "MINIX-fs: Magic match failed" on bootup 
     mean?
 III.13)  Linux mkfs doesn't accept the size I give the device,
     although I double-checked with fdisk, and it's correct.
 III.14)   How can I get mkfs/mkefs to check for bad blocks?
 III.15)  How can I boot Linux off of my hard drive? 
 III.16)  I tried to install LILO, but screwed up somehow, and
     now can't boot anything from the hard drive. How can I fix this?
 III.17)  When installing SLS, I get the error "You may have inserted
     the wrong disk" when putting in the next disk in a series. What's
     going on?
 III.18)   When installing SLS, the installation script creates a "boot
     floppy" for me to boot Linux with. How can I make these myself (or fix
     problems with them?)
 III.19)  How can I set the default video mode used by Linux? Do I have
     to recompile the kernel to do this? 
 III.20)   How else can I use rdev?
 III.21)   When I login as non-root, I get tons of errors about
     "shell-init: permission denied". Also, some things work as root but
     not as a normal user. What's the deal?
 III.22)  I have the previous version of the Linux kernel, how can 
     I upgrade it?
 III.23)  Where is /usr/include/linux and /usr/include/asm, or,
     Why won't the kernel compile correctly?
 III.24)   How can I upgrade to the newest version of GCC and/or
     libraries? 
 III.25)  What's the deal with these things called "jump tables"? 
 III.26)  How to upgrade jump tables? (Without hanging my system)
 III.27)  How can I be sure I won't be writing over anything important
     when installing Linux?  I have to use DOS on my machine, and I don't
     want to lose any files.
 III.28)  I just rebooted my machine, and now Linux dies with a
     "panic: trying to free unused inode". What's going on?
 III.29)  Can I use both OS/2 and Linux on my machine??
 III.30)   I use OS/2's Boot Manager on my hard drive. How can I get it
     to recognize Linux?
 III.31)   When I run Linux's fdisk it says "OPUS" for OS/2's Boot
     Manager partition. Is this right? What's OPUS?

IV. SOME CLASSICAL PROBLEMS 
===========================
  IV.01)  While running du I get "Kernel panic: free_inode: bit
     already cleared".  Also, du produces a ENOENT error for all the files
     in certain of my directories.  What's going on?
  IV.02)  How can I partition my hard-drive to use Linux?
  IV.03)  I heard something about repartition a hard disk without
     deleting everything on it, any clue?
  IV.04)  What must I do to mkfs a floppy?
  IV.05)  I have some trouble with tar/untar; any clue ?
  IV.06)  I can do this as root but not as non-root, is it a bug?
  IV.07)  "du" reports twice the size showed with "ls -l", is it a
     bug?
  IV.08)  Sometimes, I get "mount can't open lock file"; what does this
     means? 
  IV.09)  When I try "mount /dev/hd?? /user", I get error 2.
  IV.10)  Since I have upgrade my Linux kernel, ps won't work anymore,
     why? 
  IV.11)  Since Linux 0.96b I have a lot of core file all over
     my disk. How can I sweep them away ?
  IV.12)  I can only log-in as "root", is it normal ?
  IV.13)  Sometimes my Linux virtual console get messed up when I cat
     a binary file. The characters shown are above ascii 127, any clue ?

V. LINUX and DOS 
=================
   V.01)  Is is possible to access DOS from Linux?
   V.02)  Why use mtools if you can just mount a drive?
   V.03)  How do I get the mtools package set up correctly?
   V.04)  What is the format of the file /etc/mtools?
   V.05)  Where can I find out more about mtools?
   V.06)  How do I use the DOS file system?
   V.07)   When I mount an MS-DOS disk, I get two lines of what seem to
     be error messages and the message: No bmap support.  Is my disk bad?
   V.08)  I want to use the DOS file system with either conv=binary or
     conv=auto, but I want to convert text files from DOS to UNIX format,
     or from UNIX to DOS format.
   V.09)  Where can I find out more about the DOS file system?
   V.10)  This sounds me like a chicken and eggs problem, how can I
     install the mtools package at the very beginning.
   V.11)  Could someone explain how to use rawrite?
   V.12)  What is as86.tar.Z ?
   V.13)  Turbo (Microsoft) Assembler won't compile the Linux boot
     code.  In fact, some of the opcodes in these files look completely
     unfamiliar.  Why?
   V.14)  What about the dos emulator (dosemu)?
   V.15)   I have a Stacker volume on my hard drive.  Can I access that?
   V.16)   How about OS/2 HPFS partitions, or MacIntosh/Amiga floppies?
     Can I mount any of them?

VI. MISCELLANEOUS HINTS 
=======================

VI.A Misc Information
VI.B Minor/Major Information

VI.C Serial Information


VI.A. Misc information
~~~~~~~~~~~~~~~~~~~~~~
  VI.01)  It seems that $#@! ported on linux don't run correctly, what
     do I do about reporting bugs?
  VI.02)  Has $#@! been ported to Linux?
  VI.03)  I've ported $#@! to Linux, what should i do to add it in the 
     standard distribution?
  VI.04)  I want to port $#@! to Linux, what are the flags?

VI.B. Major/Minor device number
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  VI.05)  What are the device minor/major numbers?
  VI.06)  (Chuck Boyer) Could some one clear up the devices meaning?

VI.C Special Serial
~~~~~~~~~~~~~~~~~~~
  VI.07)  Is there a list somewhere where I can get help with serial
        communications under Linux?
  VI.08)  When I run kermit under Linux, I get "Warning, Read access
        to lock directory denied". What am I doing wrong?
  VI.09)  What are the major, minor numbers for the serial ports under linux?
  VI.10)  can anyone give me a sample /etc/inittab entry for login
        from a pc attached to serial line /dev/ttys2?
  VI.11)  How do I set parameters like parity for serial login?
  VI.12)  (Juha Ursin) I run SLS pl6, kernel is pl8 and I use
     libc.4.3.2.
     Trying to allow login on my terminal (on ttyS1 with only three wires
     (RX, TX, GND) connected). Getty 9600 /dev/ttyS1 starts and I get the
     login prompt, but the password prompt newer appears.
  VI.13)  (Juha) Where are my Call-out-mode -serial ports (cuaX) ?,
     When should I use these cuaX ports ?, Why on my system ttys3 is used
     instead of ttyS3 ?
  VI.14)  (Juhan) What other possibly free IRQ's there are than IRQ5 ?,
     Can I use IRQ7 when not printing ?,

VII. MORE HINTS 
=============== 
 VII.01)  How can I backup my Hd under Linux ?
 VII.02)  Where is 'which' ?
 VII.03)  How to use setterm: for the novice?
 VII.04)  I've tried clear/reset which exist on most of unix but it
     doesn't work, have I missed something? 
 VII.05)  I know there are VC, but where is the setterm stuff?
 VII.06)  I know there are shared libraries; does there exist an easy
     way to check an executable for sharing ? 
 VII.07)  What is the rdev program provided in the images?
 VII.08)  How to start Linux from drive B?
 VII.09)  The program boot_b works fine /but/ once the first disk is
     read the system go back to the first drive, any hints?
 VII.10)  How can I get Linux to boot directly from the harddisk?
 VII.11)  I use shoelace, but I want to change my root partition, what
     is the process to get rid of it? 
 VII.12)  Sometimes, when I want to remove a directory, I get an error
     message, is it a (known) bug?
 VII.13)  I'm looking for init, getty, login, passwd stuff, where 
     can I find them? 
 VII.14)  How can I setup a user account other than root ?
 VII.15)  I've been trying to get Linux to run on my [3/4]86 box. It
     can't even boot. Any suggestions?
 VII.16)  Does there exist games, languages (other than C), and
     anything which make the system more friendly?
 VII.17)  Whenever I use uemacs 3.1X on a symlink, the symlink does
     not exist anymore, why?
 VII.18)  I have an SVGA, but Linux detect an EGAc/EGAm; is it normal?
 VII.19)  How can I change the keyboard repeat rate?
 VII.20)  I compiled fdformat.c and ran it on 1.44Mb and 1.2Mb, the
     results are unreadable, any clue? 
 VII.21)  Is it possible to disable the 3-fingers salute
     (ctrl-alt-del) ?
 VII.22)  Could some one explain the information provided at boot-time?
 VII.23)  What is the meaning of files ended by .T.Z (or .taz) ?
 VII.24)  What is the meaning of files ended by .T.z (or .tpz) ?
 VII.25)  I have upgraded the kernel from XX to YY (XX > YY), however the
     login screen still says YY.
 VII.26)  What is doshell good for ?
 VII.27)  I don't have the kernel sources, how can I change the keyboard
     language?
 VII.28)  Does there exist a possibility to track down the source of
     kernel pannic messages ?

VIII. FEATURES 
==============
VIII.01)  I've read that linux has virtual consoles, what must I do to
     get them?
VIII.02)  When Linux boots, I get the following message "8 virtual
     consoles"; how can I acess to the 5-8 vc's ?
VIII.03)  What kind of shell is /bin/sh ?
VIII.04)  Does there exist a man page for **** ?
VIII.05)  Is there a simple man package (groff is too big):
VIII.06)  What are the editors available in linux?
VIII.07)  Does there exist a printer package for Linux?
VIII.08)  Are uucp, mail, and/or USENET news available for Linux?
VIII.09)  How do I make swapping work?
VIII.10)  When I boot I get one of the following messages:
     "Unable to find swap signature" or "Bad swap-space bitmap"
VIII.11)  How do I know if it is swapping?
VIII.12)  How is it possible to remove a swap file?
VIII.13)  How is it possible to remove a swap device?
VIII.14)  How much swap space do I need ?
VIII.15)  Could someone explain the swap process on Linux?, is it
     swapping or paging ?
VIII.16)  Is demand paging different from paging and How ?
VIII.17)  Is there any way to tell how much swap space you are using
     or have left? 
VIII.18)  I have a 2Megs box, but "free" reports only 1Meg why?
VIII.19)  What tape drives work with Linux ?
VIII.20)  Is there a driver for my Colorado Jumbo tape drive ?
VIII.21)  Is there only the %$#@ keyboard ?
VIII.22)  (special FINNISH/US) I booteed up with the new image and
     everything work except that some keyboard keys produce wrong
     characters. Does anyone know what is happening?
VIII.23)  Does there exist shared libs ?
VIII.24)  Why do I need dynamic linking.
VIII.25)  How does dynamic linking work under linux?
VIII.26)  Does Linux work for SCSI drives?
VIII.27)  Linux is supposed to work with ESDI drive. However I have
     trouble with my Magtron MT-4115E (Joincom controler), any clue?
VIII.28)  How does one go about applying a patch to Linux ?
VIII.29)  There are a lot of patches available (ps patch, NFS patches,
     CD-ROM patches ...) can I be fairly confident the subsequent patches will
     work?
VIII.30)  I got the patches on some ftp sites, and applied them to the
     kernel and tried to compile. It didn't !!. Are the patches buggy?
VIII.31)  What is VFS?
VIII.32)  What's about Bus Mice ?
VIII.33)  What's about TeX ?
VIII.34)  What's about LILO ?
VIII.35)  What's about MGR ?
VIII.36)  I have successfully compiled MGR, but when I try to run the
     program I get "can't find mouse" or "already in use", any clue?
VIII.37)  Any tips for MGR?
VIII.38)  What's about X11 ?

IX. GCC MISC INFORMATION
========================

IX.A. HLU Information
IX.B. OTHERS

IX.A. HLU Information
~~~~~~~~~~~~~~~~~~~~~
  IX.01)  I don't know how to install gcc stuff, is there special
     places?
  IX.02)  What compiler should I use for Linux?
  IX.03)  Where is the latest official gcc 2.xx for Linux?
  IX.04)  Where is the latest official Linux C library?
  IX.05)  What are the contents of them?
  IX.06)  How do I install them?
  IX.07)  What are the main differences with the old release?
  IX.08)  Can I use the old version of gcc?
  IX.09)  Can I delete the old shared image in /lib?
  IX.10)  Is stdio ANSI compatible?
  IX.11)  Is g++ in 2.xx?
  IX.12)  Where can I get the gcc manual?
  IX.13)  What options can I use for gcc?
  IX.14)  How can I debug the C code?
  IX.15)  Where is the source code of the new libc.a?
  IX.16)  Why does g++ complain, even die?
  IX.17)  How do I generate code for 486?
  IX.18)  I heard malloc (0) wouldn't work with Linux, what should I
     do?
  IX.19)  Why does gcc say "xxxxx..h not found"?
  IX.20)  I really followed every step in the documentation, but when
     I do "make", why does it say "don't how to make xxxxxx"?
  IX.21)  How do I compile programs under Linux?
  IX.22)  How can I get bsd style signal?
  IX.23)  Why does a program that should only poll for input become
     a CPU hog?
  IX.24)  When a program is stopped using Ctrl-Z and then restarted,
     or in other situations that generate signals: Ctrl-C interruption,
     termination of a child process etc. why does it complain about
     "interrupted system call" or "write: unknown error" or things like that.

IX.B. OTHERS
~~~~~~~~~~~~
  IX.25)  I seem to be unable to compile anything with gcc. Why?
  IX.26)  gcc complains about not finding crt0.o and the system
     include files What am I doing wrong ?
  IX.27)  I tried to port a /new/ version of gnu stuff. But in the
     linking phase, gcc complains about the missing libg.a. 
  IX.28)  How to compile programs which may be debugged with gdb?
  IX.29)  When compiling some code, cc1 complains about some insn
     code, what's that? 
  IX.30)  When compiling #$@!, I've got some problems with "SIGBUS"
     signal that doesn't exist. Any clue ?
  IX.31)  How can I write codes suitable for building shared library ?

X. SCSI SPECIAL
===============
   X.01)  What hardware is supported?
   X.02)  What hardware is not supported?
   X.03)  How do I get SCSI information?
   X.04)  Where is the latest version maintained?
   X.05)  I've found one of the following bugs :
   X.06)  What do I do if I find a bug that still looks like a 
     bug after I've read the FAQ?
   X.07)  What SCSI disks are supported? 
   X.08)  What about CD ROMS?
   X.09)  What about SCSI tapes ? 
   X.10)  How do I partition the disk?
   X.11)  The linux partitioning programs don't work.
   X.12)  My partitioning program can't figure out the disk geoemetry
   X.13)  What are the major / minor numbers for SCSI drives?
   X.14)  My tape drive or other removeable media device isn't recognized
     at boot time.
   X.15)  How do I reduce kernel bloat and eliminate the drivers I
     don't want?
   X.16)  I get SCSI timeouts.
   X.17)  My Seagate / Future Domain TMC-88x board is not detected.
   X.18)  The Seagate / Future Domain TMC-88x driver doesn't work.
   X.19)  The Adaptec driver doesn't work.
   X.20)  The WD-7000FASST driver doesn't work
   X.21)  My Ultrastor 14F or 34F isn't detected 
   X.22)  When using a Seagate / Future Domain TMC-88x, why does my system 
     hang when syncing to disk?
   X.23)  My system is dog slow (ie, 60k/sec)

XI. EMACS for LINUX
=====================

XI.A. GENERAL INFORMATION 
XI.B. GNU EMACS for LINUX

XI.A. GENERAL INFORMATION
~~~~~~~~~~~~~~~~~~~~~~~~~~~

XI.B. GNU EMACS for LINUX
~~~~~~~~~~~~~~~~~~~~~~~~~~~
  XI.01)  What version of the compiler was used?  Which shared libaries?
  XI.02)  Which files do I need?
  XI.03)  How do I install them?
  XI.04)  What if I want to compile Emacs myself?
  XI.05)  What about Epoch or Lucid Emacs?  Are these available for Linux?
  XI.06)  Does Linux Emacs support eight-bit input/output?
  XI.07)  How much disk space is required?
  XI.08)  Why can't Emacs find its support files anymore?
  XI.09)  How do I get Emacs to recognize my cursor keys?
  XI.10)  What packages are particularly useful under Linux?
  XI.11)  Does Linux Emacs use the shared libraries?
  XI.12)  Does Linux Emacs support the X Window System?
  XI.13)  Do I need both Emacs if I don't always use X?
  XI.14)  Why doesn't Emacs use the settings in my
     .Xdefaults/.Xresources file? 
  XI.15)  I read about some menu that is supposed to pop up when I
     press some mouse button.  Does this work with Linux Emacs?
  XI.16)  Sometimes Emacs crashes with a SIGALRM message.  What's
     wrong? 

XII. X11 THE MAXIMUM and MORE
=============================

XII.A. X386 GENERAL INFORMATION
XII.B. HARDWARE REQUIREMENTS: Supported Video cards, mice.

XII.C. LINUX DISTRIBUTION: Files required, Current version.
XII.D. LEARNING/USING X: Pointers to X documentation.

XII.E. DEBUGGING STARTUP PROBLEMS: Checklist, Screen restoration, Hanging.
XII.F. XCONFIG: Video mode settings and common errors in Xconfig.

XII.G. X-APPLICATIONS: Compiling X programs.
XII.H. ATI: SVGA server for ATI boards.

XII.I. BUGS


XII.A. X386 GENERAL INFORMATION
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 XII.01)  What is the X11 release supported by Linux?
 XII.02)  What is X386/xfree86?
 XII.03)  Where can I get X386 1.2 (X11R5)?
 XII.04)  Any tips on compiling X11R5?

XII.B  HARDWARE REQUIREMENTS:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 XII.05)  What VGA boards are supported?
 XII.06)  What Mouses are supported?
 XII.07)  Does anyone have a working PS/2 mouse? Has anyone gotten the 
     "Mini-DIN" mouse on an HP Vectra 486/33T to work? The slight info I've 
     been able to find says it's PS/2 compatible. Does anyone have a
     working MouseMan on a PS/2 port ?
 XII.08)  I have trouble with my logitech Pilot mouse and X under
     Linux, any clue ? 

XII.C. LINUX DISTRIBUTION
~~~~~~~~~~~~~~~~~~~~~~~~~
 XII.09)  What is the current version?
 XII.10)  What Files do I need to download?
 XII.11)  Where do the X11 files go? What are they?

XII.D.  LEARNING/USING X
~~~~~~~~~~~~~~~~~~~~~~~~
 XII.12)  Where can I find the basic help for learning/using X ?
 XII.13)  What docs are available besides man pages?
 XII.14)  How do I start up X?
 XII.15)  How do I configure X .. colors, menu, keyboard?
 XII.16)  [suggested by Thomas Koenig]
     	How do I support national keyboards in X11 ?

XII.E. DEBUGGING STARTUP PROBLEMS:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 XII.17)  I cannot type in my xterm 
 XII.18)  What are some of the common omissions and errors?
 XII.19)  Why is the server unable to find some of the fonts?
 XII.20)  My server "hangs" Why?
 XII.21)  When I started X11 I got "Cannot connect to
     server" or "process does not exist", any clue ?
 XII.22)  Why cant I run more than 4 xterms?
     	  How can I have more than 4 pty's ?
 XII.23)  How does X11 start up?
 XII.24)  What devices does X depend on:

XII.F. Xconfig: Xconfig and Video mode settings.
~~~~~~~~~~~~~~~
 XII.25)  What do the mode names in Xconfig mean?
 XII.26)  How do I compute the numbers for the video modes?
 XII.27)  How can I determine the clocks on the video chip?
     	Where can I find clock.exe or clock.pas ?
 XII.28)  What are the settings used with a trident-8900C?
 XII.29)  Oh what, Oh what, Oh what can I do with a trident 8900b?
 XII.30)  What are common problems with Xconfig?
 XII.31)  What do I use in my Xconfig file to use the bus mouse?
     Logitech doesn't work with my Logitech busmouse.
 XII.32)  Where can I get Xconfig-files for various hardware?

XII.G X-APPLICATIONS: Compiling X Programs.
~~~~~~~~~~~~~~~~~~~~~
 XII.33)  Does anyone know where I can find the libobz.a library ?
 XII.34)  I get _setjmp undefined when linking xv from .a files.
 XII.35)  How do I compile an X application that has an Imakefile?
 XII.36)  How do I compile a program that has no Imakefile?
 XII.37)  gcc complains the X libraries are not found or links static.
 XII.38)  When using Makefiles generated by xmkmf why do I get many error 
     	messages?
 XII.39)  (Ton van Rosmalen wrote):
     I recently compiled XFree86 1.2A for Linux and it compiled fine with
     gcc-2.3.3 and libc-4.3.3 iff I skipped the make depend.
 XII.40)  What are the  development tools available for X under Linux?

XII.H ATI: SVGA server for ATI boards.
~~~~~~~~~
 XII.41)  What's new?
 XII.42)  What is the ATI SVGA driver?
 XII.43)  What is the ATI SVGA driver *NOT*?
 XII.44)  What cards will the driver work with?
 XII.45)  What should I put in my Xconfig file?
 XII.46)  What is the history of the driver?
 XII.47)  What is the future of the driver?

XII.I BUGS:
~~~~~~~~~~~

XIII.	NETWORKING and LINUX
============================
XIII.01)  Where can I find useful information about networking for
     Linux ?

XIV.  EVERYTHING FOR PRINTING
=============================
 XIV.01)  What _is_ the Linux lpr/lpd package?
 XIV.02)  What is _the_ Linux lpr/lpd package?
 XIV.03)  How do I get lpr to work properly other than for root? Where
     do the files go and what should their permissions be?
 XIV.04)  What are all these diretrories for? (/etc, /usr/etc, /etc/inet,
     /usr/spool, /var/spool)
 XIV.05)  Why do I get ``jobs queued, but cannot start daemon'' or
     ``lpc: connect: No such file or directory'' ?
 XIV.06)  Where do I get a printcap for a xxxxx?
 XIV.07)  What is the content of /etc/printcap?
 XIV.08)  What is the format of a /etc/printcap?
 XIV.09)  My /etc/printcap looks identical to someone else's but it
     doesn't work - why?
 XIV.10)  What's the minimum /etc/printcap?
 XIV.11)  How do I prevent the `staircase effect'?
 XIV.12)  How do I get my printer to go back to the default font after
     each printout?
 XIV.13)  How do I prevent a formfeed at the end of every printout?
 XIV.14)  How do I use a printer that's doesn't present a normal
     device interface?
 XIV.15)  How do I get burst/banner pages?
 XIV.16)  How do I print text on a PS printer?
 XIV.17)  Why do files with a lot of graphics get truncated?
 XIV.18)  Why doesn't `lpr -i' work?
 XIV.19)  Why doesn't `lpr -p' work?
 XIV.20)  Why does lprm say `too many users'?
 XIV.21)  Why does lpc complain that it hasn't stopped a daemon?
 XIV.22)  Why does 
 XIV.23)  How do I print over a Network?
 XIV.24)  Which /dev/lp* is my printer?
 XIV.25)  When the kernel boots it says `using polling driver,' is
     there an interrupt driven driver?
 XIV.26)  What's the difference between the polling driver and an the
     interrupt driven one?
 XIV.27)  How do I write filters?
 XIV.28)  I've written a filter in shell script which works OK when I
     use it from the shell prompt but fails when I tell lpd to use it?
 XIV.29)  When should I define an `of' filter?
 XIV.30)  Where do I get filters for given printers?
 XIV.31)  How do I get a program that won't read from STDIN to act as
     a filter?
 XIV.32)  The set of filters supported by lpd seem strange - why
     aren't there filters for Postscript, GIF, TIFF and so on?
 XIV.33)  What are magic filters?

XV. UUCP/NEWS/MAIL for LINUX
============================

XV.A. General Information
XV.B. UUCP

XV.C. News
XV.D. Mail

XV.A. General Information
~~~~~~~~~~~~~~~~~~~~~~~~~
  XV.01)  What uucp, news, and mail software works under Linux ?
  XV.02)  So where are the sources ?
  XV.03)  Do I really need the sources ?
  XV.04)  How do I get my system a news/mail/uucp feed ?

XV.B. UUCP
~~~~~~~~~~
  XV.05)  Why do I get 'timeout' on connections when I upgraded to
     uucp-1.04 ? 
  XV.06)  Why doesn't anonymous uucp seem to work ?

XV.C News
~~~~~~~~~
  XV.07)   What newsreader is best ?
  XV.08)  with trn - why do I get the message 'dbinit failed' ? 
  XV.09)  why is my 'nn' database getting continuously corrupted ?
  XV.10)  why can't I post to moderated groups ?
  XV.11)  Why do I have problems that appear to be permission-related ?
  XV.12)  Why doesn't SLS have the 'Performance Release' of C-news?
     	  INN ? NNTP ? 
  XV.13)  Why does doexpire say "severe space shortage" when there's
     	lots of room ? 
  XV.14)  How do I set up NNTP?

XV.D. Mail
~~~~~~~~~~
  XV.15)  Why is my hostname.domainname not in my headers and
     something funky's there ? 
  XV.16)  Why can't elm write to my mailbox ?
  XV.17)  is sendmail+IDA available for Linux instead of smail ?


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#	LaBRI 			 |					    #
#  351 cours de la Liberation    |  e-mail:  corsini@geocub.greco-prog.fr   #
#  33405 Talence Cedex		 |  e-mail:  corsini@labri.u-bordeaux.fr    #
#  				 |					    #
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- 
	 There will be a sig when our local net is reliable.
	       For now, I would rather stay anonymous.


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Linux Frequently Asked Questions 3/6 [monthly posted]
@ 1993-07-21  9:52 corsini
  1993-07-21  9:52 ` Linux Frequently Asked Questions 4/6 " corsini
  0 siblings, 1 reply; 8+ messages in thread
From: corsini @ 1993-07-21  9:52 UTC (permalink / raw)


Archive-name: linux-faq/part3

Last-Modified: 93/07/11
Version: 1.20

*********************************************************
*							*
*   Answers to Frequently asked questions about Linux   *
*							*
*********************************************************

This post contains Part 3 of the Linux FAQ (6 parts).
It must be read *after* the 2 first parts. 

===================================8<====>8============================
CONTENTS (of this part)

	VI. 	MISCELLANEOUS HINTS 		(part3)
	VII.	MORE HINTS			(part3)

===================================8<====>8============================


VI. MISCELLANEOUS HINTS 
=======================

Special gcc information are located in section IX. A special section is
devoted to it since it's *the* compiler of Linux. I have subsectionned
this part in 2 subsections: 



VI.A Misc Information
VI.B Minor/Major Information




VI.A. Misc information
~~~~~~~~~~~~~~~~~~~~~~
*** This section is maintained by Matt Welsh (mdw@tc.cornell.edu). Please
*** mail me if you have any changes/updates/questions. Thanks -mdw


  VI.01)  It seems that $#@! ported on linux don't run correctly, what
do I do about reporting bugs?

ANSWER: (Matt Welsh) It's possible that either the program itself has a bug
or that Linux has a problem that this program brings out. :) But first check
that the size of the file(s) corresponds that of the files(s) on the FTP
sites where it's available. If they're different, either you downloaded them
incorrectly (i.e. you forgot to turn on "bin") or whoever put them on the
FTP site uploaded them incorrectly. 

If that's not the problem, then post to comp.os.linux asking about the 
program, to verify that it is a bug. PLEASE: when posting possible "bug 
reports" include all error and output information from running/compiling
the program. Just saying "it doesn't work" isn't very helpful. Also mention
your specific setup, Linux version, GCC version, etc. Some of these things
depend on running under certain versions and you may have missed that
information. 

Note that my "ml-linux-bugs@dg-rtp.dg.com" bug reporting list has been
phased out. It turns out that Linux has so few bugs, most of which are
resolved on the newsgroup or through Linus before I can accumulate them
and post. :) In short: if there's a bug in Linux or in Linux-ported
software, it will usually be fixed in the next patchlevel or version.


  VI.02)  Has $#@! been ported to Linux?

ANSWER: First check out the FTP sites and read the monthly INFO-SHEET,
as well as the new "Linux News" and the META-FAQ's (all of which are 
either available on the FTP sites and/or posted to the newsgroup as they're
written). Also check out the "Linux Project Registry" (posted to the 
newsgroup and on the FTP sites) which lists ongoing/current Linux projects.
Also look in the "old" Linux digests and mailing-list archives, kept on
tsx-11.mit.edu and nic.funet.fi. Also, see if there's a GNU(*) version
of the program you're looking for (which are available everywhere).
Since Linux uses GCC as its native compiler, most GNU software ports
directly to Linux without problems. If all else fails, ask on the
mailing list or newsgroup if the program is ported and where it's
available. 


(*) GNU stands for GNU's Not Unix, which (besides being a recursive
acronym) is a project started by the Free Software Foundation (the FSF)
to write a freely distributable version of Unix.  The GNU kernel is
named HURD, and is based on Mach.  It is currently being written, and is
not yet done.  Many of the GNU utilities, however, are completed and are
much more functional than the original Unix utilities.  Since they are
freely available, Linux is using them as well.



  VI.03)  I've ported $#@! to Linux, what should i do to add it in the 
standard distribution?

ANSWER: (Matt Welsh) First read the previous Q/A, then talk to the
maintainers of the various releases (MCC interim, SLS, and so on)
about including your program with those releases. The best way to make
programs available to the rest of the world is to upload it to one of
the Linux FTP sites (such as tsx-11.mit.edu:/pub/incoming or
sunsite.unc.edu:/pub/Linux/Incoming). 

BTW Whenever you submit binaries, please think that if you link them
with shared libraries, this might cause problems for those who (gasp!)
don't have the shared libraries installed. You can either link them
using -static, and if someone wants to build a shared version on their
own machine they can get the sources (which you should also make
available) and build it themself. Or else provide the shared lib.


  VI.04)  I want to port $#@! to Linux, what are the flags?

ANSWER: Recall that Linux implements subset of SYSV and POSIX, so
-DUSG and -DPOSIX work in general. 

NOTE1: SIGBUS is not there, and can be safely commented out in general.
NOTE2: see section related to GCC, in the third part of this FAQ, for
more details. 



VI.B.Major/Minor device number
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** This section is maintained by Rick Miller, any comments,
*** suggestions, remarks should be mailed to him at <rick@ee.uwm.edu>
*** Last Update: April 1993.


A list of the device names, along with Major and minor numbers,
which the Linux kernel may currently recognize.  I say "may" because some
of them may require patches to your kernel, others must be configured-in
using the Linux kernel's "make config" routine before compiling.

My profuse thanks to all the writers of device drivers for Linux, and to
all those patient folks who took the time to explain their devices to me.
May they become obscenely rich.  Until then, I hope this list will help
prevent driver collisions and perhaps lend a clue to a newbie or two.


        IF YOU WANT ANY CHANGES OR ADDITIONS TO THIS LIST, *TELL ME*!

        DEVICES NOT LISTED HERE SHOULD USE MAJOR NUMBERS *ABOVE 127*
        UNTIL ALLOCATED A MORE PERMANENT NUMBER IN THE LOWER RANGE.
        (I suggest using a more-or-less random number to avoid the
         chance of collisions with any other experimental drivers.)

        TO HAVE MAJOR/MINOR NUMBERS ALLOCATED (OFFICIALLY) FOR
        YOUR DEVICE DRIVER, SEND E-MAIL TO:  RICK@EE.UWM.EDU

  VI.05)  What are the device minor/major numbers?

Majors:
  0.  Unnamed .......  (unknown) ....  for proc-fs, NFS clients, etc. (???)
  1.  Memory ........  (character) ..  mem ramdisk kmem null port zero core
  2.  Floppy ........  (block) ......  fd[0-3]<[dhDH]{360,720,1200,1440}>
  3.  AT-Disk .......  (block) ......  hd[a-b]<[0-8]>
  4.  Tty ...........  (character) ..  tty's and pty's
  5.  Dial-out ......  (character) ..  tty cua*
  6.  Parallel ......  (character) ..  par[0-2] lp[0-2]
  8.  SCSI-Disk .....  (block) ......  sd[a-h]<[0-8]>
  9.  SCSI-Tape .....  (character) ..  <n>st[0-1] or <n>rmt[0-1]
 10.  Mouse .........  (character) ..  logibm psaux inportbm atibm (mouse)
 11.  CD-ROM ........  (block) ......  scd[0-1]
 12.  QIC-tape? .....  (character) ..  rmt{8,16} tape<{-d,-reset}>
 13.  XT-disk .......  (block) ......  xd[a-b]<[0-8]>
 14.  Audio .........  (character) ..  audio dsp midi mixer sequencer
 15.  Joystick ......  (character) ..  js[0-1]
 16.  Socket ........  (character) ..  net arp
 17.  AF_UNIX .......  (character) ..  unix
 18.  AF_INET .......  (character) ..  inet ip icmp tcp udp
 19.  WE-driver .....  (character) ..  we[0-3]
 20.  DP8390-driver .  (character) ..  wd[0-3] ec[0-3] ne[0-3]
 21.  Sony-CD-ROM ...  (block) ......  sonycd
 22.  2nd AT-Cntrlr .  (block) ......  hd1[a-b]<[0-8]>
 23.  Mitsumi CD-ROM   (block) ......  mcd
 31.  Link Interface   (character?) .  ???

Breakdown of minors by Majors:
------------------------------
  0.  Unnamed .......  (unknown) ....  for proc-fs, NFS clients, etc.
        Minors?

  1.  Memory ........  (character) ..  ram mem kmem null port zero core
        (0.  /dev/ram:  was supposed to be the ramdisk, but never got used.
         As of this date it has not been implemented and probably won't be.)
        1.  /dev/mem
        1.  /dev/ramdisk: a BLOCK device (the RAM-disk)
        2.  /dev/kmem
        3.  /dev/null
        4.  /dev/port
        5.  /dev/zero
        6.  /dev/core:  like /dev/mem, but in "core"-file format for gdb

  2.  Floppy ........  (block) ......  fd[0-3]<[dhDH]{360,720,1200,1440}>
        Minors are [[4 * type] + drive] where drive 0-3 == A:-D: (floppy)
        and type is:    0: Autodetect           4: 720k on 3.5" DD
                        1: 360k on 5.25" DD     5: 360k on 5.25" HD
                        2: 1.2M on 5.25" HD     6. 720k on 5.25" HD
                        3: 360k on 3.5" DD      7. 1.44M on 3.5" HD

        0. /dev/fd0:  Autodetected first floppy.
        1. /dev/fd1:  Autodetected second floppy.
        2. /dev/fd2:  Autodetected third floppy.
        3. /dev/fd3:  Autodetected fourth floppy.
        4. /dev/fd0d360:  360k on 5.25" DD in first drive
        5. /dev/fd1d360:  360k on 5.25" DD in second drive
                (You can work out the rest of the intermediates...)
        8. /dev/fd0h1200:  1.2M on 5.25" HD in first drive
        12. /dev/fd0D360 (/dev/fd0H360):  360k on 3.5" DD in first drive
        16. /dev/fd0D720 (/dev/fd0H720):  720k on 3.5" DD in first drive
        20. /dev/fd0h360:  360k on 5.25" HD in first drive
        24. /dev/fd0h720:  720k on 5.25" HD in first drive
        28. /dev/fd0H1440:  1.44M on 3.5" HD in first drive

     Naming goes like this:
        fd[drive][media][size]
         where: [drive]=0-3:  Corresponds to DOS's "A:"-"D:".
                [media]={d,h,D,H}:  d=Double Density 5.25" diskette
                                    h=High Density 5.25" diskette
                                    D=Double Density 3.5" diskette
                                    H=High Density 3.5" diskette
                [size]={360,720,1200,1440} kilobytes.

     Floppies are assumed to be double-sided (DS), and
        drives are assumed to be high-density devices.

  3.  AT-Disk .......  (block) ......  hd[a-d]<[0-8]>
     (For IDE, MFM, and RLE drives and controllers.)
      On the first AT controller card:
        0.  /dev/hda (/dev/hda0):  The whole first HD, including its MBR.
        1-4.  /dev/hda{1-4}:  Primary partitions on the first hard drive.
        5-8.  /dev/hda{5-8}:  Extended partitions on the first hard drive.
        64.  /dev/hdb (/dev/hdb0):  The whole second HD, including its MBR.
        65-68.  /dev/hdb{1-4}:  Primary partitions on the second hard drive.
        69-72.  /dev/hdb{5-8}:  Extended partitions on the second hard drive.
      On the second AT controller card:
        128.  /dev/hdc (/dev/hdc0):  The whole third HD, including its MBR.
        129-132.  /dev/hdc{1-4}:  Primary partitions on the third hard drive.
        133-136.  /dev/hdc{5-8}:  Extended partitions on the third hard drive.
        192.  /dev/hdd (/dev/hdd0):  The whole fourth HD, including its MBR.
        193-196.  /dev/hdd{1-4}:  Primary partitions on the fourth hard drive.
        197-200.  /dev/hdd{5-8}:  Extended partitions on the fourth hard drive.

        Notes:  BE *VERY* CAREFUL WITH the four "whole drive" devices (hda,
                hdb, hdc, and hdd)!!  These four devices embody the *entire*
                *drive*, not just one partition.  The only things that use
                them are things that need to read/change the partition table
                (like fdisk).

                Linux doesn't order anything.  It perceives partitions in the
                order in which they appear in the partition table.  Thus,
                /dev/hd?1 may follow /dev/hd?2 in the cylinder numbering.

                The names of the hard drives are not the same as under Minix.

  4.  Tty ...........  (character) ..  tty's and pty's
        0.  /dev/tty0:  This is the currently active Virtual Console.
        1-9.  /dev/tty[1-9]:  Specific virtual consoles.
        10-63.  /dev/ttyV[10-63]:  More virtual consoles that nobody uses.
        64-127.  /dev/tty[0-?][0-63]:  Dial-in serial ([controller][port]).
        128-191.  /dev/pty[p-s][0-f]:  PTY Masters.
        192-255.  /dev/tty[p-s][0-f]:  PTY Slaves. ([0-f]=0123456789abcdef)

        Notes:  NOTICE THE NEW NAMING FOR SERIAL LINES.  Serial lines will
                be named either "tty..." or "cua..." (See Major #5) followed
                by the one-digit number of the *board* the line is from, and
                the number of the line on that board.  The four default lines
                are considered to be on board "0", so what DOS calls "COM2:"
                should now be known as "/dev/tty01" or "/dev/cua01".

                For more information on the use of multi-port boards, read
                the documentation which accompanies the serial patches.

  5.  Dial-out ......  (character) ..  tty cua*
        0.  /dev/tty:  the tty that owns the process calling it.
        64-127.  /dev/cua[0-?][0-63]:  Dial-out serial ([controller][port]).
                (See Major #4 for NEW NAMING CONVENTION.)

  6.  Parallel ......  (character) ..  par[0-2] lp[0-2]
     Parallel (printer) ports.  (Increasable in include/linux/lp.h)
        0.  /dev/par0 (/dev/lp0):  First XT parallel port
        1.  /dev/par1 (/dev/lp1):  First AT parallel port
        2.  /dev/par2 (/dev/lp2):  Second AT parallel port

        Notes:  The number of line printers is defined by LP_NO which is
                found in [/usr/src]/linux/include/lp.h.

  7.  Unused.  (First come, first serve.)
        This one's getting old.  No minor numbers are yet assigned.
        It's not even in the source code.  Maybe it never will be...

  8.  SCSI-Disk .....  (block) ......  sd[a-h]<[0-8]>
        Minors numbers are ((16 * Drive) + Partition)
        where
          Drive is the number of the physical drive in order of detection
        and
          Partition is as follows:
                0   is the whole drive
                1-4 are the DOS "primary" partitions
                5-15 are the DOS "extended" (or "logical") partitions, so...

        0.  /dev/sda (/dev/sda0):  The first (detected) SCSI drive.
        1-4.  /dev/sda[1-4]:  Primary partitions on the first SCSI drive.
        5-15.  /dev/sda[5-15]:  Extended partitions on the first SCSI drive.
        16.  /dev/sdb (/dev/sdb0):  The second (detected) SCSI drive.
        17-20.  /dev/sdb[1-4]:  Primary partitions on the second drive.
        21-31.  /dev/sdb[5-15]:  Extended partitions on the second drive.
        32.  /dev/sdc (/dev/sdc0):  The third (detected) SCSI drive.
        ...and so on.

  9.  SCSI-Tape .....  (character) ..  <n>st[0-1] or <n>rmt[0-1]
        0.  /dev/st0:  First (detected) SCSI tape drive, rewind-on-close.
        1.  /dev/st1:  Second (detected) SCSI tape drive, rewind-on-close.
        128.  /dev/nst0:  First (detected) SCSI tape, *no* rewind-on-close.
        129.  /dev/nst1:  Second (detected) SCSI tape, *no* rewind-on-close.

 10.  Mouse .........  (character) ..  logibm psaux inportbm atibm (mouse)
     (MGR may require that /dev/mouse be linked to one of these...)
                NOTE THE CHANGES TO DIFFERENTIATE MOUSE TYPES!
                (Please implement these in the distributions.)
        0.  /dev/logibm:  Logitec-'compatible' bus mouse
        1.  /dev/psaux:  PS/2 mouse port (may not work on some lap-tops, yet)
        2.  /dev/inportbm:  MicroSoft "InPort" bus mouse
        3.  /dev/atibm:  ATI XL bus mouse

 11.  CD-ROM ........  (block) ......  scd[0-1]
        0.  /dev/scd0:  The first (detected) SCSI CD-ROM.
        1.  /dev/scd1:  The second (detected) SCSI CD-ROM.
        ("There's not much more to it than that" says Eric Youngdale.)

 12.  QIC-tape? .....  (character) ..  rmt{8,16} tape<{-d,-reset}>
     (I really don't have much info on this one... )
        6.  /dev/rmt8:  QIC-120
        8.  /dev/rmt16 (/dev/tape):  QIC-150
        136.  /dev/tape-d:  (It has something to do with being 128+8... ?)
        255.  /dev/tape-reset:  For resetting only.

 13.  XT-disk .......  (block) ......  xd[a-b]<[0-8]>
     XT (8-bit) hard disk controller devices.
        Minor numbers are assigned in the same manner as for the
        normal (AT-type) Hard Drive devices ("/dev/hd*").

 14.  Audio .........  (character) ..  audio dsp midi mixer sequencer
        0.  /dev/mixer:  Mixer and Control Device
        1.  /dev/sequencer:  FM-synthesizer and Midi
        2.  /dev/midi:  (for future use)
        3.  /dev/dsp:  Digitized voice (DAC/ADC)
        4.  /dev/audio:  (Reserved for compatibility with Sun)

 15.  Joystick ......  (character) ..  js[0-1]
        0.  /dev/js0:  (Left/Right?) joystick.
        1.  /dev/js1:  (Right/Left?) joystick.

 16.  Socket ........  (character) ..  net arp
        0.  /dev/net:  Generic layer (sockets)
        1.  /dev/arp:  Address Resolution Protocol (ARP)

 17.  AF_UNIX .......  (character) ..  unix
        0.  /dev/unix:  AF_UNIX protocol layer

 18.  AF_INET .......  (character) ..  inet ip icmp tcp udp
        0.  /dev/inet:  AF_INET protocol layer
        1.  /dev/ip:  Inernet Protocol (IP)
        2.  /dev/icmp:  Internet Control Message Protocol (ICMP)
        3.  /dev/tcp:  Transmission Control Protocol (TCP)
        4.  /dev/udp:  User Datagram Protocol (UDP)

 19.  WE-driver .....  (character) ..  we[0-3]
        0-3.  /dev/we[0-3]:  "WE" driver

 20.  DP8390-driver .  (character) ..  wd[0-3] ec[0-3] ne[0-3]
        0-3.  /dev/wd[0-3]:  "DP8390" driver, WD8003
        8-11.  /dev/ec[0-3]:  "DP8390" driver, 3C503
        16-19.  /dev/ne[0-3]:  "DP8390" driver, NE2000

 21.  Sony-CD-ROM ...  (block) ......  sonycd
        0.  /dev/sonycd:  Sony CDU-535 CD-ROM, I think.

 22.  2nd AT-Cntrlr .  (block) ......  hd1[a-b]<[0-8]>
     Minor numbers are like those of the primary AT-Disk controller.
        THIS MAY WORK FOR HARD-CARDS.
     (Note the "1" in the device name for the secondary controller.
      This is because we may eventually wish to change the names of
      the primary-controller drives to "hd0[a-b]...".)

 23.  Mitsumi CD-ROM   (block) ......  mcd
     I don't know much about this one.

 31.  Link Interface   (character?) .  ???
        0.  ???
     Link Interface for use with Christoph Niemann's driver for the
     INMOS C012-based high-speed serial link interface card (useful
     for talking to transputers or video digitizers).


  VI.06)  (Chuck Boyer) Could some one clear up the devices meaning?

ANSWER: (Jim Winstead Jr)
>port

This allows programs to access the hardware ports directly.  Not
something you generally mess around with much.

>ptyp0-3
>ptypa...tty

These are the pseudo-tty 'master' devices.  Each pty connection uses
a slave-master set of tty devices.

>tty0...

tty[1-8] are the virtual consoles associated with Alt-F[1-8].  tty0 is
the current virtual console (so writing something to tty0 goes to the
current vc).

>tty64 I've figured out is the modem connection

Yes, that would correspond to COM1 under DOS.  However, the tty64 name
is obsolete - ttys[1-4] should be used instead.

>ttyp0...
>ttypa...

These are the pseudo-tty 'slave' devices.

>ttys1...

These are the serial devices.  ttys1 corresponds to COM1 under DOS,
ttys2 corresponds to COM2, etc.



VII. MORE HINTS 
=============== 

This part try to keep track of the different information
that appeared in comp.os.linux and on the list since beginning of
March. I tried to update it for KERNEL_VERSION, so there might be some
mistakes. Moreover take care to use the correct library and include
stuff, and the ad-hoc gcc you use !!!


 VII.01)  Where is 'which' ?

ANSWER: It depends on the sh you are running:
in bash 	'type -path'
in tcsh		it's a builtin

for rc you can try the following (untested by me) script from
Kevin Brown: 

#!/bin/sh
for i in `echo $PATH | sed 's/:/ /g'` ; do
  for j in ""$@" ; do
	if test -x "$i/$j" ; then
	   echo "$i/$j"
         fi
  done
done

 VII.02)  How to use setterm: for the novice?

ANSWER:The setterm utility provides access to most of Virtual Consoles
(VCs) functionality.  You can set your screen up to blank at 10
minutes using:
	        setterm -blank 10

You can set colors, and clear the screen.  For a full list of commands,
just type "setterm" with no arguments.
        
There are a few tricks with the screen dumper can really make VCs go a 
long way.  Here are a few of the common ones that I use:

		setterm dump

Dumps the contents of the current VC to screen.dump (in the current dir).
					
		setterm dump 4
				
Dumps the contents of VC 4 to screen.dump
		
		setterm -file mydumpfile -dump 4

Dump the contents of VC 4 to the file mydumpfile

		setterm -file /dev/tty0 -dump 4

Dumps the contents of VC 4 to the current VC.
					
		setterm -file /dev/tty4 -dump

Dumps the contents of the current VC to VC 4.
		
		setterm -file /dev/ttys1 -dump
				
Dumps the contents of the current VC to the serial port.
Handy if you are logged on and want to paste a screen full without
having to resort to doing a file transfer.

		setterm -file mydumpfile -append 4
				
Appends to instead of overwriting the dump file.  Useful if you
have several screens you wish to concatenate.


 VII.03)  I've tried clear/reset which exist on most of unix but it
doesn't work, have I missed something? 

ANSWER: setterm -clear or setterm -reset will solve your missing.  For
clear, you can also write a small script (which use the cl: part of
/etc/termcap wrt your TERM), or use bash where ctrl-l will do it for
you.


 VII.04)  I know there are VC, but where is the setterm stuff?

ANSWER: It's in the current distribution (i.e. on the images), the
source can be found in virtcons.tar.Z at nic.funet.fi


 VII.05)  I know there are shared libraries; does there exist an easy
way to check an executable for sharing ? 

ANSWER: (Claude Morin:) There exists at tsx-11 ldd.tar.Z If you follow
the instructions, you will be able to type "ldd <executable>" to List
the Dynamic Dependencies of the executables. In other words 'ldd'
prints the name of the shared libraries needed by the executable,
nothing appears for static one. 

 VII.06)  What is the rdev program provided in the images?

ANSWER: It's a program from Werner Almesberger of ETH. With no
argument it prints the first line of /etc/mtab. With one argument, a
boot-image, it prints the device configured as the root device, and
with two arguments, a boot image and a device, it sets the device as
default root in the specified image.


 VII.07)  How to start Linux from drive B?

ANSWER: There is a DOS utility called boot_b.exe (look at DOS ftp).
Another simple way is to open the box and invert the cables.


 VII.08)  The program boot_b works fine /but/ once the first disk is
read the system go back to the first drive, any hints?

ANSWER: Yes, change the bootimage in just the same way that you change
it to boot on the hard drive, execept that the major/minor pair is
different. All these information are in the file INSTALL-0.10.
Remember that if you use a sun or other endian machine, you will need
to reverse the byte order when you run the filter program (also in the
same file).


 VII.09)  How can I get Linux to boot directly from the harddisk?

ANSWER: (Rick) The best option right now is LILO. You can find the
last version in the following places:
on sunsite.unc.edu in /pub/Linux/system/Linux-boot/lilo
on tsx-11.mit.edu  in /pub/linux/packages/lilo. 

The files are

    lilo.nn.tar.z      source and documentation
    lilo.u.nn.ps.z     user's guide in PostScript format
    lilo.t.nn.ps.z     technical overview in PostScript format
(*) lilo.u.nn.dj.z     user's guide for HP DeskJet
(*) lilo.t.nn.dj.z     technical overview for HP DeskJet

Where nn is the last version (in July it's 11). 

(*) The HP DeskJet files are only on sunsite.unc.edu.

 See Section III of this FAQ for LILO information.

 VII.10)  Sometimes, when I want to remove a directory, I get an error
message, is it a (known) bug?

ANSWER: No, There is no bug at all, you probaly have another shell 
on another VC whose working directory is either the one you try to 
remove, either a subdirectory of it.


 VII.11)  I'm looking for init, getty, login, passwd stuff, where 
can I find them? 

ANSWER: You should find it in shadow.tar.Z (only sources), at least 
at tsx in the usr.bin directory. Many people have reported some troubles 
with the *OLD* shadow-passwd (shadow-bin.tar.Z and shadow-src.tar.Z, so 
do not use them anymore); an alternative might be the mcc-interim
which contains standard passwd binary. There is also the Peter Orbaek's
admutil-1.?.tar.Z and poeigl-1.?.tar.Z which contains source for
shutdown, su, chsh, passwd and a system V init compatible. 


 VII.12)  How can I setup a user account other than root ?

ANSWER: You can either use the adduser program, either do it manually.
In the later case, you have to:
a) edit /etc/passwd as root and add a line of the following format:
user:passwd:uid:gid:user name:home directory:login shell

user is the login name; uid is the numeric user id, it should be
unique; gid is the numeric group id, this number should correspond to
an entry in /etc/group. The passwd field should be left blank 'cause
it is stored in an encrypted form [to set this field just use the
passwd program].
example
faq::200:5:Marc-Michel:/home/faq:/bin/sh
b) Still as root, you shoud now create the home directory and set the
correct ownership.
mkdir /home/faq
chown faq /home/faq
chgrp 5 /home/faq

 
 VII.13)  I've been trying to get Linux to run on my [3/4]86 box. It
can't even boot. Any suggestions?

ANSWER: The most common error/problem is writing the bootimage to a
low density disk. It fits, but the bootstrap code will only recognize
high density disk. So try to format explicitely disk as high density:
- for 3.5",  'format a: /n:18 /t:80 '
- for 5.25", 'format a: /n:15 /t:80 '


 VII.14)  Does there exist games, languages (other than C), and
anything which make the system more friendly?

ANSWER: Yes, among other things there are rogue and yahtzee; TeX;
Prolog, Perl.. but in general, if you want some extra tool port it to
Linux this is also a good beta-testing exercice. 


 VII.15)  I have an SVGA, but Linux detect an EGAc/EGAm; is it normal?

ANSWER: (Jim Winstead) This is correct actually. You have an EGA+ card
(SVGA) with a Color/Mono monitor. The only four possibilties are EGAc,
EGAm, *MDA and *CGA (according to the code in
kernel/chr_drv/console.c).
The true test, if Linux detects your video card, is if you press
<RETURN> at the "Press <RETURN> to see SVGA- ..." boot-time message.
If you have a SVGA  recognized card, it will ask you to choose a
screen size. If not detected, the default is 80x50 mode. 
BTW if you have no SVGA, press the <space> and you are in 80x25 mode.

If you have dowloaded the kernel, you can automatically skip this
query at boot-time if you set the SVGA_MODE variable in the main
Makefile before compiling a new bootimage. 


 VII.16)  How can I change the keyboard repeat rate?

ANSWER: (Michael K Johnson) In boot/setup.S there are the lines:
! set the keyboard repeat rate to max
	mov	ax,#0x0305
	mov	bx,0x0000
	int	0x16

If you don't want to change the repeat rate at all, just comment out
these lines. If you want something in the middle, change the
	mov	bx,0x000
by	mov	bx,0x??yy
where ??yy is determined by (Ralf Brown's interrupt list)
bh= delay value (0x00 = 250ms to 0x03= 1000ms (one sec))
	this is the delay before the repeat is performed
bl= repeat rate (0x00 =30/sec to 0x1f=2/sec; 0x0c=10/sec [default])


 VII.17)  I compiled fdformat.c and ran it on 1.44Mb and 1.2Mb, the
results are unreadable, any clue? 

ANSWER: (M. Pereckas) fdformat only low-level formats the disk. to use
the fdformatted disk with DOS filesystem, run mformat on the disk.
Mformat writes DOS filesystem information but is unable to low-format
:). In order to put a Linux filesystem on a (low)formatted disk you
have to mkfs it. 

 VII.18)  Is it possible to disable the 3-fingers salute (ctrl-alt-del) ?

ANSWER: Yes, in kernel/sys.c you can read the following:

/*
 * this indicates wether you can reboot with ctrl-alt-del: the deault is yes
 */
static int C_A_D = 1;

there is also a small utility written by Linus in digest242 vol#2


 VII.19)  Could some one explain the information provided at boot-time?

ANSWER: (Jim Winstead Jr)
> serial port at 0x03f8 is a 16450 
> serial port at 0x02f8 is a 16450 (what's that the uart chip?)

Right, the last number should either be 8250, 16450, 16550, or 16550a,
and on the two 16550 models, it will report that FIFO's have been
disable (16550) or enabled (16550a).

> 8 virtual consoles (that's how many alt-F's I can get going?                 
>      but only F1-4 actually work)

You can get sessions running on Alt-F[1-8], but the 'standard'
/etc/inittab only runs getty/login on Alt-F[1-4].  You can start
sessions on the other consoles by using 'doshell' or adding lines to
/etc/inittab.

> 4 pty's (are these the consoles F1-4?)

No, those are 'pseudo' ttys, which programs like MGR use to simulate
tty connections.  That's probably a gross over-simplification, but it
gives you the general idea, I think.  :)

> p_init: lp1 exists (0) (is that the (l)ine (p)rinter?)

Right.

 VII.20)  I have upgraded the kernel from XX to YY (XX > YY), however the
login screen still says YY.

ANSWER: Just change the message in one of these files: /etc/issue and
/etc/motd. The former contains the message before the login, the later
is the one after you are logged in.

 VII.21)  What is doshell good for ?

ANSWER: It's an old program provided in the early Linux version (0.12)
when the getty was not already there, it spawns a shell on any tty's.
(Mattew Gream): I do this quite often ( getty on tty1, 2, 3 and my
rc.local spawns a shell on tty4 as follows
	 '/usr/bin/doshell /dev/tty4 /bin/tcsh &'


 VII.22)  I don't have the kernel sources, how can I change the keyboard
language?

ANSWER: You can use the fixkbd program written by Laurent JULLIARD
(Laurent_JULLIARD@grenoble.hp.com). Its purpose is to fix the keyboard
map used in your kernel image. It works more or less a la "rootdev"
(or rdev). It can be found on tsx-11.mit.edu in
/pub/linux/binaries/sbin/fixkbd.tar.Z.  


 VII.23)  Does there exist a possibility to track down the source of
kernel pannic messages ?

ANSWER:  Here's info from Linus on how to track down the source
of kernel panic messages. The values for EIP, address, and so on are
JUST EXAMPLES: the EIP, EFLAGS, etc. can be anything.

The lines after ">" were written by me; the responses by Linus.

> Unable to handle kernel paging request at address C000000A

This means something in the kernel tried to access kernel memory at
address 0x00A (the C0000000 offset is due to the kernel starting at
virtual address 0xC0000000).  The first page of kernel address space is
unmapped to find these kinds of incorrect references (it's probably a
NULL dereference to a structure member at offset 0xA). 

> Oops: 0002

Error code. This tells you if it's a read or write (forget which ritgh
now, and don't have any books handy)

> EIP: 0008:000290D2

This is where it happened: segment 0008 (kernel code segment) and offset
0x290D2 into the kernel. So to find this, you generally do something
like

	nm /usr/src/linux/tools/system | sort | less

and search for the function that contains the address 0x290D2.

> EFLAGS: 00010087
> fs: 0017

Eflags and fs when the exception happened. You usually don't need this.

> base: C0000000, limit: 000A0000
> Pid: 0, process nr: 0

In what process the exception happened. This is the swapper, which also
means the thing is fatal (other processes you can just kill). That it's
in the swapper process probably means that it's an interrupt that did
it, as the swapper doesn't really do anything.

> 89 50 04 c7 03 00 00 00 00 c7

This is the instruction that resulted in the error.  I usually
disassemble them by hand and see what it is, then I try to find out
exactly where in the function this assembly sequence comes up (probably
by compiling the .c file to a .s file and looking around). 
Alternatively you can just run 'gdb' on /usr/src/linux/tools/system, but
gdb has some problems. 

> task[0] (swapper) killed: unable to recover
> kernel panic: Trying to free up swapper memory space
> In swapper task - not syncing

This is just to tell you not to expect anything from the kernel any
more: linux cannot go on without the swapper task.

> How can I decode the numbers in the message? 
> Also, note that sometimes the "Unable to handle..."
> message is followed by the "Oops: 0002" block, but
> the last message is sometimes something else (i.e. not
> always a "task[0] (swapper)...." message, but something
> from the TCP driver in this case. 

It depends on where it happened. If it's an interrupt, it can
essentially happen in any task (all interrupts are handled in the task
that happens to be currently active), while "normal" code happens in the
task that calls it.


	   ===================8<==========>8================

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#	LaBRI 			 |					    #
#  351 cours de la Liberation    |  e-mail:  corsini@geocub.greco-prog.fr   #
#  33405 Talence Cedex		 |  e-mail:  corsini@labri.u-bordeaux.fr    #
#  				 |					    #
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- 
	 There will be a sig when our local net is reliable.
	       For now, I would rather stay anonymous.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1993-07-21  9:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-06-10 13:15 Linux Frequently Asked Questions: TABLE OF CONTENTS [monthly posted] corsini
1993-06-10 13:16 ` Linux Frequently Asked Questions 1/6 " corsini
1993-06-10 13:16   ` Linux Frequently Asked Questions 2/6 " corsini
1993-06-10 13:16     ` Linux Frequently Asked Questions 3/6 " corsini
1993-06-10 13:16       ` Linux Frequently Asked Questions 4/6 " corsini
1993-06-10 13:17         ` Linux Frequently Asked Questions 5/6 " corsini
1993-06-10 13:17           ` corsini
  -- strict thread matches above, loose matches on Subject: below --
1993-07-21  9:52 Linux Frequently Asked Questions 3/6 " corsini
1993-07-21  9:52 ` Linux Frequently Asked Questions 4/6 " corsini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox