LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-18-2004, 01:34 PM   #1
outwardlymobile
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
_very_ strange problems with r8169 nic driver


Hi All,

Im in the process of trying to get a network interface up on my new AMD64 box (debian woody, kernel 2.6.8.1).

My motherboard has two onboard NICs, an RTL8201 and an RTL8110S. Searching the web it appears that the correct driver for the RTL8110S is r8169.c.
The documentation for this driver also suggests that it works with the RTL8110S.

I can compile and run this driver in the kernel or as a module. That is fine. However after a small amount of packets the driver dies a horrible death and locks up the machine to an unrecoverable state.

A good demonestration of this error is bringing up the network interface and trying to ping another computer on my network:

#insmod r8169.ko
... Module startup info, autonegotiates successfully at 10Mb/s
#ping 10.3.128.22
64 bytes from 10.3.128.22: icmp_seq=0 ttl=59 time=3.4 ms
64 bytes from 10.3.128.22: icmp_seq=1 ttl=59 time=3.4 ms
...............
64 bytes from 10.3.128.22: icmp_seq=59 ttl=59 time=3.4 ms
64 bytes from 10.3.128.22: icmp_seq=60 ttl=59 time=3.4 ms
(here the ping pauses for approx. 30s, it can still be used normally)
NETDEV WATCHDOG: eth0: transmit timer out
eth0: no rx Buffer allocated
(this message is repeated, there is no response from the computer from keypress, even numlock toggle does not work)

This seems like a pretty serious problem for me. Has anybody else seen this error or know how to fix it. It seems to be something along the lines of a dodgy free routine for memory on the nic or something.



Any ideas on how to fix this?

-- Chris
 
Old 11-05-2004, 07:11 PM   #2
Ueimor
LQ Newbie
 
Registered: Nov 2004
Location: Paris
Distribution: Fedora Core
Posts: 11

Rep: Reputation: 0
Is the bug reproducible with vanilla 2.6.9 ?
 
Old 11-24-2004, 02:19 PM   #3
Maartenc
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
I have just the same problem. Also with the 2.6.9 kernel. My machine just freezes. Can anyone help us with this problem?
 
Old 11-24-2004, 03:41 PM   #4
Ueimor
LQ Newbie
 
Registered: Nov 2004
Location: Paris
Distribution: Fedora Core
Posts: 11

Rep: Reputation: 0
Upgrade your compiler to a non 2.95.x one and rebuild. It should be enough for the "Something wrong after
64 tranmitted packets " error.

If it does not (or if you want more bugfixes/features, especially wrt TX watchdog recovery):
- apply the patches below to a 2.6.9 kernel:
- ftp://ftp.kernel.org/pub/linux/kerne...10-rc2-mm2.bz2
- http://www.kernel.org/pub/linux/kern...dev1.patch.bz2
- http://www.fr.zoreil.com/linux/kerne...8169-250.patch
- http://www.fr.zoreil.com/linux/kerne...8169-255.patch
The two patches below do not fix any bug but they allow large frames. Feel free to apply as well
- http://www.fr.zoreil.com/linux/kerne...8169-260.patch
- http://www.fr.zoreil.com/linux/kerne...8169-265.patch
- enable NAPI
- don't use DAC (at least not immediatly).

If it still does not work, please provide a complete dmesg after boot + lspci -vx.

--
Ueimor
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 9.2/laptop : r8169 netcard & Grub/Lilo problems coureyv SUSE / openSUSE 3 12-09-2004 04:53 PM
NIC Driver for NVidia NForce onboard NIC. rajjpajj Linux - Software 9 09-28-2004 03:54 PM
Compiling r8169.c network card driver on Alpha... Minuteman Linux - Hardware 1 04-03-2004 06:59 AM
strange video/nic problems Mugatu Linux - Hardware 2 02-26-2004 10:04 AM
Switched Nics, new NIC has old driver, how to reinstall driver? Passive Linux - Hardware 3 04-29-2002 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration