On Mon, Nov 21, 2016 at 12:44:46PM +0200, Erkki Petsalo wrote:
| Hi,
| 
| Just installed OpenBSD on Sun Fire V240 but seems that second CPU is not
| used/enabled?
| 
| OpenBSD sun-fire-v240.local 6.0 GENERIC#1094 sparc64

You're running a UP kernel.

| load averages:  0.08,  0.16,  0.15                 sun-fire-v240.local
| 12:38:46
| 24 processes: 23 idle, 1 on processor
| up  0:36
| 1   CPUs:  0.0% user,  0.0% nice,  0.0% system,  0.2% interrupt, 99.8% idle
| Memory: Real: 30M/106M act/tot Free: 3905M Cache: 34M Swap: 0K/17G
| 
| max@sun-fire-v240:/home/max $ sysctl hw
| 
| hw.machine=sparc64
| hw.model=SUNW,UltraSPARC-IIIi (rev 3.3) @ 1503 MHz
| hw.ncpu=1

The UP kernel uses 1 CPU, however...

| hw.byteorder=4321
| hw.pagesize=8192
| 
hw.disknames=cd0:,sd0:0bfc3f0fb5ba8f73,sd1:5d8a9ef801e346c5,sd2:39f3892a4f278272,sd3:155ca40792d01e35,sd4:2d4a6538cd95b028
| hw.diskcount=6
| hw.sensors.softraid0.drive0=online (sd4), OK
| hw.cpuspeed=1503
| hw.vendor=Sun
| hw.product=SUNW,Sun-Fire-V240
| hw.physmem=4294967296
| hw.usermem=4294950912
| hw.ncpufound=2

...two CPUs are found

| hw.allowpowerdown=1
| 
| How do I enable it?

Try installing and booting the bsd.mp kernel:

        doas mv /bsd /bsd.sp
        doas cp ${PATH_TO_SPARC_INSTALL}/bsd.mp /bsd.mp
        doas mv /bsd.mp /bsd

This generally is taken care of by the installer.  Can you share more
details about your installation process?  That may point to th problem
(either in your process or in the installer doing this for you).

Cheers,

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to