Hello,
I am experimenting with remount,del option in order to detach branches
from existing union.
I am using Slax so all branches are loop-mounted squashfs filesystems.
If I remove a branch where no files are open from the union, it seems OK
and the system behaves correctly.
But then, if I try to umount the branch (because the branch was a
loop-mounted filesystem), sometimes I can see in the dmesg:
VFS: Busy inodes after unmount of loop3, Self=destruct in 5 seconds.
Have a nice day...
Funny error message :) Nevertheless it causes the system to be crazy, I
think aufs still tries to use something from loop3, but it can't, so it
segfaults (log attached).
The message seems to be from /fs/super.c in Linux Kernel sources.
I did never try to remove branches before so it's the reason I didn't
notice this problem sooner.
So my question is, does aufs completely free all the resources
associated with the branch after 'remount,del' is issued? Or does it
still use something?
Thank you
Tomas M
aufs 20070618
BUG: unable to handle kernel paging request at virtual address 0198b830
printing eip:
c0173d5d
*pde = 00000000
Oops: 0000 [#1]
SMP
Modules linked in: i915 drm snd_seq_dummy snd_seq_oss snd_seq_midi_event
snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss capability commoncap fuse lp
parport_pc parport psmouse pcmcia serio_raw b44 pcspkr iTCO_wdt
iTCO_vendor_support mii yenta_socket rsrc_nonstatic pcmcia_core ata_generic
bcm43xx ieee80211softmac snd_hda_intel ieee80211 ieee80211_crypt snd_hda_codec
snd_pcm snd_timer snd soundcore shpchp snd_page_alloc intel_agp agpgart sg
evdev aufs squashfs sqlzma unlzma
CPU: 0
EIP: 0060:[<c0173d5d>] Not tainted VLI
EFLAGS: 00210202 (2.6.21.5 #1)
EIP is at iput+0x1d/0x60
eax: 0198b81c ebx: dccea524 ecx: 00080002 edx: ffffffff
esi: 00000002 edi: 00000002 ebp: dcce5198 esp: e1f97d68
ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
Process klauncher (pid: 6833, ti=e1f96000 task=ec54da30 task.ti=e1f96000)
Stack: dcdacaf0 f04ecae2 000000d0 c168a7c4 ed0a7a14 dcdacb14 00000001 00000189
ee4a1c00 dcdacaf0 c01742c8 00020628 00000000 0000000b 00000002 00000002
00000008 f04ecf5c e1f97e04 f04e7e88 00000001 00000001 40007f44 00000005
Call Trace:
[<f04ecae2>] au_refresh_hinode+0x2e2/0x350 [aufs]
[<c01742c8>] iget_locked+0x28/0x120
[<f04ecf5c>] au_new_inode+0x40c/0x500 [aufs]
[<f04e7e88>] lkup_dentry+0x268/0x460 [aufs]
[<f04ed617>] aufs_lookup+0x77/0xa0 [aufs]
[<c0168210>] do_lookup+0x130/0x170
[<c0169a0c>] __link_path_walk+0x13c/0xe90
[<c064fbb9>] sock_aio_read+0x109/0x130
[<c016a7a5>] link_path_walk+0x45/0xc0
[<c016173f>] vfs_read+0xff/0x150
[<c016a9f3>] do_path_lookup+0x83/0x1e0
[<c016b3dc>] __user_walk_fd+0x2c/0x50
[<c015feca>] sys_faccessat+0x8a/0x160
[<c016173f>] vfs_read+0xff/0x150
[<c015ffbf>] sys_access+0x1f/0x30
[<c0102a90>] syscall_call+0x7/0xb
=======================
Code: 28 56 00 31 c0 c3 90 8d b4 26 00 00 00 00 53 89 c3 85 c0 74 4a 8b 80 9c
00 00 00 8b 40 20 83 bb 38 01 00 00 20 74 41 85 c0 74 0b <8b> 50 14 85 d2 74 04
89 d8 ff d2 8d 43 24 ba 00 f1 84 c0 e8 db
EIP: [<c0173d5d>] iput+0x1d/0x60 SS:ESP 0068:e1f97d68
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/