DGX Spark GB10: hard freeze under sustained load (RCU stall on CPU 11), watchdog + kdump both fail — working pstore-only crash capture recipe + eviden

§1 Environment

  • Hardware: NVIDIA DGX Spark (GB10 Superchip), aarch64, 119 GB unified memory
  • OS: Ubuntu 24.04
  • Kernel: 6.17.0-1008-nvidia (Ubuntu 6.17.0-1008.8-nvidia 6.17.9, PREEMPT_DYNAMIC, build 2026-01-21)
  • BIOS: GX10DGX.0103.2026.0129.1152
  • Kernel taint: /proc/sys/kernel/tainted=4097 = bit 0 (P, Proprietary) + bit 12 (O, Out-of-tree). Per-module taint attribution measured directly (see §2b)
  • Watchdog: sbsa-gwdt (blacklisted by default /etc/modprobe.d/blacklist-watchdog.conf, re-enabled via a systemd unit for defense-in-depth)

§2 Symptom

  • Freeze event: hard freeze lasting approximately 2h 16min under sustained mixed workload (GPU inference + host processes)
  • Kernel log pattern (before freeze): RCU stall detected on CPU 11. NMI backtraces were captured to pstore (ARM64 does not emit per-CPU NMI backtrace to journalctl by design, so pstore is the primary evidence channel)
  • State snapshot (RCU stall watchdog thread inspection): ->state=0x402 (kthread sleeping) in 84 of 86 sampled events; 0x0 (RCU_GP_DOING_FQS brief wakeup with CPU 11→19 transition) in 2 of 86
  • IRQ 401: nvidia GPU MSI-X effective_affinity_list=11 (single CPU pinned per GIC-ITS arm64 default policy, direct correlate to RCU stall concentrating on CPU 11)
  • watchdog0: timeleft shows an anomalously large value (approximately 1.27 billion seconds) — appears to be a display bug; petting was confirmed working after enabling sbsa-gwdt

§2b Tainted per-module attribution (measured, not inferred)

$ cat /proc/sys/kernel/tainted
4097

$ for m in /sys/module/*/taint; do t=$(cat "$m" 2>/dev/null); [ -n "$t" ] && echo "$m => $t"; done
/sys/module/mstflint_access/taint => O
/sys/module/nvidia/taint => PO
/sys/module/nvidia_drm/taint => PO
/sys/module/nvidia_modeset/taint => PO
/sys/module/nvidia_uvm/taint => PO

Decode: 4097 = 4096 + 1 = bit 12 (4096 = [O] Externally-built out-of-tree module) + bit 0 (1 = [P] Proprietary module).

Per-module attribution (measured directly, not inferred from bitfield):

  • [P] Proprietary contributors: nvidia, nvidia_drm, nvidia_modeset, nvidia_uvm (NVIDIA GPU driver stack, 4 modules)
  • [O] Out-of-tree contributors: same 4 NVIDIA modules (all flagged PO), plus mstflint_access (Mellanox firmware access utility)
  • Not taint contributors: the mlx5_* / ib_* / rdma_* Mellanox InfiniBand + Ethernet driver stack loads without setting any taint flag on this system

§3 Investigation Summary

Investigation was conducted over approximately 2 days through a sequence of controlled experiments and forensic reviews:

  • Read-only probes: identified sbsa_gwdt blacklist, IRQ 401 CPU 11 pinning, and kernel version audit
  • Auto-reboot containment via kernel.panic_on_rcu_stall=1 + kernel.panic=30, plus a systemd unit petting sbsa-gwdt (RuntimeWatchdogSec=60) for defense-in-depth
  • kdump dry-run test: echo c > /proc/sysrq-trigger triggered auto-reboot in approximately 3 minutes, but /var/crash/ contained no vmcore-* file. kdump-based forensic capture failed
  • Root cause probe of the kdump failure: KDUMP_SKIP_VMCORE=1 was found in /etc/default/kdump-tools, but investigation confirmed this is a phantom variable (not read by kdump-tools in this version, no-op). The real issue was a conflict between the host sbsa_gwdt blacklist and the crash-kernel initrd options action=1
  • Canonical kdump fix attempt: placed an OPTION=KDUMP-gated hook in /etc/initramfs-tools/hooks/ that force-loads sbsa_gwdt inside the crash kernel initrd only (zero blast radius on normal boot)
  • Discrimination experiment: watchdog set to 1800 s + echo c > /proc/sysrq-trigger → observed 39 min hang, watchdog did NOT fire, required physical hard reset, no vmcore captured. This confirmed CPU 11 hardware-level lockup blocks the watchdog IRQ pathway — notably, thread 366026 (a prior boot-time failure analysis) observed the opposite (SBSA Generic Watchdog fires as the panic trigger there), which itself is useful comparative evidence
  • pstore-only pivot: crashkernel reservation removed, crash_kexec_post_notifiers=1 + pstore.kmsg_bytes=65536 added, kdump-tools masked. Panic test with the new configuration captured 78 pstore chunks (20 + 58) via efi-pstore end-to-end, confirming the pstore-only forensic pathway as viable

§4 Root Cause Hypothesis (current state)

Positioning note (related to but distinct from prior forum discussions): this report focuses on CPU 11 hardware-level lockup during RCU stall under sustained runtime load as the failure axis, which is distinct from thread 366026 (“Root Cause Analysis: DGX Spark driver failure — kernel 6.17.0-1008-nvidia aarch64 panics cause DOE mailbox failure”) which addresses a boot-time DOE mailbox failure with different CPU (7) and different failing subsystems (nbcon / FPAC-PSCI-NMI race / qspinlock IOVA hash). The pstore forensic mechanism is common ground, but the failure axis, timing, and CPU pinning differ.

  • Primary (confirmed for the CPU 11 lockup axis; hypothesized for the crash-kernel behavior): CPU 11 hardware-level lockup during RCU stall → watchdog IRQ pathway blocked → kdump kexec presumably fires but the crash kernel also depends on CPU 11 code paths and either hangs or fails to boot (no vmcore captured to confirm the crash-kernel mechanism directly). efi-pstore (routed through the kernel panic notifier chain, which does not depend on CPU 11 and can write from a different CPU) is currently the only viable forensic pathway confirmed by end-to-end panic testing
  • Secondary (candidate, seeking community feedback): The Tainted [P] + [O] combination may be a contributing axis. Per-module attribution shows [P] comes from the NVIDIA driver stack (nvidia + nvidia_drm + nvidia_modeset + nvidia_uvm) and [O] comes from the same NVIDIA modules (all PO) plus mstflint_access. No direct evidence of a proprietary/out-of-tree kernel-module interaction causing the freeze has been captured. Note: in thread 366026’s analyzed boot-failure panics, tainted modules did not appear in any call trace (the analysis there concluded these were kernel-level bugs, not driver bugs). Whether the same holds for the sustained-load freeze axis reported here is unknown — that is precisely the feedback being sought

§5 Workaround (pstore-only forensic pathway recipe, reproducible)

# 1. Rollback crashkernel reservation (adjust file name to match your setup)
sudo mv /etc/default/grub.d/90-crashkernel.cfg{,.bak}
sudo systemctl mask kdump-tools.service
sudo apt-mark hold kdump-tools

# 2. Add pstore-only kernel cmdline drop-in
echo 'GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT crash_kexec_post_notifiers=1 pstore.kmsg_bytes=65536"' | sudo tee /etc/default/grub.d/91-pstore.cfg
sudo update-grub

# 3. Panic-on-RCU-stall + auto-reboot containment
printf 'kernel.panic_on_rcu_stall = 1\nkernel.panic = 30\n' | sudo tee /etc/sysctl.d/90-rcu-panic.conf
sudo sysctl --system

# 4. Reboot to apply
sudo reboot

# 5. Post-reboot verify
grep -oE 'pstore\.kmsg_bytes=[^ ]*' /proc/cmdline   # expected: pstore.kmsg_bytes=65536
cat /sys/module/pstore/parameters/backend            # expected: efi
systemctl status systemd-pstore.service              # expected: active (exited)

# 6. Panic test (arrival-side observation)
sudo sysctl kernel.panic_on_rcu_stall=1 && sudo sysctl kernel.panic=30 && echo c | sudo tee /proc/sysrq-trigger
# After auto-reboot, dmesg-efi_pstore-* files (no extension, underscore separator) should appear under /var/lib/systemd/pstore/*/001/
# Note: file naming may vary by systemd version; use catch-all `dmesg-*` pattern for portability

§6 Evidence Pack

Public evidence uploaded as a Github Gist: DGX Spark GB10 kernel freeze evidence pack (2026-08-28) · GitHub

  1. 01-README.md (summary + link back to this thread)
  2. 02-dmesg-Panic1-Part20.txt (32 KB, systemd boot section)
  3. 03-dmesg-Panic1-Part78.txt (95 KB, kernel boot header + crash context)
  4. 04-proc-cmdline.txt (/proc/cmdline verbatim)
  5. 05-proc-tainted-per-module.txt (/proc/sys/kernel/tainted=4097 + per-module attribution output + lsmod Mellanox mlx5 stack, informational)
  6. 06-bios-kernel-version.txt (BIOS + kernel + uname -a)

