e1000 드라이버가 업데이트되고 인터페이스가 사라졌습니다.

e1000 드라이버가 업데이트되고 인터페이스가 사라졌습니다.

3개의 LAN 카드가 있는 Intel 서버.

 Board Mfg             : Intel
 Board Product         : S5000PHB  

06:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
06:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
07:00.0 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01)
07:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01)
08:03.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
08:03.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)

이전 드라이버:

root@server2[/root]#modinfo  e1000
filename:       /lib/modules/2.6.18-53.el5PAE/kernel/drivers/net/e1000/e1000.ko
version:        7.3.20-k2-NAPI
license:        GPL
description:    Intel(R) PRO/1000 Network Driver
author:         Intel Corporation, <[email protected]>

버전 8을 다운로드하고 드라이버의 README에 따라 일반적인 방법으로 설치합니다.

root@server2[/var/tmp/e1000-8.0.35/src]#make install
make -C /lib/modules/2.6.18-53.el5PAE/build SUBDIRS=/var/tmp/e1000-8.0.35/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-53.el5-PAE-i686'
  CC [M]  /var/tmp/e1000-8.0.35/src/e1000_main.o
  CC [M]  /var/tmp/e1000-8.0.35/src/e1000_82540.o
  CC [M]  /var/tmp/e1000-8.0.35/src/e1000_82542.o
  CC [M]  /var/tmp/e1000-8.0.35/src/e1000_82541.o
  CC [M]  /var/tmp/e1000-8.0.35/src/e1000_82543.o
  CC [M]  /var/tmp/e1000-8.0.35/src/e1000_mac.o
  CC [M]  /var/tmp/e1000-8.0.35/src/e1000_nvm.o
  CC [M]  /var/tmp/e1000-8.0.35/src/e1000_phy.o
  CC [M]  /var/tmp/e1000-8.0.35/src/e1000_manage.o
  CC [M]  /var/tmp/e1000-8.0.35/src/e1000_param.o
  CC [M]  /var/tmp/e1000-8.0.35/src/e1000_ethtool.o
  CC [M]  /var/tmp/e1000-8.0.35/src/kcompat.o
  CC [M]  /var/tmp/e1000-8.0.35/src/e1000_api.o
  LD [M]  /var/tmp/e1000-8.0.35/src/e1000.o
  Building modules, stage 2.
  MODPOST
  CC      /var/tmp/e1000-8.0.35/src/e1000.mod.o
  LD [M]  /var/tmp/e1000-8.0.35/src/e1000.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-53.el5-PAE-i686'
gzip -c ../e1000.7 > e1000.7.gz
# remove all old versions of the driver
find /lib/modules/2.6.18-53.el5PAE -name e1000.ko -exec rm -f {} \; || true
find /lib/modules/2.6.18-53.el5PAE -name e1000.ko.gz -exec rm -f {} \; || true
install -D -m 644 e1000.ko /lib/modules/2.6.18-53.el5PAE/kernel/drivers/net/e1000/e1000.ko
/sbin/depmod -a || true
install -D -m 644 e1000.7.gz /usr/share/man/man7/e1000.7.gz
man -c -P'cat > /dev/null' e1000 || true
No manual entry for e1000

그러다가 도망갔어rmmod e1000그리고모드프로브 e1000. 모든 구성 파일은 여전히 ​​원래 위치에 있습니다. lsmod디스플레이 모듈이 로드되었습니다.

Modinfo는 드라이버의 새 버전을 표시합니다.

root@server2[/]#modinfo  e1000
filename:       /lib/modules/2.6.18-53.el5PAE/kernel/drivers/net/e1000/e1000.ko
version:        8.0.35-NAPI
license:        GPL
description:    Intel(R) PRO/1000 Network Driver
author:         Intel Corporation, <[email protected]>

그러나 이제는 eth0 및 eth1 인터페이스만 사용할 수 있습니다. 따라서 eth2, eth3, eth4 및 eth5는 이제 사라졌습니다.

root@server2[/]#service network restart
Shutting down interface bond0:                             [  OK  ]
Shutting down interface bond1:                             [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface bond0:  e1000 device eth2 does not seem to be present, delaying initialization.
                                                           [  OK  ]
Bringing up interface bond1:  e1000 device eth3 does not seem to be present, delaying initialization.
                                                           [  OK  ]
Bringing up interface eth4:  e1000 device eth4 does not seem to be present, delaying initialization.
                                                           [FAILED]

root@server2[/sys/class/net]#ls -la 
total 0
drwxr-xr-x  7 root root 0 Feb 17 17:22 .
drwxr-xr-x 26 root root 0 Feb 17 10:40 ..
drwxr-xr-x  4 root root 0 Feb 17 10:40 bond0
drwxr-xr-x  4 root root 0 Feb 17 10:40 bond1
-rw-r--r--  1 root root 0 Feb 17 10:40 bonding_masters
drwxr-xr-x  3 root root 0 Feb 17 17:22 eth0
drwxr-xr-x  3 root root 0 Feb 17 17:22 eth1
drwxr-xr-x  3 root root 0 Feb 17 10:40 lo

다시 시작해도 도움이되지 않았습니다. dmesg는 다른 인터페이스를 도입하려는 시도를 표시하지 않습니다.

root@server2[/root]#dmesg | grep -i eth
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
Ethernet Channel Bonding Driver: v3.1.2 (January 20, 2007)
bonding: bond0: Unable to set eth0 as primary slave as it is not a slave.
bonding: bond0: Adding slave eth0.
bonding: bond0: enslaving eth0 as a backup interface with a down link.
bonding: bond0: Setting eth0 as primary slave.
e1000: eth0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
bonding: bond1: Unable to set eth3 as primary slave as it is not a slave.
bonding: bond1: Adding slave eth1.
bonding: bond1: enslaving eth1 as a backup interface with a down link.
bonding: bond1: Unable to set eth3 as primary slave as it is not a slave.
e1000: eth1: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
bonding: bond0: link status definitely up for interface eth0.
bonding: bond0: making interface eth0 the new active one.
bonding: bond1: link status definitely up for interface eth1.
bonding: bond1: making interface eth1 the new active one.

나는 그것을 작동시키기 위해 많은 시간을 보냈습니다. 내가 시도한 모든 것을 기억할 수 없습니다. 귀하의 시스템이 네트워크 인터페이스를 여는 방법과 현재는 그렇게 하지 않는 이유에 대한 제안, 팁 또는 정보를 제공해 주시면 감사하겠습니다.

관련 정보