LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-19-2014, 11:52 AM   #1
Lucifer4o
Member
 
Registered: Mar 2010
Distribution: Slackware Current
Posts: 63

Rep: Reputation: 17
Slackware Current 8139too upload speed issue


Hello guys ...

A strange issue started after upgrading to last slackware:

I have a end point device (router/server/firewall).


So 2 LAN Cards.

One of them is using the e1000 driver. It's intel based onboard chip.

The other one is using the 8139too driver (Realteck based) ...

And now the fun part begins - the trafick from the network to the card is slow. And I mean slow. The e1000 card keeps download speed of about 50 to 80 MBit/s ... same test performed with the 8139too card yealds 100 kbit/s speed. The problem is allways with the trafick facing the card (as I host few sites, I've seted the fast one to the outside world).

Things I've tried:

Loading the 8139cp drive - it is not supported.
Changing cables - no efect (hey - it could have worked).

Now as I write this post - there is a small chance the problem is with the PCI slot ... but this can be tested when I recieve the new hardware (as I managed to burn out my mainboard).

So ... does someone have some ideas ... how adn why this could have happened and - HOW CAN I FIX IT?

Last edited by Lucifer4o; 03-19-2014 at 11:54 AM.
 
Old 03-20-2014, 10:14 PM   #2
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Hello Lucifer4o , with hardware you already changed cables and will change nic and slot.
With software, this driver is old and I think it doesn't require extra configuration,
but I can be wrong about that.
Maybe you have some firewall or qos rule active that is cutting traffic down.
Sorry for my vague ideas
 
Old 03-21-2014, 04:57 AM   #3
Lucifer4o
Member
 
Registered: Mar 2010
Distribution: Slackware Current
Posts: 63

Original Poster
Rep: Reputation: 17
Nope ...

No QOS - when I switched NIC the speed jumped to normal. So no QOS there ... and this is the second NIC(with 8139too driver) I have this problem on.

In few days I'll get a new mainboard and if the problem persist ... i don't know what to do.
 
Old 03-21-2014, 09:31 AM   #4
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
If with two nics you have same problem, or you have no luck with these realtek nics
or this is a driver problem. Maybe something got corrupted when you did the upgrade,
or maybe some configuration was lost.

Is this the same driver (8139too) that you was using before the upgrade?
Realtek nics sometimes have clones that work with different drivers.

If you can, do a test with livecd (ubuntu, fedora, puppylinux) and see which driver
is loaded and if the problem remains.
 
Old 03-21-2014, 01:23 PM   #5
Lucifer4o
Member
 
Registered: Mar 2010
Distribution: Slackware Current
Posts: 63

Original Poster
Rep: Reputation: 17
8139too is the default linux driver for this Raltek Chip. There are 2 drivers - 8139cp and 8139too (the 8139cp is the older and buggier driver).

When I do "lspci -vv" as supported drivers for the NIC are both 8139too and 8139cp. Tried to modprobe 8139cp and rmmod 8139too but the NIC refuses to be found by the system ... I could always reinstall kernel part of the Slackware (this includes drivers), but I really don't think this will do it.

I'll try the live distro ...
 
Old 03-21-2014, 03:11 PM   #6
jtsn
Member
 
Registered: Sep 2011
Posts: 922

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
8139cp only supports 8139C+, the little FastEth brother of the 8169. It doesn't appear on regular PCI cards, because it was one dollar more expensive than the 8139B/D did go out of production long ago. So 8139too is the correct driver.

First thing to do, if some kernel driver breaks due to an upgrade, is to downgrade the kernel again. If that helps then you go to kernel.org and file a bug reportt. That's it.
 
Old 03-21-2014, 04:14 PM   #7
Lucifer4o
Member
 
Registered: Mar 2010
Distribution: Slackware Current
Posts: 63

Original Poster
Rep: Reputation: 17
Sorry, but how to downgrade the kernel? Is there archive for Slackware packages?

--------------------------

OK ... New 20 as they say in my part of the world - all fine!

http://www.speedtest.net/result/3386928255.png

This is trough 100Mbit switch from the internel ...


----------------------------


And that was 10 minute of euphorie ... it's bad again. I'm a bit confused!

Last edited by Lucifer4o; 03-21-2014 at 04:33 PM.
 
Old 03-22-2014, 05:18 AM   #8
Lucifer4o
Member
 
Registered: Mar 2010
Distribution: Slackware Current
Posts: 63

Original Poster
Rep: Reputation: 17
So ... a little bit more development from today. As the speed raised and was good for few hours. This morning I was greeted with:

Code:
Mar 22 11:04:51 gate kernel: [230330.938097] NMI: PCI system error (SERR) for reason a1 on CPU 0.
Mar 22 11:04:51 gate kernel: [230330.939007] Dazed and confused, but trying to continue
Mar 22 11:05:00 gate kernel: [230339.712018] ------------[ cut here ]------------
Mar 22 11:05:00 gate kernel: [230339.712042] WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x248/0x260()
Mar 22 11:05:00 gate kernel: [230339.712057] Modules linked in: ipv6 tun xt_nat iptable_mangle xt_DSCP xt_tcpudp ipt_MASQUERADE xt_conntrack iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_filter ip_tables x_tables lp ppdev parport_pc parport fuse usb_storage i2c_dev coretemp i915 mei_me ehci_pci uhci_hcd mei drm_kms_helper drm e1000e i2c_algo_bit i2c_core acpi_cpufreq ptp mperf pps_core video processor thermal_sys 8139too psmouse tpm_infineon gpio_ich ehci_hcd lpc_ich serio_raw intel_agp evdev mii freq_table hwmon hp_wmi button tpm_tis intel_gtt tpm agpgart tpm_bios sparse_keymap snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc rfkill wmi snd_timer snd soundcore kvm microcode loop
Mar 22 11:05:00 gate kernel: [230339.712159] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.30 #2
Mar 22 11:05:00 gate kernel: [230339.712160] Hardware name: Hewlett-Packard HP Compaq 6000 Pro SFF PC/3048h, BIOS 786G2 v01.09 08/25/2009
 
  


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
Slackware current 64 bit wine sound issue mmpl Slackware 2 03-23-2011 08:26 AM
OpenGL rendering issue since slackware -current update devnull10 Slackware 28 11-28-2010 07:13 AM
Upload speed limiting to increase download speed dangerousdave Linux - Networking 6 02-16-2010 03:19 PM
Why is my internet upload speed greater than my download speed? km4hr Linux - Networking 1 05-27-2008 08:33 PM
Slackware current + gcc issue vexer Slackware 2 08-11-2003 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:33 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