Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2004 09:32:30 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        Current <freebsd-current@freebsd.org>
Subject:   Re: panic: swap_pager_isswapped: failed to locate all swap meta blocks
Message-ID:  <20040924143224.GG47816@dan.emsphone.com>
In-Reply-To: <20040924122508.GG9550@darkness.comp.waw.pl>
References:  <7m7jqjhojv.wl@black.imgsrc.co.jp> <20040924122508.GG9550@darkness.comp.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 24), Pawel Jakub Dawidek said:
> On Fri, Sep 24, 2004 at 08:52:20PM +0900, Jun Kuriyama wrote:
> +> This is current as of 2004.09.23.23.00.00+00 (when I hit "shutdown -r
> +> now").
> +> 
> +> -----
> +> Shutting down local daemons:.
> +> Writing entropy file:.
> +> panic: swap_pager_isswapped: failed to locate all swap meta blocks
> +> 
> +> I have a core if you want.
> 
> This is indirectly caused by me. I added 'stop' method to rc.d/swap1 script
> and now swapoff(8) is done on every shutdown(8) run.
> 
> Will it be possible to fix it or should I made this optional?

Considering that the system is going down anyway, why bother?  It's
sort of like requiring that programs free() all their memory before
calling exit(); nice to do for debugging purposes but usually just
slows you down.  I can also think of cases where you may still have
processes hanging around whose swapped-out VM size is greater than
physical RAM.

Having said that, it's still no excuse for a panic :)

-- 
	Dan Nelson
	dnelson@allantgroup.com



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