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

Hi

$ patch -p1 --dry-run -i a.patch
patching file fs/aufs/Makefile
patching file fs/aufs/dentry.c
patching file fs/aufs/dentry.h
patching file fs/aufs/dinfo.c
patching file fs/aufs/export.c
patching file fs/aufs/f_op.c
patching file fs/aufs/file.c
patching file fs/aufs/i_op.c
patching file fs/aufs/i_op_del.c
patching file fs/aufs/i_op_ren.c
patching file fs/aufs/module.c
patch: **** malformed patch at line 582: @@ -344,6 +361,12 @@
module_exit(aufs_exit);

I simply "fixed" the patch by

- - @@ -90,9 +95,11 @@
+ @@ -90,6 +95,8 @@

but probably something (important) is missing in the patch?

Anyway - the BUG is the same, but for the first call in the NFSroot I get
the correct error from the linker (see log):

/root/bin/ls: error while loading shared libraries: librt.so.1: cannot
open shared object file: No such file or directory

Second call crashes again, same BUG.

> - it sometimes stops for 30 or 60 seconds, like waiting for timeout or
>   something.

Never seen this

> - a kernel debug feature or someting warns about a referece counter of a
>   dentry when unmounting nfsv4.

This neighter

BTW - my kernel is allmost an "allmodconfig", "allyesconfig" kernel, as
the config is based on the Debian one, with quite some experimental stuff
enabled (like kexec). Can you send me your config, so I may get a working
env to start from? Is there any problematic CONFIG option you're aware of?

Thanks

Jan-Marek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFG6vLtj6MK58wZA3cRArwMAJ0ZcaJyTTP0hc2eg1PC01BkUMia1gCfds31
B6PZuwqnDihAZPkuRWIenbA=
=FEKb
-----END PGP SIGNATURE-----
Linux version 2.6.23-rc6 ([EMAIL PROTECTED]) (gcc version 4.1.2 20061115 
(prerelease) (Debian 4.1.1-21)) #5 SMP Fri Sep 14 19:57:28 CEST 2007

Begin: union fs setup ...

aufs 20070914+NFSv4-v1

Info: Setup union fs using aufs

+ cat /sys/fs/aufs/config

CONFIG_AUFS=m

CONFIG_AUFS_FAKE_DM=y

CONFIG_AUFS_BRANCH_MAX_127=y

CONFIG_AUFS_SYSAUFS=y

CONFIG_AUFS_LHASH_PATCH=y

CONFIG_AUFS_DEBUG=y

CONFIG_AUFS_SPLICE_PATCH=y

+ UNION_OPTS=br:/cow=rw:/root=ro

+ mount -t aufs -o br:/cow=rw:/root=ro aufs /root

aufs test_add:455:exe[1821]: uid/gid/perm /root 0/0/0755, 0/0/01777

+ mkdir /root/cow

+ mount --move /cow /root/cow

+ rm -f /root/etc/resolv.conf

+ mknod -m 644 /dev/xconsole p

+ echo FLUSH=ALL

+ cp /root/usr/local/bin/aufind.sh /root/usr/local/bin/aulchown 
/root/usr/local/bin/auplink /root/usr/local/bin/mount.aufs 
/root/usr/local/bin/umount.aufs /root/sbin/

+ /root/bin/ls

/root/bin/ls: error while loading shared libraries: librt.so.1: cannot open 
shared object file: No such file or directory

+ /root/bin/ls

BUG: unable to handle kernel NULL pointer dereference at virtual address 
00000028

 printing eip:

b016f721

*pde = 00000000

