Continuing the discussion from Rcu: INFO: rcu_preempt self-detected stall on CPU ,Unable to access the system,System freeze:
Hi All.
I had similar issue different history, please reference as follows
- Previous, JetPack 6.2 + Jetson NX/Nano + customization carry board, Intel Wi-Fi 6E AX210 and other device work fine.
- Early September, Migrate JetPack 6.2 to JetPack 7.2.1
- Early stage, we porting Intel Wi-Fi 6E AX210 first, WIFI/BT work file with source/kernel/kernel-noble/arch/arm64/configs/defconfig as follows
+CONFIG_IWLWIFI=m
+CONFIG_IWLWIFI_LEDS=y
+CONFIG_IWLMVM=m
+CONFIG_IWLWIFI_BCAST_FILTERING=y
+CONFIG_IWLWIFI_DEBUG=y
+CONFIG_FW_LOADER_COMPRESS=y
+CONFIG_FW_LOADER_COMPRESS_ZSTD=y
- Intel Wi-Fi 6E AX210 porting completed, we porting other device continue, everything well.
The Intel Wi-Fi 6E AX210 (total 2pcs) sent to DQA dept for other inspection/test (e.g: Windows x86 platform), but we don’t know more detail
- Yesterday, DQA dept report boot freeze with mentioned 2pcs Intel Wi-Fi 6E AX210.
We procedure with mentioned 2pcs Intel Wi-Fi 6E AX210.
- Latest full JetPack 7.2.1 BSP(added all of other device)
Result: boot freeze @ 2 pcs
PS: My team member porting JetPack 7.2.1 with other customize carry board for other model independent.
Same boot freeze @ 2 pcs
- Revert back to almost original JetPack 7.2.1 except mentioned Intel Wi-Fi 6E AX210 kernel config and clean build.
Result Boot freeze still @ 2 pcs
- Current whole H/W unchanged, flash back previous JetPack 6.2
Result: Boot and WiFi/BT function work file.
No any H/W defect look like.
Serial debug console log (From original JetPack 7.2.1 except mentioned Intel Wi-Fi 6E AX210 kernel config)
- WithoutAX210.log (104.7 KB)
Without Intel Wi-Fi 6E AX210, boot fine.
- AX210-round1.log (107.1 KB)
With Intel Wi-Fi 6E AX210, boot freeze → restart automatically
- AX210-round2.log (108.5 KB)
With Intel Wi-Fi 6E AX210, boot freeze → restart automatically → boot into desktop environment successful.
- AX210-round3.log (110.6 KB)
With Intel Wi-Fi 6E AX210, boot freeze → restart automatically → kernel panic..
The results are different every time we test.
Next step: Test brand-new Intel Wi-Fi 6E AX210 if I can be get.
I suspect it’s the Intel Wi-Fi 6E AX210’s own problem, but I don’t have any proof.
And no information about factory reset of Intel Wi-Fi 6E AX210.
If possible, please provide a way to debug.
Any comments will be appreciated.
Thanks all very much.
please check if this debug patch would print you more information.
From b41bb4adf49b4bc7fd5cae7f47a6395cfc6cc523 Mon Sep 17 00:00:00 2001
Date: Mon, 13 Jul 2026 08:32:00 +0000
Subject: [PATCH] DNI: print rcu stall block tasks
print call trace for rcu stall block tasks
Change-Id: Ie56b36e59e90f97109f390287de62ecb517d4339
---
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 22cea87..8bcdf67 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1824,3 +1824,10 @@
CONFIG_FAULT_INJECTION_DEBUG_FS=y
CONFIG_FAIL_FUNCTION=y
CONFIG_MEMTEST=y
+CONFIG_HARDLOCKUP_DETECTOR=y
+CONFIG_DEBUG_PREEMPT=y
+CONFIG_PROVE_LOCKING=y
+CONFIG_DEBUG_LOCKDEP=y
+CONFIG_DEBUG_ATOMIC_SLEEP=y
+CONFIG_FUNCTION_TRACER=y
+CONFIG_ARM64_PSEUDO_NMI=y
diff --git a/arch/arm64/configs/tegra_prod_defconfig b/arch/arm64/configs/tegra_prod_defconfig
index ec3b62f..32d8633 100644
--- a/arch/arm64/configs/tegra_prod_defconfig
+++ b/arch/arm64/configs/tegra_prod_defconfig
@@ -384,3 +384,10 @@
# CONFIG_SCHED_DEBUG is not set
CONFIG_IO_STRICT_DEVMEM=y
CONFIG_PID_IN_CONTEXTIDR=y
+CONFIG_HARDLOCKUP_DETECTOR=y
+CONFIG_DEBUG_PREEMPT=y
+CONFIG_PROVE_LOCKING=y
+CONFIG_DEBUG_LOCKDEP=y
+CONFIG_DEBUG_ATOMIC_SLEEP=y
+CONFIG_FUNCTION_TRACER=y
+CONFIG_ARM64_PSEUDO_NMI=y
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index 054bdc5..b1bc1e3 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -91,7 +91,7 @@ void __init smp_setup_processor_id(void)
u64 mpidr = read_cpuid_mpidr() & MPIDR_HWID_BITMASK;
set_cpu_logical_map(0, mpidr);
- pr_info("Booting Linux on physical CPU 0x%010lx [0x%08x]\n",
+ pr_info("DEBUG>> Booting Linux on physical CPU 0x%010lx [0x%08x]\n",
(unsigned long)mpidr, read_cpuid_id());
}
diff --git a/kernel/rcu/tree_stall.h b/kernel/rcu/tree_stall.h
index 4ea884f..a9bfa7b 100644
--- a/kernel/rcu/tree_stall.h
+++ b/kernel/rcu/tree_stall.h
@@ -663,6 +663,11 @@ static void print_other_cpu_stall(unsigned long gp_seq, unsigned long gps)
panic_on_rcu_stall();
+ pr_crit("====For debug only: Start Printing Blocked Tasks====<%s>\n", __func__);
+ console_loglevel = CONSOLE_LOGLEVEL_DEBUG;
+ show_state_filter(TASK_UNINTERRUPTIBLE);
+ pr_crit("====For debug only: End Printing Blocked Tasks====<%s>\n", __func__);
+
rcu_force_quiescent_state(); /* Kick them all. */
}
@@ -713,6 +718,11 @@ static void print_cpu_stall(unsigned long gps)
nbcon_cpu_emergency_exit();
+ pr_crit("====For debug only: Start Printing Blocked Tasks====<%s>\n", __func__);
+ console_loglevel = CONSOLE_LOGLEVEL_DEBUG;
+ show_state_filter(TASK_UNINTERRUPTIBLE);
+ pr_crit("====For debug only: End Printing Blocked Tasks====<%s>\n", __func__);
+
panic_on_rcu_stall();
/*
diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index 8988983..54c1f9c 100644
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -547,11 +547,19 @@ static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer)
printk_cpu_sync_put_irqrestore(flags);
if (softlockup_all_cpu_backtrace) {
+ pr_crit("===For debug only: in softlockup_all_cpu_backtrace===<%s>\n", __func__);
+ console_loglevel = CONSOLE_LOGLEVEL_DEBUG;
+
trigger_allbutcpu_cpu_backtrace(smp_processor_id());
if (!softlockup_panic)
clear_bit_unlock(0, &soft_lockup_nmi_warn);
}
+ pr_crit("====For debug only: Start Printing Blocked Tasks====<%s>\n", __func__);
+ console_loglevel = CONSOLE_LOGLEVEL_DEBUG;
+ show_state_filter(TASK_UNINTERRUPTIBLE);
+ pr_crit("====For debug only: End Printing Blocked Tasks====<%s>\n", __func__);
+
add_taint(TAINT_SOFTLOCKUP, LOCKDEP_STILL_OK);
if (softlockup_panic)
panic("softlockup: hung tasks");
Hi @emmanuel.grumbach
Would be great if you can help check this and suggest next. Thanks,
Hi @WayneWWW
Status update:
1.My team member tested other WI-FI/BT module (SparkLAN WNFQ-291BEI & WNFQ-261ACNI) @ full BSP work fine (Mean problem only on Intel AX210).
2.After your RCU patch, tested 10 times passed (Same above: Remove system power → Connect system power)
0001-DNI-print-rcu-stall-block-tasks.patch.txt (4.6 KB)
Your RCU patch in my BSP for check.
Serial debug console log
Next:
- Pass your RCU patch to my team member to test at other carry board.
- More time test.
- Revert your RCU patch and test for confirm.
- Full BSP + your RCU patch and test.
Based current test result, solution in kernel config I think
If true, please point out which ones are solution for commit/BSP release (I suppose CONFIG_DEBUG_LOCKDEP & CONFIG_ARM64_PSEUDO_NMI)
Even now, I still can’t figure out why it normal before.
Thanks you very much.
Hi,
Unfortunately I can’t see anything that really relates to the wifi driver.
I understand that the presence / absence of the wifi device has an impact on the results, I also saw that another wifi module doesn’t raise the same behavior.. but the logs don’t complain about anything that would be related to iwlwifi.
can you guys tell me what you do with wifi during the test?
Do you run traffic or anything?
can you try to remove the firmware so that the device won’t do anything and then we’ll see if that teaches us something.
Unfortunately the logs don’t give me any lead to debug :(
Hi emmanuel.grumbach
Only did system power up, no more action.
About log of iwlwifi
Before print RCU patch applied (Original JetPack 7.2.1 except mentioned Intel Wi-Fi 6E AX210 kernel config)
Got caused from firmware @ Google
After I removed iwlifif-ty-a0-gf-a0.pnvm.zst(I remember… ) got more complain about iwlwifi in serial console debug message.
But now testing with print RCU patch and almost finish (Boot 50 times).
If you need log related to iwlwifi, please wait, let me revert RCU patch and build BSP.
Thank you very much.
Hi @emmanuel.grumbach
For your need related iwlwifi log.
I just revert print RCU patch, build and flash.
First boot freeze because AX210 exists, removed /usr/lib/modules/iwlwifi-ty-a0-gf-a0.pnvm.zst after removed AX210 and reboot.
Please reference logs as follows.
- AX210_WithoutFW-bootOK.log (121.3 KB)
Boot successful.
- AX210_WithoutFW2-bootFreeze.log (139.5 KB)
Boot freeze → kernel panic
This case, HDMI display shown stall at cloud-init caused by RCU issue I suppose.
Thanks a lot.
Why did you remove /usr/lib/modules/iwlwifi-ty-a0-gf-a0.pnvm.zst?
If you have the AX210 device, you must have the PNVM file.
Looking at your logs, the Wi-Fi card is off the hook here. That freeze and kernel panic in AX210_WithoutFW2-bootFreeze.log happened with the AX210 physically removed, so the card — and the PNVM file — can’t be what’s triggering this.
Emmanuel’s right though, put the PNVM file back. It has to be there whenever the AX210 is installed. The real lead is your screenshot: it stalls at cloud-init, and you’ve got one good boot and one frozen boot on identical hardware. Diff those two logs and find where they split — that’s where your RCU stall is coming from.
Hi @emmanuel.grumbach
About
Because
I suppose firmware = iwlwifi-ty-a0-gf-a0.pnvm.zst at that time.
Even this iwlwifi-ty-a0-gf-a0.pnvm.zst removed test, AX210 physically exists.
Follows your reply. I put iwlwifi-ty-a0-gf-a0.pnvm.zst back and remove iwlwifi-ty-a0-gf-a0-86.ucode.zst and logged as follows.
Note:
When boot freeze, freeze position different randomly @ HDMI display.
Thanks you a lot.
Hi @dylanfletcher37
I’m sorry, my poor English post made you misunderstand I think…
I suppose caused by
Because freeze when AX210 exists, I can’t remove iwlwifi-ty-a0-gf-a0.pnvm.zst.
Therefore I Cut-off power → Removed AX210 → Re-power → Boot into Ubuntu → Remove iwlwifi-ty-a0-gf-a0.pnvm.zst → System shutdown & cut-off power → Attach AX210 → Re-power & record serial debug ports output. in that time.
All of log @ AX210 physically exists.
In fact, position of HDMI display shown stall is different like randomly.
Thanks you a lot.
I’m sorry!!
My request was misleading. My bad :(
When I said you should try to remove the firmware, I was talking about iwlwifi-ty-a0-gf-a0-86.ucode.zst
In AX210_Without-ty-a0-gf-a0-86.ucode_round2_BootFail.log, you clearly have a NULL pointer exception that is not related to AX210 which is not working at all (because you removed the correct firmware file).
So I’m afraid I won’t be able to help.
Hi @emmanuel.grumbach
I’m checked previous log.
There will always ftpm-tee: probe of firmware:ftpm failed with error -22 before kernel panic at 9x seconds.
Maybe it is root cause of kernel panic.
If ftpm-tee issue not occurred, system restart (watchdog fired?) several time, finally enter bash command interpreter (I don’t know it’s name) mode and waiting keyboard input.
Boot freeze with RCU log at 1x~3x seconds when AX210 installed.
But same boot freeze without firmware, no idea about root cause (PCI relation?) right now.
I’m comparing mentioned serial debug log of successful boots and freezes with PCI-related, not found error.
Thanks for your help very much.