From owner-freebsd-current@FreeBSD.ORG Mon Jul 27 19:58:32 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 5A6201065670 for ; Mon, 27 Jul 2009 19:58:32 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 124EB8FC12 for ; Mon, 27 Jul 2009 19:58:32 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1MVWL9-0006MM-9H>; Mon, 27 Jul 2009 21:58:31 +0200 Received: from e178050008.adsl.alicedsl.de ([85.178.50.8] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1MVWL9-00062e-6j>; Mon, 27 Jul 2009 21:58:31 +0200 Message-ID: <4A6E06E6.9030300@mail.zedat.fu-berlin.de> Date: Mon, 27 Jul 2009 21:58:30 +0200 From: "O. Hartmann" User-Agent: Thunderbird 2.0.0.22 (X11/20090723) MIME-Version: 1.0 To: Juergen Unger References: <20090727072503.GA52309@jpru.ffm.jpru.de> In-Reply-To: <20090727072503.GA52309@jpru.ffm.jpru.de> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.50.8 X-Mailman-Approved-At: Mon, 27 Jul 2009 21:00:17 +0000 Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: zfs: Fatal trap 12: page fault while in kernel mode 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: Mon, 27 Jul 2009 19:58:32 -0000 Juergen Unger wrote: > Hi, > > I have one box where I am doing an zfs-receive job every > five minutes for each of eleven zvols. Beside this no > other service runs on this box. > The system is an current checked out Jul 25 09:11 CET > compiled with the following options: > >> include GENERIC >> options KVA_PAGES=512 >> options KDB >> options DDB > > uname -a: > >> FreeBSD testbox 8.0-BETA2 FreeBSD 8.0-BETA2 #0: Sat Jul 25 21:43:42 CEST 2009 root@testbox:/usr/obj/usr/src/sys/ZFS-DEBUG i386 > > loader.conf: > >> geom_mirror_load="YES" >> vm.kmem_size="1536M" >> vm.kmem_size_max="1536M" >> vfs.zfs.arc_max="100M" >> vfs.zfs.prefetch_disable=1 > > This runs quite well for a few hours but after max 20 to 30 > hours I get this error: > >> Fatal trap 12: page fault while in kernel mode >> cpuid = 0; apic id = 00 >> fault virtual address = 0x4c >> fault code = supervisor read, page not present >> instruction pointer = 0x20:0x80883d93 >> stack pointer = 0x28:0xfcd29b74 >> frame pointer = 0x28:0xfcd29b94 >> code segment = base 0x0, limit 0xfffff, type 0x1b >> = DPL 0, pres 1, def32 1, gran 1 >> processor eflags = interrupt enabled, resume, IOPL = 0 >> current process = 36 (vnlru) >> [thread pid 36 tid 100062 ] >> Stopped at _sx_xlock+0x43: movl 0x10(%ebx),%eax >> db> bt >> Tracing pid 36 tid 100062 td 0x87166480 >> _sx_xlock(3c,0,874aa28d,70f,8ae9a9f8,...) at _sx_xlock+0x43 >> dmu_buf_update_user(0,8ae9a9f8,0,0,0,...) at dmu_buf_update_user+0x35 >> zfs_znode_dmu_fini(8ae9a9f8,874b312d,1114,110b,879ab000,...) at zfs_znode_dmu_f3 >> zfs_freebsd_reclaim(fcd29c3c,1,0,8ec63754,fcd29c60,...) at zfs_freebsd_reclaim+0 >> VOP_RECLAIM_APV(874b65a0,fcd29c3c,0,0,8ec637c8,...) at VOP_RECLAIM_APV+0xa5 >> vgonel(8ec637c8,0,80c77037,386,0,...) at vgonel+0x1a4 >> vnlru_free(80f2a0f0,0,80c77037,300,3e8,...) at vnlru_free+0x2d5 >> vnlru_proc(0,fcd29d38,80c652bc,33e,871932a8,...) at vnlru_proc+0x80 >> fork_exit(8090d960,0,fcd29d38) at fork_exit+0xb8 >> fork_trampoline() at fork_trampoline+0x8 >> --- trap 0, eip = 0, esp = 0xfcd29d70, ebp = 0 --- >> db> > > any suggestions ? > > Juergen > I see a similar problem on two SMP boxes (is your SMP?), but in my case, it seems not to be ZFS related although I also use ZFS as /home filesystem