[Unionfs] Stuck process while trying to mount an unionfs in 2.6.25

Herton Ronaldo Krzesinski herton at mandriva.com.br
Wed May 14 14:03:07 EDT 2008


Em Tuesday 13 May 2008 18:23:31 Herton Ronaldo Krzesinski escreveu:
> Hi,
>
> Today while testing I found I was unable to mount an unionfs on 2.6.25, at
> least here any mount gets stuck:

I tested and confirmed that this only happens with smack enabled 
(CONFIG_SECURITY_SMACK=y)

>
> Registering unionfs 2.3.3 (for 2.6.25)
> SysRq : Show Blocked State
>   task                PC stack   pid father
> mount         D 00000000     0   995      1
>        debafcf0 00000086 c019d804 00000000 c0415020 deb86e50 00000000
> debafce0 c5940aa4 00000096 c048c1c0 c048f1e0 c048f1e0 c048f1e0 deb86e50
> deb870a0 c13f91e0 00000000 debae000 e00fff9b 0007ad1e 00000000 00000001
> dec71dc8 Call Trace:
>  [<c019d804>] ? _d_rehash+0x44/0x50
>  [<e00fff9b>] ? init_once+0xb/0x10 [unionfs]
>  [<c033efcf>] __mutex_lock_slowpath+0x5f/0xa0
>  [<c033ee47>] mutex_lock+0x17/0x20
>  [<e0107a23>] unionfs_getxattr+0x43/0xc0 [unionfs]
>  [<e01079e0>] ? unionfs_getxattr+0x0/0xc0 [unionfs]
>  [<c01f3277>] smack_d_instantiate+0xc7/0x160
>  [<c01acb06>] ? fsstack_copy_inode_size+0x16/0x70
>  [<c01ee2dc>] security_d_instantiate+0x1c/0x20
>  [<c019e760>] d_instantiate+0x50/0x60
>  [<e00febda>] unionfs_interpose+0x1aa/0x1e0 [unionfs]
>  [<e00ff565>] unionfs_read_super+0x855/0xb20 [unionfs]
>  [<c020801c>] ? idr_get_empty_slot+0xdc/0x260
>  [<c020bd0d>] ? strlcpy+0x1d/0x60
>  [<c01a1d32>] ? get_filesystem+0x12/0x30
>  [<c018e574>] ? sget+0x2f4/0x320
>  [<c018f1d3>] get_sb_nodev+0x43/0x80
>  [<e00fe7a7>] unionfs_get_sb+0x27/0x60 [unionfs]
>  [<e00fed10>] ? unionfs_read_super+0x0/0xb20 [unionfs]
>  [<c018eb18>] vfs_kern_mount+0x58/0x120
>  [<c018ec39>] do_kern_mount+0x39/0xd0
>  [<c01a4245>] do_new_mount+0x65/0x90
>  [<c01a4413>] do_mount+0x1a3/0x1c0
>  [<c016c744>] ? __get_free_pages+0x24/0x60
>  [<c01a23f5>] ? copy_mount_options+0x35/0x130
>  [<c01a449f>] sys_mount+0x6f/0xb0
>  [<c0104d90>] sysenter_past_esp+0x6d/0xa5
>  =======================
> Sched Debug Version: v0.07, 2.6.25.1-desktop-1mnb #1
> now at 648519.555457 msecs
>   .sysctl_sched_latency                    : 20.000000
>   .sysctl_sched_min_granularity            : 4.000000
>   .sysctl_sched_wakeup_granularity         : 5.000000
>   .sysctl_sched_batch_wakeup_granularity   : 10.000000
>   .sysctl_sched_child_runs_first           : 0.000001
>   .sysctl_sched_features                   : 15
>
> cpu#0, 897.789 MHz
>   .nr_running                    : 2
>   .load                          : 2048
>   .nr_switches                   : 15227
>   .nr_load_updates               : 648506
>   .nr_uninterruptible            : 1
>   .jiffies                       : 348514
>   .next_balance                  : 0.348696
>   .curr->pid                     : 985
>   .clock                         : 648407.643454
>   .idle_clock                    : 7.647405
>   .prev_clock_raw                : 679956.129067
>   .clock_warps                   : 0
>   .clock_overflows               : 11713
>   .clock_underflows              : 637043
>   .clock_deep_idle_events        : 1
>   .clock_max_delta               : 0.999848
>   .cpu_load[0]                   : 2048
>   .cpu_load[1]                   : 1536
>   .cpu_load[2]                   : 1280
>   .cpu_load[3]                   : 1152
>   .cpu_load[4]                   : 1088
>
> cfs_rq
>   .exec_clock                    : 648089.959318
>   .MIN_vruntime                  : 647149.353782
>   .min_vruntime                  : 647149.353782
>   .max_vruntime                  : 647149.353782
>   .spread                        : 0.000000
>   .spread0                       : 0.000000
>   .nr_running                    : 2
>   .load                          : 2048
>   .bkl_count                     : 2765
>   .nr_spread_over                : 4347
>
> runnable tasks:
>             task   PID         tree-key  switches  prio     exec-runtime
> sum-exec        sum-sleep
> ---------------------------------------------------------------------------
>------------------------------- nash-hotplug   854    647149.353782     
> 4519   120    647149.353782 644037.805627         0.000000
> R           bash   985    647129.452724        11   120    647129.452724
> 5.645286     21625.396175
>
> I'm attaching too my .config as it may help.

--
[]'s
Herton


More information about the unionfs mailing list