#1027848 On Tyan TN71-BP012 (POWER8) bookworm-DI-alpha1 shutdown is not working.

#1027848#5
Date:
2023-01-04 00:47:33 UTC
From:
To:
Boot method: USB stick
Image version: https://cdimage.debian.org/cdimage/bookworm_di_alpha1/ppc64el/iso-dvd/debian-bookworm-DI-alpha1-ppc64el-DVD-1.iso
Date: 2022-01-03

Machine: Tyan TN71-BP012
Processor: ppc64el POWER8 (raw), altivec supported
Memory: 133598MB
Partitions:
Filesystem     Type     1K-blocks    Used Available Use% Mounted on
udev           devtmpfs  63413824       0  63413824   0% /dev
tmpfs          tmpfs     13358656   16960  13341696   1% /run
/dev/sda2      ext4     238263032 4465168 221621944   2% /
tmpfs          tmpfs     66793024       0  66793024   0% /dev/shm
tmpfs          tmpfs         5120       0      5120   0% /run/lock
tmpfs          tmpfs     13358592     832  13357760   1% /run/user/1000


Output of lspci -knn (or lspci -nn):
0000:00:00.0 PCI bridge [0604]: IBM POWER8 Host Bridge (PHB3) [1014:03dc]
0001:00:00.0 PCI bridge [0604]: IBM POWER8 Host Bridge (PHB3) [1014:03dc]
0001:01:00.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:01.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:02.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:08.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:09.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:0a.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:10.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:11.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:03:00.0 Ethernet controller [0200]: Mellanox Technologies MT27520 Family [ConnectX-3 Pro] [15b3:1007]
Subsystem: Mellanox Technologies MT27520 Family [ConnectX-3 Pro] [15b3:0050]
Kernel driver in use: mlx4_core
Kernel modules: mlx4_core
0001:04:00.0 Ethernet controller [0200]: Mellanox Technologies MT27520 Family [ConnectX-3 Pro] [15b3:1007]
Subsystem: Mellanox Technologies MT27520 Family [ConnectX-3 Pro] [15b3:0050]
Kernel driver in use: mlx4_core
Kernel modules: mlx4_core
0001:05:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller [1b4b:9235] (rev 11)
Subsystem: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller [1b4b:9235]
Kernel driver in use: ahci
Kernel modules: ahci
0001:06:00.0 USB controller [0c03]: Texas Instruments TUSB73x0 SuperSpeed USB 3.0 xHCI Host Controller [104c:8241] (rev 02)
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
0001:07:00.0 PCI bridge [0604]: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge [1a03:1150] (rev 03)
Subsystem: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge [1a03:1150]
0001:08:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000] (rev 30)
Subsystem: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000]
Kernel driver in use: ast
Kernel modules: ast
0002:00:00.0 PCI bridge [0604]: IBM POWER8 Host Bridge (PHB3) [1014:03dc]



Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O] *no grub menu for boot media (USB stick) have to create menu entry in Petitboot
Detect network card:    [O] *firmware non free needed.(firmware-misc-nonfree_20221214-3_all.deb) mlx4_core
Configure network:      [O]
Detect media:           [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Install tasks:          [O]
Install boot loader:    [O]
Overall install:        [O] *Shutdown is not working

Comments/Problems:
Shutdown is not working,
have to press power button for 10 second or via megaRAC ordering shutdown,
for both 5.19.0-1 and 6.0.0-6 linux kernel.

For kernel 6.0.0-6 on screen is displayed:
Broadcast message from user@debian (Wed 2023...:

The system will power off now!

On serial port:
[  OK  ] Stopped Set Up Additional Binary Formats.
[  OK  ] Stopped Network Time Synchronization.
[  OK  ] Unset automount Arbitrary …s File System Automount Point.
[  OK  ] Stopped Record System Boot/Shutdown in UTMP.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Local File Systems.
         Unmounting /run/credentials/systemd-sysusers.service...
         Unmounting /run/credential…temd-tmpfiles-setup.service...
         Unmounting /run/credential…-tmpfiles-setup-dev.service...
[  OK  ] Unmounted /run/credentials/systemd-sysusers.service.
[  OK  ] Unmounted /run/credentials…ystemd-tmpfiles-setup.service.
[  OK  ] Unmounted /run/credentials…md-tmpfiles-setup-dev.service.
[  OK  ] Stopped target Preparation for Local File Systems.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Create System Users.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target System Shutdown.
[  OK  ] Reached target Late Shutdown Services.
[  OK  ] Finished System Power Off.
[  OK  ] Reached target System Power Off.
[ 1009.685492] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 1009.706325] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 1009.724614] systemd-journald[713]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 1009.743162] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 1009.760875] systemd-shutdown[1]: Unmounting file systems.
[ 1009.761460] [3820]: Remounting '/' read-only with options 'errors=remount-ro'.
[ 1009.776695] EXT4-fs (sda2): re-mounted. Quota mode: none.
[ 1009.781997] systemd-shutdown[1]: All filesystems unmounted.
[ 1009.782028] systemd-shutdown[1]: Deactivating swaps.
[ 1009.782093] systemd-shutdown[1]: All swaps deactivated.
[ 1009.782122] systemd-shutdown[1]: Detaching loop devices.
[ 1009.782401] systemd-shutdown[1]: All loop devices detached.
[ 1009.782524] systemd-shutdown[1]: Stopping MD devices.
[ 1009.782669] systemd-shutdown[1]: All MD devices stopped.
[ 1009.782694] systemd-shutdown[1]: Detaching DM devices.
[ 1009.782833] systemd-shutdown[1]: All DM devices detached.
[ 1009.782859] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[ 1009.784906] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 1009.785242] systemd-shutdown[1]: Powering off.

