Re: mellanox mlx4_core and SR-IOV

From: Lukas Hejtmanek
Date: Wed Aug 01 2012 - 16:30:40 EST


On Wed, Aug 01, 2012 at 11:29:02AM -0700, Yinghai Lu wrote:
> On Wed, Aug 1, 2012 at 10:37 AM, Roland Dreier <roland@xxxxxxxxxx> wrote:
> > On Wed, Aug 1, 2012 at 6:38 AM, Lukas Hejtmanek <xhejtman@xxxxxxxxxxx> wrote:
> >> [ 3.558296] mlx4_core 0000:02:00.0: not enough MMIO resources for SR-IOV (nres: 0, iov->nres: 1)
> >
> > This comes from the core sriov_enable() function, not anything in mlx4.
> > (although my kernel doesn't have the print of nres in that message)
> >
> > Not sure what it means.
>
> iov bar is not assigned by BIOS, and kernel can not find range for it too.
>
> Lukas, can you post whole boot log with PCI_DEBUG enabled? That will
> tell exact why kernel does not assign them.
>
> Recent kernel from 3.4... should enable realloc when SRIOV bar is not assigned.

here is full boot log.
http://www.fi.muni.cz/~xhejtman/dmesg.log

weird with PCI_DEBUG it does not load mlx driver at all..

--
Lukáš Hejtmánek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/