Interfaces disappeared after update

Issues related to configuring your network
Post Reply
juneaid
Posts: 3
Joined: 2017/11/29 08:29:53

Interfaces disappeared after update

Post by juneaid » 2017/11/29 10:05:19

Hello Folsk,

I have a problem with the network. My server was working fine for the last yum update. After this update when i use ip a i see only lo. When i tried to restart network i see failed: Device enp0s9 does not seem to be present, delaying initialization

Code: Select all

journalctl -xe
-- Unit network.service has begun starting up.
Nov 27 18:19:33 node1.nexbit network[3257]: Bringing up loopback interface:  [  OK  ]
Nov 27 18:19:33 node1.nexbit network[3257]: Bringing up interface enp0s8:  ERROR     : [/etc/sysconfig/network-scripts/ifup-eth] Device  does not seem to be present, delaying initialization.
Nov 27 18:19:33 node1.nexbit /etc/sysconfig/network-scripts/ifup-eth[3377]: Device  does not seem to be present, delaying initialization.
Nov 27 18:19:33 node1.nexbit network[3257]: [FAILED]
Nov 27 18:19:33 node1.nexbit network[3257]: Bringing up interface enp0s9:  ERROR     : [/etc/sysconfig/network-scripts/ifup-eth] Device enp0s9 does not seem to be present, delaying initialization.
Nov 27 18:19:33 node1.nexbit /etc/sysconfig/network-scripts/ifup-eth[3401]: Device enp0s9 does not seem to be present, delaying initialization.
Nov 27 18:19:33 node1.nexbit network[3257]: [FAILED]
Nov 27 18:19:33 node1.nexbit network[3257]: RTNETLINK answers: File exists
Nov 27 18:19:33 node1.nexbit network[3257]: RTNETLINK answers: File exists
Nov 27 18:19:33 node1.nexbit network[3257]: RTNETLINK answers: File exists
Nov 27 18:19:33 node1.nexbit network[3257]: RTNETLINK answers: File exists
Nov 27 18:19:33 node1.nexbit network[3257]: RTNETLINK answers: File exists
Nov 27 18:19:33 node1.nexbit network[3257]: RTNETLINK answers: File exists
Nov 27 18:19:33 node1.nexbit network[3257]: RTNETLINK answers: File exists
Nov 27 18:19:33 node1.nexbit network[3257]: RTNETLINK answers: File exists
Nov 27 18:19:33 node1.nexbit network[3257]: RTNETLINK answers: File exists
Nov 27 18:19:33 node1.nexbit systemd[1]: network.service: control process exited, code=exited status=1
Nov 27 18:19:33 node1.nexbit systemd[1]: Failed to start LSB: Bring up/down networking.
-- Subject: Unit network.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit network.service has failed.
-- 
-- The result is failed.
I disable NetworkManager and removed file /etc/udev/rules.d/70-persistent-net.rules, but afret restart this file wasn't rebuild. I reinstalled network card driver but i still see only lo.
When i use lspci -vv i see this interfaces:

Code: Select all

00:08.0 Bridge: NVIDIA Corporation MCP55 Ethernet (rev a3)
	Subsystem: NVIDIA Corporation Device cb84
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (250ns min, 5000ns max)
	Interrupt: pin A routed to IRQ 10
	NUMA node: 0
	Region 0: Memory at fdef7000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at b000 [size=8]
	Region 2: Memory at fdefa800 (32-bit, non-prefetchable) [size=256]
	Region 3: Memory at fdefa400 (32-bit, non-prefetchable) [size=16]
	Capabilities: [44] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [70] MSI-X: Enable- Count=8 Masked-
		Vector table: BAR=2 offset=00000000
		PBA: BAR=3 offset=00000000
	Capabilities: [50] MSI: Enable- Count=1/8 Maskable+ 64bit+
		Address: 0000000000000000  Data: 0000
		Masking: 00000000  Pending: 00000000
	Capabilities: [6c] HyperTransport: MSI Mapping Enable- Fixed+

00:09.0 Bridge: NVIDIA Corporation MCP55 Ethernet (rev a3)
	Subsystem: NVIDIA Corporation Device cb84
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (250ns min, 5000ns max)
	Interrupt: pin A routed to IRQ 11
	NUMA node: 0
	Region 0: Memory at fdef6000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at ac00 [size=8]
	Region 2: Memory at fdefa000 (32-bit, non-prefetchable) [size=256]
	Region 3: Memory at fdef5c00 (32-bit, non-prefetchable) [size=16]
	Capabilities: [44] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [70] MSI-X: Enable- Count=8 Masked-
		Vector table: BAR=2 offset=00000000
		PBA: BAR=3 offset=00000000
	Capabilities: [50] MSI: Enable- Count=1/8 Maskable+ 64bit+
		Address: 0000000000000000  Data: 0000
		Masking: 00000000  Pending: 00000000
	Capabilities: [6c] HyperTransport: MSI Mapping Enable- Fixed+
	
When i used dmesg |grep -i eth that find nothing.
Maybe it will be useful. Contents of /etc/sysconfig/network-scripts/ifcfg-*

Code: Select all

NAME=enp0s8
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
ONBOOT=yes
IPADDR=192.168.1.146
GATEWAY=192.168.1.1
NETMASK=255.255.255.0
DNS1=192.168.1.131
NM_CONTROLLED=no
UUID=00cb8299-feb9-55b6-a378-3fdc720e0bc6

TYPE=Ethernet
BOOTPROTO=none
DEVICE=enp0s9
ONBOOT=yes
IPADDR=192.168.1.147
PREFIX=24
GATEWAY=192.168.1.1
IPV4_FAILURE_FATAL=no
IPV6INIT=no


List of network patches from last update:

Code: Select all

rpm -qa --last |grep net
net-tools-2.0-0.22.20131004git.el7.x86_64     Wed 15 Nov 2017 06:48:44 PM CET
glib-networking-2.50.0-1.el7.x86_64           Wed 15 Nov 2017 06:46:38 PM CET
dracut-network-033-502.el7.x86_64             Wed 15 Nov 2017 06:46:15 PM CET
When i use rescue mod everything looks ok and i see lo, enp0s8, enp0s9.

Any thoughts? I spend a lot of time and i have no idea how can i fix it.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Interfaces disappeared after update

Post by TrevorH » 2017/11/29 10:21:35

You need an updated version of kmod-forcedeth for your ethernet card. I'm guessing you downloaded the old one manually and installed it when you should also have downloaded and installed the elrepo-release package at the same time. With the elrepo-release package installed, yum knows about the ELRepo repo and will update to newer packages as they are made available. Kmod packages often require rebuilding when a new point release (like 7.4) comes out as RH change the kernel ABI.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

juneaid
Posts: 3
Joined: 2017/11/29 08:29:53

Re: Interfaces disappeared after update

Post by juneaid » 2017/12/06 14:37:37

Thanks for advise, kmod-forcedeth ver.3 helped

Post Reply