Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179312 - gentoo-sources-2.6.20-r8 inotify bug
Summary: gentoo-sources-2.6.20-r8 inotify bug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-21 11:34 UTC by Nikola Petrov
Modified: 2008-03-06 11:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
This is my emerge --info as well (emergeinfo.txt,3.14 KB, text/plain)
2007-05-21 11:36 UTC, Nikola Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikola Petrov 2007-05-21 11:34:15 UTC
Today i took a DVD CD from a friend and when i put it in the CD the icon on the desktop appeared(I have dbus). But when i typed dmesg after a while when i wanted to see how the kernel recognized my USB flash i saw this 
[code]

BUG: at fs/inotify.c:172 set_dentry_child_flags()
 [<c0160e36>] set_dentry_child_flags+0x54/0x100
 [<c0160f35>] remove_watch_no_event+0x53/0x5f
 [<c0161023>] inotify_remove_watch_locked+0x12/0x3e
 [<c02eb965>] mutex_lock+0xb/0x19
 [<c01612d6>] inotify_rm_wd+0x6c/0x89
 [<c016177a>] sys_inotify_rm_watch+0x38/0x4f
 [<c01026a4>] sysenter_past_esp+0x5d/0x81
 =======================
BUG: at fs/inotify.c:172 set_dentry_child_flags()
 [<c0160e36>] set_dentry_child_flags+0x54/0x100
 [<c01613b3>] inotify_add_watch+0xb8/0xff
 [<c0161db1>] sys_inotify_add_watch+0x10b/0x146
 [<c016124d>] put_inotify_watch+0x21/0x3e
 [<c01612eb>] inotify_rm_wd+0x81/0x89
 [<c01026a4>] sysenter_past_esp+0x5d/0x81
 =======================
[/code]

I tryed but couldnt reproduce it thought i think that it might be a good idea to check that inotify.c file :)(sorry i dont know C, if i could i would do it myself)

Reproducible: Couldn't Reproduce




Some information that might help u:

Kernel Version: 2.6.20-gentoo-r8
Kernel-headers: linux-headers-2.6.17-r2

I have support for INOTIFY *in* the kernel:
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
Comment 1 Nikola Petrov 2007-05-21 11:36:05 UTC
Created attachment 119876 [details]
This is my emerge --info as well
Comment 2 Mike Pagano gentoo-dev 2007-05-21 12:14:24 UTC
Related upstream bug:

http://bugzilla.kernel.org/show_bug.cgi?id=7785

Comment 3 Mike Pagano gentoo-dev 2007-05-21 12:59:35 UTC
The reporter from the upstream bug states that this error did not occur once he upgraded to kernel version 2.6.21.  Can you attempt to recreate using gentoo-sources-2.6.21-r1 ?
Comment 4 Nikola Petrov 2007-05-21 17:17:14 UTC
(In reply to comment #3)
> The reporter from the upstream bug states that this error did not occur once he
> upgraded to kernel version 2.6.21.  Can you attempt to recreate using
> gentoo-sources-2.6.21-r1 ?
> 

I saw the comment in the bugzilla of kernel.org and i upgrade to the kernel and see if that solves. I will mark the bug as resolved(fixed) and if i see the same message in my dmesg i will reopen it. Thanks alot everyone.
Comment 5 Stefaan De Roeck (RETIRED) gentoo-dev 2008-03-06 11:07:46 UTC
I'm using 2.6.24-gentoo-r2, and get similar errors, maybe this bug is not fixed after all?  (Linux version 2.6.24-gentoo-r2 (root@olympia) (gcc version 4.2.2 (Gentoo 4.2.2 p1.0)) #3 SMP Fri Feb 22 13:31:12 CET 2008)

WARNING: at fs/inotify.c:182 set_dentry_child_flags()
Pid: 18123, comm: kded4 Tainted: P        2.6.24-gentoo-r2 #3

Call Trace:
 [<ffffffff802afb58>] sys_inotify_add_watch+0x167/0x18f
 [<ffffffff802ae8f7>] set_dentry_child_flags+0xe1/0x137
 [<ffffffff802ae9b0>] remove_watch_no_event+0x63/0x71
 [<ffffffff802aeabe>] inotify_remove_watch_locked+0x18/0x3b
 [<ffffffff802aeda7>] inotify_rm_wd+0x7e/0xa1
 [<ffffffff802af404>] sys_inotify_rm_watch+0x49/0x64
 [<ffffffff8020beee>] system_call+0x7e/0x83