Firefly开源社区

reboot重启之后驱动加载失败

64

积分

0

威望

0

贡献

技术小白

积分
64
发表于 2021-1-25 11:19:32     
每次reboot重启后,再加载驱动,就会失败,但是poweroff关机后再上电就可以加载,这是什么原因导致的,下面是失败加载的log
# insmod /root/sd8977.ko mfg_mode=0 drv_mode=3 fw_name=mrvl/sdsd8977_combo_v2.bi
n cal_data_cfg=none
[  790.932142] wlan: Loading MWLAN driver
[  790.933969] vendor=0x02DF device=0x9145 class=0 function=1
[  790.934111] SDIO: max_segs=256 max_seg_size=4096
[  790.934138] rx_work=1 cpu_num=4
[  790.934839] wlan: Enable TX SG mode
[  790.934886] wlan: Enable RX SG mode
[  790.938851] Request firmware: mrvl/sdsd8977_combo_v2.bin
[  790.940800] WLAN FW already running! Skip FW download
[  790.940895] WLAN FW is active
[  810.982685] Timeout cmd id (1611544753.965475) = 0xa9, act = 0x0
[  810.982765] a9 00 08 00 01 00 00 00 00 00 00 00 00 00 00 00
[  810.982936] BSS type = 0 BSS role= 0
[  810.982955] ------------Dump info-----------
[  810.982973] Commmand Timeout
[  810.982998] pending command id: 0x3 ioctl_buf=          (null)
[  810.983017] No pending scan command
[  810.983036] mlan_processing =0
[  810.983054] main_lock_flag =0
[  810.983090] main_process_cnt =1
[  810.983138] delay_task_flag =0
[  810.983185] mlan_rx_processing =0
[  810.983211] rx_pkts_queued=0
[  810.983229] more_task_flag = 0
[  810.983247] num_cmd_timeout = 1
[  810.983265] dbg.num_cmd_timeout = 1
[  810.983283] last_cmd_index = 1
[  810.983299] last_cmd_id = 0x0 0xa9 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[  810.983403] last_cmd_act = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[  810.983508] last_cmd_resp_index = 0
[  810.983524] last_cmd_resp_id = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[  810.983628] last_event_index = 0
[  810.983644] last_event = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[  810.983753] num_data_h2c_failure = 0
[  810.983773] num_cmd_h2c_failure = 0
[  810.983791] num_data_c2h_failure = 0
[  810.983810] num_cmdevt_c2h_failure = 0
[  810.983829] num_int_read_failure = 0
[  810.983847] last_int_status = 0
[  810.983901] num_alloc_buffer_failure = 0
[  810.983949] num_pkt_dropped = 0
[  810.983996] num_no_cmd_node = 0
[  810.984043] num_event_deauth = 0
[  810.984091] num_event_disassoc = 0
[  810.984122] num_event_link_lost = 0
[  810.984139] num_cmd_deauth = 0
[  810.984157] num_cmd_assoc_success = 0
[  810.984174] num_cmd_assoc_failure = 0
[  810.984192] cmd_resp_received=0
[  810.984211] event_received=0
[  810.984228] max_tx_buf_size=2048
[  810.984246] tx_buf_size=2048
[  810.984263] curr_tx_buf_size=2048
[  810.984285] data_sent=1 cmd_sent=1
[  810.984305] ps_mode=1 ps_state=0
[  810.984324] wakeup_dev_req=0 wakeup_tries=0
[  810.984343] hs_configured=0 hs_activated=0
[  810.984363] pps_uapsd_mode=0 sleep_pd=0
[  810.984380] tx_lock_flag = 0
[  810.984398] scan_processing = 0
[  810.984423] mp_rd_bitmap=0x0 curr_rd_port=0x0
[  810.984443] mp_wr_bitmap=0x0 curr_wr_port=0x0
[  810.984461] mp_invalid_update=0
[  810.984482] last_recv_wr_bitmap=0x0 last_mp_index=0
[  810.984508] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[  810.984526] 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[  810.984683] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[  810.984702] 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[  810.984871] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[  810.984891] 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[  810.985054] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[  810.985072] 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[  810.985240] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[  810.985258] 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[  810.985423] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[  810.985443] 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[  810.985736] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[  810.985792] 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[  810.985960] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[  810.985983] 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[  810.986153] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[  810.986172] 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[  810.986342] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[  810.986361] 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[  810.986523] bss_index = 0, tx_pkts_queued = 0
[  810.986542] -------- Dump info End---------
[  810.986721] Driver version = SD8977-0.0.0.p0-C4X16C265.p7-GPL-(FP89)
[  810.986766] main_state = 0
[  810.986785] ioctl_pending = 0
[  810.986804] tx_pending = 0
[  810.986823] rx_pending = 0
[  810.986840] lock_count = 27
[  810.986857] malloc_count = 35
[  810.986875] mbufalloc_count = 0
[  810.986921] hs_skip_count = 0
[  810.986939] hs_force_count = 0
[  810.987380] SDIO Func0 (0x0-0x9): 43 03 02 02 03 00 08 02 03 00
[  810.987643] SDIO Func1 (0x10-0x17): 00 00 00 00 ff ff ff ff
[  810.987950] SDIO Func1: (0x8) c3 (0x58) 00 (0x5c) 48 (0x5d) 00 (0x60) 07 (0x61) 0c (0x62) 00 (0x64) 10 (0x65) 00 (0x66) 00 (0x68) 00 (0x69) 00 (0x6a) 00
[  810.988205] SDIO Func1 (0xe8-0xf2): dc fe ff 00 1e 01 03 01 01 01 70
[  811.088459] SDIO Func1 (0xe8-0xf2): dc fe 1a 00 28 01 03 01 01 01 70
[  811.088638] Firmware Init Failed
[  811.090880] woal_add_card failed
[  811.091022] wlan_sdio: probe of mmc2:0001:1 failed with error -1
[  811.091127] wlan: Driver loaded successfully
回复

使用道具 举报

64

积分

0

威望

0

贡献

技术小白

积分
64
发表于 2021-1-25 14:08:07     
reboot后加载驱动超时,但是关机断电后加载驱动就没有这个错误。
回复

使用道具 举报

368

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
368
发表于 2021-1-26 22:25:12     
手动rmmod能否成功卸载
回复

使用道具 举报

64

积分

0

威望

0

贡献

技术小白

积分
64
发表于 2021-2-1 16:10:52     
zyk 发表于 2021-1-26 22:25
手动rmmod能否成功卸载

可以卸载,但是驱动固件无法加载
回复

使用道具 举报

*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表