§7 Questions to Community + NVIDIA Staff

  1. Tainted [P] + [O] correlation (per-module attribution measured, see §2b): Has anyone else observed hard freeze on DGX Spark / GB10 aarch64 with the same taint contributor set (NVIDIA GPU driver stack + mstflint_access, with mlx5_* NOT contributing) under sustained load? Is a proprietary/out-of-tree module interaction a plausible contributing axis for the RCU-stall-on-CPU-11 pattern?

  2. Kernel refresh roadmap: Kernel 6.17.0-1008-nvidia has documented aarch64 panic issues in prior community analysis (thread 366026). Is there a public roadmap for a kernel refresh on DGX Spark, or a recommended stable rollback target?

  3. sbsa_gwdt blacklist intent: The watchdog blacklist is Ubuntu’s generic kmod policy (all watchdog drivers blacklisted, explicit opt-in expected). Given that, is NVIDIA’s shipped options sbsa_gwdt action=1 intended to be paired with an explicit load mechanism on DGX Spark, or is it currently dead configuration?

  4. crashkernel default 1G-:0M: The NVIDIA default crashkernel reservation is 1G-:0M (effectively disabled). Was this intentional (kdump unsupported on GB10) or a config carried over from another platform?

  5. CPU 11 MSI-X pinning + IRQ affinity mitigation: RCU stalls concentrate on CPU 11, which is the effective affinity of the nvidia GPU MSI-X (IRQ 401) under the GIC-ITS single-CPU default. During the lockup the watchdog IRQ path did not fire. Is single-CPU MSI-X pinning the expected configuration on GB10, and is spreading IRQ affinity a supported mitigation worth testing?

§8 Related Threads (cross-reference)

Prior root-cause analysis (comparative, different failure axis):

  • Root Cause Analysis: DGX Spark driver failure — kernel 6.17.0-1008-nvidia aarch64 panics cause DOE mailbox failure (pstore evidence) — boot-time DOE failure, CPU 7, different failing subsystems; comparative evidence on watchdog behavior

Active threads with symptom overlap (potential direct beneficiaries of the recipe in §5):

  • Spark hangs - requires a hard-reset (physically unplugging) — closest symptom match, active as of 2026-08-27, 14 replies
  • DGX Spark reproducibly hard powers-off under GPU load — zero crash capture — direct beneficiary of pstore-only capture recipe
  • DGX Spark stability thread — general stability, 44 replies

Additional context:

§9 Update Log

  • 2026-08-28: Github Gist evidence pack uploaded

UPDATE (Sep 25): two more events since the original post, and they are not the same failure

Short version: I now have three events on this unit, and the evidence supports at least two distinct root causes. The RCU stall of Aug 26 is a kernel-level hang. The Sep 10 event is a power interruption at the unit. Lumping everything under “GB10 hard freeze” would be wrong for my data, and I suspect for some other reports as well.

Configuration (unchanged): ASUS GX10, BIOS GX10DGX.0103, kernel 6.17.0-1008-nvidia, proprietary kernel module 580.142 (taint P), vLLM as the main workload.

Event table (all times local):

