服务器是 centos6,运行几天突然就连不上了,重启网络服务无效,重启系统有效,但是不久又出错了,日志/var/log/messages 如下:
Dec 28 03:49:51 kvm1 kernel: ————[ cut here ]————
Dec 28 03:49:51 kvm1
kernel: WARNING: at net/sched/sch_generic.c:261 dev_watchdog+0x26b/0×280() (Not
tainted)
Dec 28 03:49:51 kvm1 kernel: Hardware name: X8SIL
Dec 28 03:49:51
kvm1 kernel: NETDEV WATCHDOG: eth0 (e1000e): transmit queue 0 timed out
Dec
28 03:49:51 kvm1 kernel: Modules linked in: ip6table_filter ip6_tables
ebtable_nat ebtables cpufreq_ondemand acpi_cpufreq freq_table mperf bridge stp
llc ipv6 ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle ipt_REJECT
nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables
ext3 jbd tcp_hybla vhost_net macvtap macvlan tun kvm_intel kvm iTCO_wdt
iTCO_vendor_support microcode serio_raw i2c_i801 i2c_core sg lpc_ich mfd_core
e1000e ptp pps_core ext4 jbd2 mbcache raid1 sd_mod crc_t10dif ahci dm_mirror
dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]
Dec 28 03:49:51
kvm1 kernel: Pid: 0, comm: swapper Not tainted 2.6.32-431.1.2.0.1.el6.x86_64
#1
Dec 28 03:49:51 kvm1 kernel: Call Trace:
Dec 28 03:49:51 kvm1 kernel:[] ? warn_slowpath_common+0×87/0xc0
Dec 28 03:49:51
kvm1 kernel: [] ? warn_slowpath_fmt+0×46/0×50
Dec 28
03:49:51 kvm1 kernel: [] ? dev_watchdog+0x26b/0×280
Dec 28
03:49:51 kvm1 kernel: [] ? insert_work+0x6d/0xb0
Dec 28
03:49:51 kvm1 kernel: [] ? ktime_get+0×69/0xf0
Dec 28
03:49:51 kvm1 kernel: [] ?
internal_add_timer+0xb5/0×110
Dec 28 03:49:51 kvm1 kernel:
[] ? dev_watchdog+0×0/0×280
Dec 28 03:49:51 kvm1 kernel:
[] ? run_timer_softirq+0×197/0×340
Dec 28 03:49:51 kvm1
kernel: [] ? hrtimer_interrupt+0x14b/0×260
Dec 28 03:49:51
kvm1 kernel: [] ? __do_softirq+0xc1/0x1e0
Dec 28 03:49:51
kvm1 kernel: [] ? handle_IRQ_event+0×60/0×170
Dec 28
03:49:51 kvm1 kernel: [] ? call_softirq+0x1c/0×30
Dec 28
03:49:51 kvm1 kernel: [] ? do_softirq+0×65/0xa0
Dec 28
03:49:51 kvm1 kernel: [] ? irq_exit+0×85/0×90
Dec 28
03:49:51 kvm1 kernel: [] ? do_IRQ+0×75/0xf0
Dec 28 03:49:51
kvm1 kernel: [] ? ret_from_intr+0×0/0×11
Dec 28 03:49:51
kvm1 kernel:[] ? intel_idle+0xde/0×170
Dec 28
03:49:51 kvm1 kernel: [] ? intel_idle+0xc1/0×170
Dec 28
03:49:51 kvm1 kernel: [] ? cpuidle_idle_call+0xa7/0×140
Dec
28 03:49:51 kvm1 kernel: [] ? cpu_idle+0xb6/0×110
Dec 28
03:49:51 kvm1 kernel: [] ? start_secondary+0x2ac/0x2ef
Dec
28 03:49:51 kvm1 kernel: —[ end trace 69984a1fbc565938 ]—
Dec 28 03:49:51
kvm1 kernel: e1000e 0000:04:00.0: eth0: Reset adapter unexpectedly
Dec 28
03:49:52 kvm1 kernel: e1000e 0000:04:00.0: eth0: Timesync Tx Control register
not set as expected
搜索后发现遇到的人也挺多,都是e1000e,有的说换一下驱动就好”Installed elrepo’s kmod-e1000e and so far so
good…”
http://lists.centos.org/pipermail/centos/2011-September/118200.html
我采用了这个方案,目前没问题 elrepo是提供一些通用驱动的源
rpm -Uvh
http://elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm
yum install
kmod-e1000e
WARNING: at net/sched/sch_generic.c:261 dev_watchdog 错误 e1000e,布布扣,bubuko.com