Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #82170

Bug#1056428: /usr/sbin/lparstat: Could not open /proc/ppc64/lparcfg when lauch lparstat

From PEPONAS Thomas <peponas.t@mipih.fr>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1056428: /usr/sbin/lparstat: Could not open /proc/ppc64/lparcfg when lauch lparstat
Date 2024-04-06 09:52 +0200
Message-ID <Iq8Yi-4oGU-5@gated-at.bofh.it> (permalink)
References <HCUdj-7des-3@gated-at.bofh.it> <HD1HP-7hRU-3@gated-at.bofh.it> <HCUdj-7des-3@gated-at.bofh.it> <HD1HP-7hRU-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#1056428: /usr/sbin/lparstat: Could not open /proc/ppc64/lparcfg when lauch lparstat PEPONAS Thomas <peponas.t@mipih.fr> - 2024-04-06 09:52 +0200

csiph-web