Event Recovery Last kernel msg Last userspace msg RCU stall Xid / NV_ERR_NO_MEMORY Workload at the time
Aug 26 ~18:57 manual power cycle 18:57:26 (RCU stall) 18:57:37 (earlyoom) yes, 44 stalls over 2h16m 0 / 0 vLLM service up; no load/unload in prior 10 min
Aug 27 ~16:30 manual power cycle unknown (kernel journal for that boot is empty) present unknown unknown idle
Sep 10 03:17:35 self-rebooted after 38 s 03:16:37 (benign UFW log line) 03:17:35 (earlyoom, 27.6% mem available) 0 0 / 0 idle (two small containers)
  1. Aug 26 — clarification on “CPU 11” in the title
    Across the 44 stall messages, the stalled RCU kthread was on CPU 0 in every case (44/44). “CPU 11” is where the timer softirq was stuck: ->cpu=11 in 26 of 44 messages, then CPU 9 (8), 15 (4), 1 (3), 16 (2). The backtrace at 17:16:06 was likewise CPU: 11 ... Comm: swapper/11. So the title is not wrong, but the precise statement is: RCU kthread stalled on CPU 0; timer handling stuck mostly on CPU 11. The signature line is rcu_preempt kthread timer wakeup didn't happen for N jiffies ... ->state=0x402, i.e. a lost timer wakeup rather than a busy CPU. The NIC also went link-down at 18:52:31, a few minutes before the log ends.

  2. Sep 10 — a power-path event, not a hang

  • Zero RCU stall, Xid, NV_ERR_NO_MEMORY, thermal, hung_task or lockup messages in the entire 9-day boot (journalctl -k -b <id> grepped for each).
  • The last kernel line is an ordinary firewall log; the last userspace line is earlyoom reporting normal memory 58 s later. Then nothing.
  • The unit was back up on its own 38 s after the last line. UEFI “After Power Loss Behavior” is set to Auto Boot on this machine, so that is what an AC-side break looks like here.
  • pstore (read as root) is empty for that time; /var/lib/systemd/pstore holds nothing from Sep 10. So no panic path was taken (panic_on_rcu_stall=1 had been set since Aug 26, see below).
  • An always-on host on the same circuit did not restart, and the smart plug feeding the unit shows no relay interruption around that time. That excludes a household outage and the plug; what remains is the unit itself or its power adapter.
  • I had one earlier event of the same shape in April (sudden power loss, auto boot). A “cold drain” (unplug wall, unit and USB-C, hold power 30 s) was done after the Sep 10 event; no recurrence in 15 days, which is far too short to mean anything. The idea that the adapter needs this every 2-3 months is a hypothesis, not a confirmed pattern — I do not have the date of the middle event.
  1. Watchdog status per event (so nobody over-reads my data)
  • Aug 26: SBSA watchdog NOT armed. The line watchdog: Hard watchdog permanently disabled in that boot is the kernel NMI/hardlockup detector, not the SBSA device. So Aug 26 says nothing about whether SBSA fires.
  • Aug 27: sbsa-gwdt loaded on Aug 27 05:18, systemd hardware watchdog at 1 min from the 15:39 boot. The unit hung and did not come back on its own; I power-cycled it. Limitation: the kernel journal for that boot is empty (journald config normal, no rate limiting, disk fine — cause not found), so the timeline is from userspace logs and my own observation.
  • Sep 10: SBSA armed with a 30 min timeout; irrelevant, since userspace was alive 38 s before the reboot.
  1. What I changed, for anyone reproducing
  • Aug 26 evening: kernel.panic_on_rcu_stall=1 (with kernel.panic=30). The next RCU-type hang should now panic and land in pstore instead of sitting there for two hours.
  • Aug 27: sbsa_gwdt loaded explicitly plus systemd RuntimeWatchdogSec.
  • Planned: per-second telemetry (temps, clocks, throttle reasons, MemAvailable, container state) pushed over UDP to a second host, plus wall-power sampling from the smart plug, so the next event has a pre-failure trace and a power-vs-hang discriminator that survives the box dying. Credit to ronyfranca42 in topic 383624 for the off-box telemetry idea.
  1. Known gaps
  • No thermal trace exists for any of the three events (the temperature log I had was unstamped and lived in /tmp).
  • The Aug 27 event has no kernel trace at all.
  • The April event predates my journal retention; its record is my own incident log, not the machine’s.

Happy to run anything read-only on this unit if it helps narrow the Aug 26 signature.

I had also issues with freeze and crashes but related to out of RAM
I just like to share what I let the AI do - so I let it explain what has been done.

Reply is AI generated.

Thanks for the careful write-up. I’m not adding another RCU stall, but a possibly related hang with a different trigger. It may help rule things in or out.

Setup: DGX Spark (P4242), BIOS 5.36_0ACUM018, kernel 7.0.0-1019-nvidia, NVIDIA module loaded (tainted O). Workload: several llama.cpp/vLLM containers behind llama-swap, earlyoom running.

What happened (Oct 11):

  • About 6 h of uptime, then the box stopped responding. last -x shows the session as “crash”; after a manual power-cycle the previous boot has no clean shutdown.
  • Before the hang, available RAM was 0.4–0.5 % of 124 GB while swap was still ~53 % free (unified memory).
  • earlyoom sent SIGTERM to a llama-server about every 10 s, and every attempt logged kill failed: Timer expired. The process never died, probably stuck in D-state on GPU/unified-memory I/O.
  • Docker health checks timed out and journald was flushing caches under pressure.
  • A few minutes later: page allocation failure: order:0 in a tokio worker, with kernel stack dumps. The journal ends there, then nothing until the reboot.

