From owner-freebsd-fs@FreeBSD.ORG Sat Oct 6 16:24:15 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DAF81106564A for ; Sat, 6 Oct 2012 16:24:15 +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 2C5418FC0A for ; Sat, 6 Oct 2012 16:24:14 +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 TAA09054; Sat, 06 Oct 2012 19:24:10 +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 1TKXAf-0004KM-Vq; Sat, 06 Oct 2012 19:24:10 +0300 Message-ID: <50705B28.8040407@FreeBSD.org> Date: Sat, 06 Oct 2012 19:24:08 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120913 Thunderbird/15.0.1 MIME-Version: 1.0 To: Dennis Glatting References: <1349447619.89356.13.camel@btw.pki2.com> <506F063F.8050408@FreeBSD.org> <1349534277.45402.7.camel@btw.pki2.com> <50704C5A.2060902@FreeBSD.org> <1349539831.53407.0.camel@btw.pki2.com> In-Reply-To: <1349539831.53407.0.camel@btw.pki2.com> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs Subject: Re: under ZFS, I can reliably crash my systems X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2012 16:24:16 -0000 on 06/10/2012 19:10 Dennis Glatting said the following: > On Sat, 2012-10-06 at 18:20 +0300, Andriy Gapon wrote: >> on 06/10/2012 17:37 Dennis Glatting said the following: >>> On Fri, 2012-10-05 at 19:09 +0300, Andriy Gapon wrote: >>>> on 05/10/2012 17:33 Dennis Glatting said the following: >>>>> swap_pager: out of swap space >>>>> swap_pager_getswapspace(16): failed >>>>> pid 1847 (fstat), uid 0, was killed: out of swap space >>>> >>>> One thing I can tell you, your kernel and userland are out of sync. >>>> >>> >>> How so? If svn src and rebuild everything. Do you mean ports? >>> >>> Typical src build is: >>> >>> svn co svn://svn.pki2.com/base/stable/9/ /disk-1/src >>> cd /usr/src; make -j65 buildworld >>> make installworld >>> yes | make delete-old >>> yes | make delete-old-libs >>> mergemaster >>> cd /sys/amd64/conf/ >>> ./mkconfig.pl SMUNI.in >>> config SMUNI >>> cd ../compile/SMUNI >>> make cleandepend && make depend && make >>> make install >>> >>> That's fairly straight forward. >> >> Why not use buildkernel target with KERNCONF=SMUNI? >> > > Is there a difference in the processes? Most likely no. But buildkernel is the official way. If something changes in the official procedure, then your manual procedure may miss it. >> Anyway, well, maybe your kernel (the one that produced the crashdump) was from >> before the upgrade. fstat trying to allocate insane amounts of memory during >> vmcore processing is a sign that fstat and the kernel were compiled using >> different versions of system headers. >> > > -- Andriy Gapon