|
这是系统日志
- Sun May 28 10:30:44 2023 kern.info kernel: [308270.671587] warp_woctrl_exit_state(), wo_state:6, prev:ENABLE, cur:RESET, req: RESET
- Sun May 28 10:30:44 2023 kern.info kernel: [308270.679413] warp_woctrl_send_msg_and_wait_rsp(), idx: 0, state:ENABLE
- Sun May 28 10:30:44 2023 kern.info kernel: [308270.687304] warp_woctrl_send_msg_and_wait_rsp(): got wocpu msg response
- Sun May 28 10:30:44 2023 kern.info kernel: [308270.696803] [mtk_pending_work] mtk_stop starts !
- Sun May 28 10:30:44 2023 kern.info kernel: [308270.701569] mtk_soc_eth 15100000.ethernet eth0: Link is Down
- Sun May 28 10:30:44 2023 kern.info kernel: [308270.707448] mtk_soc_eth 15100000.ethernet eth1: Link is Down
- Sun May 28 10:30:44 2023 kern.info kernel: [308270.916466] [mtk_pending_work] mtk_stop ends !
- Sun May 28 10:30:44 2023 kern.info kernel: [308270.936020] [mtk_pending_work] mtk_hw_init starts !
- Sun May 28 10:30:44 2023 kern.info kernel: [308270.940978] [mtk_hw_init] reset_lock:1, force:1
- Sun May 28 10:30:44 2023 kern.info kernel: [308270.945591] [mtk_hw_init] execute fe warm reset
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.051585] [mtk_eth_warm_reset] reset record val1=0x6000004, val2=0x0, val3=0x0 !
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.070241] [mtk_pending_work] mtk_hw_init ends !
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.078551] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.086994] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.098634] MediaTek MT7981 PHY mdio-bus:00: TX-VCM SW cal result: 0x2
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.106107] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:00] driver [MediaTek MT7981 PHY]
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.114801] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/gmii link mode
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.122505] [nf_hnat_netdevice_event] HNAT driver starts to do warm init !
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.153389] mediatek_soc_hnat 15100000.hnat: PPE0 hwnat start
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.159220] [mtk_pending_work] HNAT reset done !
- Sun May 28 10:30:44 2023 kern.err kernel: [308271.163929] 7981@C02L1,mtk_fe_event() 413: receive fe reset done event, continue SER
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.171755] [mtk_pending_work] WiFi SER reset done !
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.178979] wdma_dma_ctrl(): WDMA_GLO_CFG=50404e70, txrx = 0
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.188460] wdma_dma_ctrl(): WDMA_GLO_CFG=40404e70, txrx = 0
- Sun May 28 10:30:44 2023 daemon.notice netifd: Network device 'eth1' link is down
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.195435] br-lan: port 1(eth1) entered disabled state
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.204235] warp_tx_ring_init_hw(): configure ring 0 setting
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.210013] warp_tx_ring_init_hw(): wed:00000000736dc253 wifi:00000000c10378d2: 24420=5c9e8000,24424=2048,24428=0
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.220375] warp_tx_ring_init_hw(): configure ring 1 setting
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.226143] warp_tx_ring_init_hw(): wed:00000000736dc253 wifi:00000000c10378d2: 24430=5c9f0000,24434=2048,24438=0
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.236616] set_rrocfg,0
- Sun May 28 10:30:44 2023 kern.info kernel: [308271.262133] wdma_dma_ctrl(): WDMA_GLO_CFG=40404e74, txrx = 3
- Sun May 28 10:30:44 2023 kern.err kernel: [308271.268786] 7981@C02L1,mt7981_dump_ser_stat() 6681: ::E R , SER_HOST_STEP = 0x00000005
- Sun May 28 10:30:44 2023 kern.err kernel: [308271.277229] 7981@C02L1,mt7981_dump_ser_stat() 6683: ::E R , SER_HOST_STAGE = 0x00000002
- Sun May 28 10:30:44 2023 kern.err kernel: [308271.285659] 7981@C02L1,mt7981_dump_ser_stat() 6685: ::E R , SER_MCU_TO_HOST = 0x00000010
- Sun May 28 10:30:44 2023 kern.err kernel: [308271.294328] 7981@C02L1,mt7981_dump_ser_stat() 6681: ::E R , SER_HOST_STEP = 0x00000005
- Sun May 28 10:30:44 2023 kern.err kernel: [308271.302772] 7981@C02L1,mt7981_dump_ser_stat() 6683: ::E R , SER_HOST_STAGE = 0x00000004
- Sun May 28 10:30:44 2023 kern.err kernel: [308271.311204] 7981@C02L1,mt7981_dump_ser_stat() 6685: ::E R , SER_MCU_TO_HOST = 0x00000020
- Sun May 28 10:30:47 2023 kern.info kernel: [308274.190511] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 100Mbps/Half - flow control off
- Sun May 28 10:30:47 2023 kern.info kernel: [308274.199093] br-lan: port 1(eth1) entered blocking state
- Sun May 28 10:30:47 2023 kern.info kernel: [308274.204430] br-lan: port 1(eth1) entered forwarding state
- Sun May 28 10:30:47 2023 daemon.notice netifd: Network device 'eth1' link is up
复制代码
这是ping的输出。❯ ping 192.168.8.1| awk '{ print strftime("%Y.%m.%d %H:%M:%S",systime())"\t" $0; fflush() }'
2023.05.28 10:30:28 PING 192.168.8.1 (192.168.8.1) 56(84) 字节的数据。
2023.05.28 10:30:28 64 字节,来自 192.168.8.1: icmp_seq=1 ttl=64 时间=0.546 毫秒
2023.05.28 10:30:29 64 字节,来自 192.168.8.1: icmp_seq=2 ttl=64 时间=0.535 毫秒
2023.05.28 10:30:30 64 字节,来自 192.168.8.1: icmp_seq=3 ttl=64 时间=0.634 毫秒
2023.05.28 10:30:31 64 字节,来自 192.168.8.1: icmp_seq=4 ttl=64 时间=0.591 毫秒
2023.05.28 10:30:32 64 字节,来自 192.168.8.1: icmp_seq=5 ttl=64 时间=0.676 毫秒
2023.05.28 10:30:33 64 字节,来自 192.168.8.1: icmp_seq=6 ttl=64 时间=0.681 毫秒
2023.05.28 10:30:35 64 字节,来自 192.168.8.1: icmp_seq=7 ttl=64 时间=0.574 毫秒
2023.05.28 10:30:36 64 字节,来自 192.168.8.1: icmp_seq=8 ttl=64 时间=0.609 毫秒
2023.05.28 10:30:37 64 字节,来自 192.168.8.1: icmp_seq=9 ttl=64 时间=0.545 毫秒
2023.05.28 10:30:47 来自 192.168.8.51 icmp_seq=16 目标主机不可达
2023.05.28 10:30:47 来自 192.168.8.51 icmp_seq=17 目标主机不可达
2023.05.28 10:30:47 来自 192.168.8.51 icmp_seq=18 目标主机不可达
2023.05.28 10:30:47 来自 192.168.8.51 icmp_seq=19 目标主机不可达
2023.05.28 10:30:48 64 字节,来自 192.168.8.1: icmp_seq=20 ttl=64 时间=15.4 毫秒
2023.05.28 10:30:49 64 字节,来自 192.168.8.1: icmp_seq=21 ttl=64 时间=0.511 毫秒
2023.05.28 10:30:50 64 字节,来自 192.168.8.1: icmp_seq=22 ttl=64 时间=0.485 毫秒
2023.05.28 10:30:51 64 字节,来自 192.168.8.1: icmp_seq=23 ttl=64 时间=0.556 毫秒
2023.05.28 10:30:52 64 字节,来自 192.168.8.1: icmp_seq=24 ttl=64 时间=0.583 毫秒
2023.05.28 10:30:53 64 字节,来自 192.168.8.1: icmp_seq=25 ttl=64 时间=0.567 毫秒
2023.05.28 10:30:54 64 字节,来自 192.168.8.1: icmp_seq=26 ttl=64 时间=0.783 毫秒
2023.05.28 10:30:55 64 字节,来自 192.168.8.1: icmp_seq=27 ttl=64 时间=0.771 毫秒
可以发现在ping断流的时候,就是网卡shutdown的时候。
|
|