Solved

Linux and DE-200+ ethernet cards: setup.

Posted on 1997-07-22
3
187 Views
Last Modified: 2010-03-17
I've a problem getting Linux (debian, but same problems with RedHat and Slackware) talking with my Ethernet card.

The DE-200+ (self proclaiming NE-2000 compatible, but see the Ethernet HOWTO) is not autodetected. Even using io=0x300 irq=5 doesn't help because the driver waits for an acknowledge to the reset command, which never arrives.

After disabling that part of the driver initialization I can get the driver loaded into the kernel. Debugging printouts confirm that the card is actually there sending interrupts and I can even stop it with ifconfig eth0 down.

Problem is, I cannot send/receive packets [done the appropriate ifconfig/route add thing]. If I enable NE_SANITY_CHECK I get this additional piece of information:

eth0: Tx packet transfer address mismatch, 202a (expected) vs. 2054 (actual)

The 20 part is the offset into the transmit ring while 0x2a is the number of bytes that the kernel asked to transmit and 0x54 is the number of bytes that the 8390 [actually it's an 8392 on my board]
reports. Since 0x54 = 2 x 0x2a I tend to believe that a byte/word misunderstanding is happening somewhere, but I cannot figure out where.

I've run some additional tests: A colleague of mine has a working Linux machine using a 220CT, hence I've grabbed the nearest thing to it that was available to me, a 220CAT. It behaves exactly the same way as my 200+, except for the fact that it's autodetected (it acknowledges the reset command). The 220CT doesn't work in his PC, so I tend to dismiss problems with the rest of my PC.

Suggestion anybody?
0
Comment
Question by:carletto
3 Comments
 
LVL 1

Expert Comment

by:q721kjh
ID: 1585686
With the price of some ethernet cards below $50, you may try buying a new one at your local computer store.  If it works, great; you now have a weekend free to go hiking.  If not, return it.
0
 

Author Comment

by:carletto
ID: 1585687
If it was my personal PC I would have gone out and bought a new card a long ago. Unfortunately, this is the PC I use at work and it is presently running Windows 95. The only chance I have to turn it into an usable machine running Linux is if I can do it at zero cost (and putting a personal card in a PC owned by the university is not an option either)
0
 
LVL 4

Accepted Solution

by:
unicorntech earned 200 total points
ID: 1585688
I think that you have two options -either bite the bullet and buy a new net card (which I know you don't want to do) or write a new driver for the card. This should fix the problem but will probably take you a bit of time.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

820 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