From root@net2.dinoex.sub.org  Wed Jul 30 13:28:36 1997
Received: from mail.Contrib.Com (mail.Contrib.Com [194.77.12.8])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA01244
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 30 Jul 1997 13:28:31 -0700 (PDT)
Received: from net2.dinoex.sub.org (net2.dinoex.sub.de [193.203.172.193])
          by mail.Contrib.Com (8.8.4/8.8.4) with SMTP
	  id WAA26439 for <freebsd.org!FreeBSD-gnats-submit>; Wed, 30 Jul 1997 22:28:17 +0200 (MET DST)
Received: by net2.dinoex.sub.org (Smail3.1.29.1 #1)
	id m0wtfRL-000jyoC; Wed, 30 Jul 97 22:33 CEST
Message-Id: <m0wtfRL-000jyoC@net2.dinoex.sub.org>
Date: Wed, 30 Jul 97 22:33 CEST
From: dirk.meyer@dinoex.sub.org
Reply-To: dirk.meyer@dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: kernel pci driver for Digital 21041 Ethernet can't start "
X-Send-Pr-Version: 3.2

>Number:         4194
>Category:       kern
>Synopsis:       kernel pci driver for Digital 21041 Ethernet can't start "
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 30 13:30:01 PDT 1997
>Closed-Date:    Sun Dec 24 23:42:45 CET 2006
>Last-Modified:  Sun Dec 24 23:42:45 CET 2006
>Originator:     Dirk Meyer
>Release:        FreeBSD 2.2.2-RELEASE i386
>Organization:
privat
>Environment:

	
	Digital 21041 Ethernet Card for PCI
	labeled as "EN32/PCI"

>Description:

	
	if FreeBSD init the card after boot,
	ifconfig shows the "OACTIVE" flag.
	no Packes are received or transmitted.
	

>How-To-Repeat:

	
	I added a few printf in if_de.c for this problem:
	After every Power-Fail of the card i get this log:

	de0 <Digital 21041 Ethernet> rev 17 int a irq 10 on pci0:10
	de0: CLR OACTIVE in reset
	de0: 21041 [10Mb/s] pass 1.1
	de0: address 00:80:48:e8:5b:f6
	de0: media: 1="10baseT" 2="Full Duplex 10baseT" 3="BNC" 4="AUI"
	de0: CLR OACTIVE in reset
	de0: SET OACTIVE in 21041_media_poll
	de0: CLR OACTIVE in linkup
	de0: CLR OACTIVE in reset
	de0: enabling 10baseT port
	de0: CLR OACTIVE in reset
	de0: CLR OACTIVE in reset
	de0: CLR OACTIVE in linkup
	de0: CLR OACTIVE in reset
	de0: enabling BNC port
	de0: CLR OACTIVE in reset
	de0: SET OACTIVE in init
	de0: SET OACTIVE in init
	de0: SET OACTIVE in ifstart doing setup

	after this line, you get no activity
	until you run "ifconfig" with "down", "up" or "link?".

	After a Reboot (see Fix) i get the following lines:

	de0 <Digital 21041 Ethernet> rev 17 int a irq 10 on pci0:10
	de0: CLR OACTIVE in reset
	de0: 21041 [10Mb/s] pass 1.1
	de0: address 00:80:48:e8:5b:f6
	de0: media: 1="10baseT" 2="Full Duplex 10baseT" 3="BNC" 4="AUI"
	de0: CLR OACTIVE in reset
	de0: SET OACTIVE in 21041_media_poll
	de0: CLR OACTIVE in linkup
	de0: CLR OACTIVE in reset
	de0: enabling 10baseT port
	de0: CLR OACTIVE in reset
	de0: CLR OACTIVE in reset
	de0: CLR OACTIVE in linkup
	de0: CLR OACTIVE in reset
	de0: enabling BNC port
	de0: CLR OACTIVE in reset
	de0: CLR OACTIVE in reset
	de0: CLR OACTIVE in reset
	de0: SET OACTIVE in init
	de0: CLR OACTIVE in tx_intr
	de0: CLR OACTIVE in tx_intr
	de0: SET OACTIVE in init
	de0: CLR OACTIVE in tx_intr
	de0: CLR OACTIVE in tx_intr
	de0: CLR OACTIVE in tx_intr

	after eaxh packet trasmiited the last line is repeated.

>Fix:

	
	I Have to boot a dos
	and run the following programms:

	(from the driver diskette)
	\dosodi\lsl.com
	\dosodi\de21x4.com

	fbsdboot.exe
	
	(after this boot the card works fine)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->peter 
Responsible-Changed-By: phk 
Responsible-Changed-When: Mon May 4 04:12:50 PDT 1998 
Responsible-Changed-Why:  
one for peter 

From: dirk.meyer@dinoex.sub.org (Dirk Meyer)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/4194: kernel pci driver for Digital 21041 Ethernet
	can't start
Date: Sat, 05 Jun 1999 22:03:17 +0200

 I still can repeat the problem with new hardware:
 
 >Environment: 
 
 	SMC 21041 Ethernet Card for PCI
 	labeled as "EN32/PCI"
 
 >Description: 
 
 	if FreeBSD init the card after power/up or reset,
 	no Packes are received or transmitted
 	(checked only via BNC media)
 	de0: <Digital 21041 Ethernet> rev 0x11 int a irq 5 on pci0.10.0
 	de0: SMC 21041 [10Mb/s] pass 1.1
 	de0: address 00:00:c0:dc:d7:e5
 
 >Fix: 
 
 	none in 3.2
 	as fbsdboot don't seem to load an ELF kernel.
 
 
 
Responsible-Changed-From-To: peter->freebsd-bugs 
Responsible-Changed-By: peter 
Responsible-Changed-When: Mon Mar 29 11:15:29 PST 2004 
Responsible-Changed-Why:  
Return neglected PR to the pool. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=4194 

From: John Baldwin <jhb@FreeBSD.org>
To: bug-followup@FreeBSD.org,
 dirk.meyer@dinoex.sub.org
Cc:  
Subject: Re: kern/4194: kernel pci driver for Digital 21041 Ethernet can't start "
Date: Wed, 28 Sep 2005 13:25:13 -0400

 Are you still able to reproduce this with recent FreeBSD such as 5.x or later?
 
 -- 
 John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
 "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Sun Dec 24 23:42:14 CET 2006 
State-Changed-Why:  
hardware no longer availible to me 

http://www.freebsd.org/cgi/query-pr.cgi?pr=4194 
>Unformatted:
