Hi, > On 18 November 2011 08:50, Bob Beck <[email protected]> wrote: >> Build a kernel with the attached patch. Does it fix your problem? >>
> oops. damn mime, sorry. > http://bofh.ucs.ualberta.ca/beck/vfs_cache.diff Thank You for this patch. But it don't work. Same result: uvm_fault(0xd09fa3c0, 0xefffa000, 0, 3) -> d kernel: page fault trap, code=0 Stopped at cache_zap+0x23: movl %eax,0x4(%edx) ddb> trace cache_zap(d5070a44,d508eed0,d508ed2c,d04de971,d5073cac) at cache_zap+0x23 cache_purge(d5073cac,d508ec90,d30cb9b0,d30b7d4c,d508ec6c) at cache_purge+0x1c nfs_lookup(d508ed40,d30b7d4c,d30b7d4c,d5073ad8,d508eebc) at nfs_lookup+0x1c1 VOP_LOOKUP(d5073ad8,d508eebc,d508eed0,d508eebc,20) at VOP_LOOKUP+0x2f vfs_lookup(d508eea8,d30b6400,400,d508eec4,d0cfa1a4) at vfs_lookup+0x27b namei(d508eea8,3,1,0,40) at namei+0x219 dofstatat(d30b7d4c,ffffff9c,cfbdbd8c,87483004,2) at dofstatat+0x5d sys_lstat(d30b7d4c,d508ef64,d508ef84,d508efa8,d30b7d4c) at sys_lstat+0x38 syscall() at syscall+0x2d8 --- syscall (number -809648756) --- 0x2: ddb> ps PID PPID PGRP UID S FLAGS WAIT COMMAND * 6744 20485 6744 0 7 0 gls 11601 1 12205 0 3 0x80 select shlight 20485 6258 20485 0 3 0x80 wait bash 6258 20897 6258 0 3 0x80 select sshd 9682 1 9682 0 3 0x80 ttyin getty 22133 1 22133 0 3 0x80 select cron 25927 1 25927 0 3 0x80 htplev hotplugd 1203 0 0 0 3 0x100280 nfsidl nfsio 23160 0 0 0 3 0x100280 nfsidl nfsio 7013 0 0 0 3 0x100280 nfsidl nfsio 26499 0 0 0 3 0x100280 nfsidl nfsio 27916 153 153 70 3 0x80 select named 153 1 153 0 3 0x80 netio named 21181 1 21181 0 3 0x80 select nmbd 32577 20024 20024 0 3 0x80 select smbd 20024 1 20024 0 3 0x80 select smbd 10243 1 25861 585 3 0x80 kqread lighttpd 7219 1 7219 0 3 0x80 select inetd 31722 1 31722 77 3 0x80 poll dhcpd 20897 1 20897 0 3 0x80 select sshd 4352 4822 11538 83 3 0x80 poll ntpd 4822 11538 11538 83 3 0x80 poll ntpd 11538 1 11538 0 3 0x80 poll ntpd 27140 26687 26687 70 3 0x80 select named 26687 1 26687 0 3 0x80 netio named 2596 3824 3824 74 3 0x80 bpf pflogd 3824 1 3824 0 3 0x80 netio pflogd 13275 25702 25702 73 2 0x80 syslogd 25702 1 25702 0 3 0x80 netio syslogd 5971 1 5971 77 3 0x80 poll dhclient 8156 1 10308 0 3 0x80 poll dhclient 13 0 0 0 3 0x100200 aiodoned aiodoned 12 0 0 0 3 0x100200 syncer update 11 0 0 0 3 0x100200 cleaner cleaner 10 0 0 0 3 0x100200 reaper reaper 9 0 0 0 3 0x100200 pgdaemon pagedaemon 8 0 0 0 3 0x100200 bored crypto 7 0 0 0 3 0x100200 pftm pfpurge 6 0 0 0 3 0x100200 usbtsk usbtask 5 0 0 0 3 0x100200 usbatsk usbatsk 4 0 0 0 3 0x100200 bored syswq 3 0 0 0 3 0x40100200 idle0 2 0 0 0 3 0x100200 kmalloc kmthread 1 0 1 0 3 0x80 wait init 0 -1 0 0 3 0x200 scheduler swapper ddb> show registers ds 0x10 es 0x10 fs 0x20 gs 0 edi 0xd30b7d4c end+0x25ddba8 esi 0xd5073cac end+0x4599b08 ebp 0xd508ec3c end+0x45b4a98 ebx 0xd5070a44 end+0x45968a0 edx 0xefffaabb ecx 0xd0a24280 nch_pool eax 0xd5070b4c end+0x45969a8 eip 0xd040e903 cache_zap+0x23 cs 0x8 eflags 0x10286 esp 0xd508ec24 end+0x45b4a80 ss 0x10 cache_zap+0x23: movl %eax,0x4(%edx) ddb>
