NIC isn't recognised by CentOS7 KS

Issues related to hardware problems
Post Reply
srinivas_pithani
Posts: 21
Joined: 2018/06/08 17:25:29

NIC isn't recognised by CentOS7 KS

Post by srinivas_pithani » 2018/06/19 08:48:01

hi guys, I am trying to install centos 7 on new Dell R640 and it only recognises 2 NIC cards as em3 & em4 (1GB) . I am trying to install the system using kickstart file . Machine is being assigned IP from the switch, I can see the 10GB NIC MAC ( which I suppose should considered as em1) on the switch and during pxe install I can see the exact MAC is binded to my required IP . Now I get the grub boot menu and then it tries to fetch initrd/vmlinuz images, which looks fine & then two things happen , either it takes me to a dracut shell or comes up with a menu informing me to select em3/4 ( even though link isnt ready) and cant proceed as they arent connected
Additonal actions done:
- I have installed the system using DVD , I see the em1 is available and state as UP ( which is true since this is the only port connected out of 4 ports that comes by default ) rest are showing up as expected & one note the order after I enter 'ip addr show ' is em3,em4 , em1,em2 - quite strange to me why em3 on top. As per info from some forums I tried to check net.d rules but it doesnt have any

Below is my grub menu

label centos7
kernel centos7/images/pxeboot/vmlinuz
initrd centos7/images/pxeboot/initrd.img
append inst.repo=ftp://x.x.x.x/pub/centos7 inst.ks=ftp://x.x.x.x/pub/centos7/ks7.cfg inst.text inst.kdump_addon=off

I am missing anything here, I have added this line later on my ks.cfg but doesnt help

grep -i net ks7.cfg
network --bootproto=dhcp --device=em1


I have no clues on why it is behaving in this manner, appreciate any inputs in this case .

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

Re: NIC isn't recognised by CentOS7 KS

Post by TrevorH » 2018/06/19 12:23:37

I moved your post from the CentOS 6 Hardware forum to the CentOS 7 one as it was in the wrong place.

I suspect you'll need to look at the various logs from the installer - they are on the tmux screens accessible using the key combinations listed at the bottom of the screen. You might also try appending ksdevice=em1 or ksdevice=link to your kernel command line.
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

srinivas_pithani
Posts: 21
Joined: 2018/06/08 17:25:29

Re: NIC isn't recognised by CentOS7 KS

Post by srinivas_pithani » 2018/06/19 13:41:23

I tried to add ksdevice=link & em1 to the kernal line but it doesnt pick up . Still goes into dracut shell .

srinivas_pithani
Posts: 21
Joined: 2018/06/08 17:25:29

Re: NIC isn't recognised by CentOS7 KS

Post by srinivas_pithani » 2018/06/19 15:19:40

I am not sure but this the closest info I have got but looks like it is related to coreos , if anyone has inputs to share appreicate that
https://github.com/coreos/bugs/issues/2314

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

Re: NIC isn't recognised by CentOS7 KS

Post by TrevorH » 2018/06/19 15:49:09

The CentOS 7 kernel already contains bnxt_en.ko.

What is the output from lspci -nn | grep -i net ?
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

srinivas_pithani
Posts: 21
Joined: 2018/06/08 17:25:29

Re: NIC isn't recognised by CentOS7 KS

Post by srinivas_pithani » 2018/06/19 16:46:00

I have installed the system using DVD image . I see the following . Though this thread was for CentOS7 installation , I have to go with 6.9 Final due to internal requirements

# lspci -nn | grep -i net
01:00.0 Ethernet controller [0200]: Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe [14e4:165f]
01:00.1 Ethernet controller [0200]: Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe [14e4:165f]
18:00.0 Ethernet controller [0200]: Broadcom Limited BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller [14e4:16d8]
18:00.1 Ethernet controller [0200]: Broadcom Limited BCM57416 NetXtreme-E 10GBase-T RDMA Ethernet Controller [14e4:16d8] (rev 01)

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: NIC isn't recognised by CentOS7 KS

Post by toracat » 2018/06/19 23:49:53

According to the device ID pairings,

[14e4:165f] -> tg3 driver
[14e4:16d8] -> bnxt_en driver

Both drivers are in the CentOS 6.9 kernel. Do you see them in the output of lsmod?
CentOS Forum FAQ

srinivas_pithani
Posts: 21
Joined: 2018/06/08 17:25:29

Re: NIC isn't recognised by CentOS7 KS

Post by srinivas_pithani » 2018/06/20 14:05:05

Yes , I can see them
# lsmod | grep -i tg3
tg3 167514 0
# lsmod | grep -i bnxt
bnxt_en 75370 0

Post Reply