Re: Acer Aspire 1524WLMi and RealTek 8169 - very slow
From: Francois Romieu <romieu@fr.zoreil.com>
Date: 2004-11-21 20:58:14
Richard Dawe [off-list ref] : [...]
I've got it working with 10Mbps full-duplex now. Here are the lines from modprobe.conf: alias eth0 r8169 options eth0 use_dac=0 media=0x2
It makes sense. use_dac=1 is reported to badly fail on amd64 most of time. Can you try 2.6.10-rc2 + http://www.kernel.org/pub/linux/kernel/people/jgarzik/patchkits/2.6/2.6.10-rc2-netdev1.patch.bz2 + http://www.fr.zoreil.com/linux/kernel/2.6.x/2.6.10-rc2-mm1/r8169-250.patch + http://www.fr.zoreil.com/linux/kernel/2.6.x/2.6.10-rc2-mm1/r8169-255.patch Is it an option for you to disable ACPI, remove the media specification and simply issue an 'ethtool eth0' a few tens of seconds after insertion of the module ? It takes ages to negotiate here (Netgear switch + 8169 PCI adapter). [...]
I tried to build version 2.2 of the driver from RealTek <http://www.realtek.com.tw/> but that fails, because it uses pci_dma_sync_single(), which now appears to have been split into pci_dma_sync_single_for_cpu() and pci_dma_sync_single_for_device().
This version of the driver is only maintained by Realtek and bears moderate ressemblance to the version of the driver available in the kernel. The version number do not match. Thanks for the get_drvinfo fix btw. Good catch. -- Ueimor