Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ethernet problem with 2.6.8 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
brab
n00b
n00b


Joined: 01 Apr 2004
Posts: 9

PostPosted: Fri Sep 03, 2004 11:48 am    Post subject: ethernet problem with 2.6.8 [SOLVED] Reply with quote

Hi,

As my ethernet connexion did not seem so good,
[EDIT: the problem comes from the receive buffer auto-tuning. See
http://www.redhat.com/archives/fedora-list/2004-August/msg01483.html
for a solution]

I decided to check whether my mtu settings were fine. Imagine my surprise when I saw:

charm ~ # ifconfig
eth0 Link encap:Ethernet HWaddr *** inet addr:*** Bcast:*** Mask:***
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11

Even though I am using it, there is no traffic reported for eth0. This seems a bit strange.

I am running gentoo-dev-sources 2.6.8-r3, and my ethernet card is a "Ethernet controller: Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet" using the tg3 kernel driver.

Any idea as to what may be wrong here?


Last edited by brab on Fri Sep 10, 2004 12:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Fri Sep 03, 2004 11:56 am    Post subject: Reply with quote

But it does work?
_________________
Part of "The adopt an unanswered post initiative"
Back to top
View user's profile Send private message
lwithers
Guru
Guru


Joined: 31 Dec 2003
Posts: 300
Location: Reading, UK

PostPosted: Fri Sep 03, 2004 11:58 am    Post subject: Reply with quote

Yeah, my network devices also report that, even though the network is up and running fine. I'm not sure why, but since it doesn't affect anything, I'm not bothered by it.

As to your network running "not so good", could you describe the problems you are having so that we can help?
Back to top
View user's profile Send private message
brab
n00b
n00b


Joined: 01 Apr 2004
Posts: 9

PostPosted: Fri Sep 03, 2004 12:09 pm    Post subject: Reply with quote

The not so good network means the following:
- it took me four tries this morning to "emerge sync", most of the time the download would stop in the middle, and after a while trigger a timeout
- some web pages sometimes get stuck when loading. It's hard to reproduce (a reload often helps things).

I'm not sure this is a problem of the adapter or of our network. I ran some small tests, and it seems that I can easily send and receive data within the internal network, so I guess some router must be the cause of the issue somewhere between our net and the rest of the world.

The "ifconfig" thing is the reason that I thought this might be hardware of driver related. But if other people also see this ifconfig weirdness, I think it dismisses it.

In any case, the network is "good enough" to let me send this :lol:

Thanks for the help offer and the replies. I guess I'll just go home to surf now :D
Back to top
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Fri Sep 03, 2004 1:36 pm    Post subject: Reply with quote

What you can attempt to do is to set your comp to ping something on your internal network at a very high rate and keep it going for several hours. IF those problems you describe are due to your network card then you will suffer packetloss and when ping exits it will tell you so.
_________________
Part of "The adopt an unanswered post initiative"
Back to top
View user's profile Send private message
brab
n00b
n00b


Joined: 01 Apr 2004
Posts: 9

PostPosted: Fri Sep 03, 2004 2:13 pm    Post subject: Reply with quote

Thanks, I'll try that. And thanks for adopting my unadopted post :)
Back to top
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Fri Sep 03, 2004 7:41 pm    Post subject: Reply with quote

"To strive, sto seek, to serve"
_________________
Part of "The adopt an unanswered post initiative"
Back to top
View user's profile Send private message
brab
n00b
n00b


Joined: 01 Apr 2004
Posts: 9

PostPosted: Thu Sep 09, 2004 11:16 am    Post subject: network problem with 2.6.8 (solved?) Reply with quote

I have discovered that my network issues disappeared when I switched back to 2.6.7. Then I read the following post about this:

http://www.redhat.com/archives/fedora-list/2004-August/msg01483.html

It seems that this problem is related to receive buffer auto-tuning. I'll try the systcl they suggest and will let you know if it solves the issue.
Back to top
View user's profile Send private message
brab
n00b
n00b


Joined: 01 Apr 2004
Posts: 9

PostPosted: Fri Sep 10, 2004 9:20 am    Post subject: Reply with quote

I confirm that following the advice provided in the previous link (modifying sysctl.conf) solves everything.
Back to top
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Fri Sep 10, 2004 12:37 pm    Post subject: Reply with quote

In that case, edit the original post in the thread and add a [solved] to the title.
_________________
Part of "The adopt an unanswered post initiative"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum