From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 29 21:33:53 2013 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D9205A54 for ; Thu, 29 Aug 2013 21:33:53 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 294042B32 for ; Thu, 29 Aug 2013 21:33:52 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id AAA03030; Fri, 30 Aug 2013 00:33:49 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1VF9qf-0003h2-JN; Fri, 30 Aug 2013 00:33:49 +0300 Message-ID: <521FBE05.6020007@FreeBSD.org> Date: Fri, 30 Aug 2013 00:32:53 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130810 Thunderbird/17.0.8 MIME-Version: 1.0 To: Patrick Subject: Re: Fatal trap 12 going from 8.2 to 8.4 with ZFS References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 21:33:53 -0000 on 29/08/2013 19:37 Patrick said the following: > I've got a system running on a VPS that I'm trying to upgrade from 8.2 > to 8.4. It has a ZFS root. After booting the new kernel, I get: > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x40 > fault code = supervisor read data, page not present > instruction pointer = 0x20:0xffffffff810d7691 > stack pointer = 0x28:0xffffff800001ba60 > frame pointer = 0x28:0xffffff800001ba90 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 1 (kernel) > trap number = 12 > panic: page fault > cpuid = 0 > KDB: stack backtrace: > #0 0xffffffff8066cb96 at kdb_backtrace+0x66 > #1 0xffffffff8063925e at panic+0x1ce > #2 0xffffffff809c21d0 at trap_fatal+0x290 > #3 0xffffffff809c255e at trap_pfault+0x23e > #4 0xffffffff809c2a2e at trap+0x3ce > #5 0xffffffff809a9624 at calltrap+0x8 > #6 0xffffffff810df517 at vdev_mirror_child_select+0x67 If possible, please run 'kgdb /path/to/8.4/kernel' and then in kgdb do 'list *vdev_mirror_child_select+0x67' > #7 0xffffffff810dfacc at vdev_mirror_io_start+0x24c > #8 0xffffffff810f7c52 at zio_vdev_io_start+0x232 > #9 0xffffffff810f76f3 at zio_execute+0xc3 > #10 0xffffffff810f77ad at zio_wait+0x2d > #11 0xffffffff8108991e at arc_read+0x6ce > #12 0xffffffff8109d9d4 at dmu_objset_open_impl+0xd4 > #13 0xffffffff810b4014 at dsl_pool_init+0x34 > #14 0xffffffff810c7eea at spa_load+0x6aa > #15 0xffffffff810c90b2 at spa_load_best+0x52 > #16 0xffffffff810cb0ca at spa_open_common+0x14a > #17 0xffffffff810a892d at dsl_dir_open_spa+0x2cd > Uptime: 3s > Cannot dump. Device not defined or unavailable. > > I've booted back into the 8.2 kernel without any problems, but I'm > wondering if anyone can suggest what I should try to get this working? > I used freebsd-update to upgrade, and this was after the first > "freebsd-update install" where it installs the kernel. -- Andriy Gapon