igb 检测到 Tx 单元挂起

igb 检测到 Tx 单元挂起

有一个:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty

使用 kenel 3.16.0-46-generic。

今天我进行了 dist-upgrade 并且内核升级到了 3.16.0-48-generic 版本。

重启后我得到了这个:

Sep 4 09:02:52 mail kernel: [ 310.616324] igb 0000:02:00.0 em1: Reset adapter
Sep 4 09:02:52 mail kernel: [ 310.831157] igb 0000:02:00.1 em2: Reset adapter 
Sep 4 09:02:56 mail kernel: [ 315.154686] igb 0000:02:00.0 em1: igb: em1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX 
Sep 4 09:02:56 mail kernel: [ 315.202651] igb 0000:02:00.1 em2: igb: em2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX 
Sep 4 09:03:02 mail kernel: [ 321.608099] igb 0000:02:00.0: Detected Tx Unit Hang
Sep 4 09:03:02 mail kernel: [ 321.608099] Tx Queue <6>
Sep 4 09:03:02 mail kernel: [ 321.608099] TDH <23>
Sep 4 09:03:02 mail kernel: [ 321.608099] TDT <23>
Sep 4 09:03:02 mail kernel: [ 321.608099] next_to_use <25>
Sep 4 09:03:02 mail kernel: [ 321.608099] next_to_clean <23>
Sep 4 09:03:02 mail kernel: [ 321.608099] buffer_info[next_to_clean]
Sep 4 09:03:02 mail kernel: [ 321.608099] time_stamp <1000012af>
Sep 4 09:03:02 mail kernel: [ 321.608099] next_to_watch <ffff880272571240>
Sep 4 09:03:02 mail kernel: [ 321.608099] jiffies <100001531>
Sep 4 09:03:02 mail kernel: [ 321.608099] desc.status <120200>
Sep 4 09:03:04 mail kernel: [ 323.607349] igb 0000:02:00.0: Detected Tx Unit Hang
Sep 4 09:03:04 mail kernel: [ 323.607349] Tx Queue <6>
Sep 4 09:03:04 mail kernel: [ 323.607349] TDH <23>
Sep 4 09:03:04 mail kernel: [ 323.607349] TDT <23>
Sep 4 09:03:04 mail kernel: [ 323.607349] next_to_use <25>
Sep 4 09:03:04 mail kernel: [ 323.607349] next_to_clean <23>
Sep 4 09:03:04 mail kernel: [ 323.607349] buffer_info[next_to_clean]
Sep 4 09:03:04 mail kernel: [ 323.607349] time_stamp <1000012af>
Sep 4 09:03:04 mail kernel: [ 323.607349] next_to_watch <ffff880272571240>
Sep 4 09:03:04 mail kernel: [ 323.607349] jiffies <100001725>
Sep 4 09:03:04 mail kernel: [ 323.607349] desc.status <120200>
Sep 4 09:03:06 mail kernel: [ 325.606602] igb 0000:02:00.0: Detected Tx Unit Hang
Sep 4 09:03:06 mail kernel: [ 325.606602] Tx Queue <6>
Sep 4 09:03:06 mail kernel: [ 325.606602] TDH <23>
Sep 4 09:03:06 mail kernel: [ 325.606602] TDT <23>
Sep 4 09:03:06 mail kernel: [ 325.606602] next_to_use <25>
Sep 4 09:03:06 mail kernel: [ 325.606602] next_to_clean <23>
Sep 4 09:03:06 mail kernel: [ 325.606602] buffer_info[next_to_clean]
Sep 4 09:03:06 mail kernel: [ 325.606602] time_stamp <1000012af>
Sep 4 09:03:06 mail kernel: [ 325.606602] next_to_watch <ffff880272571240>
Sep 4 09:03:06 mail kernel: [ 325.606602] jiffies <100001919>
Sep 4 09:03:06 mail kernel: [ 325.606602] desc.status <120200>

此后所有网络连接均中断。系统仍然无法使用。

只有在使用旧版 linux-image-3.16.0-46-generic 启动后,我的生产邮件服务器才能工作。

对我来说这是一个严重的错误,有人可以帮助我吗?

ethtool -i em1
driver: igb
version: 5.2.13-k
firmware-version: 1.61, 0x80000cd5, 1.949.0
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no

答案1

我决定切换到一个新的 Vivid 内核,这是 Ubuntu 14.04.3 LTS 全新安装时的默认内核:

sudo apt-get install linux-signed-generic-lts-vivid

就我而言,因为有 UEFI BIOS 和

sudo apt-get install linux-generic-lts-vivid

对于旧式 BIOS 的情况。

乌托邦内核可以被删除。

