设为首页收藏本站
查看: 589|回复: 5

Remi-PI无线网卡网卡报错

[复制链接]

3

主题

7

回帖

63

积分

注册会员

积分
63
tocjc 发表于 2024-5-31 09:57:44 | 显示全部楼层 |阅读模式
之前刷了 MYD-YG2LX-REMI-8E1D-120-I_EMMC_FULL_L5.10.83_20240111 系统,无线网卡能联网,前两天分别刷了百度网盘下载的 MYD-YG2LX-REMI-8E1D-120-I_EMMC_UBUNTU_L5.10.83_20240330 系统 和 MYD-YG2LX-REMI-8E1D-120-I_EMMC_DEBIAN_L5.10.83_20240507 系统,无线网卡都不能联网,今天又刷回EMMC_FULL_L5.10.83_20240111 系统系统,在执行:
ifconfig wlan0 up
发现Linux启动时报错误信息:
[ 1136.127273] ------------[ cut here ]------------
[ 1136.132009] WARNING: CPU: 0 PID: 613 at /usr/src/debug/linux-myir/5.10.83+gitAUTOINC+d795edc9d0-r1/linux-myir_remi_1g-standard-build/source/drivers/staging/rtl88x2cs//os_dep/linux/sdio_ops_linux.c:1329 rtw_sdio_raw_write+0x1f8/0x2f8
[ 1136.152545] Modules linked in: nf_conntrack_netlink nfnetlink vspm_if(O) vspm(O) mmngrbuf(O) mmngr(O)
[ 1136.161927] CPU: 0 PID: 613 Comm: ifconfig Tainted: G        W  O      5.10.83-cip1-yocto-standard #1
[ 1136.171137] Hardware name: Renesas SMARC EVK based on r9a07g044l2 (DT)
[ 1136.177682] pstate: 60400005 (nZCv daif +PAN -UAO -TCO BTYPE=--)
[ 1136.183710] pc : rtw_sdio_raw_write+0x1f8/0x2f8
[ 1136.188267] lr : rtw_sdio_raw_write+0x1c8/0x2f8
[ 1136.192806] sp : ffff80001ac93730
[ 1136.196138] x29: ffff80001ac93730 x28: 0000000000000001
[ 1136.201496] x27: ffff000009f3e000 x26: 0000000000000000
[ 1136.206850] x25: 0000000000000001 x24: ffff80001ac9383f
[ 1136.212204] x23: 0000000000020040 x22: ffff80001ac9383f
[ 1136.217558] x21: 0000000000000001 x20: ffff00000ae7dc00
[ 1136.222911] x19: 0000000000000040 x18: 0000000000000000
[ 1136.228264] x17: 0000000000000000 x16: 0000000000000000
[ 1136.233616] x15: 0000b49a981d97c6 x14: 000000000000024e
[ 1136.238968] x13: 0000000000000001 x12: 0000000000000000
[ 1136.244319] x11: 0000000000000000 x10: 0000000000000940
[ 1136.249672] x9 : ffff80001ac93440 x8 : ffff00000d6b24a0
[ 1136.255024] x7 : ffff00000ae803d0 x6 : 0000000661fe7498
[ 1136.260377] x5 : 00ffffffffffffff x4 : 0000000000000002
[ 1136.265728] x3 : ffff000009e625d0 x2 : 0000000000000001
[ 1136.271078] x1 : 000000000000000d x0 : 00000000ffffff92
[ 1136.276430] Call trace:
[ 1136.278921]  rtw_sdio_raw_write+0x1f8/0x2f8
[ 1136.283134]  sdio_io+0x8c/0x148
[ 1136.286306]  rtw_sdio_write_cmd52+0x18/0x24
[ 1136.290518]  _halmac_sdio_cmd52_write+0x1c/0x28
[ 1136.295079]  w_indir_cmd52_88xx+0xb8/0x260
[ 1136.299204]  w_indir_sdio_88xx+0xb0/0x2bc
[ 1136.303241]  reg_w8_sdio_8822c+0xc0/0xe8
[ 1136.307193]  pre_init_system_cfg_8822c+0x64/0x1a0
[ 1136.311921]  rtw_halmac_poweron+0x28/0xd4
[ 1136.315961]  rtl8822c_power_on+0x4c/0xa0
[ 1136.319913]  rtw_hal_power_on+0x24/0x60
[ 1136.323777]  _halmac_init_hal+0x3c/0x174
[ 1136.327727]  rtw_halmac_init_hal_fw+0x10/0x1c
[ 1136.332110]  rtl8822c_hal_init+0x38/0x74
[ 1136.336055]  rtl8822cs_init+0x1c/0x8c
[ 1136.339747]  rtw_hal_init+0x38/0x104
[ 1136.343350]  _netdev_open+0x5c/0x1b8
[ 1136.346950]  netdev_open+0x40/0x64
[ 1136.350382]  __dev_open+0x124/0x1b8
[ 1136.353898]  __dev_change_flags+0x16c/0x1d0
[ 1136.358103]  dev_change_flags+0x24/0x68
[ 1136.361969]  devinet_ioctl+0x3f0/0x790
[ 1136.365745]  inet_ioctl+0x1fc/0x378
[ 1136.369265]  sock_do_ioctl+0x4c/0x2c8
[ 1136.372954]  sock_ioctl+0x320/0x520
[ 1136.376478]  __arm64_sys_ioctl+0x94/0xd0
[ 1136.380435]  el0_svc_common.constprop.4+0x8c/0x180
[ 1136.385251]  do_el0_svc+0x24/0x90
[ 1136.388598]  el0_svc+0x14/0x20
[ 1136.391684]  el0_sync_handler+0x90/0xb8
[ 1136.395546]  el0_sync+0x160/0x180
[ 1136.398882] ---[ end trace 89a1e57435f919bd ]---
[ 1136.407875] rtl88x2cs mmc1:0001:1: rtw_sdio_raw_write: sdio write failed (-110)
[ 1136.419211] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE use CMD52
[ 1136.425154] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE to 0x00040, 1 bytes
[ 1136.431820] rtw_sdio: WRITE 00000000: 1c
SIOCSIFFLAGS: Operation not permitted






