From owner-freebsd-stable@FreeBSD.ORG Fri Mar 16 17:12:36 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 A356816A407 for ; Fri, 16 Mar 2007 17:12:36 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9274413C455 for ; Fri, 16 Mar 2007 17:12:36 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 72D811A4DB6; Fri, 16 Mar 2007 10:12:36 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B757151344; Fri, 16 Mar 2007 13:12:35 -0400 (EDT) Date: Fri, 16 Mar 2007 13:12:35 -0400 From: Kris Kennaway To: Krassimir Slavchev Message-ID: <20070316171234.GA21701@xor.obsecurity.org> References: <45FABC4B.2020909@bulinfo.net> <20070316165726.GB21402@xor.obsecurity.org> <45FACE51.5050406@bulinfo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45FACE51.5050406@bulinfo.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org, Kris Kennaway 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:12:36 -0000 On Fri, Mar 16, 2007 at 07:05:21PM +0200, Krassimir Slavchev wrote: > 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. Then your swap partition is not your problem. Kris