[Bug 2023243] Comment bridged from LTC Bugzilla
bugproxy
2023243 at bugs.launchpad.net
Thu Aug 10 15:39:51 UTC 2023
------- Comment From scheloh at us.ibm.com 2023-08-10 11:35 EDT-------
(In reply to comment #29)
>
> Somehow between bionic/18.04 and focal/20.04 there was not much activity and
> not a lot of updates on the powerpc-utils package, indeed:
> $ rmadison powerpc-utils
> powerpc-utils | 1.2.18+r1.1.3-24ubuntu1 | trusty | source, powerpc,
> ppc64el
> powerpc-utils | 1.3.1-2 | xenial | source, powerpc,
> ppc64el
> powerpc-utils | 1.3.1-2ubuntu0.3 | xenial-updates | source, powerpc,
> ppc64el
> powerpc-utils | 1.3.4-0ubuntu2 | bionic | source, ppc64el
> powerpc-utils | 1.3.4-0ubuntu2 | focal | source, ppc64el
> powerpc-utils | 1.3.9-1ubuntu1 | jammy | source, ppc64el
> powerpc-utils | 1.3.9-1ubuntu2 | kinetic | source, ppc64el
> powerpc-utils | 1.3.10-2 | lunar | source, ppc64el
> powerpc-utils | 1.3.10-2 | mantic | source, ppc64el
>
> We are happy to take requests to upgrade to the latest version, always as
> part of the current development release (always before Feature Freeze) - and
> we will consider updating powerpc-utils to latest v1.3.11 for mantic/23.10,
> the release that is currently in development.
> I've now also subscribed myself to GH powerpc-utils for all new tags
> (releases) to get a notification.
>
> Please notice that there is no P10 support in 20.04 (nor P11) and there will
> be never support for it - in 20.04, since it would mean that we have to lift
> the architectural level that we compile for.
> That can only be done in the release that is currently in development.
> And even trying to install will end up in an illegal instruction error -
> it's just not compiled for it (except one emulates an older architecture or
> runs in compat mode - if possible).
I think you have misunderstood what I meant when I said "support for P10
and P11". I was not referring to architectural features, e.g. new
machine instructions. I was referring to new hypervisor features only
available on hypervisor versions shipped for newer hardware.
> For P9 and P10 one actually has to migrate to the latest 22.04 LTS:
> https://ubuntu.com/download/server/power
> 20.04 is only still an option in case of P8.
>
> I know that getting the commits to fix something in an older release can be
> painful, esp. if cherry-picking does not work cleanly and backports are
> needed - but it's due to the Ubuntu SRU process, that only allows important
> and critical fixes anyway, so not meant for version bumps, bigger patches or
> major new features.
This fix is critical and important. If drmgr is misbehaving then the
NovaLink partition cannot reliably orchestrate hotplug operations on the
other LPARs. This cripples the machine's ability to interoperate with
other machines in the cloud.
> We can of course (re-)build the latest version we have in the archive
> (currently v1.3.10) for focal in a PPA - and that is what I just did:
> https://launchpad.net/~fheimes/+archive/ubuntu/lp2023243
> But this is also not ideal, since this version may for example have support
> for some P10 hardware features, but the underlying 20.04 has no support for
> this level - so the door is even more open for further issues one may run
> into.
Most of powerpc-utils is written in C. It does not depend on
architectural features specific to P9, P10, or P11.
Again, this is about ensuring that a given 20.04 LPAR can interoperate
with the broader cloud. Working hotplug is, by definition, crucial for
reassigning resources without downtime.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to powerpc-utils in Ubuntu.
https://bugs.launchpad.net/bugs/2023243
Title:
Multiple issues found on Ubuntu 20.04 against drmgr
Status in The Ubuntu-power-systems project:
In Progress
Status in powerpc-utils package in Ubuntu:
Fix Released
Bug description:
== Comment: #0 - SANUJIT HOTA <sanujit.hota at in.ibm.com> - 2023-05-09
12:40:54 ==
---Problem Description---
1. drmgr command fails as it doesn't find a slot
2. drmgr throws error while removing the slot
3. ctrl+c closes the terminal opened for any vm
4. ctrl+] doesn't close the terminal. But comes out with an extra 'Enter'
Contact Information = Ramki/rramas1 at in.ibm.com, Sanujit/sanujit.hota at in.ibm.com
---uname output---
Linux novap9zz 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:04 UTC 2023 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = type_model=9009-42A,serial_num=13C647W
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Issue#1
=======
neo at novap9zz:~$ date;mkvterm --id 24;date
Tue May 9 13:23:40 EDT 2023
+ . gettext.sh
++ test 'X\t' = 'X\t'
++ echo=echo
++ test -z ''
++ case "$0" in
+ hvcsadmin=/usr/sbin/hvcsadmin
+ hvcsdevlimit=1024
+ pvmutil=/usr/sbin/pvmutil
+ socat=/usr/bin/socat
+ rmvterm=/usr/sbin/rmvtermutil
+ openvt=/bin/openvt
+ '[' -f /usr/bin/linuxvnc ']'
+ linuxvnc=/usr/bin/linuxvnc
+ flock=/usr/bin/flock
+ modprobe=/sbin/modprobe
+ slattach=/sbin/slattach
+ ifconfig=/sbin/ifconfig
+ tcpdump=/usr/sbin/tcpdump
+ Xvfb=/usr/bin/Xvfb
+ x11vnc=/usr/bin/x11vnc
+ java=/opt/pvm-rest/lib/wlp/java/bin/java
+ xinit=/usr/bin/xinit
+ bash=/bin/bash
+ xterm=/usr/bin/xterm
+ pgrep=/usr/bin/pgrep
+ giveUsage=0
+ lparId=0
+ lparIsIBMi=false
+ vnc=0
+ localVNC=0
+ ttyNumber=-1
+ vncPort=
+ vncPasswd=
+ vncDesktop=
+ lockFile=/tmp/vterm.lck
+ lockTimeout=15
+ lockFD=3
+ logFile=
+ socatParms=STDIO,raw,echo=0,escape=0x1d
+ socatParmsVNC=STDIO,raw,echo=0
+ useXterm=false
+ xtermParms='-fa xft:DejaVuSansMono:size=12 +sb -rv -e '
+ xtermSuffix1=' -- /usr/bin/Xvfb'
+ xtermSuffix2=' -screen 0 804x484x8 -nolisten tcp'
+ vncPortFile=/var/run/vterm_rfbport_lp
+ ptsLink=/var/run/5250_lp
+ socatParms5250=pty,raw,echo=0,link=/var/run/5250_lp
+ prefixLocal5250=10.252
+ prefixRemote5250=10.253
+ xvfbParms='-screen 0 976x615x8'
+ emulatorLocation=/opt/pvm/5250/
+ emulatorSettingsLocation=/etc/pvm/data/
+ emulatorSettingsLocationForLpar=/etc/pvm/data/lpar/
+ emulatorParms='-Xmx40m -cp /opt/pvm/5250/acshmchod.jar com.ibm.eNetwork.hmchod.HmcHod '
+ emulatorParmsSuffix1=' -port 2300 -title emulator_settings X X '
+ emulatorParmsSuffix2=' -- /usr/bin/Xvfb'
+ emulatorParmsSuffix3=' -screen 0 1024x768x24 -nolisten tcp'
+ RET_FAIL=1
+ RET_ITEMS_NOT_INSTALLED=2
+ RET_VTERM_ALREADY_STARTED=3
+ RET_OUT_OF_VTERMS=4
+ RET_USAGE=99
+ socatPid=-1
+ slattachPid=-1
+ declare -A lang_code
+ lang_code=([930]=0 [e930]=1 [939]=2 [1399]=3 [e1399]=4)
+ codePage=(930 930 939 1399 1399)
+ codePageKey=(KEY_JAPAN_KATAKANA KEY_JAPAN_KATAKANA_EX KEY_JAPAN_ENGLISH_EX KEY_JAPAN_LATIN_EXTENDED KEY_JAPAN_LATIN_EXTENDED_JIS2004)
+ fontName=(Monospaced)
+ pdfFont=(KozMinPro-Regular-Acro)
++ getopt -o h --long id:,help,vnc,local,passwdfile:,log:,vncport:,vncdesktop:,codepage: -- --id 24
+ TEMP=' --id '\''24'\'' --'
+ '[' 0 -ne 0 ']'
+ eval set -- ' --id '\''24'\'' --'
++ set -- --id 24 --
+ true
+ case "$1" in
+ lparId=24
+ shift 2
+ true
+ case "$1" in
+ break
+ [[ 24 -eq 0 ]]
+ [[ 24 =~ ^[0-9]+$ ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ /usr/sbin/pvmutil -o getrmcstatus
+ grep lpar_id=24,
+ grep os400
+ '[' 1 -eq 0 ']'
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ false = true ]]
+ [[ -n '' ]]
+ [[ false = false ]]
+ [[ -e /usr/bin/xinit ]]
+ [[ -e /usr/bin/Xvfb ]]
+ [[ -e /usr/bin/xterm ]]
+ [[ -e /usr/bin/x11vnc ]]
+ useXterm=true
++ expr 1024 - 1
+ '[' '!' -e /dev/hvcs1023 ']'
+ [[ false = true ]]
+ pvmhvcsadmin=/tmp/pvmhvcsadmin
+ '[' -s /tmp/pvmhvcsadmin ']'
+ hvcsadmin=/tmp/pvmhvcsadmin
+ chmod +x /tmp/pvmhvcsadmin
+ grep -F '=~ /.+(3\d+)$/' /tmp/pvmhvcsadmin
+ '[' 1 -eq 0 ']'
++ /usr/sbin/pvmutil -o create_vterm_dev --id 24
+ createDev=drc_index=30000008,drc_name=U9009.42A.13C647W-V1-C8
+ '[' 0 -ne 0 ']'
+ exec
+ /usr/bin/flock -x -w 15 3
+ '[' 0 -ne 0 ']'
+ trap '$flock -u $lockFD' SIGHUP SIGINT SIGTERM EXIT
++ /tmp/pvmhvcsadmin -all
+ hvcsCloseAll=
++ /tmp/pvmhvcsadmin -status
++ grep 'partition:24 '
+ hvcsConsoleString=
+ [[ -z '' ]]
+ gettext 'Warning - vterm not found. You likely have run out of vterm devices.'
Warning - vterm not found. You likely have run out of vterm devices.+ echo
+ gettext 'Attempting to clean up unused devices. Please wait...'
Attempting to clean up unused devices. Please wait...+ echo
++ /usr/sbin/pvmutil -o delete_vterm_dev --id 24
+ deleteDev=
+ '[' 0 -ne 0 ']'
+ /usr/sbin/rmvtermutil --inactive
Error removing the vterm device /dev/hvcs0 for partition 2:
[PVME0105FF05-0187] Command /usr/sbin/pvmdrmgr drmgr -c slot -s 'U9009.42A.13C647W-V1-C5' -r -w 3 returned 3. Additional messages: /usr/sbin/pvmdrmgr drmgr -c slot -s 'U9009.42A.13C647W-V1-C5' -r -w 3
Validating I/O DLPAR capability...yes.
There are no DR capable slots on this system
U9009.42A.13C647W-V1-C5 does not exist
Error removing the vterm device /dev/hvcs1 for partition 8:
[PVME0105FF05-0187] Command /usr/sbin/pvmdrmgr drmgr -c slot -s 'U9009.42A.13C647W-V1-C7' -r -w 3 returned 3. Additional messages: /usr/sbin/pvmdrmgr drmgr -c slot -s 'U9009.42A.13C647W-V1-C7' -r -w 3
Validating I/O DLPAR capability...yes.
There are no DR capable slots on this system
U9009.42A.13C647W-V1-C7 does not exist
++ /usr/sbin/pvmutil -o create_vterm_dev --id 24
[PVME0105FF05-0187] Command /usr/sbin/pvmdrmgr drmgr -c slot -s 'U9009.42A.13C647W-V1-C8' -a -w 3 returned 255. Additional messages: /usr/sbin/pvmdrmgr drmgr -c slot -s 'U9009.42A.13C647W-V1-C8' -a -w 3
Validating I/O DLPAR capability...yes.
There are no DR capable slots on this system
Could not find drc index for U9009.42A.13C647W-V1-C8, unable to add theslot.
+ createDev=
+ '[' 1 -ne 0 ']'
+ gettext 'Error creating a vterm device:'
Error creating a vterm device:+ echo
+ echo
+ exit 1
+ /usr/bin/flock -u 3
Tue May 9 13:24:16 EDT 2023
neo at novap9zz:~$
Issue#2
=======
Open terminal for a vm with mkvterm command, try to close it with ctrl+].
$ ^]
+ exitClean
+ lastCmd=0
+ [[ -z '' ]]
+ socatRet=0
+ '[' 0 -ne 0 ']'
+ echo ''
+ gettext 'Cleaning up...'
Cleaning up...+ echo
+ [[ true = true ]]
++ expr 100 + 2
+ pkill --full -SIGKILL '/usr/bin/x11vnc.*-display :102'
+ [[ false = true ]]
+ pkill --full -SIGHUP '.*/dev/hvcs0.*'
+ pkill --full -SIGKILL '.*/dev/hvcs0.*'
++ expr 100 + 2
+ pkill --full -SIGKILL '.*/usr/bin/Xvfb :102 .*'
+ /tmp/pvmhvcsadmin -close /dev/hvcs0
++ /usr/sbin/pvmutil -o delete_vterm_dev --id 2
+ deleteDev='[PVME0105FF05-0187] Command /usr/sbin/pvmdrmgr drmgr -c slot -s '\''U9009.42A.13C647W-V1-C5'\'' -r -w 3 returned 3. Additional messages: /usr/sbin/pvmdrmgr drmgr -c slot -s '\''U9009.42A.13C647W-V1-C5'\'' -r -w 3
Validating I/O DLPAR capability...yes.
There are no DR capable slots on this system
U9009.42A.13C647W-V1-C5 does not exist
'
+ '[' 1 -ne 0 ']'
+ gettext 'Error removing the vterm device:'
Error removing the vterm device:+ echo
+ echo '[PVME0105FF05-0187]' Command /usr/sbin/pvmdrmgr drmgr -c slot -s ''\''U9009.42A.13C647W-V1-C5'\''' -r -w 3 returned 3. Additional messages: /usr/sbin/pvmdrmgr drmgr -c slot -s ''\''U9009.42A.13C647W-V1-C5'\''' -r -w 3 Validating I/O DLPAR capability...yes. There are no DR capable slots on this system U9009.42A.13C647W-V1-C5 does not exist
[PVME0105FF05-0187] Command /usr/sbin/pvmdrmgr drmgr -c slot -s 'U9009.42A.13C647W-V1-C5' -r -w 3 returned 3. Additional messages: /usr/sbin/pvmdrmgr drmgr -c slot -s 'U9009.42A.13C647W-V1-C5' -r -w 3 Validating I/O DLPAR capability...yes. There are no DR capable slots on this system U9009.42A.13C647W-V1-C5 does not exist
+ exit 1
Tue May 9 13:29:34 EDT 2023
neo at novap9zz:~$
Issue#3
=======
Open terminal for a vm and hit ctrl+c. terminal closes.
Issue#4
=======
ctrl+] doesn't kill the terminal. User needs to hit 'Enter'.
Userspace tool common name: mkvterm
The userspace tool has the following bit modes: 64
Userspace rpm: na
Userspace tool obtained from project website: na
*Additional Instructions for Ramki/rramas1 at in.ibm.com, Sanujit/sanujit.hota at in.ibm.com:
-Post a private note with access information to the machine that the bug is occuring on.
-Attach ltrace and strace of userspace application.
== Comment: #1 - Application Cdeadmin <cdeadmin at us.ibm.com> - 2023-05-09 13:05:39 ==
<===This is bridged from RTC description===>
This is the description of the defect added by LTC - RTC bridge automatically,bridged from LTC https://bugzilla.linux.ibm.com/show_bug.cgi?id=202546.
</===End of RTC description===>
== Comment: #2 - Luciano Chavez <chavez at us.ibm.com> - 2023-05-10 09:54:24 ==
This bug reported looks similar to
Bug 191386 - [Regression] RHEL8.3 zstream - drmgr command failing
(DLPAR) (powerpc-utils?)
which was due to older version of drmgr having been bundled in the
pvm-core package rather than using the provided 1.3.6 version that
came with RHEL.
Here on the Ubuntu 20.04LTS we have the same binary for drmgr...
neo at novap9zz:~$ whereis drmgr
drmgr: /usr/sbin/drmgr /usr/local/sbin/drmgr
neo at novap9zz:~$ md5sum /usr/sbin/drmgr /usr/local/sbin/drmgr
c7863c699a2761567ae9d9b75dcc7854 /usr/sbin/drmgr
c7863c699a2761567ae9d9b75dcc7854 /usr/local/sbin/drmgr
yet according to the list of packages installed, is based on a fairly
older version of powerpc-utils-1.3.4-0ubuntu2 which is still the
latest available for 20.04 LTS. Current versions of Ubuntu provide
version 1.3.10-2
Assigning to Nathan to review and see which changes might be missing
in order to resolve this. I'll also attach a sosreport collected from
the LPAR...
== Comment: #3 - Luciano Chavez <chavez at us.ibm.com> - 2023-05-10
09:55:44 ==
== Comment: #4 - Nathan Lynch <Nathan.Lynch at ibm.com> - 2023-05-10 15:21:34 ==
Assigning to Scott.
== Comment: #5 - Scott Cheloha <scheloh at us.ibm.com> - 2023-05-11 09:58:31 ==
(In reply to comment #2)
> This bug reported looks similar to
>
> Bug 191386 - [Regression] RHEL8.3 zstream - drmgr command failing (DLPAR)
> (powerpc-utils?)
>
> which was due to older version of drmgr having been bundled in the pvm-core
> package rather than using the provided 1.3.6 version that came with RHEL.
>
> Here on the Ubuntu 20.04LTS we have the same binary for drmgr...
>
> neo at novap9zz:~$ whereis drmgr
> drmgr: /usr/sbin/drmgr /usr/local/sbin/drmgr
> neo at novap9zz:~$ md5sum /usr/sbin/drmgr /usr/local/sbin/drmgr
> c7863c699a2761567ae9d9b75dcc7854 /usr/sbin/drmgr
> c7863c699a2761567ae9d9b75dcc7854 /usr/local/sbin/drmgr
>
> yet according to the list of packages installed, is based on a fairly older
> version of powerpc-utils-1.3.4-0ubuntu2 which is still the latest available
> for 20.04 LTS. Current versions of Ubuntu provide version 1.3.10-2
>
> Assigning to Nathan to review and see which changes might be missing in
> order to resolve this. I'll also attach a sosreport collected from the
> LPAR...
It also resembles this:
https://bugzilla.linux.ibm.com/show_bug.cgi?id=186675
== Comment: #6 - RITU AGARWAL <rituagar at in.ibm.com> - 2023-05-16 00:22:34 ==
The issues mentioned here is after using default drmgr provided by OS.
Yes we saw similar issues and fix has been provided for RHEL, which If i am not wrong was with socat as well.
== Comment: #7 - RITU AGARWAL <rituagar at in.ibm.com> - 2023-05-18 00:21:22 ==
Any update ?
== Comment: #8 - RITU AGARWAL <rituagar at in.ibm.com> - 2023-06-02 04:21:10 ==
Any update? We are seeing this issue in customer env also. Customer is looking for update.
== Comment: #9 - Scott Cheloha <scheloh at us.ibm.com> - 2023-06-05 11:58:06 ==
(In reply to comment #8)
> Any update? We are seeing this issue in customer env also. Customer is
> looking for update.
I can't figure out what's wrong with my current permissions.
Is there a root password for that NovaLink partition? That would help
me look at what the utilities are doing under the hood.
== Comment: #10 - Scott Cheloha <scheloh at us.ibm.com> - 2023-06-05 12:35:32 ==
The version of powerpc-utils installed on this partition is ancient:
neo at novap9zz:~$ apt info powerpc-utils
Package: powerpc-utils
Version: 1.3.4-0ubuntu2
Priority: important
Section: metapackages
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Original-Maintainer: Adam Conrad <adconrad at 0c3.net>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11.3 kB
Depends: powerpc-ibm-utils
Homepage: http://powerpc-utils.ozlabs.org/
Task: minimal
Download-Size: 1,784 B
APT-Manual-Installed: yes
APT-Sources: http://us.ports.ubuntu.com/ubuntu-ports focal/main ppc64el Packages
Description: utilities for maintenance of PowerPC platforms (metapackage)
The powerpc-utils metapackage pulls in the appropriate tools for each
Debian PowerPC port.
I see that 22.04 ("Jammy Jellyfish") packages powerpc-utils 1.3.9, but
that 20.04 (Focal Fossa) is still packaging 1.3.4.
Is there a protocol for advancing the packaged version in upstream for
a given release?
== Comment: #11 - Scott Cheloha <scheloh at us.ibm.com> - 2023-06-05 12:41:13 ==
(In reply to comment #10)
> The version of powerpc-utils installed on this partition is ancient:
>
> neo at novap9zz:~$ apt info powerpc-utils
> Package: powerpc-utils
> Version: 1.3.4-0ubuntu2
> Priority: important
> Section: metapackages
> Origin: Ubuntu
> Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
> Original-Maintainer: Adam Conrad <adconrad at 0c3.net>
> Bugs: https://bugs.launchpad.net/ubuntu/+filebug
> Installed-Size: 11.3 kB
> Depends: powerpc-ibm-utils
> Homepage: http://powerpc-utils.ozlabs.org/
> Task: minimal
> Download-Size: 1,784 B
> APT-Manual-Installed: yes
> APT-Sources: http://us.ports.ubuntu.com/ubuntu-ports focal/main ppc64el
> Packages
> Description: utilities for maintenance of PowerPC platforms (metapackage)
> The powerpc-utils metapackage pulls in the appropriate tools for each
> Debian PowerPC port.
To be perfectly clear: powerpc-utils 1.3.4 was tagged Sep 1 2017:
https://github.com/ibm-power-utilities/powerpc-
utils/commit/2e26d2996789a1e61dd0a872f579dc5768128836
I suspect many bugs have been fixed in the interim.
== Comment: #12 - RITU AGARWAL <rituagar at in.ibm.com> - 2023-06-06 01:50:27 ==
(In reply to comment #9)
> (In reply to comment #8)
> > Any update? We are seeing this issue in customer env also. Customer is
> > looking for update.
>
> I can't figure out what's wrong with my current permissions.
>
> Is there a root password for that NovaLink partition? That would help me
> look at what the utilities are doing under the hood.
You can "sudo su" to be root on novalink.
== Comment: #13 - RITU AGARWAL <rituagar at in.ibm.com> - 2023-06-06 01:56:29 ==
(In reply to comment #11)
> (In reply to comment #10)
> > The version of powerpc-utils installed on this partition is ancient:
> >
> > neo at novap9zz:~$ apt info powerpc-utils
> > Package: powerpc-utils
> > Version: 1.3.4-0ubuntu2
> > Priority: important
> > Section: metapackages
> > Origin: Ubuntu
> > Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
> > Original-Maintainer: Adam Conrad <adconrad at 0c3.net>
> > Bugs: https://bugs.launchpad.net/ubuntu/+filebug
> > Installed-Size: 11.3 kB
> > Depends: powerpc-ibm-utils
> > Homepage: http://powerpc-utils.ozlabs.org/
> > Task: minimal
> > Download-Size: 1,784 B
> > APT-Manual-Installed: yes
> > APT-Sources: http://us.ports.ubuntu.com/ubuntu-ports focal/main ppc64el
> > Packages
> > Description: utilities for maintenance of PowerPC platforms (metapackage)
> > The powerpc-utils metapackage pulls in the appropriate tools for each
> > Debian PowerPC port.
>
> To be perfectly clear: powerpc-utils 1.3.4 was tagged Sep 1 2017:
>
> https://github.com/ibm-power-utilities/powerpc-utils/commit/
> 2e26d2996789a1e61dd0a872f579dc5768128836
>
> I suspect many bugs have been fixed in the interim.
What is the plan to build powerPS util for ubuntu 20.04 with latest
code ?
== Comment: #14 - Scott Cheloha <scheloh at us.ibm.com> - 2023-06-06 14:34:59 ==
(In reply to comment #13)
> (In reply to comment #11)
> > (In reply to comment #10)
> > > The version of powerpc-utils installed on this partition is ancient:
> > >
> > > neo at novap9zz:~$ apt info powerpc-utils
> > > Package: powerpc-utils
> > > Version: 1.3.4-0ubuntu2
> > > Priority: important
> > > Section: metapackages
> > > Origin: Ubuntu
> > > Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
> > > Original-Maintainer: Adam Conrad <adconrad at 0c3.net>
> > > Bugs: https://bugs.launchpad.net/ubuntu/+filebug
> > > Installed-Size: 11.3 kB
> > > Depends: powerpc-ibm-utils
> > > Homepage: http://powerpc-utils.ozlabs.org/
> > > Task: minimal
> > > Download-Size: 1,784 B
> > > APT-Manual-Installed: yes
> > > APT-Sources: http://us.ports.ubuntu.com/ubuntu-ports focal/main ppc64el
> > > Packages
> > > Description: utilities for maintenance of PowerPC platforms (metapackage)
> > > The powerpc-utils metapackage pulls in the appropriate tools for each
> > > Debian PowerPC port.
> >
> > To be perfectly clear: powerpc-utils 1.3.4 was tagged Sep 1 2017:
> >
> > https://github.com/ibm-power-utilities/powerpc-utils/commit/
> > 2e26d2996789a1e61dd0a872f579dc5768128836
> >
> > I suspect many bugs have been fixed in the interim.
>
> What is the plan to build powerPS util for ubuntu 20.04 with latest code ?
What do you mean by "plan"?
The problem is that the distribution is packaging an ancient release
of powerpc-utils. They need to package a newer release.
Who on the NovaLink team is responsible for coordinating dependencies
with Ubuntu packaging? That person needs to reach out to the person
on the Ubuntu side responsible for packaging powerpc-utils and ask
them to package powerpc-utils 1.3.9, if not 1.3.10, as they do for all
later OS releases.
== Comment: #15 - Scott Cheloha <scheloh at us.ibm.com> - 2023-06-06 14:50:05 ==
(In reply to comment #14)
> (In reply to comment #13)
> > (In reply to comment #11)
> > > (In reply to comment #10)
> > > > The version of powerpc-utils installed on this partition is ancient:
> > > >
> > > > neo at novap9zz:~$ apt info powerpc-utils
> > > > Package: powerpc-utils
> > > > Version: 1.3.4-0ubuntu2
> > > > Priority: important
> > > > Section: metapackages
> > > > Origin: Ubuntu
> > > > Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
> > > > Original-Maintainer: Adam Conrad <adconrad at 0c3.net>
> > > > Bugs: https://bugs.launchpad.net/ubuntu/+filebug
> > > > Installed-Size: 11.3 kB
> > > > Depends: powerpc-ibm-utils
> > > > Homepage: http://powerpc-utils.ozlabs.org/
> > > > Task: minimal
> > > > Download-Size: 1,784 B
> > > > APT-Manual-Installed: yes
> > > > APT-Sources: http://us.ports.ubuntu.com/ubuntu-ports focal/main ppc64el
> > > > Packages
> > > > Description: utilities for maintenance of PowerPC platforms (metapackage)
> > > > The powerpc-utils metapackage pulls in the appropriate tools for each
> > > > Debian PowerPC port.
> > >
> > > To be perfectly clear: powerpc-utils 1.3.4 was tagged Sep 1 2017:
> > >
> > > https://github.com/ibm-power-utilities/powerpc-utils/commit/
> > > 2e26d2996789a1e61dd0a872f579dc5768128836
> > >
> > > I suspect many bugs have been fixed in the interim.
> >
> > What is the plan to build powerPS util for ubuntu 20.04 with latest code ?
>
> What do you mean by "plan"?
>
> The problem is that the distribution is packaging an ancient release of
> powerpc-utils. They need to package a newer release.
>
> Who on the NovaLink team is responsible for coordinating dependencies with
> Ubuntu packaging? That person needs to reach out to the person on the
> Ubuntu side responsible for packaging powerpc-utils and ask them to package
> powerpc-utils 1.3.9, if not 1.3.10, as they do for all later OS releases.
Alternatively, you could upgrade the release to 22.04.2, which
packages a newer release of powerpc-utils.
== Comment: #16 - Scott Cheloha <scheloh at us.ibm.com> - 2023-06-06 15:27:19 ==
I built powerpc-utils 1.3.11 on the partition in:
/home/neo/powerpc-utils-1.3.11
The installed drmgr cannot add a vty-server slot:
# drmgr -c slot -s 'U9009.42A.13C647W-V1-C5' -a
Validating I/O DLPAR capability...yes.
There are no DR capable slots on this system
Could not find drc index for U9009.42A.13C647W-V1-C5, unable to add theslot.
# tail -n 10 /var/log/drmgr
########## Jun 06 16:17:50 2023 ##########
drmgr: -c slot -s U9009.42A.13C647W-V1-C5 -a
Validating I/O DLPAR capability...yes.
Getting node types 0x00000003
Could not find DRC property group in path: /proc/device-tree/pci at 800000020000017.
Could not find DRC property group in path: /proc/device-tree/vdevice.
There are no DR capable slots on this system
Could not find DRC property group in path: /proc/device-tree.
Could not find drc index for U9009.42A.13C647W-V1-C5, unable to add theslot.
########## Jun 06 16:17:50 2023 ##########
The drmgr I built can do it:
# /home/neo/powerpc-utils-1.3.11/src/drmgr/drmgr -c slot -s 'U9009.42A.13C647W-V1-C5' -a
Validating I/O DLPAR capability...yes.
# tail -n 31 /var/log/drmgr
########## Jun 06 16:19:29 2023 ##########
drmgr: -c slot -s U9009.42A.13C647W-V1-C5 -a
Validating I/O DLPAR capability...yes.
Getting node types 0x00000003
Could not find DRC property group in path: /proc/device-tree/pci at 800000020000017.
Could not find DRC property group in path: /proc/device-tree/ibm,platform-keystore.
Could not find DRC property group in path: /proc/device-tree/memory at 0.
Could not find DRC property group in path: /proc/device-tree/pci at 800000020000017.
Could not find DRC property group in path: /proc/device-tree/ibm,platform-facilities.
Could not find DRC property group in path: /proc/device-tree/interrupt-controller at 0.
Could not find DRC property group in path: /proc/device-tree/rtas.
Could not find DRC property group in path: /proc/device-tree/ibm,serial.
Could not find DRC property group in path: /proc/device-tree/options.
Could not find DRC property group in path: /proc/device-tree/openprom.
Could not find DRC property group in path: /proc/device-tree/ibm,dynamic-reconfiguration-memory.
Could not find DRC property group in path: /proc/device-tree/interrupt-controller at 800000025000017.
Could not find DRC property group in path: /proc/device-tree/event-sources.
Could not find DRC property group in path: /proc/device-tree/aliases.
Could not find DRC property group in path: /proc/device-tree/packages.
Could not find DRC property group in path: /proc/device-tree/chosen.
Acquiring drc index 0x30000005
get-sensor for 30000005: 0, 2
Setting allocation state to 'alloc usable'
Setting indicator state to 'unisolate'
Configuring connector for drc index 30000005
Adding device-tree node /proc/device-tree/vdevice/vty-server at 30000005
ofdt update: add_node /vdevice/vty-server at 30000005 name 11 vty-server
Getting node types 0x00000003
Could not find DRC property group in path: /proc/device-tree/pci at 800000020000017.
performing kernel op for U9009.42A.13C647W-V1-C5, file is /sys/bus/pci/slots/control/add_slot
########## Jun 06 16:19:29 2023 ##########
--
The drmgr binary I built can also remove vty-server slots:
# /home/neo/powerpc-utils-1.3.11/src/drmgr/drmgr -c slot -s 'U9009.42A.13C647W-V1-C5' -r
Validating I/O DLPAR capability...yes.
# tail -n 17 /var/log/drmgr
########## Jun 06 16:22:01 2023 ##########
drmgr: -c slot -s U9009.42A.13C647W-V1-C5 -r
Validating I/O DLPAR capability...yes.
Getting node types 0x00000003
Could not find DRC property group in path: /proc/device-tree/pci at 800000020000017.
get-sensor for 30000005: 0, 1
The sensor-state of drc_index 0x30000005 is 1
performing kernel op for U9009.42A.13C647W-V1-C5, file is /sys/bus/pci/slots/control/remove_slot
Releasing drc index 0x30000005
get-sensor for 30000005: 0, 1
Setting isolation state to 'isolate'
Setting allocation state to 'alloc unusable'
get-sensor for 30000005: 0, 2
drc_index 30000005 sensor-state: 2
Resource is not available to the partition.
Removing device-tree node /proc/device-tree/vdevice/vty-server at 30000005
########## Jun 06 16:22:01 2023 ##########
The installed drmgr chokes when trying to remove the same slot:
# drmgr -c slot -s 'U9009.42A.13C647W-V1-C5' -r
Validating I/O DLPAR capability...yes.
There are no DR capable slots on this system
U9009.42A.13C647W-V1-C5 does not exist
# tail -n 9 /var/log/drmgr
########## Jun 06 16:23:20 2023 ##########
drmgr: -c slot -s U9009.42A.13C647W-V1-C5 -r
Validating I/O DLPAR capability...yes.
Getting node types 0x00000003
Could not find DRC property group in path: /proc/device-tree/pci at 800000020000017.
Could not find DRC property group in path: /proc/device-tree/vdevice.
There are no DR capable slots on this system
U9009.42A.13C647W-V1-C5 does not exist
########## Jun 06 16:23:20 2023 ##########
So, I think the newer powerpc-utils release may help to resolve the
problem here.
== Comment: #18 - Scott Cheloha <scheloh at us.ibm.com> - 2023-06-07 13:39:33 ==
Mirroring to Launchpad to bring the package maintainers into the loop.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/2023243/+subscriptions
More information about the foundations-bugs
mailing list