Open thisplacestinksoffascism opened 2 years ago
#59 has some tips on disabling X suspension, thus avoiding the panic, tho unfortunately X will no lock the session.
So, using the advice in #59 no longer maintains the system since the update to 5.10.
Describe the bug Frequent panics, possibly related to monitor resumption from suspension with multihead system.
I have had very little success with a stable X since 0c38674b389ad385820321af5f8969f73a8eeb4f. The system will frequently and randomly (within 3 days if Cthulhu is having a cat nap) panic, unfortunately (it appears that the DRM prevents the use of the kernel debugger now), the screen will either freeze (at some Xscreensaver demo) or remain off.
I have a core from an unassisted crash dump.
I noticed this if I attempt to wake up X (either asleep from xscreensaver, of if that is disabled, via X DPMS), and there is no response, or the system reboots. If the system does not reboot, it will not accept any SSH sessions, or will drop existing sessions when digital shit hits the fan.
FreeBSD version FreeBSD direwolf.home.arpa. 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n254654-d4e8207317c: Mon Apr 11 06:59:54 AWST 2022 agh@direwolf.home.arpa.:/tmp/direwolf/usr/src/amd64.amd64/sys/DIREWOLF_DEBUG amd64
PCI Info
pciconf -lv
hostb0@pci0:0:0:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1480 subvendor=0x1022 subdevice=0x1480 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse Root Complex' class = bridge subclass = HOST-PCI amdiommu0@pci0:0:0:2: class=0x080600 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1481 subvendor=0x1022 subdevice=0x1481 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse IOMMU' class = base peripheral subclass = IOMMU hostb1@pci0:0:1:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1482 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse PCIe Dummy Host Bridge' class = bridge subclass = HOST-PCI pcib1@pci0:0:1:2: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x1483 subvendor=0x1022 subdevice=0x1453 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse GPP Bridge' class = bridge subclass = PCI-PCI hostb2@pci0:0:2:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1482 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse PCIe Dummy Host Bridge' class = bridge subclass = HOST-PCI hostb3@pci0:0:3:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1482 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse PCIe Dummy Host Bridge' class = bridge subclass = HOST-PCI pcib14@pci0:0:3:1: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x1483 subvendor=0x1022 subdevice=0x1453 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse GPP Bridge' class = bridge subclass = PCI-PCI hostb4@pci0:0:4:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1482 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse PCIe Dummy Host Bridge' class = bridge subclass = HOST-PCI hostb5@pci0:0:5:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1482 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse PCIe Dummy Host Bridge' class = bridge subclass = HOST-PCI hostb6@pci0:0:7:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1482 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse PCIe Dummy Host Bridge' class = bridge subclass = HOST-PCI pcib17@pci0:0:7:1: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x1484 subvendor=0x1022 subdevice=0x1484 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]' class = bridge subclass = PCI-PCI hostb7@pci0:0:8:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1482 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse PCIe Dummy Host Bridge' class = bridge subclass = HOST-PCI pcib18@pci0:0:8:1: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x1484 subvendor=0x1022 subdevice=0x1484 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]' class = bridge subclass = PCI-PCI intsmb0@pci0:0:20:0: class=0x0c0500 rev=0x61 hdr=0x00 vendor=0x1022 device=0x790b subvendor=0x1849 subdevice=0xffff vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'FCH SMBus Controller' class = serial bus subclass = SMBus isab0@pci0:0:20:3: class=0x060100 rev=0x51 hdr=0x00 vendor=0x1022 device=0x790e subvendor=0x1849 subdevice=0xffff vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'FCH LPC Bridge' class = bridge subclass = PCI-ISA hostb8@pci0:0:24:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1440 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse/Vermeer Data Fabric: Device 18h; Function 0' class = bridge subclass = HOST-PCI hostb9@pci0:0:24:1: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1441 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse/Vermeer Data Fabric: Device 18h; Function 1' class = bridge subclass = HOST-PCI hostb10@pci0:0:24:2: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1442 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse/Vermeer Data Fabric: Device 18h; Function 2' class = bridge subclass = HOST-PCI hostb11@pci0:0:24:3: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1443 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse/Vermeer Data Fabric: Device 18h; Function 3' class = bridge subclass = HOST-PCI hostb12@pci0:0:24:4: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1444 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse/Vermeer Data Fabric: Device 18h; Function 4' class = bridge subclass = HOST-PCI hostb13@pci0:0:24:5: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1445 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse/Vermeer Data Fabric: Device 18h; Function 5' class = bridge subclass = HOST-PCI hostb14@pci0:0:24:6: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1446 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse/Vermeer Data Fabric: Device 18h; Function 6' class = bridge subclass = HOST-PCI hostb15@pci0:0:24:7: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1447 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse/Vermeer Data Fabric: Device 18h; Function 7' class = bridge subclass = HOST-PCI pcib2@pci0:1:0:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x57ad subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse Switch Upstream' class = bridge subclass = PCI-PCI pcib3@pci0:2:1:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x57a3 subvendor=0x1022 subdevice=0x1453 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse PCIe GPP Bridge' class = bridge subclass = PCI-PCI pcib4@pci0:2:3:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x57a3 subvendor=0x1022 subdevice=0x1453 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse PCIe GPP Bridge' class = bridge subclass = PCI-PCI pcib9@pci0:2:5:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x57a3 subvendor=0x1022 subdevice=0x1453 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse PCIe GPP Bridge' class = bridge subclass = PCI-PCI pcib11@pci0:2:8:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x57a4 subvendor=0x1022 subdevice=0x1484 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse PCIe GPP Bridge' class = bridge subclass = PCI-PCI pcib12@pci0:2:9:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x57a4 subvendor=0x1022 subdevice=0x1484 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse PCIe GPP Bridge' class = bridge subclass = PCI-PCI pcib13@pci0:2:10:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x57a4 subvendor=0x1022 subdevice=0x1484 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse PCIe GPP Bridge' class = bridge subclass = PCI-PCI igb0@pci0:3:0:0: class=0x020000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x1521 subvendor=0x8086 subdevice=0x0002 vendor = 'Intel Corporation' device = 'I350 Gigabit Network Connection' class = network subclass = ethernet igb1@pci0:3:0:1: class=0x020000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x1521 subvendor=0x8086 subdevice=0x0002 vendor = 'Intel Corporation' device = 'I350 Gigabit Network Connection' class = network subclass = ethernet pcib5@pci0:5:0:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1b21 device=0x1184 subvendor=0x1849 subdevice=0x1184 vendor = 'ASMedia Technology Inc.' device = 'ASM1184e 4-Port PCIe x1 Gen2 Packet Switch' class = bridge subclass = PCI-PCI pcib6@pci0:6:3:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1b21 device=0x1184 subvendor=0x1849 subdevice=0x1184 vendor = 'ASMedia Technology Inc.' device = 'ASM1184e 4-Port PCIe x1 Gen2 Packet Switch' class = bridge subclass = PCI-PCI pcib7@pci0:6:5:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1b21 device=0x1184 subvendor=0x1849 subdevice=0x1184 vendor = 'ASMedia Technology Inc.' device = 'ASM1184e 4-Port PCIe x1 Gen2 Packet Switch' class = bridge subclass = PCI-PCI pcib8@pci0:6:7:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1b21 device=0x1184 subvendor=0x1849 subdevice=0x1184 vendor = 'ASMedia Technology Inc.' device = 'ASM1184e 4-Port PCIe x1 Gen2 Packet Switch' class = bridge subclass = PCI-PCI igb2@pci0:8:0:0: class=0x020000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x1539 subvendor=0x1849 subdevice=0x1539 vendor = 'Intel Corporation' device = 'I211 Gigabit Network Connection' class = network subclass = ethernet pcib10@pci0:10:0:0: class=0x060400 rev=0x04 hdr=0x01 vendor=0x1b21 device=0x1080 subvendor=0x0000 subdevice=0x0000 vendor = 'ASMedia Technology Inc.' device = 'ASM1083/1085 PCIe to PCI Bridge' class = bridge subclass = PCI-PCI fwohci0@pci0:11:4:0: class=0x0c0010 rev=0x01 hdr=0x00 vendor=0x104c device=0x8025 subvendor=0x0f2e subdevice=0x8025 vendor = 'Texas Instruments' device = 'TSB82AA2 IEEE-1394b Link Layer Controller' class = serial bus subclass = FireWire none0@pci0:12:0:0: class=0x130000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1485 subvendor=0x1022 subdevice=0x1485 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse Reserved SPP' class = non-essential instrumentation xhci0@pci0:12:0:1: class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022 device=0x149c subvendor=0x1022 subdevice=0x1486 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse USB 3.0 Host Controller' class = serial bus subclass = USB xhci1@pci0:12:0:3: class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022 device=0x149c subvendor=0x1022 subdevice=0x148c vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse USB 3.0 Host Controller' class = serial bus subclass = USB ahci0@pci0:13:0:0: class=0x010601 rev=0x51 hdr=0x00 vendor=0x1022 device=0x7901 subvendor=0x1022 subdevice=0x7901 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'FCH SATA Controller [AHCI mode]' class = mass storage subclass = SATA ahci1@pci0:14:0:0: class=0x010601 rev=0x51 hdr=0x00 vendor=0x1022 device=0x7901 subvendor=0x1022 subdevice=0x7901 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'FCH SATA Controller [AHCI mode]' class = mass storage subclass = SATA pcib15@pci0:15:0:0: class=0x060400 rev=0xc1 hdr=0x01 vendor=0x1002 device=0x1478 subvendor=0x0000 subdevice=0x0000 vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' device = 'Navi 10 XL Upstream Port of PCI Express Switch' class = bridge subclass = PCI-PCI pcib16@pci0:16:0:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1002 device=0x1479 subvendor=0x1002 subdevice=0x1479 vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' device = 'Navi 10 XL Downstream Port of PCI Express Switch' class = bridge subclass = PCI-PCI vgapci0@pci0:17:0:0: class=0x030000 rev=0xc1 hdr=0x00 vendor=0x1002 device=0x731f subvendor=0x1462 subdevice=0x3810 vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' device = 'Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]' class = display subclass = VGA hdac0@pci0:17:0:1: class=0x040300 rev=0x00 hdr=0x00 vendor=0x1002 device=0xab38 subvendor=0x1002 subdevice=0xab38 vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' device = 'Navi 10 HDMI Audio' class = multimedia subclass = HDA none1@pci0:18:0:0: class=0x130000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x148a subvendor=0x1022 subdevice=0x148a vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse PCIe Dummy Function' class = non-essential instrumentation none2@pci0:19:0:0: class=0x130000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1485 subvendor=0x1022 subdevice=0x1485 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse Reserved SPP' class = non-essential instrumentation none3@pci0:19:0:1: class=0x108000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1486 subvendor=0x1022 subdevice=0x1486 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse Cryptographic Coprocessor PSPCPP' class = encrypt/decrypt xhci2@pci0:19:0:3: class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022 device=0x149c subvendor=0x1849 subdevice=0xffff vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Matisse USB 3.0 Host Controller' class = serial bus subclass = USB hdac1@pci0:19:0:4: class=0x040300 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1487 subvendor=0x1849 subdevice=0x2221 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'Starship/Matisse HD Audio Controller' class = multimedia subclass = HDADRM KMOD version drm-devel-kmod 5.7.19.g20220223
To Reproduce Follow -CURRENT. Use drm-devel-kmod. Have AMD NAVI 10 GPU. Configure X with multihead. Run Xscreensaver. Wait.
Brief debug trace
dmesg
Some kernel console messages, not sure if important: