[GH-ISSUE #260] Unlock failure: 5× RTX 3090 (10de:2204) behind a PEX880xx switch: whole switch lost to DPC / Xid 79 after a successful unlock #229

Open
opened 2026-10-30 04:55:47 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @dmagyar on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/260

Result

Unlocked at first, but the speedup was lost later (idle, suspend, driver reload)

Card

5× RTX 3090 24 GB: 2× Zotac (25:00.0, 26:00.0, NVLink-bridged), 2× MSI (29:00.0, 2d:00.0), 1× Founders Edition (2c:00.0)

PCI IDs

0000:25:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1)
0000:25:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1)
0000:26:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1)
0000:26:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1)
0000:29:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1)
0000:29:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1)
0000:2c:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1)
0000:2c:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1)
0000:2d:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1)
0000:2d:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1)

VBIOS version

25:00.0 94.02.42.80.9F, 26:00.0 94.02.42.80.9F, 29:00.0 94.02.42.00.2F, 2c:00.0 94.02.4B.00.0B, 2d:00.0 94.02.42.00.2F

Is the card modified?

Stock

Distribution

Proxmox VE 9.2.21

Kernel

7.0.14-25-pve

NVIDIA driver

595.71.05, open kernel modules

Initramfs generator

initramfs-tools

gpu-unlock version and install method

1fc6d62, make install (Debian packages gpu-unlock-dkms + gpu-unlock-firmware), firmware assets 610.43.03

Kernel command line

BOOT_IMAGE=/boot/vmlinuz-7.0.14-25-pve root=/dev/mapper/pve-root ro quiet amd_iommu=on iommu=pt gpu_unlock.targets=all initcall_blacklist=nvidiafb_init nomodeset

Setup

  • Gigabyte TRX40 DESIGNARE (BIOS FEg 11/21/2025), AMD Threadripper, Proxmox host. vLLM runs in an unprivileged LXC container on the host's nvidia driver, no passthrough.
  • 5× RTX 3090 on a Broadcom PEX880xx PCIe Gen4 switch board, connected to the host by 2× SAS cables to an adapter card in a CPU slot (root port 0000:20:03.1). The display GPU is a separate GTX 960 at 4a:00.0, not targeted.
  • 25:00.0 and 26:00.0 (both Zotac) are joined by an NVLink bridge. They sit on two ports of the same switch group (24:00.0 / 24:10.0).
  • Resizable BAR on, BAR1 = 32 GB on every card.
  • Power: a 1600 W PSU feeds only the five GPUs, and a separate 1200 W PSU runs the host. Power limit 300 W per card during crash 1, 280 W during crash 2.
  • Headless server, suspend not used.

PCIe topology (lspci -tv):

 +-03.1-[21-32]----00.0--+-00.0-[23]----00.0-[24]--+-00.0-[25]--+-00.0  NVIDIA GA102 [GeForce RTX 3090]
 |                       |                         |            \-00.1  NVIDIA GA102 HD Audio
 |                       |                         \-10.0-[26]--+-00.0  NVIDIA GA102 [GeForce RTX 3090]
 |                       |                                      \-00.1  NVIDIA GA102 HD Audio
 |                       +-04.0-[27]----00.0-[28]----00.0-[29]--+-00.0  NVIDIA GA102 [GeForce RTX 3090]
 |                       |                                      \-00.1  NVIDIA GA102 HD Audio
 |                       +-08.0-[2a]----00.0-[2b]--+-00.0-[2c]--+-00.0  NVIDIA GA102 [GeForce RTX 3090]
 |                       |                         |            \-00.1  NVIDIA GA102 HD Audio
 |                       |                         \-10.0-[2d]--+-00.0  NVIDIA GA102 [GeForce RTX 3090]
 |                       |                                      \-00.1  NVIDIA GA102 HD Audio
 |                       +-0c.0-[2e]----00.0-[2f]--+-14.0  Broadcom / LSI PEX880xx PCIe Gen 4 Switch
 |                       |                         \-15.0  Broadcom / LSI PEX880xx PCIe Gen 4 Switch

Both fatal errors came from 0000:24:10.0, the switch port directly above the GPU at 26:00.0.

Kernel log

