Subject: Re: panic: kernel fault
To: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
From: matthew green <mrg@mame.mu.Oz.Au>
List: current-users
Date: 07/19/1995 18:05:16
thanks mouse.  i've been having these problems also recently.  i *think*
this is the correct change, but i'm not sure.  i won't be able to test
it until tonight...

.mrg.

Index: src/sys/vm/vm_swap.c
*** vm_swap.c	Wed Jul  5 16:58:05 1995
--- vm_swap.c	Wed Jul 19 18:02:23 1995
***************
*** 271,277 ****
  	struct uio *uio;
  {
  
! 	return (physio(swstrategy, NULL, B_READ, minphys, uio));
  }
  
  int
--- 271,277 ----
  	struct uio *uio;
  {
  
! 	return (physio(swstrategy, NULL, dev, B_READ, minphys, uio));
  }
  
  int
***************
*** 280,286 ****
  	struct uio *uio;
  {
  
! 	return (physio(swstrategy, NULL, B_WRITE, minphys, uio));
  }
  
  /*
--- 280,286 ----
  	struct uio *uio;
  {
  
! 	return (physio(swstrategy, NULL, dev, B_WRITE, minphys, uio));
  }
  
  /*