Subject: NetBSD ported to the IBM MCA RS/6000 model 7006
To: None <>
From: Tim Rightnour <>
List: netbsd-announce
Date: 12/17/2007 15:39:47
[Please direct followup discussion to]

I am proud to announce the port of NetBSD to the IBM RS/6000 class of MCA-based
PowerPC machines.  NetBSD is the first free Operating System to run on this
class of machines.

The port was made to an IBM 7006-41T, which is a 601-based machine with MCA. 
It has not yet been tested on any other machines, but most other MCA/PowerPC
based machines should be supportable.  This port does not yet run on the
7012-3xx class of machines, or any other machine that has a POWER, POWER-RSC,
POWER2 or POWER2-SC CPU.  POWER-class machines will require significant CPU
code to be written.

This port does not cover PReP-based IBM RS/6000 machines, for those, please see
port-prep.  For OpenFirmware based RS/6000 machines, please see port-ofppc.

The following machines are likely to run this port, or run it with minimal

7006-42T/W, 7011-250, 7007-N40, 7009-C10/C20

Additionally, it is probably possible to port this to the following machines,
with changes to the bootloader:

7012-G30, 7013-570/580/J30, 7015-98B/R30/R40/R50.

The port currently does not fully reach single user mode, as there is still no
bus_dma backend to talk to the MCA cards.  At this point it is capable of
booting the kernel, and talking to the com ports to provide console services. 
I hope to fix the lack of bus_dma in the next few months.

This port was made possible by Kevin Bowling, who provided both the hardware,
as well as a pile of excellent books and documentation for the port.

To build this port:

check out recent CVS sources.
cd to src
./ -m rs6000 -T /usr/src/tools/ppc-hack -O /obj/rs6000
        tools kernel=GENERIC
cd sys/arch/rs6000/stand
cd mkbootimage
/usr/src/hackathon/sys/arch/rs6000/stand/mkbootimage/mkbootimage -b
        /usr/src/hackathon/sys/arch/rs6000/stand/boot/boot -k
        /obj/rs6000/sys/arch/rs6000/compile/GENERIC/netbsd -s

Create an entry in your bootptab or dhcpd.conf to boot the machine, set the
keyswitch to service and hook up a serial console.  Then you should be able to
boot the image over the network.  (the above paths are just examples, edit for
your environment)

>> NetBSD/rs6000 BOOT, Revision 1.1
>> (, Mon Dec 17 12:51:36 MST 2007)

Loading in()
2477848+204140 [158896+150412]=0x2da88c
NetBSD/rs6000 booting ...
Loaded initial symtab at 0x38ec84, strtab at 0x3b5d00, # entries 9377
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.99.42 (GENERIC) #11: Mon Dec 17 12:49:41 MST 2007
Model: rs6000
total memory = 192 MB
avail memory = 182 MB
mainbus0 (root)
cpu0 at mainbus0: 601 (Revision 2), ID 0 (primary)
cpu0: HID0 8000<EM>, powersave: -1
mca0 at mainbus0
mca0 slot 1: IBM 10/100 Mbps Ethernet MC Adapter (0x8f62) disabled
mca0 slot 3: IBM Fast SCSI-2 Adapter (0x8efc) disabled
mca0 slot 4: IBM Ultimedia Audio Adapter (0xdfe5) disabled
mca0 slot 14: IBM NCR 53C720 Integrated SCSI Controller (0x8fba) disabled
mca0 slot 15: IBM 10 Mbps Integrated Ethernet (Rainbow) (0x8f98) disabled
ioplanar0 at mca0
com0 at ioplanar0: i/o 0x30-0x37 irq 2: ns16550a, working fifo
com0: console
com1 at ioplanar0: i/o 0x38-0x3f irq 2: ns16550a, working fifo
biomask 8000000 netmask 8000000 ttymask 8000000
boot device: <unknown>
root device: 

Tim Rightnour <>
NetBSD: Free multi-architecture OS