From owner-freebsd-current@FreeBSD.ORG Sun Oct 25 05:38:36 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 9823C1065670 for ; Sun, 25 Oct 2009 05:38:36 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id 4D2B38FC1D for ; Sun, 25 Oct 2009 05:38:35 +0000 (UTC) Received: by vws27 with SMTP id 27so4138397vws.3 for ; Sat, 24 Oct 2009 22:38:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=5zF035l394xMO6oCSFUaqneqLc2cpa6g0rwzqP1RuI4=; b=txUka7qfZlDsjqMu7OiwXPgMgMmgIKbFV8tSPMWReLItapLJQzjZZyq/ZAE5RrXDjw 8K0MY1hJlW+jEKELUmaznmnDmEBHLHOqkhstJU/YLknaBgT3NyvQoYrSBWnltcxYSv9c yi53abtTReh1YZbOEFtWKy0imVwHi1f4MWsPE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cVaycQjIsUmoMKbVeYk2w0+qr/pp4hFGIX0cNFXXjvZmEF81Ozb901EVnd6tiJ7Bjc x4UwqLa8hZEjTBSWFHck9WaHY24KejM6a9rXB2QTwZIi308X61MR9c6lAu4Tx0CziDM6 P1xeN3OsvXzq21zMaQyKLgqUFdl3EYo7/H58E= MIME-Version: 1.0 Received: by 10.220.89.83 with SMTP id d19mr2173870vcm.0.1256449115512; Sat, 24 Oct 2009 22:38:35 -0700 (PDT) In-Reply-To: <46e678eb1eeca98033b15979e034a765.squirrel@email.polands.org> References: <46e678eb1eeca98033b15979e034a765.squirrel@email.polands.org> Date: Sun, 25 Oct 2009 00:38:35 -0500 Message-ID: <790a9fff0910242238h1c2966a6kd4f7edce34b7e47a@mail.gmail.com> From: Scot Hetzel To: Doug Poland Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 05:38:36 -0000 On Sat, Oct 24, 2009 at 9:10 PM, Doug Poland wrote: > Hello, > > I'm experimenting with ZFS on 8-0-RC1 (amd64) in a VMWare virtual > machine w/2GB RAM. =A0In 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. =A0I 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=3D"1296M" > vm.kmem_size_max=3D"1296M" > vfs.zfs.arc_max=3D"128M" > vfs.zfs.vdev.cache.size=3D"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. =A0Suggestions welcome. > Try this to import your zpool in the Fixit environment: Fixit# kldload /mnt2/boot/kernel/opensolaris.ko Fixit# kldload /mnt2/boot/kernel/zfs.ko Fixit# zpool import -f -R /zroot zroot Scot