Re: BUG: atomic counter underflow [Was: 2.6.16-rc6-mm1]

From: Ian Kent
Date: Thu Mar 23 2006 - 06:42:27 EST


On Sun, 19 Mar 2006, Jiri Slaby wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ian Kent napsal(a):
> > On Sun, 12 Mar 2006, Jiri Slaby wrote:
> >
> >> Andrew Morton wrote:
> >>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc6/2.6.16-rc6-mm1/
> >> [snip]
> >>> +remove-redundant-check-from-autofs4_put_super.patch
> >>> +autofs4-follow_link-missing-funtionality.patch
> >>>
> >>> Update autofs4 patches in -mm.
> >> Hello,
> >>
> >> I caught this during ftp browsing autofs-bind-mounted directories. I don't know
> >> circumstancies and if the patches above are source of problem. I also don't know
> >> if -rc6-mm1 is the first one.
> >
> > btw what do you mean autofs-bind-mounted ?
> >
> >> BUG: atomic counter underflow at:
> >> [<c0104736>] show_trace+0x13/0x15
> >> [<c0104873>] dump_stack+0x1e/0x20
> >> [<c01d6c97>] autofs4_wait+0x751/0x93a
> >> [<c01d543b>] try_to_fill_dentry+0xca/0x11c
> >> [<c01d59b3>] autofs4_revalidate+0xe1/0x148
> >> [<c0171338>] do_lookup+0x40/0x157
> >> [<c0172ec4>] __link_path_walk+0x804/0xe8c
> >> [<c017359c>] link_path_walk+0x50/0xe8
> >> [<c01738b7>] do_path_lookup+0x10f/0x26d
> >> [<c017429c>] __user_walk_fd+0x33/0x50
> >> [<c016d226>] vfs_stat_fd+0x1e/0x50
> >> [<c016d30d>] vfs_stat+0x20/0x22
> >> [<c016d328>] sys_stat64+0x19/0x2d
> >> [<c0103127>] syscall_call+0x7/0xb
> >>
> >
> > There's some suspicious code in waitq.c.
> > Could you try the following patch for me please?
> Yes, the patch below does solve the problem, can go upstream, good work!

Sorry to take so long to get back, I've been busy.

Thanks for that.
I'll submit the patch.

Ian

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/