Intel NIC installation: 82575/6

Issues related to hardware problems
Post Reply
durchd8.de
Posts: 20
Joined: 2015/01/09 14:58:55

Intel NIC installation: 82575/6

Post by durchd8.de » 2015/01/09 15:02:39

Got a server with an Intel Gigabit NIC 82575/6. Intel offers updated drivers for Linux at https://downloadcenter.intel.com/Detail ... ldID=24598

Since this NIC is not offered in vanilla CentOS 7: How do I install this module, so that I can do normal kernel updates afterwards?

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

Re: Intel NIC installation: 82575/6

Post by TrevorH » 2015/01/09 16:12:31

It is offered in the standard kernel - module igb is present and says it supports those cards. Failing that ELRepo has kmod-igb-5.2.9.4-1.el7.elrepo
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

durchd8.de
Posts: 20
Joined: 2015/01/09 14:58:55

Re: Intel NIC installation: 82575/6

Post by durchd8.de » 2015/01/09 22:45:28

TrevorH wrote:It is offered in the standard kernel - module igb is present and says it supports those cards. Failing that ELRepo has kmod-igb-5.2.9.4-1.el7.elrepo
Here you are right and I was wrong. Thank you alot, your remark sent me on the right track to get it sorted.

Problem was:
- CentOS 7 Minimal Image was "enhanced" with a vanilla Kernel
- /var was on an lvm-partition (which kills auditd)
- /boot/grub2/grub.cfg was edited and not generated via /etc/default/grub (the latter was obviously a remain of the vanilla-kernel install with 3w-xxxx, 3w-9xxx,...). This resulted in weird dracut errors.
- An update to 3.10.0-123.13.2.el7.x86_64 "activated" the borked default-grub and sent the server to hell by mounting /dev/sdax AND /dev/sdbx and not the RAID1-partition
- ... (much more minor stuff)

Solution:
1. get /etc/default/grub right and generate the grub.cfgs
2. Make sure to set a comment (#) in front of "add_drivers+= ...." in /etc/dracut.conf (I have no experience with dracut, hence this temporary solution by having grub_preload_modules).
3. yum update to current kernel
4. make sure /etc/default/grub supports your RAID before reboot.

My current /etc/default/grub (need to clean it up - yeah):

Code: Select all

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
#GRUB_DISABLE_LINUX_UUID=true
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
#GRUB_CMDLINE_LINUX="rd.driver=raid1,ahci,dm_mod,part_gpt domdadm dolvm rd.lvm.vg=vg00 rd.lvm.lv=vg00/usr console=ttyS0,57600 console=tty0"
GRUB_CMDLINE_LINUX="rd.auto rd.auto=1 domdadm dolvm rd.lvm.vg=vg00 rd.lvm.lv=vg00/usr console=ttyS0,57600 console=tty0 crashkernel=auto"
GRUB_TERMINAL=serial
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=57600"
GRUB_DISABLE_RECOVERY="true"
GRUB_PRELOAD_MODULES="part_gpt raid mdraid raid5rec raid6rec dm_nv mdraid09 mdraid1x xfs"
Thx again for the heads up and help! Hope this one helps others to get back on track.

Martin

Post Reply