From owner-freebsd-current Sun Jul 28 14:55:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A200537B400 for ; Sun, 28 Jul 2002 14:55:22 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9786E43E5E for ; Sun, 28 Jul 2002 14:54:56 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.5/8.12.5) with ESMTP id g6SLsuc9072329; Sun, 28 Jul 2002 14:54:56 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.5/8.12.5/Submit) id g6SLstjU072328; Sun, 28 Jul 2002 14:54:55 -0700 (PDT) Date: Sun, 28 Jul 2002 14:54:55 -0700 (PDT) From: David Wolfskill Message-Id: <200207282154.g6SLstjU072328@bunrab.catwhisker.org> To: current@FreeBSD.ORG, tanimura@r.dl.itc.u-tokyo.ac.jp Subject: Re: A fix of recent bugs in swapping in/out a process In-Reply-To: <200207281252.g6SCpvSH064272@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Date: Sun, 28 Jul 2002 21:51:57 +0900 >From: Seigo Tanimura >If you are having a trouble of a broken thread state (eg a thread with >TDS_RUNQ on no run queue) or a mysterious page fault on a kernel >memory (probably in mi_switch()), you may want to try my patch at: >http://people.FreeBSD.org/~tanimura/patches/procswap.diff.gz I was having this kind of trouble with my (UP) laptop, but not my (SMP) build machine. However, the laptop may also be having some hardware issues, so I didn't press the issue.... But after getting another panic after trying to reboot after installing today's -CURRENT on the laptop, I applied that patch, and so far, things seem better. What I did: * Fetched the patch & unzipped it. * cd /usr/src/sys && patch -p6 <~/PATCHES/procswap.diff (I actually ran "patch -C" first, to verify that things looked good.) * cd /usr/src && make kernel KERNCONF=LAPTOP_30W * reboot (after a few syncs, in case that might help). * cd /usr/src && date && make installworld && date && \ mergemaster -u 0022 -i && date && df -k (I.e., re-do the "make installworld & mergemaster steps from the install where I had a panic on reboot, both to have some assurance that files I'd rather have didn't get truncated, and to serve as a first- order test of the patched code.) * reboot * Run a few tests. So far, so good. Thanks! Cheers, david (links to my resume at http://www.catwhisker.org/~david) -- David H. Wolfskill david@catwhisker.org To paraphrase David Hilbert, there can be no conflicts between Microsoft and the discipline of systems administration, since they have nothing in common. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message