Comment 49 for bug 769927

Revision history for this message
Axel Beckert (xtaran) wrote :

We still have this issue (as described in the duplicate at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/781792, i.e. with autofs) in linux-image-2.6.38-13-generic-pae version 2.6.38-13.57 in Natty:

# uname -a
Linux crux 2.6.38-13-generic-pae #57-Ubuntu SMP Mon Mar 5 20:00:10 UTC 2012 i686 i686 i386 GNU/Linux
# dmesg
[...]
[73940.372117] BUG: Dentry e3984000{i=349e7,n=/} still in use (1) [unmount of autofs autofs]
[73940.372141] ------------[ cut here ]------------
[73940.374259] kernel BUG at /build/buildd/linux-2.6.38/fs/dcache.c:947!
[73940.376020] invalid opcode: 0000 [#1] SMP
[73940.376020] last sysfs file: /sys/devices/system/cpu/cpu1/cache/index2/shared_cpu_map
[73940.376020] Modules linked in: xt_multiport iptable_filter ip_tables x_tables binfmt_misc parport_pc autofs4 ppdev nfsd nfs lockd fscache nfs_acl auth_rpcgss sunrpc snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq i915 snd_timer snd_seq_device snd drm_kms_helper drm psmouse xfs i2c_algo_bit soundcore video exportfs serio_raw snd_page_alloc lp parport usbhid hid r8168
[73940.376020]
[73940.376020] Pid: 27400, comm: automount Not tainted 2.6.38-13-generic-pae #57-Ubuntu /DG31PR
[73940.376020] EIP: 0060:[<c1145089>] EFLAGS: 00010286 CPU: 1
[73940.376020] EIP is at shrink_dcache_for_umount_subtree+0x1c9/0x1d0
[73940.376020] EAX: 00000063 EBX: f86bb4c8 ECX: c1774ee8 EDX: 00000000
[73940.376020] ESI: e3984000 EDI: ea30e15c EBP: ec685ef4 ESP: ec685ec0
[73940.376020] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[73940.376020] Process automount (pid: 27400, ti=ec684000 task=e76d5860 task.ti=ec684000)
[73940.376020] Stack:
[73940.376020] c16c66fc e3984000 000349e7 e3984024 00000001 f86bb4c8 ea30e15c 00000000
[73940.376020] 00000000 e3984024 ea30e000 e3984000 e398404c ec685f08 c1147110 ea30e000
[73940.376020] f6f3c200 f86bb080 ec685f24 c11345f7 e398404c 00000000 0000001b f6f3c200
[73940.376020] Call Trace:
[73940.376020] [<c1147110>] shrink_dcache_for_umount+0x40/0x60
[73940.376020] [<c11345f7>] generic_shutdown_super+0x27/0xe0
[73940.376020] [<c1134741>] kill_anon_super+0x11/0x50
[73940.376020] [<c113479e>] kill_litter_super+0x1e/0x30
[73940.376020] [<f86b741d>] autofs4_kill_sb+0x3d/0x50 [autofs4]
[73940.376020] [<c1134add>] deactivate_locked_super+0x3d/0x60
[73940.376020] [<c11355a8>] deactivate_super+0x48/0x70
[73940.376020] [<c114ce90>] mntput_no_expire+0x90/0xd0
[73940.376020] [<c114dc42>] sys_umount+0x62/0xc0
[73940.376020] [<c114dcbe>] sys_oldumount+0x1e/0x20
[73940.376020] [<c100ab5f>] sysenter_do_call+0x12/0x28
[73940.376020] Code: 03 8b 51 60 89 44 24 10 8b 45 f0 89 7c 24 18 89 5c 24 14 89 54 24 08 89 74 24 04 89 44 24 0c c7 04 24 fc 66 6c c1 e8 94 04 3f 00 <0f> 0b 0f 0b 8d 76 00 55 89 e5 83 ec 08 89 1c 24 89 74 24 04 3e
[73940.376020] EIP: [<c1145089>] shrink_dcache_for_umount_subtree+0x1c9/0x1d0 SS:ESP 0068:ec685ec0
[73940.481605] ---[ end trace 8b5814e8adcdb385 ]---
[74183.952714] type=1400 audit(1333099137.084:22): apparmor="DENIED" operation="open" parent=27952 profile="/usr/sbin/mysqld-akonadi" name="/dev/tty" pid=27954 comm="mysqld-akonadi" requested_mask="rw" denied_mask="rw" fsuid=4569 ouid=0
[74556.741316] type=1400 audit(1333099509.870:23): apparmor="DENIED" operation="open" parent=28810 profile="/usr/sbin/mysqld-akonadi" name="/dev/tty" pid=28812 comm="mysqld-akonadi" requested_mask="rw" denied_mask="rw" fsuid=4569 ouid=0