|
楼主 |
发表于 2024-11-5 09:18:03
|
显示全部楼层
z这是我测试时候调试串口的输出
youyeetoo@yy3568-alip:~$ [ 103.226802] PHY loopback speed set to 1000
[ 103.625663] dwmac4: Master AXI performs any burst length
[ 103.924116] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_ bus:phy_addr=stmmac-0:00, irq=POLL)
[ 103.937800] dwmac4: Master AXI performs any burst length
[ 103.937889] rk_gmac-dwmac fe2a0000.ethernet eth1: No Safety Features support found
[ 103.937930] rk_gmac-dwmac fe2a0000.ethernet eth1: IEEE 1588-2008 Advanced Ti mestamp supported
[ 103.938490] rk_gmac-dwmac fe2a0000.ethernet eth1: registered PTP clock
[ 103.938672] PHY loopback: FAIL
[ 106.994039] rk_gmac-dwmac fe2a0000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
^C
youyeetoo@yy3568-alip:~$ cd /sys/devices/platform/
youyeetoo@yy3568-alip:/sys/devices/platform$ find -name "*ethernet*"
./fe2a0000.ethernet
./fe010000.ethernet
youyeetoo@yy3568-alip:/sys/devices/platform$ sudo su
[sudo] password for youyeetoo:
root@yy3568-alip:/sys/devices/platform# echo 1000 > phy_lb
bash: phy_lb: Permission denied
root@yy3568-alip:/sys/devices/platform# clear
root@yy3568-alip:/sys/devices/platform# [ 174.160052] PHY loopback speed set t o 1000
[ 174.532568] dwmac4: Master AXI performs any burst length
[ 174.832326] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_ bus:phy_addr=stmmac-0:00, irq=POLL)
[ 174.845920] dwmac4: Master AXI performs any burst length
[ 174.845960] rk_gmac-dwmac fe2a0000.ethernet eth1: No Safety Features support found
[ 174.845979] rk_gmac-dwmac fe2a0000.ethernet eth1: IEEE 1588-2008 Advanced Ti mestamp supported
[ 174.846184] rk_gmac-dwmac fe2a0000.ethernet eth1: registered PTP clock
[ 174.846262] PHY loopback: FAIL
[ 177.874931] rk_gmac-dwmac fe2a0000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
[ 213.914121] PHY loopback speed set to 1000
[ 214.167786] Unable to handle kernel paging request at virtual address ffffff 800c5cea68
[ 214.168618] Mem abort info:
[ 214.168902] ESR = 0x96000007
[ 214.169228] Exception class = DABT (current EL), IL = 32 bits
[ 214.169800] SET = 0, FnV = 0
[ 214.170124] EA = 0, S1PTW = 0
[ 214.170449] Data abort info:
[ 214.170781] ISV = 0, ISS = 0x00000007
[ 214.171166] CM = 0, WnR = 0
[ 214.171484] swapper pgtable: 4k pages, 39-bit VAs, pgdp = 00000000b88d61c0
[ 214.172143] [ffffff800c5cea68] pgd=00000001ffffe003, pud=00000001ffffe003, p md=00000001f3c5f003, pte=0000000000000000
[ 214.173142] Internal error: Oops: 96000007 [#1] SMP
[ 214.173600] Modules linked in: bcmdhd
[ 214.173955] Process swapper/1 (pid: 0, stack limit = 0x00000000555e3fe2)
[ 214.174597] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.19.232 #22
[ 214.174605] Hardware name: Rockchip RK3568 EVB1 DDR4 V10 Board (DT)
[ 214.174618] pstate: 60400009 (nZCv daif +PAN -UAO)
[ 214.174644] pc : dwmac4_rd_set_tx_ic+0x18/0x30
[ 214.174657] lr : stmmac_xmit+0x7cc/0x8d8
[ 214.174663] sp : ffffff800800b750
[ 214.174670] x29: ffffff800800b750 x28: ffffffc1f4994a40
[ 214.174684] x27: ffffffc1f4994a40 x26: 0000000000000000
[ 214.174697] x25: ffffff800c5cea60 x24: ffffffc1f4994000
[ 214.174711] x23: 00000000000001a6 x22: ffffff800c5cea60
[ 214.174724] x21: 00000000000001a6 x20: 0000000000000000
[ 214.174737] x19: ffffff800c5cea60 x18: 0000000000000000
[ 214.174760] x17: 0000000000000000 x16: 0000000000000000
[ 214.174771] x15: 0000000000000000 x14: 0000000005295143
[ 214.174784] x13: 0032dcab0e820000 x12: 000032dcd555bd80
[ 214.181736] x11: 0000000000000000 x10: ffffffc1e9840710
[ 214.181751] x9 : 00000000000000c0 x8 : 00ca00d800ec0008
Message from syslogd@yy3568-alip at Feb 14 10:15:28 ...
kernel:[ 214.173142] Internal error: Oops: 96000007 [#1] SMP
[ 214.181763] x7 : 00000000000001a7 x6 : 0000000000000fec
[ 214.181776] x5 : ffffffc1c727f500 x4 : ffffffc1fff193e0
[ 214.181788] x3 : 0000000000000fed x2 : 0000000000000000
[ 214.181800] x1 : ffffff8008a2df38 x0 : ffffff8008a2b904 |
|