Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2003 14:46:49 +0100 (CET)
From:      Oliver Schneider <os@kobo.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/48837: dc cannot handle DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr rev=0x21 
Message-ID:  <200303021346.h22DknEi077557@dallas.ko.kobo.de>

next in thread | raw e-mail | index | archive | help

>Number:         48837
>Category:       kern
>Synopsis:       dc cannot handle DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr rev=0x21
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 02 06:20:09 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Schneider
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD dallas.ko.kobo.de 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Jan 11 00:33:05 CET 2003 root@dallas.ko.kobo.de:/usr/obj/usr/src/sys/DALLAS i386

>Description:
	The dc driver is responsible for DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr.

	It tries to handle (afaik) all revisions of this NIC. If have two different 
	revisions, in this case rev=0x21 and rev=0x41. On the old card it fails. 
	The difference between these two cards is bigger as you might think, 0x21 
	is an 10/100 MBit NIC with a TP _AND_ a Coax Connector (of course Coax uses 
	10Mbit only). The 0x41 card has a TP connector only. 

	The de driver can deal with the revision 0x21, but you have to remove dc 
	from your kernel configuration. So no GENERIC kernel will work at all. The 
	card is detected as dc0 and no media is present. The de driver works with 
	autodection only btw.

	I guess the error is not critical because this NIC is not very popular.

	I couldn't find a line where the dc driver checks for revision. I have more 
	than one of these cards, so feel free to ask for a test of a patch. The 
	problems appeared on a few systems and different Releases.

	de0@pci0:2:0:	class=0x020000 card=0x2b001109 chip=0x00191011 rev=0x21 hdr=0x00
	    vendor   = 'Digital Equipment Corporation'
	    device   = 'DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr'
	    class    = network
	    subclass = ethernet

	dc0@pci0:10:0:	class=0x020000 card=0x00000000 chip=0x00191011 rev=0x41 hdr=0x00
	    vendor   = 'Digital Equipment Corporation'
	    device   = 'DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr'
	    class    = network
	    subclass = ethernet

	0x21 fails and 0x41 works fine (with a very good performance).

>How-To-Repeat:
	Every time you boot GENERIC. This problem exists for longer period of time.
	
>Fix:
	Workaraound: remove the dc line from kernel configuration, de works with 
	autodetection of the media type, only. My C programming skills are too bad 
	to fix the problem by myself. 

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303021346.h22DknEi077557>