Subject: Re: Trouble Running Cern Httpd and gopher servers under NetBSD-1.1
To: None <netbsd-help@NetBSD.ORG>
From: Charles Hannum <mycroft@deshaw.com>
List: netbsd-help
Date: 12/26/1995 19:49:44
In article <199512260426.UAA21747@ns.sasquatch.com>
lburns@sasquatch.com (Len Burns) writes:

   When I upgraded to 1.1 I noticed a strange error.
   The first time a client connects to the server the server sends the
   file without any problem.  It may do so on the next request as well,
   but ieventually the client receives a message saying unexpected network
   error and the request is not serviced.

This sounds like a symptom of a FPU-related bug that slipped into the
1.1 release.  I'll be making an `official' patch for this (and a few
other problems) RSN.  Meanwhile, the attached fix should solve the
problem for you.  Sorry for the inconvenience.

Index: vm_machdep.c
===================================================================
RCS file: /a/cvsroot/src/sys/arch/i386/i386/vm_machdep.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -c -2 -r1.56 -r1.57
*** vm_machdep.c	1995/12/24 01:07:32	1.56
--- vm_machdep.c	1995/12/26 16:59:47	1.57
***************
*** 100,103 ****
--- 100,105 ----
  #endif
  
+ 	p2->p_md.md_flags = p1->p_md.md_flags;
+ 
  	/* Sync curpcb (which is presumably p1's PCB) and copy it to p2. */
  	savectx(curpcb);