coolsnowwolf / lede

Lean's LEDE source
Other
29.82k stars 19.53k forks source link

各位德华彦祖帮看看有个网口老断流重启是怎么回事 #10357

Open zhangdp opened 2 years ago

zhangdp commented 2 years ago

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

(1) 具体问题

A:i2250v B3有一个网口eth1经常性的断开重启,我应该怎么排查,难道这就是i225-v B3本身的断流问题?还是说是固件问题还是软件不兼容?有搜到关闭sfe的,尝试关闭了好像依旧。

(2) 路由器型号和固件版本

A:j4125 4*i225-v B3 内核5.15.41

(3) 详细日志

A: 系统日志: Thu Nov 3 15:08:40 2022 kern.info kernel: [ 2125.350392] igc 0000:02:00.0 eth1: NIC Link is Down Thu Nov 3 15:08:40 2022 kern.info kernel: [ 2125.355902] br-lan: port 1(eth1) entered disabled state Thu Nov 3 15:08:40 2022 daemon.notice netifd: Network device 'eth1' link is down Thu Nov 3 15:08:43 2022 kern.info kernel: [ 2128.314602] igc 0000:02:00.0 eth1: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX Thu Nov 3 15:08:44 2022 kern.info kernel: [ 2128.986349] br-lan: port 1(eth1) entered blocking state Thu Nov 3 15:08:44 2022 kern.info kernel: [ 2128.991985] br-lan: port 1(eth1) entered forwarding state Thu Nov 3 15:08:44 2022 daemon.notice netifd: Network device 'eth1' link is up Thu Nov 3 15:12:26 2022 kern.info kernel: [ 2351.398229] igc 0000:02:00.0 eth1: NIC Link is Down Thu Nov 3 15:12:26 2022 kern.info kernel: [ 2351.403776] br-lan: port 1(eth1) entered disabled state Thu Nov 3 15:12:26 2022 daemon.notice netifd: Network device 'eth1' link is down Thu Nov 3 15:12:29 2022 kern.info kernel: [ 2354.182439] igc 0000:02:00.0 eth1: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX Thu Nov 3 15:12:30 2022 kern.info kernel: [ 2354.846191] br-lan: port 1(eth1) entered blocking state Thu Nov 3 15:12:30 2022 kern.info kernel: [ 2354.851803] br-lan: port 1(eth1) entered forwarding state Thu Nov 3 15:12:30 2022 daemon.notice netifd: Network device 'eth1' link is up Thu Nov 3 15:13:15 2022 kern.info kernel: [ 2400.297439] igc 0000:02:00.0 eth1: NIC Link is Down Thu Nov 3 15:13:15 2022 kern.info kernel: [ 2400.302913] br-lan: port 1(eth1) entered disabled state Thu Nov 3 15:13:15 2022 daemon.notice netifd: Network device 'eth1' link is down Thu Nov 3 15:13:19 2022 kern.info kernel: [ 2403.749646] igc 0000:02:00.0 eth1: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX Thu Nov 3 15:13:19 2022 kern.info kernel: [ 2403.758875] br-lan: port 1(eth1) entered blocking state Thu Nov 3 15:13:19 2022 kern.info kernel: [ 2403.764506] br-lan: port 1(eth1) entered forwarding state Thu Nov 3 15:13:19 2022 daemon.notice netifd: Network device 'eth1' link is up Thu Nov 3 15:13:49 2022 kern.info kernel: [ 2434.096903] igc 0000:02:00.0 eth1: NIC Link is Down Thu Nov 3 15:13:49 2022 kern.info kernel: [ 2434.102374] br-lan: port 1(eth1) entered disabled state Thu Nov 3 15:13:49 2022 daemon.notice netifd: Network device 'eth1' link is down Thu Nov 3 15:13:52 2022 kern.info kernel: [ 2437.381113] igc 0000:02:00.0 eth1: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX Thu Nov 3 15:13:52 2022 kern.info kernel: [ 2437.390305] br-lan: port 1(eth1) entered blocking state Thu Nov 3 15:13:52 2022 kern.info kernel: [ 2437.395904] br-lan: port 1(eth1) entered forwarding state Thu Nov 3 15:13:52 2022 daemon.notice netifd: Network device 'eth1' link is up

内核日志: [ 416.569649] igc 0000:02:00.0 eth1: NIC Link is Down [ 416.575277] br-lan: port 1(eth1) entered disabled state [ 416.581008] igc 0000:02:00.0 eth1: Register Dump [ 416.585878] igc 0000:02:00.0 eth1: Register Name Value [ 416.591503] igc 0000:02:00.0 eth1: CTRL 181c0641 [ 416.597441] igc 0000:02:00.0 eth1: STATUS 40380681 [ 416.603306] igc 0000:02:00.0 eth1: CTRL_EXT 10000040 [ 416.609106] igc 0000:02:00.0 eth1: MDIC 18017949 [ 416.614900] igc 0000:02:00.0 eth1: ICR 00000000 [ 416.620715] igc 0000:02:00.0 eth1: RCTL 0440803a [ 416.626547] igc 0000:02:00.0 eth1: RDLEN[0-3] 00001000 00001000 00001000 00001000 [ 416.634860] igc 0000:02:00.0 eth1: RDH[0-3] 00000099 000000cb 0000007a 00000091 [ 416.643143] igc 0000:02:00.0 eth1: RDT[0-3] 00000098 000000ca 00000079 00000090 [ 416.651462] igc 0000:02:00.0 eth1: RXDCTL[0-3] 02040808 02040808 02040808 02040808 [ 416.659709] igc 0000:02:00.0 eth1: RDBAL[0-3] 05a6c000 04759000 06f74000 06f6f000 [ 416.667993] igc 0000:02:00.0 eth1: RDBAH[0-3] 00000001 00000001 00000001 00000001 [ 416.676267] igc 0000:02:00.0 eth1: TCTL a503f0fa [ 416.682156] igc 0000:02:00.0 eth1: TDBAL[0-3] 06e1b000 045ae000 06f92000 03989000 [ 416.690390] igc 0000:02:00.0 eth1: TDBAH[0-3] 00000001 00000001 00000001 00000001 [ 416.698683] igc 0000:02:00.0 eth1: TDLEN[0-3] 00001000 00001000 00001000 00001000 [ 416.706932] igc 0000:02:00.0 eth1: TDH[0-3] 000000d4 0000008e 00000049 0000007b [ 416.715201] igc 0000:02:00.0 eth1: TDT[0-3] 000000f0 0000008e 00000049 0000007b [ 416.723547] igc 0000:02:00.0 eth1: TXDCTL[0-3] 02100108 02100108 02100108 02100108 [ 416.731852] igc 0000:02:00.0 eth1: Reset adapter [ 419.559145] igc 0000:02:00.0 eth1: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX [ 420.235159] br-lan: port 1(eth1) entered blocking state [ 420.240803] br-lan: port 1(eth1) entered forwarding state

zhangdp commented 2 years ago

要如何查看网卡是不是b1 b2冒充的b3版本?

coolsnowwolf commented 2 years ago

225 B2 受害者

ecrasy commented 2 years ago

lspci | grep 'Ethernet'