# Boot Oct 28: journalctl -k -b | grep -i gpu_unlock (unlock succeeded on all five cards)
Oct 28 13:06:44 pve kernel: gpu_unlock: loading out-of-tree module taints kernel.
Oct 28 13:06:44 pve kernel: gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel
Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=claim device=0x2204 family=GA102/GA103/GA104/GA106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0
Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=layout fb=0x600000000 vga=0x5fff00000 frts=0x100000 wpr=0x5f5400000..0x5fff00000 boot=0x5ffdfa000 gsp=0x5fada0000 heap=0x5f5500000
Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=claim device=0x2204 family=GA102/GA103/GA104/GA106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0
Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=layout fb=0x600000000 vga=0x5fff00000 frts=0x100000 wpr=0x5f5400000..0x5fff00000 boot=0x5ffdfa000 gsp=0x5fada0000 heap=0x5f5500000
Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=claim device=0x2204 family=GA102/GA103/GA104/GA106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0
Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=layout fb=0x600000000 vga=0x5fff00000 frts=0x100000 wpr=0x5f5400000..0x5fff00000 boot=0x5ffdfa000 gsp=0x5fada0000 heap=0x5f5500000
Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=claim device=0x2204 family=GA102/GA103/GA104/GA106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0
Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=layout fb=0x600000000 vga=0x5fff00000 frts=0x100000 wpr=0x5f5400000..0x5fff00000 boot=0x5ffdfa000 gsp=0x5fada0000 heap=0x5f5500000
Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=claim device=0x2204 family=GA102/GA103/GA104/GA106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0
Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=layout fb=0x600000000 vga=0x5fff00000 frts=0x100000 wpr=0x5f5400000..0x5fff00000 boot=0x5ffdfa000 gsp=0x5fada0000 heap=0x5f5500000
Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=dma booter=60416 payload=0xfa00 pages=20606 meta=0x16f6000 sig=0x1740000 stock=0x16f7000 boot=0x17c8000
Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x26114144 ss1=0x6 wpr2_hi=0x0
Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=dma booter=60416 payload=0xfa00 pages=20606 meta=0x40cc000 sig=0x4150000 stock=0x40cd000 boot=0x16f8000
Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x500004 ss1=0x2 wpr2_hi=0x0
Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=dma booter=60416 payload=0xfa00 pages=20606 meta=0x406d000 sig=0x4080000 stock=0x406e000 boot=0x4108000
Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=dma booter=60416 payload=0xfa00 pages=20606 meta=0xbafff000 sig=0x4020000 stock=0x400f000 boot=0x40d0000
Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x77740104 ss1=0x7 wpr2_hi=0x0
Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x327003 ss1=0x7 wpr2_hi=0x0
Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=dma booter=60416 payload=0xfa00 pages=20606 meta=0x1619000 sig=0x1630000 stock=0x161a000 boot=0x1790000
Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x2030052 ss1=0x6 wpr2_hi=0x0
Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=fwsec version=3 fuse=0x3 ver=2 scratch=0x0 wpr2_raw=0x5ffe000:0x5ffee00 frts=0x5ffe000:0x5ffee00
Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=publish meta=0x16f6000 sig=0x1740000 size=0xfa00 radix=0x1750000
Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=fwsec version=3 fuse=0x3 ver=2 scratch=0x0 wpr2_raw=0x5ffe000:0x5ffee00 frts=0x5ffe000:0x5ffee00
Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=publish meta=0x40cc000 sig=0x4150000 size=0xfa00 radix=0x40ce000
Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=fwsec version=3 fuse=0x3 ver=2 scratch=0x0 wpr2_raw=0x5ffe000:0x5ffee00 frts=0x5ffe000:0x5ffee00
Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=fwsec version=3 fuse=0x3 ver=2 scratch=0x0 wpr2_raw=0x5ffe000:0x5ffee00 frts=0x5ffe000:0x5ffee00
Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=publish meta=0xbafff000 sig=0x4020000 size=0xfa00 radix=0x4030000
Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=publish meta=0x406d000 sig=0x4080000 size=0xfa00 radix=0x406f000
Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=fwsec version=3 fuse=0x3 ver=2 scratch=0x0 wpr2_raw=0x5ffe000:0x5ffee00 frts=0x5ffe000:0x5ffee00
Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=publish meta=0x1619000 sig=0x1630000 size=0xfa00 radix=0x161b000
Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: pass=1/2 attempt=1 target=0x1fa7cc value=0xfffff0ff before=0x4cb8f after=0xfffff0ff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x16f6000 ret=0
Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: pass=2/2 attempt=1 target=0x823804 value=0xffffffff before=0x4cb8f after=0xffffffff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x16f6000 ret=0
Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xfffff0ff
Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: pass=1/2 attempt=1 target=0x1fa7cc value=0xfffff0ff before=0x4cb8f after=0xfffff0ff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x40cc000 ret=0
Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: pass=2/2 attempt=1 target=0x823804 value=0xffffffff before=0x4cb8f after=0xffffffff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x40cc000 ret=0
Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xfffff0ff
Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: pass=1/2 attempt=1 target=0x1fa7cc value=0xfffff0ff before=0x4cb8f after=0xfffff0ff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x406d000 ret=0
Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: pass=1/2 attempt=1 target=0x1fa7cc value=0xfffff0ff before=0x4cb8f after=0xfffff0ff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0xbafff000 ret=0
Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: pass=2/2 attempt=1 target=0x823804 value=0xffffffff before=0x4cb8f after=0xffffffff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0xbafff000 ret=0
Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: pass=2/2 attempt=1 target=0x823804 value=0xffffffff before=0x4cb8f after=0xffffffff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x406d000 ret=0
Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xfffff0ff
Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xfffff0ff
Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: pass=1/2 attempt=1 target=0x1fa7cc value=0xfffff0ff before=0x4cb8f after=0xfffff0ff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x1619000 ret=0
Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: pass=2/2 attempt=1 target=0x823804 value=0xffffffff before=0x4cb8f after=0xffffffff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x1619000 ret=0
Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xfffff0ff
Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=flr post_wpr2=0x1ffffe00:0x0 ss0=0x88888888 ss1=0x8 plm=0xffffffff cmd=0x3 devsta=0x0 chip=0xb72000a1
Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=flr post_wpr2=0x1ffffe00:0x0 ss0=0x88888888 ss1=0x8 plm=0xffffffff cmd=0x3 devsta=0x0 chip=0xb72000a1
Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=handoff ret=0 state=4 retained=0 pages=0/20606 cleanup=0
Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: unlocked
Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=handoff ret=0 state=4 retained=0 pages=0/20606 cleanup=0
Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: unlocked
Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=flr post_wpr2=0x1ffffe00:0x0 ss0=0x88888888 ss1=0x8 plm=0xffffffff cmd=0x3 devsta=0x0 chip=0xb72000a1
Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=flr post_wpr2=0x1ffffe00:0x0 ss0=0x88888888 ss1=0x8 plm=0xffffffff cmd=0x3 devsta=0x0 chip=0xb72000a1
Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=handoff ret=0 state=4 retained=0 pages=0/20606 cleanup=0
Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: unlocked
Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=handoff ret=0 state=4 retained=0 pages=0/20606 cleanup=0
Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: unlocked
Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=flr post_wpr2=0x1ffffe00:0x0 ss0=0x88888888 ss1=0x8 plm=0xffffffff cmd=0x3 devsta=0x0 chip=0xb72000a1
Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=handoff ret=0 state=4 retained=0 pages=0/20606 cleanup=0
Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: unlocked

