Subject: Re: LFS over NFS
To: Konrad Schroder <perseant@hhhh.org>
From: Yoshito Komatsu <ykomatsu@akaumigame.org>
List: current-users
Date: 05/29/2006 14:03:54
Hello,

Konrad Schroder wrote:
>>> # mount c8:/tmp /mnt
>>> # cp test.tar.gz /mnt
>>> cp: /mnt/test.tar.gz: Input/output error
>>> # ls -l test.tar.gz /mnt/test.tar.gz
>>> -rw-r--r--  1 4294967294  wheel  3473408 May 15 20:54 /mnt/test.tar.gz
>>> -rw-r--r--  1 root        wheel  3494408 May 15 20:54 test.tar.gz
>>> #
> 
> A brave soul :^)
> 
> See if sys/ufs/lfs/lfs_vnops.c rev 1.177 helps any.

I tried the latest -current (2006/05/28)
and kernel diagnostic assertion failed:

panic: kernel diagnostic assertion "LIST_FIRST(&vp->v_dirtyblkhd) == NULL" failed: file "../../../../ufs/lfs/lfs_segment.c", line 469
Stopped in pid 299.1 (nfsd) at  netbsd:cpu_Debugger+0x4:        popl    %ebp
db> trace
cpu_Debugger(c0410943,cb4ac798,cb4ac7ac,c0283541,c0f9d254) at netbsd:cpu_Debugger+0x4
panic(c0440840,c03ffc56,c0428520,c04284e0,1d5) at netbsd:panic+0x12c
__assert(c03ffc56,c04284e0,1d5,c0428520,c040776d) at netbsd:__assert+0x2e
lfs_vflush(cccfbb38,0,0,1,0) at netbsd:lfs_vflush+0x429
lfs_fsync(cb4ac874,0,cb4ac8ac,c033f966,c03f4020) at netbsd:lfs_fsync+0xcf
VOP_FSYNC(cccfbb38,cc8d02c4,1,388000,0) at netbsd:VOP_FSYNC+0x4e
nfsrv_commit(cccfef50,c1790a00,ca9ad294,cb4acaa8,c0446434) at netbsd:nfsrv_commit+0x43c
nfssvc_nfsd(cb4acb04,804a2c0,ca9ad294,0,d0000) at netbsd:nfssvc_nfsd+0x5a0
sys_nfssvc(ca9ad294,cb4acc44,cb4acc3c,c05ec000,0) at netbsd:sys_nfssvc+0x2ca
syscall_plain() at netbsd:syscall_plain+0x19b
--- syscall (number 155) ---
0xbbb37d6f:

Regards,
-- 
Yoshito Komatsu <ykomatsu@akaumigame.org>