July 21, 2015

How To Fix NIC Link is Down On Centos 6.5 After Upgrade

Since upgrading a  6.4 with a SuperMicro X8SIE-F/X9SCL board with 82574L NIC to 2.6.32-431.el6.x86_64 and rebooting, I have been having consistent NIC failures where the NIC shuts down permanently until a soft reboot is performed.
Type the following commands to get more info about error
# cat /var/log/messages | grep eth1
: NETDEV WATCHDOG: eth1 (e1000e): transmit queue 0 timed out
: e1000e 0000:02:00.0: eth1: Reset adapter unexpectedly
: e1000e 0000:02:00.0: eth1: Timesync Tx Control register not set as expected
: e1000e 0000:02:00.0: eth1: Timesync Tx Control register not set as expected
: e1000e 0000:02:00.0: eth1: Timesync Tx Control register not set as expected
: ADDRCONF(NETDEV_UP): eth1: link is not ready
# uname -a
 svr.lifelinux.com 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/
# ethtool -i eth0
driver: e1000e
version: 2.3.2-k
firmware-version: 0.13-4
bus-info: 0000:00:19.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no
# dmidecode --type baseboard
SMBIOS 2.7 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: Supermicro
        Product Name: X9SCL/X9SCM
        Version: 1.11A
        Serial Number: ZM2BS41603
        Asset Tag: To be filled by O.E.M.
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: To be filled by O.E.M.
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0
I found the following conversations on the net, exactly the same situation:
https://..com/show_bug.cgi?id=625776
https://lkml.org/lkml/2012/3/17/48
http://lists.centos.org/pipermail/centos/2011-September/118027.
http://sourceforge.net/p/e1000/bugs/358/
A quick step to fix this problem
Step 1. Login  as 
Step 2. Add pcie_aspm=off kernel parameters to grub config
# cd /boot/grub
# vi grub.conf
Find and add “pcie_aspm=off” at the end of the kernel parameters
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-431.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-431.el6.x86_64 ro root=/dev/mapper/vg_host10588-lv_root nomodeset rd_NO_LUKS rd_MD_UUID=083ae648:88342690:2c5c8edb:4af053ee rd_LVM_LV=vg_host10588/lv_root SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_MD_UUID=8263fd2d:c008be86:08ead055:2b929ecf rd_LVM_LV=vg_host10588/lv_swap  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM LANG=en_US.UTF-8 rhgb quiet pcie_aspm=off
        initrd /initramfs-2.6.32-431.el6.x86_64.img
Step 3. Save and reboot
source: http://www.gocit.vn/bai-viet/how-to-fix-nic-link-is-down-on-centos-6-5-after-upgrade/

0 comments:

Post a Comment