# Crash 1: Oct 28 20:30:01, ~7h23m after boot, vLLM models loaded (~22 GB per card), 300 W limit.
# Nothing in the full journal (all units) in the 30 s before.
Oct 28 20:30:01 pve kernel: pcieport 0000:20:03.1: DPC: containment event, status:0x1f05, ERR_FATAL received from 0000:24:10.0
Oct 28 20:30:01 pve kernel: pcieport 0000:22:0c.0: Unable to change power state from D3hot to D0, device inaccessible
Oct 28 20:30:01 pve kernel: pcieport 0000:2e:00.0: Unable to change power state from D3hot to D0, device inaccessible
Oct 28 20:30:01 pve kernel: pcieport 0000:2f:14.0: Unable to change power state from D3hot to D0, device inaccessible
Oct 28 20:30:01 pve kernel: pcieport 0000:2f:15.0: Unable to change power state from D3hot to D0, device inaccessible
Oct 28 20:30:01 pve kernel: nvidia 0000:25:00.0: AER: can't recover (no error_detected callback)
Oct 28 20:30:01 pve kernel: snd_hda_intel 0000:25:00.1: AER: can't recover (no error_detected callback)
Oct 28 20:30:01 pve kernel: nvidia 0000:26:00.0: AER: can't recover (no error_detected callback)
Oct 28 20:30:01 pve kernel: snd_hda_intel 0000:26:00.1: AER: can't recover (no error_detected callback)
Oct 28 20:30:01 pve kernel: nvidia 0000:29:00.0: AER: can't recover (no error_detected callback)
Oct 28 20:30:01 pve kernel: snd_hda_intel 0000:29:00.1: AER: can't recover (no error_detected callback)
Oct 28 20:30:01 pve kernel: nvidia 0000:2c:00.0: AER: can't recover (no error_detected callback)
Oct 28 20:30:01 pve kernel: snd_hda_intel 0000:2c:00.1: AER: can't recover (no error_detected callback)
Oct 28 20:30:01 pve kernel: nvidia 0000:2d:00.0: AER: can't recover (no error_detected callback)
Oct 28 20:30:01 pve kernel: snd_hda_intel 0000:2d:00.1: AER: can't recover (no error_detected callback)
Oct 28 20:30:01 pve kernel: pci 0000:32:00.0: AER: can't recover (no error_detected callback)
Oct 28 20:30:01 pve kernel: pcieport 0000:20:03.1: AER: device recovery failed
Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:2c:00): 79, GPU has fallen off the bus.
Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:2c:00): 154, GPU recovery action changed from 0x0 (None) to 0x1 (GPU Reset Required)
Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:25:00): 79, GPU has fallen off the bus.
Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:26:00): 79, GPU has fallen off the bus.
Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:29:00): 79, GPU has fallen off the bus.
Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:2d:00): 79, GPU has fallen off the bus.
Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:25:00): 154, GPU recovery action changed from 0x0 (None) to 0x2 (Node Reboot Required)
Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:26:00): 154, GPU recovery action changed from 0x0 (None) to 0x2 (Node Reboot Required)
Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:29:00): 154, GPU recovery action changed from 0x0 (None) to 0x2 (Node Reboot Required)
Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:2c:00): 154, GPU recovery action changed from 0x1 (GPU Reset Required) to 0x2 (Node Reboot Required)
Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:2d:00): 154, GPU recovery action changed from 0x0 (None) to 0x2 (Node Reboot Required)
(followed by hundreds of "rpcSendMessage failed with status 0x0000000f" / NV_ERR_GPU_IS_LOST lines for every GPU)

# Crash 2: next boot (after hard reboot), 870 s after boot, cards idle (model loaded, 0% util), 280 W limit. Same port.
[  780.901615] hrtimer: interrupt took 9969 ns
[  870.911139] pcieport 0000:20:03.1: DPC: containment event, status:0x1f05, ERR_FATAL received from 0000:24:10.0
[  870.911154] pcieport 0000:22:0c.0: Unable to change power state from D3hot to D0, device inaccessible
[  870.912093] pcieport 0000:2e:00.0: Unable to change power state from D3hot to D0, device inaccessible
[  870.913007] pcieport 0000:2f:14.0: Unable to change power state from D3hot to D0, device inaccessible
[  870.913924] pcieport 0000:2f:15.0: Unable to change power state from D3hot to D0, device inaccessible
[  870.914870] nvidia 0000:25:00.0: AER: can't recover (no error_detected callback)
[  870.914880] nvidia 0000:26:00.0: AER: can't recover (no error_detected callback)
[  870.914896] nvidia 0000:29:00.0: AER: can't recover (no error_detected callback)
[  870.914912] nvidia 0000:2c:00.0: AER: can't recover (no error_detected callback)
[  870.914920] nvidia 0000:2d:00.0: AER: can't recover (no error_detected callback)
[  870.914943] pci 0000:32:00.0: AER: can't recover (no error_detected callback)
[  870.959189] NVRM: Xid (PCI:0000:2d:00): 79, GPU has fallen off the bus.
[  870.959452] NVRM: Xid (PCI:0000:25:00): 79, GPU has fallen off the bus.
[  870.959700] NVRM: _kgspLogRpcSanityCheckFailure: GPU0 sanity check failed 0xf waiting for RPC response from GSP. Expected function 76 (GSP_RM_CONTROL) sequence 2974 (0x20800a56 0x5c).
[  870.963323] NVRM: tmrGetTimeEx_GM107: NVRM-RC: Consistently Bad TimeLo value ffffffff
[  870.963359] NVRM: Xid (PCI:0000:26:00): 79, GPU has fallen off the bus.
[  870.967124] NVRM: Xid (PCI:0000:2c:00): 79, GPU has fallen off the bus.
[  870.970717] NVRM: Xid (PCI:0000:29:00): 79, GPU has fallen off the bus.
[  870.974450] NVRM: Xid (PCI:0000:2d:00): 154, GPU recovery action changed from 0x0 (None) to 0x2 (Node Reboot Required)
[  871.066863] pcieport 0000:20:03.1: AER: device recovery failed

# After going back to stock (packages purged, full power-off): SS0/SS1 read from BAR0, override bits clear on all cards
0000:25:00.0: chip 0x172 SS0=0x00327003 SS1=0x6 -> LOCKED (stock)
0000:26:00.0: chip 0x172 SS0=0x77700104 SS1=0x7 -> LOCKED (stock)
0000:29:00.0: chip 0x172 SS0=0x02500004 SS1=0x2 -> LOCKED (stock)
0000:2c:00.0: chip 0x172 SS0=0x02031052 SS1=0x6 -> LOCKED (stock)
0000:2d:00.0: chip 0x172 SS0=0x26114144 SS1=0x6 -> LOCKED (stock)

Benchmark before and after

No response

Suspend and resume

Not tested

Anything else

None of the Result options fit exactly: the unlock completed on all five cards and gave the speedup, but the PCIe link behind one switch port then failed with a fatal error, taking down the whole switch and all five GPUs. It happened twice: once ~7½ hours after boot, and once ~14½ minutes after boot with the cards idle. The same port was involved both times. This rig had run for months on the same hardware with no Xid 79 or DPC events, and nothing else changed when gpu-unlock was installed.

  • Both events are a fatal error on the link between switch port 24:10.0 and the GPU at 26:00.0. The root port's DPC then takes down the whole switch, so the other four cards are collateral. The specific AER error type isn't logged, because DPC fires first.
  • The second event happened at idle, so I don't think it's only power or load transients. One open question is whether the unlock state affects how this card or its link behaves: for example the FEAT/WPR_CFG PLMs left at 0xffffffff while the stock driver runs.
  • The failing card is one half of an NVLink pair (2× Zotac). No NVLink Xid (74) appears before the DPC event, so the NVLink itself isn't what failed. Still, unlock + NVLink has very little testing; the only report I found is #139, which was short.
  • After the first crash, the nvidia_uvm teardown when the vLLM process exited also logged WARNING ... nvidia_dev_put_uuid and BUG uvm_gpu_chunk_5: Objects remaining on __kmem_cache_shutdown(). I take these to be follow-on damage from the lost GPUs.
  • Possibly related: #114 (Xid 79 with two 3090s, only with the unlock active, not root-caused) and the comment there about host resets on a TRX40 / Proxmox 7.0.14 system.

