Re: BUG in drivers/dma/ioat/dma_v2.c:314

From: Chris Li
Date: Fri Jul 02 2010 - 15:00:37 EST


On Thu, Jul 1, 2010 at 10:58 AM, Chris Li <lkml@xxxxxxxxxxx> wrote:
> On Thu, Jul 1, 2010 at 10:20 AM, Dan Williams <dan.j.williams@xxxxxxxxx> wrote:
>> Chris, attached is a combined patch with David's catch for the VT-d
>> misconfiguration, and some code to more gracefully handle this init failure
>> in the driver.  Can you see if this resolves the problem? (remove the prior
>> patches I have sent).
>
> Thanks for the patch. I will test that and get back to you today.

Sorry lost my machine last night again so I did not complete the test yesterday.

modprobe ioatmda did not crash any more:

ioatdma: Intel(R) QuickData Technology Driver 4.00
ioatdma 0000:00:0f.0: can't derive routing for PCI INT A
ioatdma 0000:00:0f.0: PCI INT A: no GSI
ioatdma 0000:00:0f.0: setting latency timer to 64
alloc irq_desc for 57 on node -1
alloc kstat_irqs on node -1
ioatdma 0000:00:0f.0: irq 57 for MSI/MSI-X
alloc irq_desc for 58 on node -1
alloc kstat_irqs on node -1
ioatdma 0000:00:0f.0: irq 58 for MSI/MSI-X
alloc irq_desc for 59 on node -1
alloc kstat_irqs on node -1
ioatdma 0000:00:0f.0: irq 59 for MSI/MSI-X
alloc irq_desc for 60 on node -1
alloc kstat_irqs on node -1
ioatdma 0000:00:0f.0: irq 60 for MSI/MSI-X
ioatdma 0000:00:0f.0: failed to start channel chanerr: 0x10
ioatdma 0000:00:0f.0: Freeing 1 in use descriptors!
ioatdma 0000:00:0f.0: selftest cannot allocate chan resource
ioatdma 0000:00:0f.0: Intel(R) I/OAT DMA Engine init failed
ioatdma 0000:00:0f.0: can't derive routing for PCI INT A

But I don't see the line that print out BIOS is lying.

Attach the full dmesg again here.

Chris

Attachment: dmesg
Description: Binary data