From owner-freebsd-hackers@freebsd.org Mon Apr 16 19:51:33 2018 Return-Path: Delivered-To: freebsd-hackers@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 ED9E3FA0CB8 for ; Mon, 16 Apr 2018 19:51:32 +0000 (UTC) (envelope-from satan@ukr.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 837E373EBB for ; Mon, 16 Apr 2018 19:51:32 +0000 (UTC) (envelope-from satan@ukr.net) Received: by mailman.ysv.freebsd.org (Postfix) id 400CCFA0CAF; Mon, 16 Apr 2018 19:51:32 +0000 (UTC) Delivered-To: hackers@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 18616FA0CAE; Mon, 16 Apr 2018 19:51:32 +0000 (UTC) (envelope-from satan@ukr.net) Received: from hell.ukr.net (hell.ukr.net [212.42.67.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C09E73EB4; Mon, 16 Apr 2018 19:51:31 +0000 (UTC) (envelope-from satan@ukr.net) Received: from satan by hell.ukr.net with local ID 1f8A9w-000E2O-Pd ; Mon, 16 Apr 2018 22:51:28 +0300 Date: Mon, 16 Apr 2018 22:51:28 +0300 From: Vitalij Satanivskij To: Stephen Hurd Cc: cem@freebsd.org, Vitalij Satanivskij , "freebsd-hackers@freebsd.org" , freebsd-current , Stephen Hurd , Sean Bruno , Matthew Macy Subject: Re: Current panic on boot on H11DSI motherboard with epyc cpu (nexus_add_irq: failed) Message-ID: <20180416195128.GA53754@hell.ukr.net> Reply-To: satan@ukr.net References: <20180416102710.GA90028@hell.ukr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 19:51:33 -0000 Dear Stephen I'm disable msix on igb both 1 and 0 and enable HPET in bios get hpet_attach panic. http://hell.ukr.net/panic/recorder_hpet.webm so i disable hpet again and get msi_alloc and so on http://hell.ukr.net/panic/recorder_msi.webm So for test I'm set hw.pci.enable_msi=0 and get panic in cpp_hw_attach wich autoloaded later wile system run rc scripts panic here - http://hell.ukr.net/panic/recorder_ccp.webm For me it's look like some kind of resource menegment problem? Stephen Hurd wrote: SH> If you disable msix just for igb0, does it crash somewhere else? SH> SH> On Mon, Apr 16, 2018 at 3:13 PM, Stephen Hurd wrote: SH> SH> > Oh, you may need to disable msix to boot... SH> > SH> > dev.igb.0.iflib.disable_msix=1 SH> > SH> > On Mon, Apr 16, 2018 at 3:02 PM, Stephen Hurd wrote: SH> > SH> >> Hrm, it should be trying to allocate three msi-x vectors there, and it SH> >> appears that it's reported that 10 are available. What's the output of SH> >> ``pciconf -lcv pci1:0:0''? SH> >> SH> >> On Mon, Apr 16, 2018 at 1:27 PM, Conrad Meyer wrote: SH> >> SH> >>> Hi Vitalij, SH> >>> SH> >>> On Mon, Apr 16, 2018 at 3:27 AM, Vitalij Satanivskij SH> >>> wrote: SH> >>> > DUMP can be found here http://hell.ukr.net/panic/panic.jpg SH> >>> > or even video record from screen http://hell.ukr.net/panic/reco SH> >>> rder.webm SH> >>> SH> >>> Looks like the panic message is printed directly after: "igb0: using 2 SH> >>> rx queues 2 tx queues" (iflib_msix_init(), called by SH> >>> iflib_device_register()). SH> >>> SH> >>> And stack is indeed coming from iflib in probe (0:17 in linked video): SH> >>> SH> >>> panic() SH> >>> nexus_add_irq() SH> >>> msix_alloc() SH> >>> pci_alloc_msix_method() SH> >>> iflib_device_register() SH> >>> iflib_device_attach() SH> >>> device_attach() SH> >>> ... SH> >>> SH> >>> Stephen, Matt, or Sean might be able to help diagnose further. SH> >>> SH> >>> Best, SH> >>> Conrad SH> >>> SH> >> SH> >> SH> >> SH> >> -- SH> >> [image: Limelight Networks] SH> >> Stephen Hurd* Principal Engineer* SH> >> EXPERIENCE FIRST. SH> >> +1 616 848 0643 <+1+616+848+0643> SH> >> www.limelight.com SH> >> [image: Facebook] [image: SH> >> LinkedIn] [image: SH> >> Twitter] SH> >> SH> > SH> > SH> > SH> > -- SH> > [image: Limelight Networks] SH> > Stephen Hurd* Principal Engineer* SH> > EXPERIENCE FIRST. SH> > +1 616 848 0643 <+1+616+848+0643> SH> > www.limelight.com SH> > [image: Facebook] [image: SH> > LinkedIn] [image: SH> > Twitter] SH> > SH> SH> SH> SH> -- SH> [image: Limelight Networks] SH> Stephen Hurd* Principal Engineer* SH> EXPERIENCE FIRST. SH> +1 616 848 0643 <+1+616+848+0643> SH> www.limelight.com SH> [image: Facebook] [image: SH> LinkedIn] [image: SH> Twitter]