[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Weirdness with realtek 8169



On Thu, 2004-10-14 at 14:46 +0300, Juhan Kundla wrote:
> Hei!
> 
> This post is somewhat off-topic, sorry about that.
> 
> I have weird problem with my NIC. It has the Realtek 8169 chip on it.
> The r8169 kernel module should drive it. The floppy, it came with, has
> the r8169.c source on it.
> 
> But when i compile the r8169 kernel module (either the one from kernel
> source tree or the one from the floppy) it just won't load. I tried
> different kernel versions and configurations, nothing. The r8169 module
> will not initialize the interface. I tried both 2.6.8 and 2.4.27
> kernels.
> 
> Now begins the weird stuff. lspci and /proc/pci shows, that this card
> says, that it is actually with realtek 8129 chip. This means, that
> 8139too module should actually drive this card. The 8129 is Fast
> Ethernet, but i bought a gigabit ethernet card and the chip has 8169
> written on it!
> 
> So i compiled the 8139too module. It sort of loaded, but with errors (i
> don't have exact messages anymore). The 8139too module failed also to
> drive this card.
> 
> So, being desperate, i hacked the r8169.c module source. I replaced the
> 0x8169 in PCI IDs list with 0x8129. Or i think i did something like
> that, actually i am totally clueless, what i did... :-) After compile
> the r8169 module finally loaded, but segfaulted right after. Kernel
> Oopsed. OK, now i'm quite out ideas, what to try next.
> 
> What do you think? Is this kernel (r8169.c) problem or is it problem
> with faulty hardware? Perhaps my NIC has simply wrong
> BIOS/firmware/whatever flashed on it?

I actually just had a problem with the 8139too module yesterday myself.
The error that it was giving me was about an invalid IRQ, and it wanted
me to load the module with a pci=bios (or something like that) option.
The workaround in my case, at least, was to go into the BIOS and disable
the Plug and Play OS feature so that the BIOS would assign an IRQ to the
device. Did that and the module loaded just fine.

But you are using a different card so YMMV.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: