Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
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.
|
|
03-12-2004, 10:53 AM
|
#1
|
Member
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 195
Rep:
|
What can cause packet loss?
What will cause my network card to start dropping packets?
Info:
Everything worked perfect but I ran out of space and couldn't install the latest gcc. So I rebuilt with a new distro (that already had it). Since rebuilding, my network cards will stop dropping packets when put under any load.
Examples of what causes the network to brake:
Opening a webpage with graphics (google.com)
Downloadign a file with lynx
FTP operations that are large (kernel.org list of kernels for 2.2.x)
Rdesktop
vncserver (once someone connects)
Network cards:
IBM 10/100 EtherJet - 32bit Cardbus Adapter
Encore 10/100 Base-TX ethernet PC Card (uses rtl8139 chipset)
Kernels used: 2.2.17, 2.2.19, 2.2.26
PCMCIA-CS drivers used: 3.2.4, 3.2.7
Distributions used: Slackware 7.1, 8.0, 9.1
Computer: Thinkpad 760XL (Laptop) using PCMCIA interface for NICs
Again, my question is what 'could' be causing my network packets to start dropping?
Thanks for ANY input.
|
|
|
03-12-2004, 11:04 AM
|
#2
|
Member
Registered: Feb 2004
Location: Alpha Quadrant, sol system, earth, asia, Israel.
Distribution: Computer I : Slackware 9.1 ; Computer II : Windows XP
Posts: 144
Rep:
|
Poor network conditions.
Things like bad cables, bad network cards in the worse case.
It's hard to believe It's GCC who made you start loosing packets, but maybe. You should try testing your hardware on other computers if you can. And try testing the cables with a special device (I know someone who has one, dunno where he bought it).
Packet loss is a very bad thing (as you can see).
Get rid of it.
|
|
|
03-12-2004, 11:36 AM
|
#3
|
Member
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 195
Original Poster
Rep:
|
Oops... GCC caused me to rebuild my box. Since rebuilding everything has been out of whack. (When I tried to install GCC, I deleted all MAN files, all info files, all files I didn't know what they were for... After I was done, I couldn't open X Windows and GCC still couldn't be built) - So I reinstalled and got these problems.
As far as conditions goes:
I have tested this at work and at home with the same problems. At both locations I use different cables. I will change cables to see if that helps.
|
|
|
03-14-2004, 01:38 PM
|
#4
|
Member
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 195
Original Poster
Rep:
|
Ok, I have now tested my NIC with a Windows XP box and it works perfect! I have tested with other CAT5 cables and it still fails. Network cables test out fine (At work we have all the fun stuff =)
Anything else?
|
|
|
03-14-2004, 02:00 PM
|
#5
|
Member
Registered: Mar 2004
Posts: 30
Rep:
|
Um... I'm still a linux newbie, but I don't think your problem is linux per se, so if you had windoze on that system...
Packet loss on small peer to peer networks can be caused by almost anything. Check, in this order:
1) The cables. If possible, replace your cable with a known good cable. Don't test when you can replace.
2) The driver. An incorrect driver which appears to be correct can cause packet loss. Update the driver if possible. Confirm you have the BEST driver.
3) Cable Stress. Similar to (1) If a cable is often bent at a particular (sharp) angle, it may over time stop working EXCEPT when bent in that way.
4) Your NIC. Nics can fail in all kinds of interesting ways. In addition to electronic failure, I have seen NICs that suffer from "cable stress" in their rj45 ports. Replace the NIC if possible.
.
.
.
.
99) Cosmic Radiation. You'd be surprised how much harm a stray alpha particle can do to a data transmission. Seal your entire network behind 3 meters of lead...
100) Alien intervention. Maybe "they" are experimenting on you? Wear a tinfoil hat and your performance should improve.
Based on what you've already said, by bet is that you have a a bad or misconfigured driver for your NIC. How to fix? No Idea. You'll need someone who knows beans about linux.
-landrew the
Last edited by thelandrew; 03-14-2004 at 02:01 PM.
|
|
1 members found this post helpful.
|
03-14-2004, 03:24 PM
|
#6
|
Member
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 195
Original Poster
Rep:
|
Lead is expensive and I don't have any tinfoil -- Thank good ness...
More Info:
My restoration of my backup completed and it works... I do get droppedpackets, BUT it recovers and continues!
What Config files do I need to look at? (A bit off topic)
PS:
NIC works perfect in other PCs (Windows anyhow)
The latest driver failed too... and it happens to different nics.
|
|
|
03-14-2004, 09:36 PM
|
#7
|
Member
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 195
Original Poster
Rep:
|
I fixed it!!! Drivers for both PCMCIA-CS and rtl8139.c...
Well... It doesn't stop working when it drops packets, instead it requests the packets again... Before it would just stall or kernel panic =)
Thanks!
These versions work:
pcmcia-cs-3.1.26
rtl8139.c v1.13
|
|
|
03-14-2004, 09:42 PM
|
#8
|
LQ Newbie
Registered: Jan 2004
Posts: 4
Rep:
|
I'm not a linux expert, but I know a good bit about networks. It sounds like whenever you have application traffic, your connection fails. Your nic is fine. Your driver is recent and should work.
Lemme guess... You can ping (64 byte packets) all day without problem.
Do an ifconfig and make sure your MTU is set to 1500. If it is set to anything else, IP fragmentation will fail, and you won't be able to use the internet properly. Also, check out your kernel config file to investigate any parameters that would cause IP fragmentation to fail.
The symptoms you report are generally symptoms of IP fragmentation failing, and this is usually due to MTU mismatch.
good luck.
erich
|
|
|
03-15-2004, 12:31 AM
|
#9
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep:
|
You could try upgrading to 2.4 kernel version. There is a lot of improvements since 2.2 kernel version.
Try placing some switch hubs instead of just a passive hub.
Use a different netmask.
|
|
|
All times are GMT -5. The time now is 05:43 PM.
|
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
|
|