Bug#1056428: /usr/sbin/lparstat: Could not open /proc/ppc64/lparcfg when lauch lparstat
Hello,
On IBM Power paltform , add cpu entitlement can not be done without LPARCFG=Y , because /proc/ppc64/lparcfg could not open:
Logs from drmgr :
########## Apr 03 10:54:41 2024 ##########
drmgr: -c cpu -r -q 10 -p ent_capacity -w 5 -d 1
Validating CPU DLPAR capability...yes.
Could not open "/proc/ppc64/lparcfg"
No such file or directory
CPU entitlement capability is not enabled on this platform.
Could not update system parameter ent_capacity
########## Apr 03 10:54:41 2024 ##########
will the LPARCFG option be activated on future versions?
Best Regards,
Thomas.
-----Message d'origine-----
De : John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Envoyé : mercredi 22 novembre 2023 21:06
À : PEPONAS Thomas <peponas.t@mipih.fr>
Cc : 1056428@bugs.debian.org
Objet : Re: Bug#1056428: /usr/sbin/lparstat: Could not open /proc/ppc64/lparcfg when lauch lparstat
Control: reassign -1 src:linux
Control: retitle -1 "linux: Please enable CONFIG_LPARCFG for ppc64 and ppc64el"
Hello Thomas!
On Wed, 2023-11-22 at 13:02 +0100, peponas wrote:
> lparstat report "Could not open /proc/ppc64/lparcfg" exemple :
> lparstat 1 1
> Could not open /proc/ppc64/lparcfg
>
> System Configuration
> type=Dedicated mode=Uncapped smt=8 lcpu=- mem=16653440 kB cpus=0
> ent=0.00
>
> %user %sys %wait %idle physc %entc lbusy app vcsw phint
> ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
> Could not open /proc/ppc64/lparcfg
> 0.12 0.12 0.00 99.75 0.00 nan 0.25 0.00 - 350
>
> kernel with config LPARCFG=Y resolv problem.
Since this is obviously something that needs to be changed in the kernel configuration, the bug should be reported against src:linux and not against the powerpc-utils package.
Thanks,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: