mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Satyam Sharma <satyam@infradead.org>
To: Chris Rankin <rankincj@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [BUG] Linux 2.6.22 - Atomic counter underflow in NFS
Date: Thu, 2 Aug 2007 02:41:26 +0530 (IST)	[thread overview]
Message-ID: <alpine.LFD.0.999.0708020237090.8258@enigma.security.iitk.ac.in> (raw)
In-Reply-To: <272608.90315.qm@web52904.mail.re2.yahoo.com>

Hi Chris,


On Wed, 1 Aug 2007, Chris Rankin wrote:

> I am running a 2.6.22 kernel on a dual P4 Xeon (HT enabled) with 2 GB RAM, and I have just found
> this BUG in my dmesg log:
> 
> nfsd: last server has exited
> nfsd: unexporting all filesystems
> BUG: atomic counter underflow at:
>  [<c01a382a>] kref_put+0x66/0x84
>  [<c0188bc2>] sysfs_hash_and_remove+0xb8/0x12d
>  [<c0188bca>] sysfs_hash_and_remove+0xc0/0x12d
>  [<c01522e2>] sysfs_slab_alias+0x19/0x5c
>  [<c0152438>] sysfs_slab_add+0x113/0x124
>  [<c01527de>] kmem_cache_create+0x12d/0x1d3
>  [<f8d9df1b>] nfs4_state_start+0x3b/0x1a7 [nfsd]
>  [<f8d8a485>] nfsd_svc+0x51/0x10d [nfsd]
>  [<f8d8ae76>] write_threads+0x65/0x96 [nfsd]
>  [<c016c279>] simple_transaction_get+0x70/0x82
>  [<f8d8ae11>] write_threads+0x0/0x96 [nfsd]
>  [<f8d8ab9f>] nfsctl_transaction_write+0x36/0x5c [nfsd]
>  [<f8d8ab69>] nfsctl_transaction_write+0x0/0x5c [nfsd]
>  [<c0155392>] vfs_write+0x8a/0x10c
>  [<c0155901>] sys_write+0x41/0x67
>  [<c010266e>] sysenter_past_esp+0x5f/0x85
>  =======================
> NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
> NFSD: starting 90-second grace period

I expect this is easy to reproduce at will (when shutting down nfs
services, probably), right?

Please try the latest mainline -git kernel (say 2.6.23-rc1-git10 from
kernel.org) and let us know if this still occurs? There were some fixes
regarding sysfs symlink refcounting that went in recently, and this looks
like one of those cases to me.


Thanks,
Satyam

  reply	other threads:[~2007-08-01 20:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-01 17:45 Chris Rankin
2007-08-01 21:11 ` Satyam Sharma [this message]
2007-08-01 21:11   ` Chris Rankin
2007-08-01 21:37     ` Satyam Sharma

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=alpine.LFD.0.999.0708020237090.8258@enigma.security.iitk.ac.in \
    --to=satyam@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rankincj@yahoo.com \
    /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

all inboxes | Powered by JetHome®