Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2009 00:38:35 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Doug Poland <doug@polands.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Fatal trap 12 on ZFS in 8.0-RC1
Message-ID:  <790a9fff0910242238h1c2966a6kd4f7edce34b7e47a@mail.gmail.com>
In-Reply-To: <46e678eb1eeca98033b15979e034a765.squirrel@email.polands.org>
References:  <46e678eb1eeca98033b15979e034a765.squirrel@email.polands.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 24, 2009 at 9:10 PM, Doug Poland <doug@polands.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0910242238h1c2966a6kd4f7edce34b7e47a>