Skip to contentSkip to conversation

Realtek source

DISCUSSION Vlastislav SUCHARDA 2 participants 3 messages Mar 23, 2008 – Mar 27, 2008 3 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello authors,

how can I get the source for this specific version of module:

filename:       /lib/modules/2.6.20-1.2962.fc6/kernel/drivers/net/r8169.ko
version:        2.2LK-NAPI
license:        GPL
description:    RealTek RTL-8169 Gigabit Ethernet driver
author:         Realtek and the Linux r8169 crew <[email protected]>
srcversion:     7E2DE85D6E659F77A6DBCA2
alias:          pci:v00001737d00001032sv*sd00000024bc*sc*i*
alias:          pci:v000016ECd00000116sv*sd*bc*sc*i*
alias:          pci:v00001259d0000C107sv*sd*bc*sc*i*
alias:          pci:v00001186d00004300sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008169sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008168sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008167sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008136sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008129sv*sd*bc*sc*i*
depends:        
vermagic:       2.6.20-1.2962.fc6 SMP mod_unload 
parm:           media:force phy operation. Deprecated by ethtool (8). (array of int)
parm:           rx_copybreak:Copy breakpoint for copy-only-tiny-frames (int)
parm:           use_dac:Enable PCI DAC. Unsafe on 32 bit PCI slot. (int)
parm:           debug:Debug verbosity level (0=none, ..., 16=all) (int)

That is only version which works well with my pci:v000010ECd00008168sv on my laptop, I need to port on Centos 5.1 latest kernel 2.6.18.
My problem is that Rx (copying in) is super, Tx (copying out) is freezing.

Thank you in advance,

Signature · 2 lines
Vlastislav SUCHARDA
System Support
#1 lore raw

Vlastislav SUCHARDA <[email protected]> :
[...]

Quoted 3 lines

how can I get the source for this specific version of module:

filename: /lib/modules/2.6.20-1.2962.fc6/kernel/drivers/net/r8169.ko

This is a distribution related question so it would not hurt to be asked on some Fedora mailing list.

Summon your favorite search engine for kernel-2.6.20-1.2962.fc6.src.rpm and try something like rpm2cpio kernel-2.6.20-1.2962.fc6.src.rpm | cpio -id in a dedicated directory.

[...]

Quoted 3 lines

That is only version which works well with my pci:v000010ECd00008168sv on my laptop, I need to port on Centos 5.1 latest kernel 2.6.18. My problem is that Rx (copying in) is super, Tx (copying out) is freezing.

Asus laptop ?

I would welcome the complete dmesg of your more recent tested kernel as well as a complete lspci -vvxnn.

Signature · 1 line
Ueimor
#5 lore raw
In reply to a message not in the archive

Vlastislav SUCHARDA <[email protected]> :
[...]

Quoted 2 lines

The main point for me is having right working module in 2.6.18-53.1.14.el5.centos.plus kernel (CentOS 5.1).

(back to list as it may be of general interest)

Try http://userweb.kernel.org/~romieu/r8169/2.6.18/stable-4/to-2.6.24/

It contains a patch for the r8169 driver which should apply to your 2.6.18.4 based kernel and turn its r8169 driver into something closer to 2.6.24. The kit contains a stack of incremental patches too if you are curious.

I have fixed some rejects, checked that everything compiles at each step but the patch is otherwise untested. Use at your own risk.

Feedback welcome.

Signature · 1 line
Ueimor