From owner-freebsd-current@freebsd.org Tue Aug 21 13:15:17 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FC581071A40 for ; Tue, 21 Aug 2018 13:15:17 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 186A982C11; Tue, 21 Aug 2018 13:15:16 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 3497A25D3888; Tue, 21 Aug 2018 13:15:09 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 4BDE9D1F95E; Tue, 21 Aug 2018 13:15:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id grBs0SlPtEzc; Tue, 21 Aug 2018 13:15:06 +0000 (UTC) Received: from [192.168.124.1] (fresh-ayiya.sbone.de [IPv6:fde9:577b:c1a9:f001::2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 4DD89D1F95D; Tue, 21 Aug 2018 13:15:05 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Olivier =?utf-8?q?Cochard-Labb=C3=A9?=" Cc: "Marko Zec" , freebsd-current Subject: Re: Loading carp module crash i386 (12-ALPHA2), seems VNET related Date: Tue, 21 Aug 2018 13:15:04 +0000 X-Mailer: MailMate (2.0BETAr6116) Message-ID: In-Reply-To: References: <20180821113051.7d35bc39@x23> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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: Tue, 21 Aug 2018 13:15:17 -0000 On 21 Aug 2018, at 12:31, Olivier Cochard-Labb=C3=A9 wrote: > On Tue, Aug 21, 2018 at 11:29 AM Marko Zec wrote: > >> On Mon, 20 Aug 2018 16:26:29 +0200 >> Olivier Cochard-Labb=C3=A9 wrote: >> >>> Just loading carp kernel module is enough to panic it: >>> >>> [root@router]~# uname -a >>> FreeBSD router.bsdrp.net 12.0-ALPHA2 FreeBSD 12.0-ALPHA2 r338100M >>> i386 [root@router]~# kldload carp >>> Fatal trap 12: page fault while in kernel mode >> >> How many vnets were already instantiated at the time of kldloading >> carp? Does the panic ocur with no (non-default) vnets instantiated? >> >> > Hi, > > None VNET were instantiated: Just start the latest 12-i386 image ( > https://download.freebsd.org/ftp/snapshots/VM-IMAGES/12.0-CURRENT/i386/= Latest/) > on a VM, and once logged as root enter 'kldload carp' to trigger a = > panic. From the backtrace it seems like VNET_PCPUSTAT_SYSINIT() or the kernel = linker, or possible pcpu things. People have recently been touching = almost all of this :( Do you have a last-good revision? /bz