LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 12-06-2006, 04:24 PM   #1
ari197
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Rep: Reputation: 0
realtek 8168/8111 hangs on high load


Hi,

I'm using a notebook that have a realtek 8168/8111 (r1000) ethernet that hangs during high load (big download and/or big upload). Currently I'm using Kubuntu Dapper. I don't think it's a hardware problem, cause i never had this problem while using windows.

I think that this has something to do with the ethernet not detecting the network speed and duplex correctly. But when I try to control it using 'ethtool', it fails (Dapper's kernel is not recent enough). So I downloaded the module source from realtek's webserver. When I compiled it, I got these errors :

/home/ari197/Downloads/r1000_v1.05/src/r1000_n.c:1295: error: conflicting types for "r1000_tx_action"
/home/ari197/Downloads/r1000_v1.05/src/r1000_n.c:137: error: previous declaration of "r1000_tx_action" was here
/home/ari197/Downloads/r1000_v1.05/src/r1000_n.c:1344: error: conflicting types for "r1000_rx_action"
/home/ari197/Downloads/r1000_v1.05/src/r1000_n.c:136: error: previous declaration of "r1000_rx_action" was here
make[3]: *** [/home/ari197/Downloads/r1000_v1.05/src/r1000_n.o] Error 1

any ideas why it won't compile. Does anybody know any other possibility that might cause the system to crash ??

Thanks before
 
Old 12-06-2006, 05:55 PM   #2
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I suggest to not compile the software from Realtek. It is better to use the one with the kernel. Also the software from Realtek is a lot older than the kernel and probably your compiler is version 4 which is not compatible 3.3. Most Linux modules (drivers) from manufactures mostly compiles for kernel version 2.4.x and with gcc version 3.3.

You are better off trying to do a kernel upgrade, upgrade the BIOS, or check the temperature.

I suggest posting a bug report at kernel.org.
 
Old 12-06-2006, 10:40 PM   #3
ari197
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I already tried to use the latest linux kernel (2.6.19), but it still crashes on high loads. Although this time I managed to manualy control the speed and duplex, but to no avail

A bit strange though that on linux-2.6.19, I'm using the r8169 module instead of r1000 module.

Any other ideas are welcome. Now i'm depending on my wireless network for big downloads/uploads, which is
a bit anoying.

Thanks
 
Old 12-07-2006, 02:37 AM   #4
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I have not have any problems uploading and downloading a file that is larger than a gigabyte using the r8169 module although my NIC is a Realtek 8169 chip on a USB 2.0 and IEEE-1394 combo PCI card from Koutech. Probably it is gcc version 4 is the problem because my kernel is compiled with gcc version 3.4.4 with 4K stack. However, after some time of uploading many files that are 1 GB in size, my ISP froze my connection, so I had to turn off the router for a period of time. It happens on other NIC brands like 3com and Linksys too.

You can try to add a line in /etc/modules.conf to set debugging to all. Add the following to /etc/modules.conf.

options r8169 debug=16

You can try to include use_dac on the same line as above.

Keep an eye on /var/log/messages because it will make some programs stop working from taking 100% of storage space. I suggest using logrotate to help you keep it under control. Next time you re-install or thinking of reorganizing your partition scheme I recommend set /var/log on its own partition, so programs like man and others can work with out being effected by /var/log/messages.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Realtek 8168 driver problem delinne Linux - Hardware 5 07-16-2008 04:51 AM
Realtek 8168/8111 hang on high load ari197 Linux - Laptop and Netbook 1 12-29-2006 03:42 AM
Load Avg High/Phys Mem High teamh Debian 2 12-26-2006 05:03 PM
no sound on for realtek high def audio on ubuntu 5.10 sarathei Linux - Software 1 10-16-2006 10:20 AM
RealTek 8168/8110 with fedora zolorin Linux - Hardware 0 09-07-2004 07:55 PM


All times are GMT -5. The time now is 10:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration