Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2018 22:12:13 +0300
From:      Vitalij Satanivskij <satan@ukr.net>
To:        Stephen Hurd <shurd@llnw.com>
Cc:        cem@freebsd.org, Vitalij Satanivskij <satan@ukr.net>, "freebsd-hackers@freebsd.org" <hackers@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>, Stephen Hurd <shurd@freebsd.org>, Sean Bruno <sbruno@freebsd.org>, Matthew Macy <mmacy@nextbsd.org>
Subject:   Re: Current panic on boot on H11DSI motherboard with epyc cpu (nexus_add_irq: failed)
Message-ID:  <20180416191213.GA53406@hell.ukr.net>
In-Reply-To: <CAGK_Ob1PmAGEgEDQii-zdF2%2B5ZZmE63uf-MH4MJqEmv-OcDEsg@mail.gmail.com>
References:  <20180416102710.GA90028@hell.ukr.net> <CAG6CVpWgMz1Hosb9Q=4ZmVZv4WMCwZq5FGTpNS=m4ShfZcO%2BBg@mail.gmail.com> <CAGK_Ob1PmAGEgEDQii-zdF2%2B5ZZmE63uf-MH4MJqEmv-OcDEsg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <cem@freebsd.org> wrote:
SH> 
SH> > Hi Vitalij,
SH> >
SH> > On Mon, Apr 16, 2018 at 3:27 AM, Vitalij Satanivskij <satan@ukr.net>
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] <http://www.limelight.com>;
SH> Stephen Hurd* Principal Engineer*
SH> EXPERIENCE FIRST.
SH> +1 616 848 0643 <+1+616+848+0643>
SH> www.limelight.com
SH> [image: Facebook] <https://www.facebook.com/LimelightNetworks>[image:
SH> LinkedIn] <http://www.linkedin.com/company/limelight-networks>[image:
SH> Twitter] <https://twitter.com/llnw>;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180416191213.GA53406>