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 4/6 [monthly posted]
@ 1993-07-21  9:52 corsini
  1993-07-21  9:52 ` Linux Frequently Asked Questions 5/6 " corsini
  0 siblings, 1 reply; 8+ messages in thread
From: corsini @ 1993-07-21  9:52 UTC (permalink / raw)


Archive-name: linux-faq/part4

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

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

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

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

	VIII. 	FEATURES 			(part4)
	IX. 	GCC MISC INFORMATION		(part4)
	X.	SCSI SPECIAL			(part4)

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


VIII. FEATURES 
==============

VIII.01)  I've read that linux has virtual consoles, what must I do to
get them?

ANSWER: Yes there are, you can access them with the left <alt>-key
together with <Fn>-key. With the Linux Images distribution, 4 consoles
are available, getty runs on them.  
Notice that they are NOT accessible when running X (contrary to some
commercial unices).

VIII.02)  When Linux boots, I get the following message "8 virtual
consoles"; how can I acess to the 5-8 vc's ?

ANSWER: If you want the getty to run on the 5-8, you should add the
corresponding entries in /etc/inittab. You can also just run sh on
them by using the doshell soft.
And then in either case, the ALT-F[5-8] will access the corresponding
vc.  

VIII.03)  What kind of shell is /bin/sh ?

ANSWER: It's the Bourne Again Shell, bash-1.12.3 
BTW There does exist different shells for Linux, these are:
bash, rc, zsh, tcsh and pdksh (a korn shell).


VIII.04)  Does there exist a man page for **** ?

ANSWER: Download man.tar.Z from your favorite linux ftp site, there is
most of the fileutils man page -- either **** or g****, example there
is nothing on ld, but there is for gld :) --, check the whatis
database provided. The files in the cat1 dir are pre-formatted man
pages that the man program can use. Quite recently the man pages for
section 2 have been written (thanks Drew) and can be found, at least
at tsx-11 in /pub/linux/docs/man/man2.tar.Z 

Also manpages are in the SLS on the b? disks.

BTW there is nroff and groff for Linux. Cawf 2.0 works just
fine for simple man pages, and a partial ms support too. 


Moreover Michael Johnson is the coordinator for man pages under Linux,
he is looking for volunteers, so contact the DOC Channel.

VIII.05)  Is there a simple man package (groff is too big):

ANSWER: "Cawf -man" also "fm -m" (Al Clark) tsx-11 in
	 /pub/linux/binaries/usr.bin/fm.tar.Z 


VIII.06)  What are the editors available in linux?

ANSWER: Right now there are uemacs-3.11, elvis-1.4 (1.5). 
Gnu Emacs is there, read the section devoted to it in the 5th part of
this FAQ. Also the port of mg (micro gnu) has been done and can be
found at least at athos.rutgers.edu (128.6.4.4) 
in pub/linux, mg is the binary and mg.tar.Z is the sources file. You
can also find a PD ed, and elvis has an ex mode. Also available is
Lucid Emacs (available on sunsite.unc.edu in
pub/Linux/apps/editors/lemacs), including binary and info and lisp
trees (it takes about 18MB of disk space). Finnally there are
joe, vile-3.11, elle (Elle Looks Like Emacs), Xedit and aXe.

VIII.07)  Does there exist a printer package for Linux?

ANSWER: Read the lpd-FAQ, also included in this FAQ (section XIV).

VIII.08)  Are uucp, mail, and/or USENET news available for Linux?

ANSWER:    Yes !!!  Read the section UUCP/NEWS/MAIL for LINUX in this
FAQ. Moreover if you are interested in the last uucp features, join
the UUCP channel (see  part1 of this FAQ for more details about the
multi channels list). 

VIII.09)  How do I make swapping work?

ANSWER: Quite simply, you need the swapon and the mkswap binaries.
Then you can choose between a swap partition or a swap file.
The mkswap is used to write the "swap signature", whilst the swapon
binary is to activate the swapping. 

First of all you need a partition :), I assume it's the second of your
first disk namely /dev/hda2, and it's 10MB big
A) swap partition:
you have to indicate it's a swap area, this is done via mkswap
(instead of mkfs) which needs the name of the partition and the size
in blocks (a block is 1Ko big); the optional -c flag is for bad block
checking. So for our example you should perform:
mkswap [-c] /dev/hda2 10000
Then you need to indicate that you want linux to use the swap area,
this is done via swapon. In general it is set in the /etc/rc file,
just put the following entry:
/bin/swapon /dev/hda2
It can also be achieved via the /etc/fstab file
B) swap file:
The process is quite close; you need a partition, and a swap file.
Assume that I prefer a swap area of 4MB (I want to keep some place in
/dev/hda2). I need first to "dd" the file.
dd if=/dev/hda2 of=/swap_file bs=1024 count=4096
bs stands for block size, and count is the number of blocks
then I have to put the "swap signature" on that file:
mkswap /swap_file 4096
At this point, you should 'sync', just to be sure the signature is
effective. And finally add an entry in the rc file:
/bin/swapon /swap_file


VIII.10)  When I boot I get one of the following messages:
"Unable to find swap signature" or "Bad swap-space bitmap"

ANSWER: You probably forgot to make your swap-device, use the mkswap
command. 


VIII.11)  How do I know if it is swapping?

ANSWER: You will notice it :)) First of all, Linux tells you at boot
time, "Adding swap: XXX pages of swap space", and if you start running
out of memory, you will notice that the disk will work overtime, and
things slow down. Generally a 2Meg RAM will make the system swap
constantly while running gcc, 4 Meg will swap occasionnaly when
optimizing big files (and having other things active, such as make).
Also, the command 'free' (from the ps package) reports total enabled
swap space and current swap use.


VIII.12)  How is it possible to remove a swap file?

ANSWER: Simply perform a rm on that file, and remove the swapon of
your /etc/rc file.


VIII.13)  How is it possible to remove a swap device?

ANSWER: mkfs the device, and remove the swapon of your /etc/rc file.

VIII.14)  How much swap space do I need ?

ANSWER: Linux does not perform real swapping, it's rather paging (see
below for a more complete explanation). The swap area is *added* to
the memory and can be viewed as virtual memory, so choose the size you
need, example:

		8MB RAM + 6MB swap => 14MB virtual memory

VIII.15)  Could someone explain the swap process on Linux?, is it
swapping or paging ?

ANSWER: (Linus) Linux uses swap as /additional/ memory, one page of
the swap-space is used for the good-page bitmap and the swapspace
signature. 
In fact Linux does only paging, no swaping in the meaning "write out
one whole process to disk".
The reason it's called swapping is that Linux used paging for memory
management on a low level since the very beginning, but didn't page to
disk at all until 0.12. 

VIII.16)  Is there any way to tell how much swap space you are using
or have left? 

ANSWER: The free program provided with the ps package handles this.

 
VIII.17)  I have a 2Megs box, but "free" reports only 1Meg why?

ANSWER: (Linus:) "free" doesn't concern with the memory the kernel has
allocated for itself. In other words what you see is the *user* memory
available. The kernel has taken the low 1Meg for it's use (~250Ko for
it and the rest for buffer cache and kernel data structures); for big
memory machine it could be even 2Megs.

VIII.18)  What tape drives work with Linux ?

ANSWER: (24 sept. P. Riipinen)
- There is a working QIC-02 device driver for Linux, supporting (at
  least) Everex/Wangtek cards.
- There are additional patches for the QIC-02 to support Archive
  SC402/499R. You can find them in /pub/linux/alpha/qic-02 at tsx-11
  There are some bugs in the driver but you can backup.
- Newer drivers are all SCSI, so check the SCSI section in this FAQ.


VIII.19)  Is there a driver for my Colorado Jumbo tape drive ?

ANSWER: (Charlie Brady 93/06)
Not at this stage, although some are trying. The Colorado Memory
Systems tape drive connects to the standard floppy disk controller as
a third device on the cable. Similar drives are sold by Irwin,
Mountain, Wangtek and others and they are collectively known as QIC-40
and QIC-80 drives. The medium is a DC-2000 or DC-2120 minicartridge.
There is a pre-pre-alpha version of a driver, and appropriately
skilled volunteers are encouraged to try to finish it.  Be warned, the
timing constraints of the interface may be a significant problem.


VIII.20)  Does there exist shared libs ?

ANSWER: (H.J. Lu, hlu@eecs.wsu.edu, 09/01/92)

The shared library under Linux started at 0.12. Peter MacDonald
collaborating with Linus made the first generation of shared library,
which is the base of the classic shared library which is no longer widely
used.

The kernel support of shared library under Linux is system call

extern int uselib (const char *__filename);

which loads an executable image with fixed entry point into memory,
just like the ordinary executables.

In crt0.s, a function which can find out if and which shared images
are needed and loads them is invoked before `main ()' is called if
necessary. David Engel and I developed a way to tell the loader which
shared images have to be loaded, utilizing the similar technique used
in global constructor in g++ 2.x with the help from GNU binary
utilities.

In the classic Linux shared library, we build a big executable image 
for several libraries and make sure no external variables outside of
the participating libraries are referenced. Then we can get the
absolute addresses of all the global variables defined in the
libraries used to build that executable image. After that, we make a
stub library for each participating library which just has the
absolute addresses of all the global variable in it.

Starting with libc.4.3, a form of dynamic linking developed by Eric
Youngdale was introduced into the shared libraries.  As part of this,
the tools that were used to generate the sharable libraries were
completely redone which made the job of building the libraries much
easier, and thus the libX*.so.3.0 libraries were made as DLL jumptable
libraries.

VIII.21)  Does Linux work for SCSI drives?

ANSWER: Yes since v0.96. Read the section devoted to SCSI in this FAQ
(check the TOC file to find the section).


VIII.22)  Linux is supposed to work with ESDI drive. However I have
trouble with my Magtron MT-4115E (Joincom controler), any clue?

ANSWER: (Linus) Some harddisk don't like linux (even though they
should). Maybe not a bug but a deficiency.
(Mika) I had to remove the printk "unexpected hd interrupt" statement
in hd.c because I was getting so many of those messages. Be warned
that if there is any read error the system just hangs, even the
ctrl-alt-del won't work. You should be able to use your ESDI drives if
you could live with those nuisances.

