Solved

NE2000 PCI ethercard random freezes

Posted on 1997-10-23
8
442 Views
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?
0
Comment
Question by:quadrio
8 Comments
 
LVL 4

Expert Comment

by:unicorntech
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....
0
 

Author Comment

by:quadrio
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?
0
 
LVL 1

Expert Comment

by:t2pp
ID: 1586760
Sounds like the card is faulty. Do as unicorntech suggests - try another card! It's the most obvious thing to do.
0
 
LVL 3

Expert Comment

by:sauron
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....
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:quadrio
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?


0
 
LVL 3

Expert Comment

by:sauron
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
0
 

Author Comment

by:quadrio
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.
0
 

Accepted Solution

by:
Enslaver earned 200 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.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now