Subject: Re: NetBSD/sparc64 now 'ready for primetime'?
To: =?ISO-8859-1?Q?Timo_Sch=F6ler?= <timo.schoeler@macfinity.net>
From: Philip Jensen <philip.jensen@solnetsolutions.co.nz>
List: port-sparc64
Date: 04/04/2005 09:10:38
For what its worth, I have a NetBSD v2.0_RC4 SPARC64 as a primary 
network router/firewall.  The hardware is a Sun Netra T1 with internal 
18GB SCSI disks and a mirrored RAID set.

We had some initial problems with Squid (we were trying to use it as a 
transparent proxy), but when Squid started to exhaust the RAM, and 
swapping started to occur the machine seemed to fall down.  It would 
respond to pings, but it was impossible to log on via SSH, or even the 
console.  We simply dropped Squid as it was new non-required 
functionality.  And it has run very well since.

Still to upgrade it to NetBSD v2.0 final.  But if it ain't broke don't 
fix it!

$ uname -a
NetBSD abfw0 2.0_RC4 NetBSD 2.0_RC4 (GENERIC) #0: Tue Oct 12 15:47:49 
CEST 2004  
tecneeq@ascent:/home/tecneeq/builds/NetBSD-2.0_RC4-sparc64-obj/sys/arch/sparc64/compile/GENERIC 
sparc64

$ uptime
 8:59AM  up 116 days,  1:52, 1 user, load averages: 0.53, 0.57, 0.58

$ ps wax
  PID TT  STAT      TIME COMMAND
    0 ??  DKs    0:06.90 [swapper]
    1 ??  Is     0:00.05 init
    2 ??  DK     0:00.00 [cryptoret]
    3 ??  DK     0:00.00 [sysmon]
    4 ??  DK     0:00.99 [usb0]
    5 ??  DK     0:00.00 [usbtask]
    6 ??  DK     0:00.00 [atabus0]
    7 ??  DK     0:00.00 [atabus1]
    8 ??  DK     0:00.65 [usb1]
    9 ??  DK     0:00.00 [scsibus0]
   10 ??  DK     0:00.00 [scsibus1]
   11 ??  DK     0:00.00 [atapibus0]
   12 ??  DK     0:00.18 [raid1]
   13 ??  DK     0:00.49 [raidio1]
   14 ??  DK     0:13.50 [raid0]
   15 ??  DK     0:08.29 [raidio0]
   16 ??  DK     0:01.14 [raid2]
   17 ??  DK     0:00.97 [raidio2]
   18 ??  DK     0:00.04 [raid3]
   19 ??  DK     0:00.08 [raidio3]
   20 ??  DK     2:18.41 [raid4]
   21 ??  DK     1:03.68 [raidio4]
   22 ??  DK     0:02.80 [raid5]
   23 ??  DK     0:03.01 [raidio5]
   24 ??  DK     0:00.00 [lfs_writer]
   25 ??  DK     0:00.02 [pagedaemon]
   26 ??  DK   635:50.65 [ioflush]
   27 ??  DK     1:46.43 [aiodoned]
  317 ??  SNs   24:39.65 /usr/pkg/sbin/named -u named
  355 ??  Ss    89:32.14 /usr/sbin/syslogd -p 
/var/chroot/named/var/run/log -p /var/run/log
  362 ??  Ss   546:57.04 /usr/sbin/ipmon -Ds
  418 ??  Is     0:01.28 mount_mfs -s 500m /dev/raid1a /tmp
  505 ??  Ss    10:13.74 /usr/sbin/ntpd
  543 ??  Is     0:00.00 /usr/sbin/powerd
  552 ??  Is    27:07.29 /usr/sbin/sshd
  634 ??  Is     0:49.87 /usr/sbin/cron
17573 p0  R+     0:00.00 ps wax
24775 p0  Ss     0:00.03 -ksh
  628 C00 Is+    0:00.02 /usr/libexec/getty suncons console

$ df -h
Filesystem    Size     Used     Avail Capacity  Mounted on
/dev/raid0a   485M      22M      439M     4%    /
/dev/raid4a   1.9G     502M      1.3G    26%    /var
/dev/raid2a   1.9G     151M      1.7G     8%    /usr
/dev/raid3a   291M      35K      276M     0%    /home
/dev/raid5a    10G     1.5G      8.1G    15%    /cache
mfs:418       485M      25K      460M     0%    /tmp
kernfs        1.0K     1.0K        0B   100%    /kern

$ cat /var/run/dmesg.boot
console is /pci@1f,0/pci@1,1/isa@7/serial@0,3f8
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    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 2.0_RC4 (GENERIC) #0: Tue Oct 12 15:47:49 CEST 2004
        
