From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 1 00:41:57 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 080F2106566B for ; Sun, 1 Nov 2009 00:41:57 +0000 (UTC) (envelope-from remodeler@alentogroup.org) Received: from courriel.marmotmail.com (courriel.marmotmail.com [85.17.36.172]) by mx1.freebsd.org (Postfix) with ESMTP id BF3788FC08 for ; Sun, 1 Nov 2009 00:41:56 +0000 (UTC) Received: from bruce.epifora.com (localhost.local [127.0.0.1]) by courriel.marmotmail.com (Postfix) with ESMTP id 82BA1239497 for ; Sun, 1 Nov 2009 02:45:22 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id E60D54761F9 for ; Sat, 31 Oct 2009 19:59:58 -0500 (EST) Received: from bruce.epifora.com ([127.0.0.1]) by localhost (bruce.epifora.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01558-08 for ; Sat, 31 Oct 2009 19:59:57 -0500 (EST) Received: from alentogroup.org (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id 132554761F8 for ; Sat, 31 Oct 2009 19:59:57 -0500 (EST) From: "remodeler" To: freebsd-hackers@freebsd.org Date: Sat, 31 Oct 2009 19:59:57 -0500 Message-Id: <20091101004815.M83360@alentogroup.org> X-OriginatingIP: 127.0.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: dumpon to an encrypted swap partition? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 00:41:57 -0000 I am running 8.0 RC1 on a multi-user server with a few dozen vnet-enabled jails and netgraph. The swap partition is encrypted by its /etc/fstab entry, like: /dev/ad2s1b.eli none swap sw 0 0 I am getting sporadic kernel panics on reboot, during the GEOM_JOURNAL shutdown sequence. However, they occur after geli detaches the swap partition, so I get an error like: Cannot dump. Device not defined or unavailable. I know I can set dumpdev in /etc/rc.conf to a file rather than a swap partition, but is there a way to (1) have an encrypted swap partition, and (2) dump a core to a swap partition without failure? If I set up a second unencrypted swap, I can't let the system write potentially confidential information into that space. Also, at the end of the panic, I get the message: Automatic reboot in 15 seconds - press a key on the console to abort but then the server hangs and requires manual power-down and reboot. I thought a reboot was inevitable after a kernel panic - that nothing could prevent it in terms of misbehaving processes, etc. Any idea what could cause such a freeze? Thank you.