Subject: NetBSD ported to the IBM 7044-270 (POWER3-II cpu)
To: None <port-ofppc@netbsd.org>
From: Tim Rightnour <root@garbled.net>
List: port-ofppc
Date: 01/17/2008 17:09:15
Over the last few weeks, I have ported NetBSD/ofppc to the IBM 7044-270
POWER3-II based machine. For those of you curious as to what one of those is:
http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=dd&subtype=sm&appname
=pseries&htmlfid=897/ENUS7044-270
http://tinyurl.com/3af9dy (for above)
The machine has a 64bit POWER3-II CPU, which is what the modern POWER4 and
POWER5 chips were based on. Currently, NetBSD only runs on this machine in
32bit mode.
The kernel config for the POWER3-based machines is GENERIC_B64. It is
currently a separate config file because the 64bit bridge code in powerpc is
currently written to be incompatible with PPC_OEA. I hope to fix that in the
coming months, and unify the kernels. The stock version 1.8 ofwboot should
work on both however.
I'd like to thank Matt Thomas and Kevin Bowling for thier contributions in
making this port of NetBSD possible.
Some notes on the dmesg below:
1) I have only attempted single user mode at this point.
2) There is some kind of tty issue, so in order to boot single user mode, I had
to comment out tset from /root/.profile
3) The pciide isn't unsupported, there is no IDE header in the machine to
support.
4) At this point I have only netbooted the machine. Some minor work is likely
required to get this working from disk.
5) Its extremely likely that a 7044-170 will also boot.
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008
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.49 (GENERIC_B64) #97: Thu Jan 17 15:41:28 MST 2008
root@polaris.garbled.net:/obj/ofppc/sys/arch/ofppc/compile/GENERIC_B64
Model: IBM,7044-270
total memory = 2048 MB
avail memory = 1965 MB
timecounter: Timecounters tick every 10.000 msec
bootpath: /pci@fef00000/ethernet@10/netbsd.ofppc
mainbus0 (root)
cpu0 at mainbus0: POWER3II (Revision 1.4), ID 0 (primary)
cpu0: HID0 f001d1a0<EMCP,DBP,EBA,EBD,NHR,ICE,DCE,DLOCK,IFEM,SGE,BTIC>,
powersave: -1
cpu0: 375.00 MHz
rtas0 at mainbus0: version 1, entry @pa 0x100006f8
ofwpci0 at mainbus0
Found openpic at ffc00000
OpenPIC Version 1.2: Supports 8 CPUs and 32 interrupt sources.
Switching to COM console at speed 9600
pci0 at ofwpci0 bus 0: OFW method configuration space access
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: IBM Python PCI-PCI Bridge (rev. 0x0a)
pcib0 at pci0 dev 11 function 0: Symphony Labs 83C553 PCI-ISA Bridge (rev. 0x10)
pcib0:
pciide0 at pci0 dev 11 function 1
pciide0: Symphony Labs 82C105 (rev. 0x05)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel configured to native-PCI mode
pciide0: couldn't map native-PCI interrupt
pciide0: secondary channel configured to native-PCI mode
pciide0: couldn't map native-PCI interrupt
esiop0 at pci0 dev 12 function 0: Symbios Logic 53c875 (ultra-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at irq 17
scsibus0 at esiop0: 16 targets, 8 luns per target
pcn0 at pci0 dev 16 function 0: AMD PCnet-PCI Ethernet
pcn0: Am79c971 PCnet-FAST rev 6, Ethernet address 00:04:ac:e4:a1:a5
pcn0: interrupting at irq 18
nsphy0 at pcn0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy0 at pcn0 phy 31: Generic IEEE 802.3u media interface
ukphy0: Am79C972 internal 10BASE-T interface (OUI 0x000058, model 0x0001), rev.
1
ukphy0: 10baseT, 10baseT-FDX, auto
esiop1 at pci0 dev 17 function 0: Symbios Logic 53c895 (ultra2-wide scsi)
esiop1: using on-board RAM
esiop1: interrupting at irq 20
scsibus1 at esiop1: 16 targets, 8 luns per target
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
pcppi0: attached to attimer0
ofwpci1 at mainbus0
pci_configure_bus() failed
pci1 at ofwpci1 bus 64
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 0 function 0
pchb1: IBM Python PCI-PCI Bridge (rev. 0x0a)
IBM GXT-6000P Graphics Adapter (VGA display, revision 0x02) at pci1 dev 12
function 0 not configured
biomask 800003c netmask 800003c ttymask 800003c
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mftb" frequency 93746321 Hz quality 100
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
cd0 at scsibus0 target 1 lun 0: <IBM, CDRM00203\000\000\000\000\000!K, 1_06>
cdrom removable
cd0: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers
sd0 at scsibus0 target 8 lun 0: <IBM, ST318305LC, C509> disk fixed
sd0: 17357 MB, 29550 cyl, 2 head, 601 sec, 512 bytes/sect x 35548320 sectors
sd0: sync (50.00ns offset 16), 16-bit (40.000MB/s) transfers, tagged queueing
boot device: pcn0
root on pcn0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.x.x
nfs_boot: my_domain=garbled.net
nfs_boot: my_addr=192.168.x.x
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.x.x
root on 192.168.x.x:/usr/src/ofppc
root file system type: nfs
---
Tim Rightnour <root@garbled.net>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/