T113+RTL8189FS 测试过程中出现smc 1 p1 err, cmd 53, RD SBE !!
-
自己的做的T113版主,在使用RTL8189FS测试带宽过程会出现下面SDIO告警smc 1 p1 err, cmd 53, RD SBE !!, 一般都出现在负荷大时,如下面过程
insmod /lib/modules/5.4.61/kernel/drivers/net/wireless/rtl8189fs/8189fs.ko
[ 448.006322] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[ 448.113501] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[ 448.119825] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B[ 448.149242] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 448.169768] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 448.194332] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 448.208965] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 448.222609] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
[ 448.241736] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 448.253367] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 448.265716] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[ 448.278660] mmc1: new high speed SDIO card at address 0001wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf&
Successfully initialized wpa_supplicant
wlan0: Trying to associate with c0:61:18:0c:60:40 (SSID='TP-LINK_C4228E' freq=2437 MHz)
wlan0: CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=2437 ht_enabled=1 ch_offset=1 ch_width=40 MHz cf1=2447 cf2=0
wlan0: Associated with c0:61:18:0c:60:40
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan0: WPA: Key negotiation completed with c0:61:18:0c:60:40 [PTK=CCMP GTK=CCMP][ 489.401449] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes readywlan0: CTRL-EVENT-CONNECTED - Connection to c0:61:18:0c:60:40 completed [id=0 id_str=]
udhcpc -i wlan0
udhcpc: started, v1.35.0
udhcpc: broadcasting discover
udhcpc: broadcasting select for 192.168.3.117, server 192.168.3.1
udhcpc: lease of 192.168.3.117 obtained from 192.168.3.1, lease time 7200
deleting routers
adding dns 192.168.1.1
adding dns 192.168.3.1iperf -c 192.168.3.105
Client connecting to 192.168.3.105, TCP port 5001
TCP window size: 83.8 KByte (default)[ 1] local 192.168.3.117 port 39746 connected with 192.168.3.105 port 5001
[ 548.911476] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 53, RD SBE !!
[ 548.918909] sunxi-mmc 4021000.sdmmc: retry:start
[ 548.924130] sunxi-mmc 4021000.sdmmc: retry:stop
[ 548.929270] sunxi-mmc 4021000.sdmmc: retry:stop recover
[ 548.935183] sunxi-mmc 4021000.sdmmc: REG_DRV_DL: 0x00030000
[ 548.941444] sunxi-mmc 4021000.sdmmc: REG_SD_NTSR: 0x81710110
[ 548.947821] sunxi-mmc 4021000.sdmmc: REG_NTDL_HS400: 0x20000010
[ 548.954489] sunxi-mmc 4021000.sdmmc: retry:re-send cmd
[ 548.961230] 1,end
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-10.25 sec 21.3 MBytes 17.4 Mbits/sec重复多次,均可能回出现smc 1 p1 err, cmd 53, RD SBE !!告警,尝试把SDIO的频率降低,比如36M, 24M,12M
这个现象依然没有好转,而且还会抛出系统异常
[ 68.591764] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 53, RD SBE !!
[ 68.598971] sunxi-mmc 4021000.sdmmc: retry:start
[ 68.604157] sunxi-mmc 4021000.sdmmc: retry:stop
[ 68.609323] sunxi-mmc 4021000.sdmmc: retry:stop recover
[ 68.615258] sunxi-mmc 4021000.sdmmc: REG_DRV_DL: 0x00010000
[ 68.621517] sunxi-mmc 4021000.sdmmc: REG_SD_NTSR: 0x81710000
[ 68.627927] sunxi-mmc 4021000.sdmmc: REG_NTDL_HS400: 0x20000010
[ 68.634585] sunxi-mmc 4021000.sdmmc: retry:re-send cmd
[ 68.641347] 1,end
[ 70.270264] ------------[ cut here ]------------
[ 70.276204] WARNING: CPU: 0 PID: 1162 at drivers/net/wireless/rtl8189fs/hal/rtl8188f/sdio/sdio_ops.c:1567 sd_recv+0xb4/0x390 [8189fs]
[ 70.289756] Modules linked in: 8189fs sunxi_ce rtc_pcf85063 sun4i_can
[ 70.297027] CPU: 0 PID: 1162 Comm: ksdioirqd/mmc1 Not tainted 5.4.61 #28
[ 70.304541] Hardware name: Generic DT based system
[ 70.309939] [<c010e238>] (unwind_backtrace) from [<c010a844>] (show_stack+0x10/0x14)
[ 70.318638] [<c010a844>] (show_stack) from [<c076a2dc>] (dump_stack+0x7c/0x98)
[ 70.326751] [<c076a2dc>] (dump_stack) from [<c011936c>] (__warn+0xb8/0xd0)
[ 70.334469] [<c011936c>] (__warn) from [<c01193f4>] (warn_slowpath_fmt+0x70/0x9c)
[ 70.343395] [<c01193f4>] (warn_slowpath_fmt) from [<bf0cc874>] (sd_recv+0xb4/0x390 [8189fs])
[ 70.353675] [<bf0cc874>] (sd_recv [8189fs]) from [<bf0ccc94>] (sd_int_dpc+0x144/0x14c [8189fs])
[ 70.364137] [<bf0ccc94>] (sd_int_dpc [8189fs]) from [<bf0ccd68>] (sd_int_hdl+0xcc/0xec [8189fs])
[ 70.374654] [<bf0ccd68>] (sd_int_hdl [8189fs]) from [<bf07c90c>] (sd_sync_int_hdl+0x34/0x44 [8189fs])
[ 70.385337] [<bf07c90c>] (sd_sync_int_hdl [8189fs]) from [<c055d814>] (process_sdio_pending_irqs+0x54/0x198)
[ 70.396378] [<c055d814>] (process_sdio_pending_irqs) from [<c055d9c8>] (sdio_irq_thread+0x70/0x194)
[ 70.406538] [<c055d9c8>] (sdio_irq_thread) from [<c0134200>] (kthread+0x114/0x11c)
[ 70.415039] [<c0134200>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 70.423144] Exception stack(0xc4933fb0 to 0xc4933ff8)
[ 70.428813] 3fa0: 00000000 00000000 00000000 00000000
[ 70.437994] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 70.447173] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 70.454683] ---[ end trace 26775979d98017ea ]---
[ 70.481999] skbuff: skb_over_panic: text:8ad80383 len:70920 put:42872 head:70f8a3f8 data:d9530311 tail:0xc59527c0 end:0xc594fec0 dev:<NULL>
[ 70.496133] ------------[ cut here ]------------
[ 70.501315] kernel BUG at net/core/skbuff.c:109!
[ 70.506492] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[ 70.513034] Modules linked in: 8189fs sunxi_ce rtc_pcf85063 sun4i_can
[ 70.520276] CPU: 0 PID: 1162 Comm: ksdioirqd/mmc1 Tainted: G W 5.4.61 #28
[ 70.529353] Hardware name: Generic DT based system
[ 70.534736] PC is at skb_panic+0x48/0x54
[ 70.539134] LR is at skb_panic+0x48/0x54
[ 70.543533] pc : [<c05bb438>] lr : [<c05bb438>] psr: 600e0013
[ 70.550564] sp : c4933e78 ip : 00000000 fp : c8e939a8
[ 70.556425] r10: c88f9000 r9 : 0000a800 r8 : 0000a778
[ 70.562286] r7 : c09effb8 r6 : c594fec0 r5 : c59527c0 r4 : c5948048
[ 70.569610] r3 : 9453b001 r2 : 9453b001 r1 : 00000001 r0 : 0000007f
[ 70.576936] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 70.584942] Control: 10c5387d Table: 448e806a DAC: 00000051
[ 70.591391] Process ksdioirqd/mmc1 (pid: 1162, stack limit = 0x9000ef86)
[ 70.598910] Stack: (0xc4933e78 to 0xc4934000)
[ 70.603797] 3e60: 0000a778 c5948000
[ 70.612979] 3e80: c5948048 c59527c0 c594fec0 c09effb8 c88fa000 c05bbd3c c5be20dc 00000001
[ 70.622157] 3ea0: c88fa278 bf0cc8fc 200e0013 00000001 00000000 bf1027dc ffffa772 9453b001
[ 70.631338] 3ec0: 00000008 c8e93000 c88f9000 c5be6040 c0c03dc8 ffffe000 c6409484 c0c03dc8
[ 70.640517] 3ee0: 00000000 bf0ccc94 019316e4 9453b001 600e0013 9453b001 c88f9000 c8e93000
[ 70.649694] 3f00: c6409040 c0c03dc8 ffffe000 bf0ccd68 00000000 0001e000 0092c084 9453b001
[ 70.658876] 3f20: ffffe000 c5be6040 c5bf2040 bf07c90c 00000001 c055d814 c6409040 00000001
[ 70.668054] 3f40: 9453b001 9453b001 c6409040 00000000 7fffffff ffffe000 ffffe000 c6409484
[ 70.677234] 3f60: c0c03dc8 c055d9c8 00000001 9453b001 c4928040 c4932000 c48e75c0 c6409040
[ 70.686414] 3f80: c6951d04 c055d958 c492805c c0134200 c48e75c0 c01340ec 00000000 00000000
[ 70.695591] 3fa0: 00000000 00000000 00000000 c01010e8 00000000 00000000 00000000 00000000
[ 70.704771] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 70.713950] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 70.723139] [<c05bb438>] (skb_panic) from [<c05bbd3c>] (skb_put+0x48/0x54)
[ 70.731546] [<c05bbd3c>] (skb_put) from [<bf0cc8fc>] (sd_recv+0x13c/0x390 [8189fs])
[ 70.741021] [<bf0cc8fc>] (sd_recv [8189fs]) from [<bf0ccc94>] (sd_int_dpc+0x144/0x14c [8189fs])
[ 70.751501] [<bf0ccc94>] (sd_int_dpc [8189fs]) from [<bf0ccd68>] (sd_int_hdl+0xcc/0xec [8189fs])
[ 70.762020] [<bf0ccd68>] (sd_int_hdl [8189fs]) from [<bf07c90c>] (sd_sync_int_hdl+0x34/0x44 [8189fs])
[ 70.772704] [<bf07c90c>] (sd_sync_int_hdl [8189fs]) from [<c055d814>] (process_sdio_pending_irqs+0x54/0x198)
[ 70.783740] [<c055d814>] (process_sdio_pending_irqs) from [<c055d9c8>] (sdio_irq_thread+0x70/0x194)
[ 70.793898] [<c055d9c8>] (sdio_irq_thread) from [<c0134200>] (kthread+0x114/0x11c)
[ 70.802397] [<c0134200>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 70.810501] Exception stack(0xc4933fb0 to 0xc4933ff8)
[ 70.816167] 3fa0: 00000000 00000000 00000000 00000000
[ 70.825348] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 70.834526] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 70.841954] Code: e1cd40f8 e58d0014 e59f0008 ebee7084 (e7f001f2)
[ 70.848793] ---[ end trace 26775979d98017eb ]---请哪位大侠指点一下,可能会是什么原因?谢谢
-
相同板子,处理器是D1s, 继续测试RTL8189FS,却很稳定,没有出现问题
while true; do iperf3 -c 192.168.3.105; done
Connecting to host 192.168.3.105, port 5201
[ 5] local 192.168.3.118 port 50282 connected to 192.168.3.105 port 5201
Connecting to host 192.168.3.105, port 5201
[ 5] local 192.168.3.118 port 50286 connected to 192.168.3.105 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 2.83 MBytes 23.7 Mbits/sec 0 211 KBytes
[ 5] 1.00-2.00 sec 2.98 MBytes 25.0 Mbits/sec 0 211 KBytes
[ 5] 2.00-3.00 sec 2.67 MBytes 22.4 Mbits/sec 0 211 KBytes
[ 5] 3.00-4.00 sec 2.70 MBytes 22.7 Mbits/sec 0 211 KBytes
[ 5] 4.00-5.00 sec 2.69 MBytes 22.5 Mbits/sec 0 211 KBytes
[ 5] 5.00-6.00 sec 2.92 MBytes 24.4 Mbits/sec 0 211 KBytes
[ 5] 6.00-7.00 sec 3.00 MBytes 25.2 Mbits/sec 0 211 KBytes
[ 5] 7.00-8.00 sec 2.88 MBytes 24.2 Mbits/sec 0 211 KBytes
[ 5] 8.00-9.00 sec 2.79 MBytes 23.4 Mbits/sec 0 211 KBytes
[ 5] 9.00-10.00 sec 2.78 MBytes 23.3 Mbits/sec 0 211 KBytes
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 28.2 MBytes 23.7 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 28.0 MBytes 23.5 Mbits/sec receiveriperf Done.
Connecting to host 192.168.3.105, port 5201
[ 5] local 192.168.3.118 port 50290 connected to 192.168.3.105 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.05 sec 3.23 MBytes 25.7 Mbits/sec 0 208 KBytes
[ 5] 1.05-2.00 sec 2.34 MBytes 20.8 Mbits/sec 0 222 KBytes
[ 5] 2.00-3.00 sec 2.94 MBytes 24.7 Mbits/sec 0 222 KBytes
[ 5] 3.00-4.00 sec 2.75 MBytes 23.0 Mbits/sec 0 222 KBytes
[ 5] 4.00-5.00 sec 2.92 MBytes 24.5 Mbits/sec 0 222 KBytes
[ 5] 5.00-6.00 sec 2.71 MBytes 22.7 Mbits/sec 0 222 KBytes
[ 5] 6.00-7.00 sec 2.74 MBytes 23.0 Mbits/sec 0 222 KBytes
[ 5] 7.00-8.00 sec 2.81 MBytes 23.6 Mbits/sec 0 222 KBytes
[ 5] 8.00-9.00 sec 2.66 MBytes 22.4 Mbits/sec 0 222 KBytes
[ 5] 9.00-10.00 sec 2.63 MBytes 22.1 Mbits/sec 0 222 KBytes
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 27.7 MBytes 23.3 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 27.7 MBytes 23.2 Mbits/sec receiveriperf Done.
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号