Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2015 19:34:04 +0100
From:      Gary Palmer <gpalmer@freebsd.org>
To:        Mark Saad <nonesuch@longcount.org>
Cc:        Garrett Cooper <yaneurabeya@gmail.com>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, FreeBSD-Stable ML <freebsd-stable@freebsd.org>
Subject:   Re: Interesting Boot failure on HEAD with a large number of IGB nics
Message-ID:  <20150722183404.GF41419@in-addr.com>
In-Reply-To: <CAMXt9Naxhk7qqkU8-tjBR_=Y87HYMUHrE8QmK2yc-yabXnMQfQ@mail.gmail.com>
References:  <CAMXt9NbJ5quUXwLhLzU9KzpJ0cXGCbHsnmc1D-L3ycKktn6j7A@mail.gmail.com> <20150722171419.GE41419@in-addr.com> <95653312-0F92-40E4-89EE-E8235403D3B9@gmail.com> <CAMXt9Naxhk7qqkU8-tjBR_=Y87HYMUHrE8QmK2yc-yabXnMQfQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 22, 2015 at 02:20:06PM -0400, Mark Saad wrote:
> On Wed, Jul 22, 2015 at 1:54 PM, Garrett Cooper <yaneurabeya@gmail.com>
> wrote:
> 
> >
> > > On Jul 22, 2015, at 10:14, Gary Palmer <gpalmer@freebsd.org> wrote:
> >
> > ...
> >
> > > I'm no expert, but you may want to try setting
> > >
> > > hw.igb.num_queues=1
> > >
> > > and maybe
> > >
> > > hw.ixgbe.num_queues=1
> > >
> > > in the boot loader and trying that.
> >
> > There was another discussion that took place around June on current that
> > might be helpful. I think the solution boiled down to what Gary described
> > above, because the driver auto tuning was broken...
> > Thanks!
> > -NGie
> 
> 
> NGie
>  I'll try the queues option but; why was does that kill my ehci hub ? Note
> 
> ehci0: <Intel Patsburg USB 2.0 controller> mem 0xdd923000-0xdd9233ff irq 16
> at device 26.0 on pci0
> panic: Couldn't find an APIC vector for IRQ 16

I believe the error message could be better written as "Couldn't find a
free APIC vector".  The IGB cards allocted multiple MSI-X interrupts for
multi-queue use and exhausted the available pool, and the USB hub (ehci0)
just happened to be the next thing probed by the PCI bus and tripped the
panic.

At least that is my understanding.

Regards,

Gary



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