Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 05:11:38 +0200 (MET DST)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        scrappy@hub.org
Cc:        freebsd-stable@FreeBSD.org, alc@FreeBSD.org
Subject:   Re: 3.2-STABLE hangs after several hours ...
Message-ID:  <199908240311.FAA02349@saturn.kn-bremen.de>
In-Reply-To: <Pine.BSF.4.10.9908190916450.61055-100000@thelab.hub.org>
References:  <Pine.BSF.4.10.9908190848480.61055-100000@thelab.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.BSF.4.10.9908190916450.61055-100000@thelab.hub.org> you write:
>
>Just got the serial console fixed, so if/when it happens again, I should
>be able to get down to the debugger and get more/better information...
>
>In case anyone is looking at this, with as little info as there is here,
>the last kernel updated was July 13th, so its between then and now that
>the "bug" appears to have been introduced...
>
>More as it becomes available...

I also went to update my kernel yesterday and stumbled across what
appears to be the same problems as yours, hanging processes until the
entire system becomes unusable...  And here is what i came up with:

Index: vm_object.h
===================================================================
RCS file: /home/cvs/cvs/src/sys/vm/vm_object.h,v
retrieving revision 1.51.2.1
diff -u -u -r1.51.2.1 vm_object.h
--- vm_object.h	1999/07/29 05:38:57	1.51.2.1
+++ vm_object.h	1999/08/24 01:58:14
@@ -93,9 +93,9 @@
 	vm_size_t size;			/* Object size */
 	int ref_count;			/* How many refs?? */
 	int shadow_count;		/* how many objects that this is a shadow for */
+	int pg_color;			/* color of first page in obj */
 	int	id;					/* ID for no purpose, other than info */
 	u_short flags;			/* see below */
-	u_short pg_color;		/* color of first page in obj */
 	u_short paging_in_progress;	/* Paging (in or out) so don't collapse or destroy */
 	u_short	behavior;		/* see below */
 	int resident_page_count;	/* number of resident pages */

 I'm not really sure why (some missing casts maybe?), but this seems to
fix the hangs for me.  My working kernel also was from July 13th btw
(does that mean anything? :) until i tried several later ones and
finally narrowed it down to this commit,

alc         1999/07/28 22:38:59 PDT

  Modified files:        (Branch: RELENG_3)
    sys/vm               vm_object.c vm_object.h vm_page.c 
  Log:
  MFC: Shrink vm_object's by (1) removing cache_count and wired_count and
  by (2) using u_short for pg_color.
  
  Revision  Changes    Path
  1.138.2.5 +1 -3      src/sys/vm/vm_object.c
  1.51.2.1  +2 -4      src/sys/vm/vm_object.h
  1.116.2.2 +1 -26     src/sys/vm/vm_page.c

 I've Cc'd the author...

 Regards,
-- 
Juergen Lock <nox.foo@jelal.kn-bremen.de>
(remove dot foo from address to reply)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908240311.FAA02349>