Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm setting up a vm box and I've enabled IOMMU.

Works great, except I get PTE Read access is not set errors flooding my dmesg.

In particular it is for one device, a USB 1.1 controller, that just doesn't want to play ball. If I detach the device (using virsh) the errors stop.

So my question is, is there a way to enable IOMMU on a address basis (or disable), or how do I detach a device from the host automatically?

share|improve this question
add comment

1 Answer

You can pass the device off to pci-back with kernel arguments; some messages may still leak into dmesg, but the device will get yanked pretty early.

If you have pciback as part of your kernel, it's just pciback.hide=(03:00.0) for example.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.