DragonFlyBSD Kernel Audit
DF-2219 / run.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
#!/bin/sh
echo "=== DF-2219 hardware gate ==="
pciconf -l 2>&1 | grep -iE "0x030000|0x038000|vga|1002|amd" || echo "  no AMD GPU"
ls /dev/dri* /dev/drm* 2>&1 || echo "  no DRM device nodes"
kldstat 2>&1 | grep -iE "drm|amdgpu" || echo "  no drm/amdgpu modules loaded"
echo "==> encode_pcie_lane_width (AMD powerplay) needs an attached AMD GPU (absent)."
exit 0