From owner-freebsd-stable Mon Aug 23 20:18:25 1999 Delivered-To: freebsd-stable@freebsd.org Received: from blaubaer.kn-bremen.de (blaubaer.kn-bremen.de [195.37.179.254]) by hub.freebsd.org (Postfix) with ESMTP id 5BBAF14D27; Mon, 23 Aug 1999 20:18:19 -0700 (PDT) (envelope-from nox@saturn.kn-bremen.de) Received: from saturn.kn-bremen.de (uucp@localhost) by blaubaer.kn-bremen.de (8.9.1/8.9.1) with UUCP id FAA16510; Tue, 24 Aug 1999 05:13:43 +0200 Received: (from nox@localhost) by saturn.kn-bremen.de (8.9.3/8.8.5) id FAA02349; Tue, 24 Aug 1999 05:11:38 +0200 (MET DST) Date: Tue, 24 Aug 1999 05:11:38 +0200 (MET DST) From: Juergen Lock Message-Id: <199908240311.FAA02349@saturn.kn-bremen.de> To: scrappy@hub.org Subject: Re: 3.2-STABLE hangs after several hours ... X-Newsgroups: local.list.freebsd.stable In-Reply-To: References: Organization: home Cc: freebsd-stable@FreeBSD.org, alc@FreeBSD.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article 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 (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