Known issues
This page is the single source of truth for symptoms, root causes and fixes. Parameters, formats and paths are not repeated here: driver parameter details link to Guest parameters and GART details link to GART format.
Quick triage
Locate the smallest check for a symptom first, then read the full entry below.
Symptom |
First check |
|---|---|
gem5 process exits immediately |
read the process log; the standalone shell path uses |
QEMU fails to connect |
confirm gem5 is ready and the socket exists and is reachable |
NULL dereference at |
check that |
Many GART translation not found warnings |
confirm the latest gem5 build, then check the fallback in GART format |
SDMA ring test returns -110 |
check that |
hipcc cannot find the ROCm device library |
check |
MMIO reads return zero |
gem5 is not connected or has crashed |
|
kernel release and DKMS module do not match |
|
|
BAR layout probe returns -12 |
check the BAR region descriptors exported by |
Issue catalog
Entry numbers match the historical issue numbers for cross-referencing.
4.1 VGA ROM NULL dereference
Item |
Description |
|---|---|
Symptom |
|
Root cause |
All five BIOS discovery methods fail under cosim. The driver logs |
Fix |
Write the ROM before |
4.2 PSP / SMU firmware load failure
Item |
Description |
|---|---|
Symptom |
|
Root cause |
|
Fix |
Use |
4.3 GART table not populated under co-simulation
Item |
Description |
|---|---|
Symptom |
Many |
Root cause |
VRAM is backed by shared memory and driver writes bypass the gem5 memory system, so |
Fix |
The translation path reads PTEs directly from shared VRAM when |
4.4 Crash on unmapped GART pages
Item |
Description |
|---|---|
Symptom |
gem5 segfaults after |
Root cause |
The PM4/SDMA engines DMA to GART pages the driver has not mapped (PTE 0). The original code raised |
Fix |
Map unmapped GART pages to a sink ( |
4.5 SDMA ring test timeout
Item |
Description |
|---|---|
Symptom |
The SDMA ring test returns |
Root cause |
|
Fix |
Reduce |
4.6 VRAM address GART translation errors
Item |
Description |
|---|---|
Symptom |
Address |
Root cause |
SDMA rptr writebacks and PM4 |
Fix |
Three-layer defense: PM4 |
4.8 Timer overflow crash
Item |
Description |
|---|---|
Symptom |
After billions of ticks gem5 crashes on |
Root cause |
RTC and PIT timers keep scheduling events and exhaust the tick counter in long-running cosim sessions. |
Fix |
Add |
4.9 PM4ReleaseMem.dataSelect panic
Item |
Description |
|---|---|
Symptom |
gem5 panics with |
Root cause |
|
Fix |
Handle the common values: 0 writes no data, 1 is a 32-bit write, 2 is a 64-bit write, 3 is a 64-bit GPU clock counter, and other values warn and are treated as no-ops. |
4.10 Unhandled PM4 opcodes
Item |
Description |
|---|---|
Symptom |
gem5 crashes on an unrecognized PM4 opcode. |
Root cause |
|
Fix |
Both were added to |
4.11 PCI class code mismatch
Item |
Description |
|---|---|
Symptom |
The amdgpu driver skips the legacy VGA ROM check at |
Root cause |
The PCI class was |
Fix |
Set the device class to |
4.12 QEMU serial console conflict
Item |
Description |
|---|---|
Symptom |
The guest produces no serial output when |
Root cause |
|
Fix |
Use |
4.13 Out of memory while linking gem5
Item |
Description |
|---|---|
Symptom |
The linker is killed by the OOM killer even with |
Root cause |
The default linker uses too much memory. |
Fix |
Use |
4.14 DRM client error -13 (missing DKMS module)
Item |
Description |
|---|---|
Symptom |
Driver initialization reports |
Root cause |
The disk image lacks the |
Fix |
Rebuild the disk image with |
4.15 rmmod oops after a driver hw_init failure
Item |
Description |
|---|---|
Symptom |
After |
Root cause |
The cleanup path after partial initialization is not robust enough. |
Fix |
There is no reliable workaround; restart the whole cosim environment: stop QEMU, restart the gem5 process, then start QEMU again. |
Sources and maintenance
The records come from cosim debugging and model changes. When a fix lands, update the implementation and the matching entry together:
Driver parameters and ROM write: Guest parameters.
GART and address translation: GART format, GPU address translation.
gem5 model behaviour and debug flags: MI300X model, Model debugging.
Session logs, verdicts and cleanup: Debugging sessions.
When reporting a new issue, include the symptom, reproduction command, gem5 version or commit, driver dmesg and the relevant log excerpt, then classify it here.