From owner-freebsd-current@FreeBSD.ORG Wed Jun 12 22:11:00 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D1805311 for ; Wed, 12 Jun 2013 22:11:00 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-vb0-x22f.google.com (mail-vb0-x22f.google.com [IPv6:2607:f8b0:400c:c02::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 92A34179B for ; Wed, 12 Jun 2013 22:11:00 +0000 (UTC) Received: by mail-vb0-f47.google.com with SMTP id x14so6420477vbb.20 for ; Wed, 12 Jun 2013 15:11:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4vHGN8MNubM/cdcB5yQC5WBmCnP2vx9eGv5EznIeknU=; b=G5ayVr5SenxKIwrQWbo+Lr2KL+7MNhLchFspsABOhPYe5eWcOlMRbXYrX1rljBCfGR D/LhZ4cfUD5H34hRn90IdaIOrwDL7MN0Wgv3JS7o3hNsny83ZbKALh8HYr59++sdLnKT Bq4Yk0MQ8qvkKKXdC/E3eBVYpelKn9I7al1ek= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=4vHGN8MNubM/cdcB5yQC5WBmCnP2vx9eGv5EznIeknU=; b=O6Acw063bnss4CNF9g3nSF81IClEkE16ElKB3xjZyWDufFm5U7Vg59suDr3EatSVJD TAGJLMwVO2X7EFqfv9S04wIFI0mjVPWc3vYM/3PJhEuGezXlACgZWWrPvYDiK0i6VETO ZGwEWuMm55TXUleMXN5TsS3GCcs85Bdl3OwhlEXul12rqXt1XEwFmfRoNdNSx7MbduPK bCzYPvuH5ScBb6Wpje5EHU/AxeTuykELkGMnzaAifJuywi7QoVlRNSj9C816EoZx2ZC7 8C2tHNpaNM5euh+J7Bdumi2UlcaxNQ3hyLemewzfrJ9rQ9zvbBpgBr+ClC/WBfRDxXW+ qc6w== MIME-Version: 1.0 X-Received: by 10.58.168.208 with SMTP id zy16mr10573421veb.3.1371075059995; Wed, 12 Jun 2013 15:10:59 -0700 (PDT) Received: by 10.220.20.133 with HTTP; Wed, 12 Jun 2013 15:10:59 -0700 (PDT) In-Reply-To: References: <20130612223024.00003980@unknown> Date: Wed, 12 Jun 2013 15:10:59 -0700 Message-ID: Subject: Re: zfs kernel panic, known incompatibilities with clang & CPUTYPE/COPTFLAGS? From: Peter Wemm To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkE1yjoiqr7iYkteuo24snYKb2JElUGgLw2O19KVQm4WehOYUPBnzEJVHNyIUyQ0gn85oa3 Cc: Alexander Leidinger , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 12 Jun 2013 22:11:00 -0000 On Wed, Jun 12, 2013 at 1:39 PM, Dimitry Andric wrote: > On Jun 12, 2013, at 22:30, Alexander Leidinger wrote: >> I try to update from a pre-clang world (r242511M) to "now" (r251618M). >> The resulting kernel boots, but while starting some jails (with ezjail >> from ports, so fairly late in the boot process) I get a kernel panic >> (IIRC zfs trying to access page 0). > > If you are running on i386, it might be a stack overflow? Try > increasing the stack a little, it might help in that case. > For i386 I'd be more inclined to suspect KVA exhaustion. For non-PAE, as a shot in the dark, increase options KVA_PAGES=384 .. the default is 256 for PAE. that increases kernel KVA from 1GB to 1.5GB. For a PAE system, this number is multipled by 2, so a corresponding change is 512 -> 768. This is just a shot in the dark. If this is amd64, then never mind, KVA_PAGES is meaningless there. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV On IRC, talking about C++: I think that it is a good thing I will never meet Bjarne on a street cause really, I don't want to end up in prison or anything