Subject: Re: NetBSD2.0/sparc not ready for prime time?
To: None <port-sparc@NetBSD.org>
From: Chris Clymer <chris@theconceited.com>
List: port-sparc
Date: 01/31/2005 15:09:17
In case anyone missed it:  Apache 2.0 runs on sparc32 in NBSD 2.0 just fine.  
This is from my Sparcstation5:

-bash-3.00$ uname -a
NetBSD  2.0_RC5 NetBSD 2.0_RC5 (GENERIC) #0: Sat Nov 13 16:06:19 CET 2004  
tecneeq@ascent:/home/tecneeq/builds/NetBSD-2.0_RC5-sparc-obj/sys/arch/sparc/compile/GENERIC 
sparc
-bash-3.00$ httpd -v
Server version: Apache/2.0.52
Server built:   Nov 20 2004 13:21:26

So yes, Apache 2.0 runs on 2.0, on sparc32.  I've been running it daily for 
months.  I recall the original poster had an IPX?  Perhaps its a problem with 
sun4c, and not with sun4m.  Trying to run Apache 2.0 on Sparcstation 10's and 
20's would be fairly pointless in that case.  See if these errors are 
replicated on other sun4c machines, because I have had none of them on sun4m.

Here's my dmesg for good measure, on the outside chance that there is 
something very specific to my hardware that explains why I'm not having the 
issue:

-bash-3.00$ dmesg | more
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_RC5 (GENERIC) #0: Sat Nov 13 16:06:19 CET 2004
        tecneeq@ascent:/home/tecneeq/builds/NetBSD-2.0_RC5-sparc-obj/sys/arch/sparc/compile/GENERIC
total memory = 255 MB
avail memory = 245 MB
bootpath: /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@0,0
mainbus0 (root): SUNW,SPARCstation-5: hostid 80361014
cpu0 at mainbus0: MB86904 @ 85 MHz, on-chip FPU
cpu0: 16K instruction (32 b/l), 8K data (16 b/l): cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08
timer0 at obio0 slot 0 offset 0xd00000: delay constant 40
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0: baud rate 1200 (console input)
ms0 at zs1 channel 1: baud rate 1200
slavioconfig at obio0 slot 0 offset 0x800000 not configured
auxreg0 at obio0 slot 0 offset 0x900000
power0 at obio0 slot 0 offset 0x910000 level 2
fdc0 at obio0 slot 0 offset 0x400000 level 11: no drives attached
iommu0 at mainbus0 addr 0x10000000: version 0x4/0x0, page-size 4096, range 
64MB
sbus0 at iommu0: clock = 21.250 MHz
dma0 at sbus0 slot 5 offset 0x8400000: DMA rev 2



On Monday 31 January 2005 2:49 pm, Johan A.van Zanten wrote:
> Tom Uban <uban@ubanproductions.com> wrote:
> > I entered this endeavour because I figured that 1.4.1 was getting a bit
> > stale and that it was time to update various applications along the way.
> > The installation was going pretty smoothly until the apache/pthread
> > encounter. Is anyone successfully running a sparc firewall/server with
> > NetBSD2.0, apache, etc?
>
>  I have a SPARC-20 with one 50 MHz CPU:
>
> cpu0 at mainbus0: TMS390Z50 v0 or TMS390Z55 @ 50 MHz, on-chip FPU
> cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l): cache enabled
>
>
> ...running 2.0.  Vishnu is my main DNS (bind9), MX (Postfix 2.1.5), and
> (mit) KDC. Everything is built from pkgsrc. I cross-compiled my one
> sun4m-optmized 2.0 on an Alpha running 2.0. Vishnu gets about 50,000 spam
> attempts a day, so it's actually a pretty busy little machine.
>
> Since it was upgraded about 2 weeks ago, it's been rock solid. I'm going
> to install an additional 50 Mhz CPU and some more RAM, and switch to the
> MP kernel, and then i can follow up with the results.
>
> However, i do not run Apache on this machine.  I do have another SPARC-20
> (my SPARC test machine and desktop, brahma) already running the MP kernel.
> I could try to bring up Apache there if you need a comparative data point.
>
>  -johan