Bug 13729 - kernel BUG at fs/notify/notification.c:93!
kernel BUG at fs/notify/notification.c:93!
Status: CLOSED CODE_FIX
Product: File System
Classification: Unclassified
Component: Other
All Linux
: P1 normal
Assigned To: Eric Paris
:
Depends on:
Blocks: 13615
  Show dependency treegraph
 
Reported: 2009-07-06 22:44 UTC by Rafael J. Wysocki
Modified: 2009-08-29 23:29 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.31-rc1
Tree: Mainline
Regression: Yes


Attachments

Description Rafael J. Wysocki 2009-07-06 22:44:07 UTC
Subject    : kernel BUG at fs/notify/notification.c:93!
Submitter  : "Mikko C." <mikko.cal@gmail.com>
Date       : 2009-06-04 10:16
References : http://lkml.org/lkml/2009/7/4/12
Handled-By : Eric Paris <eparis@redhat.com>

This entry is being used for tracking a regression from 2.6.30.  Please don't
close it until the problem is fixed in the mainline.
Comment 1 Mikko C. 2009-08-01 10:09:16 UTC
As I told Eric, I haven't seen this problem anymore since 2.6.31-rc3.
Comment 2 Rafael J. Wysocki 2009-08-15 21:07:46 UTC
On Saturday 15 August 2009, Linus Torvalds wrote:
> 
> Eric - looks exactly like that bug Mikko reported but couldn't reproduce,
> bugzilla entry 13729:
> 
> 	http://bugzilla.kernel.org/show_bug.cgi?id=13729
> 
> it got closed because Mikko says he can't repro it since -rc3, but clearly 
> it should be re-opened.
> 
> Looks like something 'event' is either incorrectly 'put' twice (so that 
> you end up trying to free it before it's all done), or some corruption of 
> the '&event->private_data_list'. Either way, it's likely a locking error, 
> although an outright refcounting bug is possible.
> 
> For example, fsnotify_remove_priv_from_event() will remove the private 
> data event from the list, but what if there are _multiple_ entries with 
> the same 'group' entry? If so, it will remove just the first one. So it 
> looks like the bug could trigger if somebody just adds event private data 
> for the same group to the same event twice. Can that happen?
> 
> 		Linus
> 
> On Sat, 15 Aug 2009, Christoph Thielecke wrote:
> >
> > Hello Linus,
> > 
> > I still got kernel bugs (which freeze my machine after log) with 2.6.31-rc6.
> > 
> > Please look whats going wrong. Btw: I use often switching from display :0 
> > (user crissi with kde3 session) to display :1 (user kde-devel with kde4 
> > session).  Mostly in this time I got the bugs.
> > 
> > Aug 15 10:03:24 develop kernel: ------------[ cut here ]------------
> > Aug 15 10:03:24 develop kernel: kernel BUG at fs/notify/notification.c:93!
> > Aug 15 10:03:24 develop kernel: invalid opcode: 0000 [#1] PREEMPT SMP 
> > Aug 15 10:03:24 develop kernel: last sysfs file: /sys/class/net/eth2/address
> > Aug 15 10:03:24 develop kernel: Modules linked in: nvidia(P) vboxnetadp vboxnetflt vboxdrv binfmt_misc ppdev parport_pc lp parport rfcomm l2cap bluetooth tun pppol2tp pppox ppp_generic slhc ipv6 capifs acpi_cpufreq cpufreq_ondemand cpufreq_powersave cpufreq_stats freq_table cpufreq_userspace cpufreq_conservative nfsd nfs lockd fscache nfs_acl auth_rpcgss sunrpc deflate zlib_deflate ctr twofish twofish_common camellia serpent blowfish cast5 des_generic cbc aes_i586 aes_generic xcbc rmd160 sha256_generic sha1_generic crypto_null af_key nls_iso8859_1 nls_cp437 vfat fat fuse dm_snapshot dm_mirror dm_region_hash dm_log dm_mod coretemp loop asix dm9601 pl2303 usbnet usbserial usbhid hid snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm arc4 ecb snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi firewire_ohci firewire_core sdhci_pci snd_seq_midi_event iwl3945 joydev b44 crc_itu_t sdhci snd_seq iwlcore ssb intel_agp snd_timer snd_seq_device !
>  mac80211 iTCO_wdt iTCO_vendor_support pcmcia pcmcia_core ohci1394 mmc_core i2c_i801 snd uhci_hcd ehci_hcd rtc_cmos rtc_core video psmouse mii agpgart ieee1394 led_class i2c_core soundcore snd_page_alloc cfg80211 usbcore rtc_lib battery button output serio_raw processor thermal wmi sg ac dell_laptop sr_mod rfkill evdev cdrom [last unloaded: nvidia]
> > Aug 15 10:03:24 develop kernel: 
> > Aug 15 10:03:24 develop kernel: Pid: 10303, comm: kdevelop Tainted: P           (2.6.31-rc6 #2) MP061                           
> > Aug 15 10:03:24 develop kernel: EIP: 0060:[<c10dbb17>] EFLAGS: 00210283 CPU: 0
> > Aug 15 10:03:24 develop kernel: EIP is at fsnotify_put_event+0x46/0x4a
> > Aug 15 10:03:24 develop kernel: EAX: f67da50c EBX: f67da4d8 ECX: 00000000 EDX: bfb6e101
> > Aug 15 10:03:24 develop kernel: ESI: bfb6e134 EDI: f67da4d8 EBP: d61aff0c ESP: d61aff08
> > Aug 15 10:03:24 develop kernel: DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> > Aug 15 10:03:24 develop kernel: Process kdevelop (pid: 10303, ti=d61ae000 task=e72db3d0 task.ti=d61ae000)
> > Aug 15 10:03:24 develop kernel: Stack:
> > Aug 15 10:03:24 develop kernel: 00000020 d61aff64 c10ddc05 00000020 bfb6e114 e8e88140 e9be2374 e9be2358
> > Aug 15 10:03:24 develop kernel: <0> e9be2340 bfb6e114 00000010 00000000 e72db3d0 c1046b8f e9be2378 e9be2378
> > Aug 15 10:03:24 develop kernel: <0> 00000007 00000002 00000000 00000010 e8e88140 bfb6e114 00000020 d61aff8c
> > Aug 15 10:03:24 develop kernel: Call Trace:
> > Aug 15 10:03:24 develop kernel: [<c10ddc05>] ? inotify_read+0x24a/0x269
> > Aug 15 10:03:24 develop kernel: [<c1046b8f>] ? autoremove_wake_function+0x0/0x3a
> > Aug 15 10:03:24 develop kernel: [<c10b3626>] ? vfs_read+0x8b/0x142
> > Aug 15 10:03:24 develop kernel: [<c10dd9bb>] ? inotify_read+0x0/0x269
> > Aug 15 10:03:24 develop kernel: [<c10b3786>] ? sys_read+0x3d/0x6b
> > Aug 15 10:03:24 develop kernel: [<c1003610>] ? sysenter_do_call+0x12/0x2c
> > Aug 15 10:03:24 develop kernel: Code: 74 1f 8d 43 34 39 43 34 75 21 8b 43 2c e8 1e fe fc ff 89 da a1 c4 e3 54 c1 e8 dd fe fc ff 5b 5d c3 8d 43 14 e8 47 e6 fd ff eb d7 <0f> 0b eb fe 55 89 e5 57 56 53 83 ec 0c 89 c6 8d 40 18 89 45 e8 
> > Aug 15 10:03:24 develop kernel: EIP: [<c10dbb17>] fsnotify_put_event+0x46/0x4a SS:ESP 0068:d61aff08
> > Aug 15 10:03:24 develop kernel: ---[ end trace ecc7791937cd097a ]---
> > Aug 15 10:03:37 develop kernel: BUG: unable to handle kernel paging request at 00100104
> > Aug 15 10:03:37 develop kernel: IP: [<c10db6bc>] fsnotify_remove_priv_from_event+0x4f/0x6c
> > Aug 15 10:03:37 develop kernel: *pde = 00000000 
> > Aug 15 10:03:37 develop kernel: Oops: 0002 [#2] PREEMPT SMP 
> > Aug 15 10:03:37 develop kernel: last sysfs file: /sys/class/net/eth2/address
> > Aug 15 10:03:37 develop kernel: Modules linked in: nvidia(P) vboxnetadp vboxnetflt vboxdrv binfmt_misc ppdev parport_pc lp parport rfcomm l2cap bluetooth tun pppol2tp pppox ppp_generic slhc ipv6 capifs acpi_cpufreq cpufreq_ondemand cpufreq_powersave cpufreq_stats freq_table cpufreq_userspace cpufreq_conservative nfsd nfs lockd fscache nfs_acl auth_rpcgss sunrpc deflate zlib_deflate ctr twofish twofish_common camellia serpent blowfish cast5 des_generic cbc aes_i586 aes_generic xcbc rmd160 sha256_generic sha1_generic crypto_null af_key nls_iso8859_1 nls_cp437 vfat fat fuse dm_snapshot dm_mirror dm_region_hash dm_log dm_mod coretemp loop asix dm9601 pl2303 usbnet usbserial usbhid hid snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm arc4 ecb snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi firewire_ohci firewire_core sdhci_pci snd_seq_midi_event iwl3945 joydev b44 crc_itu_t sdhci snd_seq iwlcore ssb intel_agp snd_timer snd_seq_device !
>  mac80211 iTCO_wdt iTCO_vendor_support pcmcia pcmcia_core ohci1394 mmc_core i2c_i801 snd uhci_hcd ehci_hcd rtc_cmos rtc_core video psmouse mii agpgart ieee1394 led_class i2c_core soundcore snd_page_alloc cfg80211 usbcore rtc_lib battery button output serio_raw processor thermal wmi sg ac dell_laptop sr_mod rfkill evdev cdrom [last unloaded: nvidia]
> > Aug 15 10:03:37 develop kernel: 
> > Aug 15 10:03:37 develop kernel: Pid: 10578, comm: kopete Tainted: P      D    (2.6.31-rc6 #2) MP061                           
> > Aug 15 10:03:37 develop kernel: EIP: 0060:[<c10db6bc>] EFLAGS: 00010246 CPU: 0
> > Aug 15 10:03:37 develop kernel: EIP is at fsnotify_remove_priv_from_event+0x4f/0x6c
> > Aug 15 10:03:37 develop kernel: EAX: 00200200 EBX: f67da7a0 ECX: e8047448 EDX: 00100100
> > Aug 15 10:03:37 develop kernel: ESI: e98dd940 EDI: f67da76c EBP: e8f47f0c ESP: e8f47f04
> > Aug 15 10:03:37 develop kernel: DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> > Aug 15 10:03:37 develop kernel: Process kopete (pid: 10578, ti=e8f46000 task=e9b68070 task.ti=e8f46000)
> > Aug 15 10:03:37 develop kernel: Stack:
> > Aug 15 10:03:37 develop kernel: f67da778 bf9dce94 e8f47f64 c10ddafa 00000060 bf9dce74 c9354c40 e98dd974
> > Aug 15 10:03:37 develop kernel: <0> e98dd958 e98dd940 bf9dce94 0000000d 00000000 e9b68070 c1046b8f e98dd978
> > Aug 15 10:03:37 develop kernel: <0> e98dd978 00000006 00000100 00000000 00000010 c9354c40 bf9dce74 00000080
> > Aug 15 10:03:37 develop kernel: Call Trace:
> > Aug 15 10:03:37 develop kernel: [<c10ddafa>] ? inotify_read+0x13f/0x269
> > Aug 15 10:03:37 develop kernel: [<c1046b8f>] ? autoremove_wake_function+0x0/0x3a
> > Aug 15 10:03:37 develop kernel: [<c10b3626>] ? vfs_read+0x8b/0x142
> > Aug 15 10:03:37 develop kernel: [<c10dd9bb>] ? inotify_read+0x0/0x269
> > Aug 15 10:03:37 develop kernel: [<c10b3786>] ? sys_read+0x3d/0x6b
> > Aug 15 10:03:37 develop kernel: [<c1003610>] ? sysenter_do_call+0x12/0x2c
> > Aug 15 10:03:37 develop kernel: Code: 34 39 c3 74 1d 39 70 fc 75 07 eb 1c 39 31 90 74 17 8d 4a fc 8b 51 04 0f 18 02 90 8d 41 04 39 c3 75 ea 31 c0 5b 5e 5d c3 8b 41 08 <89> 42 04 89 10 c7 41 04 00 01 10 00 c7 41 08 00 02 20 00 89 c8 
> > Aug 15 10:03:37 develop kernel: EIP: [<c10db6bc>] fsnotify_remove_priv_from_event+0x4f/0x6c SS:ESP 0068:e8f47f04
> > Aug 15 10:03:37 develop kernel: CR2: 0000000000100104
> > Aug 15 10:03:37 develop kernel: ---[ end trace ecc7791937cd097b ]---
> > Aug 15 10:03:37 develop kernel: note: kopete[10578] exited with preempt_count 1
> > Aug 15 10:03:46 develop kernel: ------------[ cut here ]------------
> > Aug 15 10:03:46 develop kernel: kernel BUG at fs/notify/notification.c:93!
> > Aug 15 10:03:46 develop kernel: invalid opcode: 0000 [#3] PREEMPT SMP 
> > Aug 15 10:03:46 develop kernel: last sysfs file: /sys/class/net/eth2/address
> > Aug 15 10:03:46 develop kernel: Modules linked in: nvidia(P) vboxnetadp vboxnetflt vboxdrv binfmt_misc ppdev parport_pc lp parport rfcomm l2cap bluetooth tun pppol2tp pppox ppp_generic slhc ipv6 capifs acpi_cpufreq cpufreq_ondemand cpufreq_powersave cpufreq_stats freq_table cpufreq_userspace cpufreq_conservative nfsd nfs lockd fscache nfs_acl auth_rpcgss sunrpc deflate zlib_deflate ctr twofish twofish_common camellia serpent blowfish cast5 des_generic cbc aes_i586 aes_generic xcbc rmd160 sha256_generic sha1_generic crypto_null af_key nls_iso8859_1 nls_cp437 vfat fat fuse dm_snapshot dm_mirror dm_region_hash dm_log dm_mod coretemp loop asix dm9601 pl2303 usbnet usbserial usbhid hid snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm arc4 ecb snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi firewire_ohci firewire_core sdhci_pci snd_seq_midi_event iwl3945 joydev b44 crc_itu_t sdhci snd_seq iwlcore ssb intel_agp snd_timer snd_seq_device !
>  mac80211 iTCO_wdt iTCO_vendor_support pcmcia pcmcia_core ohci1394 mmc_core i2c_i801 snd uhci_hcd ehci_hcd rtc_cmos rtc_core video psmouse mii agpgart ieee1394 led_class i2c_core soundcore snd_page_alloc cfg80211 usbcore rtc_lib battery button output serio_raw processor thermal wmi sg ac dell_laptop sr_mod rfkill evdev cdrom [last unloaded: nvidia]
> > Aug 15 10:03:46 develop kernel: 
> > Aug 15 10:03:46 develop kernel: Pid: 10114, comm: kded4 Tainted: P      D    (2.6.31-rc6 #2) MP061                           
> > Aug 15 10:03:46 develop kernel: EIP: 0060:[<c10dbb17>] EFLAGS: 00010283 CPU: 1
> > Aug 15 10:03:46 develop kernel: EIP is at fsnotify_put_event+0x46/0x4a
> > Aug 15 10:03:46 develop kernel: EAX: f67da944 EBX: f67da910 ECX: 00000000 EDX: bfac7601
> > Aug 15 10:03:46 develop kernel: ESI: bfac7684 EDI: f67da910 EBP: f6291f0c ESP: f6291f08
> > Aug 15 10:03:46 develop kernel: DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> > Aug 15 10:03:46 develop kernel: Process kded4 (pid: 10114, ti=f6290000 task=f6a250b0 task.ti=f6290000)
> > Aug 15 10:03:46 develop kernel: Stack:
> > Aug 15 10:03:46 develop kernel: 00000000 f6291f64 c10ddb5a 00000540 bfac7674 e9f36e40 ea0f54f4 ea0f54d8
> > Aug 15 10:03:46 develop kernel: <0> ea0f54c0 bfac7674 082efcbd 00000000 f6a250b0 c1046b8f ea0f54f8 ea0f54f8
> > Aug 15 10:03:46 develop kernel: <0> 000003bf 00008000 00000000 00000000 e9f36e40 bfac7674 00000540 f6291f8c
> > Aug 15 10:03:46 develop kernel: Call Trace:
> > Aug 15 10:03:46 develop kernel: [<c10ddb5a>] ? inotify_read+0x19f/0x269
> > Aug 15 10:03:46 develop kernel: [<c1046b8f>] ? autoremove_wake_function+0x0/0x3a
> > Aug 15 10:03:46 develop kernel: [<c10b3626>] ? vfs_read+0x8b/0x142
> > Aug 15 10:03:46 develop kernel: [<c10dd9bb>] ? inotify_read+0x0/0x269
> > Aug 15 10:03:46 develop kernel: [<c10b3786>] ? sys_read+0x3d/0x6b
> > Aug 15 10:03:46 develop kernel: [<c1003610>] ? sysenter_do_call+0x12/0x2c
> > Aug 15 10:03:46 develop kernel: Code: 74 1f 8d 43 34 39 43 34 75 21 8b 43 2c e8 1e fe fc ff 89 da a1 c4 e3 54 c1 e8 dd fe fc ff 5b 5d c3 8d 43 14 e8 47 e6 fd ff eb d7 <0f> 0b eb fe 55 89 e5 57 56 53 83 ec 0c 89 c6 8d 40 18 89 45 e8 
> > Aug 15 10:03:46 develop kernel: EIP: [<c10dbb17>] fsnotify_put_event+0x46/0x4a SS:ESP 0068:f6291f08
> > Aug 15 10:03:46 develop kernel: ---[ end trace ecc7791937cd097c ]---
> > Aug 15 10:03:46 develop kernel: idr_remove called for id=1024 which is not allocated.
> > Aug 15 10:03:46 develop kernel: Pid: 10114, comm: kded4 Tainted: P      D    2.6.31-rc6 #2
> > Aug 15 10:03:46 develop kernel: Call Trace:
> > Aug 15 10:03:46 develop kernel: [<c133a0b0>] ? printk+0x18/0x20
> > Aug 15 10:03:46 develop kernel: [<c11d00c0>] idr_remove+0x79/0x1ad
> > Aug 15 10:03:46 develop kernel: [<c10db9d1>] ? fsnotify_add_notify_event+0x105/0x205
> > Aug 15 10:03:46 develop kernel: [<c10ddce3>] inotify_remove_from_idr+0x21/0x34
> > Aug 15 10:03:46 develop kernel: [<c10de1ae>] inotify_ignored_and_remove_idr+0x85/0xb7
> > Aug 15 10:03:46 develop kernel: [<c10dd753>] inotify_freeing_mark+0x8/0xa
> > Aug 15 10:03:46 develop kernel: [<c10dc3ab>] fsnotify_destroy_mark_by_entry+0xf3/0x132
> > Aug 15 10:03:46 develop kernel: [<c10dc532>] fsnotify_clear_marks_by_group+0x9b/0xc9
> > Aug 15 10:03:46 develop kernel: [<c10dd8e5>] inotify_release+0x12/0x26
> > Aug 15 10:03:46 develop kernel: [<c10b3dfa>] __fput+0xd3/0x1ba
> > Aug 15 10:03:46 develop kernel: [<c10b3efc>] fput+0x1b/0x20
> > Aug 15 10:03:46 develop kernel: [<c10b108e>] filp_close+0x41/0x5f
> > Aug 15 10:03:46 develop kernel: [<c10342d5>] put_files_struct+0x68/0xa6
> > Aug 15 10:03:46 develop kernel: [<c103434a>] exit_files+0x37/0x3c
> > Aug 15 10:03:46 develop kernel: [<c1035777>] do_exit+0x146/0x6c6
> > Aug 15 10:03:46 develop kernel: [<c1003f76>] ? apic_timer_interrupt+0x2a/0x30
> > Aug 15 10:03:46 develop kernel: [<c133a0b0>] ? printk+0x18/0x20
> > Aug 15 10:03:46 develop kernel: [<c103269c>] ? oops_exit+0x2f/0x31
> > Aug 15 10:03:46 develop kernel: [<c1006e42>] oops_begin+0x0/0x95
> > Aug 15 10:03:46 develop kernel: [<c1006ff5>] die+0x4a/0x5e
> > Aug 15 10:03:46 develop kernel: [<c1004271>] do_trap+0x82/0xa8
> > Aug 15 10:03:46 develop kernel: [<c100460e>] ? do_invalid_op+0x0/0x98
> > Aug 15 10:03:46 develop kernel: [<c1004694>] do_invalid_op+0x86/0x98
> > Aug 15 10:03:46 develop kernel: [<c10dbb17>] ? fsnotify_put_event+0x46/0x4a
> > Aug 15 10:03:46 develop kernel: [<c133c8e6>] error_code+0x66/0x6c
> > Aug 15 10:03:46 develop kernel: [<c10d007b>] ? sync_filesystems+0x83/0xe9
> > Aug 15 10:03:46 develop kernel: [<c100460e>] ? do_invalid_op+0x0/0x98
> > Aug 15 10:03:46 develop kernel: [<c10dbb17>] ? fsnotify_put_event+0x46/0x4a
> > Aug 15 10:03:46 develop kernel: [<c10ddb5a>] inotify_read+0x19f/0x269
> > Aug 15 10:03:46 develop kernel: [<c1046b8f>] ? autoremove_wake_function+0x0/0x3a
> > Aug 15 10:03:46 develop kernel: [<c10b3626>] vfs_read+0x8b/0x142
> > Aug 15 10:03:46 develop kernel: [<c10dd9bb>] ? inotify_read+0x0/0x269
> > Aug 15 10:03:46 develop kernel: [<c10b3786>] sys_read+0x3d/0x6b
> > Aug 15 10:03:46 develop kernel: [<c1003610>] sysenter_do_call+0x12/0x2c
> > Aug 15 10:03:46 develop kernel: ------------[ cut here ]------------
> > Aug 15 10:03:46 develop kernel: kernel BUG at mm/slab.c:2974!
> > Aug 15 10:03:46 develop kernel: invalid opcode: 0000 [#4] PREEMPT SMP 
> > Aug 15 10:03:46 develop kernel: last sysfs file: /sys/class/net/eth2/address
> > Aug 15 10:03:46 develop kernel: Modules linked in: nvidia(P) vboxnetadp vboxnetflt vboxdrv binfmt_misc ppdev parport_pc lp parport rfcomm l2cap bluetooth tun pppol2tp pppox ppp_generic slhc ipv6 capifs acpi_cpufreq cpufreq_ondemand cpufreq_powersave cpufreq_stats freq_table cpufreq_userspace cpufreq_conservative nfsd nfs lockd fscache nfs_acl auth_rpcgss sunrpc deflate zlib_deflate ctr twofish twofish_common camellia serpent blowfish cast5 des_generic cbc aes_i586 aes_generic xcbc rmd160 sha256_generic sha1_generic crypto_null af_key nls_iso8859_1 nls_cp437 vfat fat fuse dm_snapshot dm_mirror dm_region_hash dm_log dm_mod coretemp loop asix dm9601 pl2303 usbnet usbserial usbhid hid snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm arc4 ecb snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi firewire_ohci firewire_core sdhci_pci snd_seq_midi_event iwl3945 joydev b44 crc_itu_t sdhci snd_seq iwlcore ssb intel_agp snd_timer snd_seq_device !
>  mac80211 iTCO_wdt iTCO_vendor_support pcmcia pcmcia_core ohci1394 mmc_core i2c_i801 snd uhci_hcd ehci_hcd rtc_cmos rtc_core video psmouse mii agpgart ieee1394 led_class i2c_core soundcore snd_page_alloc cfg80211 usbcore rtc_lib battery button output serio_raw processor thermal wmi sg ac dell_laptop sr_mod rfkill evdev cdrom [last unloaded: nvidia]
> > Aug 15 10:03:46 develop kernel: 
> > Aug 15 10:03:46 develop kernel: Pid: 10114, comm: kded4 Tainted: P      D    (2.6.31-rc6 #2) MP061                           
> > Aug 15 10:03:46 develop kernel: EIP: 0060:[<c10ac105>] EFLAGS: 00010046 CPU: 1
> > Aug 15 10:03:46 develop kernel: EIP is at cache_alloc_refill+0x1bb/0x4e8
> > Aug 15 10:03:46 develop kernel: EAX: 000000cb EBX: f7209400 ECX: 00000033 EDX: f6864f40
> > Aug 15 10:03:46 develop kernel: ESI: e8047000 EDI: 00000009 EBP: f6291c74 ESP: f6291c20
> > Aug 15 10:03:46 develop kernel: DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
> > Aug 15 10:03:46 develop kernel: Process kded4 (pid: 10114, ti=f6290000 task=f6a250b0 task.ti=f6290000)
> > Aug 15 10:03:46 develop kernel: Stack:
> > Aug 15 10:03:46 develop kernel: f6291f34 ea0f54ec 00000032 00000010 00000050 00000050 f6864f40 f71fe264
> > Aug 15 10:03:46 develop kernel: <0> f6863000 f71fe250 f71fe248 00000009 f71fe240 00000000 e8c24118 00000206
> > Aug 15 10:03:46 develop kernel: <0> 00000000 ea0f5520 00000206 f6864f40 00000050 f6291c9c c10ac678 00000000
> > Aug 15 10:03:46 develop kernel: Call Trace:
> > Aug 15 10:03:46 develop kernel: [<c10ac678>] ? kmem_cache_alloc+0xed/0x105
> > Aug 15 10:03:46 develop kernel: [<c10db738>] ? fsnotify_create_event+0x21/0x147
> > Aug 15 10:03:46 develop kernel: [<c10de179>] ? inotify_ignored_and_remove_idr+0x50/0xb7
> > Aug 15 10:03:46 develop kernel: [<c10dd753>] ? inotify_freeing_mark+0x8/0xa
> > Aug 15 10:03:46 develop kernel: [<c10dc3ab>] ? fsnotify_destroy_mark_by_entry+0xf3/0x132
> > Aug 15 10:03:46 develop kernel: [<c10dc532>] ? fsnotify_clear_marks_by_group+0x9b/0xc9
> > Aug 15 10:03:46 develop kernel: [<c10dd8e5>] ? inotify_release+0x12/0x26
> > Aug 15 10:03:46 develop kernel: [<c10b3dfa>] ? __fput+0xd3/0x1ba
> > Aug 15 10:03:46 develop kernel: [<c10b3efc>] ? fput+0x1b/0x20
> > Aug 15 10:03:46 develop kernel: [<c10b108e>] ? filp_close+0x41/0x5f
> > Aug 15 10:03:46 develop kernel: [<c10342d5>] ? put_files_struct+0x68/0xa6
> > Aug 15 10:03:46 develop kernel: [<c103434a>] ? exit_files+0x37/0x3c
> > Aug 15 10:03:46 develop kernel: [<c1035777>] ? do_exit+0x146/0x6c6
> > Aug 15 10:03:46 develop kernel: [<c1003f76>] ? apic_timer_interrupt+0x2a/0x30
> > Aug 15 10:03:46 develop kernel: [<c133a0b0>] ? printk+0x18/0x20
> > Aug 15 10:03:46 develop kernel: [<c103269c>] ? oops_exit+0x2f/0x31
> > Aug 15 10:03:46 develop kernel: [<c1006e42>] ? oops_begin+0x0/0x95
> > Aug 15 10:03:46 develop kernel: [<c1006ff5>] ? die+0x4a/0x5e
> > Aug 15 10:03:46 develop kernel: [<c1004271>] ? do_trap+0x82/0xa8
> > Aug 15 10:03:46 develop kernel: [<c100460e>] ? do_invalid_op+0x0/0x98
> > Aug 15 10:03:46 develop kernel: [<c1004694>] ? do_invalid_op+0x86/0x98
> > Aug 15 10:03:46 develop kernel: [<c10dbb17>] ? fsnotify_put_event+0x46/0x4a
> > Aug 15 10:03:46 develop kernel: [<c133c8e6>] ? error_code+0x66/0x6c
> > Aug 15 10:03:46 develop kernel: [<c10d007b>] ? sync_filesystems+0x83/0xe9
> > Aug 15 10:03:46 develop kernel: [<c100460e>] ? do_invalid_op+0x0/0x98
> > Aug 15 10:03:46 develop kernel: [<c10dbb17>] ? fsnotify_put_event+0x46/0x4a
> > Aug 15 10:03:46 develop kernel: [<c10ddb5a>] ? inotify_read+0x19f/0x269
> > Aug 15 10:03:46 develop kernel: [<c1046b8f>] ? autoremove_wake_function+0x0/0x3a
> > Aug 15 10:03:46 develop kernel: [<c10b3626>] ? vfs_read+0x8b/0x142
> > Aug 15 10:03:46 develop kernel: [<c10dd9bb>] ? inotify_read+0x0/0x269
> > Aug 15 10:03:46 develop kernel: [<c10b3786>] ? sys_read+0x3d/0x6b
> > Aug 15 10:03:46 develop kernel: [<c1003610>] ? sysenter_do_call+0x12/0x2c
> > Aug 15 10:03:46 develop kernel: Code: 89 06 8b 45 d4 89 46 04 89 71 08 eb ae c7 40 34 01 00 00 00 8b 70 10 39 75 d0 74 a7 8b 46 10 8b 55 c4 3b 42 38 0f 82 1b ff ff ff <0f> 0b eb fe 8d 04 95 00 00 00 00 89 45 b0 89 d1 81 e1 ff ff ff 
> > Aug 15 10:03:46 develop kernel: EIP: [<c10ac105>] cache_alloc_refill+0x1bb/0x4e8 SS:ESP 0068:f6291c20
> > Aug 15 10:03:46 develop kernel: ---[ end trace ecc7791937cd097d ]---
> > Aug 15 10:03:46 develop kernel: Fixing recursive fault but reboot is needed!
> > Aug 15 10:03:46 develop kernel: BUG: scheduling while atomic: kded4/10114/0x00000002
> > Aug 15 10:03:46 develop kernel: Modules linked in: nvidia(P) vboxnetadp vboxnetflt vboxdrv binfmt_misc ppdev parport_pc lp parport rfcomm l2cap bluetooth tun pppol2tp pppox ppp_generic slhc ipv6 capifs acpi_cpufreq cpufreq_ondemand cpufreq_powersave cpufreq_stats freq_table cpufreq_userspace cpufreq_conservative nfsd nfs lockd fscache nfs_acl auth_rpcgss sunrpc deflate zlib_deflate ctr twofish twofish_common camellia serpent blowfish cast5 des_generic cbc aes_i586 aes_generic xcbc rmd160 sha256_generic sha1_generic crypto_null af_key nls_iso8859_1 nls_cp437 vfat fat fuse dm_snapshot dm_mirror dm_region_hash dm_log dm_mod coretemp loop asix dm9601 pl2303 usbnet usbserial usbhid hid snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm arc4 ecb snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi firewire_ohci firewire_core sdhci_pci snd_seq_midi_event iwl3945 joydev b44 crc_itu_t sdhci snd_seq iwlcore ssb intel_agp snd_timer snd_seq_device !
>  mac80211 iTCO_wdt iTCO_vendor_support pcmcia pcmcia_core ohci1394 mmc_core i2c_i801 snd uhci_hcd ehci_hcd rtc_cmos rtc_core video psmouse mii agpgart ieee1394 led_class i2c_core soundcore snd_page_alloc cfg80211 usbcore rtc_lib battery button output serio_raw processor thermal wmi sg ac dell_laptop sr_mod rfkill evdev cdrom [last unloaded: nvidia]
> > Aug 15 10:03:46 develop kernel: Pid: 10114, comm: kded4 Tainted: P      D    2.6.31-rc6 #2
> > Aug 15 10:03:46 develop kernel: Call Trace:
> > Aug 15 10:03:46 develop kernel: [<c133a0b0>] ? printk+0x18/0x20
> > Aug 15 10:03:46 develop kernel: [<c10286c9>] __schedule_bug+0x5d/0x5f
> > Aug 15 10:03:46 develop kernel: [<c133a3ce>] schedule+0x97/0x842
> > Aug 15 10:03:46 develop kernel: [<c1032d5f>] ? release_console_sem+0x189/0x1c3
> > Aug 15 10:03:46 develop kernel: [<c1035cf2>] do_exit+0x6c1/0x6c6
> > Aug 15 10:03:46 develop kernel: [<c1032d5f>] ? release_console_sem+0x189/0x1c3
> > Aug 15 10:03:46 develop kernel: [<c133a0b0>] ? printk+0x18/0x20
> > Aug 15 10:03:46 develop kernel: [<c103269c>] ? oops_exit+0x2f/0x31
> > Aug 15 10:03:46 develop kernel: [<c1006e42>] oops_begin+0x0/0x95
> > Aug 15 10:03:46 develop kernel: [<c1006ff5>] die+0x4a/0x5e
> > Aug 15 10:03:46 develop kernel: [<c1004271>] do_trap+0x82/0xa8
> > Aug 15 10:03:46 develop kernel: [<c100460e>] ? do_invalid_op+0x0/0x98
> > Aug 15 10:03:46 develop kernel: [<c1004694>] do_invalid_op+0x86/0x98
> > Aug 15 10:03:46 develop kernel: [<c10ac105>] ? cache_alloc_refill+0x1bb/0x4e8
> > Aug 15 10:03:46 develop kernel: [<c10092b5>] ? sched_clock+0x8/0xb
> > Aug 15 10:03:46 develop kernel: [<c104b929>] ? sched_clock_cpu+0x63/0x37c
> > Aug 15 10:03:46 develop kernel: [<c10092b5>] ? sched_clock+0x8/0xb
> > Aug 15 10:03:46 develop kernel: [<c104b929>] ? sched_clock_cpu+0x63/0x37c
> > Aug 15 10:03:46 develop kernel: [<c133c8e6>] error_code+0x66/0x6c
> > Aug 15 10:03:46 develop kernel: [<c100460e>] ? do_invalid_op+0x0/0x98
> > Aug 15 10:03:46 develop kernel: [<c10ac105>] ? cache_alloc_refill+0x1bb/0x4e8
> > Aug 15 10:03:46 develop kernel: [<c10ac678>] kmem_cache_alloc+0xed/0x105
> > Aug 15 10:03:46 develop kernel: [<c10db738>] ? fsnotify_create_event+0x21/0x147
> > Aug 15 10:03:46 develop kernel: [<c10de179>] inotify_ignored_and_remove_idr+0x50/0xb7
> > Aug 15 10:03:46 develop kernel: [<c10dd753>] inotify_freeing_mark+0x8/0xa
> > Aug 15 10:03:46 develop kernel: [<c10dc3ab>] fsnotify_destroy_mark_by_entry+0xf3/0x132
> > Aug 15 10:03:46 develop kernel: [<c10dc532>] fsnotify_clear_marks_by_group+0x9b/0xc9
> > Aug 15 10:03:46 develop kernel: [<c10dd8e5>] inotify_release+0x12/0x26
> > Aug 15 10:03:46 develop kernel: [<c10b3dfa>] __fput+0xd3/0x1ba
> > Aug 15 10:03:46 develop kernel: [<c10b3efc>] fput+0x1b/0x20
> > Aug 15 10:03:46 develop kernel: [<c10b108e>] filp_close+0x41/0x5f
> > Aug 15 10:03:46 develop kernel: [<c10342d5>] put_files_struct+0x68/0xa6
> > Aug 15 10:03:46 develop kernel: [<c103434a>] exit_files+0x37/0x3c
> > Aug 15 10:03:46 develop kernel: [<c1035777>] do_exit+0x146/0x6c6
> > Aug 15 10:03:46 develop kernel: [<c1003f76>] ? apic_timer_interrupt+0x2a/0x30
> > Aug 15 10:03:46 develop kernel: [<c133a0b0>] ? printk+0x18/0x20
> > Aug 15 10:03:46 develop kernel: [<c103269c>] ? oops_exit+0x2f/0x31
> > Aug 15 10:03:46 develop kernel: [<c1006e42>] oops_begin+0x0/0x95
> > Aug 15 10:03:46 develop kernel: [<c1006ff5>] die+0x4a/0x5e
> > Aug 15 10:03:46 develop kernel: [<c1004271>] do_trap+0x82/0xa8
> > Aug 15 10:03:46 develop kernel: [<c100460e>] ? do_invalid_op+0x0/0x98
> > Aug 15 10:03:46 develop kernel: [<c1004694>] do_invalid_op+0x86/0x98
> > Aug 15 10:03:46 develop kernel: [<c10dbb17>] ? fsnotify_put_event+0x46/0x4a
> > Aug 15 10:03:46 develop kernel: [<c133c8e6>] error_code+0x66/0x6c
> > Aug 15 10:03:46 develop kernel: [<c10d007b>] ? sync_filesystems+0x83/0xe9
> > Aug 15 10:03:46 develop kernel: [<c100460e>] ? do_invalid_op+0x0/0x98
> > Aug 15 10:03:46 develop kernel: [<c10dbb17>] ? fsnotify_put_event+0x46/0x4a
> > Aug 15 10:03:46 develop kernel: [<c10ddb5a>] inotify_read+0x19f/0x269
> > Aug 15 10:03:46 develop kernel: [<c1046b8f>] ? autoremove_wake_function+0x0/0x3a
> > Aug 15 10:03:46 develop kernel: [<c10b3626>] vfs_read+0x8b/0x142
> > Aug 15 10:03:46 develop kernel: [<c10dd9bb>] ? inotify_read+0x0/0x269
> > Aug 15 10:03:46 develop kernel: [<c10b3786>] sys_read+0x3d/0x6b
> > Aug 15 10:03:46 develop kernel: [<c1003610>] sysenter_do_call+0x12/0x2c
Comment 3 Mikko C. 2009-08-15 21:18:26 UTC
If it's of any use, I'm still unable to reproduce it with -rc6.
Anyway, I also use kde4, so it could be somehow related.
Comment 4 Joerg Platte 2009-08-16 09:12:25 UTC
I ran into the same bug today with 2.6.31-rc6. It's still there :)

Aug 16 10:56:02 ibm kernel: ------------[ cut here ]------------
Aug 16 10:56:02 ibm kernel: kernel BUG at fs/notify/notification.c:93!
Aug 16 10:56:02 ibm kernel: invalid opcode: 0000 [#1] PREEMPT
Aug 16 10:56:02 ibm kernel: last sysfs file: /sys/class/power_supply/BAT0/energy_full
Aug 16 10:56:02 ibm kernel: Modules linked in: nls_iso8859_1 nls_cp850 omfs jfs xfs reiserfs hfs hfsplus vfat fat udf crc_itu_t usb_storage usb_libusual isofs nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs radeon drm bridge stp llc bnep sco l2cap bluetooth ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ipt_REJECT ipt_LOG xt_limit xt_tcpudp xt_mac xt_multiport iptable_filter iptable_mangle ip_tables x_tables nf_conntrack_ftp vboxdrv nf_conntrack af_packet binfmt_misc cpufreq_powersave cpufreq_stats cpufreq_userspace autofs4 nsc_ircc fuse nls_utf8 ntfs ext2 deadline_iosched as_iosched ircomm_tty ircomm tun acpi_cpufreq sbs sbshc joydev snd_intel8x0m snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event dvb_usb_cinergyT2 snd_seq yenta_socket rsrc_nonstatic dvb_usb pcmcia ipw2200 snd_timer snd_seq_device irtty_sir rtc_cmos sir_dev rtc_core libipw snd dvb_core pcmcia_core soundcore irda i2c_i801 rng_core parport_
Aug 16 10:56:02 ibm kernel: c lib80211 psmouse snd_page_alloc 8250_pci serio_raw battery thinkpad_acpi ac button rfkill rtc_lib pcspkr led_class parport nvram 8250_pnp processor 8250 crc_ccitt serial_core evdev ext3 jbd mbcache usbhid hid sg sd_mod sr_mod cdrom ata_generic pata_acpi uhci_hcd ata_piix libata ehci_hcd e1000 usbcore nls_base scsi_mod intel_agp agpgart video output thermal fan unix cpufreq_conservative cpufreq_ondemand freq_table radeonfb fb_ddc backlight i2c_algo_bit cfbcopyarea i2c_core cfbimgblt cfbfillrect fbcon tileblit font bitblit softcursor fb
Aug 16 10:56:02 ibm kernel:
Aug 16 10:56:02 ibm kernel: Pid: 7427, comm: gam_server Tainted: G        W  (2.6.31-rc6 #1) 2373G1G
Aug 16 10:56:02 ibm kernel: EIP: 0060:[<c01b1af1>] EFLAGS: 00010293 CPU: 0
Aug 16 10:56:02 ibm kernel: EIP is at fsnotify_put_event+0x2c/0x47
Aug 16 10:56:02 ibm kernel: EAX: f1345298 EBX: f1345268 ECX: 00000000 EDX: 08c00501
Aug 16 10:56:02 ibm kernel: ESI: 00000020 EDI: 00000030 EBP: ef444f14 ESP: ef444f10
Aug 16 10:56:02 ibm kernel:  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
Aug 16 10:56:02 ibm kernel: Process gam_server (pid: 7427, ti=ef444000 task=f5a7ef60 task.ti=ef444000)
Aug 16 10:56:02 ibm kernel: Stack:
Aug 16 10:56:02 ibm kernel:  f1345268 ef444f6c c01b39b6 00000400 08c00508 ef42e900 ef42eb2c ef42eb18
Aug 16 10:56:02 ibm kernel: <0> ef42eb00 08c00508 00000011 00000000 f5a7ef60 c0136e61 ef42eb2c ef42eb2c
Aug 16 10:56:02 ibm kernel: <0> 00000418 00000002 00000000 00000020 ef42e900 c01b382e 00000400 ef444f8c
Aug 16 10:56:02 ibm kernel: Call Trace:
Aug 16 10:56:02 ibm kernel:  [<c01b39b6>] ? inotify_read+0x188/0x1f6
Aug 16 10:56:02 ibm kernel:  [<c0136e61>] ? autoremove_wake_function+0x0/0x33
Aug 16 10:56:02 ibm kernel:  [<c01b382e>] ? inotify_read+0x0/0x1f6
Aug 16 10:56:02 ibm kernel:  [<c018e451>] ? vfs_read+0x87/0x138
Aug 16 10:56:02 ibm kernel:  [<c013da2e>] ? do_gettimeofday+0x11/0x2b
Aug 16 10:56:02 ibm kernel:  [<c018e59b>] ? sys_read+0x3b/0x60
Aug 16 10:56:02 ibm kernel:  [<c01028b4>] ? sysenter_do_call+0x12/0x26
Aug 16 10:56:02 ibm kernel: Code: 85 c0 89 e5 53 89 c3 74 3a 8d 40 1c ff 08 0f 94 c2 84 d2 74 2e 83 7b 18 01 75 08 8d 43 10 e8 5d 2d fe ff 8d 43 30 39 43 30 74 04 <0f> 0b eb fe 8b 43 28 e8 77 8b fd ff a1 64 91 57 c0 89 da e8 f1
Aug 16 10:56:02 ibm kernel: EIP: [<c01b1af1>] fsnotify_put_event+0x2c/0x47 SS:ESP 0068:ef444f10
Aug 16 10:56:02 ibm kernel: ---[ end trace 4eaa2a86a8e2da24 ]---
Aug 16 10:56:02 ibm kernel: ------------[ cut here ]------------
Aug 16 10:56:02 ibm kernel: kernel BUG at fs/notify/notification.c:93!
Aug 16 10:56:02 ibm kernel: invalid opcode: 0000 [#2] PREEMPT
Aug 16 10:56:02 ibm kernel: last sysfs file: /sys/class/power_supply/BAT0/energy_full
Aug 16 10:56:02 ibm kernel: Modules linked in: nls_iso8859_1 nls_cp850 omfs jfs xfs reiserfs hfs hfsplus vfat fat udf crc_itu_t usb_storage usb_libusual isofs nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs radeon drm bridge stp llc bnep sco l2cap bluetooth ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ipt_REJECT ipt_LOG xt_limit xt_tcpudp xt_mac xt_multiport iptable_filter iptable_mangle ip_tables x_tables nf_conntrack_ftp vboxdrv nf_conntrack af_packet binfmt_misc cpufreq_powersave cpufreq_stats cpufreq_userspace autofs4 nsc_ircc fuse nls_utf8 ntfs ext2 deadline_iosched as_iosched ircomm_tty ircomm tun acpi_cpufreq sbs sbshc joydev snd_intel8x0m snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event dvb_usb_cinergyT2 snd_seq yenta_socket rsrc_nonstatic dvb_usb pcmcia ipw2200 snd_timer snd_seq_device irtty_sir rtc_cmos sir_dev rtc_core libipw snd dvb_core pcmcia_core soundcore irda i2c_i801 rng_core parport_
Aug 16 10:56:02 ibm kernel: c lib80211 psmouse snd_page_alloc 8250_pci serio_raw battery thinkpad_acpi ac button rfkill rtc_lib pcspkr led_class parport nvram 8250_pnp processor 8250 crc_ccitt serial_core evdev ext3 jbd mbcache usbhid hid sg sd_mod sr_mod cdrom ata_generic pata_acpi uhci_hcd ata_piix libata ehci_hcd e1000 usbcore nls_base scsi_mod intel_agp agpgart video output thermal fan unix cpufreq_conservative cpufreq_ondemand freq_table radeonfb fb_ddc backlight i2c_algo_bit cfbcopyarea i2c_core cfbimgblt cfbfillrect fbcon tileblit font bitblit softcursor fb
Aug 16 10:56:02 ibm kernel:
Aug 16 10:56:02 ibm kernel: Pid: 7427, comm: gam_server Tainted: G      D W  (2.6.31-rc6 #1) 2373G1G
Aug 16 10:56:02 ibm kernel: EIP: 0060:[<c01b1af1>] EFLAGS: 00010287 CPU: 0
Aug 16 10:56:02 ibm kernel: EIP is at fsnotify_put_event+0x2c/0x47
Aug 16 10:56:02 ibm kernel: EAX: f13457a0 EBX: f1345770 ECX: f13457a0 EDX: 00000001
Aug 16 10:56:02 ibm kernel: ESI: ef42eb00 EDI: f1345770 EBP: ef444d10 ESP: ef444d0c
Aug 16 10:56:02 ibm kernel:  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
Aug 16 10:56:02 ibm kernel: Process gam_server (pid: 7427, ti=ef444000 task=f5a7ef60 task.ti=ef444000)
Aug 16 10:56:02 ibm kernel: Stack:
Aug 16 10:56:02 ibm kernel:  ef425650 ef444d2c c01b1ba8 ef42eb18 ef42eb24 ef42eb00 f58b80c0 f6c94640
Aug 16 10:56:02 ibm kernel: <0> ef444d38 c01b1c1f ef42eb00 ef444d44 c01b1ce8 ef42eb00 ef444d54 c01b377a
Aug 16 10:56:02 ibm kernel: <0> 40000010 ef42e900 ef444d70 c018ebbb f6c28000 f7324000 ef42e900 00000000
Aug 16 10:56:02 ibm kernel: Call Trace:
Aug 16 10:56:02 ibm kernel:  [<c01b1ba8>] ? fsnotify_flush_notify+0x9c/0xc4
Aug 16 10:56:02 ibm kernel:  [<c01b1c1f>] ? fsnotify_final_destroy_group+0xb/0x23
Aug 16 10:56:02 ibm kernel:  [<c01b1ce8>] ? fsnotify_put_group+0x71/0x74
Aug 16 10:56:02 ibm kernel:  [<c01b377a>] ? inotify_release+0x19/0x25
Aug 16 10:56:02 ibm kernel:  [<c018ebbb>] ? __fput+0xca/0x182
Aug 16 10:56:02 ibm kernel:  [<c018ec8b>] ? fput+0x18/0x1a
Aug 16 10:56:02 ibm kernel:  [<c018c1b2>] ? filp_close+0x51/0x5b
Aug 16 10:56:02 ibm kernel:  [<c0126954>] ? put_files_struct+0x67/0xa9
Aug 16 10:56:02 ibm kernel:  [<c01269cf>] ? exit_files+0x39/0x3c
Aug 16 10:56:02 ibm kernel:  [<c0127f7b>] ? do_exit+0x19c/0x5ae
Aug 16 10:56:02 ibm kernel:  [<c02d6ab0>] ? printk+0xf/0x17
Aug 16 10:56:02 ibm kernel:  [<c01253e7>] ? oops_exit+0x23/0x28
Aug 16 10:56:02 ibm kernel:  [<c02d917c>] ? oops_end+0x82/0x8a
Aug 16 10:56:02 ibm kernel:  [<c0104b42>] ? die+0x54/0x5a
Aug 16 10:56:02 ibm kernel:  [<c02d8b2e>] ? do_trap+0x88/0xa1
Aug 16 10:56:02 ibm kernel:  [<c01033ef>] ? do_invalid_op+0x0/0x7b
Aug 16 10:56:02 ibm kernel:  [<c0103460>] ? do_invalid_op+0x71/0x7b
Aug 16 10:56:02 ibm kernel:  [<c01b1af1>] ? fsnotify_put_event+0x2c/0x47
Aug 16 10:56:02 ibm kernel:  [<c019ac81>] ? pollwake+0x0/0x63
Aug 16 10:56:02 ibm kernel:  [<c02d88fe>] ? error_code+0x5e/0x64
Aug 16 10:56:02 ibm kernel:  [<c01033ef>] ? do_invalid_op+0x0/0x7b
Aug 16 10:56:02 ibm kernel:  [<c01b1af1>] ? fsnotify_put_event+0x2c/0x47
Aug 16 10:56:02 ibm kernel:  [<c01b39b6>] ? inotify_read+0x188/0x1f6
Aug 16 10:56:02 ibm kernel:  [<c0136e61>] ? autoremove_wake_function+0x0/0x33
Aug 16 10:56:02 ibm kernel:  [<c01b382e>] ? inotify_read+0x0/0x1f6
Aug 16 10:56:02 ibm kernel:  [<c018e451>] ? vfs_read+0x87/0x138
Aug 16 10:56:02 ibm kernel:  [<c013da2e>] ? do_gettimeofday+0x11/0x2b
Aug 16 10:56:02 ibm kernel:  [<c018e59b>] ? sys_read+0x3b/0x60
Aug 16 10:56:02 ibm kernel:  [<c01028b4>] ? sysenter_do_call+0x12/0x26
Aug 16 10:56:02 ibm kernel: Code: 85 c0 89 e5 53 89 c3 74 3a 8d 40 1c ff 08 0f 94 c2 84 d2 74 2e 83 7b 18 01 75 08 8d 43 10 e8 5d 2d fe ff 8d 43 30 39 43 30 74 04 <0f> 0b eb fe 8b 43 28 e8 77 8b fd ff a1 64 91 57 c0 89 da e8 f1
Aug 16 10:56:02 ibm kernel: EIP: [<c01b1af1>] fsnotify_put_event+0x2c/0x47 SS:ESP 0068:ef444d0c
Aug 16 10:56:02 ibm kernel: BUG: unable to handle kernel paging request at 5f474d49


Maybe the kernel was tainted due to this (already reported) warning during startup?


Aug 16 10:57:04 ibm kernel: ------------[ cut here ]------------
Aug 16 10:57:04 ibm kernel: WARNING: at arch/x86/kernel/apic/apic.c:247 native_apic_write_dummy+0x2d/0x39()
Aug 16 10:57:04 ibm kernel: Hardware name: 2373G1G
Aug 16 10:57:04 ibm kernel: Modules linked in:
Aug 16 10:57:04 ibm kernel: Pid: 0, comm: swapper Not tainted 2.6.31-rc6 #1
Aug 16 10:57:04 ibm kernel: Call Trace:
Aug 16 10:57:04 ibm kernel:  [<c012547d>] warn_slowpath_common+0x60/0x90
Aug 16 10:57:04 ibm kernel:  [<c01254ba>] warn_slowpath_null+0xd/0x10
Aug 16 10:57:04 ibm kernel:  [<c0110a8d>] native_apic_write_dummy+0x2d/0x39
Aug 16 10:57:04 ibm kernel:  [<c010ccbe>] intel_init_thermal+0xb6/0x144
Aug 16 10:57:04 ibm kernel:  [<c010c4ff>] ? mce_init+0x33/0xb0
Aug 16 10:57:04 ibm kernel:  [<c010cb37>] mce_intel_feature_init+0xb/0x4c
Aug 16 10:57:04 ibm kernel:  [<c040c9a4>] mcheck_init+0x1e2/0x253
Aug 16 10:57:04 ibm kernel:  [<c040b57a>] identify_cpu+0x30b/0x31b
Aug 16 10:57:04 ibm kernel:  [<c01523b1>] ? delayacct_init+0x42/0x49
Aug 16 10:57:04 ibm kernel:  [<c03ec9cd>] identify_boot_cpu+0xd/0x23
Aug 16 10:57:04 ibm kernel:  [<c03eca19>] check_bugs+0xb/0xd4
Aug 16 10:57:04 ibm kernel:  [<c01523b1>] ? delayacct_init+0x42/0x49
Aug 16 10:57:04 ibm kernel:  [<c03e6959>] start_kernel+0x27b/0x28a
Aug 16 10:57:04 ibm kernel:  [<c03e630b>] i386_start_kernel+0x65/0x6a
Aug 16 10:57:04 ibm kernel: ---[ end trace 4eaa2a86a8e2da22 ]---
Comment 5 Mikko C. 2009-08-19 09:36:37 UTC
Ok, you're right, the bug is still present in 2.6.31-rc6.
I just messed around the kernel config and now I get the bug again.
So it must be something that triggers it, beside the obvious CONFIG_FSNOTIFY. I'll see if I can find what exactly. Meanwhile, please re-open.
Comment 6 Mikko C. 2009-08-19 09:37:37 UTC
forgot to post the backtrace.

hrtimer: interrupt too slow, forcing clock min delta to 4331067 ns                                                           
------------[ cut here ]------------                                                                                         
kernel BUG at fs/notify/notification.c:93!                                                                                   
invalid opcode: 0000 [#1] PREEMPT SMP                                                                                        
last sysfs file: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/charge_full                                 
CPU 0                                                                                                                        
Modules linked in: vfat fat coretemp hwmon cpufreq_ondemand fan snd_hda_codec_idt iwl3945 snd_hda_intel iwlcore mac80211 snd_hda_codec snd_pcm snd_timer radeon usb_storage snd soundcore ttm drm psmouse uhci_hcd ehci_hcd led_class evdev i2c_algo_bit snd_page_alloc dell_laptop wmi ac thermal battery button cfg80211 rfkill                                                      
Pid: 5093, comm: plasma-desktop Not tainted 2.6.31-rc6 #2 MM061                                                              
RIP: 0010:[<ffffffff81107d55>]  [<ffffffff81107d55>] fsnotify_put_event+0x95/0xa0                                            
RSP: 0018:ffff880069c9fe08  EFLAGS: 00010202                                                                                 
RAX: ffff880044c3fce8 RBX: ffff880044c3fc90 RCX: 00007ffffa4d9be0                                                            
RDX: 0000000000000000 RSI: ffffffff816c6f50 RDI: ffff880044c3fc90
RBP: 0000000000000020 R08: ffffffff8110aee0 R09: 00007ffffa4db810
R10: 0000000001d7c2a0 R11: 0000000000000246 R12: ffff88007fadb180
R13: 00007ffffa4d9bc0 R14: ffff88007fadb1a8 R15: ffff880069c9fe68
FS:  00007f3ad52b1750(0000) GS:ffff8800016ec000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb3d0425000 CR3: 0000000069c8a000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process plasma-desktop (pid: 5093, threadinfo ffff880069c9e000, task ffff88007f94a8f0)
Stack:
 ffff880044c3fc90 0000000066a930ed ffff880044c3fc90 ffffffff8110b1d2
<0> 00007ffffa4daeec 00007ffffa4d9bd0 0000000000000020 ffff88007fadb1d8
<0> 00007ffffa4d9bc0 000000100000000a ffff8800703a2440 00000010810dfacd
Call Trace:
 [<ffffffff8110b1d2>] ? inotify_read+0x2f2/0x340
 [<ffffffff81064990>] ? autoremove_wake_function+0x0/0x60
 [<ffffffff810cf901>] ? vfs_read+0xe1/0x1d0
 [<ffffffff810d033f>] ? fget_light+0xbf/0xd0
 [<ffffffff810cfb0e>] ? sys_read+0x5e/0xb0
 [<ffffffff8100b7eb>] ? system_call_fastpath+0x16/0x1b
Code: 44 24 08 65 48 33 04 25 28 00 00 00 75 13 48 83 c4 10 5b c3 66 90 48 8d 7f 28 e8 e7 1b fd ff eb a3 0f 1f 44 00 00 e8 ab 18 f4 ff <0f> 0b eb fe 0f 1f 80 00 00 00 00 41 57 41 56 4c 8d 77 28 41 55
RIP  [<ffffffff81107d55>] fsnotify_put_event+0x95/0xa0
 RSP <ffff880069c9fe08>
---[ end trace 1698aaa625e98ffb ]---
Comment 7 Zdenek Kabelac 2009-08-24 09:03:11 UTC
My kernel for this oops was: 6c30c53fd5ae6a99a23ad78e90c428d2c8ffb07f
(thus kernel for  Aug 19)

I was running yum upgrade (as you could see from lines just above oops)

My machine is T61, 4GB, C2D.

Not sure - how is this related - but looks similar (i.e. fsnotify problem)



yum: Updated: createrepo-0.9.7-15.fc12.noarch
yum: Updated: system-config-printer-1.1.11-4.fc12.x86_64
[38133.001339] general protection fault: 0000 [#1] PREEMPT SMP 
[38133.001357] last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
[38133.001365] CPU 1 
[38133.001373] Modules linked in: usbhid nls_iso8859_1 nls_cp1250 vfat fat reiserfs mmc_block nfsd lockd nfs_acl auth_rpcgss exportfs tun hidp hid fuse ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc rfcomm sco l2cap sunrpc autofs4 ipv6 nf_conntrack_ftp nf_conntrack binfmt_misc loop dm_mirror dm_region_hash dm_log dm_mod kvm_intel kvm i915 drm i2c_algo_bit uinput arc4 ecb cryptomgr snd_hda_codec_analog aead pcompress crypto_blkcipher crypto_hash crypto_algapi iwl3945 snd_hda_intel snd_hda_codec snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss iwlcore mac80211 snd_pcm sr_mod video snd_timer cfg80211 usb_storage btusb snd soundcore e1000e cdrom bluetooth sdhci_pci iTCO_wdt thinkpad_acpi rtc_cmos nvram rtc_core iTCO_vendor_support psmouse i2c_i801 i2c_core snd_page_alloc rfkill sdhci mmc_core rtc_lib evdev backlight output led_class serio_raw battery ac butt
on uhci_hcd ohci_hcd ehci_hcd usbcore [last unloaded: microcode]
[38133.001694] Pid: 10492, comm: kded Not tainted 2.6.31-rc6-00226-gad2dfd3-dirty #17 6464CTO
[38133.001701] RIP: 0010:[<ffffffff81232434>]  [<ffffffff81232434>] _raw_spin_trylock+0x4/0x40
[38133.001723] RSP: 0018:ffff88013663bea8  EFLAGS: 00010246
[38133.001731] RAX: ffff8800ae2c0000 RBX: 6b6b6b6b6b6b6c93 RCX: 0000000000000000
[38133.001739] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 6b6b6b6b6b6b6c93
[38133.001746] RBP: ffff88013663bea8 R08: 0000000000000000 R09: 0000000000000000
[38133.001754] R10: 0000000000000246 R11: 0000000000000001 R12: 6b6b6b6b6b6b6cab
[38133.001762] R13: 6b6b6b6b6b6b6b6b R14: ffff8800bf190e48 R15: 6b6b6b6b6b6b6c93
[38133.001770] FS:  00007f6993f54760(0000) GS:ffff88002bfde000(0000) knlGS:0000000000000000
[38133.001779] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[38133.001786] CR2: 00007f45a06ff000 CR3: 0000000135c4c000 CR4: 00000000000026e0
[38133.001794] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[38133.001802] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[38133.001811] Process kded (pid: 10492, threadinfo ffff88013663a000, task ffff8800ae2c0000)
[38133.001818] Stack:
[38133.001823]  ffff88013663bed8 ffffffff813db3c8 ffffffff81140239 0000000000000246
[38133.001838] <0> ffff8800bf190e10 6b6b6b6b6b6b6b6b ffff88013663bf28 ffffffff81140239
[38133.001854] <0> ffff88010ff36400 ffff8800bf190e10 ffff88010ff36278 ffff8801342db080
[38133.001874] Call Trace:
[38133.001887]  [<ffffffff813db3c8>] _spin_lock+0x48/0x80
[38133.001901]  [<ffffffff81140239>] ? fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.001912]  [<ffffffff81140239>] fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.001925]  [<ffffffff81142614>] sys_inotify_rm_watch+0x84/0xe0
[38133.001939]  [<ffffffff8100c15b>] system_call_fastpath+0x16/0x1b
[38133.001946] Code: f8 48 8b 5d d8 4c 8b 65 e0 4c 8b 6d e8 4c 8b 75 f0 4c 8b 7d f8 c9 c3 4c 89 f7 e8 c8 22 0a 00 eb dd 90 90 90 90 90 90 55 48 89 e5 <0f> b7 07 38 e0 8d 90 00 01 00 00 75 05 f0 66 0f b1 17 0f 94 c2 
[38133.002106] RIP  [<ffffffff81232434>] _raw_spin_trylock+0x4/0x40
[38133.002118]  RSP <ffff88013663bea8>
[38133.002128] ---[ end trace d4077c55334e0f79 ]---
[38133.002137] note: kded[10492] exited with preempt_count 2
[38133.003736] BUG: scheduling while atomic: kded/10492/0x10000003
[38133.003743] INFO: lockdep is turned off.
[38133.003749] Modules linked in: usbhid nls_iso8859_1 nls_cp1250 vfat fat reiserfs mmc_block nfsd lockd nfs_acl auth_rpcgss exportfs tun hidp hid fuse ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc rfcomm sco l2cap sunrpc autofs4 ipv6 nf_conntrack_ftp nf_conntrack binfmt_misc loop dm_mirror dm_region_hash dm_log dm_mod kvm_intel kvm i915 drm i2c_algo_bit uinput arc4 ecb cryptomgr snd_hda_codec_analog aead pcompress crypto_blkcipher crypto_hash crypto_algapi iwl3945 snd_hda_intel snd_hda_codec snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss iwlcore mac80211 snd_pcm sr_mod video snd_timer cfg80211 usb_storage btusb snd soundcore e1000e cdrom bluetooth sdhci_pci iTCO_wdt thinkpad_acpi rtc_cmos nvram rtc_core iTCO_vendor_support psmouse i2c_i801 i2c_core snd_page_alloc rfkill sdhci mmc_core rtc_lib evdev backlight output led_class serio_raw battery ac butt
on uhci_hcd ohci_hcd ehci_hcd usbcore [last unloaded: microcode]
[38133.004063] Pid: 10492, comm: kded Tainted: G      D    2.6.31-rc6-00226-gad2dfd3-dirty #17
[38133.004071] Call Trace:
[38133.004084]  [<ffffffff8107bee5>] ? __debug_show_held_locks+0x25/0x30
[38133.004097]  [<ffffffff8103dd7f>] __schedule_bug+0x7f/0x90
[38133.004110]  [<ffffffff813d8cf2>] thread_return+0x726/0x754
[38133.004121]  [<ffffffff813daf0e>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[38133.004131]  [<ffffffff8107c182>] ? print_lock_contention_bug+0x22/0xf0
[38133.004145]  [<ffffffff8104548f>] __cond_resched+0x2f/0x50
[38133.004155]  [<ffffffff813d8e65>] _cond_resched+0x35/0x40
[38133.004166]  [<ffffffff810ee216>] unmap_vmas+0x7c6/0x970
[38133.004179]  [<ffffffff810f36fd>] exit_mmap+0xed/0x1b0
[38133.004189]  [<ffffffff8104b2c7>] mmput+0x57/0xc0
[38133.004200]  [<ffffffff8104fa68>] exit_mm+0x108/0x150
[38133.004210]  [<ffffffff810507df>] do_exit+0x13f/0x7e0
[38133.004220]  [<ffffffff8104e353>] ? release_console_sem+0x203/0x250
[38133.004231]  [<ffffffff813dcf9c>] oops_end+0x9c/0xe0
[38133.004242]  [<ffffffff810103ab>] die+0x5b/0x90
[38133.004252]  [<ffffffff813dcbf2>] do_general_protection+0x152/0x160
[38133.004263]  [<ffffffff813dc20f>] general_protection+0x1f/0x30
[38133.004275]  [<ffffffff81232434>] ? _raw_spin_trylock+0x4/0x40
[38133.004285]  [<ffffffff813db3c8>] _spin_lock+0x48/0x80
[38133.004295]  [<ffffffff81140239>] ? fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.004307]  [<ffffffff81140239>] fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.004318]  [<ffffffff81142614>] sys_inotify_rm_watch+0x84/0xe0
[38133.004330]  [<ffffffff8100c15b>] system_call_fastpath+0x16/0x1b
[38133.006312] idr_remove called for id=4096 which is not allocated.
[38133.006322] Pid: 10492, comm: kded Tainted: G      D    2.6.31-rc6-00226-gad2dfd3-dirty #17
[38133.006329] Call Trace:
[38133.006341]  [<ffffffff81225aff>] idr_remove+0x1ef/0x200
[38133.006354]  [<ffffffff811426be>] ? inotify_remove_from_idr+0x2e/0x60
[38133.006365]  [<ffffffff811426d0>] inotify_remove_from_idr+0x40/0x60
[38133.006376]  [<ffffffff81142d63>] inotify_ignored_and_remove_idr+0x93/0xd0
[38133.006387]  [<ffffffff81141ede>] inotify_freeing_mark+0xe/0x10
[38133.006398]  [<ffffffff811402df>] fsnotify_destroy_mark_by_entry+0x12f/0x190
[38133.006410]  [<ffffffff8114050b>] fsnotify_clear_marks_by_group+0xdb/0x120
[38133.006421]  [<ffffffff8114212c>] inotify_release+0x2c/0x50
[38133.006432]  [<ffffffff8110e181>] __fput+0x101/0x220
[38133.006441]  [<ffffffff8110e2c5>] fput+0x25/0x30
[38133.006453]  [<ffffffff8110a50d>] filp_close+0x5d/0x90
[38133.006463]  [<ffffffff8104fd00>] put_files_struct+0xd0/0xf0
[38133.006474]  [<ffffffff8104fd72>] exit_files+0x52/0x60
[38133.006484]  [<ffffffff81050806>] do_exit+0x166/0x7e0
[38133.006494]  [<ffffffff8104e353>] ? release_console_sem+0x203/0x250
[38133.006505]  [<ffffffff813dcf9c>] oops_end+0x9c/0xe0
[38133.006515]  [<ffffffff810103ab>] die+0x5b/0x90
[38133.006525]  [<ffffffff813dcbf2>] do_general_protection+0x152/0x160
[38133.006535]  [<ffffffff813dc20f>] general_protection+0x1f/0x30
[38133.006547]  [<ffffffff81232434>] ? _raw_spin_trylock+0x4/0x40
[38133.006557]  [<ffffffff813db3c8>] _spin_lock+0x48/0x80
[38133.006567]  [<ffffffff81140239>] ? fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.006579]  [<ffffffff81140239>] fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.006590]  [<ffffffff81142614>] sys_inotify_rm_watch+0x84/0xe0
[38133.006601]  [<ffffffff8100c15b>] system_call_fastpath+0x16/0x1b
[38133.006798] =============================================================================
[38133.006807] BUG inotify_inode_mark_entry: Poison overwritten
[38133.006813] -----------------------------------------------------------------------------
[38133.006816] 
[38133.006823] INFO: 0xffff8800bf190e14-0xffff8800bf190e5f. First byte 0x6c instead of 0x6b
[38133.006836] INFO: Allocated in sys_inotify_add_watch+0xce/0x3c0 age=4942 cpu=0 pid=10492
[38133.006847] INFO: Freed in inotify_free_mark+0x18/0x20 age=2 cpu=1 pid=10492
[38133.006856] INFO: Slab 0xffffea00029cd780 objects=17 used=0 fp=0xffff8800bf190780 flags=0x4000000000000082
[38133.006865] INFO: Object 0xffff8800bf190e10 @offset=3600 fp=0xffff8800bf190d20
[38133.006868] 
[38133.006874] Bytes b4 0xffff8800bf190e00:  8c 2f ad 00 01 00 00 00 5a 5a 5a 5a 5a 5a 5a 5a ./­.....ZZZZZZZZ
[38133.006926]   Object 0xffff8800bf190e10:  6b 6b 6b 6b 6c 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkklkkkkkkkkkkk
[38133.006978]   Object 0xffff8800bf190e20:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
[38133.007030]   Object 0xffff8800bf190e30:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
[38133.007039]   Object 0xffff8800bf190e40:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6c 6b 6b 6b 6b 6b 6b kkkkkkkkklkkkkkk
[38133.007039]   Object 0xffff8800bf190e50:  01 00 00 00 6b 6b 6b 6b 00 00 2c ae 00 88 ff ff ....kkkk..,Ž..˙˙
[38133.007039]   Object 0xffff8800bf190e60:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
[38133.007039]   Object 0xffff8800bf190e70:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
[38133.007039]   Object 0xffff8800bf190e80:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
[38133.007039]   Object 0xffff8800bf190e90:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
[38133.007039]   Object 0xffff8800bf190ea0:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
[38133.007039]   Object 0xffff8800bf190eb0:  6b 6b 6b 6b 6b 6b 6b a5                         kkkkkkkĽ        
[38133.007039]  Redzone 0xffff8800bf190eb8:  bb bb bb bb bb bb bb bb                         ťťťťťťťť        
[38133.007039]  Padding 0xffff8800bf190ef8:  5a 5a 5a 5a 5a 5a 5a 5a                         ZZZZZZZZ        
[38133.007039] Pid: 10492, comm: kded Tainted: G      D    2.6.31-rc6-00226-gad2dfd3-dirty #17
[38133.007039] Call Trace:
[38133.007039]  [<ffffffff81101502>] print_trailer+0x102/0x170
[38133.007039]  [<ffffffff811019e2>] check_bytes_and_report+0x102/0x130
[38133.007039]  [<ffffffff81103626>] check_object+0x216/0x260
[38133.007039]  [<ffffffff811037ab>] __free_slab+0x13b/0x170
[38133.007039]  [<ffffffff8110380b>] discard_slab+0x2b/0x40
[38133.007039]  [<ffffffff81103c70>] __slab_free+0x1b0/0x3c0
[38133.007039]  [<ffffffff81142688>] ? inotify_free_mark+0x18/0x20
[38133.007039]  [<ffffffff81142688>] ? inotify_free_mark+0x18/0x20
[38133.007039]  [<ffffffff811044d9>] kmem_cache_free+0x149/0x1d0
[38133.007039]  [<ffffffff81142688>] inotify_free_mark+0x18/0x20
[38133.007039]  [<ffffffff8113fd86>] fsnotify_put_mark+0x26/0x30
[38133.007039]  [<ffffffff81140516>] fsnotify_clear_marks_by_group+0xe6/0x120
[38133.007039]  [<ffffffff8114212c>] inotify_release+0x2c/0x50
[38133.007039]  [<ffffffff8110e181>] __fput+0x101/0x220
[38133.007039]  [<ffffffff8110e2c5>] fput+0x25/0x30
[38133.007039]  [<ffffffff8110a50d>] filp_close+0x5d/0x90
[38133.007039]  [<ffffffff8104fd00>] put_files_struct+0xd0/0xf0
[38133.007039]  [<ffffffff8104fd72>] exit_files+0x52/0x60
[38133.007039]  [<ffffffff81050806>] do_exit+0x166/0x7e0
[38133.007039]  [<ffffffff8104e353>] ? release_console_sem+0x203/0x250
[38133.007039]  [<ffffffff813dcf9c>] oops_end+0x9c/0xe0
[38133.007039]  [<ffffffff810103ab>] die+0x5b/0x90
[38133.007039]  [<ffffffff813dcbf2>] do_general_protection+0x152/0x160
[38133.007039]  [<ffffffff813dc20f>] general_protection+0x1f/0x30
[38133.007039]  [<ffffffff81232434>] ? _raw_spin_trylock+0x4/0x40
[38133.007039]  [<ffffffff813db3c8>] _spin_lock+0x48/0x80
[38133.007039]  [<ffffffff81140239>] ? fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.007039]  [<ffffffff81140239>] fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.007039]  [<ffffffff81142614>] sys_inotify_rm_watch+0x84/0xe0
[38133.007039]  [<ffffffff8100c15b>] system_call_fastpath+0x16/0x1b
[38133.007039] FIX inotify_inode_mark_entry: Restoring 0xffff8800bf190e14-0xffff8800bf190e5f=0x6b
[38133.007039] 
[38133.007987] BUG: scheduling while atomic: kded/10492/0x00000003
[38133.007993] INFO: lockdep is turned off.
[38133.007999] Modules linked in: usbhid nls_iso8859_1 nls_cp1250 vfat fat reiserfs mmc_block nfsd lockd nfs_acl auth_rpcgss exportfs tun hidp hid fuse ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc rfcomm sco l2cap sunrpc autofs4 ipv6 nf_conntrack_ftp nf_conntrack binfmt_misc loop dm_mirror dm_region_hash dm_log dm_mod kvm_intel kvm i915 drm i2c_algo_bit uinput arc4 ecb cryptomgr snd_hda_codec_analog aead pcompress crypto_blkcipher crypto_hash crypto_algapi iwl3945 snd_hda_intel snd_hda_codec snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss iwlcore mac80211 snd_pcm sr_mod video snd_timer cfg80211 usb_storage btusb snd soundcore e1000e cdrom bluetooth sdhci_pci iTCO_wdt thinkpad_acpi rtc_cmos nvram rtc_core iTCO_vendor_support psmouse i2c_i801 i2c_core snd_page_alloc rfkill sdhci mmc_core rtc_lib evdev backlight output led_class serio_raw battery ac butt
on uhci_hcd ohci_hcd ehci_hcd usbcore [last unloaded: microcode]
[38133.008314] Pid: 10492, comm: kded Tainted: G      D    2.6.31-rc6-00226-gad2dfd3-dirty #17
[38133.008321] Call Trace:
[38133.008332]  [<ffffffff8107bee5>] ? __debug_show_held_locks+0x25/0x30
[38133.008344]  [<ffffffff8103dd7f>] __schedule_bug+0x7f/0x90
[38133.008355]  [<ffffffff813d8cf2>] thread_return+0x726/0x754
[38133.008366]  [<ffffffff813dbb48>] ? _spin_unlock_irqrestore+0x38/0x80
[38133.008377]  [<ffffffff8107a4d9>] ? trace_hardirqs_off_caller+0x29/0xc0
[38133.008389]  [<ffffffff8123367f>] ? debug_check_no_obj_freed+0x17f/0x1f0
[38133.008399]  [<ffffffff813d918d>] schedule_timeout+0x1fd/0x250
[38133.008410]  [<ffffffff813dbbc0>] ? _spin_unlock_irq+0x30/0x60
[38133.008420]  [<ffffffff8107d6b9>] ? trace_hardirqs_on_caller+0x29/0x1a0
[38133.008432]  [<ffffffff813d8056>] wait_for_common+0x116/0x190
[38133.008442]  [<ffffffff810467d0>] ? default_wake_function+0x0/0x20
[38133.008453]  [<ffffffff8107d83d>] ? trace_hardirqs_on+0xd/0x10
[38133.008464]  [<ffffffff813d818d>] wait_for_completion+0x1d/0x20
[38133.008475]  [<ffffffff81066678>] synchronize_rcu+0x58/0x60
[38133.008485]  [<ffffffff81066600>] ? wakeme_after_rcu+0x0/0x20
[38133.008496]  [<ffffffff813d9d51>] ? mutex_lock_nested+0x41/0x50
[38133.008507]  [<ffffffff8106e55d>] synchronize_srcu+0x4d/0x90
[38133.008518]  [<ffffffff8113fa1e>] fsnotify_put_group+0x6e/0xb0
[38133.008529]  [<ffffffff81142134>] inotify_release+0x34/0x50
[38133.008539]  [<ffffffff8110e181>] __fput+0x101/0x220
[38133.008548]  [<ffffffff8110e2c5>] fput+0x25/0x30
[38133.008558]  [<ffffffff8110a50d>] filp_close+0x5d/0x90
[38133.008569]  [<ffffffff8104fd00>] put_files_struct+0xd0/0xf0
[38133.008579]  [<ffffffff8104fd72>] exit_files+0x52/0x60
[38133.008590]  [<ffffffff81050806>] do_exit+0x166/0x7e0
[38133.008599]  [<ffffffff8104e353>] ? release_console_sem+0x203/0x250
[38133.008610]  [<ffffffff813dcf9c>] oops_end+0x9c/0xe0
[38133.008620]  [<ffffffff810103ab>] die+0x5b/0x90
[38133.008630]  [<ffffffff813dcbf2>] do_general_protection+0x152/0x160
[38133.008641]  [<ffffffff813dc20f>] general_protection+0x1f/0x30
[38133.008652]  [<ffffffff81232434>] ? _raw_spin_trylock+0x4/0x40
[38133.008662]  [<ffffffff813db3c8>] _spin_lock+0x48/0x80
[38133.008672]  [<ffffffff81140239>] ? fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.008683]  [<ffffffff81140239>] fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.008695]  [<ffffffff81142614>] sys_inotify_rm_watch+0x84/0xe0
[38133.008707]  [<ffffffff8100c15b>] system_call_fastpath+0x16/0x1b
[38133.024500] BUG: scheduling while atomic: kded/10492/0x00000003
[38133.024503] INFO: lockdep is turned off.
[38133.024506] Modules linked in: usbhid nls_iso8859_1 nls_cp1250 vfat fat reiserfs mmc_block nfsd lockd nfs_acl auth_rpcgss exportfs tun hidp hid fuse ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc rfcomm sco l2cap sunrpc autofs4 ipv6 nf_conntrack_ftp nf_conntrack binfmt_misc loop dm_mirror dm_region_hash dm_log dm_mod kvm_intel kvm i915 drm i2c_algo_bit uinput arc4 ecb cryptomgr snd_hda_codec_analog aead pcompress crypto_blkcipher crypto_hash crypto_algapi iwl3945 snd_hda_intel snd_hda_codec snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss iwlcore mac80211 snd_pcm sr_mod video snd_timer cfg80211 usb_storage btusb snd soundcore e1000e cdrom bluetooth sdhci_pci iTCO_wdt thinkpad_acpi rtc_cmos nvram rtc_core iTCO_vendor_support psmouse i2c_i801 i2c_core snd_page_alloc rfkill sdhci mmc_core rtc_lib evdev backlight output led_class serio_raw battery ac butt
on uhci_hcd ohci_hcd ehci_hcd usbcore [last unloaded: microcode]
[38133.024634] Pid: 10492, comm: kded Tainted: G      D    2.6.31-rc6-00226-gad2dfd3-dirty #17
[38133.024637] Call Trace:
[38133.024645]  [<ffffffff8107bee5>] ? __debug_show_held_locks+0x25/0x30
[38133.024650]  [<ffffffff8103dd7f>] __schedule_bug+0x7f/0x90
[38133.024656]  [<ffffffff813d8cf2>] thread_return+0x726/0x754
[38133.024660]  [<ffffffff813dbb48>] ? _spin_unlock_irqrestore+0x38/0x80
[38133.024664]  [<ffffffff8107a4d9>] ? trace_hardirqs_off_caller+0x29/0xc0
[38133.024669]  [<ffffffff8123367f>] ? debug_check_no_obj_freed+0x17f/0x1f0
[38133.024673]  [<ffffffff813d918d>] schedule_timeout+0x1fd/0x250
[38133.024677]  [<ffffffff813dbbc0>] ? _spin_unlock_irq+0x30/0x60
[38133.024681]  [<ffffffff8107d6b9>] ? trace_hardirqs_on_caller+0x29/0x1a0
[38133.024685]  [<ffffffff813d8056>] wait_for_common+0x116/0x190
[38133.024689]  [<ffffffff810467d0>] ? default_wake_function+0x0/0x20
[38133.024693]  [<ffffffff8107d83d>] ? trace_hardirqs_on+0xd/0x10
[38133.024698]  [<ffffffff813d818d>] wait_for_completion+0x1d/0x20
[38133.024702]  [<ffffffff81066678>] synchronize_rcu+0x58/0x60
[38133.024706]  [<ffffffff81066600>] ? wakeme_after_rcu+0x0/0x20
[38133.024710]  [<ffffffff813d9d51>] ? mutex_lock_nested+0x41/0x50
[38133.024714]  [<ffffffff8106e56f>] synchronize_srcu+0x5f/0x90
[38133.024719]  [<ffffffff8113fa1e>] fsnotify_put_group+0x6e/0xb0
[38133.024723]  [<ffffffff81142134>] inotify_release+0x34/0x50
[38133.024727]  [<ffffffff8110e181>] __fput+0x101/0x220
[38133.024731]  [<ffffffff8110e2c5>] fput+0x25/0x30
[38133.024735]  [<ffffffff8110a50d>] filp_close+0x5d/0x90
[38133.024740]  [<ffffffff8104fd00>] put_files_struct+0xd0/0xf0
[38133.024743]  [<ffffffff8104fd72>] exit_files+0x52/0x60
[38133.024747]  [<ffffffff81050806>] do_exit+0x166/0x7e0
[38133.024751]  [<ffffffff8104e353>] ? release_console_sem+0x203/0x250
[38133.024755]  [<ffffffff813dcf9c>] oops_end+0x9c/0xe0
[38133.024759]  [<ffffffff810103ab>] die+0x5b/0x90
[38133.024763]  [<ffffffff813dcbf2>] do_general_protection+0x152/0x160
[38133.024767]  [<ffffffff813dc20f>] general_protection+0x1f/0x30
[38133.024771]  [<ffffffff81232434>] ? _raw_spin_trylock+0x4/0x40
[38133.024775]  [<ffffffff813db3c8>] _spin_lock+0x48/0x80
[38133.024779]  [<ffffffff81140239>] ? fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.024783]  [<ffffffff81140239>] fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.024787]  [<ffffffff81142614>] sys_inotify_rm_watch+0x84/0xe0
[38133.024792]  [<ffffffff8100c15b>] system_call_fastpath+0x16/0x1b
[38133.034027] BUG: scheduling while atomic: kded/10492/0x00000003
[38133.034035] INFO: lockdep is turned off.
[38133.034040] Modules linked in: usbhid nls_iso8859_1 nls_cp1250 vfat fat reiserfs mmc_block nfsd lockd nfs_acl auth_rpcgss exportfs tun hidp hid fuse ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc rfcomm sco l2cap sunrpc autofs4 ipv6 nf_conntrack_ftp nf_conntrack binfmt_misc loop dm_mirror dm_region_hash dm_log dm_mod kvm_intel kvm i915 drm i2c_algo_bit uinput arc4 ecb cryptomgr snd_hda_codec_analog aead pcompress crypto_blkcipher crypto_hash crypto_algapi iwl3945 snd_hda_intel snd_hda_codec snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss iwlcore mac80211 snd_pcm sr_mod video snd_timer cfg80211 usb_storage btusb snd soundcore e1000e cdrom bluetooth sdhci_pci iTCO_wdt thinkpad_acpi rtc_cmos nvram rtc_core iTCO_vendor_support psmouse i2c_i801 i2c_core snd_page_alloc rfkill sdhci mmc_core rtc_lib evdev backlight output led_class serio_raw battery ac butt
on uhci_hcd ohci_hcd ehci_hcd usbcore [last unloaded: microcode]
[38133.034354] Pid: 10492, comm: kded Tainted: G      D    2.6.31-rc6-00226-gad2dfd3-dirty #17
[38133.034361] Call Trace:
[38133.034373]  [<ffffffff8107bee5>] ? __debug_show_held_locks+0x25/0x30
[38133.034385]  [<ffffffff8103dd7f>] __schedule_bug+0x7f/0x90
[38133.034397]  [<ffffffff813d8cf2>] thread_return+0x726/0x754
[38133.034408]  [<ffffffff813dbb48>] ? _spin_unlock_irqrestore+0x38/0x80
[38133.034419]  [<ffffffff8107a4d9>] ? trace_hardirqs_off_caller+0x29/0xc0
[38133.034431]  [<ffffffff8123367f>] ? debug_check_no_obj_freed+0x17f/0x1f0
[38133.034441]  [<ffffffff813d918d>] schedule_timeout+0x1fd/0x250
[38133.034452]  [<ffffffff813dbbc0>] ? _spin_unlock_irq+0x30/0x60
[38133.034462]  [<ffffffff8107d6b9>] ? trace_hardirqs_on_caller+0x29/0x1a0
[38133.034474]  [<ffffffff813d8056>] wait_for_common+0x116/0x190
[38133.034484]  [<ffffffff810467d0>] ? default_wake_function+0x0/0x20
[38133.034495]  [<ffffffff8107d83d>] ? trace_hardirqs_on+0xd/0x10
[38133.034506]  [<ffffffff813d818d>] wait_for_completion+0x1d/0x20
[38133.034517]  [<ffffffff81066678>] synchronize_rcu+0x58/0x60
[38133.034527]  [<ffffffff81066600>] ? wakeme_after_rcu+0x0/0x20
[38133.034539]  [<ffffffff8106e596>] synchronize_srcu+0x86/0x90
[38133.034550]  [<ffffffff8113fa1e>] fsnotify_put_group+0x6e/0xb0
[38133.034561]  [<ffffffff81142134>] inotify_release+0x34/0x50
[38133.034570]  [<ffffffff8110e181>] __fput+0x101/0x220
[38133.034580]  [<ffffffff8110e2c5>] fput+0x25/0x30
[38133.034590]  [<ffffffff8110a50d>] filp_close+0x5d/0x90
[38133.034601]  [<ffffffff8104fd00>] put_files_struct+0xd0/0xf0
[38133.034612]  [<ffffffff8104fd72>] exit_files+0x52/0x60
[38133.034622]  [<ffffffff81050806>] do_exit+0x166/0x7e0
[38133.034632]  [<ffffffff8104e353>] ? release_console_sem+0x203/0x250
[38133.034644]  [<ffffffff813dcf9c>] oops_end+0x9c/0xe0
[38133.034654]  [<ffffffff810103ab>] die+0x5b/0x90
[38133.034664]  [<ffffffff813dcbf2>] do_general_protection+0x152/0x160
[38133.034675]  [<ffffffff813dc20f>] general_protection+0x1f/0x30
[38133.034686]  [<ffffffff81232434>] ? _raw_spin_trylock+0x4/0x40
[38133.034696]  [<ffffffff813db3c8>] _spin_lock+0x48/0x80
[38133.034707]  [<ffffffff81140239>] ? fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.034718]  [<ffffffff81140239>] fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.034730]  [<ffffffff81142614>] sys_inotify_rm_watch+0x84/0xe0
[38133.034742]  [<ffffffff8100c15b>] system_call_fastpath+0x16/0x1b
[38133.041355] ------------[ cut here ]------------
[38133.041363] kernel BUG at fs/notify/inotify/inotify_fsnotify.c:110!
[38133.041370] invalid opcode: 0000 [#2] PREEMPT SMP 
[38133.041384] last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
[38133.041392] CPU 1 
[38133.041399] Modules linked in: usbhid nls_iso8859_1 nls_cp1250 vfat fat reiserfs mmc_block nfsd lockd nfs_acl auth_rpcgss exportfs tun hidp hid fuse ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc rfcomm sco l2cap sunrpc autofs4 ipv6 nf_conntrack_ftp nf_conntrack binfmt_misc loop dm_mirror dm_region_hash dm_log dm_mod kvm_intel kvm i915 drm i2c_algo_bit uinput arc4 ecb cryptomgr snd_hda_codec_analog aead pcompress crypto_blkcipher crypto_hash crypto_algapi iwl3945 snd_hda_intel snd_hda_codec snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss iwlcore mac80211 snd_pcm sr_mod video snd_timer cfg80211 usb_storage btusb snd soundcore e1000e cdrom bluetooth sdhci_pci iTCO_wdt thinkpad_acpi rtc_cmos nvram rtc_core iTCO_vendor_support psmouse i2c_i801 i2c_core snd_page_alloc rfkill sdhci mmc_core rtc_lib evdev backlight output led_class serio_raw battery ac butt
on uhci_hcd ohci_hcd ehci_hcd usbcore [last unloaded: microcode]
[38133.041710] Pid: 10492, comm: kded Tainted: G      D    2.6.31-rc6-00226-gad2dfd3-dirty #17 6464CTO
[38133.041718] RIP: 0010:[<ffffffff81141ec9>]  [<ffffffff81141ec9>] idr_callback+0x9/0x10
[38133.041733] RSP: 0018:ffff88013663bac8  EFLAGS: 00010282
[38133.041740] RAX: ffff88013befcc10 RBX: ffff8800bf190e10 RCX: 0000000000000000
[38133.041748] RDX: 0000000000000000 RSI: ffff8800bf190e10 RDI: 0000000000000000
[38133.041755] RBP: ffff88013663bac8 R08: 0000000000000000 R09: 0000000000000000
[38133.041763] R10: 000000000000005a R11: 0000000000000000 R12: ffff88013663bb08
[38133.041770] R13: 0000000000000000 R14: 0000000000001000 R15: 0000000000000001
[38133.041779] FS:  00007f6993f54760(0000) GS:ffff88002bfde000(0000) knlGS:0000000000000000
[38133.041787] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[38133.041794] CR2: 0000000000406c9e CR3: 0000000122ebf000 CR4: 00000000000026e0
[38133.041802] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[38133.041810] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[38133.041819] Process kded (pid: 10492, threadinfo ffff88013663a000, task ffff8800ae2c0000)
[38133.041826] Stack:
[38133.041830]  ffff88013663bb58 ffffffff81224c79 ffff88013663bae8 ffffffff00000000
[38133.041845] <0> 0000000000000000 ffffffff81141ec0 ffff880099c3a268 ffff88013befcc08
[38133.041861] <0> ffff88013a291d98 ffff88013a291db0 ffff88013663bb28 ffffffff813d97ce
[38133.041880] Call Trace:
[38133.041891]  [<ffffffff81224c79>] idr_for_each+0x89/0xe0
[38133.041902]  [<ffffffff81141ec0>] ? idr_callback+0x0/0x10
[38133.041912]  [<ffffffff813d97ce>] ? mutex_unlock+0xe/0x10
[38133.041923]  [<ffffffff81141f06>] inotify_free_group_priv+0x26/0x40
[38133.041934]  [<ffffffff8113f938>] fsnotify_final_destroy_group+0x28/0x40
[38133.041945]  [<ffffffff8113fa48>] fsnotify_put_group+0x98/0xb0
[38133.041956]  [<ffffffff81142134>] inotify_release+0x34/0x50
[38133.041966]  [<ffffffff8110e181>] __fput+0x101/0x220
[38133.041975]  [<ffffffff8110e2c5>] fput+0x25/0x30
[38133.041986]  [<ffffffff8110a50d>] filp_close+0x5d/0x90
[38133.041997]  [<ffffffff8104fd00>] put_files_struct+0xd0/0xf0
[38133.042007]  [<ffffffff8104fd72>] exit_files+0x52/0x60
[38133.042018]  [<ffffffff81050806>] do_exit+0x166/0x7e0
[38133.042028]  [<ffffffff8104e353>] ? release_console_sem+0x203/0x250
[38133.042039]  [<ffffffff813dcf9c>] oops_end+0x9c/0xe0
[38133.042049]  [<ffffffff810103ab>] die+0x5b/0x90
[38133.042059]  [<ffffffff813dcbf2>] do_general_protection+0x152/0x160
[38133.042070]  [<ffffffff813dc20f>] general_protection+0x1f/0x30
[38133.042081]  [<ffffffff81232434>] ? _raw_spin_trylock+0x4/0x40
[38133.042091]  [<ffffffff813db3c8>] _spin_lock+0x48/0x80
[38133.042102]  [<ffffffff81140239>] ? fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.042114]  [<ffffffff81140239>] fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.042126]  [<ffffffff81142614>] sys_inotify_rm_watch+0x84/0xe0
[38133.042137]  [<ffffffff8100c15b>] system_call_fastpath+0x16/0x1b
[38133.042144] Code: 0e 00 4c 89 e7 e8 d8 1f fc ff 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f c9 c3 90 90 90 90 90 90 90 90 90 55 48 89 e5 0f 1f 44 00 00 <0f> 0b eb fe 0f 1f 00 55 48 89 e5 0f 1f 44 00 00 e8 f2 0d 00 00 
[38133.042308] RIP  [<ffffffff81141ec9>] idr_callback+0x9/0x10
[38133.042321]  RSP <ffff88013663bac8>
[38133.042331] ---[ end trace d4077c55334e0f7a ]---
[38133.042338] Fixing recursive fault but reboot is needed!
[38133.042344] BUG: scheduling while atomic: kded/10492/0x00000003
[38133.042351] INFO: lockdep is turned off.
[38133.042366] Modules linked in: usbhid nls_iso8859_1 nls_cp1250 vfat fat reiserfs mmc_block nfsd lockd nfs_acl auth_rpcgss exportfs tun hidp hid fuse ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc rfcomm sco l2cap sunrpc autofs4 ipv6 nf_conntrack_ftp nf_conntrack binfmt_misc loop dm_mirror dm_region_hash dm_log dm_mod kvm_intel kvm i915 drm i2c_algo_bit uinput arc4 ecb cryptomgr snd_hda_codec_analog aead pcompress crypto_blkcipher crypto_hash crypto_algapi iwl3945 snd_hda_intel snd_hda_codec snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss iwlcore mac80211 snd_pcm sr_mod video snd_timer cfg80211 usb_storage btusb snd soundcore e1000e cdrom bluetooth sdhci_pci iTCO_wdt thinkpad_acpi rtc_cmos nvram rtc_core iTCO_vendor_support psmouse i2c_i801 i2c_core snd_page_alloc rfkill sdhci mmc_core rtc_lib evdev backlight output led_class serio_raw battery ac butt
on uhci_hcd ohci_hcd ehci_hcd usbcore [last unloaded: microcode]
[38133.042681] Pid: 10492, comm: kded Tainted: G      D    2.6.31-rc6-00226-gad2dfd3-dirty #17
[38133.042688] Call Trace:
[38133.042699]  [<ffffffff8107bee5>] ? __debug_show_held_locks+0x25/0x30
[38133.042710]  [<ffffffff8103dd7f>] __schedule_bug+0x7f/0x90
[38133.042722]  [<ffffffff813d8cf2>] thread_return+0x726/0x754
[38133.042733]  [<ffffffff8104e922>] ? vprintk+0x292/0x4a0
[38133.042744]  [<ffffffff81050e2f>] do_exit+0x78f/0x7e0
[38133.042754]  [<ffffffff8104e353>] ? release_console_sem+0x203/0x250
[38133.042766]  [<ffffffff813dcf9c>] oops_end+0x9c/0xe0
[38133.042776]  [<ffffffff810103ab>] die+0x5b/0x90
[38133.042785]  [<ffffffff813dc734>] do_trap+0xc4/0x160
[38133.042795]  [<ffffffff8100dc45>] ? do_invalid_op+0xa5/0xb0
[38133.042805]  [<ffffffff8100dc35>] do_invalid_op+0x95/0xb0
[38133.042816]  [<ffffffff81141ec9>] ? idr_callback+0x9/0x10
[38133.042827]  [<ffffffff8107a4d9>] ? trace_hardirqs_off_caller+0x29/0xc0
[38133.042837]  [<ffffffff813daf4d>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[38133.042847]  [<ffffffff8100d075>] invalid_op+0x15/0x20
[38133.042859]  [<ffffffff81141ec9>] ? idr_callback+0x9/0x10
[38133.042870]  [<ffffffff8107d6b9>] ? trace_hardirqs_on_caller+0x29/0x1a0
[38133.042881]  [<ffffffff81224c79>] idr_for_each+0x89/0xe0
[38133.042892]  [<ffffffff81141ec0>] ? idr_callback+0x0/0x10
[38133.042901]  [<ffffffff813d97ce>] ? mutex_unlock+0xe/0x10
[38133.042913]  [<ffffffff81141f06>] inotify_free_group_priv+0x26/0x40
[38133.042924]  [<ffffffff8113f938>] fsnotify_final_destroy_group+0x28/0x40
[38133.042934]  [<ffffffff8113fa48>] fsnotify_put_group+0x98/0xb0
[38133.042945]  [<ffffffff81142134>] inotify_release+0x34/0x50
[38133.042954]  [<ffffffff8110e181>] __fput+0x101/0x220
[38133.042964]  [<ffffffff8110e2c5>] fput+0x25/0x30
[38133.042974]  [<ffffffff8110a50d>] filp_close+0x5d/0x90
[38133.042985]  [<ffffffff8104fd00>] put_files_struct+0xd0/0xf0
[38133.042996]  [<ffffffff8104fd72>] exit_files+0x52/0x60
[38133.043006]  [<ffffffff81050806>] do_exit+0x166/0x7e0
[38133.043016]  [<ffffffff8104e353>] ? release_console_sem+0x203/0x250
[38133.043027]  [<ffffffff813dcf9c>] oops_end+0x9c/0xe0
[38133.043036]  [<ffffffff810103ab>] die+0x5b/0x90
[38133.043047]  [<ffffffff813dcbf2>] do_general_protection+0x152/0x160
[38133.043057]  [<ffffffff813dc20f>] general_protection+0x1f/0x30
[38133.043069]  [<ffffffff81232434>] ? _raw_spin_trylock+0x4/0x40
[38133.043079]  [<ffffffff813db3c8>] _spin_lock+0x48/0x80
[38133.043090]  [<ffffffff81140239>] ? fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.043101]  [<ffffffff81140239>] fsnotify_destroy_mark_by_entry+0x89/0x190
[38133.043113]  [<ffffffff81142614>] sys_inotify_rm_watch+0x84/0xe0
[38133.043124]  [<ffffffff8100c15b>] system_call_fastpath+0x16/0x1b
yum: Updated: 1:qt-x11-4.5.2-9.fc12.x86_64
pulseaudio[2424]: dbus-util.c: Asked to handle disabled watch: 0x24a4440 18
gnome-keyring-daemon[2473]: GVFS-RemoteVolumeMonitor: Owner :1.31 of volume monitor org.gtk.Private.GduVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
kernel: [38184.891519] SysRq : Emergency Sync
kernel: [38184.892654] Emergency Sync complete
kernel: [38185.651403] SysRq : Emergency Remount R/O
Comment 8 Eric Paris 2009-08-24 13:20:53 UTC
Comment #7 is a wholely different problem, i'll take a look, but it is not this BZ  :(

Mikko, Joerg, have either of you reproduced since my latest patch (during -rc6 fixed in -rc7)  (eef3a116be11d35396efb2a8cc7345fd3221e294)
Comment 9 Mikko C. 2009-08-25 11:51:41 UTC
(In reply to comment #5)
> Ok, you're right, the bug is still present in 2.6.31-rc6.
> I just messed around the kernel config and now I get the bug again.
> So it must be something that triggers it, beside the obvious CONFIG_FSNOTIFY.
> I'll see if I can find what exactly. Meanwhile, please re-open.

Eric, could it be possible that CONFIG_DEBUG_VM=y was somehow preventing the bug from happening?
Because digging through your mails it seems that I upgraded to -rc3 around the same time you asked me to enable CONFIG_DEBUG_VM. And since then I haven't reproduced the bug. But then I turned it off with -rc6 and the bug occurred again.
Anyway, I'm testing with -rc7 and I got this: http://lkml.org/lkml/2009/8/25/170
Comment 10 Joerg Platte 2009-08-29 15:51:52 UTC
I got this warning today with -rc8, it is related to the notification handling as well. I was unable to reproduce the original bug with this kernel.

------------[ cut here ]------------
WARNING: at fs/notify/inotify/inotify_user.c:394 inotify_remove_from_idr+0x47/0x8d()
Hardware name: 2373G1G
Modules linked in: pata_pcmcia snd_intel8x0m omfs jfs xfs reiserfs hfs hfsplus isofs udf crc_itu_t sch_tbf nls_iso8859_1 nls_cp850 vfat fat usb_storage usb_libusual nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs radeon drm bridge stp llc bnep sco rfcomm l2cap bluetooth ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ipt_REJECT ipt_LOG xt_limit xt_tcpudp xt_mac xt_multiport iptable_filter iptable_mangle ip_tables x_tables vboxdrv nf_conntrack_ftp nf_conntrack binfmt_misc af_packet cpufreq_powersave nsc_ircc cpufreq_stats cpufreq_userspace autofs4 fuse nls_utf8 ntfs ext2 deadline_iosched as_iosched ircomm_tty ircomm tun acpi_cpufreq joydev snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device irtty_sir yenta_socket ipw2200 rsrc_nonstatic sir_dev thinkpad_acpi snd pcmcia rfkill dvb_usb_cinergyT2 dvb_usb libipw led_class psmouse rtc_cmos irda dvb_core rtc_core lib80211 soundcore ac 8250_pci pcmcia_core nvram 8250_pnp serio_raw i2c_i801 crc_ccitt battery rtc_lib parport_pc snd_page_alloc rng_core 8250 processor parport pcspkr serial_core button evdev ext3 jbd mbcache usbhid hid sg sd_mod sr_mod cdrom ata_generic pata_acpi ata_piix uhci_hcd libata ehci_hcd e1000 intel_agp usbcore nls_base scsi_mod agpgart video output thermal fan unix cpufreq_conservative cpufreq_ondemand freq_table radeonfb fb_ddc backlight i2c_algo_bit cfbcopyarea i2c_core cfbimgblt cfbfillrect fbcon tileblit font bitblit softcursor fb [last unloaded: snd_intel8x0m]
Pid: 7534, comm: digikam Tainted: G        W  2.6.31-rc8 #1
Call Trace:
 [<c01254e1>] warn_slowpath_common+0x60/0x90
 [<c012551e>] warn_slowpath_null+0xd/0x10
 [<c01b3be9>] inotify_remove_from_idr+0x47/0x8d
 [<c01b40b8>] inotify_ignored_and_remove_idr+0x74/0x88
 [<c01b3674>] inotify_freeing_mark+0x8/0xa
 [<c01b2382>] fsnotify_destroy_mark_by_entry+0x119/0x138
 [<c01b3b6d>] sys_inotify_rm_watch+0x7e/0xa2
 [<c01028f4>] sysenter_do_call+0x12/0x26
---[ end trace 4eaa2a86a8e2da24 ]---
Comment 11 Eric Paris 2009-08-29 23:29:19 UTC
Joerg would you mind opening a new bug with the output in comment #10 and be sure to either let me know what it is, add me to the cc, asign it to me, whatever?

Obviously I thought this was impossible since this is the code in question:

found_ientry = container_of(entry, struct inotify_inode_mark_entry, fsn_entry);
if (unlikely(found_ientry != ientry)) {
        /* We found an entry in the idr with the right wd, but it's
         * not the entry we were told to remove.  eparis seriously
         * fucked up somewhere. */
        WARN_ON(1);
        ientry->wd = -1;
        goto out;
}

Will you also include any other messages in dmesg that say "idr" or "inotify" ?

I'm looking..

Note You need to log in before you can comment on or make changes to this bug.