Subject: NetBSD 3.1 boots on Sun Fire V120
To: None <port-sparc64@netbsd.org>
From: Erik E. Fair <fair@netbsd.org>
List: port-sparc64
Date: 05/07/2007 16:51:02
This is probably not news to the developers hacking the guts of the kernel,
but I haven't seen it mentioned here or on the NetBSD web site: the Sun Fire
V120 (Flapjack 2 is the name of the motherboard) boots netbsd just fine. It's
a faster revision (550 or 650 MHz UltraSPARC IIe) of the Netra T1 model 200
(500 MHz), and was only recently EOL'd. The Netra T1's are going really cheap
on eBay lately.

These are pretty nice boxes for servers: 1U, low power consumption (100W),
two LVD SCSI busses (first bus has two SCA slots for 1 inch "low profile" SCSI
disks mounted in the Sun 540-3024 "spud" bracket), two 10/100 Ethernet
interfaces, two USB ports, and one 32-bit, 33 MHz PCI slot on a riser.

No graphics or keyboard ports (unless you count the USB), so it really wants
to be managed through an RS-232 port that's presented as an RJ-45, with a
secondary "Lights-Out Management" (LOM) processor talking to it.

Odds are that the IDE version of this system (Sun Fire V100) will work too.

If we ever get the UltraSPARC III (3) working, we can move on to the next
model: Sun Fire V125, which is faster still. I see that OpenBSD has some
UltraSPARC III systems working...

The dmesg.boot follows. I've maxed out the RAM (PC133 ECC registered, four
slots, 512MB per DIMM max), and put an Intel 1000 Pro MT gigabit network
interface into the PCI slot - haven't tested it yet, but I bet it works. There
are number of "not configured" reports to work on, though.

	Erik <fair@netbsd.org>


console is /pci@1f,0/pci@1,1/isa@7/serial@0,3f8
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    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 3.1 (GENERIC) #0: Tue Oct 31 09:36:38 UTC 2006
	builds@b0.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/sparc64/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/sparc64/compile/GENERIC
total memory = 2048 MB
avail memory = 1992 MB
bootpath: /pci@1f,0/pci@1,0/scsi@8,0/disk@0,0
mainbus0 (root): SUNW,UltraAX-i2: hostid 83273ea5
cpu0 at mainbus0: SUNW,UltraSPARC-IIe @ 648 MHz, version 0 FPU
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l)
psycho0 at mainbus0
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0
psycho_alloc_extent: prom_getprop failed
psycho_alloc_extent: prom_getprop failed
DVMA map: c0000000 to e0000000
IOTSB: 2198000 to 2218000
pci0 at psycho0
pci0: i/o space, memory space enabled
ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba PCI bridge (rev. 0x13)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ebus0 at pci1 dev 12 function 0
ebus0: Sun Microsystems PCIO Ebus2 (US III), revision 0x01
flashprom at ebus0 addr 0-fffff not configured
clock0 at ebus0 addr 0-1fff: mk48t59
ebus_attach: idprom: incomplete
SUNW,lomh at ebus0 addr 200000-200003 ipl 42 not configured
Acer Labs M7101 Power Management Controller (miscellaneous prehistoric) at pci1 dev 3 function 0 not configured
ebus1 at pci1 dev 7 function 0
ebus1: Acer Labs M1543 PCI-ISA Bridge, revision 0x00
power at ebus1 addr 800-82f ipl 37 not configured
com0 at ebus1 addr 3f8-3ff ipl 43: ns16550a, working fifo
com0: console
com1 at ebus1 addr 2e8-2ef ipl 43: ns16550a, working fifo
gem0 at pci1 dev 12 function 1: Sun Microsystems ERI Ethernet (rev. 0x01)
gem0: interrupting at ivec 3006
gem0: Ethernet address 00:03:ba:27:3e:a5, 2KB RX fifo, 2KB TX fifo
ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x0008bb, model 0x0002, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ohci0 at pci1 dev 12 function 3: Sun Microsystems USB controller (rev. 0x01)
ohci0: interrupting at ivec 24
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Sun Microsystem OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
aceride0 at pci1 dev 13 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc3)
aceride0: bus-master DMA support present
aceride0: primary channel configured to native-PCI mode
aceride0: using ivec 180c for native-PCI interrupt
atabus0 at aceride0 channel 0
aceride0: secondary channel configured to native-PCI mode
atabus1 at aceride0 channel 1
gem1 at pci1 dev 5 function 1: Sun Microsystems ERI Ethernet (rev. 0x01)
gem1: interrupting at ivec 301c
gem1: Ethernet address 00:03:ba:27:3e:a6, 2KB RX fifo, 2KB TX fifo
ukphy1 at gem1 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x0008bb, model 0x0002, rev. 1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ohci1 at pci1 dev 5 function 3: Sun Microsystems USB controller (rev. 0x01)
ohci1: interrupting at ivec 26
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Sun Microsystem OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
ppb1 at pci0 dev 1 function 0: Sun Microsystems Simba PCI bridge (rev. 0x13)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
esiop0 at pci2 dev 8 function 0: Symbios Logic 53c896 (ultra2-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at ivec 20
scsibus0 at esiop0: 16 targets, 8 luns per target
esiop1 at pci2 dev 8 function 1: Symbios Logic 53c896 (ultra2-wide scsi)
esiop1: using on-board RAM
esiop1: interrupting at ivec 20
scsibus1 at esiop1: 16 targets, 8 luns per target
wm0 at pci2 dev 5 function 0: Intel i82540EM 1000BASE-T Ethernet, rev. 2
wm0: interrupting at ivec 15
wm0: 32-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:07:e9:0f:a6:cf
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
pcons at mainbus0 not configured
No counter-timer -- using %tick at 648MHz as system clock.
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <CD-224E, , 1.7A> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST373405LC, 0003> disk fixed
sd0: 70007 MB, 29550 cyl, 8 head, 606 sec, 512 bytes/sect x 143374741 sectors
sd0: sync (25.00ns offset 31), 16-bit (80.000MB/s) transfers, tagged queueing
root on sd0a dumps on sd0b
root file system type: ffs