NIC stopped, pcie_aspm=off

Error:

=====

# tail -100f /var/log/messages

If you see any of the following ‘e1000e’ errors or any other errors with e1000e:-
e1000e: eth0 NIC Link is Down
e1000e 0000:03:00.0: eth0: Reset adapter
e1000e 0000:03:00.0: eth0: Reset adapter unexpectedly
e1000e 0000:03:00.0: eth0: Timesync Tx Control register not set as expected
e1000e 0000:03:00.0: eth0: Cannot change link characteristics when SoL/IDER is active.

===

On some newer model Intel NICs they fall asleep at random when using Centos 6.X, or even other OS’s. To combat this, there is a simple addition to the grub.conf that will disable PCIe_ASPM. At the command line enter:
vi /etc/grub.conf
Once in the grub.conf file, insert this into the end of the kernel line:
pcie_aspm=off
It should then look like this:

===

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_136-lv_root
# initrd /initrd-[generic-]version.img
kernel /vmlinuz-2.6.32-504.el6.x86_64 ro root=/dev/mapper/vg_136-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 rd_LVM_LV=vg_136/lv_root rd_LVM_LV=vg_136/lv_swap KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet rd_NO_DM rhgb quiet pcie_aspm=off
initrd /initramfs-2.6.32-504.el6.x86_64.img

===

Exit, save, and reboot for changes to take effect.

You could confirm it from the below command.

 

dmesg|grep PCIe

==
PCIe ASPM is disabled
==

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s