What it is not (as far as I can tell): no RCU stall or Xid lines in that window, and no NIC link-down. I haven’t checked pstore for this event yet, so I can’t say whether a panic was ever attempted. So this looks like OOM-induced stall, not the lost-timer-wakeup signature from your Aug 26 trace. Still, it ends the same way: unresponsive until power-cycled.

Suspected mechanism: on GB10 the GPU allocations come out of the same pool as the page cache. Once available memory approaches zero, the kernel and userspace OOM killers both struggle to reclaim from a process blocked in the driver.

Mitigations I applied (all reversible):

# /etc/sysctl.d/98-oom-protect.conf
vm.min_free_kbytes = 2097152   # was 45166; keep ~2 GB reserve so reclaim has headroom
kernel.panic = 10              # reboot 10 s after panic

# /etc/systemd/system.conf.d/watchdog.conf
[Manager]
RuntimeWatchdogSec=60
RebootWatchdogSec=5min

Verified: systemctl show -p RuntimeWatchdogUSec reports 1min and /dev/watchdog0 exists. Not verified: that this watchdog actually resets a hung Spark. Your Aug 27 result (hung and did not recover despite sbsa-gwdt + systemd watchdog) makes me doubt it, so please treat it as unproven.

The part that should prevent the hang in the first place, not just recover from it:

  • Cap engine memory (--gpu-memory-utilization ≤ 0.7 for vLLM, smaller -c for llama.cpp, one large model at a time in llama-swap).
  • Set mem_limit = memswap_limit per container.
  • Make earlyoom escalate: e.g. -m 8,4 -s 50,30 --prefer '(llama-server|vllm|ollama)'. Mine only ever sent SIGTERM at 4 %.

@martinB78 — thanks, that is a useful contrast, and I think it confirms we are looking at different mechanisms that end the same way.

I went back to my Aug 26 trace to check whether memory pressure was hiding under the RCU stall. It was not:

  • MemAvailable, sampled every 5 s by earlyoom, sat at 26.8% (about 33.4 GiB of 121.6) for the hour before the first stall message and was still 26.6% five seconds before the journal ended, 2h16m later. No swap on this box, so only earlyoom’s memory threshold is live.
  • earlyoom sent no signals in that window (threshold is 2%; it never came within 13x of it).
  • Zero OOM-kill, zero page allocation failure, zero hung_task, zero NV_ERR_NO_MEMORY in that boot. Across all 14 boots I have retained (Aug 16 - Oct 20), NV_ERR_NO_MEMORY is 0 and _memdescAlloc is 0.
  • Order of events: first RCU stall message 16:41:16.035; first Docker health-check timeout 16:41:18.724 (three containers at once). The stall came first, so the container symptoms were downstream.

So on my unit the kernel lost timer wakeups with a third of memory free, whereas yours hit 0.4% available with earlyoom unable to kill a D-state process. Same end state (power cycle), different entry.

Three things on your side that might help:

  1. Check pstore after your next event: ls /sys/fs/pstore/ as root, plus journalctl -b -1 -u systemd-pstore. On mine it is empty for every event, which is itself a data point (no panic path was ever taken).
  2. earlyoom cannot help once the victim is in D-state inside the driver; SIGKILL is deferred until the process leaves the kernel. Escalating earlyoom earlier (your -m 8,4) buys time before that point; it does not rescue a process already blocked.
  3. Your mem_limit = memswap_limit per container: on GB10, cgroup memory.max does not see cudaMalloc at all (lcasarin-maker measured 7 GiB of device memory charging 15 MiB to memory.current, in NVIDIA/open-gpu-kernel-modules#1358), and another report in that issue found that setting memory-swap equal to memory made recovery strictly worse, because the engine became the one cgroup that could not be swapped out. I would not rely on that pair of settings.

My configuration at the time: ASUS GX10, BIOS 0103, kernel 6.17.0-1008-nvidia, proprietary module 580.142, vLLM with --max-model-len 65000 and --gpu-memory-utilization 0.80 (the launch script’s default then; the live value is not logged, so I cannot rule out an override). Weights were a hybrid INT4+FP8 build at the time; the engine has since moved to an NVFP4 build at 0.75. kernel.panic_on_rcu_stall=1 since Aug 26; kernel.hung_task_panic is 0, and whether to turn it on for the D-state case is untested here.

Correction to my Sep 25 update, item 3 (Aug 27): on re-reading the sudo trace, that hang was partial - sudo and sshd still answered and I ended it with SysRq myself - so it is not evidence that an armed SBSA watchdog failed to fire. I withdraw that line. The Aug 26 event (watchdog not armed) and the Sep 10 event (power path) stand as written.