Subject: vserver and unionfs - Bugged
From: Oliver Welter <mail@oliwel.de>
Date: Tue, 01 Apr 2008 00:58:52 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,

I used the tip given on the list to make the unionfs patch compatible
with vserver (adding a lot of NULLs as parameter to the appropriate
unionfs calls), but it seems as this was not a really goor deal.

I mounted an overlay ontop of a read-onle directory and got kernel
oopses when I wanted to access files on the overlayed system.
Everything was done in host namespace witout any guetsts running.

So I am interessted in version of working vserver/unionfs or people
having an idea about the oops.

TIA

Oliver

Apr  1 00:46:06 automatix ------------[ cut here ]------------
Apr  1 00:46:06 automatix kernel BUG at fs/unionfs/fanout.h:313!
Apr  1 00:46:06 automatix invalid opcode: 0000 [#1]
Apr  1 00:46:06 automatix CPU:    0
Apr  1 00:46:06 automatix EIP:    0060:[<c02735d7>]    Not tainted VLI
Apr  1 00:46:06 automatix EFLAGS: 00010246   (2.6.22-vs2.2.0.7-gentoo #1)
Apr  1 00:46:06 automatix EIP is at unionfs_file_revalidate+0x37/0xb4c
Apr  1 00:46:06 automatix eax: de3af7e0   ebx: f7435b40   ecx: ed3573c0
  edx:
d924f7dc
Apr  1 00:46:06 automatix esi: c2557e40   edi: e17850f0   ebp: daae5d68
  esp:
daae5cb0
Apr  1 00:46:06 automatix ds: 007b   es: 007b   fs: 0000  gs: 0033  ss: 0068
Apr  1 00:46:06 automatix Process vi (pid: 6623[#0], ti=daae4000
task=f7cbc580
task.ti=daae4000)
Apr  1 00:46:06 automatix Stack: f7db79c0 f78df440 daae5d08 c01a8bc8
c01b7415 c
01634bc 01c497bc f7435b40
Apr  1 00:46:06 automatix f792cc00 d924f7dc 00000000 000200d2 000200d2
c04d9d94
 daae5d38 00000246
Apr  1 00:46:06 automatix 00000002 00000044 c7217e20 00000002 00000000
000200d2
 c04d9d98 c04d9c28
Apr  1 00:46:06 automatix Call Trace:
Apr  1 00:46:06 automatix [<c0102997>] show_trace_log_lvl+0x1a/0x2f
Apr  1 00:46:06 automatix [<c0102a49>] show_stack_log_lvl+0x9d/0xa5
Apr  1 00:46:06 automatix [<c0102c0a>] show_registers+0x1b9/0x28b
Apr  1 00:46:06 automatix [<c0102dbb>] die+0xdf/0x19e
Apr  1 00:46:06 automatix [<c0102f03>] do_trap+0x89/0xa2
Apr  1 00:46:06 automatix [<c01031db>] do_invalid_op+0x88/0x92
Apr  1 00:46:06 automatix [<c04094d2>] error_code+0x6a/0x70
Apr  1 00:46:06 automatix [<c02757a7>] unionfs_prepare_write+0x3b/0x7c
Apr  1 00:46:06 automatix [<c0131cd5>]
generic_file_buffered_write+0x203/0x506
Apr  1 00:46:06 automatix [<c01323be>]
__generic_file_aio_write_nolock+0x3e6/0x
436
Apr  1 00:46:06 automatix [<c0132461>] generic_file_aio_write+0x53/0xb1
Apr  1 00:46:06 automatix [<c0148ba7>] do_sync_write+0xc4/0x101
Apr  1 00:46:06 automatix [<c01492ff>] vfs_write+0x90/0x119
Apr  1 00:46:06 automatix [<c014979f>] sys_write+0x3d/0x61
Apr  1 00:46:06 automatix [<c010236a>] sysenter_past_esp+0x5f/0x85
Apr  1 00:46:06 automatix =======================
Apr  1 00:46:06 automatix Code: 89 85 64 ff ff ff 88 95 63 ff ff ff 8b
40 0c 89
 85 6c ff ff ff 85 c0 75 04 0f 0b eb fe 8b 95 6c ff ff ff 8b 42 50 83 38
01 75
04 <0f> 0b eb fe 8b 8d 6c ff ff ff 8b 49 4c 89 8d 68 ff ff ff 8b 9d
Apr  1 00:46:06 automatix EIP: [<c02735d7>]
unionfs_file_revalidate+0x37/0xb4c
SS:ESP 0068:daae5cb0
Apr  1 00:46:12 automatix ------------[ cut here ]------------

- --
Protect your environment -  close windows and adopt a penguin!
PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF  8168 CAB7 B0DD 3985 1721
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH8Wysyrew3TmFFyERAuE5AJ9qkJd1v74dKzDJOJBFsFWmoOAtbACdFGSZ
R0XRLjEHyujE3BK7M9PYuao=
=1/fP
-----END PGP SIGNATURE-----