From owner-freebsd-amd64@FreeBSD.ORG Fri May 23 17:20:01 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 454B01065674 for ; Fri, 23 May 2008 17:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1925B8FC13 for ; Fri, 23 May 2008 17:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4NHK16u058500 for ; Fri, 23 May 2008 17:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4NHK1de058499; Fri, 23 May 2008 17:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 23 May 2008 17:20:01 GMT Resent-Message-Id: <200805231720.m4NHK1de058499@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stefan `Sec` Zehl Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 277C0106566B for ; Fri, 23 May 2008 17:17:50 +0000 (UTC) (envelope-from sec@42.org) Received: from ice.42.org (v6.42.org [IPv6:2001:608:9::1]) by mx1.freebsd.org (Postfix) with ESMTP id AE7BD8FC0C for ; Fri, 23 May 2008 17:17:49 +0000 (UTC) (envelope-from sec@42.org) Received: by ice.42.org (Postfix, from userid 1000) id 1B65322847; Fri, 23 May 2008 19:17:48 +0200 (CEST) Message-Id: <20080523171748.1B65322847@ice.42.org> Date: Fri, 23 May 2008 19:17:48 +0200 (CEST) From: Stefan `Sec` Zehl To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 X-Mailman-Approved-At: Fri, 23 May 2008 20:01:27 +0000 Cc: Subject: amd64/123936: Swap problem? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stefan `Sec` Zehl List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 17:20:01 -0000 >Number: 123936 >Category: amd64 >Synopsis: Swap problem? >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 23 17:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Stefan `Sec` Zehl >Release: FreeBSD 7.0-STABLE amd64 >Organization: >Environment: System: FreeBSD ice 7.0-STABLE FreeBSD 7.0-STABLE #13: Thu May 8 15:00:23 CEST 2008 root@ice:/usr/obj/usr/src/sys/ICE amd64 >Description: My FreeBSD-7.0-STABLE amd64 machine had some strange swap problems today. /var/log/messages shows these messages: | May 23 10:59:07 ice kernel: swap_pager_getswapspace(16): failed | May 23 10:59:07 ice kernel: swap_pager_getswapspace(8): failed | May 23 10:59:07 ice kernel: swap_pager_getswapspace(16): failed | May 23 10:59:07 ice kernel: swap_pager_getswapspace(12): failed | May 23 10:59:07 ice kernel: swap_pager_getswapspace(16): failed | May 23 10:59:07 ice kernel: swap_pager_getswapspace(12): failed | May 23 10:59:07 ice kernel: swap_pager_getswapspace(16): failed | [....] until two processes were killed | May 23 10:59:11 ice kernel: pid 52947 (named), uid 53, was killed: out of swap s After that, these messages stopped. The disk itself appears to be ok -- smartctl lists no problems(did also run a smartctl -t short run), and a dd can read the entire swap device without problems. I have encrypted my swap by having the following line in my /etc/fstab: |/dev/ad4s1b.eli none swap sw 0 0 swapinfo confirms this: | Device 1K-blocks Used Avail Capacity | /dev/ad4s1b.eli 1441088 188852 1252236 13% Is there any known issue with encrypted swap? And do the numbers in "getspace(xx)" signify anyting? Is there any additional information needed? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: