落笔画秋枫 Posted December 23, 2024 Posted December 23, 2024 There is a uwe5621ds WiFi module on my rk3576 development board. I burned the system image of armsom-cm5-io. After booting, calling the modprobe sprdwl_ng command will encounter the following kernel pannic [ 71.088504] Unable to handle kernel NULL pointer dereference at virtual address 00000000000001d0 [ 71.089376] Mem abort info: [ 71.089655] ESR = 0x0000000096000004 [ 71.090002] EC = 0x25: DABT (current EL), IL = 32 bits [ 71.090490] SET = 0, FnV = 0 [ 71.090784] EA = 0, S1PTW = 0 [ 71.091069] FSC = 0x04: level 0 translation fault [ 71.091509] Data abort info: [ 71.091772] ISV = 0, ISS = 0x00000004 [ 71.092147] CM = 0, WnR = 0 [ 71.092432] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000102e2e000 [ 71.093018] [00000000000001d0] pgd=0000000000000000, p4d=0000000000000000 [ 71.093635] Internal error: Oops: 0000000096000004 [#1] SMP [ 71.094144] Modules linked in: sprdwl_ng(+) sprdbt_tty bnep rk805_pwrkey ufs_rockchip nvmem_rockchip_otp rockchip_cpuinfo ufshcd_pltfrm joydev input_leds ufshcd_core uio_pdrv_genirq uio zram zsmalloc binfmt_misc sch_fq_codel fuse ip_tables ipv6 pwm_blpanel_simple panfrost drm_shmem_helper gpu_sched [ 71.096551] CPU: 5 PID: 2071 Comm: modprobe Not tainted 6.1.84-vendor-rk35xx #1 [ 71.097217] Hardware name: ArmSoM CM5 IO (DT) [ 71.097614] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 71.098246] pc : get_loopcheck_status+0x18/0x20 [ 71.098662] lr : start_marlin+0x7c/0xc4 [ 71.099023] sp : ffff80000e8137d0 [ 71.099330] x29: ffff80000e8137d0 x28: ffff80000a31a910 x27: 0000000000000000 [ 71.099976] x26: 0000000000000000 x25: ffff80000a44e000 x24: ffff80000a670310 [ 71.100621] x23: 0000000000000000 x22: ffff80000a575fa8 x21: 0000000000000002 [ 71.101265] x20: ffff0000c4671810 x19: ffff800009466f1f x18: 0000000000000000 [ 71.101910] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 71.102555] x14: 0000000000000000 x13: 5d494649575f4e49 x12: 4c52414d5b206e69 [ 71.103201] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff800009205260 [ 71.103846] x8 : 00000817c200001f x7 : 696c72616d5f7472 x6 : 617473203a4e4357 [ 71.104492] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 [ 71.105136] x2 : 0000000000000000 x1 : ffff0000c24aeac0 x0 : 0000000000000000 [ 71.105781] Call trace: [ 71.106011] get_loopcheck_status+0x18/0x20 [ 71.106397] sprdwl_probe+0x2c/0x330 [sprdwl_ng] [ 71.106881] platform_probe+0x70/0xc0 [ 71.107224] really_probe+0x1cc/0x390 [ 71.107570] __driver_probe_device+0x140/0x158 [ 71.107980] driver_probe_device+0x48/0xd0 [ 71.108356] __device_attach_driver+0x110/0x124 [ 71.108775] bus_for_each_drv+0xa4/0xd0 [ 71.109129] __device_attach+0xf0/0x174 [ 71.109482] device_initial_probe+0x1c/0x28 [ 71.109870] bus_probe_device+0x38/0x9c [ 71.110223] device_add+0x558/0x694 [ 71.110545] platform_device_add+0xe0/0x218 [ 71.110931] unisoc_wlan_init+0x54/0x1000 [sprdwl_ng] [ 71.111441] do_one_initcall+0x94/0x1e8 [ 71.111799] do_init_module+0x58/0x1dc [ 71.112152] load_module+0x1820/0x18d4 [ 71.112494] __do_sys_finit_module+0xfc/0x120 [ 71.112894] __arm64_sys_finit_module+0x24/0x30 [ 71.113315] invoke_syscall+0x8c/0x128 [ 71.113656] el0_svc_common.constprop.0+0xd8/0x124 [ 71.114097] do_el0_svc+0xa8/0xb8 [ 71.114406] el0_svc+0x2c/0x54 [ 71.114694] el0t_64_sync_handler+0xac/0x13c [ 71.115082] el0t_64_sync+0x19c/0x1a0 [ 71.115424] [ 71.115424] PC: 0xffff800008ac54c8: 0 Quote
Murat Demirtas Posted February 28 Posted February 28 (edited) hello, i'm trying to run latest uboot v2025.03 rc2 with kernel 6.6 on orange pi 4 lts. i have same error :). In the unofficial image from armbian-build with latest Armbian Edge Kernel version(6.12), I see that this module gives many error messages to the dmesg output. setenv bootargs "root=/dev/mmcblk0p1 rw rootwait console=ttyS2,1500000 modprobe.blacklist=sprdwl_ng" saveenv is only solution for now. Quote 4.935271] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed... Starting systemd-random-se…ice - Load/Save Random Seed... [ 4.938560] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition c. [ 4.952094] systemd[1]: Starting systemd-sysusers.service - Create System Users... Starting systemd-sysusers.…rvice - Create System Users... [ 4.954383] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 4.981792] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System. [ OK ] Mounted sys-fs-fuse-connec…nt - FUSE Control File System. [ 4.984910] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 4.994648] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System. [ OK ] Mounted sys-kernel-config.… Kernel Configuration File System. [ 5.013016] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 5.014050] systemd[1]: Finished systemd-sysusers.service - Create System Users. [ OK ] Finished systemd-sysusers.service - Create System Users. [ 5.044998] WCN: check_cp_ready sync val:0xf0f0f0ff, prj_type val:0x0 [ 5.045736] WCN: wcn_config_log_file: Error, config file not found. want config file:/data/unisoc_cp2log_config.t [ 5.046710] WCN: wcn_config_log_file: Error, config file not found. want config file:/vendor/etc/wifi/unisoc_cp2l [ 5.047727] WCN: wcn_config_log_file: there is no unisoc_cp2log_config.txt [ 5.050828] WCN: wcn_debug_init unisoc cp2 log: limit_size:[20971520 Byte], log_file_num:[2], cover_old:[1-cover_] [ 5.051799] WCN: open /data/unisoc_dbg error! [ 5.052244] WCN: open /data error! [ 5.055114] WCN: open /mnt/UDISK error! [ 5.055496] sdiohal:sdiohal_runtime_get entry [ 5.057519] WCN: get_cp2_version entry! [ 5.065872] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev... Starting systemd-tmpfiles-…ate Static Device Nodes in /dev... [ 5.096827] WCN: WCND at cmd read:WCN_VER:Platform Version:MARLIN3_19B_W21.05.3~Project Version:sc2355_marlin3_li~ [ 5.098628] WCN: then marlin download finished and run ok [ 5.099128] WCN: start_loopcheck [ 5.113606] SError Interrupt on CPU4, code 0x00000000bf000000 -- SError [ 5.113637] CPU: 4 PID: 170 Comm: systemd-modules Not tainted 6.6.62-current-rockchip64 #2 [ 5.113652] Hardware name: OrangePi 4 LTS (DT) [ 5.113658] pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 5.113670] pc : clear_page+0x18/0x54 [ 5.113700] lr : get_page_from_freelist+0x11a0/0x14a0 [ 5.113719] sp : ffff8000834eb220 [ 5.113724] x29: ffff8000834eb220 x28: fffffc0000210000 x27: 0000000000000801 [ 5.113744] x26: ffff0000f77c0980 x25: 0000000000000000 x24: dead000000000100 [ 5.113759] x23: ffff0000f77c0980 x22: ffff000000000000 x21: 0000000000000000 [ 5.113773] x20: 0000000000210040 x19: 0000000000210040 x18: 0000000000000014 [ 5.113787] x17: 00000000bd4b7b46 x16: 00000000be90325f x15: 0000000000000000 [ 5.113801] x14: 0000000000000001 x13: 0000000000000002 x12: 00000000000ea5c5 [ 5.113815] x11: 0000000000000000 x10: 0000000000000001 x9 : ffff0000f77c2380 [ 5.113828] x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000 [ 5.113840] x5 : ffff800076055000 x4 : 0000000000000030 x3 : ffff800076055000 [ 5.113854] x2 : 0000000000000004 x1 : 0000000000000040 x0 : ffff0000084004c0 [ 5.113871] Kernel panic - not syncing: Asynchronous SError Interrupt [ 5.113876] CPU: 4 PID: 170 Comm: systemd-modules Not tainted 6.6.62-current-rockchip64 #2 [ 5.113887] Hardware name: OrangePi 4 LTS (DT) [ 5.113893] Call trace: [ 5.113898] dump_backtrace+0x94/0x114 [ 5.113919] show_stack+0x18/0x24 [ 5.113927] dump_stack_lvl+0x48/0x60 [ 5.113941] dump_stack+0x18/0x24 [ 5.113954] panic+0x324/0x38c [ 5.113971] nmi_panic+0x8c/0x90 [ 5.113985] arm64_serror_panic+0x6c/0x78 [ 5.113994] do_serror+0x3c/0x78 [ 5.114002] el1h_64_error_handler+0x30/0x48 [ 5.114019] el1h_64_error+0x64/0x68 [ 5.114026] clear_page+0x18/0x54 [ 5.114035] __alloc_pages+0x164/0xe48 [ 5.114046] alloc_pages+0x94/0x148 [ 5.114062] new_slab+0x314/0x438 [ 5.114081] ___slab_alloc+0x344/0x790 [ 5.114093] __slab_alloc.constprop.0+0x34/0x78 [ 5.114107] __kmem_cache_alloc_node+0x240/0x25c [ 5.114122] kmalloc_trace+0x3c/0x108 [ 5.114137] sprdwl_msg_init+0x7c/0x134 [sprdwl_ng] [ 5.114273] sprdwl_tx_init+0xdc/0x2cc [sprdwl_ng] [ 5.114363] sprdwl_probe+0x224/0x33c [sprdwl_ng] [ 5.114448] platform_probe+0x68/0xdc [ 5.114463] really_probe+0x184/0x3c8 [ 5.114471] __driver_probe_device+0x7c/0x16c [ 5.114480] driver_probe_device+0x3c/0x110 [ 5.114487] __device_attach_driver+0xbc/0x158 [ 5.114496] bus_for_each_drv+0x80/0xdc [ 5.114511] __device_attach+0xa8/0x1d4 [ 5.114518] device_initial_probe+0x14/0x20 [ 5.114527] bus_probe_device+0xa8/0xac [ 5.114541] device_add+0x5b8/0x7a4 [ 5.114554] platform_device_add+0x104/0x278 [ 5.114564] unisoc_wlan_init+0x60/0x1000 [sprdwl_ng] [ 5.114650] do_one_initcall+0x44/0x2c4 [ 5.114659] do_init_module+0x58/0x1e8 [ 5.114678] load_module+0x1c94/0x1ec4 [ 5.114691] init_module_from_file+0x84/0xc4 [ 5.114704] __arm64_sys_finit_module+0x1f4/0x2f0 [ 5.114718] invoke_syscall+0x48/0x118 [ 5.114735] el0_svc_common.constprop.0+0x40/0xe8 [ 5.114750] do_el0_svc+0x20/0x2c [ 5.114763] el0_svc+0x38/0xd8 [ 5.114777] el0t_64_sync_handler+0x13c/0x158 [ 5.114791] el0t_64_sync+0x190/0x194 [ 5.114801] SMP: stopping secondary CPUs [ 5.114903] Kernel Offset: disabled [ 5.114907] CPU features: 0x0,80000208,3c020000,1000421b [ 5.114915] Memory Limit: none [ 5.142807] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]--- Edited February 28 by Murat Demirtas 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.