https://bugzilla.novell.com/show_bug.cgi?id=689860 https://bugzilla.novell.com/show_bug.cgi?id=689860#c0 Summary: kernel BUG at linux-2.6.37/fs/notify/mark.c:140 Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: cosoleto@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.0) Gecko/20100101 Firefox/4.0 I added a rule to audit.rules to watch a file (e.g. /usr/share/kdb/keymaps/amiga/amiga-us.map.gz), then I deleted the parent directory (e.g. /usr/share/kdb/keymaps/amiga). Result: - black screen - Midnight Commander (used to delete the directory) segfault - ls /usr/share/kbd/keymaps/ hangs - kernel backtrace Kernel backtrace: [ 530.786064] ------------[ cut here ]------------ [ 530.786071] kernel BUG at /usr/src/packages/BUILD/kernel-desktop-2.6.37.1/linux-2.6.37/fs/notify/mark.c:140! [ 530.786077] invalid opcode: 0000 [#1] PREEMPT SMP [ 530.786083] last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map [ 530.786088] CPU 0 [ 530.786090] Modules linked in: ip6t_LOG xt_tcpudp xt_pkttype ipt_LOG xt_limit af_packet edd ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter ip6_tables x_tables cpufreq_conservative cpufreq_userspace cpufreq_powersave powernow_k8 snd_pcm_oss snd_mixer_oss mperf snd_seq snd_seq_device fuse btrfs zlib_deflate snd_hda_codec_hdmi snd_hda_codec_realtek sr_mod cdrom snd_hda_intel edac_core serio_raw snd_hda_codec pcspkr edac_mce_amd snd_hwdep k10temp sg snd_pcm snd_timer snd i2c_piix4 soundcore r8169 snd_page_alloc wmi button ext4 jbd2 crc16 radeon ttm drm_kms_helper drm i2c_algo_bit fan processor thermal thermal_sys ata_generic pata_jmicron [last unloaded: preloadtrace] [ 530.786167] [ 530.786171] Pid: 5090, comm: mc Not tainted 2.6.37.1-1.2-desktop #1 MSI MS-7640/890FXA-GD70 (MS-7640) [ 530.786180] RIP: 0010:[<ffffffff8118b0da>] [<ffffffff8118b0da>] fsnotify_destroy_mark+0x18a/0x1c0 [ 530.786191] RSP: 0018:ffff88012c969d68 EFLAGS: 00010246 [ 530.786195] RAX: 0000000000000001 RBX: ffff88011a1645d0 RCX: dead000000100100 [ 530.786200] RDX: 0000000000000001 RSI: ffff8800c7c0eee0 RDI: ffff88011a1645f0 [ 530.786204] RBP: ffff88012d7b80c0 R08: 0000000000000400 R09: ffff88012f0633f8 [ 530.786209] R10: ffff88012dea3900 R11: 0000000000000000 R12: 0000000000000000 [ 530.786213] R13: ffff88011a1645f0 R14: 0000000000000002 R15: 0000000000000000 [ 530.786219] FS: 00007f3a16961700(0000) GS:ffff8800c7c00000(0000) knlGS:0000000000000000 [ 530.786224] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 530.786228] CR2: 00007f4dbf053000 CR3: 000000012b354000 CR4: 00000000000006f0 [ 530.786233] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 530.786238] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 530.786243] Process mc (pid: 5090, threadinfo ffff88012c968000, task ffff88012da6a340) [ 530.786247] Stack: [ 530.786249] ffff88012d7b80c0 0000000000000000 0000000000000000 ffff88011a1645d0 [ 530.786257] 0000000000000002 ffffffff810baa98 0000000000000000 ffffffff81189a12 [ 530.786264] ffff880100000002 0000000000000000 0000000000000000 ffff88012c969e10 [ 530.786270] Call Trace: [ 530.786285] [<ffffffff810baa98>] audit_watch_handle_event+0x58/0xd0 [ 530.786294] [<ffffffff81189a12>] fsnotify+0x2e2/0x320 [ 530.786303] [<ffffffff81165c2b>] dentry_iput+0xab/0xe0 [ 530.786312] [<ffffffff811665f1>] d_kill+0x41/0x70 [ 530.786318] [<ffffffff81166c60>] dput+0x60/0x150 [ 530.786325] [<ffffffff8115fd30>] do_rmdir+0xa0/0x130 [ 530.786333] [<ffffffff81002f8b>] system_call_fastpath+0x16/0x1b [ 530.786342] [<00007f3a1583bcb7>] 0x7f3a1583bcb7 [ 530.786345] Code: 48 8b 6c 24 08 4c 8b 64 24 10 4c 8b 6c 24 18 4c 8b 74 24 20 48 83 c4 28 e9 04 8d 39 00 0f 1f 40 00 4c 89 e7 e8 68 f2 fd ff eb 89 <0f> 0b 48 89 ef 48 8b 1c 24 48 8b 6c 24 08 4c 8b 64 24 10 4c 8b [ 530.786381] RIP [<ffffffff8118b0da>] fsnotify_destroy_mark+0x18a/0x1c0 [ 530.786387] RSP <ffff88012c969d68> [ 530.801809] ---[ end trace 5072287f127cec71 ]--- [ 530.801816] note: mc[5090] exited with preempt_count 1 [ 530.802070] BUG: scheduling while atomic: mc/5090/0x10000002 [ 530.802074] Modules linked in: ip6t_LOG xt_tcpudp xt_pkttype ipt_LOG xt_limit af_packet edd ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter ip6_tables x_tables cpufreq_conservative cpufreq_userspace cpufreq_powersave powernow_k8 snd_pcm_oss snd_mixer_oss mperf snd_seq snd_seq_device fuse btrfs zlib_deflate snd_hda_codec_hdmi snd_hda_codec_realtek sr_mod cdrom snd_hda_intel edac_core serio_raw snd_hda_codec pcspkr edac_mce_amd snd_hwdep k10temp sg snd_pcm snd_timer snd i2c_piix4 soundcore r8169 snd_page_alloc wmi button ext4 jbd2 crc16 radeon ttm drm_kms_helper drm i2c_algo_bit fan processor thermal thermal_sys ata_generic pata_jmicron [last unloaded: preloadtrace] [ 530.802149] Pid: 5090, comm: mc Tainted: G D 2.6.37.1-1.2-desktop #1 [ 530.802154] Call Trace: [ 530.802163] [<ffffffff810059b9>] dump_trace+0x79/0x340 [ 530.802172] [<ffffffff81520d03>] dump_stack+0x69/0x6f [ 530.802179] [<ffffffff81521a12>] thread_return+0x39a/0x3d8 [ 530.802188] [<ffffffff8104daa5>] __cond_resched+0x25/0x40 [ 530.802196] [<ffffffff81521b7c>] _cond_resched+0x2c/0x40 [ 530.802202] [<ffffffff8111ebd6>] unmap_vmas+0x1c6/0x360 [ 530.802211] [<ffffffff81125aa7>] exit_mmap+0xe7/0x1b0 [ 530.802218] [<ffffffff81055997>] mmput+0x37/0x100 [ 530.802224] [<ffffffff8105c43a>] exit_mm+0x11a/0x150 [ 530.802229] [<ffffffff8105c5ca>] do_exit+0x15a/0x440 [ 530.802235] [<ffffffff8152543c>] oops_end+0x9c/0xe0 [ 530.802240] [<ffffffff81004294>] do_invalid_op+0x84/0xa0 [ 530.802244] [<ffffffff81003bf5>] invalid_op+0x15/0x20 [ 530.802250] [<ffffffff8118b0da>] fsnotify_destroy_mark+0x18a/0x1c0 [ 530.802257] [<ffffffff810baa98>] audit_watch_handle_event+0x58/0xd0 [ 530.802262] [<ffffffff81189a12>] fsnotify+0x2e2/0x320 [ 530.802269] [<ffffffff81165c2b>] dentry_iput+0xab/0xe0 [ 530.802275] [<ffffffff811665f1>] d_kill+0x41/0x70 [ 530.802279] [<ffffffff81166c60>] dput+0x60/0x150 [ 530.802284] [<ffffffff8115fd30>] do_rmdir+0xa0/0x130 [ 530.802290] [<ffffffff81002f8b>] system_call_fastpath+0x16/0x1b [ 530.802296] [<00007f3a1583bcb7>] 0x7f3a1583bcb7 Reproducible: Didn't try Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.