答案2

升级到 3.16.0-48 后出现同样的问题。

我们使用的是 Intel S2600GZ4 服务器,配有 4 个 Intel I350 千兆以太网。我们不得不强制 Grub 启动 3.16.0-46 来解决这个问题。

[ 3187.380957] igb 0000:02:00.0 em1: Reset adapter
[ 3187.403245] igb 0000:02:00.2 em3: Reset adapter
[ 3187.403257] igb 0000:02:00.1 em2: Reset adapter
[ 3187.403259] igb 0000:02:00.3 em4: Reset adapter
[ 3188.858759] igb 0000:02:00.0 em1: igb: em1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[ 3190.295762] igb 0000:02:00.2 em3: igb: em3 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
[ 3190.754805] igb 0000:02:00.2 em3: igb: em3 NIC Link is Down
[ 3191.208233] igb 0000:02:00.3 em4: igb: em4 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 3191.728507] igb 0000:02:00.1 em2: igb: em2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 3194.365870] igb 0000:02:00.2 em3: igb: em3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 3195.445233] igb 0000:02:00.3 em4: igb: em4 NIC Link is Down
[ 3196.189620] igb 0000:02:00.2 em3: igb: em3 NIC Link is Down
[ 3198.435979] igb 0000:02:00.3 em4: igb: em4 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 3199.641563] igb 0000:02:00.2 em3: igb: em3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 3207.043242] igb 0000:02:00.3 em4: igb: em4 NIC Link is Down
[ 3209.384430] igb 0000:02:00.0: Detected Tx Unit Hang
[ 3209.384430]   Tx Queue             <2>
[ 3209.384430]   TDH                  <0>
[ 3209.384430]   TDT                  <0>
[ 3209.384430]   next_to_use          <2>
[ 3209.384430]   next_to_clean        <0>
[ 3209.384430] buffer_info[next_to_clean]
[ 3209.384430]   time_stamp           <1000b1520>
[ 3209.384430]   next_to_watch        <ffff880fe2f68010>
[ 3209.384430]   jiffies              <1000b177e>
[ 3209.384430]   desc.status          <528200>
[ 3210.514216] igb 0000:02:00.3 em4: igb: em4 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 3211.385464] igb 0000:02:00.0: Detected Tx Unit Hang
[ 3211.385464]   Tx Queue             <2>
[ 3211.385464]   TDH                  <0>
[ 3211.385464]   TDT                  <0>
[ 3211.385464]   next_to_use          <2>
[ 3211.385464]   next_to_clean        <0>
[ 3211.385464] buffer_info[next_to_clean]
[ 3211.385464]   time_stamp           <1000b1520>
[ 3211.385464]   next_to_watch        <ffff880fe2f68010>
[ 3211.385464]   jiffies              <1000b1972>
[ 3211.385464]   desc.status          <528200>
[ 3213.386510] igb 0000:02:00.0: Detected Tx Unit Hang
[ 3213.386510]   Tx Queue             <2>
[ 3213.386510]   TDH                  <0>
[ 3213.386510]   TDT                  <0>
[ 3213.386510]   next_to_use          <2>
[ 3213.386510]   next_to_clean        <0>
[ 3213.386510] buffer_info[next_to_clean]
[ 3213.386510]   time_stamp           <1000b1520>
[ 3213.386510]   next_to_watch        <ffff880fe2f68010>
[ 3213.386510]   jiffies              <1000b1b66>
[ 3213.386510]   desc.status          <528200>
[ 3214.386947] igb 0000:02:00.0 em1: Reset adapter
[ 3214.409233] igb 0000:02:00.2 em3: Reset adapter
[ 3214.409236] igb 0000:02:00.1 em2: Reset adapter
[ 3214.409237] igb 0000:02:00.3 em4: Reset adapter
[ 3215.844779] igb 0000:02:00.0 em1: igb: em1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[ 3217.918078] igb 0000:02:00.1 em2: igb: em2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 3218.255206] igb 0000:02:00.2 em3: igb: em3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 3218.366303] igb 0000:02:00.3 em4: igb: em4 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX

答案3

我正在将我的经验添加到这个帖子中以使其更加完整。

我的经验是,升级到内核 3.16.0-48 后,网络适配器几乎无法使用。我甚至无法完成apt-get update

我跟着此主题运行命令ethtool -K eth0 gso off gro off tso off。然后我成功完成了apt-get upgrade将 linux ternel 升级到 3.16.0-49。重启后问题就消失了。我不确定ethtool -K eth0 gso off gro off tso off此时该命令是否有帮助。

apt-get upgrade我的看法是,即使你没有完成,你仍然可以运行apt-get update

相关内容