tecneeq@ascent:/home/tecneeq/builds/NetBSD-2.0_RC4-sparc64-obj/sys/arch/sparc64/compile/GENERIC
total memory = 1280 MB
avail memory = 1239 MB
bootpath: /pci@1f,0/pci@1,0/scsi@8,0/disk@0,0
mainbus0 (root): SUNW,UltraAX-i2: hostid 80fda43e
cpu0 at mainbus0: SUNW,UltraSPARC-IIe @ 500 MHz, version 0 FPU
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 1024K external (64 b/l)
psycho0 at mainbus0
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 3; PCI bus 0
psycho_alloc_extent: prom_getprop failed
psycho_alloc_extent: prom_getprop failed
DVMA map: c0000000 to e0000000
IOTSB: 2188000 to 2208000
pci0 at psycho0
pci0: i/o space, memory space enabled
ppb0 at pci0 dev 1 function 1: Sun Microsystems, Inc. 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, Inc. 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, Inc. ERI Ethernet 
(rev. 0x01)
gem0: interrupting at ivec 3006
gem0: Ethernet address 08:00:20:fd:a4:3e, 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, Inc. 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, Inc. ERI Ethernet (rev. 
0x01)
gem1: interrupting at ivec 301c
gem1: Ethernet address 08:00:20:fd:a4:3e, 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, Inc. 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, Inc. 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
ppb2 at pci2 dev 5 function 0: Digital Equipment DECchip 21153 PCI-PCI 
Bridge (rev. 0x04)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
Sun Microsystems, Inc. PCIO Ebus2 (miscellaneous bridge, revision 0x01) 
at pci3 dev 0 function 0 not configured
hme0 at pci3 dev 0 function 1: Sun Happy Meal Ethernet, rev. 1
hme0: interrupting at ivec 3005
hme0: Ethernet address 08:00:20:fd:a4:3e
ukphy2 at hme0 phy 1: Generic IEEE 802.3u media interface
ukphy2: OUI 0x0006b8, model 0x000c, rev. 1
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Sun Microsystems, Inc. PCIO Ebus2 (miscellaneous bridge, revision 0x01) 
at pci3 dev 1 function 0 not configured
hme1 at pci3 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
hme1: interrupting at ivec 3014
hme1: Ethernet address 08:00:20:fd:a4:3e
ukphy3 at hme1 phy 1: Generic IEEE 802.3u media interface
ukphy3: OUI 0x0006b8, model 0x000c, rev. 1
ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Sun Microsystems, Inc. PCIO Ebus2 (miscellaneous bridge, revision 0x01) 
at pci3 dev 2 function 0 not configured
hme2 at pci3 dev 2 function 1: Sun Happy Meal Ethernet, rev. 1
hme2: interrupting at ivec 3004
hme2: Ethernet address 08:00:20:fd:a4:3e
ukphy4 at hme2 phy 1: Generic IEEE 802.3u media interface
ukphy4: OUI 0x0006b8, model 0x000c, rev. 1
ukphy4: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Sun Microsystems, Inc. PCIO Ebus2 (miscellaneous bridge, revision 0x01) 
at pci3 dev 3 function 0 not configured
hme3 at pci3 dev 3 function 1: Sun Happy Meal Ethernet, rev. 1
hme3: interrupting at ivec 3015
hme3: Ethernet address 08:00:20:fd:a4:3e
ukphy5 at hme3 phy 1: Generic IEEE 802.3u media interface
ukphy5: OUI 0x0006b8, model 0x000c, rev. 1
ukphy5: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcons at mainbus0 not configured
No counter-timer -- using %tick at 500MHz 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 data transfers)
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST318404LSUN18G, 4207> disk fixed
sd0: 17274 MB, 7508 cyl, 19 head, 248 sec, 512 bytes/sect x 35378533 sectors
sd0: sync (25.00ns offset 31), 16-bit (80.000MB/s) transfers, tagged 
queueing
sd1 at scsibus0 target 1 lun 0: <IBM, DDYST1835SUN18G, S94A> disk fixed
sd1: 17274 MB, 7508 cyl, 19 head, 248 sec, 512 bytes/sect x 35378533 sectors
sd1: sync (25.00ns offset 31), 16-bit (80.000MB/s) transfers, tagged 
queueing
raid1: RAID Level 1
raid1: Components: /dev/sd0b /dev/sd1b
raid1: Total Sectors: 4095872 (1999 MB)
raid0: RAID Level 1
raid0: Components: /dev/sd0d /dev/sd1d
raid0: Total Sectors: 1023872 (499 MB)
raid2: RAID Level 1
raid2: Components: /dev/sd0e /dev/sd1e
raid2: Total Sectors: 4095872 (1999 MB)
raid3: RAID Level 1
raid3: Components: /dev/sd0f /dev/sd1f
raid3: Total Sectors: 614272 (299 MB)
raid4: RAID Level 1
raid4: Components: /dev/sd0g /dev/sd1g
raid4: Total Sectors: 4095872 (1999 MB)
raid5: RAID Level 1
raid5: Components: /dev/sd0h /dev/sd1h
raid5: Total Sectors: 21393152 (10445 MB)
root on raid0a dumps on raid0b
root file system type: ffs


Timo Schoeler wrote:

> hi,
>
> a small rollout ahead of me (next week and the week following) 
> consisting of a few Ultras, i have to decide whether to use NetBSD on 
> this machines or not.
>
> for the MP Ultra 2 i decided to go Solaris with pkgsrc, which runs fine.
>
> but i'm not very willing to put Solaris on every machine, as i like 
> NetBSD very much and especially it's nearly 'ascetic' attitude in 
> everything ;)
>
> so, i could run NetBSD on the single processor machines, but i'm not 
> up-to-date regarding things like the almost famous 'sleep forever' bug...
>
> anybody?
>
> tia & cheers,
>