NE2000 PCI ethercard random freezes

Posted on 1997-10-23
Medium Priority
Last Modified: 2010-03-18
I am using a PCI ethernet card, NE2000 compatible, and it is working OK. Randomly (with an interval which varies between minutes and months) the card gets freezed. There is no apparent event triggering the freeze, but I have to reboot in order to have networking again.

Any clue?

Any way to reset the card without having to reboot the system?
Question by:quadrio

Expert Comment

ID: 1586758
The problem is very vague so it is hard to give a definitive answer - my first impression is that it is probably the card is faulty or dies with too much load. Perhaps investing in a higher quality card may be the answer. Also to reset the card I need to know what ifconfig gives and what the rote table looks ilke when the card dies. However if there is no interface visible to ifconfig I would do an ifconfig eth0 and add the routing for the card - don't need to reboot to do this....

Author Comment

ID: 1586759
You say that the problems is vague, but my probles IS that the problem is vague.
The card dies RANDOMLY, not under load (often during nighttime, i.e. no use at all). The interface is there, "ifconfig down" works but "ifconfig up" does not work anymore. I do not see anything strange until everything gets blocked.
My question was deliberatly generic, since I am sure it is not a kernel-dependent question (happened from 1.2.x to 2.0.30)
I have plenty of other cards but I want to solve the problem for THIS card.
How to know if the card is faulty?

Expert Comment

ID: 1586760
Sounds like the card is faulty. Do as unicorntech suggests - try another card! It's the most obvious thing to do.
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Expert Comment

ID: 1586761
In my experience, this sort of 'hard to pin down' problem is usually a hardware error, either because the card is physically faulty, or because it is conflicting with something else. IRQ conflicts can cause this kind of thing.

I suggest:-

Check the I/O address range and IRQ of your card, and DMA, if applicable. Change these to a different setting - if the card is plug and play, try disabling plug and play, or using PCI settings in the BIOS to force a specific IRQ. This may well cure it - I knew of one incident where a card had a DMA conflict with an IDE controller, when both happened to be in use at exactly the same moment, raw network packets held in the DMA buffer got written to random disk sectors - took the guy ages to figure out what was going on....

Author Comment

ID: 1586762
I already tried changing settings like IRQ.

But I have right now collected new information:
I don't know from where, but I saw couple of times messages like "eth0 mismatched read page pointer xxx vs. yyy" on the console.
I think this supports the idea that the card is not a perfectly good NE2000 clone (i.e. "faulty" card, even if perfectly working from a HW point of view)

I would like to trace the behaviour of the card, eventually going down to the ne.c and 8390.c source files.

Do you think there are real chances of avoiding freezes anymore?


Expert Comment

ID: 1586763
Hmm, the mismatched read page pointer errors definitely sound like they are symptomatic of the real cause of your problem.

I suspect that the card is doing something it shouldn't. I wouldn't be surprised if the card works fine under DOS, or even Win95, but when you get it into a real 32 bit OS, it can't hack it. I'd guess it would choke under NT as well (though calling that a real OS goes against the grain :-))

It may be a configuration issue - the card might be fine in another machine.

As far as tracing the behaviour goes, this is going to be very difficult when you can't reproduce the problem to order. If you can find the source of the error message, you may get insight into what is happening, but probably not into why.

Given that a cheap network card shouldn't set you back too much, I'd say it might be worth just replacing it, and forgetting about it. You can spend a lot of time rtying to track down these things with little success, and you have to wonder whether or not it is really worth it. Of course, if you're curious, and have the time t spare, go for it.... you might find a kernel bug... :-)

Good luck

Author Comment

ID: 1586764
I was quite sure someone already found that infame "mismatched read page pointer" problem.

I will keep with my curiosity, eventually substituting the card.
Thank to sauron and unicorntech for the help, and for your time.

Accepted Solution

Enslaver earned 400 total points
ID: 1586765
Easy, In your kernel setup the Ethernet card as a module, then at startup have your system load the module, if/when it freezes remove the module and reload it.

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question