lkml.org 
[lkml]   [2007]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] Linux 2.6.22 - Atomic counter underflow in NFS
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-01 23:01    [W:0.026 / U:33.680 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site