⬢ DragonFlyBSD Kernel Audit
DF-4826 / run.log
← back to finding ↓ download raw
### HOST: check_dead.sh 2026-09-24T06:58:40Z
### git rev: 6cc80ee9 kernel/apple_ir: Add Apple IR receiver driver.

== [1] amdgpu Makefile SRCS membership ==
  amdgpu_acp.c in Makefile SRCS: <none>
  (positive control, different file) 168:SRCS+= amdgpu_acpi.c
== [2] required shim headers exist? ==
  linux/pm_domain.h: ABSENT  (fatal include error: amdgpu_acp.c:26-30)
  sound/designware_i2s.h: ABSENT  (fatal include error: amdgpu_acp.c:26-30)
  sound/pcm.h: ABSENT  (fatal include error: amdgpu_acp.c:26-30)
  platform_device shim struct: #endif	/* _LINUX_PLATFORM_DEVICE_H_ */ 
  mfd/core.h defines: 0 substantive lines (include-guard only)
== [3] CONFIG_DRM_AMD_ACP ever defined? ==
  definitions: <none>
  references (all #ifdef / #if defined consumers):
    /home/maxx/dfbsd/dfbsd/sys/dev/drm/amd/amdgpu/vi.c:74:#if defined(CONFIG_DRM_AMD_ACP)
    /home/maxx/dfbsd/dfbsd/sys/dev/drm/amd/amdgpu/vi.c:1685:#if defined(CONFIG_DRM_AMD_ACP)
    /home/maxx/dfbsd/dfbsd/sys/dev/drm/amd/amdgpu/vi.c:1706:#if defined(CONFIG_DRM_AMD_ACP)
    /home/maxx/dfbsd/dfbsd/sys/dev/drm/amd/amdgpu/amdgpu.h:823:#ifdef CONFIG_DRM_AMD_ACP
    /home/maxx/dfbsd/dfbsd/sys/dev/drm/amd/powerplay/hwmgr/smu8_hwmgr.c:667:#ifdef CONFIG_DRM_AMD_ACP
== [4] any mfd/genpd API symbol anywhere else in sys/ (shim presence)? ==
  mfd_add_hotplug_devices defined outside amdgpu_acp.c: 0 files
  mfd_add_devices defined outside amdgpu_acp.c: 0 files
  mfd_remove_devices defined outside amdgpu_acp.c: 0 files
  pm_genpd_init defined outside amdgpu_acp.c: 0 files
  pm_genpd_add_device defined outside amdgpu_acp.c: 0 files
  bus_find_device_by_name defined outside amdgpu_acp.c: 0 files
== [5] shipped binary artifact (guest): /boot/kernel/amdgpu.ko ==
  (run inside guest; results recorded in run.log)

VERDICT INPUTS: [1] no SRCS entry, [2] >=1 fatal missing include, [3] no definition,
[4] zero shim files, [5] zero ACP symbols in shipped amdgpu.ko  => dead translation unit.

### HOST: build.sh (include-resolution gate)
no host C compiler present — the include-resolution fact is proven by
check_dead.sh [2]: sys/dev/drm/include/linux/pm_domain.h and the whole
sys/dev/drm/include/sound/ tree do not exist. cpp cannot resolve the include.

### GUEST: shipped binary artifact (dfbsd-qemu/vm.sh run_root)
uname: DragonFly dfbsd 6.5-DEVELOPMENT DragonFly v6.5.0.1712.g89e6a-DEVELOPMENT #1: Mon Jun 29 14:18:01 UTC 2026  x86_64
cmd: nm /boot/kernel/amdgpu.ko | grep -cE "acp_ip_block|acp_hw_init|acp_poweron"
result: 0
cmd (positive control): nm /boot/kernel/amdgpu.ko | grep -ci acpi
result: 17
cmd: nm /boot/kernel/amdgpu.ko | grep -i acp | head -8
result: only ACPI-CA imports (AcpiEvaluateObject...) and module metadata — zero amdgpu ACP functions