10ec:8168 [PATCH] r8169 writes to memory not assigned to the device

Bug #1399999 reported by Matt Mullins on 2014-12-06
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
High
Unassigned

Bug Description

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
---
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
CRDA: Error: [Errno 2] No such file or directory
CurrentDesktop: KDE
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=eb241518-2842-45e6-9767-0dc297ed3cbd
MachineType: MSI MS-7721
Package: linux (not installed)
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz root=/dev/hostname/root
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-39-generic N/A
 linux-backports-modules-3.13.0-39-generic N/A
 linux-firmware 1.127.10
RfKill:

Tags: trusty
Uname: Linux 3.13.0-39-generic x86_64
UpgradeStatus: Upgraded to trusty on 2014-05-10 (209 days ago)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 03/18/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V25.3
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: A78M-E45 (MS-7721)
dmi.board.vendor: MSI
dmi.board.version: 5.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 5.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV25.3:bd03/18/2014:svnMSI:pnMS-7721:pvr5.0:rvnMSI:rnA78M-E45(MS-7721):rvr5.0:cvnMSI:ct3:cvr5.0:
dmi.product.name: MS-7721
dmi.product.version: 5.0
dmi.sys.vendor: MSI

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1399999

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete

apport information

tags: added: apport-collected trusty
description: updated

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

dmesg files attached via the apport-collect utility. This bug is way up at 3909 - 3930 seconds in them -- there's a lot of suspend/resume junk after that.

Upstream discussion is at http://thread.gmane.org/gmane.linux.kernel/1746901. This patch landed in 3.16 as commit 7a9810e7bd99c922d9cedf64dbaa5ef6be412295.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: bios-outdated-25.5
tags: added: cherry-pick
summary: - [PATCH] r8169 writes to memory not assigned to the device
+ 10ec:8168 [PATCH] r8169 writes to memory not assigned to the device
Changed in linux (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers