Package: aufs-tools Version: 20100601-1 Severity: important Description : Using an sshfs as the source of an rw branch for aufs results in frozen system
Steps to reproduce : * sshfs xxx@a.b.c.d:/sshfs /sshfs -o allow_other * mount -t aufs -o br:/sshfs=rw /mnt As a result the following message is displayed and the system freezes : [ 71.177502] aufs: module is from the staging directory, the quality is unknown, you have been warned. [ 71.181635] aufs 2-standalone.tree-32-20100125 [ 71.195256] aufs au_wh_init:536:mount[1065]: an error(-13) on the writable branch /(fuse) [ 71.240885] BUG: unable to handle kernel NULL pointer dereference at 0000000000000010 [ 71.240899] IP: [<ffffffff811021a3>] __lookup_mnt+0x3a/0x4b [ 71.240911] PGD 75550067 PUD 75551067 PMD 0 [ 71.240919] Oops: 0000 [#1] SMP [ 71.240926] last sysfs file: /sys/devices/virtual/bdi/0:17/uevent [ 71.240933] CPU 1 [ 71.240937] Modules linked in: aufs(C) fuse snd_pcm snd_timer snd soundcore snd_page_alloc pcspkr evdev ext4 mbcache jbd2 crc16 raid1 md_mod xen_netfront xen_blkfront [ 71.240973] Pid: 1065, comm: mount Tainted: G C 2.6.32-5-amd64 #1 [ 71.240979] RIP: e030:[<ffffffff811021a3>] [<ffffffff811021a3>] __lookup_mnt+0x3a/0x4b [ 71.240989] RSP: e02b:ffff880077bffa78 EFLAGS: 00010207 [ 71.240995] RAX: 0000000000000000 RBX: ffff8800744cb3c0 RCX: 0000000000000004 [ 71.241002] RDX: ffff88007ff22470 RSI: 03fffe2001d132cf RDI: 07fffc4001dcbc8b [ 71.241008] RBP: ffff880002e26f00 R08: 0000000000000000 R09: 0000000000000001 [ 71.241015] R10: 0000000000000008 R11: ffffffff81152c3a R12: 0000000000000001 [ 71.241021] R13: ffff880077bffbd8 R14: 0000000000000003 R15: ffff880077bffb28 [ 71.241032] FS: 00007f84311977e0(0000) GS:ffff8800035c8000(0000) knlGS:0000000000000000 [ 71.241040] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b [ 71.241046] CR2: 0000000000000010 CR3: 00000000754bd000 CR4: 0000000000002660 [ 71.241053] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 71.241060] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 71.241066] Process mount (pid: 1065, threadinfo ffff880077bfe000, task ffff88007556a350) [ 71.241073] Stack: [ 71.241077] ffff880077bffb38 0000000000000000 ffff880077bffb38 ffffffff811028db [ 71.241087] <0> ffff8800744cb3c0 ffffffff810f5ff5 ffff8800744cb3c0 ffff880077bffbd8 [ 71.241099] <0> ffff88007bb4d7d0 ffffffff810f6191 ffff880077bffb38 ffff880077bffb38 [ 71.241113] Call Trace: [ 71.241120] [<ffffffff811028db>] ? lookup_mnt+0x21/0x43 [ 71.241128] [<ffffffff810f5ff5>] ? __follow_mount+0x13/0x68 [ 71.241135] [<ffffffff810f6191>] ? do_lookup+0x61/0x15d [ 71.241142] [<ffffffff810f6c30>] ? __link_path_walk+0x5a5/0x6f5 [ 71.241150] [<ffffffff810f6fae>] ? path_walk+0x66/0xc9 [ 71.241157] [<ffffffff810f8418>] ? do_path_lookup+0x20/0x77 [ 71.241164] [<ffffffff810f848c>] ? kern_path+0x1d/0x3e [ 71.241172] [<ffffffff81152d7e>] ? cap_d_instantiate+0x0/0x1 [ 71.241183] [<ffffffffa00d6621>] ? br_perm_val+0x13/0x18 [aufs] [ 71.241192] [<ffffffff81195da0>] ? match_token+0x60/0x1cc [ 71.241203] [<ffffffffa00d808e>] ? vfsub_kern_path+0xe/0x30 [aufs] [ 71.241214] [<ffffffffa00d671d>] ? opt_add+0x5e/0x10c [aufs] [ 71.241224] [<ffffffffa00d6ca0>] ? au_opts_parse+0x119/0x729 [aufs] [ 71.241234] [<ffffffffa00d2517>] ? aufs_fill_super+0x1b7/0x26c [aufs] [ 71.241243] [<ffffffffa00d2360>] ? aufs_fill_super+0x0/0x26c [aufs] [ 71.241252] [<ffffffff810f0cc1>] ? get_sb_nodev+0x4f/0x83 [ 71.241260] [<ffffffffa00d15a6>] ? aufs_get_sb+0x1b/0x4d [aufs] [ 71.241268] [<ffffffff810f0a2b>] ? vfs_kern_mount+0x99/0x14b [ 71.241278] [<ffffffff810f0b30>] ? do_kern_mount+0x43/0xe2 [ 71.241286] [<ffffffff812fc18a>] ? error_exit+0x2a/0x60 [ 71.241293] [<ffffffff81104c03>] ? do_mount+0x72a/0x792 [ 71.241300] [<ffffffff81103001>] ? copy_mount_options+0xca/0x12b [ 71.241307] [<ffffffff81104ceb>] ? sys_mount+0x80/0xbd [ 71.241315] [<ffffffff81010b42>] ? system_call_fastpath+0x16/0x1b [ 71.241307] [<ffffffff81104ceb>] ? sys_mount+0x80/0xbd [ 71.241315] [<ffffffff81010b42>] ? system_call_fastpath+0x16/0x1b [ 71.241321] Code: fe ff ff 48 89 c2 48 c1 e2 04 48 03 15 87 61 3d 00 48 89 d0 45 85 e4 74 05 48 8b 00 eb 04 48 8b 40 08 48 39 d0 75 04 31 c0 eb 0c <48> 39 68 10 75 e3 48 39 58 18 75 dd 5b 5d 41 5c c3 48 85 ff 74 [ 71.241407] RIP [<ffffffff811021a3>] __lookup_mnt+0x3a/0x4b [ 71.241414] RSP <ffff880077bffa78> [ 71.241419] CR2: 0000000000000010 [ 71.241424] ---[ end trace a2f0aec05bd9904c ]--- [ 136.368503] BUG: soft lockup - CPU#1 stuck for 61s! [rs:main Q:Reg:580] [ 136.368503] Modules linked in: aufs(C) fuse snd_pcm snd_timer snd soundcore snd_page_alloc pcspkr evdev ext4 mbcache jbd2 crc16 raid1 md_mod xen_netfront xen_blkfront [ 136.368503] CPU 1: [ 136.368503] Modules linked in: aufs(C) fuse snd_pcm snd_timer snd soundcore snd_page_alloc pcspkr evdev ext4 mbcache jbd2 crc16 raid1 md_mod xen_netfront xen_blkfront [ 136.368503] Pid: 580, comm: rs:main Q:Reg Tainted: G D C 2.6.32-5-amd64 #1 [ 136.368503] RIP: e030:[<ffffffff812fbbbb>] [<ffffffff812fbbbb>] _spin_lock+0x18/0x1b [ 136.368503] RSP: e02b:ffff88007d7e7cc0 EFLAGS: 00000297 [ 136.368503] RAX: 00000000000029e4 RBX: ffff88007d7e7d68 RCX: 0000000000000003 [ 136.368503] RDX: 00000000000029e3 RSI: ffff88007fc0f001 RDI: ffffffff81461080 [ 136.368503] RBP: 0000000000000000 R08: 0000000000000000 R09: 303030203a73706f [ 136.368503] R10: ffffffff8111dec7 R11: ffffffff81152c3a R12: ffff88007d7e7d68 [ 136.368503] R13: ffff88007d7e7e48 R14: 0000000000000101 R15: ffff88007d7e7d58 [ 136.368503] FS: 00007f9936daf700(0000) GS:ffff8800035c8000(0000) knlGS:0000000000000000 [ 136.368503] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b [ 136.368503] CR2: 00007f9937cfa8f0 CR3: 00000000778aa000 CR4: 0000000000002660 [ 136.368503] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 136.368503] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 136.368503] Call Trace: [ 136.368503] [<ffffffff811028ca>] ? lookup_mnt+0x10/0x43 [ 136.368503] [<ffffffff810f5ff5>] ? __follow_mount+0x13/0x68 [ 136.368503] [<ffffffff810f6191>] ? do_lookup+0x61/0x15d [ 136.368503] [<ffffffff810f69ae>] ? __link_path_walk+0x323/0x6f5 [ 136.368503] [<ffffffff8100e242>] ? check_events+0x12/0x20 [ 136.368503] [<ffffffff810f6fae>] ? path_walk+0x66/0xc9 [ 136.368503] [<ffffffff810f8418>] ? do_path_lookup+0x20/0x77 [ 136.368503] [<ffffffff810f85a4>] ? do_filp_open+0xe5/0x94b [ 136.368503] [<ffffffff8100e242>] ? check_events+0x12/0x20 [ 136.368503] [<ffffffff8100dc35>] ? xen_force_evtchn_callback+0x9/0xa [ 136.368503] [<ffffffff8100e22f>] ? xen_restore_fl_direct_end+0x0/0x1 [ 136.368503] [<ffffffff811019d5>] ? alloc_fd+0x67/0x10c [ 136.368503] [<ffffffff810eceaf>] ? do_sys_open+0x55/0xfc [ 136.368503] [<ffffffff81010b42>] ? system_call_fastpath+0x16/0x1b Additionnal information : The bug can not be reproduced using the following command line (read only) : * mount -t aufs -o br:/sshfs=ro /mnt -- System Information: Debian Release: 6.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages aufs-tools depends on: ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib aufs-tools recommends no packages. aufs-tools suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org