From owner-freebsd-current@FreeBSD.ORG Sun Oct 25 06:07:49 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4AF2106566C for ; Sun, 25 Oct 2009 06:07:49 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 8F0CF8FC18 for ; Sun, 25 Oct 2009 06:07:49 +0000 (UTC) Received: from c83-253-248-99.bredband.comhem.se ([83.253.248.99]:58012 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1N1wGC-0002lU-3o; Sun, 25 Oct 2009 07:07:26 +0100 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id 587F226E6EC; Sun, 25 Oct 2009 07:07:10 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Thomas Backman X-Priority: 3 (Normal) In-Reply-To: <46e678eb1eeca98033b15979e034a765.squirrel@email.polands.org> Date: Sun, 25 Oct 2009 07:07:07 +0100 Content-Transfer-Encoding: 7bit Message-Id: <2D80E5CB-71E5-4F4F-A84B-A95C18B50F47@exscape.org> References: <46e678eb1eeca98033b15979e034a765.squirrel@email.polands.org> To: Doug Poland X-Mailer: Apple Mail (2.1076) X-Originating-IP: 83.253.248.99 X-Scan-Result: No virus found in message 1N1wGC-0002lU-3o. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1N1wGC-0002lU-3o 4baac6354517e20f71d1682c9118890d Cc: freebsd-current@freebsd.org Subject: Re: Fatal trap 12 on ZFS in 8.0-RC1 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: Sun, 25 Oct 2009 06:07:49 -0000 On Oct 25, 2009, at 3:10 AM, Doug Poland wrote: > Hello, > > I'm experimenting with ZFS on 8-0-RC1 (amd64) in a VMWare virtual > machine w/2GB RAM. In installed ZFS on GPT root using the excellent > instructions at http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ1. > > All was well until I tried some benchmarking with > benchmarks/unixbench. I kept getting kmem_map too small panics on the > filesystem tests so starting playing with vm.kmem_size. > > I finally got unixbench through the first 6 Filesystem Throughput > tests with: > vm.kmem_size="1296M" > vm.kmem_size_max="1296M" > vfs.zfs.arc_max="128M" > vfs.zfs.vdev.cache.size="24M" (i think) > > Unfortunately, ZFS paniced with: > Fatal trap 12: page fault while in kernel mode. Now, when I attempt to > restart the VM, as soon as the "boot menu" is gone, I immediately get > the same Fatal trap 12 panics again and cannot get past this point. > > I've got the 8.0-RC1 DVD and can run Fixit, but have no idea how to > repair this broken ZFS installation. Suggestions welcome. You should be able to break into the loader prompt (choice #6 IIRC) and do unset vm.kmem_size unset vm... ... etc. boot That way, you'll be back to the earlier panics, but at least it'll boot. Oh, and the settings aren't permanent, so make editing /boot/ loader.conf your first prority. Regards, Thomas