Comment 0 for bug 1399999

Revision history for this message
Matt Mullins (mokomull) wrote : [PATCH] r8169 writes to memory not assigned to the device

The following applies to the 3.13 in trusty.

When transferring data at >= around 100Mbps, the IOMMU logs errors such as:
AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x001c address=0x0000000000003000 flags=0x0050]

I have locally cherry-picked 7a9810e7bd99: r8169 "Enable RX_MULTI_EN for RTL_GIGA_MAC_VER_40" to the Ubuntu-3.13.0-37.64 kernel and confirmed this fixes the issue for my card as well. Please consider this for backporting to the 3.13 stable tree.

The hardware is:
% lspci -s 01:00 -vvvn
01:00.0 0200: 10ec:8168 (rev 0c)
        Subsystem: 1462:7721
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 96
        Region 0: I/O ports at e000 [size=256]
        Region 2: Memory at fea00000 (64-bit, non-prefetchable) [size=4K]
        Region 4: Memory at d0800000 (64-bit, prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169