I've gone back to stock for now (packages purged, gpu_unlock.targets removed, full power-off, all five cards confirmed back to stock). I'm happy to help narrow this down. I can test:

  • unlocking only the three cards without NVLink (29, 2c, 2d), or only the four cards other than 26:00.0
  • running the NVLink pair unlocked with the bridge removed
  • PR #252 direct mode, which leaves the PLMs at their power-on values
  • any debug build or extra logging you'd like
Originally created by @dmagyar on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/260 ### Result Unlocked at first, but the speedup was lost later (idle, suspend, driver reload) ### Card 5× RTX 3090 24 GB: 2× Zotac (25:00.0, 26:00.0, NVLink-bridged), 2× MSI (29:00.0, 2d:00.0), 1× Founders Edition (2c:00.0) ### PCI IDs ```text 0000:25:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1) 0000:25:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1) 0000:26:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1) 0000:26:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1) 0000:29:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1) 0000:29:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1) 0000:2c:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1) 0000:2c:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1) 0000:2d:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1) 0000:2d:00.1 Audio device [0403]: NVIDIA Corporation GA102 High Definition Audio Controller [10de:1aef] (rev a1) ``` ### VBIOS version 25:00.0 94.02.42.80.9F, 26:00.0 94.02.42.80.9F, 29:00.0 94.02.42.00.2F, 2c:00.0 94.02.4B.00.0B, 2d:00.0 94.02.42.00.2F ### Is the card modified? Stock ### Distribution Proxmox VE 9.2.21 ### Kernel 7.0.14-25-pve ### NVIDIA driver 595.71.05, open kernel modules ### Initramfs generator initramfs-tools ### gpu-unlock version and install method 1fc6d62, make install (Debian packages gpu-unlock-dkms + gpu-unlock-firmware), firmware assets 610.43.03 ### Kernel command line BOOT_IMAGE=/boot/vmlinuz-7.0.14-25-pve root=/dev/mapper/pve-root ro quiet amd_iommu=on iommu=pt gpu_unlock.targets=all initcall_blacklist=nvidiafb_init nomodeset ### Setup - Gigabyte TRX40 DESIGNARE (BIOS FEg 11/21/2025), AMD Threadripper, Proxmox host. vLLM runs in an unprivileged LXC container on the host's nvidia driver, no passthrough. - 5× RTX 3090 on a **Broadcom PEX880xx PCIe Gen4 switch board**, connected to the host by **2× SAS cables** to an adapter card in a CPU slot (root port `0000:20:03.1`). The display GPU is a separate GTX 960 at `4a:00.0`, not targeted. - `25:00.0` and `26:00.0` (both Zotac) are joined by an **NVLink bridge**. They sit on two ports of the same switch group (`24:00.0` / `24:10.0`). - Resizable BAR on, BAR1 = 32 GB on every card. - Power: a 1600 W PSU feeds only the five GPUs, and a separate 1200 W PSU runs the host. Power limit 300 W per card during crash 1, 280 W during crash 2. - Headless server, suspend not used. PCIe topology (`lspci -tv`): ``` +-03.1-[21-32]----00.0--+-00.0-[23]----00.0-[24]--+-00.0-[25]--+-00.0 NVIDIA GA102 [GeForce RTX 3090] | | | \-00.1 NVIDIA GA102 HD Audio | | \-10.0-[26]--+-00.0 NVIDIA GA102 [GeForce RTX 3090] | | \-00.1 NVIDIA GA102 HD Audio | +-04.0-[27]----00.0-[28]----00.0-[29]--+-00.0 NVIDIA GA102 [GeForce RTX 3090] | | \-00.1 NVIDIA GA102 HD Audio | +-08.0-[2a]----00.0-[2b]--+-00.0-[2c]--+-00.0 NVIDIA GA102 [GeForce RTX 3090] | | | \-00.1 NVIDIA GA102 HD Audio | | \-10.0-[2d]--+-00.0 NVIDIA GA102 [GeForce RTX 3090] | | \-00.1 NVIDIA GA102 HD Audio | +-0c.0-[2e]----00.0-[2f]--+-14.0 Broadcom / LSI PEX880xx PCIe Gen 4 Switch | | \-15.0 Broadcom / LSI PEX880xx PCIe Gen 4 Switch ``` Both fatal errors came from `0000:24:10.0`, the switch port directly above the GPU at `26:00.0`. ### Kernel log ```text # Boot Oct 28: journalctl -k -b | grep -i gpu_unlock (unlock succeeded on all five cards) Oct 28 13:06:44 pve kernel: gpu_unlock: loading out-of-tree module taints kernel. Oct 28 13:06:44 pve kernel: gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=claim device=0x2204 family=GA102/GA103/GA104/GA106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0 Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=layout fb=0x600000000 vga=0x5fff00000 frts=0x100000 wpr=0x5f5400000..0x5fff00000 boot=0x5ffdfa000 gsp=0x5fada0000 heap=0x5f5500000 Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=claim device=0x2204 family=GA102/GA103/GA104/GA106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0 Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=layout fb=0x600000000 vga=0x5fff00000 frts=0x100000 wpr=0x5f5400000..0x5fff00000 boot=0x5ffdfa000 gsp=0x5fada0000 heap=0x5f5500000 Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=claim device=0x2204 family=GA102/GA103/GA104/GA106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0 Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=layout fb=0x600000000 vga=0x5fff00000 frts=0x100000 wpr=0x5f5400000..0x5fff00000 boot=0x5ffdfa000 gsp=0x5fada0000 heap=0x5f5500000 Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=claim device=0x2204 family=GA102/GA103/GA104/GA106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0 Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=layout fb=0x600000000 vga=0x5fff00000 frts=0x100000 wpr=0x5f5400000..0x5fff00000 boot=0x5ffdfa000 gsp=0x5fada0000 heap=0x5f5500000 Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=claim device=0x2204 family=GA102/GA103/GA104/GA106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0 Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=layout fb=0x600000000 vga=0x5fff00000 frts=0x100000 wpr=0x5f5400000..0x5fff00000 boot=0x5ffdfa000 gsp=0x5fada0000 heap=0x5f5500000 Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=dma booter=60416 payload=0xfa00 pages=20606 meta=0x16f6000 sig=0x1740000 stock=0x16f7000 boot=0x17c8000 Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x26114144 ss1=0x6 wpr2_hi=0x0 Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=dma booter=60416 payload=0xfa00 pages=20606 meta=0x40cc000 sig=0x4150000 stock=0x40cd000 boot=0x16f8000 Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x500004 ss1=0x2 wpr2_hi=0x0 Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=dma booter=60416 payload=0xfa00 pages=20606 meta=0x406d000 sig=0x4080000 stock=0x406e000 boot=0x4108000 Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=dma booter=60416 payload=0xfa00 pages=20606 meta=0xbafff000 sig=0x4020000 stock=0x400f000 boot=0x40d0000 Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x77740104 ss1=0x7 wpr2_hi=0x0 Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x327003 ss1=0x7 wpr2_hi=0x0 Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=dma booter=60416 payload=0xfa00 pages=20606 meta=0x1619000 sig=0x1630000 stock=0x161a000 boot=0x1790000 Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x2030052 ss1=0x6 wpr2_hi=0x0 Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=fwsec version=3 fuse=0x3 ver=2 scratch=0x0 wpr2_raw=0x5ffe000:0x5ffee00 frts=0x5ffe000:0x5ffee00 Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=publish meta=0x16f6000 sig=0x1740000 size=0xfa00 radix=0x1750000 Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=fwsec version=3 fuse=0x3 ver=2 scratch=0x0 wpr2_raw=0x5ffe000:0x5ffee00 frts=0x5ffe000:0x5ffee00 Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=publish meta=0x40cc000 sig=0x4150000 size=0xfa00 radix=0x40ce000 Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=fwsec version=3 fuse=0x3 ver=2 scratch=0x0 wpr2_raw=0x5ffe000:0x5ffee00 frts=0x5ffe000:0x5ffee00 Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=fwsec version=3 fuse=0x3 ver=2 scratch=0x0 wpr2_raw=0x5ffe000:0x5ffee00 frts=0x5ffe000:0x5ffee00 Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=publish meta=0xbafff000 sig=0x4020000 size=0xfa00 radix=0x4030000 Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=publish meta=0x406d000 sig=0x4080000 size=0xfa00 radix=0x406f000 Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=fwsec version=3 fuse=0x3 ver=2 scratch=0x0 wpr2_raw=0x5ffe000:0x5ffee00 frts=0x5ffe000:0x5ffee00 Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=publish meta=0x1619000 sig=0x1630000 size=0xfa00 radix=0x161b000 Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: pass=1/2 attempt=1 target=0x1fa7cc value=0xfffff0ff before=0x4cb8f after=0xfffff0ff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x16f6000 ret=0 Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: pass=2/2 attempt=1 target=0x823804 value=0xffffffff before=0x4cb8f after=0xffffffff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x16f6000 ret=0 Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xfffff0ff Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: pass=1/2 attempt=1 target=0x1fa7cc value=0xfffff0ff before=0x4cb8f after=0xfffff0ff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x40cc000 ret=0 Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: pass=2/2 attempt=1 target=0x823804 value=0xffffffff before=0x4cb8f after=0xffffffff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x40cc000 ret=0 Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xfffff0ff Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: pass=1/2 attempt=1 target=0x1fa7cc value=0xfffff0ff before=0x4cb8f after=0xfffff0ff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x406d000 ret=0 Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: pass=1/2 attempt=1 target=0x1fa7cc value=0xfffff0ff before=0x4cb8f after=0xfffff0ff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0xbafff000 ret=0 Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: pass=2/2 attempt=1 target=0x823804 value=0xffffffff before=0x4cb8f after=0xffffffff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0xbafff000 ret=0 Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: pass=2/2 attempt=1 target=0x823804 value=0xffffffff before=0x4cb8f after=0xffffffff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x406d000 ret=0 Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xfffff0ff Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xfffff0ff Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: pass=1/2 attempt=1 target=0x1fa7cc value=0xfffff0ff before=0x4cb8f after=0xfffff0ff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x1619000 ret=0 Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: pass=2/2 attempt=1 target=0x823804 value=0xffffffff before=0x4cb8f after=0xffffffff wpr2=0x5f54000:0x5ffee00 reset_plm=0xffffffff mbox=0x0:0x1619000 ret=0 Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xfffff0ff Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=flr post_wpr2=0x1ffffe00:0x0 ss0=0x88888888 ss1=0x8 plm=0xffffffff cmd=0x3 devsta=0x0 chip=0xb72000a1 Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=flr post_wpr2=0x1ffffe00:0x0 ss0=0x88888888 ss1=0x8 plm=0xffffffff cmd=0x3 devsta=0x0 chip=0xb72000a1 Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: stage=handoff ret=0 state=4 retained=0 pages=0/20606 cleanup=0 Oct 28 13:06:44 pve kernel: pci 0000:25:00.0: gpu_unlock: unlocked Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: stage=handoff ret=0 state=4 retained=0 pages=0/20606 cleanup=0 Oct 28 13:06:44 pve kernel: pci 0000:26:00.0: gpu_unlock: unlocked Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=flr post_wpr2=0x1ffffe00:0x0 ss0=0x88888888 ss1=0x8 plm=0xffffffff cmd=0x3 devsta=0x0 chip=0xb72000a1 Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=flr post_wpr2=0x1ffffe00:0x0 ss0=0x88888888 ss1=0x8 plm=0xffffffff cmd=0x3 devsta=0x0 chip=0xb72000a1 Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: stage=handoff ret=0 state=4 retained=0 pages=0/20606 cleanup=0 Oct 28 13:06:44 pve kernel: pci 0000:29:00.0: gpu_unlock: unlocked Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: stage=handoff ret=0 state=4 retained=0 pages=0/20606 cleanup=0 Oct 28 13:06:44 pve kernel: pci 0000:2d:00.0: gpu_unlock: unlocked Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=flr post_wpr2=0x1ffffe00:0x0 ss0=0x88888888 ss1=0x8 plm=0xffffffff cmd=0x3 devsta=0x0 chip=0xb72000a1 Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: stage=handoff ret=0 state=4 retained=0 pages=0/20606 cleanup=0 Oct 28 13:06:44 pve kernel: pci 0000:2c:00.0: gpu_unlock: unlocked # Crash 1: Oct 28 20:30:01, ~7h23m after boot, vLLM models loaded (~22 GB per card), 300 W limit. # Nothing in the full journal (all units) in the 30 s before. Oct 28 20:30:01 pve kernel: pcieport 0000:20:03.1: DPC: containment event, status:0x1f05, ERR_FATAL received from 0000:24:10.0 Oct 28 20:30:01 pve kernel: pcieport 0000:22:0c.0: Unable to change power state from D3hot to D0, device inaccessible Oct 28 20:30:01 pve kernel: pcieport 0000:2e:00.0: Unable to change power state from D3hot to D0, device inaccessible Oct 28 20:30:01 pve kernel: pcieport 0000:2f:14.0: Unable to change power state from D3hot to D0, device inaccessible Oct 28 20:30:01 pve kernel: pcieport 0000:2f:15.0: Unable to change power state from D3hot to D0, device inaccessible Oct 28 20:30:01 pve kernel: nvidia 0000:25:00.0: AER: can't recover (no error_detected callback) Oct 28 20:30:01 pve kernel: snd_hda_intel 0000:25:00.1: AER: can't recover (no error_detected callback) Oct 28 20:30:01 pve kernel: nvidia 0000:26:00.0: AER: can't recover (no error_detected callback) Oct 28 20:30:01 pve kernel: snd_hda_intel 0000:26:00.1: AER: can't recover (no error_detected callback) Oct 28 20:30:01 pve kernel: nvidia 0000:29:00.0: AER: can't recover (no error_detected callback) Oct 28 20:30:01 pve kernel: snd_hda_intel 0000:29:00.1: AER: can't recover (no error_detected callback) Oct 28 20:30:01 pve kernel: nvidia 0000:2c:00.0: AER: can't recover (no error_detected callback) Oct 28 20:30:01 pve kernel: snd_hda_intel 0000:2c:00.1: AER: can't recover (no error_detected callback) Oct 28 20:30:01 pve kernel: nvidia 0000:2d:00.0: AER: can't recover (no error_detected callback) Oct 28 20:30:01 pve kernel: snd_hda_intel 0000:2d:00.1: AER: can't recover (no error_detected callback) Oct 28 20:30:01 pve kernel: pci 0000:32:00.0: AER: can't recover (no error_detected callback) Oct 28 20:30:01 pve kernel: pcieport 0000:20:03.1: AER: device recovery failed Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:2c:00): 79, GPU has fallen off the bus. Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:2c:00): 154, GPU recovery action changed from 0x0 (None) to 0x1 (GPU Reset Required) Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:25:00): 79, GPU has fallen off the bus. Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:26:00): 79, GPU has fallen off the bus. Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:29:00): 79, GPU has fallen off the bus. Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:2d:00): 79, GPU has fallen off the bus. Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:25:00): 154, GPU recovery action changed from 0x0 (None) to 0x2 (Node Reboot Required) Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:26:00): 154, GPU recovery action changed from 0x0 (None) to 0x2 (Node Reboot Required) Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:29:00): 154, GPU recovery action changed from 0x0 (None) to 0x2 (Node Reboot Required) Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:2c:00): 154, GPU recovery action changed from 0x1 (GPU Reset Required) to 0x2 (Node Reboot Required) Oct 28 20:30:01 pve kernel: NVRM: Xid (PCI:0000:2d:00): 154, GPU recovery action changed from 0x0 (None) to 0x2 (Node Reboot Required) (followed by hundreds of "rpcSendMessage failed with status 0x0000000f" / NV_ERR_GPU_IS_LOST lines for every GPU) # Crash 2: next boot (after hard reboot), 870 s after boot, cards idle (model loaded, 0% util), 280 W limit. Same port. [ 780.901615] hrtimer: interrupt took 9969 ns [ 870.911139] pcieport 0000:20:03.1: DPC: containment event, status:0x1f05, ERR_FATAL received from 0000:24:10.0 [ 870.911154] pcieport 0000:22:0c.0: Unable to change power state from D3hot to D0, device inaccessible [ 870.912093] pcieport 0000:2e:00.0: Unable to change power state from D3hot to D0, device inaccessible [ 870.913007] pcieport 0000:2f:14.0: Unable to change power state from D3hot to D0, device inaccessible [ 870.913924] pcieport 0000:2f:15.0: Unable to change power state from D3hot to D0, device inaccessible [ 870.914870] nvidia 0000:25:00.0: AER: can't recover (no error_detected callback) [ 870.914880] nvidia 0000:26:00.0: AER: can't recover (no error_detected callback) [ 870.914896] nvidia 0000:29:00.0: AER: can't recover (no error_detected callback) [ 870.914912] nvidia 0000:2c:00.0: AER: can't recover (no error_detected callback) [ 870.914920] nvidia 0000:2d:00.0: AER: can't recover (no error_detected callback) [ 870.914943] pci 0000:32:00.0: AER: can't recover (no error_detected callback) [ 870.959189] NVRM: Xid (PCI:0000:2d:00): 79, GPU has fallen off the bus. [ 870.959452] NVRM: Xid (PCI:0000:25:00): 79, GPU has fallen off the bus. [ 870.959700] NVRM: _kgspLogRpcSanityCheckFailure: GPU0 sanity check failed 0xf waiting for RPC response from GSP. Expected function 76 (GSP_RM_CONTROL) sequence 2974 (0x20800a56 0x5c). [ 870.963323] NVRM: tmrGetTimeEx_GM107: NVRM-RC: Consistently Bad TimeLo value ffffffff [ 870.963359] NVRM: Xid (PCI:0000:26:00): 79, GPU has fallen off the bus. [ 870.967124] NVRM: Xid (PCI:0000:2c:00): 79, GPU has fallen off the bus. [ 870.970717] NVRM: Xid (PCI:0000:29:00): 79, GPU has fallen off the bus. [ 870.974450] NVRM: Xid (PCI:0000:2d:00): 154, GPU recovery action changed from 0x0 (None) to 0x2 (Node Reboot Required) [ 871.066863] pcieport 0000:20:03.1: AER: device recovery failed # After going back to stock (packages purged, full power-off): SS0/SS1 read from BAR0, override bits clear on all cards 0000:25:00.0: chip 0x172 SS0=0x00327003 SS1=0x6 -> LOCKED (stock) 0000:26:00.0: chip 0x172 SS0=0x77700104 SS1=0x7 -> LOCKED (stock) 0000:29:00.0: chip 0x172 SS0=0x02500004 SS1=0x2 -> LOCKED (stock) 0000:2c:00.0: chip 0x172 SS0=0x02031052 SS1=0x6 -> LOCKED (stock) 0000:2d:00.0: chip 0x172 SS0=0x26114144 SS1=0x6 -> LOCKED (stock) ``` ### Benchmark before and after _No response_ ### Suspend and resume Not tested ### Anything else None of the Result options fit exactly: **the unlock completed on all five cards and gave the speedup, but the PCIe link behind one switch port then failed with a fatal error, taking down the whole switch and all five GPUs.** It happened twice: once ~7½ hours after boot, and once ~14½ minutes after boot with the cards idle. The same port was involved both times. This rig had run for months on the same hardware with no Xid 79 or DPC events, and nothing else changed when gpu-unlock was installed. - Both events are a **fatal error on the link between switch port `24:10.0` and the GPU at `26:00.0`**. The root port's DPC then takes down the whole switch, so the other four cards are collateral. The specific AER error type isn't logged, because DPC fires first. - The second event happened at idle, so I don't think it's only power or load transients. One open question is whether the unlock state affects how this card or its link behaves: for example the FEAT/WPR_CFG PLMs left at `0xffffffff` while the stock driver runs. - The failing card is one half of an NVLink pair (2× Zotac). No NVLink Xid (74) appears before the DPC event, so the NVLink itself isn't what failed. Still, unlock + NVLink has very little testing; the only report I found is #139, which was short. - After the first crash, the `nvidia_uvm` teardown when the vLLM process exited also logged `WARNING ... nvidia_dev_put_uuid` and `BUG uvm_gpu_chunk_5: Objects remaining on __kmem_cache_shutdown()`. I take these to be follow-on damage from the lost GPUs. - Possibly related: #114 (Xid 79 with two 3090s, only with the unlock active, not root-caused) and the comment there about host resets on a TRX40 / Proxmox 7.0.14 system. I've gone back to stock for now (packages purged, `gpu_unlock.targets` removed, full power-off, all five cards confirmed back to stock). I'm happy to help narrow this down. I can test: - unlocking only the three cards without NVLink (`29`, `2c`, `2d`), or only the four cards other than `26:00.0` - running the NVLink pair unlocked with the bridge removed - PR #252 direct mode, which leaves the PLMs at their power-on values - any debug build or extra logging you'd like
Author
Owner