VIII.23)  How does one go about applying a patch to Linux ?

ANSWER: (Drew Eckhardt) In the unix world most of distribution are in
source form. This includes the operating system. To apply a patch, you
apply it with the 'patch' program to the affected sources. The patch
program takes as input the differences between the old and the new
version. After patching you need to recompile the sources.

Assume I want to apply a patch enclosed in the file XXX. First of all
I will look at the top of XXX, where the file affected is identified.
This may have aleading path attached to it. Either cd out to the
"root" of the patch, ie if I see
linux/kernel/blk_drv/blk.h

I would cd into /usr/src 
(assuming it's the place where I can find linux/kernel...) 
and then patch as follows
patch -p0 < whatever_place/XXX

or, you can specify a number of path components to strip from the
path. If I am in the blk_drv directory patching would be
patch -p3 < whatever_place/XXX


VIII.24)  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?

ANSWER: Before remake, just do a make clean in the directories
involved by the patches. This will force a rebuild of the .o and .a
files. 
If you have a RCS running on your source tree, did you checked a
patched version of the files changed before /any/ CO either by you or
make

Finally, make sure the patches succeded. Normally, failed patches on a
file FILE will leave a FILE# file. Moreover you will get a "chunk
failed" message. It is possible to capture the output while patching,
with the following:

	patch -p0 < patchfile | 2>&1 patch.result | more


VIII.25)  What is VFS?

ANSWER: (Ted) Linux 0.96 already has Virtual FileSystem, which means
that it acts as a filesystem switch. It makes it easy for someone to
design another filesystem format and include it in the Linux kernel
along with the standard minix filesystem format. So it /enables/
someone to design a robust filesystem which would have some nice
properties (no 14 chars file name limitation, nor 64Meg limit), and
could be included in the kernel in such a way that both the Minix and
the new one could be mounted at the same time. This solves the
uncompability problem; since the root disk could still use the Minix
filesystem, while the hardisk could be using the new one.



VIII.26)  What's about Bus Mice ?

