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