我在orin nx 16G, jeson 5.1.4平台上,插入USB硬盘系统会崩溃,如果连接这USB硬盘系统无法启动。我的USB接口连接了一个USB HUB芯片。 内核崩溃的log如下,希望帮助分析下,感谢!
[ 570.575212] scsi 0:0:0:0: Direct-Access SanDisk Extreme 55AE 8058 PQ: 0 ANSI: 6
[ 570.590789] sd 0:0:0:0: [sda] 7813971617 512-byte logical blocks: (4.00 TB/3.64 TiB)
[ 570.599079] sd 0:0:0:0: [sda] Write Protect is off
[ 570.604601] scsi 0:0:0:1: Enclosure SanDisk SES Device 8058 PQ: 0 ANSI: 6
[ 570.613234] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 570.672032] tegra-xusb 3610000.xhci: WARN: Slot ID 6, ep index 2 has streams, but URB has no stream ID.
[ 570.681700] tegra-xusb 3610000.xhci: WARN can’t find new dequeue state for invalid stream ID 0.
[ 570.690644] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000012
[ 570.699679] Mem abort info:
[ 570.702548] ESR = 0x96000004
[ 570.705683] EC = 0x25: DABT (current EL), IL = 32 bits
[ 570.711138] SET = 0, FnV = 0
[ 570.714273] EA = 0, S1PTW = 0
[ 570.717496] Data abort info:
[ 570.720442] ISV = 0, ISS = 0x00000004
[ 570.724374] CM = 0, WnR = 0
[ 570.727423] user pgtable: 4k pages, 48-bit VAs, pgdp=000000019e40e000
[ 570.734048] [0000000000000012] pgd=0000000000000000, p4d=0000000000000000
[ 570.741028] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
[ 570.747466] Modules linked in: nfnetlink d4xx iptable_nat xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c sch_tbf sch_netem mttcan can_dev can_raw can fuse nvidia_modeset(OE) lzo_rle lzo_compress zram overlay ramoops reed_solomon loop option usb_wwan usbserial wlan(OE) cfg80211 binfmt_misc snd_soc_tegra186_asrc snd_soc_tegra186_dspk snd_soc_tegra210_ope snd_soc_tegra186_arad snd_soc_tegra210_iqc snd_soc_tegra210_mvc snd_soc_tegra210_afc snd_soc_tegra210_dmic snd_soc_tegra210_adx snd_soc_tegra210_amx nvgpu snd_soc_tegra210_admaif snd_soc_tegra210_i2s aes_ce_blk crypto_simd snd_soc_tegra210_mixer snd_soc_tegra210_sfc snd_soc_tegra_pcm cryptd aes_ce_cipher ghash_ce sha2_ce snd_soc_tegra_machine_driver sha256_arm64 sha1_ce snd_soc_tegra_utils pwm_fan snd_soc_simple_card_utils snd_soc_spdif_tx cdc_acm snd_hda_codec_hdmi snd_hda_tegra r8168 userspace_alert tegra_bpmp_thermal fusb301 ina3221 snd_soc_tegra210_ahub tegra210_adma snd_hda_codec wlan_cnss_core_pcie(OE)
[ 570.747536] nvidia(OE) spi_tegra114 nv_ar0233 snd_hda_core nvmap GobiNet(OE) ip_tables x_tables [last unloaded: d4xx]
[ 570.849816] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G OE 5.10.216-tegra #1
[ 570.858007] Hardware name: NVIDIA NVIDIA Orin NX Developer Kit/Jetson, BIOS 202210.5-v1.0.6-sp01-17-g680567f9d 10/26/2024
[ 570.869231] pstate: a0400089 (NzCv daIf +PAN -UAO -TCO BTYPE=–)
[ 570.875386] pc : xhci_queue_new_dequeue_state+0x5c/0x200
[ 570.880825] lr : xhci_cleanup_stalled_ring+0x190/0x1f0
[ 570.886078] sp : ffff800010003c80
[ 570.889466] x29: ffff800010003c80 x28: ffff5fed86b3c260
[ 570.894917] x27: ffff5fed8f8cc190 x26: ffff5fed86b3c260
[ 570.900358] x25: 0000000000000006 x24: 0000000006000000
[ 570.905792] x23: 0000000000030000 x22: 0000000080000000
[ 570.911225] x21: ffffa020523d0150 x20: 0000000000000002
[ 570.916664] x19: ffff800010003d20 x18: 0000000000000010
[ 570.922107] x17: 0000000000000000 x16: ffffa020517d5310
[ 570.927557] x15: ffffa02053ad7d30 x14: 6163204e52415720
[ 570.932987] x13: 3a696368782e3030 x12: 7165642077656e20
[ 570.938429] x11: 646e69662074276e x10: ffffa02053b4da98
[ 570.943874] x9 : ffffa020523d5af0 x8 : 00000000000c1018
[ 570.949321] x7 : 0000000000017f88 x6 : 0000000000000000
[ 570.954761] x5 : ffff800010b41f80 x4 : ffff800010003ca0
[ 570.960202] x3 : 0000000000000002 x2 : 0000000000000002
[ 570.965639] x1 : 0000000000000006 x0 : ffff5fed86b3c260
[ 570.971073] Call trace:
[ 570.973585] xhci_queue_new_dequeue_state+0x5c/0x200
[ 570.978666] xhci_cleanup_stalled_ring+0x190/0x1f0
[ 570.983569] xhci_handle_halted_endpoint+0x108/0x140
[ 570.988643] xhci_irq+0xf6c/0x1b40
[ 570.992120] tegra_xhci_irq+0x34/0x70
[ 570.995863] usb_hcd_irq+0x38/0x60
[ 570.999336] __handle_irq_event_percpu+0x68/0x2b0
[ 571.004144] handle_irq_event_percpu+0x3c/0xa0
[ 571.008686] handle_irq_event+0x50/0xa0
[ 571.012608] handle_fasteoi_irq+0xc0/0x180
[ 571.016797] generic_handle_irq+0x38/0x50
[ 571.020897] __handle_domain_irq+0x6c/0xd0
[ 571.025094] gic_handle_irq+0x60/0x12c
[ 571.028927] el1_irq+0xd0/0x180
[ 571.032143] cpuidle_enter_state+0xb8/0x410
[ 571.036418] cpuidle_enter+0x40/0x60
[ 571.040074] call_cpuidle+0x24/0x50
[ 571.043642] do_idle+0x20c/0x270
[ 571.046939] cpu_startup_entry+0x2c/0x60
[ 571.050951] rest_init+0xdc/0xec
[ 571.054256] arch_call_rest_init+0x18/0x24
[ 571.058447] start_kernel+0x550/0x58c
[ 571.062191] Code: f9400665 f100007f 53103ed6 fa4018a4 (f9400864)
[ 571.068436] —[ end trace 9754febe0727e3f4 ]—
[ 571.077778] Kernel panic - not syncing: Oops: Fatal exception in interrupt