ANSWER: (Nathan I. Laredo) Since the Linux v0.96c-pl2 the kernel does
support LOGITECH and BUS MICE 
If you are unsure that you have a bus mouse or not, check to see if
your mouse card has a selection for a sample rate switchable between
30Hz and 60Hz (or possibly 25/50Hz), if it does not, then it is NOT a
true  bus mouse (InPort mice for example will not work with this
driver). 
To create a bus mouse device:
mknod /dev/mouse c 10 0


VIII.27)  What's about TeX ?

ANSWER: The primary site for Linux TeX is 129.78.66.1, this is 
P. Williams' site in Australia. The stuff at tsx-11 was posted by 
T. Dunbar  who does support/maintain the dvilj stuff.


VIII.28)  What's about MGR ?

ANSWER: (General Information grabbed from various sources)
There is a MGR channel available , contact the request adress with
help in the body: linux-activists-request@niksula.hut.fi 
The stuff can be found at tsx-11 in pub/linux/packages/MGR
In brief:

MGR provides:
	- multiple overlapping windows
	- multiple fonts
	- text and graphics in each windows
	- a simple popup menu package
	- a client/server model 'a la' X
	- independance from any peculiar networking technology

MGR consist of a server process and some clients. Each client has his
own window, and can create subwindows. Clients communicate with the
server via a bidirectionnal channel. A C library is provided.

When a new window starts, it is as a terminal emulator running the
shell; for more information you can grab the mgr-man.out from
bellcore.com 


A MGR-FAQ is underway, contact u31b3hs@POOL.Informatik.RWTH-Aachen.DE
for more information. 

VIII.29)  What's about X11 ?

ANSWER: See the section XII. devoted to X11 in this FAQ.



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

**** Last update July 1993

  IX.01)  What C compiler should I use for Linux ?

ANSWER: The C compiler of Linux is GCC (from GNU). You can find it at
tsx-11.mit.edu in pub/linux/GCC. If you want to use the testing
release, first join the GCC channel on the Linux mailing list, and
then send a note to hlu@eecs.wsu.edu. Don't use gcc older than the one
on tsx-11.mit.edu. 

  IX.02)  Where can I found information about the C compiler ?

ANSWER: Have a look at tsx-11.mit.edu in pub/linux/GCC. There are
a README file, release notes and the GCC FAQ written by Hongjiu Lu.

  IX.03)  I seem to be unable to compile anything with gcc. Why?

ANSWER: If you have only 2 MB RAM, gcc will die silently without
compiling anything. You must have at least 4 MB to do compilations

BTW Since swapping is possible, I have heard that compilation works 
with only 2Meg and a lot disk traffic :) Isn't it great?

  IX.04)  How to compile programs which may be debugged with gdb?

ANSWER: There are different ways to handle this problem. If
you have the gcc2.2.2 or later it's simple, use the -g flag. Otherwise
there are different possibilities:


  IX.05)  When compiling some code, cc1 complains about some insn
code, what's that? 

ANSWER: An insn is an internal representation that gcc uses when
compiling. The main part of gcc is to take ordinary c (or c++) code,
and compile it, while ding optimizations in insn part, which is
soft/hard independant. Then another part which is hard/Os dependant
takes the insns and translate it in assembly language. The fix is only
to turn off the optimization flag (-O). 

  IX.06)  How can I write codes suitable for building shared library ?

ANSWER: (Eric Youngdale, eric@tantalus.nrl.navy.mil, 3/1/93)
  
In general there are very few restrictions as long as you are using the
new tools for building sharable libraries.  Before the DLL libraries were
available there were all kinds of things you had to watch out for, but
currently you can more or less build a sharable library out of the box
without making any source code modifications.  See the README in the
tools-m-n.tar.z distribution for more information on how to build a
sharable library.  


X. SCSI SPECIAL
===============
*** This section is written by Drew Eckhardt, mail him for
*** information, questions related to this section.
*** Last update July 1993.

   X.01)  What hardware is supported?

