Undefined: _savucred, installing Ultrix3.1

Piet Tutelaers rcpt at tuegate.tue.nl
Wed Jun 6 02:22:36 AEST 1990


Last Saturday we have upgraded our VAX750 from Ultrix 2.2 to 3.1.
Building the Ultrix 3.1 kernel (without the UWS 2.1 software subsets loaded)
gave the following problem:
	loading vmunix
	Undefined:
	_savucred
	*** Error code 1

With some grep's we found out that the file `/usr/sys/conf/param.c' has a
declaration for this variable while the file `param.c' in the directory
`/usr/sys/RC3' (RC3 is the name we have choosen for our system) did not. It
seems that `/etc/doconfig' uses the `param.c' file from
`/usr/sys/BINARY.vax'. After we copied `param.c' from `/usr/sys/conf' to
'/usr/sys/RC3', and did a manually make, we got a vmunix! 

Can anybody comment on this? At the end of this message I have included the
diff from the two mentioned versions of param.c.

Piet Tutelaers
rcpt at urc.tue.nl
------------------------------------------------------------------
*** ../BINARY.vax/param.c	Wed Oct 19 09:33:47 1988
--- ../conf/param.c	Sat Jun  2 17:39:22 1990
***************
*** 1,6
  
  #ifndef lint
! static char *sccsid = "@(#)param.c	4.1.1.4	ULTRIX	7/18/88";
  #endif lint
  
  /************************************************************************

--- 1,6 -----
  
  #ifndef lint
! static char *sccsid = "@(#)param.c	9.3	ULTRIX	2/27/89";
  #endif lint
  
  /************************************************************************
***************
*** 5,11
  
  /************************************************************************
   *									*
!  *			Copyright (c) 1988 by				*
   *		Digital Equipment Corporation, Maynard, MA		*
   *			All rights reserved.				*
   *									*

--- 5,11 -----
  
  /************************************************************************
   *									*
!  *			Copyright (c) 1988,89 by			*
   *		Digital Equipment Corporation, Maynard, MA		*
   *			All rights reserved.				*
   *									*
***************
*** 34,39
   *
   * Modification History
   *
   *	13-Jun-88 -- chet
   *	added configurable buffer cache support
   *

--- 34,43 -----
   *
   * Modification History
   *
+  *	28-Jan-89 -- amato
+  *	added structure to save cred when swapping out in our own context
+  *	for diskless root window fix. This MUST go away int v3.2.
+  *
   *	13-Jun-88 -- chet
   *	added configurable buffer cache support
   *
***************
*** 111,116
  
  #define	NPROC (20 + 8 * MAXUSERS)
  int	nproc = NPROC;
  
  #ifdef INET
  #define	NETSLOP	20			/* for all the lousy servers*/

--- 115,121 -----
  
  #define	NPROC (20 + 8 * MAXUSERS)
  int	nproc = NPROC;
+ struct ucred *savucred[NPROC];
  
  #ifdef INET
  #define	NETSLOP	20			/* for all the lousy servers*/



More information about the Comp.unix.ultrix mailing list