From owner-freebsd-stable@FreeBSD.ORG Tue Nov 15 22:26:46 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED5A916A420 for ; Tue, 15 Nov 2005 22:26:46 +0000 (GMT) (envelope-from lonewolf-freebsd@earthmagic.org) Received: from ppp162-248.static.internode.on.net (ppp162-248.static.internode.on.net [150.101.162.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A5CB43D49 for ; Tue, 15 Nov 2005 22:26:46 +0000 (GMT) (envelope-from lonewolf-freebsd@earthmagic.org) Received: from [192.168.2.3] (sarah.zone2.earthmagic.org [192.168.2.3]) by ppp162-248.static.internode.on.net (Postfix-MSA) with ESMTP id 996C691F1 for ; Wed, 16 Nov 2005 09:26:44 +1100 (EST) Message-ID: <437A60A3.4030305@earthmagic.org> Date: Wed, 16 Nov 2005 09:26:43 +1100 From: Johny Mattsson User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051003) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20051115065740.GH39882@cirb503493.alcatel.com.au> <20051115101537.38820.qmail@web36208.mail.mud.yahoo.com> <20051115181822.GB76352@green.homeunix.org> <55810.213.236.228.129.1132087797.squirrel@mail.adventuras.no> In-Reply-To: <55810.213.236.228.129.1132087797.squirrel@mail.adventuras.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Swapfile problem in 6? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 22:26:47 -0000 On 11/16/05 07:49, Lars Kristiansen wrote: >I had an infinite while loop running during the >kernel compilation, printing out 'swapinfo' every >15 seconds. The last output before the machine goes >dead is this: > > /dev/ad0s1b 39848 11820 39848 30% > /dev/md0 131072 5908 131072 5% > Total 170920 17728 153192 10% Quite possibly not related, but on 5.4 I can reliably cause a panic by attaching md0 to a file residing on an NFS drive and then use it for swap. After 3-5k of used swap on md0, the box dies and reboots. If I run "swapon" directly on the NFS file, things work fine, but it did mean that I couldn't use the default "addswap" rc script to set up the swap on my diskless system. I'm not sure whether it's supposed to work or not, but I haven't had time to look into it yet. Just thought it might be another datapoint for someone in the know to consider, just in case it is related. Cheers, /Johny -- Johny Mattsson - Making IT work ,-. ,-. ,-. When all else fails, http://www.earthmagic.org _.' `-' `-' Murphy's Law still works!