From owner-freebsd-current@FreeBSD.ORG Mon Mar 30 22:41:08 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E64E43B; Mon, 30 Mar 2015 22:41:08 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 99415313; Mon, 30 Mar 2015 22:41:07 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.9/8.14.9) with ESMTP id t2UMf5Kb046778 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 31 Mar 2015 01:41:05 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id t2UMf4sK046777; Tue, 31 Mar 2015 01:41:04 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 31 Mar 2015 01:41:04 +0300 From: Gleb Smirnoff To: Hans Petter Selasky Subject: Re: Panic on current amd64 Message-ID: <20150330224104.GZ64665@glebius.int.ru> References: <201503282202.t2SM2cAb004263@pozo.com> <20150330211943.GV64665@FreeBSD.org> <5519CE6C.10600@selasky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5519CE6C.10600@selasky.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: rrs@FreeBSD.org, freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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, 30 Mar 2015 22:41:08 -0000 On Tue, Mar 31, 2015 at 12:30:04AM +0200, Hans Petter Selasky wrote: H> On 03/30/15 23:19, Gleb Smirnoff wrote: H> > On Sat, Mar 28, 2015 at 03:02:28PM -0700, Manfred Antar wrote: H> > M> I get the following panic on current svn ver r280793: H> > M> H> > M> Sat Mar 28 14:41:28 PDT 2015 H> > M> H> > M> FreeBSD/amd64 (pozo.com) (ttyu0) H> > M> H> > M> panic: Invalid CPU in callout 16 H> > H> > The same happened to me in the OFED code. After investigation H> > it appeared that for some unknown reason, the OFED code used H> > /usr/include/sys/callout.h instead of SYSDIR/sys/callout.h, H> > that yield in wrong value passing as parameter. H> > H> > I failed to reproduce the problem. :( So, the fix is a rebuild H> > of kernel. But the right fix is to understand what went wrong H> > in the previous build. H> H> How did you compile the OFED stuff? Did you set the SYSDIR variable when H> building? I just have this in my kernel config: options OFED device mlxen -- Totus tuus, Glebius.