LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-29-2005, 10:02 AM   #1
marcocamma
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
Slow Network after 2.6.11


Hi,

some days ago I upgraded the kernel to 2.6.11
Since this upgrade the speed of the network is not so good ... (I would say very bad).
The connection is 100Mb full duplex (or at least should be), but the speed of an ftp transfer with a computer 10 meter away is about 25 Kb/s. Before the upgrade (maybe I should call it downgrade) it was around 2 Mb/s. I'm sure that nothing else has been changed.
Can you help me finding the mistake I did ?
What informations can I give you to help me ?
The only change I remember is the I exchanged the name of the 2 network cards I had; before the name was eth0 for the "external card" (the one I use to connect to other computers) and eth1 was used to connect my notebook to the workstation; Now they are in the other way. Could the problem be related to this ?
thank you,
marco

the external network card is controlled by e100 (as before).
 
Old 05-29-2005, 11:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you need to start by looking for the usual suspects really... is there anything blatant in "dmesg" or /var/log/messages ? what about the information provided about the card by either ethtool or mii-tool?
 
Old 05-29-2005, 11:53 AM   #3
marcocamma
LQ Newbie
 
Registered: May 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you !
so the only strange message of dmesg is

nfs warning: mount version older than kernel [written one time every 2/3 minutes]

mii-tool gives
SIOCGMIIPHY on 'eth0' failed: Operation not supported
SIOCGMIIPHY on 'eth1' failed: Operation not supported
no MII interfaces found

ethtool gives ("ethtool eth1")
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Half
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes


So eth1 is half duplex; How can I change it ? [before I used a line in the modules.conf, but now it's not used ...]
Thank you very much again !
marco
 
Old 05-29-2005, 11:55 AM   #4
marcocamma
LQ Newbie
 
Registered: May 2005
Posts: 5

Original Poster
Rep: Reputation: 0
sorry !
I forgot to say that the driver is compiled not as module.
marco
 
Old 05-29-2005, 12:10 PM   #5
marcocamma
LQ Newbie
 
Registered: May 2005
Posts: 5

Original Poster
Rep: Reputation: 0
ok !
using the command:
ethtool -s eth1 autoneg off duplex full
I managed to set full duplex operation and now the speed is the right one.
I couldn't image such a big difference ... sorry for my ignorance ...
maybe you can suggest me something to read ...
2 last questions,
1. how can I set [during the boot] the speed ?
2. Why that message on the NFS [I compiled the kernel with the nfs 3 and 4]
thank you again,
marco
 
Old 05-29-2005, 04:33 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you'd force the speed by setting a line that apparently would read "option e100 e100_speed_duplex=4" in /etc/modules.conf

nfs.. no idea actually... seen it around, but i don't know.
 
Old 05-29-2005, 04:35 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
http://kerneltrap.org/node/2567
 
Old 05-30-2005, 03:05 AM   #8
marcocamma
LQ Newbie
 
Registered: May 2005
Posts: 5

Original Poster
Rep: Reputation: 0
The files modules.conf is used by the kernel 2.6 ?

However I managed to change the setting adding the line :
ETHTOOL_OPTS="speed 100 duplex full autoneg off"
in the file
/etc/sysconfig/network/ifcfg-eth1
(I have the suse 8.2)
Thank you
 
  


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
Network slow Gollum78 Slackware 4 11-23-2005 04:54 PM
Slow, slow KDE with network connected bglad Linux - Software 0 10-27-2004 10:54 AM
Network too slow Tyel Linux - Networking 1 07-23-2004 10:43 AM
Network too slow Jose Muņiz Linux - Networking 3 07-11-2004 12:14 AM
Network Slow ? andy18 Linux - Networking 2 07-23-2003 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:13 AM.

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