[EMAIL PROTECTED] wrote:
Charles Duffy:
Reading broken symlinks (ie. /proc/*/fd/* entries corresponding with
sockets or stdin/stdout) results in ENXIO.

Surprise!
I thought nobody was interested in this patch.
As you wrote, the patch was bad. In my environment, I had modified it
already. Honestly speaking, I don't touch around here recently.
Hope this helps.

Thank you kindly for this updated version of your patch! I assure you that you're not the only person with cause to use something like this, and once it's stabilized a bit I hope to see it included upstream.

Unfortunately, the new patch fails for me every time, with numerous OOPSes occurring on boot.

ksymoops output for the first OOPS in the sequence is below. Let me know if you need additional information or resources to debug this issue; my only Linux kernel experience is working around the input core (and earlier some network bits) but not filesystem code, so I'm in unfamiliar territory here.

<1>Unable to handle kernel NULL pointer dereference at 0000000000000029 RIP:
<ffffffff801826ee>{sys_dup2+142}
Oops: 0002 [3]
CPU 0
Pid: 864, comm: ifup Tainted: GF     2.6.12.6-xenU
RIP: e030:[<ffffffff801826ee>] <ffffffff801826ee>{sys_dup2+142}
Using defaults from ksymoops -t elf64-x86-64 -a i386:x86-64
RSP: e02b:ffff88001f06ff58  EFLAGS: 00010287
RAX: ffff88001f413540 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00000000fffffff7 R08: 0000000000000020 R09: 0000000000596ef0
R10: 0000000000000000 R11: ffffffffff5fd000 R12: 0000000000000001
R13: 0000000000000000 R14: ffff880000022a00 R15: 0000000000000000
FS:  00002aaaab2890a0(0000) GS:ffffffff803a7900(0000) knlGS:ffffffff803a7900
CS:  e033 DS: 0000 ES: 0000
Stack: 0000000000000003 00007fffffa89760 0000000000000001 00000000005959a0
       0000000000000001 ffffffff801118c5 0000000000000206 0000000000000000
       0000000000596ef0 0000000000000020
Call Trace:<ffffffff801118c5>{system_call+117} <ffffffff80111850>{system_call+0}
Code: 41 ff 44 24 28 4c 89 f7 e8 25 8a 00 00 85 c0 89 c5 78 6c 49


>>RIP; ffffffff801826ee <sys_dup2+8e/140>   <=====

>>RAX; ffff88001f413540 <__crc_sysdev_class_unregister+ffff87ff1f4a603a/fffffffe80192afa> >>RBP; 00000000fffffff7 <__crc_sysdev_class_unregister+92af1/fffffffe80192afa>
>>R09; 0000000000596ef0 <__crc_krb5_decrypt+3ea90/9ba24>
>>R11; ffffffffff5fd000 <_end+7f224000/7f227000>
>>R14; ffff880000022a00 <__crc_sysdev_class_unregister+ffff87ff000b54fa/fffffffe80192afa>

Trace; ffffffff801118c5 <system_call+75/7a>

Code;  ffffffff801826ee <sys_dup2+8e/140>
0000000000000000 <_RIP>:
Code;  ffffffff801826ee <sys_dup2+8e/140>   <=====
   0:   41 ff 44 24 28            incl   0x28(%r12)   <=====
Code;  ffffffff801826f3 <sys_dup2+93/140>
   5:   4c 89 f7                  mov    %r14,%rdi
Code;  ffffffff801826f6 <sys_dup2+96/140>
   8:   e8 25 8a 00 00            callq  8a32 <_RIP+0x8a32>
Code;  ffffffff801826fb <sys_dup2+9b/140>
   d:   85 c0                     test   %eax,%eax
Code;  ffffffff801826fd <sys_dup2+9d/140>
   f:   89 c5                     mov    %eax,%ebp
Code;  ffffffff801826ff <sys_dup2+9f/140>
  11:   78 6c                     js     7f <_RIP+0x7f>
Code;  ffffffff80182701 <sys_dup2+a1/140>
  13:   49 00 00                  rex64Z add    %al,(%r8)

CR2: 0000000000000029

2137 warnings and 1 error issued.  Results may not be reliable.

_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to