ANSWER: The Adaptec 154x, Adaptec 174x, Adaptec 1540 compatable boards like 
the Bustek, DTC3290 and DTC3292, Future Domain 850, 885, 950,
and probably other boards in that series but NOT the 880 board unless
you make the appropriate patch,  16x0,  Seagate ST0x, Ultrastor 14F (Some 
of the new ALPHA code makes attempts to deal with the 34F) and Western 
Digital 7000 are supported (revision 5 only, revision 3 boards don't work).  
Various Adaptec clones from Bustek and Future Domain are known to work, in 
both ISA and EISA flavors.

There is an alpha driver for the Ultrastor 24F, that also works 
for the 14F and 34F : 

tsx-11.mit.edu:/pub/alpha/scsi/u24f-driver.tar.z

There is also an alpha driver for the ALWAYS IN-2000, 
in his News posting <C6x7FK.IIr@ra.nrl.navy.mil> Eric said that people 
could contact the author through him - 

"Eric Youngdale" <eric@tantalus.nrl.navy.mil>

Some of the SCSI drivers will not autodetect your SCSI host if the 
BIOS is disabled, and there may be IRQ, DRQ, address restrictions 
compiled into the distribution kernel.

Virtually all SCSI disks, CD ROMS, and tapes should work.

SCSI-I, SCSI-I CCS, and SCSI-II devices will work, all though
beyond a few CD-ROM ioctl()'s no attempt is made to use SCSI-II
specific features.
  
   X.02)  What hardware is not supported?

ANSWER: The Adaptec 152x, 151x, and AIC-6260, non-Adaptec compatable DTC, 
Mylex, PS/2 SCSI boards, all SCSI ports on sound boards, the trantor 
parallel->SCSI adapter, Rancho SCSI boards, Grass Roots SCSI boards, 
Trantor SCSI boards (although a T128/T128F/T228 driver is being written) 

If you want to run Linux on one of the other boards, you'll have to 
get technical docs on it, and write a driver yourself or bribe someone 
to do it.

   X.03)  How do I get SCSI information?

ANSWER: Subscribe to the SCSI channel of the linux-activists mailing list.
mail linux-activists@joker.cs.hut.fi 
And put in the header.
       X-MN-Admin: join SCSI

   X.04)  Where is the latest version maintained?

ANSWER: It's in the .99.10 kernel, if we release anything newer it will
appear in 

tsx-11.mit.edu:/pub/linux/ALPHA/scsi

Please join the SCSI channel of linux-activists@joker.cs.hut.fi before you 
grab anything there.

   X.05)  I've found one of the following bugs :

- I can't swap to a SCSI disk, or mount one as /

- I get a READ CAPACITY FAILED message on bootup.

- I have a removeable disk (ie Sysquest) and have problems when I change
	media.

- I have a Seagate / Future Domain TMC-88x and the kernel panics with a 
	kernel paging message.

- I have an Adaptec 1742 and am experiencing data corruption

- I have an Insite floptical drive and it won't work.

- I have a TANDBERG TDC 3600 revision U07, SONYCD-ROM CDU-541 revision
	4.3d, DENON DRD-25X revision V, or a SEAGATE ST296 revision
	921 and the system hangs or reports multiple devices.

- My Adaptec 1542C isn't recognized.

ANSWER: All of these bugs have been fixed, so UPGRADE.  

   X.06)  What do I do if I find a bug that still looks like a 
bug after I've read the FAQ?

ANSWER: Your best bet is to send it to the SCSI channel of the mailing list,
where it will be seen by all of the people who've contributed to the 
SCSI drivers. 

In your bug report, please provide as much information as possible
regarding your hardware configuration, and all of the messages that 
Linux prints when it boots.  Your chances of getting the bug fixed increase 
exponentially with the amount of information provided.  

The bottom line is that if we can't reproduce your bug, and you can't 
point at us what's broken, it won't get fixed.

   X.07)  What SCSI disks are supported? 

ANSWER: 

Flopticals, Bernoulis, Sysquests, and other removeable media devices 
are supported by the normal SCSI disk driver.  

   X.08)  What about CD ROMS?

ANSWER: CD ROMS are supported. The ISO-9660 file system with Rockridge
extensions is supported.  You will have to make sure that you have 
configured the kernel to include the isofs filesystem or otherwise you 
will not be able to use the cdrom.

   X.09)  What about SCSI tapes ? 

ANSWER: Tapes are supported.  You may wish to obtain the utility program mt,
which is usually available from tsx-11.mit.edu in pub/linux/ALPHA/scsi.

   X.10)  How do I partition the disk?

ANSWER: Use fdisk, efdisk, pfdisk or the DOS parititioning program of 
your choice.

   X.11)  The linux partitioning programs don't work.

ANSWER: Some of these default to /dev/hd*, which are disks on 
WD-1003 compatable controllers (IDE, MFM, RLL, ESDI, etc), rather
than /dev/sd* (SCSI disks).   Your solutions are to 

1.  Call the partitioning program with a device name, ie 
	pfdisk /dev/sda

2.  Make links from /dev/hd* to /dev/sd*.  

   X.12)  My partitioning program can't figure out the disk geoemetry

The problem with partitioning SCSI disks and Linux is that Linux talks
directly to the SCSI interface.  Each disk is viewed as the SCSI host
sees it : N blocks, numbered from 0 to N-1, all error free.  There is
no portable way to get disk geometry.  

However, DOS doesn't like things like this, it demmands that BIOS
present it with a normal Cylinder / Head / Sector coordinates.  So,
BIOS does, and it comes up with some fabrication that fits what DOS
wants to see.  You don't want to disagree with what BIOS thinks when
you write the partition table. 

The newest SCSI code will return the mapped geometry for some host 
adapter / disk combinations.  Kernel release 0.99 and later should have
this capability.

QUESTION :  I can't make a filesystem on /dev/hd*

ANSWER : /dev/hd* aren't your SCSI disks.  /dev/sd* are. 
See below for approproate major / minor numbers if they 
do not exist on your root diskette.

   X.13)  What are the major / minor numbers for SCSI drives?

ANSWER: Because of the large number of devices that can be hung off of 
a SCSI bus (as many as 56 if you use SCSI fanouts or bridge boards), 
and the possibility of 16 partitions on a SCSI disk, we'd run out of 
minor numbers if they were statically allocated - so a dynamic 
numbering scheme is used.

Block device major 8 is used for SCSI drives, 11 for CD-ROMs.  
Character device major 9 is used for SCSI tapes.
        
Minors are assigned in increments of 16 to SCSI disks as they are
found, scaning from host 0, ID 0 to host n, ID 7, excluding the host
ID.  Most hosts use ID 7 for themselves.

A minor where minor mod 16 = 0 is the whole drive, where minor mod 16
is between 1 and 4, that partition, extended partitions dynamically
assigned from 5 to 15 inclusive.  Note that the gendisk.c module
prints partition tables on initialization - you should be able to see
them there.

Example : I have three SCSI disks, set up as follows 
        Seagate ST02, ID=0
        Seagate ST02, ID = 5
        Adaptec 1542, ID = 0

The first disk on the seagate at ID 0 will become minors 0-15
inclusive, the second at ID5 16-31 inclusive, the disk on the
Adaptec 48-63.

   X.14)  My tape drive or other removeable media device isn't recognized
at boot time.

ANSWER: Try booting with a tape in the drive.

   X.15)  How do I reduce kernel bloat and eliminate the drivers I
don't want?

ANSWER: For kernel release 0.99 and later, just go to the to directory
in the kernel source tree, and type ``make config'', and answer the
questions.  For older kernel distributions, simply #undef
CONFIG_DISTRIBUTION in include/linux/config.h, and define the macros
for the SCSI hosts you want enabled.

   X.16)  I get SCSI timeouts.

ANSWER: Make sure your board has interrupts enabled correctly, and 
that there are no conflicts with other devices (Sound boards 
and serial boards sometimes try to use IRQ5).

   X.17)  My Seagate / Future Domain TMC-88x board is not detected.

ANSWER: The Seagate and Future Domain boards have memory mapped 
registers.  To detect them, Linux scans for a signature in the 
ROM BIOS (typically, a copyright message) and sets the register
addresses relative to that.  

This can fail for two reasons
1) If the BIOS is disabled.  

