Re: powerpc64 / Talos II - first boot after install

Eduardo Pires <[email protected]> Fri, 21 Apr 2023 14:36:09 +0000
Newsgroups gmane.os.openbsd.ppc
Message-ID <oEeGKjEgbpV8G-NeHSlsQlCePb1fcyExIUk7qs7oKQRljdNImr1eQKg5KRQEc3cq-iL0JE5RVCeqxrX_akYwo169hc4GEfm6uTdmJKoXZ48=@protonmail.com>
nothing related to OpenBSD, but some problem with my system.

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

so 1 core =3D 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 <[email protected]=
m> wrote:


> On Sat, 15 Apr 2023 09:30:00 +0000
> Eduardo Pires [email protected] wrote:
>=20
> > Hi George,
> >=20
> > does any of those errors tell you something?
> >=20
> > ...
> > cpu1: 10MB 128b/line 8-way L3 cache[ 126.324667899,3] OPAL: CPU not act=
ive 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
> > ...
>=20
>=20
> Error -14 is OPAL_WRONG_STATE
> http://open-power.github.io/skiboot/doc/opal-api/return-codes.html?highli=
ght=3Dopal error#opal-wrong-state
>=20
> pir c, d, e, f =3D 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.
>=20
> I suggest to "Exit to shell" in petitboot and check the threads in
> the Linux shell. I get this,
>=20
> # nproc
> 16
> # cat /sys/devices/system/cpu/offline
>=20
> # cat /sys/devices/system/cpu/online
> 0-15
>=20
> 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?
>=20
> --George