From owner-freebsd-hackers@freebsd.org Mon Apr 16 19:12:18 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 20F04F9DE96 for ; Mon, 16 Apr 2018 19:12:18 +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 A7B306FB73 for ; Mon, 16 Apr 2018 19:12:17 +0000 (UTC) (envelope-from satan@ukr.net) Received: by mailman.ysv.freebsd.org (Postfix) id 617B0F9DE94; Mon, 16 Apr 2018 19:12:17 +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 3C4DCF9DE93; Mon, 16 Apr 2018 19:12:17 +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 C8B3F6FB6C; Mon, 16 Apr 2018 19:12:16 +0000 (UTC) (envelope-from satan@ukr.net) Received: from satan by hell.ukr.net with local ID 1f89Xx-000DyA-9E ; Mon, 16 Apr 2018 22:12:13 +0300 Date: Mon, 16 Apr 2018 22:12:13 +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: <20180416191213.GA53406@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:12:18 -0000 igb0@pci0:1:0:0: class=0x020000 card=0x152115d9 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'I350 Gigabit Network Connection' class = network subclass = ethernet cap 01[40] = powerspec 3 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message, 64 bit, vector masks cap 11[70] = MSI-X supports 10 messages Table in map 0x1c[0x0], PBA in map 0x1c[0x2000] cap 10[a0] = PCI-Express 2 endpoint max data 512(512) FLR RO NS link x4(x4) speed 5.0(5.0) ASPM L1(L0s/L1) ecap 0001[100] = AER 2 0 fatal 0 non-fatal 1 corrected ecap 0003[140] = Serial 1 ac1f6bffff620e0c ecap 000e[150] = ARI 1 ecap 0010[160] = SR-IOV 1 IOV disabled, Memory Space disabled, ARI disabled 0 VFs configured out of 8 supported First VF RID Offset 0x0180, VF RID Stride 0x0004 VF Device ID 0x1520 Page Sizes: 4096 (enabled), 8192, 65536, 262144, 1048576, 4194304 ecap 0017[1a0] = TPH Requester 1 ecap 0018[1c0] = LTR 1 ecap 000d[1d0] = ACS 1 It's info from system booted with HPET disabled and hw.pci.enable_msix: 0 hw.pci.enable_msi: 0 If one of this parameters not set as described system not boot ^( Stephen Hurd wrote: 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/recorder.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]