https://bugzilla.kernel.org/show_bug.cgi?id=210689
Bug ID: 210689
Summary: Random hang at shutdown/poweroff
Product: ACPI
Version: 2.5
Kernel Version: LTS 5.4.80-2, 5.9.11-3
Hardware: Intel
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Power-Off
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Created attachment 294127
--> https://bugzilla.kernel.org/attachment.cgi?id=294127&action=edit
Log - hang after shutdown -h now
Running Manjaro Architect, CLI only, the issue shows with kernel 5.4.80-2 LTS,
5.9.11-3, and with all the stable and LTS kernels issued from a year ago.
I'm using Manjaro Architect always with latest stable updates (20.2) as a base
system to run qemu/kvm for a mac os vm with GPU passthrough.
My workstation has 2 gpus, one nvidia quadro 600, dedicated to Manjaro
(actually with the nouveau driver), and a GTX titan black passed through to the
vm.
Issue is that sometimes (about 30% of the times?), Manjaro hangs at "shutdown
-h now" or "poweroff -f".
Restart (shutdown -r now) always worked.
On shutdown hang, fans are still on, usb keyboard and mouse do not respond,
power to usb is active (I tried to connect a device and it's charging), monitor
is on (black or without quiet in grub conf stuck with "reboot: power down").
The only thing I can do is a forced shutdown by long pressing the power button
on my workstation.
The issue seems not related to systemd, I tried the latest Artix linux (runit)
and the issue showed both with the installed system and with the bootable usb.
From the log I can't see anything wrong.
The attached log was saved after a forced reboot, with command "journalctl -b
-1 -n250"
In the log there are reference to NetworkManager too, but I tried to also
uninstall it and have only networkd.
I don't know how to debug this issue that is going to make me crazy and I don't
know what to do now..
I'm trying to write and attach here all the info that I think could be useful,
if more info are needed I'm here and I'm ready to try all you can suggest.
What I already tried:
1. run the nvidia quadro 600 with nvidia drivers (390xx) (blacklist nouveau)
2. run the nvidia quadro 600 with nouveau drivers
3. added shutdown hook
4. ehci off in bios
5. deleted quiet in grub conf
6. added acpi=off in grub conf
7. added reboot=bios in grub conf
8. added reboot=pci in grub conf
9. added intel_idle.max_cstate=1 in grub conf
10. added acpi_osi=! acpi_osi=‘Windows 2018’ in grub conf
11. added acpi_osi=! acpi_osi=‘Windows 2009’ in grub conf
12. stopped, disabled and masked lvm2-lvmetad and lvm2-monitor
13. added mei_me to the RUNTIME_PM_DRIVER_BLACKLIST configuration of TLP
14. set networks to down before shutdown
15. stopped nfs server before shutdown
16. tried different kernels
17. installed uefi manjaro (it was installed in legacy mode)
18. disabled secure boot
19. Disabled XHCI in the bios (EHCI was already disabled)
20. Disabled ASMEDIA USB 3.0 controller in bios
21. Added Before=basic.target in dbus.service
22. WOL disabled in bios
---------------------------------------------------------------------------
My custom modifications:
nano /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:100c,10de:0e1a
nano /etc/mkinitcpio.conf
MODULES=(vfio_pci vfio vfio_iommu_type1 vfio_virqfd)
--> this is for gpu/hdmi audio passthrough.
nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on iommu=pt quiet udev.log_priority=3
kvm_intel.nested=1"
--> iommu and nested virtualization on.
Through libvirt I'm also passing through to the vm a usb controller (Fresco
chipset), the builtin audio of my motherboard (Asus z9pe-d8 ws), the
mouse/keyboard dongle and a logitech c920 webcam.
---------------------------------------------------------------------------
System specifications (inxi run on manjaro from mac os vm - ssh connection):
[root@tower tower]# inxi -Fyz
System:
Kernel: 5.4.80-2-MANJARO x86_64 bits: 64 Console: tty 1
Distro: Manjaro Linux
Machine:
Type: Server Mobo: ASUSTeK model: Z9PE-D8 WS v: 1.0x serial: <filter>
UEFI: American Megatrends v: 5802 date: 06/10/2015
CPU:
Info: 2x 8-Core model: 06/2d bits: 64 type: MCP SMP L2 cache: 40.0 MiB
Speed: 1444 MHz min/max: 1200/3800 MHz Core speeds (MHz): 1: 1677 2: 1831
3: 1204 4: 1204 5: 1215 6: 1204 7: 1204 8: 1204 9: 1879 10: 1720 11: 1612
12: 1903 13: 1621 14: 1628 15: 1213 16: 1210
Graphics:
Device-1: NVIDIA GF108GL [Quadro 600] driver: nouveau v: kernel
Device-2: NVIDIA GK110B [GeForce GTX TITAN Black] driver: vfio-pci v: 0.2
Display: server: No display server data found. Headless machine? tty: 80x24
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
Device-1: Intel C600/X79 series High Definition Audio driver: vfio-pci
Device-2: NVIDIA GF108 High Definition Audio driver: snd_hda_intel
Device-3: NVIDIA GK110 High Definition Audio driver: vfio-pci
Sound Server: ALSA v: k5.4.80-2-MANJARO
Network:
Device-1: Intel 82574L Gigabit Network driver: e1000e
IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel 82574L Gigabit Network driver: e1000e
IF: enp7s0 state: up speed: 100 Mbps duplex: full mac: <filter>
IF-ID-1: br0 state: up speed: N/A duplex: N/A mac: <filter>
IF-ID-2: br1 state: up speed: N/A duplex: N/A mac: <filter>
IF-ID-3: vnet0 state: unknown speed: 10 Mbps duplex: full mac: <filter>
IF-ID-4: vnet1 state: unknown speed: 10 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 8.19 TiB used: 3.41 TiB (41.6%)
ID-1: /dev/sda vendor: SanDisk model: SDSSDP256G size: 238.47 GiB
ID-2: /dev/sdb vendor: Western Digital model: WD20EZRX-00DC0B0
size: 1.82 TiB
ID-3: /dev/sdc vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB
ID-4: /dev/sdd vendor: Western Digital model: WD60EZRX-00MVLB1
size: 5.46 TiB
ID-5: /dev/sde vendor: Hitachi model: HTS542525K9SA00 size: 232.89 GiB
Partition:
ID-1: / size: 227.74 GiB used: 3.03 GiB (1.3%) fs: ext4 dev: /dev/sde2
Swap:
Alert: No Swap data was found.
Sensors:
System Temperatures: cpu: 28.0 C mobo: N/A gpu: nouveau temp: 48.0 C
Fan Speeds (RPM): N/A gpu: nouveau fan: 2730
Info:
Processes: 295 Uptime: 5h 28m Memory: 62.92 GiB used: 32.78 GiB (52.1%)
Init: systemd Shell: Bash inxi: 3.1.08
---------------------------------------------------------------------------
sda: windows 10 (uefi installation, ntfs+efi, gpt)
sdb: data (gpt, ntfs)
sdc: data (xfs, gpt)
sdd: data (gpt, ntfs)
sde: Manjaro (uefi installtion, ext4+efi, gpt)
---------------------------------------------------------------------------
Modules:
[root@tower tower]# lsmod
Module Size Used by
tun 57344 4
uvcvideo 114688 0
videobuf2_vmalloc 20480 1 uvcvideo
snd_usb_audio 307200 0
videobuf2_memops 20480 1 videobuf2_vmalloc
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_common 57344 2 videobuf2_v4l2,uvcvideo
snd_usbmidi_lib 40960 1 snd_usb_audio
videodev 249856 3 videobuf2_v4l2,uvcvideo,videobuf2_common
snd_rawmidi 45056 1 snd_usbmidi_lib
snd_seq_device 16384 1 snd_rawmidi
mc 61440 5
videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
input_leds 16384 0
mousedev 24576 0
joydev 28672 0
xfs 1773568 1
fuse 135168 5
libcrc32c 16384 1 xfs
intel_rapl_msr 20480 0
intel_rapl_common 28672 1 intel_rapl_msr
sb_edac 24576 0
x86_pkg_temp_thermal 20480 0
intel_powerclamp 20480 0
nouveau 2326528 1
coretemp 20480 0
kvm_intel 323584 18
snd_hda_codec_hdmi 73728 4
kvm 802816 1 kvm_intel
snd_hda_codec_realtek 143360 0
snd_hda_codec_generic 94208 1 snd_hda_codec_realtek
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
i2c_algo_bit 16384 1 nouveau
crct10dif_pclmul 16384 1
ttm 118784 1 nouveau
crc32_pclmul 16384 0
snd_hda_intel 53248 0
ghash_clmulni_intel 16384 0
bridge 217088 0
aesni_intel 372736 0
drm_kms_helper 221184 1 nouveau
snd_intel_nhlt 20480 1 snd_hda_intel
snd_hda_codec 159744 4
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
crypto_simd 16384 1 aesni_intel
syscopyarea 16384 1 drm_kms_helper
stp 16384 1 bridge
snd_hda_core 102400 5
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
llc 16384 2 bridge,stp
cryptd 24576 2 crypto_simd,ghash_clmulni_intel
iTCO_wdt 16384 0
sysfillrect 16384 1 drm_kms_helper
glue_helper 16384 1 aesni_intel
sysimgblt 16384 1 drm_kms_helper
iTCO_vendor_support 16384 1 iTCO_wdt
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
mxm_wmi 16384 1 nouveau
snd_pcm 143360 5
snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
fb_sys_fops 16384 1 drm_kms_helper
rapl 16384 0
snd_timer 40960 1 snd_pcm
ib_mthca 172032 0
intel_cstate 16384 0
snd 110592 12
snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
intel_uncore 147456 0
e1000e 294912 0
ib_uverbs 151552 1 ib_mthca
soundcore 16384 1 snd
ib_core 360448 2 ib_mthca,ib_uverbs
pcspkr 16384 0
mei_me 45056 0
mei 118784 1 mei_me
i2c_i801 36864 0
evdev 28672 2
lpc_ich 28672 0
mac_hid 16384 0
wmi 36864 2 mxm_wmi,nouveau
nfsd 487424 13
auth_rpcgss 106496 1 nfsd
nfs_acl 16384 1 nfsd
lockd 122880 1 nfsd
grace 16384 2 nfsd,lockd
drm 520192 4 drm_kms_helper,ttm,nouveau
sunrpc 471040 18 nfsd,auth_rpcgss,lockd,nfs_acl
agpgart 53248 3 ttm,nouveau,drm
ip_tables 36864 0
x_tables 49152 1 ip_tables
ext4 786432 1
crc32c_generic 16384 0
crc16 16384 1 ext4
mbcache 16384 1 ext4
jbd2 135168 1 ext4
hid_generic 16384 0
usbhid 65536 0
hid 143360 2 usbhid,hid_generic
sr_mod 28672 0
cdrom 77824 1 sr_mod
sd_mod 61440 8
isci 167936 0
libsas 98304 1 isci
ahci 40960 4
scsi_transport_sas 45056 2 isci,libsas
libahci 40960 1 ahci
libata 286720 3 libahci,ahci,libsas
crc32c_intel 24576 3
xhci_pci 20480 0
firewire_ohci 45056 0
scsi_mod 253952 6
isci,scsi_transport_sas,sd_mod,libsas,libata,sr_mod
xhci_hcd 282624 1 xhci_pci
firewire_core 81920 1 firewire_ohci
ehci_pci 20480 0
crc_itu_t 16384 1 firewire_core
ehci_hcd 98304 1 ehci_pci
vfio_pci 65536 4
irqbypass 16384 10 vfio_pci,kvm
vfio_virqfd 16384 1 vfio_pci
vfio_iommu_type1 36864 1
vfio 36864 10 vfio_iommu_type1,vfio_pci
---------------------------------------------------------------------------
FSTAB:
UUID=61eacf52-caa6-4a88-bf3d-ea5244eba645 / ext4
rw,noatime 0 0
UUID=FADE946ADE942145 /media/2TB ntfs defaults,noatime 0 2
UUID=962CBD772CBD52CB /media/6TB ntfs defaults,noatime 0 2
UUID=d92327eb-5bc3-49bd-84b8-69c4ec3f300c /media/VM xfs defaults,noatime 0 2
---------------------------------------------------------------------------
Installed packages:
[root@tower tower]# pacman -Qe
acpi 1.7-3
acpid 2.0.32-2
amd-ucode 20201124.r1786.b362fd4-1
b43-fwcutter 019-3
bash 5.0.018-1
btrfs-progs 5.9-1
bzip2 1.0.8-4
cockpit 233.1-1
cockpit-machines 233.1-1
coreutils 8.32-1
cpupower 5.9-1
crda 4.14-3
cronie 1.5.5-1
cryptsetup 2.3.4-1
device-mapper 2.02.187-3
dhclient 4.4.2-2
dhcpcd 9.3.3-1
diffutils 3.7-3
dmraid 1.0.0.rc16.3-12
dnsmasq 2.82-2
dosfstools 4.1-3
e2fsprogs 1.45.6-3
ecryptfs-utils 111-4
efibootmgr 17-2
exfat-utils 1.3.0-2
f2fs-tools 1.14.0-1
file 5.39-1
filesystem 2020.09-2
findutils 4.7.0-2
gawk 5.1.0-1
gcc-libs 10.2.0-3
gettext 0.21-1
glibc 2.32-5
grep 3.6-1
grub 2.04-12
grub-theme-manjaro 20.2-12
gzip 1.10-3
inetutils 1.9.4-8
intel-ucode 20201118-1
inxi 3.1.08+1-1
iproute2 5.9.0-1
iputils 20200821-1
jfsutils 1.1.15-7
less 563-1
libvirt 1:6.5.0-3
licenses 20200427-1
linux-latest 5.9-1
linux-latest-headers 5.9-1
linux-lts 1:5.4-4
linux-lts-headers 1:5.4-4
logrotate 3.17.0-1
lvm2 2.02.187-3
man-db 2.9.3-1
man-pages 5.09-2
manjaro-firmware 20160419-1
manjaro-release 20.2-1
manjaro-system 20201014-1
manjaro-zsh-config 0.15-1
mdadm 4.1-2
memtest86+ 5.01-4
mhwd 0.6.5-2
mhwd-db 0.6.5-4
mkinitcpio-openswap 0.1.0-3
nano 5.3-1
nfs-utils 2.5.2-2
nilfs-utils 2.2.8-2
ntfs-3g 2017.3.23-5
openssh 8.4p1-2
os-prober 1.77-1
packagekit 1.1.13-1
pacman 5.2.2-3
pciutils 3.7.0-1
perl 5.32.0-3
procps-ng 3.3.16-2
psmisc 23.3-2
qemu 5.1.0-3
reiserfsprogs 3.6.27-3
rsync 3.2.3-1
s-nail 14.9.19-2
sed 4.8-1
shadow 4.8.1-4
spectre-meltdown-checker 0.43-1
sudo 1.9.3.p1-1
sysfsutils 2.1.0-11
systemd 246.6-1
systemd-fsck-silent 239-1
systemd-sysvcompat 246.6-1
tar 1.32-3
texinfo 6.7-3
tlp 1.3.1-2
udisks2 2.9.1-1
usbutils 013-1
util-linux 2.36.1-3
vi 1:070224-4
wget 1.20.3-3
which 2.21-5
wpa_supplicant 2:2.9-7
xfsprogs 5.8.0-1
xz 5.2.5-1
---------------------------------------------------------------------------
Network (managed by systemd-networkd):
[root@tower tower]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br1
state UP group default qlen 1000
link/ether 10:bf:48:0d:58:7d brd ff:ff:ff:ff:ff:ff
3: enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0
state UP group default qlen 1000
link/ether 10:bf:48:0d:58:7e brd ff:ff:ff:ff:ff:ff
4: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group
default qlen 1000
link/ether 8e:bb:f7:af:86:e1 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.202/24 brd 192.168.1.255 scope global br0
valid_lft forever preferred_lft forever
inet6 fe80::8cbb:f7ff:feaf:86e1/64 scope link
valid_lft forever preferred_lft forever
5: br1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group
default qlen 1000
link/ether ba:5b:05:1d:1c:af brd ff:ff:ff:ff:ff:ff
inet 192.168.2.1/24 brd 192.168.2.255 scope global br1
valid_lft forever preferred_lft forever
inet6 fe80::b85b:5ff:fe1d:1caf/64 scope link
valid_lft forever preferred_lft forever
6: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0
state UNKNOWN group default qlen 1000
link/ether fe:2a:14:55:1a:b2 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc2a:14ff:fe55:1ab2/64 scope link
valid_lft forever preferred_lft forever
7: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br1
state UNKNOWN group default qlen 1000
link/ether fe:2a:14:32:2c:ff brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc2a:14ff:fe32:2cff/64 scope link
valid_lft forever preferred_lft forever
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla