netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Norbert Preining <preining@logic.at>,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	David Graham <david.graham@intel.com>,
	Bruce Allan <bruce.w.allan@intel.com>
Subject: Re: 2.6.29-rc1-wl gives WARNING on ich8lan
Date: Thu, 15 Jan 2009 20:06:17 -0800	[thread overview]
Message-ID: <9929d2390901152006h3e47b2c8m3a63f741333b9c3c@mail.gmail.com> (raw)
In-Reply-To: <20090114222550.80fb1bb2.akpm@linux-foundation.org>

On Wed, Jan 14, 2009 at 10:25 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Thu, 15 Jan 2009 00:15:46 +0100 Norbert Preining <preining@logic.at> wrote:
>
>> Hi all,
>>
>> (please cc)
>
> (please cc right lists!)
>
>> 2.6.29-rc1-wl (wireless testing) gives me:
>>
>> [  367.804080] WARNING: at drivers/net/e1000e/ich8lan.c:412 e1000_acquire_swflag_ich8lan+0x35/0xcc()
>> [  367.804085] Hardware name: VGN-Z11VN_B
>> [  367.804088] e1000e mutex contention. Owned by pid 3781
>> [  367.804092] Modules linked in: binfmt_misc rfcomm l2cap kvm isofs zlib_inflate fuse dm_crypt dm_mod firewire_sbp2 loop arc4 iwlagn iwlcore rfkill joydev firewire_ohci mac80211 firewire_core crc_itu_t cfg80211 btusb sony_laptop tpm_infineon video backlight
>> [  367.804143] Pid: 8, comm: events/1 Not tainted 2.6.29-rc1-wl #1
>> [  367.804148] Call Trace:
>> [  367.804158]  [<ffffffff80236441>] warn_slowpath+0xd8/0x112
>> [  367.804169]  [<ffffffff8051152f>] _spin_unlock_irqrestore+0x31/0x3d
>> [  367.804178]  [<ffffffff802324f9>] try_to_wake_up+0x168/0x17a
>> [  367.804186]  [<ffffffff8023250b>] default_wake_function+0x0/0x9
>> [  367.804196]  [<ffffffff80323438>] delay_tsc+0x0/0xc8
>> [  367.804204]  [<ffffffff8022c48d>] dequeue_entity+0xf/0x102
>> [  367.804211]  [<ffffffff803a12a4>] e1000_acquire_swflag_ich8lan+0x35/0xcc
>> [  367.804219]  [<ffffffff803a5c0b>] e1000e_read_phy_reg_bm+0x39/0xbe
>> [  367.804227]  [<ffffffff803a5ee7>] e1000e_phy_has_link_generic+0x50/0xcc
>> [  367.804234]  [<ffffffff8022c48d>] dequeue_entity+0xf/0x102
>> [  367.804242]  [<ffffffff803ad593>] e1000_watchdog_task+0x0/0x6ef
>> [  367.804249]  [<ffffffff803a4d25>] e1000e_check_for_copper_link+0x24/0x86
>> [  367.804257]  [<ffffffff8023f05e>] lock_timer_base+0x26/0x4b
>> [  367.804265]  [<ffffffff803aa186>] e1000_has_link+0x40/0xc1
>> [  367.804272]  [<ffffffff803ad5ca>] e1000_watchdog_task+0x37/0x6ef
>> [  367.804280]  [<ffffffff803ad593>] e1000_watchdog_task+0x0/0x6ef
>> [  367.804289]  [<ffffffff80245058>] run_workqueue+0x87/0x122
>> [  367.804296]  [<ffffffff802451cb>] worker_thread+0xd8/0xe7
>> [  367.804304]  [<ffffffff802487a8>] autoremove_wake_function+0x0/0x2e
>> [  367.804311]  [<ffffffff802450f3>] worker_thread+0x0/0xe7
>> [  367.804318]  [<ffffffff802450f3>] worker_thread+0x0/0xe7
>> [  367.804324]  [<ffffffff8024848f>] kthread+0x47/0x73
>> [  367.804332]  [<ffffffff8020c6aa>] child_rip+0xa/0x20
>> [  367.804338]  [<ffffffff80248448>] kthread+0x0/0x73
>> [  367.804344]  [<ffffffff8020c6a0>] child_rip+0x0/0x20
>> [  367.804349] ---[ end trace 608ec83548aefe5d ]---
>>
>> Should I be concerned?
>>
>
> I don't think so.  It looks like it's just some developer debug code:
>
>        if (!mutex_trylock(&nvm_mutex)) {
>                WARN(1, KERN_ERR "e1000e mutex contention. Owned by process "
>                     "%s (pid %d), required by process %s (pid %d)\n",
>                     nvm_owner_name, nvm_owner_pid,
>                     current->comm, current->pid);
>
>                mutex_lock(&nvm_mutex);
>        }
>
> guys, is this actually indicative of a bug?  An unexpected state?
>
> If not, I'd suggest that this code simply be removed, or downgraded
> into a developer-only debug thing.  We don't want the kernel to be
> spewing scary things at people.
>
> --
>

A message from Dave Graham <david.graham@intel.com>...

The message identifies a condition that rarely occurs, and that I'd
like to monitor for a few more weeks. While this WARN occurred
fequently until recent 2.6.28 kernels, the messages have already
helped us to tighten our code to reduce contentious access to this
path, and so we now longer expect many. In fact at this time we only
have one (this one) report, out of a total 1,296 WARNs shown at
www.kerneloops.org for all 2.6.29-rc builds. There's been a minor
improvement to the WARN message tagged as tag v2.6.29-rc1-6-geefacf3,
and I'd like to collect & analyze a few reports that include that
change.

I'll monitor reports up at keneloops daily, and when I've got 5 or
more, I can quickly move the WARN to debug-only code, so reports will
soon stop. Does that sound OK?


-- 
Cheers,
Jeff

  reply	other threads:[~2009-01-16  4:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20090114231546.GI1457@gamma.logic.tuwien.ac.at>
2009-01-15  6:25 ` 2.6.29-rc1-wl gives WARNING on ich8lan Andrew Morton
2009-01-16  4:06   ` Jeff Kirsher [this message]
2009-01-16  4:13     ` Andrew Morton
     [not found]   ` <17975dc10901151417o4c5affbdrd7ef29818c8f5008@mail.gmail.com>
2009-01-18 21:39     ` Norbert Preining

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=9929d2390901152006h3e47b2c8m3a63f741333b9c3c@mail.gmail.com \
    --to=jeffrey.t.kirsher@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=bruce.w.allan@intel.com \
    --cc=david.graham@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=preining@logic.at \
    /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).