回复

使用道具 举报

3

主题

7

回帖

63

积分

注册会员

积分
63
 楼主| tocjc 发表于 2024-6-4 15:47:10 | 显示全部楼层
本帖最后由 tocjc 于 2024-6-4 15:52 编辑

今天 开机调试时无线网卡没报错,正常配置了无线网络。但是,几分钟后无线网卡有报错,无法上网了。看来是硬件不稳定!


网卡连接

网卡连接




故障信息

故障信息


回复 支持 反对

使用道具 举报

0

主题

25

回帖

120

积分

注册会员

积分
120
米尔小超人 发表于 2024-6-4 16:12:23 | 显示全部楼层
看起来像是SDIO通讯有问题,你已经更新过最新的系统对吧?
回复 支持 反对

使用道具 举报

0

主题

23

回帖

106

积分

注册会员

积分
106
米尔小助手4 发表于 2024-6-4 16:16:23 | 显示全部楼层
tocjc 发表于 2024-6-4 15:47
今天 开机调试时无线网卡没报错,正常配置了无线网络。但是,几分钟后无线网卡有报错,无法上网了。看来是 ...

你可以尝试重新刷一下bootloader阶段,wifi的开启需要在uboot阶段选择相应的设备树,这在Remi Pi_Linux 软件评估指南的4.2章节有介绍
回复 支持 反对

使用道具 举报

3

主题

7

回帖

63

积分

注册会员

积分
63
 楼主| tocjc 发表于 2024-6-4 17:05:35 | 显示全部楼层
米尔小超人 发表于 2024-6-4 16:12
看起来像是SDIO通讯有问题,你已经更新过最新的系统对吧?

已经刷回EMMC_FULL_L5.10.83_20240111 系统了
回复 支持 反对

使用道具 举报

3

主题

7

回帖

63

积分

注册会员

积分
63
 楼主| tocjc 发表于 2024-6-4 20:06:48 | 显示全部楼层
