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

2024-04-03 Thread John Paul Adrian Glaubitz
Hello Thomas,

On Wed, 2024-04-03 at 12:22 +, PEPONAS Thomas wrote:
> 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?

The Debian kernel maintainers are informed since I have reassigned the bug to
the kernel package. I assume this will be fixed in the near future.

I might do it myself if I find the time during the next weeks.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



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

2024-04-03 Thread PEPONAS Thomas
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  
Envoyé : mercredi 22 novembre 2023 21:06
À : PEPONAS Thomas 
Cc : 1056...@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%idlephysc %entc lbusy   app  vcsw phint
> - - --- - - - - -
> Could not open /proc/ppc64/lparcfg
>  0.12  0.12  0.0099.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


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

2023-11-22 Thread John Paul Adrian Glaubitz
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%idlephysc %entc lbusy   app  vcsw phint
> - - --- - - - - -
> Could not open /proc/ppc64/lparcfg
>  0.12  0.12  0.0099.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



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

2023-11-22 Thread peponas
Package: powerpc-ibm-utils
Version: 1.3.10-2
Severity: normal
File: /usr/sbin/lparstat

Dear Maintainer,

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%idlephysc %entc lbusy   app  vcsw phint
- - --- - - - - -
Could not open /proc/ppc64/lparcfg
 0.12  0.12  0.0099.75 0.00   nan  0.25  0.00 -   350

kernel with config LPARCFG=Y resolv problem.

Regards,
Thomas.

-- System Information:
Debian Release: 12.2
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 6.1.0-13-powerpc64le (SMP w/8 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages powerpc-ibm-utils depends on:
ii  bash   5.2.15-2+b2
ii  bc 1.07.1-3
ii  libc6  2.36-9+deb12u3
ii  libnuma1   2.0.16-1
ii  librtas2   2.0.4-1
ii  librtasevent2  2.0.4-1
ii  zlib1g 1:1.2.13.dfsg-1

powerpc-ibm-utils recommends no packages.

Versions of packages powerpc-ibm-utils suggests:
pn  ipmitool
pn  sysfsutils  

-- no debconf information