@Lukium commented on GitHub (Oct 29, 2026):

A data point from a similar setup, in case it helps narrow this down (I wrote #252).

Setup: 8× RTX 3090 on Proxmox (AMD host), vLLM in an LXC on the host driver, like yours. The cards are cabled the same way: C-Payne SlimSAS gen4 host adapters (x16 → 2× 8i, with DS160PR810 redrivers) and 75 cm SlimSAS 8i cables to C-Payne x8/x16 device adapters. Two differences may matter here:

  • No PCIe switch. Each GPU trains directly against its own CPU root port (x8/x8 bifurcation). A bad link would only take down that one card.
  • The links are capped at Gen3 in BIOS. I did that on purpose, for stability over the cables.

All 8 cards were unlocked with #252 (direct mode) from a cold boot. After about 9 hours (mostly idle, plus some benchmark runs) there's no Xid 79 and no lost GPUs. That's a short window, not proof. My platform also handles AER firmware-first, so the OS-side error counters reading zero means little.

Some thoughts on your logs:

  • Your second crash happened at idle, which doesn't necessarily point away from the link. Idle GPUs drop to Gen1 and retrain to Gen4 when work arrives; my cards sit at 2.5 GT/s when idle. Repeated speed changes on a marginal Gen4 path (cable → switch → GPU) are a classic trigger for exactly this kind of fatal error.
  • A cheap test is to run the GPU links at Gen3 with the stock unlock and see whether it still happens. A BIOS cap usually only applies to the root port (20:03.1), which is the cable link to the switch. The link that failed, 24:10.0 → 26:00.0, is trained by the switch itself. To cap that one, set Target Link Speed to 8 GT/s (Link Control 2) on the switch's downstream ports and retrain, for example with setpci from an early boot script. The switch vendor's configuration tools may also offer it. Capping both the root port and the downstream ports covers either link being the marginal one.
  • #252 would tell you whether the open PLMs matter. I'd be surprised if they did, because they only control which privilege level may write certain GPU registers and have nothing to do with link training. Still, it rules that variable out with one boot, and every card logs untouched=1 to confirm the masks stayed at their power-on values.

If you test both, changing one thing at a time would make the result conclusive.

<!-- gh-comment-id:6496662372 --> @Lukium commented on GitHub (Oct 29, 2026): A data point from a similar setup, in case it helps narrow this down (I wrote #252). **Setup**: 8× RTX 3090 on Proxmox (AMD host), vLLM in an LXC on the host driver, like yours. The cards are cabled the same way: C-Payne SlimSAS gen4 host adapters (x16 → 2× 8i, with DS160PR810 redrivers) and 75 cm SlimSAS 8i cables to C-Payne x8/x16 device adapters. Two differences may matter here: - **No PCIe switch.** Each GPU trains directly against its own CPU root port (x8/x8 bifurcation). A bad link would only take down that one card. - **The links are capped at Gen3** in BIOS. I did that on purpose, for stability over the cables. All 8 cards were unlocked with #252 (direct mode) from a cold boot. After about 9 hours (mostly idle, plus some benchmark runs) there's no Xid 79 and no lost GPUs. That's a short window, not proof. My platform also handles AER firmware-first, so the OS-side error counters reading zero means little. Some thoughts on your logs: - Your second crash happened at idle, which doesn't necessarily point away from the link. Idle GPUs drop to Gen1 and retrain to Gen4 when work arrives; my cards sit at 2.5 GT/s when idle. Repeated speed changes on a marginal Gen4 path (cable → switch → GPU) are a classic trigger for exactly this kind of fatal error. - A cheap test is to run the GPU links at Gen3 with the stock unlock and see whether it still happens. A BIOS cap usually only applies to the root port (`20:03.1`), which is the cable link to the switch. The link that failed, `24:10.0` → `26:00.0`, is trained by the switch itself. To cap that one, set Target Link Speed to 8 GT/s (Link Control 2) on the switch's downstream ports and retrain, for example with `setpci` from an early boot script. The switch vendor's configuration tools may also offer it. Capping both the root port and the downstream ports covers either link being the marginal one. - #252 would tell you whether the open PLMs matter. I'd be surprised if they did, because they only control which privilege level may write certain GPU registers and have nothing to do with link training. Still, it rules that variable out with one boot, and every card logs `untouched=1` to confirm the masks stayed at their power-on values. If you test both, changing one thing at a time would make the result conclusive.
Author
Owner

@dmagyar commented on GitHub (Oct 29, 2026):

Thanks @Lukium - the exact same setup runs without the unlock in place rock solid for months. I do not intend to lock the PCI-E of the adapter card to 3.0 as that would essentially cripple the speed to all cards on my switch. I am confident in my hardware setup the only thing changed is that I've added this gpu-unlock shiv. Once removed everything went back to normal/stable state.

<!-- gh-comment-id:6498044928 --> @dmagyar commented on GitHub (Oct 29, 2026): Thanks @Lukium - the exact same setup runs without the unlock in place rock solid for months. I do not intend to lock the PCI-E of the adapter card to 3.0 as that would essentially cripple the speed to all cards on my switch. I am confident in my hardware setup the only thing changed is that I've added this gpu-unlock shiv. Once removed everything went back to normal/stable state.
Author
Owner

@Zagitta commented on GitHub (Oct 29, 2026):

Thanks for the detailed report, and for going back to stock to confirm it. Two failures in about 8 hours, after months without one, is enough for me to treat this as linked to the unlock until we can show otherwise. I agree that capping the link at Gen3 isn't a reasonable fix for your setup.

I went through what the module does to the PCIe side on GA102. On its own, none of it explains a fatal error on a switch port hours later:

  • It never writes any link registers. The retrain path only runs on GA100.
  • Its only PCIe-level action is one function-level reset (FLR) at boot, using pcie_flr() followed by pci_restore_state(). That's the same reset VFIO does on every passthrough, and #139 shows it working on an NVLink-bridged pair.
  • After that, only two things stay changed until power-off: the speed selectors (SS0/SS1), and the FEAT/WPR_CFG privilege masks, which are left open.

So if the unlock is involved, it's indirect. I see three candidates:

  1. Electrical: full-rate tensor math draws larger current steps under load. That could push a marginal Gen4 path past its limit even if it has been fine at stock. This fits your first crash better than the idle one.
  2. The open masks changing how the stock driver behaves on that card.
  3. Something specific to the NVLink pair (25/26). Unlock plus NVLink has had very little testing.

The most useful missing piece is the error type itself. DPC fires before AER can log it, so we can't tell a Surprise Down (the GPU dropped the link) from a link-layer error (signal integrity). Those point in quite different directions.

If you're willing to test, these would narrow it down quickest. Please run them one at a time, each on a cold boot:

  1. Unlock everything except 26:00.0:
    gpu_unlock.targets=0000:25:00.0,0000:29:00.0,0000:2c:00.0,0000:2d:00.0
    
    If 24:10.0 still fails while 26 is at stock, the unlock on that card isn't what's breaking the link. If it stays stable, that strongly implicates it.
  2. Error counters, no crash needed. On one stock boot and one unlocked boot, with your normal vLLM load, log the counters every minute:
    while sleep 60; do date -Is; for d in 0000:24:10.0 0000:26:00.0; do echo "$d"; cat /sys/bus/pci/devices/$d/aer_dev_correctable; done; done >> aer.log
    
    If the counters climb only on unlocked boots, that points at the electrical explanation.
  3. Optional, for diagnosis only: turn off DPC triggering on the root port, so the next fatal error goes through AER and gets decoded. You'll probably still lose the cards when it happens, but the log will say which error it was. First find the DPC capability offset:
    lspci -vvv -s 20:03.1 | grep "Downstream Port Containment"
    # e.g. "Capabilities: [xxx v1] Downstream Port Containment"
    setpci -s 20:03.1 <xxx+6>.w=0000:0003   # clears DPC Trigger Enable
    
    This only lasts until reboot.

One more question: #114, the host-reset comment in it, and your setup are all TRX40 Threadripper boards. Do you know whether PCIe AER is handled by the BIOS ("firmware first") or by the OS on your board? Has anything in the BIOS PCIe settings (ASPM, Gen4 equalization, Advanced Error Reporting (AER)/DPC options) been changed from the defaults?

<!-- gh-comment-id:6498597063 --> @Zagitta commented on GitHub (Oct 29, 2026): Thanks for the detailed report, and for going back to stock to confirm it. Two failures in about 8 hours, after months without one, is enough for me to treat this as linked to the unlock until we can show otherwise. I agree that capping the link at Gen3 isn't a reasonable fix for your setup. I went through what the module does to the PCIe side on GA102. On its own, none of it explains a fatal error on a switch port hours later: - It never writes any link registers. The retrain path only runs on GA100. - Its only PCIe-level action is one function-level reset (FLR) at boot, using `pcie_flr()` followed by `pci_restore_state()`. That's the same reset VFIO does on every passthrough, and #139 shows it working on an NVLink-bridged pair. - After that, only two things stay changed until power-off: the speed selectors (SS0/SS1), and the FEAT/WPR_CFG privilege masks, which are left open. So if the unlock is involved, it's indirect. I see three candidates: 1. **Electrical:** full-rate tensor math draws larger current steps under load. That could push a marginal Gen4 path past its limit even if it has been fine at stock. This fits your first crash better than the idle one. 2. **The open masks** changing how the stock driver behaves on that card. 3. **Something specific to the NVLink pair** (25/26). Unlock plus NVLink has had very little testing. The most useful missing piece is the error type itself. DPC fires before AER can log it, so we can't tell a Surprise Down (the GPU dropped the link) from a link-layer error (signal integrity). Those point in quite different directions. If you're willing to test, these would narrow it down quickest. Please run them one at a time, each on a cold boot: 1. **Unlock everything except 26:00.0:** ``` gpu_unlock.targets=0000:25:00.0,0000:29:00.0,0000:2c:00.0,0000:2d:00.0 ``` If `24:10.0` still fails while 26 is at stock, the unlock on that card isn't what's breaking the link. If it stays stable, that strongly implicates it. 2. **Error counters, no crash needed.** On one stock boot and one unlocked boot, with your normal vLLM load, log the counters every minute: ```sh while sleep 60; do date -Is; for d in 0000:24:10.0 0000:26:00.0; do echo "$d"; cat /sys/bus/pci/devices/$d/aer_dev_correctable; done; done >> aer.log ``` If the counters climb only on unlocked boots, that points at the electrical explanation. 3. **Optional, for diagnosis only:** turn off DPC triggering on the root port, so the next fatal error goes through AER and gets decoded. You'll probably still lose the cards when it happens, but the log will say which error it was. First find the DPC capability offset: ```sh lspci -vvv -s 20:03.1 | grep "Downstream Port Containment" # e.g. "Capabilities: [xxx v1] Downstream Port Containment" setpci -s 20:03.1 <xxx+6>.w=0000:0003 # clears DPC Trigger Enable ``` This only lasts until reboot. One more question: #114, the host-reset comment in it, and your setup are all TRX40 Threadripper boards. Do you know whether PCIe AER is handled by the BIOS ("firmware first") or by the OS on your board? Has anything in the BIOS PCIe settings (ASPM, Gen4 equalization, Advanced Error Reporting (AER)/DPC options) been changed from the defaults?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Zagitta/gpu-unlock#229
No description provided.