home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / unix / amiga / 594 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  49.9 KB

  1. Path: informatik.uni-kl.de!jmayer
  2. From: jmayer@informatik.uni-kl.de (Joerg Mayer)
  3. Newsgroups: comp.os.linux.m68k,comp.os.linux.development.system,comp.unix.amiga,maus.os.linux68k,comp.os.linux.answers,comp.answers,news.answers
  4. Subject: Linux/68k-FAQ v1.12
  5. Followup-To: poster
  6. Date: 4 Mar 1996 13:26:05 GMT
  7. Organization: University of Kaiserslautern, Germany
  8. Approved: *.answers moderation team <news-answers-request@mit.edu>,
  9.           Matt Welsh <linux-answers@news.ornl.gov>
  10. Distribution: world
  11. Message-ID: <4her1d$3vn@irz1.informatik.uni-kl.de>
  12. NNTP-Posting-Host: osiris.informatik.uni-kl.de
  13. Keywords: Linux, 68K, port, Amiga, Atari, VME, FAQ
  14.  
  15. Last-modified: 96-03-03
  16. Maintained-By: Joerg Mayer <jmayer@informatik.uni-kl.de>
  17. Posting-Frequency: bi-weekly
  18. Archive-name: linux/m68k-faq
  19. URL: <http://www-agrw.informatik.uni-kl.de/~jmayer/linux68k/linux68k-faq>
  20.  
  21.                 Frequently Asked Questions on Linux/m68k
  22.               A Linux port to Motorola's 680x0 processors
  23.  
  24. Version of this FAQ    : 1.12
  25. Version of Linux/m68k  : 0.9.13 (old) and 1.2.13pl7 (current)
  26. Version of Linux       : 1.2.13 (stable) and 1.3pl70 (experimental)
  27. Version of amiboot     : 3.0 (not for 0.9.13)
  28. Version of amigalilo   : 0.6 (nor for 0.9.13)
  29. Version of ataboot     : 1.6 (not for 0.9.13)
  30.  
  31. Expiration note: This FAQ is updated every 2 to 3 weeks unless I'm under very
  32.   heavy workload. If this file is older than 2 to 3 weeks, please check for a
  33.   newer version at the WWW or ftp sites mentioned below.
  34.  
  35. i) Introduction
  36. ===============
  37.  
  38. This is an updated version of the Linux/m68k FAQ. Since it probably contains
  39. errors (typographical and logical), outdated and missing infos, I ask that
  40. you send feedback and corrections to me. This document is not intended to
  41. describe what Unix is or how to administrate it. To find out more about
  42. that read the standard Linux manuals.
  43.  
  44. ii) Newsflash
  45. =============
  46. - 1.2.13pl7 released (Roman Hodek <rnhodek@immd2.informatik.uni-erlangen.de>)
  47. - First running 1.3 (Jes Degn Soerensen <jds@aleko.kom.auc.dk> and Hamish)
  48. - #Linux68k IRC channel now hosted by LinuxNET (see 6.8)
  49. - Don't forget to add a "linux|" to the front of your favourite
  50.   /etc/termcap entry - 1.2.13pl8 will break configurations without it.
  51.  
  52. From version 1.11:
  53. ------------------
  54. - The location of this FAQ has moved - please update any pointers if
  55.   appropriate.
  56. - An archive of the mailinglist at phil.uni-sb.de is available (see 6.3)
  57.   (Benjamin Lorenz <benni@phil.uni-sb.de>)
  58. - New wd33c93-SCSI driver (John Shifflett <jshiffle@netcom.com>)
  59. - 1.2.13pl6 released (Roman Hodek <rnhodek@immd2.informatik.uni-erlangen.de>)
  60.  
  61. iii) Changes
  62. ============
  63. - Added "expiration" note at top of FAQ.
  64. - Added newsflash from previous release (ii).
  65. - Added list of supported VME hardware (4.4).
  66. - Removed Mac entry and added "unsupported" and "other processors"
  67.   sections (4.6, 4.7).
  68. - Section about "missing libraries" at linktime added (8.20).
  69. - Section about recognized but unsupported Amiga boards added
  70. - AFFS location for mainstream Linux updated
  71. - Updated IRC site
  72. - Updated Under construction/To do
  73. - Updated 8.8, 8.15
  74.  
  75. iv) Contents
  76. ============
  77.  
  78. i Introduction
  79. ii Newsflash
  80. iii Changes
  81. iv Contents
  82. iv Versions
  83. 1. About Linux and Linux/m68k
  84. 2. Requirements to run Linux/m68k
  85.   2.1 Processor
  86.   2.2 RAM
  87.   2.3 Harddisk
  88.   2.4 Software
  89. 3. Similarities and differences of Amiga and Atari Linux/m68k
  90.   3.1 Similarities
  91.   3.2 Differences
  92. 4. The current status of Linux/m68k
  93.   4.1 General
  94.   4.2 Amiga
  95.   4.3 Atari
  96.   4.4 VME
  97.   4.5 PC
  98.   4.6 Unsupported
  99.   4.7 Other processors
  100. 5. Hints on installing Linux/m68k
  101. 6. Sources for information/sources/binaries
  102.   6.1 Documentation
  103.   6.2 Newsgroups
  104.   6.3 Mailinglists
  105.   6.4 WWW-sites
  106.   6.5 Ftp-sites
  107.   6.6 Modem
  108.   6.7 Distributions
  109.   6.8 IRC (Internet Relay Chat)
  110. 7. Activities
  111.   7.1 Coordinator
  112.   7.2 Bug reports/Known bugs
  113.   7.2.1 TT-FPU bug
  114.   7.2.2 Amiga with GVP 16 bit RAM
  115.   7.3 Under construction/To do
  116. 8. Common problems
  117.   8.1 I can't find the manpage for XXX
  118.   8.2 Is there an X-server for the Amiga?
  119.   8.3 How can I access my SCSI tape drive?
  120.   8.4 Where did all my Amiga's chipmem go?
  121.   8.5 Do I really need an FPU?
  122.   8.6 How do I access Linux partitions from AmigaDOS?
  123.   8.7 I can't boot from harddisk although the root partition
  124.       seems to be fine!?
  125.   8.8 When I try to start X11, I get 'cannot open /dev/mouse'
  126.   8.9 My SCSI bus locks up when I want to use my DAT drive
  127.   8.10 I cannot delete files with rm as root
  128.   8.11 My SCSI bus locks up when the kernel probes for devices
  129.   8.12 I displayed a binary file, and now my console is totally screwed up
  130.   8.13 Can I use both ELF and a.out libraries/binaries in my system?
  131.   8.14 After installing a patch, the new files are in the current directory
  132.   8.15 I can't mount MSDOS diskettes on my Amiga
  133.   8.16 Less behaves weird when I press a key
  134.   8.17 What are the current major/minor device numbers for /dev/xxx?
  135.   8.18 How can I tell an a.out binary from an ELF one?
  136.   8.19 How can I find out about supported hardware?
  137.   8.20 Gcc complains that it can't find shared libs while linking
  138.   8.21 Linux recognizes my Amigas XXX board but it does not work
  139. 9. Famous last words
  140.  
  141. iv) Versions
  142. ============
  143.  
  144. At this time, two kernel trees exist: 0.9.x and 1.2.13plx.  To make
  145. switching between these versions a bit more interesting, they use a
  146. different bitorder in the ext2fs code (ext2 is the primarily used
  147. filesystem). In order to to be able to use a 0.9 ext2fs under 1.2, the 1.2
  148. version of the filesystem check program has to be run and vice versa.
  149. Please note that starting with version 1.2.13pl4 the bitorder has been
  150. changed to yabo (yet another bit order). So you must run the current version
  151. of the ext2fs tools with the current kernel!
  152. There are also two versions of executables. The old a.out format (which
  153. is being phased out) and the new ELF format. The problem is that a.out
  154. executables don't work with ELF dynamic libraries and vice versa. To make
  155. things a bit more ugly, for some packets (e.g. X11R6) the version numbers
  156. of ELF and a.out libraries are the same. This makes using dynamically
  157. linked a.out and ELF binaries of X-window clients in the same
  158. installation tree a bit more complicated (see section 8.13).
  159. Finally, these are the different versions of the ataboot, amiboot and
  160. amiga-lilo programs:
  161. 0.9.13 can be started via amiboot-1.12a, ataboot-0.7 and amiga-lilo-0.4a.
  162. 1.2.13pl3 can be compiled in two formats: a.out and ELF. The a.out version
  163. can be started by the same programs as 0.9.13. If your kernel is ELF
  164. compiled you must use amiboot-2.0, ataboot-1.2 and amiga-lilo-0.5 or later.
  165. These programs will boot a.out kernels, too. As a rule of thumb: The current
  166. kernels require the current versions of the bootloaders.
  167.  
  168.  
  169. 1. About Linux and Linux/m68k
  170. =============================
  171.  
  172. Linux is a freely available operating system for PCs - to be more precise,
  173. it is one of many flavours of Unix. Linux is being developed on the net by
  174. several thousand people, first and foremost by Linus Torvalds, and being
  175. tested/used by many many more.
  176. The fun and success of Linux inspired Hamish Macdonald and Greg Harp to
  177. port it to another platform - the Amiga. The first version released to the
  178. general public was 005. While 008 was current, a few enthusiasts ported
  179. that version to the Atari and the two versions have been successfully
  180. merged with 09pl3 (this reads version 09 patchlevel 3). Linux/m68k can be
  181. regarded as beta. This means that code that hasn't been ported/written
  182. recently works well most of the time.
  183. After having released v1.2.13pl3 Hamish handed the coordination over to Roman.
  184.  
  185. Here's the story about the beginning in Hamish's words:
  186. "I decided to port Linux to my Amiga for a variety of reasons.  I have
  187. always had an interest in operating systems (my work is in embedded
  188. systems for telecommunications).  After finishing my Master's thesis,
  189. I needed some project to keep me busy, and justify keeping my Amiga.
  190. Linux was just getting popular at the time, and I thought it would be
  191. fun to port it to my Amiga.  So I did.  Greg Harp and a few others had
  192. been talking for a while about porting Linux to the Amiga.  They'd only
  193. got a little way into it when I got involved, bringing the work I'd
  194. already done myself...."
  195.  
  196. And here about the port to the Atari in Roman's words:
  197. "I'm an old Atari user, but in some dark age of Atari, I also bought a
  198. PC... running only Linux, of course! Some time later, I noticed that
  199. there was a Linux for 68k (was a version about 0.06 or so), but
  200. learned that is was for Amiga only. Already at that time, I thought
  201. that it can't be that hard to port this to the Atari, but after some
  202. browsing in the sources, I gave up. I just didn't find a point where
  203. to start. But at least I subscribed to the MausNet newsgroup
  204. "LINUX68K". Several months later, in April '94, Bjoern Brauel posted
  205. an article there, that he has adapted Linux' head.S so it ran on his
  206. Falcon (until the first console output :-). I again was interested and
  207. asked Bjoern for the sources. In the next time, we two built some very
  208. basic driver, so we could at least see some output on the screen, and
  209. the kernel booted until the "unable to mount root". There was no HD
  210. driver yet... So I started to write a SCSI driver, and Bjoern went to
  211. IDE.
  212. At that time, we heard that there was another group working on an
  213. Atari port. The most important members of this group were Robert de
  214. Vries and Andreas Schwab. They've never announced that they're working
  215. or how far they are, so we didn't know about them. And we communicated
  216. over the MausNet, not the Internet, so they didn't notice us... So we
  217. finally had two versions of an Atari port at the same time.
  218. Fortunately, we've mostly worked on different parts, so the merged
  219. version 0.01pl3 made a big jump in respect to what drivers were
  220. available.
  221. The next story is about Martin Schaller: He also ported Linux to
  222. Atari, starting directly from PC Linux, not from the Amiga version.
  223. (He didn't have a modem at that time, so no Internet, not even
  224. MausNet...) For that he worked totally on his own, he came very far
  225. and did a great job. In fall '94, a German Atari magazine published an
  226. article about Linux/68k. By this Martin heard that there were some
  227. more Atari-Linux hackers and joined us."
  228.  
  229. 2. Requirements to run Linux/m68k
  230. =================================
  231.  
  232. 2.1 Processor
  233. -------------
  234. You need a Motorola 680x0 processor *with PMMU*. There is *no way* to run
  235. it without one. This reduces the list of possible processors to 68020+68851,
  236. 68030, 68040, 68LC040, 68060. Currently only the 68020+68851, 68030 and
  237. 68040 are supported. Starting with 1.2.13pl5 68060 support has been added,
  238. but it isn't working yet. At this stage you will also need a 68881 or 68882 FPU
  239. if you don't have a 68040.  In theory an FPU would not be strictly necessary 
  240. as it can be emulated with the normal processor, however nobody has written 
  241. the code to do so - which means that in practice an FPU *is* necessary. 
  242. This list of processors excludes the 68000, 68010, 68EC020, 68EC030, 68EC040.  
  243. Linux/m68k can *never* run on these processors as they lack a PMMU and an 
  244. interface for an external one (this is "true" for all machines but some 
  245. pretty old Suns :-).
  246. The following Amigas have the "right" processor built-in: A3000, A3000T,
  247. A4000/40 (not! A4000/30 which has a 68EC030 processor) and A2500/30.
  248. There has been a report that the last A4000/40s produced by Commodore
  249. shipped with an 040LC. In that case it won't work either; you need a FPU. 
  250. The following Ataris (or clones) have the "right" processor built-in:
  251. Atari Falcon (FPU is not standard but needed!), Atari Falcon with
  252. Afterburner 040, Atari TT, Medusa, Eagle (not yet supported).
  253. Any processor upgrade card with a 68040 or 68030+68881/2 (like PAK/3) is able
  254. to run Linux.
  255. Note: In some of the older TTs there is a bug in the PAL controlling the
  256. access to the FPU. This may cause a crash (see 7.2.1).
  257. Note2: On the Amiga, there exists a program called "lawbreaker" (part of the
  258. enforcer package). This program allows you to check whether you have a working
  259. PMMU or not (it needs to generate 5 hits in combination with enforcer where
  260. the last one is an alert).
  261.  
  262. 2.2 RAM
  263. -------
  264. Note 1: On the Amiga the size of FastRAM is relevant, i.e. the ChipRAM is
  265.   only used internally for graphics, sound and floppy data; it is not used
  266.   by normal programs.
  267. Note 2: If you have an Amiga with 16-bit expansion RAM on a GVP card, see
  268.   "Known bugs".
  269. It is possible to boot Linux/m68k with as little as 2 MB. Now you know that
  270. the kernel works on your system - that's it. If you want to work with it you
  271. should have at least 4 MB (8 MB with an X-server).
  272.  
  273. 2.3 Harddisk
  274. ------------
  275. If you want to do more than just boot Linux/m68k you will need 80 - oo
  276. (infinity) MB of space on your hard disk and a supported hard disk controller.
  277. Add another 20 MB for X.
  278.  
  279. 2.4 Software
  280. ------------
  281. Amiga: In order to run amiboot you need AmigaDOS 2.0 or higher (expansion.lib-
  282. rary V36+) and at least version 39 of ixemul.library.
  283. Amiga: amiboot works with SetPatch and RsrvMem (part of Emplant) running. It
  284.   doesn't work with VMM running.
  285.  
  286. 3. Similarities and differences between Amiga and Atari Linux/m68k
  287. ==================================================================
  288.  
  289. 3.1 Similarities
  290. ----------------
  291. All code that depends only on the processor (i.e. paging, systemcalls,
  292. parts of the interrupt handling and of c(o)urse those parts of Linux that
  293. were hand optimized by writing the code in assembler) has to be ported to
  294. Linux/m68k only once. This means that the Amiga and the Atari may use the
  295. same kernel image (in fact the vmlinux from tsx-11 runs on both machines).
  296. Another big bonus is that all user programs (= binaries) should work on
  297. any machine running Linux/m68k no matter whether the machine is an Amiga
  298. or Atari - as long as no machine specific devices are used (see below).
  299.  
  300. 3.2 Differences
  301. ---------------
  302. All code that depends on the hardware is machine dependent and with very
  303. few exceptions which are in the kernel (timer, a small part of interrupt
  304. handling, startup code) has been put into modules called device drivers.
  305. Writing device drivers makes up most of the porting work.
  306.  
  307. 4. The current status of Linux/m68k
  308. ===================================
  309.  
  310. 4.1 General
  311. -----------
  312. What has been done? The kernel (this means all the processor/mmu/fpu specific
  313. stuff) has been ported. V1.2 is based on Linux/i386 1.2 patchlevel 13, its
  314. Makefile structure has been adopted from the 1.3.x Linux/i386 kernel tree.
  315. Several hardware independent drivers have been ported:
  316. Ramdisk, mem, pty, tty, vt, (c)slip, ppp, net/inet, general SCSI stuff. Also
  317. the following filesystems have been done: minix, ext2, msdos, proc, isofs,
  318. affs, nfs (affs = Amiga Fast File System, read only).
  319. An X-server exists that uses the frame buffer device. Frame buffer devices
  320. exist for both native Amiga and Atari graphics in the kernel.
  321. The list of supported hardware should be exhaustive, i.e. if it isn't in
  322. here or in section 7.3 (Under construction/To do) it isn't supported at all.
  323. If you find omissions please report them.
  324.  
  325. 4.2 Amiga
  326. ---------
  327. Supported built-in hardware:
  328. A3000-SCSI, A4000-IDE, A1200-IDE, serial port, parallel port, mouse, keyboard,
  329. builtin graphics is integrated into the frame buffer device, timer, floppy
  330. disk drive (DD/HD, Amiga and PC formatted disks), beep (no real sound support),
  331. RTC of A2000/A3000/A4000.
  332.  
  333. Supported RAM cards:
  334.   All RAM cards are supported
  335.   Note: There are problems with GVP 16 bit RAM cards (see "Known bugs").
  336. Supported SCSI cards:
  337.   A2091, A590, GVP Series II
  338. Supported Ethernet cards:
  339.   Ariadne, Hydra, A2065
  340. Supported IO cards:
  341.   16c552 double-UART of the GVP IO-Extender, BSC MultiFaceCard III
  342. Supported graphics cards:
  343.   Cybervision64
  344.  
  345. 4.3 Atari
  346. ---------
  347. SCSI, ACSI, Falcon IDE, all builtin serial ports, keyboard, Atari mouse,
  348. parallel printer port, RTC clock, floppy disk (DD/HD/ED), builtin Atari
  349. graphics (ST/TT/Falcon/Medusa) is integrated into the frame buffer device,
  350. beep (all) and sound (Falcon/TT) are supported. The ET4000 and the Mach64
  351. cards used in the Medusa are partially supported (you can't change the
  352. resolution).
  353. Note: Linux' Minix FS is compatible to the Minix V2 FS used with MiNT.
  354.  
  355. Supported RAM cards:
  356.   FX-card (Falcon), Magnum (Falcon)
  357. Supported Ethernet cards:
  358.   RieblCard, PAM's VME boards (most Lance based ethernet cards should work)
  359. Screen extenders:
  360.   Screenblaster, Onscreen work, others should work too.
  361. Other peripherals:
  362.   Atari Laserprinter
  363.  
  364. 4.4 VME
  365. -------
  366. (provided by Richard Hirst)
  367. There are multiple VME boards out there on which Linux/m68k could run.
  368. There is currently one port for the Motorola MVME166 and MVME167 boards.
  369. These are complete systems on a card, so there's no need to support any
  370. external controller cards:
  371.         68040 at 25 or 33MHz (at least)
  372.         4 to 32MB DRAM (maybe more)
  373.         CD2401 four channel serial controller
  374.         NCR53C710 SCSI controller
  375.         Parallel port (currently unsupported)
  376.         Intel 82596CA ethernet controller (under construction)
  377.         VMEchip2 VME interface chip
  378.         PCCchip2 local controller chip
  379.         VSBchip2 (MVME166 only)
  380.         MK48T08 BBRAM and TOD clock
  381.         68230 PIT
  382. The source is based on 1.2.13pl3 at present.  The system will happily loop
  383. building the kernel for hours on end with no problems (no '040 MMU bug here!)
  384. It takes about 20 minutes a build a kernel.
  385. A port to a different VME bus machine has been started (see 7.3.4).
  386.  
  387. 4.5 PC
  388. ------
  389. Since PCs don't have Motorolas inside (except on soundcards and other
  390. plug-ins), this section should read "What parts of Linux/m68k are available
  391. for but not part of Linux/i386?"
  392.  - Amiga Fast File System (read only)
  393.    <ftp://sunsite.unc.edu/pub/system/Filesystems/jb-affs-1.0.tar.gz>
  394.    Please note that most disk controllers for PC, Atari and Mac are not able
  395.    to read Amiga formatted disks (this is a hardware limitation).
  396.  
  397. 4.6 Unsupported
  398. ---------------
  399. There is currently no Linux/m68k port for several 680x0 based computers
  400. that would be able to run Linux. The reason for this is rather simple:
  401. Nobody has written it. The reasons for that are many: The people who already
  402. have most/all of the knowledge on the Linux side of the port are usually
  403. busy maintaining/improving one of the existing ports. Another quite common
  404. reason is that no or only insufficient documentation on the hardware
  405. of that platform exists. Sun-3s are an even more special case: Unlike all
  406. other machines mentioned here, they don't use Motorola MMUs.
  407. Here is a (probably incomplete) list of the unsupported machines with 680x0
  408. processor:
  409. Apollos, HP, Macintoshs and most VME bus machines.
  410. As far as I know, you can run NetBSD on most Sun-3s and Macs with 680x0
  411. processors.
  412.  
  413. 4.7 Other processors
  414. --------------------
  415. Linux also runs on several other platforms in varying states of usability:
  416. - Alpha (Linux/AXP): <http://www.azstarnet.com/~axplinux/>
  417. - PowerPC processors (Linux/PPC): 
  418.   PowerMacs <http://www.mklinux.apple.com/>
  419. - Sparc processors (Linux/Sparc) <http://www.geog.ubc.ca/sparclinux.html>
  420. - I think I heard some rumors about an Intel version too ;-)
  421. This list is *not* exhaustive: More complete and more current versions of
  422. these infos can be found at: <http://homer.ncm.com/>.
  423.  
  424. 5. Hints on installing Linux/m68k
  425. =================================
  426.  
  427. Please note that there is a much better installation doc available. It's the
  428. 'Linux/m68k installation guide' written by Frank Neumann and Ingo Wilken. A
  429. more complete list of installation guides can be found in the documentation
  430. section. If you want to find out whether Linux/m68k runs on your system the
  431. hints given here may be sufficient. If you want to work with your Linux/m68k
  432. system you should get the Installation guide. The address is given below.
  433. The hints given here are for 1.2.13pl5 and later!
  434.  
  435.  0. a) Get the installation guide mentioned above.
  436.     b) Ignore steps 1-9 and follow your new guide.
  437.  1. Get a working kernel, *all* announce files and the bootstrap program for
  438.    your machine (different kernel versions may require different bootstrap
  439.    versions), the root and usr-filesystems and the newfilesys (this is a
  440.    ramdisk that contains everything you will need to set up a working harddisk
  441.    environment). Sources for these programs: See below.
  442.    You will also need gunzip (from the gzip package) for your native OS in
  443.    order to unpack the following .gz files: amiboot/ataboot, filesys-for-pl4
  444.    and vmlinux.
  445.    Note: If gunzip succeeds your files are OK. If you want to test the
  446.    integrity of the files you downloaded without decompressing them you
  447.    can do 'gzip -t <filename.gz>'.
  448.  2. Bootstrap the kernel and filesys-for-pl4 as described in the ANNOUNCE
  449.    file for that kernel. Many of the bootstrap flags available are documented
  450.    in older announce files only.
  451.    Note for Amiga users: You have to install ixemul.library in libs: in order
  452.    to run versions of amiboot prior to 2.0. If you have any problems booting
  453.    linux you may try to run this session without executing the
  454.    startup-sequence. This will prevent any manipulation of the MMU as is
  455.    done by the CPU, SetCPU, Enforcer and VMM commands.
  456.  3. Create a partition on your harddisk and install an ext2fs filesystem on it.
  457.  4. Create another partition as swapspace.
  458.  5. Unpack the root and usr filesystem onto the disk (these are still a.out,
  459.     sigh).
  460.  5a. Install your ramdisk image to harddisk! It contains new versions of the
  461.     filesystem utilities and newer libraries (the latter may not be true
  462.     anymore).
  463.  6. Check that the utmp and wtmp files exist in the right places and that
  464.     there are links from the old locations to the new ones as decribed in
  465.     ELF/README (I told you to read a somewhat more verbose installation
  466.     guide).
  467.  7. Reboot
  468.  8. Bootstrap your kernel, this time from the harddisk instead of ramdisk.
  469.  9. Get and read the Installation-HOWTO for Linux. Start reading from section
  470.     4 "Installing the Software". Warning: This is for the PC so you may have
  471.     to do things differently at some points.
  472. Installation guide: <ftp://ftp.informatik.uni-oldenburg.de
  473.     /pub/amiga/linux/local/docs/InstGuide_v2.0a.txt.gz>
  474. These are the filenames relative to 680x0/ of the master ftp site and its
  475. mirrors:
  476.   ANNOUNCE-1.XXXXXX
  477.   v1.2/filesys-for-pl4.gz
  478.   filesys/root.tar.gz
  479.   filesys/usr.tar.gz
  480.   ELF/README
  481.   ELF/gcc-2.7.2.bin.tar.gz
  482.   ELF/binutils-2.6.bin.tar.gz
  483.   ELF/ld.so-1.7.12.tar.gz
  484.   ELF/libc-5.0.9.tar.gz
  485.   v1.2/vmlinux-1.2.13pl7.gz
  486.   v1.2/amiboot-3.0.gz (Amiga only)
  487.   v1.2/ataboot-1.6.gz (Atari only)
  488.   v1.2/linux-1.2.13pl7.tar.gz (the kernel source tree)
  489.   ../docs/HOWTO/Installation-HOWTO (only on servers not dedicated to 680x0)
  490.   The root.tar.gz file contains no gcc, emacs or tcsh. If you are a
  491.   tcsh or emacs addict you will want to get these packages from bin/ too.
  492.   The filesystems naturally contain *no kernel sources*, so you will have
  493.   to get these too.
  494.  
  495. 6. Sources for information/sources/binaries
  496. ===========================================
  497.  
  498. 6.1 Documentation
  499. -----------------
  500. This FAQ is available on <ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/680x0/FAQ>,
  501. <rtfm.mit.edu://pub/usenet-by-hierarchy/comp/os/linux/answers/linux/m68k-faq>
  502. and <http://www-agrw.informatik.uni-kl.de/~jmayer/linux68k/linux68k-faq>. An
  503. installation guide is available at <http://www.informatik.uni-oldenburg.de/
  504. ~amigo/inst.html>. It is also available in various formats from
  505. <ftp://ftp.informatik.uni-oldenburg.de/pub/amiga/linux/local/docs/>. Although
  506. the guide was written for the Amiga, many things are also useful for Atari
  507. users. An Atari specific install guide can be found at <http://www.gti.net/
  508. azog/linux68k.txt>; another one can be found at
  509. <http://zippy.spods.dcs.kcl.ac.uk/~tomlin/flinux.html>. The ANNOUNCE files are
  510. also valuable documentation.
  511. Further documents can be found in the directories <ftp://tsx-11.mit.edu/pub/
  512. linux/docs/> and <ftp://sunsite.unc.edu/pub/Linux/docs>. These documents were
  513. written for Linux/i386 but many are useful for Linux/m68k users too (e.g.
  514. howtos on UUCP, PPP and the general Linux FAQ).
  515. A FAQ on Motorola chips (including the 680x0 microprocessors) is available
  516. at <ftp://rtfm.mit.edu/pub/usenet/comp.sys.m68k/
  517. comp.sys.m68k_Frequently_Asked_Questions_(FAQ)> and mirrors.
  518. A FAQ about NetBSD for Amigas can be found at <ftp://ftp.uni-regensburg.de/
  519. pub/NetBSD-Amiga/docs/NetBSD-Amiga-FAQ> and
  520. <http://rfhs1012.fh.uni-regensburg.de/~feyrer/NetBSD/AFAQ/>
  521. Last but not least: Look into the Documentation directory of the kernel tree
  522. if you are using a current 1.2.13 kernel. 
  523.  
  524. 6.2 Newsgroups
  525. --------------
  526. comp.os.linux.m68k: The group comp.os.linux.m68k is intended to further
  527.   interest in, and development of, the port of the Linux operating system to
  528.   the 680x0 architecture. All discussion in the newsgroup should be in
  529.   English.
  530. comp.os.linux.development.kernel: This group is on Linux *kernel* development
  531.   only. From time to time it contains messages dealing with the Linux/m68k
  532.   kernel.
  533. comp.os.linux.announce: This group announces new Linux related products as
  534.   well as new kernel releases. Announcements for new versions of Linux/m68k
  535.   may be found there.
  536. maus.os.linux68k:
  537.   This group deals with Linux/m68k only. The languages currently used are
  538.   German and English.  The following internet site is known to serve
  539.   this group:    news.uni-stuttgart.de (read only)
  540.   The Newsgroup is also available in FidoNet (LINUX-68K.GER).
  541. comp.unix.amiga: This group is for discussions on AMIX, NetBSD and Linux/m68k
  542.   on the Amiga. As most articles on Linux/m68k are not Amiga specific, the
  543.   name is somewhat of a misnomer.
  544. de.comp.sys.amiga.unix: Similar to comp.unix.amiga but in German language.
  545.  
  546. 6.3 Mailing Lists
  547. -----------------
  548. I am aware of one mailinglist for Linux/m68k, which is named linux-m68k.  As
  549. there is a newsgroup for Linux/m68k topics on this list should be restricted
  550. to development issues if possible.
  551.  
  552. (provided by Benjamin Lorenz)
  553. You can subscribe to linux-m68k@phil.uni-sb.de by sending a mail to
  554. majordomo@phil.uni-sb.de, random subject and a single line in the mail body
  555. containing "subscribe linux-m68k". You may want to subscribe to
  556. linux-m68k-digest@phil.uni-sb.de instead: In this case, you will receive one
  557. mail per day containing all mails to the list from the last 24 hours. If you
  558. prefer to read mail in this way, please unsubscribe from linux-m68k to reduce
  559. net load!
  560. You can download archives from the digest mails! They are stored on the ftp
  561. server ftp.phil.uni-sb.de, in the directory "pub/linux-m68k/mailinglist".
  562.  
  563. Note1: linux-m68k was formerly known as atarix.
  564. Note2: The old mailinglist on vger for Linux/m68k has been phased out.
  565. Note3: Archives for the old lists can be found via Helmut Neukirchen's WWW
  566.   page.
  567.  
  568. 6.4 WWW-sites
  569. -------------
  570. Helmut Neukirchen's Linux/m68k WWW page:
  571.   <http://www-users.informatik.rwth-aachen.de/~hn/linux68k.html>
  572. Chris Lawrence' Linux/m68k WWW page:
  573.   <http://www.rose-hulman.edu/~lawrenc/linux/index.html>
  574. Mirrors of tsx-11 via WWW:
  575.   <http://src.doc.ic.ac.uk/packages/Linux/tsx-11-mirror/680x0/>
  576.  
  577. 6.5 Ftp-sites
  578. -------------
  579. THE Linux/m68k server:
  580.   <ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/680x0/>
  581. THE two Linux servers (sources for you to port to/compile on Linux/m68k):
  582.   <ftp://tsx-11.mit.edu/pub/linux/sources/>
  583.   <ftp://sunsite.unc.edu/pub/Linux/system/>
  584. Mirrors (please use the one nearest to you, most of these mirrors are updated
  585. daily):
  586.   <ftp://tsx-11.mit.edu/pub/linux/680x0/>
  587.   <ftp://ftp.funet.fi/pub/Linux/BETA/680x0/>
  588.   <ftp://ftp.tu-clausthal.de/pub/systems/Linux/680x0/>
  589.   <ftp://ftp.informatik.tu-muenchen.de/pub/comp/os/linux/680x0/>
  590.   <ftp://ftp.informatik.uni-oldenburg.de/pub/linux/680x0/>
  591.   <ftp://ftp.twi.tudelft.nl/pub/Linux/680x0/>
  592.   <ftp://ftp.germany.eu.net/pub/os/Linux/Mirror.SunSITE/>
  593.   <ftp://ftp.fu-berlin.de/pub/atari/linux/>
  594.   <ftp://src.doc.ic.ac.uk/computing/operating-systems/Linux/tsx-11-mirror/
  595.        680x0/>
  596.   <ftp://ftp.spc.uchicago.edu/pub/linux/680x0>
  597.   <ftp://ftp.nvg.unit.no/pub/linux/680x0>
  598.   <ftp://ftp.phil.uni-sb.de/pub/atari/linux/tsx-11.mirror>
  599. Linux on Amiga:
  600.   <ftp://ftp.informatik.uni-oldenburg.de/pub/amiga/linux/local/>
  601. Linux on Atari (all new patches for Ataris):
  602.   <ftp://ftp.phil.uni-sb.de:/pub/atari/linux/>
  603. [Please tell me if your favourite mirror is not on this list.]
  604. The kernel source for Linux/m68k can be found in 680x0/v0.9/ and 
  605. 680x0/v1.2/, a lot of binaries in 680x0/bin/. A few more tools reside in 
  606. 680x0/tools/.
  607.  
  608. The following addresses are known to offer ftp-mail:
  609.   <ftpmail@info2.rus.uni-stuttgart.de>
  610.   <ftpmail@ftp.inf.tu-dresden.de>
  611.   <ftpmail@informatik.uni-oldenburg.de>
  612. To get more info on ftpmail send a mail with subject help to one of
  613. the addresses mentioned above.
  614.  
  615. 6.6 Modem
  616. ---------
  617. If you have a modem, you can get Linux/m68k from the following addresses:
  618.  
  619. 6.6.1 Germany
  620. -------------
  621. System name: nasim
  622. Phone: +49 89 5469593, ZyX19200
  623. Login:  Anon-uucp: nuucp - no password / ZModem: gast - no password
  624. Contents: full 680x0-tree of tsx-11 in /pub/linux-68k
  625. Get first: index file /pub/linux-68k/ls-lR.nasim.linux-68k.gz
  626. Other features: provides uucp access to 680X0 channel (read only) and the
  627.   linux.act.* news-groups
  628. Admin: Frank Bartels <knarf@nasim.cube.net>
  629.  
  630. 6.7 Distributions
  631. -----------------
  632. There are no distributions available via ftp at the moment.
  633. ALD (= Autoren Linux68K Distribution) for Atari is available from Whiteline.
  634.  
  635. 6.8 IRC (Internet Relay Chat)
  636. -----------------------------
  637. I'm trying to establish an IRC channel for Linux/m68k: #Linux68k. Start irc
  638. and select one of the servers of LinuxNET. A list of servers can be found
  639. at <http://www.blackdown.org/LinuxNET/LinuxNET.html>. Just do a
  640. "/join #Linux68k" and look out for others. If nobody's there, there is a
  641. simple reasons for this: You are the first to join this channel (actually,
  642. the first one to join a channel creates this channel). There already is a
  643. well established #Linux.
  644. Note: The attempt to establish a channel #Linux68k via the "regular" IRC
  645.   servers more or less failed because of many, many netsplits. LinuxNET
  646.   is much more reliable (knock on wood).
  647.  
  648. 7. Activities
  649. =============
  650.  
  651. 7.1 Coordinator
  652. ---------------
  653. Linux/m68k releases are built and released by Roman Hodek <Roman.Hodek@
  654. informatik.uni-erlangen.de>. As Roman does not have an Amiga, that part is
  655. maintained by Geert Uytterhoeven <Geert.Uytterhoeven@cs.kuleuven.ac.be>.
  656. 'Built' means that you can write a patch against the current version/
  657. patchlevel and send it to them or the mailing list and they will integrate
  658. it into one of the next releases. Make sure you state against which version
  659. the patch was made. Please note that Roman has no way to test Amiga specific
  660. patches and Geert can't test Atari specific things.
  661. Note: If you patch processor specific code (e.g. 68030 vs. 68040 MMU or FPU)
  662.   make sure that you document the dependencies.
  663.  
  664. 7.2 Bug reports/Known bugs
  665. --------------------------
  666. Send bugreports to the author of the code or to Geert (Amiga) or to Roman
  667. (Atari). A probably better approach is to post it to the linux-680x0 channel
  668. or to the appropriate newsgroup.
  669. If there are bugs that will probably stay in the code for an extended period
  670. of time let me know so I may publish them here.
  671.  
  672. 7.2.1 TT-FPU bug
  673. ----------------
  674. Problem:
  675. Linux reports "*** COPROCESSOR PROTOCOL VIOLATION *** FORMAT=9" or something
  676.   similar.
  677.  
  678. Fix:
  679. Pull the 16L8 PAL's pin 11 free (this is the signal 'XBG') and solder it to
  680. +5V. This prevents the PAL from tri-stating AS and DS until XBGACK has gone
  681. low.
  682.  
  683. To make your 32 MHz daughter-card work:
  684. 1) Pull pin 11 of te 16L8 PAL out of the board
  685. 2) Solder pin 11 of the IC to +5V (pin 20 of 16L8)
  686.  
  687. ****This applies to the CA400771 32 MHz daughter board****
  688. **********Other boards should not have this bug***********
  689. _______________________________________________________________
  690. Atari 32 Meg Daughter Board / PGA                             |
  691.                                                               |
  692.                                    ___________________        |
  693.                                    |                 |        |
  694.                                    |                 |        |
  695.                                    2 1 1 1 1 1 1 1 1 1        |
  696.                                    0 9 8 7 6 5 4 3 2 1        |
  697.     . . . . . . . . . .            . . . . . . . . . .        |
  698.        PAL 16R4-7PC                   PAL 16L8-7PC            |
  699.     . . . . . . . . . .            . . . . . . . . . .        |
  700.                                    1 2 3 4 5 6 7 8 9 1        |
  701.                                                      0        |
  702.       CA400771                                                |
  703.    ___________________________________________________________|
  704.    |
  705.    |
  706. ___|
  707.  
  708. 7.2.2 Amiga with GVP 16 bit RAM
  709. -------------------------------
  710. Problem:
  711. When using a GVP card with 16 bit RAM on an Amiga with 68040 Linux/m68k dies.
  712.  
  713. Fix:
  714. Unfortunately, there is no known solution to that problem. So your best bet
  715. is to get some real 32 bit RAM. The 16 bit RAM may still be used as a ramdisk,
  716. but you *must* disable it as normal RAM (-m option of amiboot).
  717.  
  718. 7.3 Under construction/To do
  719. ----------------------------
  720. I would like a list of projects planned/started, similar to the Linux
  721. Project-FAQ. If you send me infos, I will put them in this section.
  722.  
  723. 7.3.1 General
  724. -------------
  725. 1.3: Put the Linux/m68k stuff into the 1.3 kernel tree
  726.   <jds@kom.auc.dk>
  727. Affs: Write code, other DOS types and special root block handling is missing
  728.   <dorchain@cscip.uni-sb.de>.
  729. Porting of the ide-cd driver
  730.   <t_ebelin@informatik.uni-kl.de>
  731. FPU-emulation
  732.   A NetBSD version exists an can be found at any site carrying NetBSD1.1
  733.   in arch/m68k/
  734. A new multi frame buffer device
  735.   (Martin Schaller)
  736. Creation of a freely available Debian distribution for Linux/m68k
  737.   Send mail to debian-68k-request@pixar.com with the word "subscribe" in the
  738.   message body. Mails should be sent to debian-68k@pixar.com. Please do not
  739.   join the list if you are not willing/going/able to actually work on the
  740.   packages. Testers are not yet needed (it's too early for that).
  741.  
  742. 7.3.2 Amiga
  743. -----------
  744. Audio drivers <Geert.Uytterhoeven@cs.kuleuven.ac.be>
  745. Drivers for Arcnet cards are in alpha/beta
  746.   <Frank.Neumann@informatik.uni-oldenburg.de>
  747. A frame buffer device for the Cybervision graphics card is in beta
  748.   <apel@physik.uni-kl.de> and <t_ebelin@informatik.uni-kl.de>
  749. Support for the Oktagon SCSI controller is planned
  750.   <kcozens@io.org> and <shermane@ct.picker.com> 
  751. A frame buffer device for the Spectrum/Piccolo/Picasso II (/SD64)
  752.   graphics cards is in the works <Frank.Neumann@informatik.uni-oldenburg.de>
  753. Support for the a2410 and DMI resolver gfx boards is planned
  754.   <topi@susanna.oulu.fi> and <jds@kom.auc.dk>
  755. The following drivers were asked about but nobody has reported interest
  756. in writing them (yet):
  757. - Concept/code for the use of chip ram and the blitter from user space.
  758. - A2024 support missing
  759. - Support for Emplant serial and scsi
  760. - Support for the A4091 scsi card
  761. - BSC MultiFaceCard II support. Docs available from Joerg Dorchain
  762.   <dorchain@mpi-sb.mpg.de>.
  763.  
  764. 7.3.3 Atari
  765. -----------
  766. Low level code of the new multi frame buffer device
  767.   (Martin Schaller <Martin_Schaller@r.maus.de>).
  768. AtariLaserPrinter is in beta <rnhodek@informatik.uni-erlangen.de>
  769.  
  770. 7.3.4 VME
  771. ---------
  772. A port to the MVME147 board has been started <engel@numerik.fb6.uni-siegen.de>,
  773.   <nils@vespa.unix-ag.uni-siegen.de>
  774. A port to the MVME166 is in an advanced state (selfhosting) <srh@gpt.co.uk>
  775.   See the vme/ directory on the Linux/m68k ftp-sites.
  776.  
  777. 8. Common problems
  778. ==================
  779.  
  780. 8.1 I can't find the manpage for XXX
  781. ------------------------------------
  782. There is a *wealth* of Linux documentation out there for the original PC Linux
  783. which almost always applies to Linux/68k. Check out the documentation at your
  784. favourite Linux ftp site.
  785.  
  786. 8.2 Is there an X-server for the Amiga?
  787. ---------------------------------------
  788. Yes, there is one: It's in the same package as the one for the Atari.
  789. It can be found at.../680x0/X11R6/X-binaries.tar.gz. The frame buffer
  790. device you need is already integrated into the 0.9pl5+ kernel.  Make
  791. sure that /usr/X11R6/bin/X is a link to /usr/X11R6/bin/XF86_Axxxx.
  792.  
  793. 8.3 How can I access my SCSI tape drive?
  794. ----------------------------------------
  795. Use /dev/st0. Be aware that your tape drive must be up and running at boot
  796. time so that linux can recognize it and you can use it.
  797.  
  798. 8.4 Where did all my Amiga's chipmem go?
  799. ----------------------------------------
  800. It's still there, but the kernel doesn't offer it to the user. It is used by
  801. drivers that use the custom chips (floppy, framebuffer, sound).
  802.  
  803. 8.5 Do I really need an FPU?
  804. ----------------------------
  805. Most software doesn't use the FPU, but you still need one, because the stan-
  806. dard program startup code contains at least one FPU instruction. There are
  807. two ways to avoid this problem: 1) write a FPU emulation and put it into the
  808. kernel (as is done with the i387 code) or 2) change the crt0.o module of gcc
  809. and recompile *all* programs you have.
  810.  
  811. 8.6 How do I access Linux partitions from AmigaDOS?
  812. ---------------------------------------------------
  813. There is an ext2 filesystem for AmigaDOS (<http://titan.cs.bonn.edu/~fasten>).
  814. It allows you to read/write ext2 partitions. Not all write operations are
  815. currently (version 0.3) supported. Btw: Do read the "Known bugs section".
  816. Other ways to transfer files from Linux to AmigaDOS are to use an msdos
  817. partition, an Amiga/PC formatted floppy with msdos file system (this requires
  818. a mountlist entry on AmigaDOS side), use of a partition with minix file
  819. system and the minix file handler on AmigaDOS side (the driver is somewhat
  820. unstable) or by accessing the floppy / any (empty!) partition directly via
  821. GNU tar.
  822.  
  823. 8.7 I can't boot from harddisk although the root partition seems to be fine!?
  824. -----------------------------------------------------------------------------
  825. (provided by Frank Neumann)
  826. If you have used the new-filesys RAM filesystem to boot, created
  827. filesystems on harddisk partitions and try to boot from one of these
  828. harddisk partitions, you might see an error like:
  829.   No such file or directory while trying to open /dev/hda5
  830.   The filesystem superblock is corrupt. Try running e2fsck ...
  831. This does _NOT_ mean that your files are corrupt - instead, the /dev
  832. directory on your harddisk is missing some special files for accessing
  833. certain partitions. Check the following: Start the kernel with the RAM
  834. filesystem, mount the root partition under /mnt and check all partition nodes
  835. under /mnt/dev (sd<xy> for SCSI partitions and hd<xy> for IDE partitions).
  836. If you discover that your root/usr/whatever partition is not among them,
  837. you will have to create the special file(s) by using the 'mknod' command.
  838. Unfortunately this command is not in the new-filesys, so you will
  839. have to use the one from the root filesystem, like this:
  840. '/mnt/bin/mknod <parameters>'. For example, if your root partition is
  841. supposed to be on /dev/hda5, you should go to /mnt/dev (NOT /dev!) and issue
  842. the command '/mnt/bin/mknod hda5 b 3 5'. In this case, the '3' is the major
  843. device number for IDE harddisk devices - replace it with a '8' for SCSI
  844. harddisk devices. The minor device number (the last value) is the partition
  845. number on that harddisk, starting with 1 (NOT 0!) for the first partition.
  846. Once we have new root filesystem images or a real installation program,
  847. this should not be a problem anymore, but until then you will have to live
  848. with it.
  849.  
  850. 8.8 When I try to start X11, I get 'cannot open /dev/mouse'
  851. -----------------------------------------------------------
  852. (provided by Frank Neumann)
  853. Some installations automatically start the 'selection' demon when the system
  854. comes up. 'selection' allows you to use Cut&Paste on virtual consoles.
  855. However, this program uses the mouse driver (/dev/mouse or alike) to access
  856. the mouse, and X11 also requires the driver. The current mouse driver,
  857. however, can only be used by one program at a time.
  858. For this reason, you will have to kill the selection process before you can
  859. start X. The simplest way to do this is to issue the command 'selection -k'
  860. (selection will then look for an already running process of itself and remove
  861. it). This line could be quite handy if you put it into your $HOME/.xinitrc.
  862. Note: This should be fixed by the 1.2.13pl7 kernel.
  863.  
  864. 8.9 My SCSI bus locks up when I want to use my DAT drive
  865. --------------------------------------------------------
  866. (provided by Frank Neumann)
  867. This problem seems to be related to certain A3000 Amigas - probably only
  868. those with BootROMs. It has been discovered that if you have a DAT
  869. drive connected whose SCSI address is smaller than the smallest SCSI
  870. address of a harddisk in your Amiga, the bus will lock up very early
  871. (under AmigaDOS, while the SCSI bus is being scanned - you can notice
  872. this by seeing that the SCSI LED is constantly lit and nothing happens).
  873. The solution is to use higher address for DAT drives (and maybe also for
  874. CD-ROMs) and the lower ones for direct-access media (read that as
  875. "harddisks").
  876.  
  877. 8.10 I cannot delete files with rm as root
  878. ------------------------------------------
  879. (provided by Frank Neumann)
  880. If you have installed the root and usr filesystems from tsx.mit.edu
  881. (pub/linux/680x0/filesys) and get a message like the following whenever
  882. you try to delete files as root: "rm: dont use rm"
  883. you might find it interesting to look into the file '.bashrc' in root's
  884. home directory. In the last line, it reads: "alias rm='echo dont use rm'"
  885. which is probably not what everyone wants. Remove that line and re-login
  886. as root to get rid of this (or, for the current shell, just type "unalias rm").
  887.  
  888. 8.11 My SCSI bus locks up when the kernel probes for devices
  889. ------------------------------------------------------------
  890. (provided by Frank Neumann)
  891. This can have two reasons:
  892. a) Some SCSI devices dislike being inquired by the host adapter to negotiate
  893.    for synchronous transfers. To inhibit that behaviour for selected
  894.    devices, the amiboot program has an option "wd33c93=<xxx>".
  895.    This option of course only makes sense on SCSI host adapters with the
  896.    WD33C93 chip, like the A3000 built-in SCSI, the A2091 or the GVP Series II.
  897.    I am not sure if this also works on other host adapters using the same
  898.    chip.
  899.    An example: If you have a CD-ROM on SCSI address 4, the command line
  900.    option to amiboot would be 'wd33c93=16' (this number is calculated
  901.    from 2^SCSI_ADDRESS - or, in our example, 2^4 = 16 (SCSI addresses start
  902.    with 0). You can disable sync negotiation on more than one device
  903.    by adding up the values for each device.
  904.    A longer explanation of this subject is contained in the ANNOUNCE-0.9pl1.gz
  905.    announcement file (on tsx.mit.edu under /pub/linux/680x0).
  906. b) Other devices dislike being polled on LUNs (logical units) other than
  907.    0. What can happen here is that the SCSI bus just locks up because the
  908.    device does not answer the inquiry. Quite a couple of drives have already
  909.    been added to the blacklist of "bad" devices in the kernel, but there
  910.    are probably more. If you discover this behaviour on one of your scsi
  911.    devices, you might try adding it to the blacklist (in drivers/scsi/scsi.c)
  912.    yourself or ask someone to do it for you if you are sure about it.
  913.    Although not related, it seems as if you can also bypass this problem
  914.    with the "wd33c93=" amiboot option mentioned in the previous item.
  915. If you think you're adventurous and want to fix the kernel for a specific
  916. SCSI device yourself, here is what you could do:
  917. Under AmigaOS, use the "scsiutil" command (on Aminet) and its "-i" option
  918. to send an Inquiry command to that particular device. Write down its
  919. vendor identification, product identification and Product revision level.
  920. For instance, an Apple CD-300 CD-ROM drive might give (at the bottom) this
  921. output:
  922.   Vendor identification: SONY
  923.   Product identification: CD-ROM CDU-8003A
  924.   Product revision level: 1.9a
  925. Now go into the kernel source tree and (under drivers/scsi/scsi.c) add 
  926. your drive to the blacklist of drives that have problems (just search for 
  927. "blacklist"). Recompile the kernel and try it out without the wd33c93= 
  928. options you probably used so far. 
  929. If it works, you might want to send your change as a GNU context diff to
  930. one of the Linux/m68k maintainers.
  931. [Can someone mail instructions how to do this on the Atari, please?]
  932.  
  933. 8.12 I displayed a binary file, and now my console is totally screwed up
  934. ------------------------------------------------------------------------
  935. (provided by Frank Neumann)
  936. Once in a while, it may happen to you that you try to read a binary
  937. file. Text viewers like 'more' will interpret the input they get as control
  938. characters, to for instance change to an alternate character set. This
  939. may result in a strange looking prompt, made up of special characters.
  940. In such a case, you need to reset the terminal to its initial state.
  941. There are several ways to do this, here's what I use: You have to
  942. type (blindly):
  943. echo "^V Esc c"
  944.       ^^^^^^^^  Read this as: Control-V, Escape key, character 'c'
  945. The sequence 'Escape-c' does just what we want: It resets the text
  946. attributes and character set, and also clears the screen. You have to mask
  947. the escape character with Control-V, otherwise the shell would directly
  948. try to use the 'Escape' for its purposes. ^V^O should do the same job.
  949.  
  950. 8.13 Can I use both ELF and a.out libraries/binaries in my system?
  951. ------------------------------------------------------------------
  952. (provided by Frank Neumann)
  953. No problem. If you moved to ELF according to Andreas Schwab's hints
  954. (<ftp://tsx.mit.edu/pub/linux/680x0/ELF/README>), you already have a mixed
  955. system. All old a.out shared libraries, stubs, static libraries and simple
  956. object files (*.so, *.sa, *.o, *.a) are now in /usr/m68k-linuxaout/lib,
  957. except for libc and libm which remain in /lib. 
  958. The ELF shared libraries are in the usual places -- /lib, /usr/lib and
  959. maybe /usr/X11R6/lib and /usr/local/lib -- and don't interfere with the
  960. a.out libraries. 
  961. When starting a program which is either a.out or ELF, the corresponding
  962. link loader will determine what shared libraries are required and load
  963. them on the fly. This of course works for both a.out and ELF binaries.
  964. You only have to keep in mind that with a mixed system (using binaries
  965. some of which require ELF libraries while others require a.out libraries)
  966. both ELF and a.out libraries have to be kept in memory (in particular, but
  967. not limited to, libc and libm). This certainly costs valuable memory.
  968. So, the long-term solution will be a pure ELF installation (libraries and
  969. binaries).
  970. Note: Concerning a.out libraries, a couple of people had problems with the
  971. last libc that was created (4.7.2). So we recommend staying with 4.6.27
  972. which most people were using.
  973.  
  974. 8.14 After installing a patch, the new files are in the current directory
  975. -------------------------------------------------------------------------
  976. Do a "man patch". Understand what the "-p" option does. In case the rest of
  977. the patches install ok, add a "-p0" to your command options. I usually use
  978. "patch -s -E -p0 <patchfile" (s: only report errors, E: remove empty files).
  979.  
  980. 8.15 I can't mount MSDOS diskettes on my Amiga
  981. ----------------------------------------------
  982. On the Amiga, the floppy minor numbers are 0-3 for drives 0-3 using Amiga
  983. formatted disk and 4-7 for drives 4-7 using MSDOS formatted disks (drive+4).
  984. Please name them mfd0-mfd3. Just in case you don't know how to create
  985. the device files: Do a mknod "/dev/mfd(0-3) b 2 (4-7)" and please read a book
  986. about Linux (even PC :-). Now you can do a "mount -t msdos /dev/mfd0 /mnt".
  987. In case this still doesn't work: Do a "cat /proc/filesystems" and check
  988. whether the kernel was configured to support msdos filesystems.
  989. Alternatively you can use the mtools package. You can find a correctly
  990. configured and precompiled package on tsx-11 in the bin directory.
  991.  
  992. 8.16 Less behaves weird when I press a key
  993. ------------------------------------------
  994. The older versions of the root-filesys have the wrong device numbers for
  995. /dev/tty. Delete it and do a "MAKEDEV std" (you do have a somewhat current
  996. /dev/MAKEDEV, don't you?)
  997.  
  998. 8.17 What are the current major/minor device numbers for /dev/xxx?
  999. ------------------------------------------------------------------
  1000. The address of the "official" version of MAKEDEV for Linux/i386 can be found
  1001. at sunsite and mirrors in /pub/Linux/system/Admin/MAKEDEV-2.2.tar.gz.
  1002. A list of the major/minor device numbers can also be found in the 1.3 kernel
  1003. tree as Documentation/devices.txt.
  1004.  
  1005. 8.18 How can I tell an a.out binary from an ELF one?
  1006. ----------------------------------------------------
  1007. Use the "file" command. It will either tell you 'mc68020 demand paged' if it
  1008. is an a.out binary, and give a longer (self-explanatory) description if it
  1009. is ELF.
  1010.  
  1011. 8.19 How can I find out about supported hardware?
  1012. -------------------------------------------------
  1013. Take a look at sections 4 (The current status of Linux/m68k) and 7.3 (Under
  1014. construction/To do) of this document.
  1015.  
  1016. 8.20 Gcc complains that it can't find shared libs while linking
  1017. ---------------------------------------------------------------
  1018. (provided by Geert Uytterhoeven)
  1019. The latest ld requires you to create links from *.so to *.so.6 for all libs,
  1020. so you should have e.g. libX11.so -> libX11.so.6, libX11.so.6 -> libX11.so.6.0
  1021.  
  1022. 8.21 Linux recognizes my Amigas XXX board but it does not work
  1023. --------------------------------------------------------------
  1024. Linux/m68k can detect the Amigas autoconfig devices. That it is able to
  1025. detect and correctly classify these devices does not mean that the kernel
  1026. has an acutal driver for that device. The list of supported hardware given
  1027. earlier should be exhaustive, i.e. anything that is not listed is not
  1028. supported.
  1029.  
  1030. 9. Famous last words
  1031. ====================
  1032.  
  1033. I want to thank everyone who contributed to this FAQ. There are many people
  1034. who did so by writing mail/news answering questions or by asking those
  1035. questions. Some sections are marked "provided by"; this means that the text
  1036. was originally written by that person but has been edited by me.
  1037. Frank Neumann <Frank.Neumann@informatik.uni-oldenburg.de>
  1038. Benjamin Lorenz <benni@phil.uni-sb.de>
  1039. Richard Hirst <srh@gpt.co.uk>
  1040. Geert Uytterhoeven <Geert.Uytterhoeven@cs.kuleuven.ac.be>
  1041.  
  1042. You may freely distribute this FAQ without any legally binding restrictions
  1043. except that it must remain in whole and unmodified. I would however be
  1044. grateful if you drop me a note if you include this file on a disk or cdrom
  1045. (especially, if you send me a copy ;-).
  1046.  
  1047. Amiga, Atari, Commodore, Motorola, MSDOS, Sun, Unix and maybe a few more words
  1048. I used in this text are trademarks. So what?
  1049. ++
  1050. The WWW address of my home page has changed (96-02-08)
  1051. --
  1052. J"org Mayer  Student und Sysop an der Universit"at Kaiserslautern
  1053. http      :  http://www-agrw.informatik.uni-kl.de/~jmayer/
  1054. e-mail    :  jmayer@informatik.uni-kl.de //  PGPid: 0xFB2461E1
  1055. For my address ask me, use finger or take a look at my www page.
  1056.