|
Philippe Andersson's RS/6000 Page |
|
IntroductionI recently received an old IBM RS/6000 E30 (mod. 7024, with a PowerPC 604e 166 MHz CPU). Thanks a ton to Shay ;-) I will document here below my attempts at getting Linux to boot and install on it. Table of ContentsProject news
Hardware descriptionIBM RISC System/6000 Model 7024-E30 (build date: May 8, 1997). At least, based on the hardware description I found on the web, I always assumed it was an E30. Now, the lsresidual utility reports: "Model: IBM Model 7024E20 (c0ED)". So what is it in the end ? I looked at various docs available on IBM site, such as the sales manual for those boxes, but I couldn't come to any conclusive evidence either way. Those two models look awfully close to start with, and at some point (July '97) the E20 was pulled from the market and replaced by the E30. The E30 model was available on the market since May '96, and my box was manufactured in May '97. So from the date alone, we can see that my box lies in the grey area between the 2. On the front panel, there is a sticker saying "604e-166 MHz". From the specs I found, this may have been the default processor type for early E30 models, but the "604-166" was also available to the E20 as an upgrade (though they don't mention the 604e -- what's the difference, anyway ?). So for the time being, my best guess is that either this is an upgraded E20, or I have a box that was marketted as an E30, actually based on an E20 motherboard, but fitted with a CPU intended for the E30 series. The pity is, the official series name was probably written on the front door (the one hiding the drive bays), but this door is missing from my machine :-/ FirmwareRS/6000 Firmware Version VIC97276, built on 10/03/97 at 14:09:51 (C)Copyright IBM Corporation, 1995,1996. All rights reserved. (most definitely pre-OpenFirmware !) Mother Board
SCSI Bus
Boot devices as listed by the firmware:
Boot Device Selection
Select one:
1. None
2. Diskette Drive 0 1.44MB, 3.5-in. diskette
3. SCSI CDROM Cntlr 0,6,0 MATSHITA CD-ROM CR-8004A 2.0a (Integrated)
4. SCSI Disk Cntlr 0,3,0 SEAGATE ST32171W 0484 (Integrated)
5. SCSI Disk Cntlr 0,2,0 SEAGATE ST32171W 0484 (Integrated)
6. SCSI Disk Cntlr 0,1,0 SEAGATE ST34371W 0484 (Integrated)
7. SCSI Disk Cntlr 0,0,0 IBM DCHS04W 2828 (Integrated)
PCI BusPCI bus was empty when received.
For more details, please have a look at the output of the lsresidual utility by David Monro. ISA BusISA bus is empty Linux boot tracesLinuxPPC 1999 boot disk (zImage-2.2.10.gz)Captured on June 8th, 2002.
STARTING SOFTWARE
PLEASE WAIT...
loaded at: 00639580 00650390
relocated to: 00800000 00816E10
board data at: 001E25D8 001E8FE4
relocated to: 00810304 00816D10
zimage at: 00644580 006E68B9
relocated to: 00817000 008B9339
avail ram: 00400000 00800000
Linux/PPC load: root=/dev/fd0 ramdisk_size=8192 load_ramdisk=1 console=ttyS0
Uncompressing Linux...done.
Now booting the kernel
PReP architecture
Total memory = 96MB; using 512kB for hash table (at c0200000)
Linux version 2.2.10 (gary@ares.ft-collins.cygnus.com) (gcc version egcs-2.91.66
19990314 (egcs-1.1.2 release)) #34 Sat Aug 21 06:39:20 MDT 1999
Boot arguments: root=/dev/fd0 ramdisk_size=8192 load_ramdisk=1 console=ttyS0
time_init: decrementer frequency = 1248000/60 (0MHz)
Calibrating delay loop... 0.82 BogoMIPS
Memory: 95144k available (1092k kernel code, 1976k data, 92k init) [c0000000,
c6000000]
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
IBM ID: 00000095
Setting PCI interrupts for a "IBM 8xx (Carolina)"
Relocating PCI address 33fc0000 -> 1fc0000
Relocating PCI address 3effff00 -> 1ffff00
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
Starting kswapd v 1.5
initialize_kbd: Keyboard failed self test
Keyboard timed out[1]
Keyboard timed out[1]
Keyboard timeout[2]
Keyboard timed out[1]
Keyboard timeout[2]
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
Macintosh non-volatile memory driver v1.0
RAM disk driver initialized: 16 RAM disks of 8192K size
Floppy drive(s): fd0 is 2.88Mno cont in shutdown!
floppy0: FDC access conflict!
Trying to lock fdc while usage count=0
floppy0: no floppy controllers found
ncr53c8xx: at PCI bus 1, device 0, function 0
ncr53c8xx: attempting to force PCI_COMMAND_MEMORY...succeeded.
ncr53c8xx: 53c825 detected
ncr53c825-0: rev=0x02, base=0x1ffff00, io_port=0xff00, irq=0
ncr53c825-0: ID 7, Fast-10, Parity Checking
CACHE TEST FAILED: ncr wrote 2, host read 0.
CACHE TEST FAILED: ncr wrote 2, read back 0.
CACHE INCORRECTLY CONFIGURED.
ncr53c825-0: restart (scsi reset).
scsi0 : ncr53c8xx - version 3.2
scsi : 1 host.
Custom-built 2.2.17 kernel (zImage)Captured on June 19th, 2002. loaded at: 0062FB80 00646990 relocated to: 00800000 00816E10 board data at: 001E2E10 001E981C relocated to: 00810304 00816D10 zimage at: 0063AB80 00706A58 relocated to: 00817000 008E2ED8 avail ram: 00400000 00800000 Linux/PPC load: console=ttyS0 root=/dev/fd0 load_ramdisk=1 Uncompressing Linux...done. Now booting the kernel PReP architecture Total memory = 96MB; using 512kB for hash table (at c0280000) Linux version 2.2.17 (root@wopr.heron.net) (gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)) #2 Wed Jun 19 22:34:55 CEST 2002 Boot arguments: console=ttyS0 root=/dev/fd0 load_ramdisk=1 time_init: decrementer frequency = 1068000/60 (0MHz) Console: colour dummy device 80x25 Calibrating delay loop... 0.82 BogoMIPS Memory: 94552k available (1356k kernel code, 2264k data, 132k init) [c0000000,c6000000] Dentry hash table entries: 16384 (order 5, 128k) Buffer cache hash table entries: 131072 (order 7, 512k) Page cache hash table entries: 32768 (order 5, 128k) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware IBM ID: 00000095 etting PCI interrupts for a "IBM 8xx (Carolina)" Relocating PCI address 3bfc0000 -> 1fc0000 Relocating PCI address 3effff00 -> 1ffff00 Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0 for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP TCP: Hash tables configured (ehash 131072 bhash 65536) NET4: Linux IPX 0.38 for NET4.0 IPX Portions Copyright (c) 1995 Caldera, Inc. NET4: AppleTalk 0.18 for Linux NET4.0 Starting kswapd v 1.5 initialize_kbd: Keyboard failed self test Keyboard timed out[1] Keyboard timed out[1] Keyboard timeout[2] Keyboard timed out[1] Keyboard timeout[2] Serial driver version 4.27 with no serial options enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A pty: 256 Unix98 ptys configured Macintosh non-volatile memory driver v1.0 RAM disk driver initialized: 16 RAM disks of 4096K size Floppy drive(s): fd0 is 2.88Mno cont in shutdown! floppy0: FDC access conflict! Trying to lock fdc while usage count=0 floppy0: no floppy controllers found ncr53c8xx: at PCI bus 1, device 0, function 0 ncr53c8xx: attempting to force PCI_COMMAND_MEMORY...succeeded. ncr53c8xx: 53c825 detected ncr53c825-0: rev=0x02, base=0x1ffff00, io_port=0xff00, irq=0 ncr53c825-0: ID 7, Fast-10, Parity Checking CACHE TEST FAILED: ncr wrote 2, host read 0. CACHE TEST FAILED: ncr wrote 2, read back 0. CACHE INCORRECTLY CONFIGURED. ncr53c825-0: detaching... scsi : 0 hosts. scsi : detected total. PPP: version 2.3.7 (demand dialling) TCP compression code copyright 1989 Regents of the University of California PPP line discipline registered. PPP BSD Compression module registered PPP Deflate Compression module registered VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER request_module[block-major-2]: Root fs not mounted VFS: Insert root floppy and press ENTER 43P custom kernel by Leigh Brown (zImage.prep-2.4.16-2)Captured on June 20th, 2002. loaded at: 0062FB80 00778714 relocated to: 00800100 00948C94 board data at: 001E2E10 001E981C relocated to: 0093EEAC 009458B8 zimage at: 00808800 0093CA5A avail ram: 00400000 00800000 Linux/PPC load: root=/dev/fd0 console=ttyS0 load_ramdisk=1 Uncompressing Linux...done. Now booting the kernel Total memory = 96MB; using 256kB for hash table (at c0340000) Linux version 2.4.16 (leigh@micro.solinno.co.uk) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)) #1 Thu Dec 6 12:57:55 GMT 2001 PReP architecture PCI Autoconfig: Found Bus 0, Device 11, Function 0 PCI Autoconfig: Found P2P bridge, device 12 PCI Autoconfig: Found Bus 0, Device 12, Function 0 PCI Autoconfig: Found Bus 1, Device 0, Function 0 PCI Autoconfig: BAR 0x10, I/O, size=0x100, address=0xfffff00 PCI Autoconfig: BAR 0x14, Mem size=0x100, address=0x3effff00 PCI Autoconfig: Found Bus 0, Device 13, Function 0 PCI Autoconfig: BAR 0x10, Mem size=0x40000, address=0x3edc0000 PCI Autoconfig: Found Bus 0, Device 14, Function 0 PCI Autoconfig: BAR 0x10, Mem size=0xcb000000, address=0x31000000 PCI Autoconfig: Found Bus 0, Device 14, Function 1 PCI Autoconfig: BAR 0x10, Mem size=0xcf000000, address=0x20000000 PCI Autoconfig: Found Bus 0, Device 14, Function 2 PCI Autoconfig: BAR 0x10, Mem size=0xe0000000, address=0x0 PCI Autoconfig: Found Bus 0, Device 14, Function 3 PCI Autoconfig: BAR 0x10, Mem size=0x1000000, address=0xff000000 PCI Autoconfig: Found Bus 0, Device 14, Function 4 PCI Autoconfig: BAR 0x10, Mem size=0x1000000, address=0xfe000000 PCI Autoconfig: Found Bus 0, Device 14, Function 5 PCI Autoconfig: BAR 0x10, Mem size=0x1000000, address=0xfd000000 PCI Autoconfig: Found Bus 0, Device 14, Function 6 PCI Autoconfig: BAR 0x10, Mem size=0x1000000, address=0xfc000000 PCI Autoconfig: Found Bus 0, Device 14, Function 7 PCI Autoconfig: BAR 0x10, Mem size=0x4000000, address=0xf8000000 mpic = c02dcaf4 On node 0 totalpages: 24576 zone(0): 24576 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: root=/dev/fd0 console=ttyS0 load_ramdisk=1 time_init: decrementer frequency = 16.116750 MHz Console: colour dummy device 80x25 Calibrating delay loop... 321.94 BogoMIPS Memory: 93168k available (2040k kernel code, 944k data, 256k init, 0k highmem) Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes) Inode-cache hash table entries: 8192 (order: 4, 65536 bytes) Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware Fixup res 0 (200) of dev 00:0d.0: 3edc0000 -> fedc0000 PCI: device 00:0e.0 has unknown header type 7f, ignoring. Fixup res 1 (200) of dev 01:00.0: 3effff00 -> feffff00 IBM ID: 00000095 Unknown IBM motherboard! Defaulting to Carolina. Setting PCI interrupts for a "IBM PS830/PS850/7248 (Carolina)" PCI: Cannot allocate resource region 0 of PCI bridge 0 PCI: resource is 0..fffffff (100), parent c026fdb8 PCI:00:0d.0: Resource 0: fedc0000-fedfffff (f=200) PCI:01:00.0: Resource 0: 0fffff00-0fffffff (f=101) PCI: Cannot allocate resource region 0 of device 01:00.0 PCI:01:00.0: Resource 1: feffff00-feffffff (f=200) Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd VFS: Diskquotas version dquot_6.4.0 initialized Journalled Block Device driver loaded Detected PS/2 Mouse Port. pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.10e block: 128 slots per queue, batch=32 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Floppy drive(s): fd0 is 2.88M FDC 0 is a National Semiconductor PC87306 loop: loaded (max 8 devices) SCSI subsystem driver Revision: 1.00 sym.1.0.0: setting PCI_COMMAND_PARITY... sym0: <825> rev 0x2 on pci bus 1 device 0 function 0 irq 0 sym0: No NVRAM, ID 7, Fast-10, SE, parity checking sym0: SCSI BUS has been reset. scsi0 : sym-2.1.16a It then hangs indefinitely... linux_2_4_devel + e30_240 patch by Leigh BrownCaptured on July 9th, 2002. loaded at: 0062FB80 0072B99C relocated to: 00800000 008FBE1C board data at: 001E2E10 001E981C relocated to: 008F2134 008F8B40 zimage at: 0080A4D0 008F138E avail ram: 00400000 00800000 Linux/PPC load: console=ttyS0,9600 console=tty0 root=/dev/fd0 load_ramdisk=1 Uncompressing Linux...done. Now booting the kernel Memory BAT mapping: BAT2=64Mb, BAT3=32Mb, residual: 64Mb Total memory = 96MB; using 256kB for hash table (at c0280000) Linux version 2.4.19-rc1 (philipa@marlowe) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Tue Jul 9 19:37:48 CEST 2002 PReP architecture IBM planar ID: 00000095 MPIC at 0xf3fc0000 (0x33fc0000), length 0x00040000 mapped to 0xeffc0000 On node 0 totalpages: 24576 zone(0): 24576 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: console=ttyS0,9600 console=tty0 root=/dev/fd0 load_ramdisk=1 OpenPIC Version 1.0 (4 CPUs and 16 IRQ sources) at effc0000 time_init: decrementer frequency = 16.116750 MHz Calibrating delay loop... 321.12 BogoMIPS Memory: 94456k available (1488k kernel code, 688k data, 244k init, 0k highmem) Dentry cache hash table entries: 16384 (order: 5, 131072 bytes) Inode cache hash table entries: 8192 (order: 4, 65536 bytes) Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware Unknown bridge resource 2: assuming transparent interrupts for a "IBM 7024-E30" PCI: Error while updating region 00:0e.0/0 (00000000 != ff000000) PCI: moved device 00:0e.0 resource 0 (200) to 0 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd devfs: v1.12a (20020514) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x0 Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Detected PS/2 Mouse Port. pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Floppy drive(s): fd0 is 2.88M FDC 0 is a National Semiconductor PC87306 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) SCSI subsystem driver Revision: 1.00 PCI: Enabling device 01:00.0 (0005 -> 0007) sym.1.0.0: setting PCI_COMMAND_PARITY... sym0: <825> rev 0x2 on pci bus 1 device 0 function 0 irq 17 sym0: No NVRAM, ID 7, Fast-10, SE, parity checking sym0: SCSI BUS has been reset. scsi0 : sym-2.1.17a sym0:0: FAST-10 WIDE SCSI 20.0 MB/s ST (100.0 ns, offset 8) Vendor: IBM Model: DCHS04W Rev: 2828 Type: Direct-Access ANSI SCSI revision: 02 Vendor: SEAGATE Model: ST34371W Rev: 0484 Type: Direct-Access ANSI SCSI revision: 02 Vendor: SEAGATE Model: ST32171W Rev: 0484 Type: Direct-Access ANSI SCSI revision: 02 Vendor: SEAGATE Model: ST32171W Rev: 0484 Type: Direct-Access ANSI SCSI revision: 02 Vendor: MATSHITA Model: CD-ROM CR-8004A Rev: 2.0a Type: CD-ROM ANSI SCSI revision: 02 sym0:0:0: tagged command queuing enabled, command queue depth 16. sym0:1:0: tagged command queuing enabled, command queue depth 16. sym0:2:0: tagged command queuing enabled, command queue depth 16. sym0:3:0: tagged command queuing enabled, command queue depth 16. Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0 Attached scsi disk sdc at scsi0, channel 0, id 2, lun 0 Attached scsi disk sdd at scsi0, channel 0, id 3, lun 0 SCSI device sda: 8813870 512-byte hdwr sectors (4513 MB) Partition check: /dev/scsi/host0/bus0/target0/lun0: p1 p2 sym0:1: FAST-10 WIDE SCSI 20.0 MB/s ST (100.0 ns, offset 8) SCSI device sdb: 8496884 512-byte hdwr sectors (4350 MB) /dev/scsi/host0/bus0/target1/lun0: unknown partition table sym0:2: FAST-10 WIDE SCSI 20.0 MB/s ST (100.0 ns, offset 8) SCSI device sdc: 4223444 512-byte hdwr sectors (2162 MB) /dev/scsi/host0/bus0/target2/lun0: unknown partition table sym0:3: FAST-10 WIDE SCSI 20.0 MB/s ST (100.0 ns, offset 8) SCSI device sdd: 4223444 512-byte hdwr sectors (2162 MB) /dev/scsi/host0/bus0/target3/lun0: unknown partition table Attached scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0 sym0:6:0:M_REJECT to send for : 1-3-1-76-8. sr0: scsi-1 drive Uniform CD-ROM driver Revision: 3.12 Macintosh non-volatile memory driver v1.0 mice: PS/2 mouse device common for all mice NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 8192 bind 8192) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 244k init 32k pmac 8k chrp 4k openfirmware serial console detected. Disabling virtual terminals. init started: BusyBox v0.60.3-pre (2002.01.19-22:40+0000) multi-call binary ProceduresSetup to connect to SMS through the serial port
Booting from a floppy
Customizing a Debian root floppySince accessing the host through a serial console prevents you from using the VT switching feature (Alt-F2, etc.), and since the installer program is started by init(8) with the "respawn" option, it's not possible to easily reach a shell prompt. This drove me to search a way to modify the Debian root / install disk (distributed as a file called root.bin) in order for it to spawn a shell instead of the install program. This is the procedure I followed:
There you go. Don't forget to compile your kernel with ramdisk support and to use (at least) the following boot parameters: root=/dev/fd0 load_ramdisk=1 if you want to be prompted for it. The installer can still be started manually by invoquing /sbin/udbootstrap (you can abort it by pressing Ctrl-C). Debian 3.0 installation procedureThe installation procedure is here [updated !]. Files
ResourcesHardware: Technical Documentation
Linux: Technical Documentation
Linux: older test results
|
| Last Modified: January 16, 2004. philipa@tiscalinet.be |