LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-25-2013, 05:26 PM   #1
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Intresting but werid issues


I have an intresting issue with my network, I have a Sunfire V100 with dual nics that will not get any errors if I download data from the internet, but will get tons of FIFO (overruns), errors and frame errors when I copy data on my LAN

Everything is connected to a switch, managed all duplex settings checkout all speed settings checkout, The sunfire v100 has 2 10/100 nics on it, everything else on the LAN uses gigabit.

So why am I getting so many errors going from 1G to 100M, but doing 100M to 1G works? (my router is gigabit)

The odd part is there only on the RX side of things, the TX side has no errors on the internet or the LAN...

The only thing I can think of is maybe the Davicom NIC chips on the V100 have very small buffers?

Should I be concerned? I hope to use the v100 as a firewall as it is a 1RU and only uses 45watts on load!

Any input would be helpful,
thanks
 
Old 09-26-2013, 01:05 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,955
Blog Entries: 13

Rep: Reputation: 4986Reputation: 4986Reputation: 4986Reputation: 4986Reputation: 4986Reputation: 4986Reputation: 4986Reputation: 4986Reputation: 4986Reputation: 4986Reputation: 4986
Based on your description seems like the Gigabit router doesn't recognize the fact that your appliance has maximum 100 Megabit speed. Find a way to configure your router to know that it is connected with lower speed equipment and that will likely resolve your problems. The reason why it doesn't occur in the reverse direction is that the router is able to keep up with the data rate. Further likely is that in 1 Gig to 100 Meg direction, those extra large packets are being sent and the 100M side doesn't know about those at all, but in the 100M to 1Gig direction, there are none of those packets, and nor would it matter because in that case the receiver is capable of accepting those.
 
Old 09-26-2013, 02:40 PM   #3
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Ummm. Sorry but the above post reveals some misunderstandings about ethernet. If you connect a FastEthernet Port to a Gigabit Ethernet port, one of two things will happen. Autonegotiation will fail and the link won't function AT ALL - the transmitter is clocking data out at one speed and the receiver is reading it at another. If autonegotiation is successful both ends will run at 100Mbps. Therefore the switch cannot send more data than 100Mbps.

Any packet drops due to bottlenecking in traffic heading towards the server would occur in the switches egress queue not at the server receiving end.

It is possible that the network stack on the server is for some reason not servicing interrupts from the NIC card, which would result in buffer overruns (packet drops) but this will not produce Frame Errors.

Have you definitely checked the Duplex state, not just checking the config, but checking the actual port status? I have seen Sun machines configured as full duplex that quite clearly weren't. ethtool will show you the negotiated rate.

Otherwise this is probably more like a hardware problem or a driver problem. You could try disabling or enabling offloading features like checksum offloading, rx coalesce buffers etc, this sometimes offers a workaround to driver problems.
 
Old 09-27-2013, 12:38 PM   #4
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Original Poster
Rep: Reputation: 112Reputation: 112
Hey Pete,

The V100 uses tulip (its a Davicom chipset) I do force the duplex settings on both switch and v100 to 100Mib on the tulip driver this can be done with options=5,5 full_duplex=1,1
Running ethtool tells me it's running in 100Mib mode, but that's all it will allow me to see, the tulip driver has no support for setting most of these options. Also note that flow control on these devices is also not supported.

I have checked both speed and duplex settings on both the v100 and the switch.
When I wget a file on the v100 I get about a 5.6MB/s transfer rate (this is going to a switch then to a gigabit router, then out to the internet) I get no errors
However, If I now try to copy that file from the V100 to another box I get the file, with a much slower transfer speed and frame errors, dropped packets and overruns.

How is that even possible, the router I have is Gigabit, if it were a clocking issue then how can the router fire it's packets at the v100 without any error at all? Yet the box on the same switch gets all these errors when talking directly to the v100?

For purpose of complete information:
OS: Debian 7.0.1sparc64
NIC driver: tulip
 
Old 09-30-2013, 08:58 AM   #5
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Original Poster
Rep: Reputation: 112Reputation: 112
Found the problem, had nothing to do with the NIC's, I had some bad ECC memory on my V100 that was the problem.
 
Old 09-30-2013, 01:05 PM   #6
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Data transfer errors but not kernel or app crashes? Interesting. Well spotted :-)
 
Old 09-30-2013, 01:34 PM   #7
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Original Poster
Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by baldy3105 View Post
Data transfer errors but not kernel or app crashes? Interesting. Well spotted :-)
I normally wouldn't have caught it, what I did was enter LOM (lights out management) #.
set the bootmode to diag then reset.

When it went through it's test's, it spotted a few ECC errors, after removing those effected DIMMS, booted it back to normal
and my connection was far more stable. after sending 40GiB through a 10/100 interface I hit 2 overruns and no errors.
 
  


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
Werid DNS coolb Linux - Networking 1 07-15-2007 11:37 PM
it Seems something really intresting is born(ed) sebus LinuxQuestions.org Member Intro 2 03-14-2006 04:25 PM
Intresting C question exvor Programming 5 11-27-2005 05:00 PM
well this does get intresting wired_duck Linux - Newbie 1 11-15-2003 08:43 AM
This one is gona be intresting Psyman014 Slackware 1 10-02-2003 01:46 AM

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

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