In this case, you should edit kernel/blk_drv/scsi/Makefile and 
add -DOVERIDE=x -DCONTROLLER=y where x is the base address of your 
controller (the factory default setting is 0xc8000) - note that 
this is *not* the segment (ie, 0xc800), and y is the controller 
type, either SEAGATE or FD.

2) If we don't know about your BIOS yet


Please use DOS and DEBUG to find us a signature that will detect 
your board - 

Ie, if your board lives at 0xc800 do

debug
d c800:0
q

and send me (drew@cs.colorado.edu) the nearest convienient
ASCII message, with the length and offset from c800:0 or 
whereever.

   X.18)  The Seagate / Future Domain TMC-88x driver doesn't work.

ANSWER: There are several possibilities
1) Is the board jumpered for IRQ5 ? 

The factory settings are for MSDOS, and have interrupts disabled.  

On the Seagate, Interrupts are controlled by the W3 (ST01) or JP3 (ST02) 
jumper.  Shorting pins F-G selects IRQ5.

2) Cached machines will not have problems if the Seagate's address
space (typically C8000 - CAFFFF) is not marked "non cacheable."
This applies to the i486 internal cache as well as i386/i486 
external caches.

This can be set in the XCMOS of most machines.  If you can't disable
cache for the Seagate's area (16K in size, starting at the base
address), then you must disable the cache entirely, otherwise
it won't work.

3) If you've defined -DFAST or -DFAST32 in the kernel, blind transfers 
will be used.  This works fine with most disks, but some won't respond 
fast enough, the read/write will timeout and things will get out 
of sync, resulting in timeouts.  Try recompiling your kernel without 
-DFAST or -DFAST32.

   X.19)  The Adaptec driver doesn't work.

ANSWER: A common source of difficulty is a conflict between two different
boards for an IRQ level, a DMA channel, or an I/O address.  Check the
settings for the boards you have in your system (music boards are
known to use similar IRQ or I/O addresses as the Adaptec.  In the new
scsi code the Adaptec can use any of the IRQ levels that it can be
strapped for, it can use I/O address 0x330 or 0x334, and it can use
DMA channels 5, 6 or 7.

   X.20)  The WD-7000FASST driver doesn't work

ANSWER: There are at least two different revisions of the WD7000/FASST,
built arround different chip revisions with different firmware.  Revision
5 boards work, Revision 3 boards do not.

   X.21)  My Ultrastor 14F or 34F isn't detected 

ANSWER: The Ultrastor 14F driver won't probe for an Adapter at address
0x310.  Either move it do a different address, or recompile the kernel, 
adding a rule to kernel/blk_drv/scsi/Makefile

ultrastor.o: ultrastor.c
	$(CC) $(CFLAGS) -DOVERIDE_PORT=0x310 -c ultrastor.c


 
   X.22)  When using a Seagate / Future Domain TMC-88x, why does my system 
hang when syncing to disk?

ANSWER: The Seagate boards are an incredibly brain dead piece of hardware.
They can only generate an interrupt when a target raises the SEL signal.
So, as long as a target is connected, the Seagate driver must spin its 
wheels waiting for the actual data transfer.  Some devices agravate the 
situation by connecting for long periods of time while not doing anything.

   X.23)  My system is dog slow (ie, 60k/sec)

ANSWER: SCSI commands have an incredible amount of overhead.  For 
every command, you need to arbitrate for the bus, select the target,
establish an I_T_L nexus, and send the command.  Processing of that
command may take as much as 1ms on older devices.  Add this overhead
to what you already have coming through the file system, buffer 
cache, etc, and you have a real problem.

To work around this, we needed to maximize the amount of data that 
could be transfered in a single command.  So, we implemented 
scatter-gather, which allows reads/writes from/to contiguous 
disk sectors to non-contiguous buffers.  

This typically gets you a 3-5 fold improvement in performance.

The current kernel has scatter-gather support for the Adaptec, Western 
Digital, Ultrastor, Future Domain 16xx, Future Domain 8xx and Seagate 
boards.

	   ===================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 4/6 " corsini
1993-07-21  9:52 ` Linux Frequently Asked Questions 5/6 " corsini

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