Installation failed

General support questions
Post Reply
Bigtwin
Posts: 32
Joined: 2012/05/11 08:48:32

Installation failed

Post by Bigtwin » 2014/07/10 20:07:05

I tried to install Centos 7.
I have a self-build nas, with an Asus M4N78-VM system board, with an integrated Network interface.

USB booting the DVD iso, or everyting iso, do not recognise my NIC. When I reboot after the installation has finished, there is nog network interface known to the system.

I updated the BIOS, no difference. I do a clean install, wiping the complete 6.5 install.

The nic is not known, and stays unfindable.

Anyone any idea how to resolve this problem?

User avatar
TrevorH
Forum Moderator
Posts: 27127
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Installation failed

Post by TrevorH » 2014/07/10 20:19:10

According to Asus' specs page it has a Realtek 8211 NIC. If you run lspci -nn | grep -i net that should give you a PCI vendor:device id pair. You can see if any current driver supports that like this using mine ofr reference):

Code: Select all

$ lspci -nn | grep -i net
03:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
07:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
$ grep -i 8086 /lib/modules/2.6.32-431.20.3.el6.x86_64/modules.* | grep -i 1533
/lib/modules/2.6.32-431.20.3.el6.x86_64/modules.alias:alias pci:v00008086d00001533sv*sd*bc*sc*i* igb
/lib/modules/2.6.32-431.20.3.el6.x86_64/modules.pcimap:igb                  0x00008086 0x00001533 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
That shows there is a driver inclued in 6.5 and that it's called igb. The paths to the modules will vary depending on what kernel you have installed and what version of CentOS you have installed but you can tab complete the path. If the greps return no results then there is no driver. Now you go to ELRepo (found via google) and search there for a kmod driver and see if they provide one. If they do then you download it, stick it on a USB stick and transfer it to the machine and use yum install kmod-whatever-x.y.rpm to install it.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

Bigtwin
Posts: 32
Joined: 2012/05/11 08:48:32

Re: Installation failed

Post by Bigtwin » 2014/07/11 02:55:26

Hi TrevorH, thanks for your help...

# lspci -nn | grep -i net
00:0a.0 Ethernet controller [0200]: NVIDIA Corporation MCP77 Ethernet [10de:0760] (rev a2)

# grep -i 10de /lib/modules/2.6.32-431.20.3.el6.x86_64/modules.* | grep -i 0760
/lib/modules/2.6.32-431.20.3.el6.x86_64/modules.alias:alias pci:v000010DEd00000760sv*sd*bc*sc*i* forcedeth
/lib/modules/2.6.32-431.20.3.el6.x86_64/modules.pcimap:forcedeth 0x000010de 0x00000760 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0

ELRepo says:

kmod-forcedeth
This package provides the forcedeth kernel modules for nVidia/nForce NICs.
It is built to depend upon the specific ABI provided by a range of releases
of the same variant of the Linux kernel and not on any one specific build.


Driver Versions
Kmod Package ELRepo Kmod Version EL5 Kernel EL6 Kernel EL7 Kernel
forcedeth 0.62 0.64 not stated n/a

ELRepo says:

To select the correct driver package for your hardware, please follow the example below.

[user@elrepo]$ /sbin/lspci | grep -i Ethernet
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)

[user@elrepo]$ /sbin/lspci -n | grep '04:00.0'
04:00.0 0200: 10ec:8168 (rev 01)


Searching for the vendor:device ID pairing of 10ec:8168 shows that kmod-r8168 should work with this Ethernet controller.


That would result for my NIC in:

forcedeth.ko
pci 10DE:0760 kmod-forcedeth

So I need kmod-forcedeth, but where to find it?

Alternatively, complie it?

User avatar
TrevorH
Forum Moderator
Posts: 27127
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Installation failed

Post by TrevorH » 2014/07/11 08:47:10

So that should explain why it works on 6.5 and not on 7.0 since forcedeth was one of the ethernet modules that Redhat decided to drop support for in 7.0.

ELRepo may provide kmod drivers for some of those removed drivers but you will have to ask them for it. I suggest you raise an RFE on the ELRepo bugtracker and ask if they can provide a kmod-forcedeth. It seems to be one of the more popular of the "removed" ones so far as you are not the first to ask.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

Bigtwin
Posts: 32
Joined: 2012/05/11 08:48:32

Re: Installation failed

Post by Bigtwin » 2014/07/12 08:14:30

Trevor, thanks for your help.

On your tips, I found 2 drivers.
Elrepo:
forcedeth-kmod-0.64-1.el7.centos.src.rpm 53 Kb
Some other rpm site:
kmod-forcedeth-0.64-1.el7.elrepo.x86_64.rpm 47Kb.

The last one I installed first, Works. Did not try the first one.

Somewhat strange, the rpm from elrepo has centos in its name, from the other site has elrepo in its name. It are different rpm's, as the size differs.

Works for me, I can start exploring Centos 7.

Thanks again.

User avatar
TrevorH
Forum Moderator
Posts: 27127
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Installation failed

Post by TrevorH » 2014/07/12 10:44:45

The first one is the a 'src' RPM which is what is used to build a binary RPM using the rpmbuild utility.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - General Support”