虚拟化容器,大数据,DBA,中间件,监控。

Centos6网卡: e1000e Timesync Tx Control register not set as expected

26 01月
作者:admin|分类:系统运维

How To Fix NIC Link is Down On Centos 6.5 

Centos6网卡:  e1000e Timesync Tx Control register not set as expected


Since upgrading a CentOS 6.4 with a SuperMicro X8SIE-F/X9SCL board with Intel 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
kernel: NETDEV WATCHDOG: eth1 (e1000e): transmit queue 0 timed out
kernel: e1000e 0000:02:00.0: eth1: Reset adapter unexpectedly
kernel: e1000e 0000:02:00.0: eth1: Timesync Tx Control register not set as expected
kernel: e1000e 0000:02:00.0: eth1: Timesync Tx Control register not set as expected
kernel: e1000e 0000:02:00.0: eth1: Timesync Tx Control register not set as expected
kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
# uname -a
Linux 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/Linux
# 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://bugzilla.redhat.com/show_bug.cgi?id=625776
https://lkml.org/lkml/2012/3/17/48
http://lists.centos.org/pipermail/centos/2011-September/118027.html
http://sourceforge.net/p/e1000/bugs/358/

A quick step to fix this problem

Step 1. Login SSH as root

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

# shutdown -r now
浏览3425 评论0
返回
目录
返回
首页
luNamp/lumanager升级mysql5.6/5.7方法 oneproxy---mysql代理集群安装