2007-01-10 03:17:32

by Miles Lane

[permalink] [raw]
Subject: BUG: bad unlock balance detected! -- [<c017986d>] generic_sync_sb_inodes+0x26a/0x275

[ BUG: bad unlock balance detected! ]
-------------------------------------
swapper/0 is trying to release lock (inode_lock) at:
[<c017986d>] generic_sync_sb_inodes+0x26a/0x275
but there are no more locks to release!

other info that might help us debug this:
1 lock held by swapper/0:
#0: (&type->s_umount_key){--..}, at: [<c0161eb2>] sget+0x1e4/0x31c

stack backtrace:
[<c0104ebb>] show_trace_log_lvl+0x1a/0x2f
[<c010559b>] show_trace+0x12/0x14
[<c010564d>] dump_stack+0x16/0x18
[<c0132252>] print_unlock_inbalance_bug+0xec/0xf9
[<c013421d>] lock_release_non_nested+0x95/0x150
[<c013442d>] lock_release+0x155/0x17c
[<c02d62ce>] _spin_unlock+0x16/0x3d
[<c017986d>] generic_sync_sb_inodes+0x26a/0x275
[<c0179895>] sync_sb_inodes+0x1d/0x20
[<c017990d>] sync_inodes_sb+0x75/0x7d
[<c0161ff7>] __fsync_super+0xd/0x66
[<c016205b>] fsync_super+0xb/0x19
[<c01620b2>] do_remount_sb+0x49/0x101
[<c016257c>] get_sb_single+0x77/0x8c
[<c0198c40>] sysfs_get_sb+0x1c/0x1e
[<c016243b>] vfs_kern_mount+0x81/0xf1
[<c01624c1>] kern_mount+0x16/0x18
[<c03d040a>] sysfs_init+0x57/0xa5
[<c03cefd8>] mnt_init+0xc5/0x1c2
[<c03ceced>] vfs_caches_init+0x138/0x149
[<c03be9e8>] start_kernel+0x1fb/0x344
[<00000000>] 0x0


2007-01-10 03:25:04

by Andrew Morton

[permalink] [raw]
Subject: Re: BUG: bad unlock balance detected! -- [<c017986d>] generic_sync_sb_inodes+0x26a/0x275

On Tue, 9 Jan 2007 21:17:30 -0600
"Miles Lane" <[email protected]> wrote:

> [ BUG: bad unlock balance detected! ]
> -------------------------------------
> swapper/0 is trying to release lock (inode_lock) at:
> [<c017986d>] generic_sync_sb_inodes+0x26a/0x275

If this is 2.6.20-rc3-mm1, please ensure that the fixes from
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc3-mm1/hot-fixes
are applied.

2007-01-10 03:34:48

by Miles Lane

[permalink] [raw]
Subject: Re: BUG: bad unlock balance detected! -- [<c017986d>] generic_sync_sb_inodes+0x26a/0x275

On 1/9/07, Andrew Morton <[email protected]> wrote:
> On Tue, 9 Jan 2007 21:17:30 -0600
> "Miles Lane" <[email protected]> wrote:
>
> > [ BUG: bad unlock balance detected! ]
> > -------------------------------------
> > swapper/0 is trying to release lock (inode_lock) at:
> > [<c017986d>] generic_sync_sb_inodes+0x26a/0x275
>
> If this is 2.6.20-rc3-mm1, please ensure that the fixes from
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc3-mm1/hot-fixes
> are applied.

Oh shoot. My apologies. I downloaded the patch and forgot to apply it.

Miles