From mark@grondar.za  Mon Dec 26 17:51:37 1994
Received: from grunt.grondar.za (grunt.grondar.za [196.7.18.129]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id RAA28655 for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Dec 1994 17:51:17 GMT
Received: (from mark@localhost) by grunt.grondar.za (8.6.9/8.6.9) id TAA00436; Mon, 26 Dec 1994 19:50:27 +0200
Message-Id: <199412261750.TAA00436@grunt.grondar.za>
Date: Mon, 26 Dec 1994 19:50:27 +0200
From: Mark Murray <mark@grondar.za>
Reply-To: mark@grondar.za
To: FreeBSD-gnats-submit@freebsd.org
Subject: if_ed.c does not like some ethernet cards
X-Send-Pr-Version: 3.2

>Number:         85
>Category:       kern
>Synopsis:       if_ed.c does not like some ethernet cards
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    core (FreeBSD core team)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 26 10:00:01 1994
>Closed-Date:    Mon Mar 20 20:46:47 MET 1995
>Last-Modified:
>Originator:     Mark Murray
>Release:        FreeBSD 2.1.0-Developement
>Organization:
GTA
>Environment:

My machine is a 486dx50 with 16MB AH1542, 2xSCSI disks, 1xSCSI tape,
1xSCSI CDROM, et4000 VGA w1MB, and "Combo ethernet adapter".

The ethernet adapter can be soft configured to emulate NE2000, SMC/WD
Ethercard Plus 16 or "200tx" mode. In 200tx mode the probe code reports
NE2000.

>Description:

When the ethernet card is in NE2000 or 200tx mode, making TCP/IP
connections is very difficult. Pings work normally, but rsh is
badly slow, and eventually fades out, and telnet does not do
anything after the "connected to..." message. FTP seems to work OK.

I get random panics, and by taking down the address of the error, I
have found the following. 1) the error is "page fault in kernel mode"
2) The error seems to be occurring in ed_pio_write_mbufs() from if_ed.c.
(I got this by 'nm kernel | sort | less' and looking for the first
symbol before the panic address.

>How-To-Repeat:

Run my kernel with my ethernet card in ne2000/200tx mode.

>Fix:
	
The card seems to work OK now in wd8013<> mode.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Mon Mar 20 20:46:47 MET 1995 
State-Changed-Why:  
Mark: 
These are both mine. Please close them, they have to do with the famous 
ne2000/if_ed failure, which is now fixed (not by me). 
>Unformatted:



