Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-25-2013, 05:26 PM
|
#1
|
Member
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319
Rep: 
|
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
|
|
|
09-26-2013, 01:05 PM
|
#2
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,955
|
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.
|
|
|
09-26-2013, 02:40 PM
|
#3
|
Member
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891
Rep: 
|
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.
|
|
|
09-27-2013, 12:38 PM
|
#4
|
Member
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319
Original Poster
Rep: 
|
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
|
|
|
09-30-2013, 08:58 AM
|
#5
|
Member
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319
Original Poster
Rep: 
|
Found the problem, had nothing to do with the NIC's, I had some bad ECC memory on my V100 that was the problem.
|
|
|
09-30-2013, 01:05 PM
|
#6
|
Member
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891
Rep: 
|
Data transfer errors but not kernel or app crashes? Interesting. Well spotted :-)
|
|
|
09-30-2013, 01:34 PM
|
#7
|
Member
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319
Original Poster
Rep: 
|
Quote:
Originally Posted by baldy3105
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.
|
|
|
All times are GMT -5. The time now is 05:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|