From owner-freebsd-current@FreeBSD.ORG Thu Jul 21 07:03:46 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8133A16A41F for ; Thu, 21 Jul 2005 07:03:46 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB1D843D4C for ; Thu, 21 Jul 2005 07:03:45 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j6L73hEB068684 for ; Thu, 21 Jul 2005 01:03:44 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j6L73hD3068683 for freebsd-current@FreeBSD.org; Thu, 21 Jul 2005 01:03:43 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 21 Jul 2005 01:03:42 -0600 From: Greg Lewis To: freebsd-current@FreeBSD.org Message-ID: <20050721070342.GA68601@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: Panic using networked swap with 6.0-BETA1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 07:03:46 -0000 Hi, No response on freebsd-sparc, plus I think this may be MI, so I'm sending it to freebsd-current too. I have a Ultra 10 which I network boot in a diskless configuration to run FreeBSD. This weekend I downloaded 6.0-BETA1 and got that set up. I've gotten the following panic reproduceably while trying to compile the lang/perl5.8 port when the machine starts to swap. Note that this is typed in from looking at the console (I'd need to set up a serial console) so apologies for any typos. panic: bstrategy: no bufobj bp=0xc3dee258 cpuid = 0 KDB: enter: panic [thread pid 7 tid 100027 ] Stopped at kdb_enter+0x3c: ta %xcc, 1 db> trace Tracing pid 7 tid 100027 td 0xfffff80017df84c0 panic() at panic+0x16c swapdev_strategy() at swapdev_strategy+0x70 swp_pager_strategy() at swp_page_strategy+0x8c swap_pager_putpages() at swap_pager_putpages+0x3e8 default_pager_putpages() at default_pager_putpages+0x1c vm_pageout_flush() at vm_pageout_flush+0x14c vm_pageout_clean() at vm_pageout_clean+0x334 vm_pageout_scan() at vm_pageout_scan+0x738 vm_pageout() at vm_pageout+0x3e8 fork_exit() at fork_exit+0x94 fork_trampoline() at fork_trampoline+0x8 db> Please let me know if you want anything else examined from the debugger. The server is an x86 box running FreeBSD 4.11-STABLE: FreeBSD misty.eyesbeyond.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu Apr 7 10:51:05 MDT 2005 glewis@misty.eyesbeyond.com:/usr/src/sys/compile/MISTY i386 I created the swap file on the server as follows: dd if=/dev/zero of=swap bs=4k count=128k The fstab entry looks like: /swap none swap sw 0 0 I downloaded 5.4 and tried it tonight and network swap works without any problems, so the behaviour in 6.0-BETA1 appears to definitely be a regression. In addition, I tried a similar trick on my Alpha with 6.0-BETA1 tonight and received a similar panic: panic: bstrategy: no bufobj bp=0xfffffe0003358010 cpuid = 0 KDB: enter: panic [thread pid 8 tid 100025 ] Stopped at kdb_enter+0x48: or zero,zero,zero db> trace Tracing pid 8 tid 100025 td 0xfffffc0007bbed20 kdb_enter() at kdb_enter+0x48 panic() at panic+0x210 swapdev_strategy() at swapdev_strategy+0xb8 swp_pager_strategy() at swp_pager_strategy+0xac swap_pager_putpages() at swap_pager_putpages+0x4c4 default_pager_putpages() at default_pager_putpages+0x1c vm_pageout_flush() at vm_pageout_flush+0x1d8 db> I haven't tried it under 5.4 on the Alpha yet, but networked swap definitely worked under 5.2 on the Alpha. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org