[ofa-general] MTHCA driver from OFED 1.3a package

Lukas Hejtmanek xhejtman at ics.muni.cz
Mon Dec 10 06:34:40 PST 2007


On Fri, Nov 30, 2007 at 07:44:04AM -0800, Roland Dreier wrote:
>  > Fatal DMA error! Please use 'swiotlb=force'
>  > ----------- cut here  --------- please bite here  ---------
>  > Kernel BUG at arch/x86_64/kernel/../../i386/kernel/pci-dma-xen.c:333
> 
> What is this bug being caused by?  That is, what is line 333 of
> pci-dma-xen.c in your source tree?

This is induced by wrong usage of DMA API (or internal Xen error), basically,
bounce buffers do not have index of a page used by map_page or sync_page.

Yes.

Btw, what does this error message mean?
[516793.417451] ib_mthca 0000:08:00.0: Catastrophic error detected: internal
error
[516793.417465] ib_mthca 0000:08:00.0:   buf[00]: 0012f6f8
[516793.417469] ib_mthca 0000:08:00.0:   buf[01]: 00000000
[516793.417472] ib_mthca 0000:08:00.0:   buf[02]: 00000000
[516793.417475] ib_mthca 0000:08:00.0:   buf[03]: 00000000
[516793.417478] ib_mthca 0000:08:00.0:   buf[04]: 00000000
[516793.417481] ib_mthca 0000:08:00.0:   buf[05]: 0012f6dc
[516793.417483] ib_mthca 0000:08:00.0:   buf[06]: 001b3658
[516793.417486] ib_mthca 0000:08:00.0:   buf[07]: 00000000
[516793.417489] ib_mthca 0000:08:00.0:   buf[08]: 00000000
[516793.417492] ib_mthca 0000:08:00.0:   buf[09]: 00000000
[516793.417495] ib_mthca 0000:08:00.0:   buf[0a]: 00000000
[516793.417499] ib_mthca 0000:08:00.0:   buf[0b]: 00000000
[516793.417502] ib_mthca 0000:08:00.0:   buf[0c]: 00000000
[516793.417505] ib_mthca 0000:08:00.0:   buf[0d]: 00000000
[516793.417508] ib_mthca 0000:08:00.0:   buf[0e]: 00000000
[516793.417511] ib_mthca 0000:08:00.0:   buf[0f]: 00000000



-- 
Lukáš Hejtmánek



More information about the general mailing list