Re: Fatal trap 12 on ZFS in 8.0-RC1

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Sun, 25 Oct 2009 00:38:35 -0500
On Sat, Oct 24, 2009 at 9:10 PM, Doug Poland <doug_at_polands.org> 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.
>

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
Received on Sun Oct 25 2009 - 04:38:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:57 UTC