Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2007 12:57:27 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Krassimir Slavchev <krassi@bulinfo.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: disable swap discovery?
Message-ID:  <20070316165726.GB21402@xor.obsecurity.org>
In-Reply-To: <45FABC4B.2020909@bulinfo.net>
References:  <45FABC4B.2020909@bulinfo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070316165726.GB21402>