nothing related to OpenBSD, but some problem with my system.

I get this:
$ nproc 
28
$ cat /sys/devices/system/cpu/offline 
4-7
$ cat /sys/devices/system/cpu/online 
0-3,8-31
$

so 1 core = 4 threads are offline.
I'll dig further into it.

thanks,
Ed

Sent with Proton Mail secure email.

------- Original Message -------
On Wednesday, April 19th, 2023 at 2:42 AM, George Koehler <kern...@gmail.com> 
wrote:


> On Sat, 15 Apr 2023 09:30:00 +0000
> Eduardo Pires eduardo.pi...@protonmail.com wrote:
> 
> > Hi George,
> > 
> > does any of those errors tell you something?
> > 
> > ...
> > cpu1: 10MB 128b/line 8-way L3 cache[ 126.324667899,3] OPAL: CPU not active 
> > in OPAL !
> > failed to start, error -14
> > ...
> > opal0: idle psscr 300332
> > [ 126.331347066,3] OPAL: CPU not active in OPAL !
> > opal0: failed to idle pir 13, error -14
> > [ 126.331405980,3] OPAL: CPU not active in OPAL !
> > opal0: failed to idle pir 14, error -14
> > [ 126.331460755,3] OPAL: CPU not active in OPAL !
> > opal0: failed to idle pir 15, error -14
> > ...
> 
> 
> Error -14 is OPAL_WRONG_STATE
> http://open-power.github.io/skiboot/doc/opal-api/return-codes.html?highlight=opal
>  error#opal-wrong-state
> 
> pir c, d, e, f = 12, 13, 14, 15 looks like all 4 threads of a core,
> so something is wrong with that core. I don't know how to fix it.
> 
> I suggest to "Exit to shell" in petitboot and check the threads in
> the Linux shell. I get this,
> 
> # nproc
> 16
> # cat /sys/devices/system/cpu/offline
> 
> # cat /sys/devices/system/cpu/online
> 0-15
> 
> I have 16 threads (from 4 cores, 4 threads per core) and all of them
> are online. If you have 8 cores, expect 32 threads. Are all 32
> threads online during petitboot, or some offline?
> 
> --George

Reply via email to