Usb wifi error

Hello,
I used usb wifi, causing a kernel panic,Sagem XG-76NA model will have issue; The Realtek RTL8188EU model has no issue.I use jetpack 5.1.2.

titan@zdrive:~$ [ 253.246926] kernel BUG at mm/vmalloc.c:2065!
[2023-09-06 16:06:20.724] [ 253.251353] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[2023-09-06 16:06:20.760] [ 253.257006] Modules linked in: nvidia_modeset(OE) fuse xt_multiport ip6table_filter ip6_tables xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack switch mttcan nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c can_dev br_netfilter can_raw lzo_rle can lzo_compress zram overlay mv88e6xxx ramoops reed_solomon dsa_core loop camera ox03c10 imx390 nvgpu rtl8xxxu rtl8192cu rtl_usb rtl8192c_common rtlwifi aes_ce_blk snd_soc_tegra186_asrc crypto_simd snd_soc_tegra210_ope cryptd mac80211 snd_soc_tegra186_dspk snd_soc_tegra186_arad snd_soc_tegra210_iqc snd_soc_tegra210_mvc snd_soc_tegra210_afc aes_ce_cipher snd_soc_tegra210_dmic snd_soc_tegra210_adx snd_soc_tegra210_amx ghash_ce snd_soc_tegra210_admaif snd_soc_tegra210_mixer binfmt_misc spi_nor input_leds snd_soc_tegra210_i2s sha2_ce snd_soc_tegra_pcm sha256_arm64 snd_soc_tegra210_sfc sha1_ce cfg80211 pwm_fan snd_soc_tegra_machine_driver snd_soc_spdif_tx snd_soc_tegra210_adsp gw5200 ofpart
[2023-09-06 16:06:20.840] [ 253.257171] userspace_alert snd_soc_tegra_utils max96712 cmdlinepart snd_hda_codec_hdmi snd_soc_simple_card_utils max9296 max9295 snd_hda_tegra snd_hda_codec qspi_mtd nvadsp nvethernet nvidia(OE) nvmap snd_hda_core snd_soc_tegra210_ahub mtd snd_soc_sgtl5000 tegra_bpmp_thermal nct1008 tegra210_adma ina3221 spi_tegra114 max2008X spidev ip_tables x_tables
[2023-09-06 16:06:20.846] [ 253.381407] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G OE 5.10.104 #8
[2023-09-06 16:06:20.864] [ 253.389125] Hardware name: /, BIOS r35.0-7deb3d3 06/27/2023
[2023-09-06 16:06:20.864] [ 253.394971] pstate: 00400009 (nzcv daif +PAN -UAO -TCO BTYPE=–)
[2023-09-06 16:06:20.864] [ 253.401166] pc : __get_vm_area_node.isra.0+0x160/0x180
[2023-09-06 16:06:20.869] [ 253.406464] lr : __get_vm_area_node.isra.0+0x40/0x180
[2023-09-06 16:06:20.874] [ 253.411671] sp : ffff800010003510
[2023-09-06 16:06:20.877] [ 253.415090] x29: ffff800010003510 x28: 0000000000000001
[2023-09-06 16:06:20.883] [ 253.420566] x27: 0000000000000000 x26: ffffb738698d71b0
[2023-09-06 16:06:20.890] [ 253.426050] x25: fffffdffbfff0000 x24: ffff800010000000
[2023-09-06 16:06:20.896] [ 253.431535] x23: 0000000000000cc0 x22: 0000000000000001
[2023-09-06 16:06:20.900] [ 253.437011] x21: 0000000000000010 x20: 0000000000001000
[2023-09-06 16:06:20.905] [ 253.442495] x19: ffffb738698d71b0 x18: 0000000000000000
[2023-09-06 16:06:20.911] [ 253.447965] x17: 0000000000000000 x16: ffffb73869d3c600
[2023-09-06 16:06:20.916] [ 253.453446] x15: 0000aaaadfa2b8f0 x14: 0d320cbec37540de
[2023-09-06 16:06:20.922] [ 253.458941] x13: d0e63243f5ebbdd3 x12: 0000000000000001
[2023-09-06 16:06:20.928] [ 253.464425] x11: 0000000000000000 x10: 0000000000000001
[2023-09-06 16:06:20.934] [ 253.469909] x9 : 0000000007fff7f9 x8 : 00000000000001ff
[2023-09-06 16:06:20.941] [ 253.475384] x7 : 0000000000000a20 x6 : ffffb738698d71b0
[2023-09-06 16:06:20.943] [ 253.480864] x5 : 0000000000000cc0 x4 : fffffdffbfff0000
[2023-09-06 16:06:20.951] [ 253.486344] x3 : ffff800010000000 x2 : ffffb7386995e090
[2023-09-06 16:06:20.958] [ 253.491829] x1 : 0000000000000001 x0 : 0000000000000302
[2023-09-06 16:06:20.963] [ 253.497313] Call trace:
[2023-09-06 16:06:20.963] [ 253.499839] __get_vm_area_node.isra.0+0x160/0x180
[2023-09-06 16:06:20.966] [ 253.504778] vmap+0x98/0x110
[2023-09-06 16:06:20.969] [ 253.507754] dma_common_pages_remap+0x40/0x70
[2023-09-06 16:06:20.974] [ 253.512246] iommu_dma_alloc_remap+0x2d0/0x420
[2023-09-06 16:06:20.977] [ 253.516824] iommu_dma_alloc+0x274/0x310
[2023-09-06 16:06:20.982] [ 253.520865] dma_alloc_attrs+0xe8/0xf0
[2023-09-06 16:06:20.986] [ 253.524730] tegra_se_ccm_ctr+0x3dc/0x510
[2023-09-06 16:06:20.991] [ 253.528871] tegra_se_aes_ccm_decrypt+0x70/0xd0
[2023-09-06 16:06:20.994] [ 253.533547] crypto_aead_decrypt+0x48/0x70
[2023-09-06 16:06:21.000] [ 253.537817] aead_decrypt+0x138/0x190 [mac80211]
[2023-09-06 16:06:21.007] [ 253.542616] ieee80211_crypto_ccmp_decrypt+0x330/0x360 [mac80211]
[2023-09-06 16:06:21.011] [ 253.548942] ieee80211_rx_handlers+0xdac/0x2240 [mac80211]
[2023-09-06 16:06:21.018] [ 253.554635] ieee80211_prepare_and_rx_handle+0x580/0x1050 [mac80211]
[2023-09-06 16:06:21.024] [ 253.561224] ieee80211_rx_list+0x42c/0x9a0 [mac80211]
[2023-09-06 16:06:21.029] [ 253.566459] ieee80211_rx_napi+0x60/0xe0 [mac80211]
[2023-09-06 16:06:21.041] [ 253.571487] _rtl_usb_rx_process_noagg+0x1b0/0x1f0 [rtl_usb]
[2023-09-06 16:06:21.041] [ 253.577334] _rtl_rx_work+0x80/0x160 [rtl_usb]
[2023-09-06 16:06:21.044] [ 253.581916] tasklet_action_common.isra.0+0x15c/0x180
[2023-09-06 16:06:21.048] [ 253.587121] tasklet_action+0x30/0x40
[2023-09-06 16:06:21.052] [ 253.590892] __do_softirq+0x140/0x3e8
[2023-09-06 16:06:21.060] [ 253.594662] irq_exit+0xc0/0xe0
[2023-09-06 16:06:21.060] [ 253.597891] __handle_domain_irq+0x74/0xd0
[2023-09-06 16:06:21.063] [ 253.602109] gic_handle_irq+0x68/0x134
[2023-09-06 16:06:21.066] [ 253.605976] el1_irq+0xd0/0x180
[2023-09-06 16:06:21.070] [ 253.609219] cpuidle_enter_state+0xb8/0x410
[2023-09-06 16:06:21.075] [ 253.613524] cpuidle_enter+0x40/0x60
[2023-09-06 16:06:21.079] [ 253.617215] call_cpuidle+0x44/0x80
[2023-09-06 16:06:21.081] [ 253.620810] do_idle+0x208/0x270
[2023-09-06 16:06:21.086] [ 253.624142] cpu_startup_entry+0x2c/0x70
[2023-09-06 16:06:21.090] [ 253.628184] rest_init+0xdc/0xe8
[2023-09-06 16:06:21.094] [ 253.631521] arch_call_rest_init+0x18/0x20
[2023-09-06 16:06:21.096] [ 253.635740] start_kernel+0x514/0x54c
[2023-09-06 16:06:21.103] [ 253.639514] Code: a94363f7 a9446bf9 a8c57bfd d65f03c0 (d4210000)
[2023-09-06 16:06:21.107] [ 253.645794] —[ end trace 7f8ee6671a4ca7ef ]—
[2023-09-06 16:06:21.132] [ 253.665957] Kernel panic - not syncing: Oops - BUG: Fatal exception in interrupt
[2023-09-06 16:06:21.134] [ 253.673590] SMP: stopping secondary CPUs
[2023-09-06 16:06:21.149] [ 253.677769] Kernel Offset: 0x3738597a0000 from 0xffff800010000000
[2023-09-06 16:06:21.149] [ 253.684059] PHYS_OFFSET: 0xffff938b40000000
[2023-09-06 16:06:21.150] [ 253.688367] CPU features: 0x0040006,4a80aa38
[2023-09-06 16:06:21.153] [ 253.692768] Memory Limit: none
[2023-09-06 16:06:21.181] [ 253.711300] —[ end Kernel panic - not syncing: Oops - BUG: Fatal exception in interrupt ]—
[2023-09-06 16:08:09.081] \FF\E2

Could you share your full dmesg?

thank you reply,
this is full dmesg
usb.log (328.9 KB)

This log is not from jetpack5.1.2… Jetpack5.1.2 kernel version is not 5.10.104.

yes,because I first found this error on 5.0.2, saved the log, and then tried to find the same issue on 5.1.2, but I did not connect the serial port and did not print the log in 5.1.2

This issue shall already be resolved on jp5.1.2. Please dump full log from 5.1.2.

Hello,WayneWWW
This is my first time using usb wifi. Connect to wifi after login, error log:
usb_wifi2.log (517.5 KB)

If usb wifi is not removed,orin cannot be turned on. Error log:
usb_wifi.log (500.9 KB)

Could you share what kind of device you are using here? any website that can buy such card?

And is this on devkit or custom board or you don’t know what I am talking about?

usb wifi is Sagem XG-76NA model,I’m not sure where to buy at the moment, please let me check.
I use devkit.