From owner-freebsd-stable@FreeBSD.ORG Fri Mar 16 17:05:32 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CCAB616A47F for ; Fri, 16 Mar 2007 17:05:32 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id 5B36A13C500 for ; Fri, 16 Mar 2007 17:05:26 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id DC502C17E2; Fri, 16 Mar 2007 19:05:24 +0200 (EET) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30299-08; Fri, 16 Mar 2007 19:05:22 +0200 (EET) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id F1017C17E1; Fri, 16 Mar 2007 19:05:21 +0200 (EET) Message-ID: <45FACE51.5050406@bulinfo.net> Date: Fri, 16 Mar 2007 19:05:21 +0200 From: Krassimir Slavchev User-Agent: Thunderbird 1.5 (X11/20060201) MIME-Version: 1.0 To: Kris Kennaway References: <45FABC4B.2020909@bulinfo.net> <20070316165726.GB21402@xor.obsecurity.org> In-Reply-To: <20070316165726.GB21402@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Cc: freebsd-stable@freebsd.org Subject: Re: disable swap discovery? 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: Fri, 16 Mar 2007 17:05:33 -0000 Kris Kennaway wrote: > On Fri, Mar 16, 2007 at 05:48:27PM +0200, Krassimir Slavchev wrote: > >> Hello, >> >> Since raid degradation I have had corrupted swap partition and unable to >> boot the kernel. >> After detecting HDD I have "Fatal trap 12: page fault ..." and "current >> process 0 (swapper)". >> This happens even when I boot from CD. If HDD is disconnected it boots >> normally. >> I have tried to disable swap with setting bootloader variables but no luck: >> set vm.swap_enabled=0 >> set vm.nswapdev=0 >> >> Is there other way to disable swap from bootloader? >> > > boot -s, then turn off your swap partitions in fstab > > This was the first one I tried. > Kris > >