On the JP 6.2 GA release version, verified on the development kit: the device cannot enter the SC7 sleep state via the SLEEP_REQ_N pin when no display is connected, while it works normally once a display is connected. This issue no longer exists after upgrading to JP 6.2.1 GA.
Since our customer is using the JP 6.2 GA version, we would like to know how to fix this issue on JP 6.2 GA. Could you please provide the relevant patch or modification steps? The customer may not agree to upgrade the JP version.
Reproduce method :
- Run a flying wire from resistor R726 on the P3737 baseboard (pressing the recovery button has no effect).
- Flash the device with the JP 6.2 GA official release system. Do not connect a monitor; attach the debug serial port for log monitoring.
- After the device boots up normally, short the flying wire from Step 1 to ground. You will find that the device cannot enter sleep mode.
There is another critical bug on the JP 6.2 GA release.When I enter the command sudo systemctl suspend on the device to put it into sleep mode, waking up the device via USB (by plugging in a USB keyboard) during the suspend process (before the device fully enters sleep mode) will cause the device to freeze and reboot.
The log information saved in pstore is as follows:
<6>[ 18.477732] irq: IRQ287: trimming hierarchy from :bus@0:pmc@c360000
<6>[ 18.606929] input: NVIDIA Jetson AGX Orin APE Headset Jack as /devices/platform/sound/sound/card1/input5
<6>[ 18.621644] tegra-xudc 3550000.usb: Adding to iommu group 56
<6>[ 18.624712] tegra-xusb 3610000.usb: Adding to iommu group 57
<6>[ 18.640502] tegra-xusb 3610000.usb: Firmware timestamp: 2023-02-10 03:48:10 UTC
<6>[ 18.640532] tegra-xusb 3610000.usb: xHCI Host Controller
<6>[ 18.640567] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 1
<6>[ 18.641375] tegra-xusb 3610000.usb: hcc params 0x0180ff05 hci version 0x120 quirks 0x0000000000010810
<6>[ 18.641443] tegra-xusb 3610000.usb: irq 127, io mem 0x03610000
<6>[ 18.641650] tegra-xusb 3610000.usb: xHCI Host Controller
<6>[ 18.641658] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 2
<6>[ 18.641665] tegra-xusb 3610000.usb: Host supports USB 3.1 Enhanced SuperSpeed
<6>[ 18.642238] hub 1-0:1.0: USB hub found
<6>[ 18.642279] hub 1-0:1.0: 4 ports detected
<6>[ 18.642925] hub 2-0:1.0: USB hub found
<6>[ 18.642942] hub 2-0:1.0: 4 ports detected
<6>[ 18.974767] usb 1-4: new high-speed USB device number 2 using tegra-xusb
<6>[ 19.147021] hub 1-4:1.0: USB hub found
<6>[ 19.148400] hub 1-4:1.0: 4 ports detected
<4>[ 19.208250] using random self ethernet address
<4>[ 19.208258] using random host ethernet address
<6>[ 19.233610] loop0: detected capacity change from 0 to 32768
<6>[ 19.267492] usb 2-3: new SuperSpeed Plus Gen 2x1 USB device number 2 using tegra-xusb
<6>[ 19.317780] hub 2-3:1.0: USB hub found
<6>[ 19.320043] hub 2-3:1.0: 4 ports detected
<6>[ 19.358070] Mass Storage Function, version: 2009/09/11
<6>[ 19.358086] LUN: removable file: (no medium)
<4>[ 19.368706] using random self ethernet address
<4>[ 19.368714] using random host ethernet address
<6>[ 19.397259] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you n.
<6>[ 19.405900] usb0: HOST MAC aa:ac:db:ce:19:bc
<6>[ 19.405919] usb0: MAC aa:ac:db:ce:19:bd
<6>[ 19.407641] usb1: HOST MAC aa:ac:db:ce:19:be
<6>[ 19.407652] usb1: MAC aa:ac:db:ce:19:bf
<6>[ 19.409223] tegra-xudc 3550000.usb: EP 0 (type: ctrl, dir: out) enabled
<6>[ 19.416221] l4tbr0: port 1(usb0) entered blocking state
<6>[ 19.416252] l4tbr0: port 1(usb0) entered disabled state
<6>[ 19.416515] device usb0 entered promiscuous mode
<6>[ 19.426015] l4tbr0: port 2(usb1) entered blocking state
<6>[ 19.426035] l4tbr0: port 2(usb1) entered disabled state
<6>[ 19.426202] device usb1 entered promiscuous mode
<6>[ 19.432752] loop0: detected capacity change from 0 to 32768
<6>[ 19.862526] usb 1-4.2: new full-speed USB device number 3 using tegra-xusb
<6>[ 19.989042] input: 2.4G Wireless Device as /devices/platform/bus@0/3610000.usb/usb1/1-4/1-4.2/1-4.2:1.0/0003:1A2C:7FFF.0001/input/inp6
<6>[ 20.051140] hid-generic 0003:1A2C:7FFF.0001: input,hidraw0: USB HID v1.11 Keyboard [ 2.4G Wireless Device] on usb-3610000.usb-4.2/inpu0
<6>[ 20.056901] input: 2.4G Wireless Device Keyboard as /devices/platform/bus@0/3610000.usb/usb1/1-4/1-4.2/1-4.2:1.1/0003:1A2C:7FFF.0002/7
<6>[ 20.114687] input: 2.4G Wireless Device as /devices/platform/bus@0/3610000.usb/usb1/1-4/1-4.2/1-4.2:1.1/0003:1A2C:7FFF.0002/input/inp8
<6>[ 20.114852] hid-generic 0003:1A2C:7FFF.0002: input,hidraw1: USB HID v1.11 Keyboard [ 2.4G Wireless Device] on usb-3610000.usb-4.2/inpu1
<6>[ 20.119333] hid-generic 0003:1A2C:7FFF.0003: hidraw2: USB HID v1.11 Device [ 2.4G Wireless Device] on usb-3610000.usb-4.2/input2
<7>[ 22.372325] rfkill: input handler disabled
<6>[ 28.277608] pwm-tegra-tachometer 39c0000.tachometer: Tachometer Overflow is detected
<6>[ 93.024850] PM: suspend entry (deep)
<6>[ 93.041185] Filesystems sync: 0.016 seconds
<6>[ 93.192572] Freezing user space processes ... (elapsed 0.003 seconds) done.
<6>[ 93.195630] OOM killer disabled.
<6>[ 93.195633] Freezing remaining freezable tasks ... (elapsed 0.015 seconds) done.
<6>[ 93.211122] printk: Suspending console(s) (use no_console_suspend to debug)
<6>[ 95.398329] dce: dce_handle_irq_status:240 DCE can be safely powered-off now
<4>[ 95.398769] tegra-ivc-bus bc00000.rtcpu:ivc-bus:echo@0: ivc channel driver missing
<4>[ 95.398775] tegra-ivc-bus bc00000.rtcpu:ivc-bus:dbg@1: ivc channel driver missing
<4>[ 95.398777] tegra-ivc-bus bc00000.rtcpu:ivc-bus:dbg@2: ivc channel driver missing
<4>[ 95.398781] tegra-ivc-bus bc00000.rtcpu:ivc-bus:diag@5: ivc channel driver missing
<6>[ 95.471877] Disabling non-boot CPUs ...
<6>[ 95.471881] Wakeup pending. Abort CPU freeze
<3>[ 95.471882] Non-boot CPUs are not disabled
<6>[ 95.653932] tsec 15500000.tsec: RISC-V boot using kernel allocated Mem
<3>[ 97.654441] tsec 15500000.tsec: not reached initialized state, timeout! val=0xffe00000
<3>[ 97.654671] tsec 15500000.tsec: tsec_finalize_poweron error -110
<3>[ 97.655332] PM: dpm_run_callback(): platform_pm_resume+0x0/0xa0 returns -110
<3>[ 97.655345] tsec 15500000.tsec: PM: failed to resume: error -110
<4>[ 97.700218] tegra-ivc-bus bc00000.rtcpu:ivc-bus:echo@0: ivc channel driver missing
<4>[ 97.700223] tegra-ivc-bus bc00000.rtcpu:ivc-bus:dbg@1: ivc channel driver missing
<4>[ 97.700225] tegra-ivc-bus bc00000.rtcpu:ivc-bus:dbg@2: ivc channel driver missing
<4>[ 97.700228] tegra-ivc-bus bc00000.rtcpu:ivc-bus:diag@5: ivc channel driver missing
<6>[ 127.966613] dce: tegra_dce_register_ipc_client:163 dce boot wait failed (-110)
<6>[ 127.966613]
<6>[ 127.966626] NVRM dceclientInitRpcInfra_IMPL: Register dce ipc client failed for DCE_CLIENT_RM_IPC_TYPE_SYNC error 0xffffff92
<6>[ 127.966631] NVRM dceclientStateLoad_IMPL: dceclientInitRpcInfra failed
<6>[ 127.966638] NVRM nvAssertOkFailedNoLog: Assertion failed: Unknown error code! (0xFFFFFF92) returned from gpuStateLoad(pGpu, flags | GPU6
<6>[ 127.966644] CPU: 2 PID: 2447 Comm: systemd-sleep Tainted: G O 5.15.148-tegra #1
<6>[ 127.966648] Hardware name: NVIDIA NVIDIA Jetson AGX Orin Developer Kit/Jetson, BIOS 36.4.3-gcid-38968081 01/08/2025
<6>[ 127.966650] Call trace:
<6>[ 127.966651] dump_backtrace+0x0/0x1d0
<6>[ 127.966664] show_stack+0x34/0x50
<6>[ 127.966668] dump_stack_lvl+0x68/0x8c
<6>[ 127.966675] dump_stack+0x18/0x3c
<6>[ 127.966677] os_dump_stack+0x1c/0x28 [nvidia]
<6>[ 127.966784] tlsEntryGet+0x110/0x120 [nvidia]
<6>[ 127.966876] osInitObjOS+0x8c/0x2b0 [nvidia]
<6>[ 127.966966] osInitObjOS+0x290/0x2b0 [nvidia]
<6>[ 127.967056] rm_power_management+0x70/0x430 [nvidia]
<6>[ 127.967147] nv_tegra_dce_unregister_ipc_client+0x404/0x6e0 [nvidia]
<6>[ 127.967239] nvidia_isr+0x508/0x7e0 [nvidia]
<6>[ 127.967329] nvidia_isr+0x55c/0x7e0 [nvidia]
<6>[ 127.967419] dpm_run_callback+0x40/0x1b0
<6>[ 127.967424] device_resume+0xa8/0x1e0
<6>[ 127.967426] dpm_resume+0x10c/0x320
<6>[ 127.967429] dpm_resume_end+0x28/0x50
<6>[ 127.967431] suspend_devices_and_enter+0x1d4/0x7c0
<6>[ 127.967439] pm_suspend+0x290/0x330
<6>[ 127.967441] state_store+0x98/0x130
<6>[ 127.967443] kobj_attr_store+0x18/0x50
<6>[ 127.967451] sysfs_kf_write+0x64/0x90
<6>[ 127.967457] kernfs_fop_write_iter+0x13c/0x1d0
<6>[ 127.967459] new_sync_write+0xfc/0x1c0
<6>[ 127.967466] vfs_write+0x210/0x290
<6>[ 127.967468] ksys_write+0x7c/0x110
<6>[ 127.967471] __arm64_sys_write+0x2c/0x50
<6>[ 127.967474] invoke_syscall+0x5c/0x150
<6>[ 127.967480] el0_svc_common.constprop.0+0x64/0x120
<6>[ 127.967483] do_el0_svc+0x74/0xb0
<6>[ 127.967486] el0_svc+0x28/0x90
<6>[ 127.967491] el0t_64_sync_handler+0xac/0x130
<6>[ 127.967494] el0t_64_sync+0x1a4/0x1a8
<3>[ 127.967700] PM: dpm_run_callback(): nvidia_isr+0x52c/0x7e0 [nvidia] returns -5
<3>[ 127.967794] nv_platform 13800000.display: PM: failed to resume: error -5
<6>[ 127.984847] tegra-xusb 3610000.usb: Firmware timestamp: 2023-02-10 03:48:10 UTC
<6>[ 128.117496] OOM killer enabled.
<6>[ 128.117500] Restarting tasks ... done.
<7>[ 128.134226] rfkill: input handler enabled
<6>[ 128.137879] PM: suspend exit
<6>[ 128.176594] NVRM nvAssertFailedNoLog: Assertion failed: pRpc != NULL @ resource.c:308
<6>[ 128.176612] CPU: 6 PID: 1056 Comm: Xorg Tainted: G O 5.15.148-tegra #1
<6>[ 128.176623] Hardware name: NVIDIA NVIDIA Jetson AGX Orin Developer Kit/Jetson, BIOS 36.4.3-gcid-38968081 01/08/2025
<6>[ 128.176628] Call trace:
<6>[ 128.176630] dump_backtrace+0x0/0x1d0
<6>[ 128.176651] show_stack+0x34/0x50
<6>[ 128.176662] dump_stack_lvl+0x68/0x8c
<6>[ 128.176672] dump_stack+0x18/0x3c
<6>[ 128.176678] os_dump_stack+0x1c/0x28 [nvidia]
<6>[ 128.176952] tlsEntryGet+0x110/0x120 [nvidia]
<6>[ 128.177167] rmresControl_Prologue_IMPL+0x114/0x1d0 [nvidia]
<6>[ 128.177380] resControl_IMPL+0xf0/0x1e0 [nvidia]
<6>[ 128.177594] serverControl+0x1b4/0x2c0 [nvidia]
<6>[ 128.177807] serverControlApiCopyOut+0x4a8/0x650 [nvidia]
<6>[ 128.178017] rmapiControlWithSecInfo+0xa8/0x220 [nvidia]
<6>[ 128.178214] rmapiControlWithSecInfoTls+0x74/0x630 [nvidia]
<6>[ 128.178388] rmapiControlWithSecInfoTls+0x118/0x630 [nvidia]
<6>[ 128.178562] Nv04ControlKernel+0x50/0x60 [nvidia]
<6>[ 128.178736] nvkms_call_rm+0x60/0x9c [nvidia_modeset]
<6>[ 128.178864] nvRmApiControl+0x50/0x70 [nvidia_modeset]
<6>[ 128.178979] nvidia_frontend_unlocked_ioctl+0x60/0x80 [nvidia]
<6>[ 128.179156] __arm64_sys_ioctl+0xbc/0x100
<6>[ 128.179163] invoke_syscall+0x5c/0x150
<6>[ 128.179171] el0_svc_common.constprop.0+0x64/0x120
<6>[ 128.179177] do_el0_svc+0x74/0xb0
<6>[ 128.179183] el0_svc+0x28/0x90
<6>[ 128.179189] el0t_64_sync_handler+0xac/0x130
<6>[ 128.179193] el0t_64_sync+0x1a4/0x1a8
<3>[ 128.179264] nvidia-modeset: ERROR: GPU:0: Failed detecting connected display devices
<6>[ 128.181415] Detected PIPT I-cache on CPU8
<6>[ 128.181573] GICv3: CPU8: found redistributor 20000 region 0:0x000000000f540000
<6>[ 128.181752] CPU8: Booted secondary processor 0x0000020000 [0x410fd421]
<7>[ 128.267423] rfkill: input handler disabled
<3>[ 128.267490] nvethernet 6800000.ethernet eno1: ether_get_wol: phydev is null check iface up status
<6>[ 128.281539] psci: CPU8 killed (polled 0 ms)
<6>[ 128.337720] NVRM nvAssertFailedNoLog: Assertion failed: pRpc != NULL @ resource.c:308
<6>[ 128.338197] NVRM nvAssertFailedNoLog: Assertion failed: pRpc != NULL @ resource.c:308
<6>[ 128.338584] NVRM nvAssertFailedNoLog: Assertion failed: pRpc != NULL @ resource.c:308
<6>[ 128.338947] NVRM nvAssertFailedNoLog: Assertion failed: pRpc != NULL @ resource.c:308
<6>[ 128.339810] NVRM nvAssertFailedNoLog: Assertion failed: pRpc != NULL @ resource.c:308
<7>[ 128.557070] rfkill: input handler enabled
<6>[ 128.686678] hwmon hwmon6: temp1_input not attached to any thermal zone
<1>[ 128.854139] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070
<1>[ 128.854150] Mem abort info:
<1>[ 128.854151] ESR = 0x0000000096000004
<1>[ 128.854153] EC = 0x25: DABT (current EL), IL = 32 bits
<1>[ 128.854156] SET = 0, FnV = 0
<1>[ 128.854157] EA = 0, S1PTW = 0
<1>[ 128.854159] FSC = 0x04: level 0 translation fault
<1>[ 128.854161] Data abort info:
<1>[ 128.854161] ISV = 0, ISS = 0x00000004
<1>[ 128.854163] CM = 0, WnR = 0
<1>[ 128.854164] user pgtable: 4k pages, 48-bit VAs, pgdp=000000012c50c000
<1>[ 128.854166] [0000000000000070] pgd=0000000000000000, p4d=0000000000000000
<0>[ 128.854173] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
<6>[ 128.854178] Modules linked in: joydev bridge stp llc usb_f_ncm usb_f_mass_storage usb_f_acm u_serial usb_f_rndis u_ether nvidia_drm(O) )
<6>[ 128.854236] nvethernet(O) snd_soc_rt5640 nvpps(O) snd_hda_tegra snd_soc_rl6231 snd_hda_codec snd_hda_core at24 phy_tegra194_p2u tegra_l
<6>[ 128.854310] CPU: 7 PID: 2583 Comm: Xorg Tainted: G O 5.15.148-tegra #1
<6>[ 128.854314] Hardware name: NVIDIA NVIDIA Jetson AGX Orin Developer Kit/Jetson, BIOS 36.4.3-gcid-38968081 01/08/2025
<6>[ 128.854316] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
<6>[ 128.854319] pc : nvCtxDmaBind+0x1c/0x230 [nvidia_modeset]
<6>[ 128.854405] lr : nvRmAllocAndBindSurfaceDescriptor+0x70/0x130 [nvidia_modeset]
<6>[ 128.854470] sp : ffff800010e4bb00
<6>[ 128.854471] x29: ffff800010e4bd30 x28: ffff0000ac8ae308 x27: 0000000000000008
<6>[ 128.854475] x26: ffff0000ac8ae908 x25: ffff0000ddc39028 x24: ffff0000ddc39008
<6>[ 128.854477] x23: ffff0000ac8ae914 x22: ffff0000ae4f6008 x21: ffff0000ae4f6008
<6>[ 128.854480] x20: 0000000000000000 x19: ffff0000ae4f6008 x18: ffffbf7eaa443e20
<6>[ 128.854482] x17: ffffbf7eaa443e30 x16: ffffbf7eaa498650 x15: ffff0000ddc44b68
<6>[ 128.854484] x14: ffff0000ddc44b48 x13: ffffbf7eaa443e70 x12: ffffbf7eaa443e80
<6>[ 128.854487] x11: ffffbf7eaa443e90 x10: ffff800010e4b840 x9 : 00000000ffffffe8
<6>[ 128.854489] x8 : ffff800010e4b820 x7 : 0000000000000000 x6 : 000000000dbad807
<6>[ 128.854492] x5 : 0000000000000001 x4 : 0000000000000004 x3 : 0000000000000009
<6>[ 128.854494] x2 : 0000000000000009 x1 : 0000000000000000 x0 : 00000000c1d00000
<6>[ 128.854496] Call trace:
<6>[ 128.854498] nvCtxDmaBind+0x1c/0x230 [nvidia_modeset]
<6>[ 128.854563] nvidia_frontend_unlocked_ioctl+0x60/0x80 [nvidia]
<6>[ 128.854678] __arm64_sys_ioctl+0xbc/0x100
<6>[ 128.854686] invoke_syscall+0x5c/0x150
<6>[ 128.854693] el0_svc_common.constprop.0+0x64/0x120
<6>[ 128.854697] do_el0_svc+0x74/0xb0
<6>[ 128.854700] el0_svc+0x28/0x90
<6>[ 128.854707] el0t_64_sync_handler+0xac/0x130
<6>[ 128.854709] el0t_64_sync+0x1a4/0x1a8
<0>[ 128.854714] Code: f9002bfe 2a0203e3 b9490000 52800084 (b9407025)
<4>[ 128.854720] ---[ end trace daac6a1e5c4d2c6a ]---
<6>[ 129.551317] Aquantia AQR113C 6800000.ethernet:00: No AQR phy_mode setting in DT
<0>[ 130.065453] Kernel panic - not syncing:
<6>[ 130.065456] Oops: Fatal exception
<2>[ 131.070370] SMP: stopping secondary CPUs
<0>[ 131.070379] Kernel Offset: 0x3f7e9fa70000 from 0xffff800008000000
<0>[ 131.070381] PHYS_OFFSET: 0x80000000
<0>[ 131.070382] CPU features: 0x0,000005c1,a3332e5a
<0>[ 131.070385] Memory Limit: none
Is there any way to fix this issue on JP 6.2 GA? This is very important to us.