[dm-devel] AMD-Vi IO_PAGE_FAULTs and ata3.00: failed command: READ FPDMA QUEUED errors since Linux 4.0

Andreas Hartmann andihartmann at freenet.de
Wed Oct 7 17:02:32 UTC 2015


On 10/07/2015 at 05:40 PM Joerg Roedel wrote:
> On Tue, Oct 06, 2015 at 08:37:59PM +0200, Andreas Hartmann wrote:
>> But there is another problem w/ 4.3-rc2: Starting a VM w/ PCIe
>> passthrough doesn't work any more. I'm getting the attached null pointer
>> dereference and the machine hangs.
> 
> Weird, probably a do_detach call for a device that is already detached.
> Anyway, I can't reproduce this here on my two AMD IOMMU machines.  Can
> you please boot the machine with amd_iommu_dump on the kernel command
> line and send me dmesg after boot?

Binding the device to vfio isn't a problem (it's done before the vm is
started). The problem occurs during start of qemu-system-x86_64 (2.3.0).

The attached dmesg.out doesn't show the trace, but the desired iommu dump.

> Also, which device are you trying to attach to the guest (pci
> bus/device/function)?

See attached ath9k.device.

> Output of lspci might also be helpful.

I attached lscpi and dmesg.


Hope that helps,
thanks,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.out.gz
Type: application/x-gzip
Size: 20466 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20151007/3b5e7746/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lspci.gz
Type: application/x-gzip
Size: 2528 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20151007/3b5e7746/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ath9k.device.gz
Type: application/x-gzip
Size: 1567 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20151007/3b5e7746/attachment-0002.bin>


More information about the dm-devel mailing list