Stable panic on shutdown: swapoff: failed to locate N swap blocks

Andrey Chernov ache at nagual.pp.ru
Sat Oct 16 13:40:18 PDT 2004


On Sat, Oct 16, 2004 at 11:51:20PM +0400, Andrey Chernov wrote:
> On Sat, Oct 16, 2004 at 08:21:15AM +0200, Pawel Jakub Dawidek wrote:
> > +> Forward it to me, please, I'll test it.
> > 
> > 	http://people.freebsd.org/~pjd/patches/swapoff_all.patch
> 
> It ever not compiles:
> 
> ../../../vm/swap_pager.c:2151: warning: unused variable `error'

I manually move 'error' under '#ifdef MAC'. It seems your patch works!
At now I reboot already two times without a panic.

-- 
Andrey Chernov | http://ache.pp.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041017/e969cf21/attachment.bin


More information about the freebsd-current mailing list