MIPS 系统 跑应用程序报bad: scheduling from the idle thread!错误,什么情况呢?

本文记录了一次内核崩溃的详细情况,包括调度错误、原子操作冲突、内存访问异常及模块加载失败等问题,深入探讨了Ingenic Xburst处理器上运行的Archon系统中,cywdhd和jzmmc模块引发的系统故障。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[  378.520104] bad: scheduling from the idle thread!
[  378.525371] BUG: scheduling while atomic: swapper/0/0x00000102
[  378.531808] bad: scheduling from the idle thread!
[  378.537047] BUG: scheduling while atomic: swapper/0/0x00000102
[  378.543486] bad: scheduling from the idle thread!
[  378.548723] BUG: scheduling while atomic: swapper/0/0x00000102
[  378.555162] bad: scheduling from the idle thread!

[  378.560770] jzmmc_v1.2 jzmmc_v1.2.1: request time out, op=52 arg=0x00000400, sz:-1B state=1, status=0x1F001942, pending=0x00000001, nr_desc=0

[  378.574160] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 00000000, ra == 8006db88
[  378.585104] Oops[#1]:
[  378.587452] CPU: 0 PID: 47 Comm: insmod Tainted: G        W    3.10.14-Archon #7
[  378.595078] task: 82d12880 ti: 80616000 task.ti: 80616000
[  378.600640] $ 0   : 00000000 30001c00 80373da0 00000058
[  378.606039] $ 4   : 804178f0 804102b0 00000001 00000000
[  378.611437] $ 8   : 00000058 64656c69 0017a52f 72652068
[  378.616835] $12   : 00000000 00000000 00000000 00000000
[  378.622230] $16   : 804102b0 30001c01 80410000 00000000
[  378.627626] $20   : c0240000 c0200000 c0221250 80070000
[  378.633024] $24   : 00000003 00000000                  
[  378.638421] $28   : 80616000 80617c08 80040000 8006db88
[  378.643818] Hi    : 00000000
[  378.646782] Lo    : 00000000
[  378.649746] epc   : 00000000   (null)
[  378.653517]     Tainted: G        W   
[  378.657389] ra    : 8006db88 try_to_wake_up+0x70/0x178
[  378.662680] Status: 30001c02    KERNEL EXL 
[  378.666729] Cause : 40808008
[  378.669692] BadVA : 00000000
[  378.672659] PrId  : 00d00101 (Ingenic Xburst)
[  378.677145] Modules linked in: cywdhd(+) jzmmc mmc_core
[  378.682549] Process insmod (pid: 47, threadinfo=80616000, task=82d12880, tls=77ff7460)
[  378.690706] Stack : 00000001 80617c24 80617c24 8061f208 804a0000 8061f208 c024535c 8061f23c
      00000000 8036a28c 8061f208 c024535c 8061f23c 00000000 c0240000 801d77c8
      c0240000 801d5490 00000000 c01fbb00 00000000 c024535c 801d7744 801d5628
      803d0174 82e3a300 c01fbb00 c0240000 82d31e4c 82e3ab30 c024535c 82e3a300
      c003fa20 801d7094 80617cb8 00000003 c024535c c024535c 82e3a300 801d6b98
      ...
[  378.727420] Call Trace:
[  378.729949] [<8036a28c>] __mutex_unlock_slowpath+0x30/0x6c
[  378.735608] [<801d77c8>] __driver_attach+0x84/0xc4
[  378.740546] [<801d5490>] next_device+0x10/0x30
[  378.745356] [<c01fbb00>] wifi_platform_bus_enumerate+0x0/0x9c [cywdhd]
[  378.752098] [<801d7744>] __driver_attach+0x0/0xc4
[  378.756948] [<801d5628>] bus_for_each_dev+0x58/0xa4
[  378.762206] [<c01fbb00>] wifi_platform_bus_enumerate+0x0/0x9c [cywdhd]
[  378.768939] [<801d7094>] driver_attach+0x20/0x2c
[  378.773699] [<801d6b98>] bus_add_driver+0x110/0x274
[  378.778730] [<801dd694>] module_remove_driver+0x28/0xa4
[  378.784338] [<c01fb9f4>] wifi_platform_set_power+0x0/0x10c [cywdhd]
[  378.791010] [<c01fbb00>] wifi_platform_bus_enumerate+0x0/0x9c [cywdhd]
[  378.797956] [<c0200000>] dhd_rtt_init+0x24c/0x518 [cywdhd]
[  378.803612] [<801d7be8>] driver_register+0x90/0x1c4
[  378.808858] [<c01fb9f4>] wifi_platform_set_power+0x0/0x10c [cywdhd]
[  378.815321] [<801d7e7c>] driver_unregister+0x64/0xa4
[  378.820658] [<c0209820>] sdio_func_unreg_notify+0x18/0x34 [cywdhd]
[  378.827236] [<c01fb9f4>] wifi_platform_set_power+0x0/0x10c [cywdhd]
[  378.833905] [<c0200000>] dhd_rtt_init+0x24c/0x518 [cywdhd]
[  378.839774] [<c01fbe34>] dhd_wifi_platform_load+0x298/0x540 [cywdhd]
[  378.846329] [<803667b8>] printk+0x38/0x44
[  378.850464] [<80013330>] bcm_customer_wlan_get_oob_irq+0x28/0x3c
[  378.856877] [<c01fbb9c>] dhd_wifi_platform_load+0x0/0x540 [cywdhd]
[  378.863252] [<800dc598>] kmem_cache_alloc+0x0/0x128
[  378.868519] [<c01fc3c8>] dhd_wifi_platform_register_drv+0xe0/0x1a0 [cywdhd]
[  378.875701] [<800dc340>] kfree+0xf8/0x194
[  378.880056] [<c0200000>] dhd_rtt_init+0x24c/0x518 [cywdhd]
[  378.885927] [<c0256110>] dhd_module_init+0x110/0x280 [cywdhd]
[  378.892062] [<c0256000>] dhd_module_init+0x0/0x280 [cywdhd]
[  378.897809] [<8001056c>] do_one_initcall+0x140/0x1c4
[  378.902929] [<800d3134>] __vunmap+0xa0/0x114
[  378.907333] [<8008b898>] load_module+0x18d4/0x20cc
[  378.912277] [<80087db0>] ddebug_dyndbg_module_param_cb+0x0/0x40
[  378.918379] [<800d151c>] map_vm_area+0x30/0x5c
[  378.922965] [<80088f9c>] module_sect_show+0x0/0x2c
[  378.927905] [<8008c16c>] SyS_init_module+0xdc/0x118
[  378.932939] [<800249fc>] stack_done+0x20/0x44
[  378.937435] [<8044e430>] prandom_reseed+0x64/0x6c
[  378.942285] [<8044e2c0>] radix_tree_init+0x1c/0x88
[  378.947222] 
[  378.948752] 
Code: (Bad address in epc)
[  378.952800] 
[  378.954536] ---[ end trace 5cd31d46b228ebcf ]---
[  378.959315] note: insmod[47] exited with preempt_count 3
Segmentation fault

wifi ko init failed
wifi driver load failed, reboot...

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值