Oops: 0000 [#1]

SMP 

Modules linked in: aufs nfs lockd nfs_acl sunrpc pcnet32 mii thermal processor 
fan

CPU:    0

EIP:    0060:[<b016f721>]    Not tainted VLI

EFLAGS: 00010282   (2.6.23-rc6 #5)

EIP is at prepare_binprm+0x4d/0xca

eax: 00000000   ebx: bf955780   ecx: 000081ed   edx: b126e740

esi: bf955780   edi: bfe71b6c   ebp: bf890000   esp: bfc9ff7c

ds: 007b   es: 007b   fs: 00d8  gs: 0000  ss: 0068

Process unionfs (pid: 1831, ti=bfc9e000 task=be928030 task.ti=bfc9e000)

Stack: b126e740 b126e740 00000000 b0170739 081738dc 081738d4 bf890000 bf890000 

       a7eadff4 bfc9e000 b01056ec bfc9ffb8 081738bc 081738d4 b0106e8a 081738bc 

       081738d4 081738dc 081738d4 a7eadff4 081738dc 0000000b 0000007b 0000007b 

Call Trace:

 [<b0170739>] do_execve+0xc3/0x1a4

 [<b01056ec>] sys_execve+0x2f/0x7d

 [<b0106e8a>] syscall_call+0x7/0xb

 =======================

Code: a0 00 00 00 64 a1 00 90 39 b0 8b 80 88 01 00 00 89 83 94 00 00 00 64 a1 
00 90 39 b0 8b 80 98 01 00 00 89 83 98 00 00 00 8b 42 08 <f6> 40 28 01 75 45 f6 
c5 08 74 19 64 a1 00 90 39 b0 81 a0 cc 00 

EIP: [<b016f721>] prepare_binprm+0x4d/0xca SS:ESP 0068:bfc9ff7c

Segmentation fault

+ log_end_msg union fs setup

+ [ -x /sbin/usplash_write ]

+ _log_msg Done.

+ [ n = y ]

+ echo Done.

Done.

+ update_progress

+ [ -d /dev/.initramfs ]

+ [ -z 5 ]

+ PROGRESS_STATE=6

+ echo PROGRESS_STATE=6

+ [ -x /sbin/usplash_write ]

Done.

Done.

Begin: Running /scripts/init-bottom ...

d-1: //dev, aufs, cnt 1, flags 0x0

i-1: i29, aufs, cnt 1, nl 4, 040755, ntfy 0, sz 4096, blk 8, ct 48640, np 0, st 
0x0, g 0

d-1: bstart 1, bend 1, bwh -1, bdiropq -1, gen 0

d1: /dev, nfs4, cnt 1, flags 0x0

i1: i243397, nfs4, cnt 2, nl 4, 040755, ntfy 0, sz 4096, blk 8, ct 48640, np 0, 
st 0x0, g 0

Done.

d-1: //sys, aufs, cnt 1, flags 0x0

i-1: i30, aufs, cnt 1, nl 2, 040755, ntfy 0, sz 4096, blk 8, ct 29184, np 0, st 
0x0, g 0

d-1: bstart 1, bend 1, bwh -1, bdiropq -1, gen 0

d1: /sys, nfs4, cnt 1, flags 0x0

i1: i244726, nfs4, cnt 2, nl 2, 040755, ntfy 0, sz 4096, blk 8, ct 29184, np 0, 
st 0x0, g 0

d-1: //proc, aufs, cnt 1, flags 0x0

i-1: i31, aufs, cnt 1, nl 2, 040755, ntfy 0, sz 4096, blk 8, ct 56832, np 0, st 
0x0, g 0

d-1: bstart 1, bend 1, bwh -1, bdiropq -1, gen 0

d1: /proc, nfs4, cnt 1, flags 0x0

i1: i243408, nfs4, cnt 2, nl 2, 040755, ntfy 0, sz 4096, blk 8, ct 56832, np 0, 
st 0x0, g 0

d-1: sbin/init, aufs, cnt 1, flags 0x0

i-1: i32, aufs, cnt 1, nl 1, 0100755, ntfy 0, sz 32652, blk 64, ct 11264, np 0, 
st 0x0, g 0

d-1: bstart 1, bend 1, bwh -1, bdiropq -1, gen 0

d1: sbin/init, nfs4, cnt 1, flags 0x8

i1: i245814, nfs4, cnt 2, nl 1, 0100755, ntfy 0, sz 32652, blk 64, ct 11264, np 
0, st 0x0, g 0

exec run-init /root /sbin/init "ldap" </root/dev/console >/root/dev/console

BUG: unable to handle kernel NULL pointer dereference at virtual address 
00000028

 printing eip:

b016f721

*pde = 00000000

Oops: 0000 [#4]

SMP 

Modules linked in: aufs nfs lockd nfs_acl sunrpc pcnet32 mii thermal processor 
fan

CPU:    0

EIP:    0060:[<b016f721>]    Tainted: G      D VLI

EFLAGS: 00010282   (2.6.23-rc6 #5)

EIP is at prepare_binprm+0x4d/0xca

eax: 00000000   ebx: bf955580   ecx: 000081ed   edx: bfa14cc0

esi: bf955580   edi: bfd6e61c   ebp: bfa04000   esp: b1241f7c

ds: 007b   es: 007b   fs: 00d8  gs: 0000  ss: 0068

Process run-init (pid: 1, ti=b1240000 task=bf899ab0 task.ti=b1240000)

Stack: bfa14cc0 bfa14cc0 00000000 b0170739 af95de78 af95de6c bfa04000 bfa04000 

       00000000 b1240000 b01056ec b1241fb8 af95ee34 00000000 b0106e8a af95ee34 

       af95de6c af95de78 00000000 00000000 00000000 0000000b 0000007b 0000007b 

Call Trace:

 [<b0170739>] do_execve+0xc3/0x1a4

 [<b01056ec>] sys_execve+0x2f/0x7d

 [<b0106e8a>] syscall_call+0x7/0xb

 =======================

Code: a0 00 00 00 64 a1 00 90 39 b0 8b 80 88 01 00 00 89 83 94 00 00 00 64 a1 
00 90 39 b0 8b 80 98 01 00 00 89 83 98 00 00 00 8b 42 08 <f6> 40 28 01 75 45 f6 
c5 08 74 19 64 a1 00 90 39 b0 81 a0 cc 00 

EIP: [<b016f721>] prepare_binprm+0x4d/0xca SS:ESP 0068:b1241f7c

Kernel panic - not syncing: Attempted to kill init!

Index: fs/aufs/sysaufs.c
===================================================================
RCS file: /cvsroot/aufs/aufs/fs/aufs/sysaufs.c,v
retrieving revision 1.14
diff -u -r1.14 sysaufs.c
--- fs/aufs/sysaufs.c   30 Jul 2007 04:12:23 -0000      1.14
+++ fs/aufs/sysaufs.c   14 Sep 2007 19:47:13 -0000
@@ -379,6 +404,9 @@
 #ifdef CONFIG_AUFS_COMPAT
        puts_bool(COMPAT);
 #endif
+#ifdef CONFIG_AUFS_SPLICE_PATCH
+        puts_bool(SPLICE_PATCH);
+#endif
 
 #undef puts_bool
 #undef puts
Index: include/linux/aufs_type.h
===================================================================
RCS file: /cvsroot/aufs/aufs/include/linux/aufs_type.h,v
retrieving revision 1.70
diff -u -r1.70 aufs_type.h
--- include/linux/aufs_type.h   3 Sep 2007 03:44:54 -0000       1.70
+++ include/linux/aufs_type.h   14 Sep 2007 19:47:14 -0000
@@ -23,7 +23,7 @@
 #ifndef __AUFS_TYPE_H__
 #define __AUFS_TYPE_H__
 
-#define AUFS_VERSION   "20070903"
+#define AUFS_VERSION   "20070914+NFSv4-v1"
 
 /* ---------------------------------------------------------------------- */
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to