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

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



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