Re: [Regression] r8169: enable 64-bit DMA by default for PCI Express devices (v2)

From: Robert Hancock
Date: Mon Mar 15 2010 - 19:28:56 EST


On Mon, Mar 15, 2010 at 12:57 PM, David Miller <davem@xxxxxxxxxxxxx> wrote:
> From: JÃrn Engel <joern@xxxxxxxxxxxxxxxx>
> Date: Mon, 15 Mar 2010 16:10:41 +0100
>
>> Forgot to Cc: lkml.
>
> Actually, what you really need to CC: is netdev, added.
>> On Mon, 15 March 2010 16:08:06 +0100, Jïrn Engel wrote:
>>>
>>> Hello Robert!
>>>
>>> Looks like 353176888386d9025062a12dcec08d49af10cf2c broke one of my
>>> machines. ÂReverting that patch fixes things again. ÂMachine is
>>> running an x86_64 kernel. ÂLspci gives me this:
>>>
>>> 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
>>> Â Â Â Â Subsystem: ASRock Incorporation Device 8136
>>> Â Â Â Â Flags: bus master, fast devsel, latency 0, IRQ 26
>>> Â Â Â Â I/O ports at e800 [size=256]
>>> Â Â Â Â Memory at fdeff000 (64-bit, prefetchable) [size=4K]
>>> Â Â Â Â Memory at fdee0000 (64-bit, prefetchable) [size=64K]
>>> Â Â Â Â [virtual] Expansion ROM at fde00000 [disabled] [size=128K]
>>> Â Â Â Â Capabilities: [40] Power Management version 3
>>> Â Â Â Â Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
>>> Â Â Â Â Capabilities: [70] Express Endpoint, MSI 01
>>> Â Â Â Â Capabilities: [ac] MSI-X: Enable- Count=2 Masked-
>>> Â Â Â Â Capabilities: [cc] Vital Product Data
>>> Â Â Â Â Capabilities: [100] Advanced Error Reporting
>>> Â Â Â Â Capabilities: [140] Virtual Channel <?>
>>> Â Â Â Â Capabilities: [160] Device Serial Number 08-00-00-00-ff-ff-00-00
>>> Â Â Â Â Kernel driver in use: r8169
>>>
>>> If you have any test patches to try, please send them my way. :)
>>>
>>> Jïrn
>

What are the symptoms? Does setting use_dac=0 in the module options
for r8169 also resolve the problem?

Full dmesg and lspci -vv output might also be useful.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/