Subject: kern/12807: NFS file corruption
To: None <gnats-bugs@gnats.netbsd.org>
From: None <chris@paradox.demon.co.uk>
List: netbsd-bugs
Date: 05/02/2001 19:10:03
>Number:         12807
>Category:       kern
>Synopsis:       NFS file corruption 
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 02 11:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        17-4-01
>Organization:
>Environment:
	
System: NetBSD pinky.paradox.demon.co.uk 1.5U NetBSD 1.5U (PINKY) #4: Tue Apr 17 10:23:08 BST 2001 chris@pinky.paradox.demon.co.uk:/usr/obj/kern/PINKY i386
Architecture: i386
Machine: i386
System: NetBSD brain.buzzbee.freeserve.co.uk 1.5U NetBSD 1.5U (RISCPC.SA) #30: Thu Apr 19 21:28:36 BST 2001 chris@brain.buzzbee.freeserve.co.uk:/usr/obj/kern/RISCPC.SA arm32
Architecture: arm32
Machine: arm32
>Description:
	when mounting an NFS drive from i386 server onto a current arm32 machine I get file corruptiong.  Seems to occur after a lot of traffic, eg make release with source on nfs mount.
	
	eg: gnu/dist/gcc/global.c at about line 1597 
	arm32 mounted shows:
	  if (reg_renumber[dest_regno] >= 0)
    		dest_regno = reg_renum`er[dest_regno];
	and i386 local shows:
	 if (reg_renumber[dest_regno] >= 0)
    		dest_regno = reg_renumber[dest_regno];
>How-To-Repeat:
	make release (from clean) on nfs mount seems to manage to trigger it, unmounting and remounting the nfs mount clears it.
>Fix:
	None, I'll try newer kernels this weekend, I do remember having the same problem a long time ago, but it's not happened for a while (but it's been a while since I did a near complete from scratch make release).
>Release-Note:
>Audit-Trail:
>Unformatted:
 	no
 	corrupt files from nfs server
 	serious
 	high
 	sw-bug