米尔小助手4 发表于 2024-6-4 16:16
你可以尝试重新刷一下bootloader阶段,wifi的开启需要在uboot阶段选择相应的设备树,这在Remi Pi_Linux  ...

有重新刷了bootloader,刷了EMMC_UBUNTU_L5.10.83_20240330.img镜像,故障依旧。

root@myir:~# [   74.110876] rtl88x2cs mmc1:0001:1: MAC register:
[   74.115593] rtl88x2cs mmc1:0001:1: rtw_sdio_dbg: READ 0x10000 FAIL!
[   74.126660] rtl88x2cs mmc1:0001:1: MAC Extend register:
[   74.132279] rtl88x2cs mmc1:0001:1: rtw_sdio_dbg: READ 0x11000 FAIL!
[   74.138750] rtl88x2cs mmc1:0001:1: SDIO Local register:
[   74.144321] rtl88x2cs mmc1:0001:1: rtw_sdio_dbg: READ 0x00 FAIL!
[   74.150601] rtl88x2cs mmc1:0001:1: f0 register:
[   74.155729] rtl88x2cs mmc1:0001:1: rtw_sdio_dbg: READ CIA 0x00 FAIL!
[   74.164113] rtl88x2cs mmc1:0001:1: rtw_sdio_raw_write: sdio write failed (-110)
[   74.171505] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE use CMD53
[   74.177492] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE to 0x11c30, 4 bytes
[   74.184390] rtw_sdio: WRITE 00000000: fe 90 00 fe
[   74.190381] rtl88x2cs mmc1:0001:1: rtw_sdio_raw_write: sdio write failed (-110)
[   74.199138] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE use CMD53
[   74.205467] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE to 0x11c30, 4 bytes
[   74.212097] rtw_sdio: WRITE 00000000: fe 90 00 fe
[   74.217666] rtl88x2cs mmc1:0001:1: rtw_sdio_raw_write: sdio write failed (-110)
[   74.225022] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE use CMD53
[   74.230818] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE to 0x11c30, 4 bytes
[   74.237543] rtw_sdio: WRITE 00000000: fe 90 00 fe
[   74.243055] rtl88x2cs mmc1:0001:1: rtw_sdio_raw_write: sdio write failed (-110)
[   74.250433] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE use CMD53
[   74.256165] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE to 0x11c30, 4 bytes
[   74.262731] rtw_sdio: WRITE 00000000: fe 90 00 fe
[   74.268651] rtl88x2cs mmc1:0001:1: rtw_sdio_raw_write: sdio write failed (-110)
[   74.277078] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE use CMD53
[   74.283589] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE to 0x11c30, 4 bytes
[   74.290211] rtw_sdio: WRITE 00000000: fe 90 00 fe
[   74.295961] rtl88x2cs mmc1:0001:1: rtw_sdio_raw_write: sdio write failed (-110)
[   74.303298] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE use CMD53
[   74.309030] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE to 0x11c30, 4 bytes
[   74.315621] rtw_sdio: WRITE 00000000: fe 90 00 fe
[   74.321022] rtl88x2cs mmc1:0001:1: rtw_sdio_raw_write: sdio write failed (-110)
[   74.328371] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE use CMD53
[   74.334127] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE to 0x11c30, 4 bytes
[   74.340723] rtw_sdio: WRITE 00000000: fe 90 00 fe
[   74.346099] rtl88x2cs mmc1:0001:1: rtw_sdio_raw_write: sdio write failed (-110)
[   74.353454] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE use CMD53
[   74.359190] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE to 0x11c30, 4 bytes
[   74.365791] rtw_sdio: WRITE 00000000: fe 90 00 fe
[   74.376238] rtl88x2cs mmc1:0001:1: rtw_sdio_raw_write: sdio write failed (-110)
[   74.384846] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE use CMD53
[   74.391345] rtl88x2cs mmc1:0001:1: rtw_sdio: WRITE to 0x11c30, 4 bytes
[   74.398039] rtw_sdio: WRITE 00000000: fe 90 00 fe
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录

本版积分规则

Archiver|手机版|小黑屋|米尔科技论坛   

GMT+8, 2024-11-21 16:48 , Processed in 0.109430 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表