netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joe Jin <joe.jin@oracle.com>
To: Joe Jin <joe.jin@oracle.com>
Cc: e1000-devel@lists.sf.net,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: 82571EB: Detected Hardware Unit Hang
Date: Tue, 10 Jul 2012 15:40:00 +0800	[thread overview]
Message-ID: <4FFBDC50.5090800@oracle.com> (raw)
In-Reply-To: <4FFA9B96.6040901@oracle.com>

When I debug the driver I found before Detected HW hang, driver unable to clean
and reclaim the resources:

1457         while ((eop_desc->upper.data & cpu_to_le32(E1000_TXD_STAT_DD)) &&  <== at here upper.data always is 0x300
1458                (count < tx_ring->count)) {
     <--- snip --->
1487         }


I checked all driver codes I did not found anywhere will set the upper.data with 
E1000_TXD_STAT_DD, I guess upper.data be set by hardware?
If OS is 32bit system, what which happen?

Thanks in advance,
Joe 

On 07/09/12 16:51, Joe Jin wrote:
> Hi list,
> 
> I'm seeing a Unit Hang even with the latest e1000e driver 2.0.0 when doing
> scp test. this issue is easy do reproduced on SUN FIRE X2270 M2, just copy
> a big file (>500M) from another server will hit it at once. 
> 
> Would you please help on this?
> 
> device info:
> # lspci -s 05:00.0 
> 05:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (Copper) (rev 06)
> 
> # lspci -s 05:00.0 -n
> 05:00.0 0200: 8086:10bc (rev 06)
> 
> # ethtool -i eth0
> driver: e1000e
> version: 2.0.0-NAPI
> firmware-version: 5.10-2
> bus-info: 0000:05:00.0
> 
> # ethtool -k eth0
> Offload parameters for eth0:
> rx-checksumming: on
> tx-checksumming: on
> scatter-gather: on
> tcp segmentation offload: on
> udp fragmentation offload: off
> generic segmentation offload: on
> generic-receive-offload: on
> 
> kernel log:
> -----------
> e1000e 0000:05:00.0: eth0: Detected Hardware Unit Hang:
>   TDH                  <6c>
>   TDT                  <81>
>   next_to_use          <81>
>   next_to_clean        <6b>
> buffer_info[next_to_clean]:
>   time_stamp           <fffc7a23>
>   next_to_watch        <71>
>   jiffies              <fffc8c0c>
>   next_to_watch.status <0>
> MAC Status             <80387>
> PHY Status             <792d>
> PHY 1000BASE-T Status  <3c00>
> PHY Extended Status    <3000>
> PCI Status             <10>
> e1000e 0000:05:00.0: eth0: Detected Hardware Unit Hang:
>   TDH                  <6c>
>   TDT                  <81>
>   next_to_use          <81>
>   next_to_clean        <6b>
> buffer_info[next_to_clean]:
>   time_stamp           <fffc7a23>
>   next_to_watch        <71>
>   jiffies              <fffc9bac>
>   next_to_watch.status <0>
> MAC Status             <80387>
> PHY Status             <792d>
> PHY 1000BASE-T Status  <3c00>
> PHY Extended Status    <3000>
> PCI Status             <10>
> ------------[ cut here ]------------
> WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x225/0x230()
> Hardware name: SUN FIRE X2270 M2
> NETDEV WATCHDOG: eth0 (e1000e): transmit queue 0 timed out
> Modules linked in: autofs4 hidp rfcomm bluetooth rfkill lockd sunrpc cpufreq_ondemand acpi_cpufreq mperf be2iscsi iscsi_boot_sysfs ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp bnx2i cnic uio ipv6 cxgb3i libcxgbi cxgb3 mdio libiscsi_tcp libiscsi scsi_transport_iscsi video sbs sbshc acpi_pad acpi_ipmi ipmi_msghandler parport_pc lp parport e1000e(U) snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device igb snd_pcm_oss serio_raw snd_mixer_oss snd_pcm tpm_infineon snd_timer snd soundcore snd_page_alloc i2c_i801 iTCO_wdt i2c_core pcspkr i7core_edac iTCO_vendor_support ioatdma ghes dca edac_core hed dm_snapshot dm_zero dm_mirror dm_region_hash dm_log dm_mod usb_storage sd_mod crc_t10dif sg ahci libahci ext3 jbd mbcache [last unloaded: microcode]
> Pid: 0, comm: swapper Not tainted 2.6.39-200.24.1.el5uek #1
> Call Trace:
>  [<c07d9ac5>] ? dev_watchdog+0x225/0x230
>  [<c045ba61>] warn_slowpath_common+0x81/0xa0
>  [<c07d9ac5>] ? dev_watchdog+0x225/0x230
>  [<c045bb23>] warn_slowpath_fmt+0x33/0x40
>  [<c07d9ac5>] dev_watchdog+0x225/0x230
>  [<c07d98a0>] ? dev_activate+0xb0/0xb0
>  [<c0468e82>] call_timer_fn+0x32/0xf0
>  [<c04bceb0>] ? rcu_check_callbacks+0x80/0x80
>  [<c046a76d>] run_timer_softirq+0xed/0x1b0
>  [<c07d98a0>] ? dev_activate+0xb0/0xb0
>  [<c0461a81>] __do_softirq+0x91/0x1a0
>  [<c04619f0>] ? local_bh_enable+0x80/0x80
>  <IRQ>  [<c0462295>] ? irq_exit+0x95/0xa0
>  [<c087f8b8>] ? smp_apic_timer_interrupt+0x38/0x42
>  [<c08784f5>] ? apic_timer_interrupt+0x31/0x38
>  [<c046007b>] ? do_exit+0x11b/0x370
>  [<c065eae4>] ? intel_idle+0xa4/0x100
>  [<c078d9b9>] ? cpuidle_idle_call+0xb9/0x1e0
>  [<c0411d77>] ? cpu_idle+0x97/0xd0
>  [<c085cbbd>] ? rest_init+0x5d/0x70
>  [<c0b07a7a>] ? start_kernel+0x28a/0x340
>  [<c0b074b0>] ? obsolete_checksetup+0xb0/0xb0
>  [<c0b070a4>] ? i386_start_kernel+0x64/0xb0
> ---[ end trace 5502b55cd4d4e5cb ]---
> e1000e 0000:05:00.0: eth0: Reset adapter
> e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
> 
> Thanks,
> Joe
> 


-- 
Oracle <http://www.oracle.com>
Joe Jin | Software Development Senior Manager | +8610.6106.5624
ORACLE | Linux and Virtualization
No. 24 Zhongguancun Software Park, Haidian District | 100193 Beijing 

  parent reply	other threads:[~2012-07-10  7:40 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-09  8:51 82571EB: Detected Hardware Unit Hang Joe Jin
2012-07-09  9:21 ` Eric Dumazet
2012-07-09 12:19   ` Joe Jin
2012-07-10  7:40 ` Joe Jin [this message]
2012-07-10 18:14   ` Wyborny, Carolyn
2012-07-10 19:02   ` Dave, Tushar N
2012-07-10 19:17     ` Dave, Tushar N
2012-07-11  0:34     ` Joe Jin
2012-07-11  1:18       ` Dave, Tushar N
2012-07-11  1:44         ` Joe Jin
2012-07-11  3:22           ` Dave, Tushar N
2012-07-11  3:29             ` Joe Jin
2012-07-11  4:05               ` Dave, Tushar N
2012-07-11  5:03                 ` Joe Jin
2012-07-11  7:11                   ` Dave, Tushar N
2012-07-11  7:17                     ` Joe Jin
2012-07-11  7:37                       ` Dave, Tushar N
2012-07-11  7:38                         ` Joe Jin
2012-07-11  7:50                           ` Dave, Tushar N
2012-07-11  7:53                             ` Joe Jin
2012-07-11 18:51                   ` Dave, Tushar N
2012-07-12  2:23                     ` Joe Jin
2012-07-12  2:52                       ` Dave, Tushar N
2012-07-12  2:57                         ` Joe Jin
2012-07-12  3:07                           ` Dave, Tushar N
2012-07-12  3:12                             ` Joe Jin
2012-07-12  5:57                               ` Dave, Tushar N
2012-07-12  6:16                                 ` Joe Jin
2012-07-12  6:41                                   ` Dave, Tushar N
2012-07-12  7:10                                     ` Joe Jin
2012-07-12 18:19                                       ` Dave, Tushar N
2012-07-12 23:46                                         ` Joe Jin
2012-07-13  4:10                                           ` Dave, Tushar N
2012-07-13  4:33                                             ` Joe Jin
2012-07-15  3:42                                               ` Dave, Tushar N
2012-07-15  3:52                                                 ` Joe Jin
2012-07-15 13:35                                                 ` Henrique de Moraes Holschuh
2012-07-16 15:47                                                   ` Ben Hutchings
2012-07-16 16:08                                                     ` Henrique de Moraes Holschuh
2012-07-17  4:48                                                       ` Jon Mason
2012-07-17  4:45                                                     ` Jon Mason
  -- strict thread matches above, loose matches on Subject: below --
2012-11-08  6:24 Joe Jin
2012-11-08 20:35 ` Dave, Tushar N
2012-11-09  1:22   ` Joe Jin
2012-11-14  2:47   ` Joe Jin
2012-11-14  3:45     ` Dave, Tushar N
2012-11-15  0:32       ` Joe Jin
2012-11-15 20:26         ` Dave, Tushar N
2012-11-19  5:38           ` Joe Jin
2012-11-20  8:59             ` Dave, Tushar N
2012-11-20 13:24               ` Joe Jin
2012-11-26 16:23                 ` [E1000-devel] " Fujinaka, Todd
2012-11-27  0:59                   ` Joe Jin
2012-11-27  2:06                     ` Mary Mcgrath
2012-11-27 17:32                       ` [E1000-devel] " Fujinaka, Todd
2012-11-27 18:10                         ` Ben Hutchings
2012-11-28  8:31                           ` Joe Jin
2012-11-28 15:53                             ` Fujinaka, Todd
2012-11-29  3:10                               ` Ethan Zhao
2012-11-29 15:52                                 ` Fujinaka, Todd
2012-12-19  3:04                                   ` Joe Jin
2012-12-19  5:52                                     ` Yijing Wang
2012-12-19  6:13                                       ` Joe Jin
2012-11-20 13:24               ` Joe Jin
2012-11-14  3:37   ` Li Yu
2012-11-14  3:43     ` Dave, Tushar N

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FFBDC50.5090800@oracle.com \
    --to=joe.jin@oracle.com \
    --cc=e1000-devel@lists.sf.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).