orangepi-build icon indicating copy to clipboard operation
orangepi-build copied to clipboard

Incorrect initialization of wifi/bt chip in OrangePi 3B official image (linux6.6.0-rc5)

Open al37919 opened this issue 1 year ago • 1 comments

I have problem with official image: Orangepi3b_1.0.0_debian_bookworm_desktop_xfce_linux6.6.0-rc5.img Some startups result in incorrect initialization of wifi/bt chip. The short excerpt from dmesg is here:

[    6.966407] WCN_ERR: read marlin3E chip id fail, ret=-110
[    6.966511] WCN: marlin_scan_finish!
[    6.966519] sdiohal:probe ok
[    6.966720] sdiohal:scan end!
[    6.966735] WCN: then marlin start to download
[    6.971620] WCN: marlin_request_firmware from /lib/firmware/wcnmodem.bin start!
[    6.971780] kworker/0:0: vmalloc error: size 18446744073709551615, exceeds total pages, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0
[    6.971840] CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.6.0-rc5-rockchip-rk356x #1.0.0
[    6.971853] Hardware name: Rockchip RK3566 OPi 3B (DT)
[    6.971860] Workqueue: events pre_btwifi_download_sdio
[    6.971890] Call trace:
[    6.971894]  dump_backtrace+0x98/0x118
[    6.971910]  show_stack+0x18/0x24
[    6.971920]  dump_stack_lvl+0x48/0x60
[    6.971932]  dump_stack+0x18/0x24
[    6.971940]  warn_alloc+0xfc/0x1a8
[    6.971953]  __vmalloc_node_range+0x6fc/0x744
[    6.971968]  __vmalloc_node+0x54/0x64
[    6.971979]  vmalloc+0x24/0x30
[    6.971990]  load_firmware_data_path+0x64/0x220
[    6.972004]  pre_btwifi_download_sdio+0xf4/0x1334
[    6.972018]  process_scheduled_works+0x188/0x3f8
[    6.972033]  worker_thread+0x170/0x2e4
[    6.972044]  kthread+0x100/0x114
[    6.972055]  ret_from_fork+0x10/0x20
[    6.972069] Mem-Info:
[    6.972079] active_anon:1479 inactive_anon:178 isolated_anon:0
                active_file:4288 inactive_file:3090 isolated_file:0
                unevictable:2027 dirty:0 writeback:0
                slab_reclaimable:3272 slab_unreclaimable:6017
                mapped:3118 shmem:1450 pagetables:98
                sec_pagetables:0 bounce:0
                kernel_misc_reclaimable:0
                free:459308 free_pcp:2700 free_cma:30716

The long output of 'orangepimonitor -U' including 4 failures and 2 successful boots is provided here: https://pastebin.com/KgM4JEqi

al37919 avatar Nov 15 '23 12:11 al37919