From owner-freebsd-stable@FreeBSD.ORG Fri Mar 16 16:57:28 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 58D3716A405 for ; Fri, 16 Mar 2007 16:57:28 +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 49B3E13C45A for ; Fri, 16 Mar 2007 16:57:28 +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 2A5E01A4DB6; Fri, 16 Mar 2007 09:57:28 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7385E512B3; Fri, 16 Mar 2007 12:57:27 -0400 (EDT) Date: Fri, 16 Mar 2007 12:57:27 -0400 From: Kris Kennaway To: Krassimir Slavchev Message-ID: <20070316165726.GB21402@xor.obsecurity.org> References: <45FABC4B.2020909@bulinfo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45FABC4B.2020909@bulinfo.net> User-Agent: Mutt/1.4.2.2i 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 16:57:28 -0000 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 Kris