But the system isn't powering off,
have to press power bouton or ordering shut down via Megarac.
(was working with 11.6)

Best Regards
Olivier

#1027848#10
Date:
2023-01-05 22:44:35 UTC
From:
To:
Boot method: USB stick
Image version: https://cdimage.debian.org/cdimage/weekly-builds/ppc64el/iso-dvd/debian-testing-ppc64el-DVD-1.iso (2023-01-02 07:30)
Date: 2023-01-05 22H00


Machine: Tyan TN71-BP012
Processor: ppc64el POWER8 (raw), altivec supported
Memory: 133598MB
Partitions: <df -Tl will do; the raw partition table is preferred>
Sys. de fichiers Type     blocs de 1K Utilisé Disponible Uti% Monté sur
udev             devtmpfs    63413824       0   63413824   0% /dev
tmpfs            tmpfs       13358656   16896   13341760   1% /run
/dev/sda2        ext4       238263032 3936368  222150744   2% /
tmpfs            tmpfs       66793024       0   66793024   0% /dev/shm
tmpfs            tmpfs           5120       0       5120   0% /run/lock
tmpfs            tmpfs       13358592     768   13357824   1% /run/user/1000




Output of lspci -knn (or lspci -nn):
0000:00:00.0 PCI bridge [0604]: IBM POWER8 Host Bridge (PHB3) [1014:03dc]
0001:00:00.0 PCI bridge [0604]: IBM POWER8 Host Bridge (PHB3) [1014:03dc]
0001:01:00.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:01.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:02.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:08.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:09.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:0a.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:10.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:02:11.0 PCI bridge [0604]: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748] (rev ca)
Subsystem: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA [10b5:8748]
0001:03:00.0 Ethernet controller [0200]: Mellanox Technologies MT27520 Family [ConnectX-3 Pro] [15b3:1007]
Subsystem: Mellanox Technologies MT27520 Family [ConnectX-3 Pro] [15b3:0050]
Kernel driver in use: mlx4_core
Kernel modules: mlx4_core
0001:04:00.0 Ethernet controller [0200]: Mellanox Technologies MT27520 Family [ConnectX-3 Pro] [15b3:1007]
Subsystem: Mellanox Technologies MT27520 Family [ConnectX-3 Pro] [15b3:0050]
Kernel driver in use: mlx4_core
Kernel modules: mlx4_core
0001:05:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller [1b4b:9235] (rev 11)
Subsystem: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller [1b4b:9235]
Kernel driver in use: ahci
Kernel modules: ahci
0001:06:00.0 USB controller [0c03]: Texas Instruments TUSB73x0 SuperSpeed USB 3.0 xHCI Host Controller [104c:8241] (rev 02)
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
0001:07:00.0 PCI bridge [0604]: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge [1a03:1150] (rev 03)
Subsystem: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge [1a03:1150]
0001:08:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000] (rev 30)
Subsystem: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000]
Kernel driver in use: ast
Kernel modules: ast
0002:00:00.0 PCI bridge [0604]: IBM POWER8 Host Bridge (PHB3) [1014:03dc]




Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it


Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect media:           [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Install tasks:          [O]
Install boot loader:    [O]
Overall install:        [O] *poweroff don't stop the computer


Comments/Problems:
On installed system poweroff don't work.
When installing the system reboot work fine but,
on installed system the system is unable to poweroff the computer,
try:
systemctl poweroff
(with logged user on the computer from keyboard on the computer in terminal under XFCE)


get on serial port:
[  OK  ] Stopped Set Up Additional Binary Formats.
[  OK  ] Stopped Network Time Synchronization.
[  OK  ] Unset automount Arbitrary …s File System Automount Point.
[  OK  ] Stopped Record System Boot/Shutdown in UTMP.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Local File Systems.
         Unmounting /run/credentials/systemd-sysusers.service...
         Unmounting /run/credential…temd-tmpfiles-setup.service...
         Unmounting /run/credential…-tmpfiles-setup-dev.service...
[  OK  ] Unmounted /run/credentials/systemd-sysusers.service.
[  OK  ] Unmounted /run/credentials…md-tmpfiles-setup-dev.service.
[  OK  ] Unmounted /run/credentials…ystemd-tmpfiles-setup.service.
[  OK  ] Stopped target Preparation for Local File Systems.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Create System Users.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target System Shutdown.
[  OK  ] Reached target Late Shutdown Services.
[  OK  ] Finished System Power Off.
[  OK  ] Reached target System Power Off.
[  325.849610] systemd-shutdown[1]: Syncing filesystems and block devices.
[  325.869592] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[  325.889810] systemd-journald[723]: Received SIGTERM from PID 1 (systemd-shutdow).
[  325.913699] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[  325.933782] systemd-shutdown[1]: Unmounting file systems.
[  325.934436] [2108]: Remounting '/' read-only with options 'errors=remount-ro'.
[  325.944300] EXT4-fs (sda2): re-mounted. Quota mode: none.
[  325.946959] systemd-shutdown[1]: All filesystems unmounted.
[  325.946989] systemd-shutdown[1]: Deactivating swaps.
[  325.947049] systemd-shutdown[1]: All swaps deactivated.
[  325.947075] systemd-shutdown[1]: Detaching loop devices.
[  325.947311] systemd-shutdown[1]: All loop devices detached.
[  325.947339] systemd-shutdown[1]: Stopping MD devices.
[  325.947592] systemd-shutdown[1]: All MD devices stopped.
[  325.947618] systemd-shutdown[1]: Detaching DM devices.
[  325.947760] systemd-shutdown[1]: All DM devices detached.
[  325.947786] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[  325.949711] systemd-shutdown[1]: Syncing filesystems and block devices.
[  325.950059] systemd-shutdown[1]: Powering off.


on screen: Brodcast message from user@debian on pts/0 (Thu 2023-01-05 23:03:40 CET):
The system will power off now!


But the system don't stop


Via Megarac SP:
Power Off Server - Orderly Shutdown
Don't work
with:
Performing soft power off failed. This may be because the host OS is taking unusual long time to gracefully shut down.


Via Megarac SP:
Power Off Server - Immediate
Work to power off the computer.


Pressing power button for 10 second work too.


Was working as excepted under Debian 11.6 and before.


https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027848


Feel free to ask if more information needed,
Best regards
Olivier