From nobody@FreeBSD.org  Thu Sep 12 13:47:39 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F3E7837B400
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Sep 2002 13:47:38 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B896C43E6E
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Sep 2002 13:47:38 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g8CKlcOT023604
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Sep 2002 13:47:38 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g8CKlclo023603;
	Thu, 12 Sep 2002 13:47:38 -0700 (PDT)
Message-Id: <200209122047.g8CKlclo023603@www.freebsd.org>
Date: Thu, 12 Sep 2002 13:47:38 -0700 (PDT)
From: Johann Scheepers <denial@fbsd.za.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: dc ethernet driver is broken
X-Send-Pr-Version: www-1.0

>Number:         42714
>Category:       kern
>Synopsis:       dc ethernet driver is broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mbr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 12 13:50:01 PDT 2002
>Closed-Date:    Wed Aug 27 01:32:27 PDT 2003
>Last-Modified:  Wed Aug 27 01:32:27 PDT 2003
>Originator:     Johann Scheepers
>Release:        4.6.2
>Organization:
>Environment:
FreeBSD fbsd.linux.lan 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #3: Mon Sep  9 02:11:25 SAST 2002     aquadog@fbsd.linux.lan:/usr/obj/usr/src/sys/FAITH  i386
>Description:
I have a PCI NIC that uses the DM9102 (10M/100M PCI Fast Ethernet single chip) chipset. The dc option in the kernel has support for it. I can set up the card and whatnot so that it seems that everything is working. When i ping the box with this specific card in, i only get a reply after the 4th or 5th packet. I nmapped the box and the reply that i got was tht all open ports were filtered. That was not the case, since i disabled all firewalls and security levels. When i put in another type of NIC (eg. fxp) everything works.
>How-To-Repeat:
Install a Davicom DM9102 based NIC.
>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->mbr 
Responsible-Changed-By: mbr 
Responsible-Changed-When: Thu Jan 30 15:48:01 PST 2003 
Responsible-Changed-Why:  
I'll look at this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42714 
State-Changed-From-To: open->analyzed 
State-Changed-By: mbr 
State-Changed-When: Wed Feb 12 15:05:07 PST 2003 
State-Changed-Why:  
Hi, Does your card now work with recent STABLE ? If not please 
write me back the result of "pciconf -lv". Thank you very much for 
your submission. 

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

From: "Mr Deth" <enforcer@intruded.org>
To: freebsd-gnats-submit@FreeBSD.org, denial@fbsd.za.net
Cc:  
Subject: Re:kern/42714:dc ethernet driver is broken
Date: Fri, 21 Mar 2003 10:31:04 -0800

 I have the same problem as well. My Davicom DM9102 based NIC would be
 detected but it wouldnt work on FreeBSD 4.7-STABLE and above. It works
 perfectly fine on FreeBSD 4.4-REALEASE. Here I include my 'pciconf -lv'
 reply.
 
 
 FreeBSD# pciconf -lv
  chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x70308086 rev=0x01
 hdr=0x00
  vendor = 'Intel Corporation'
  device = '82437VX 430VX System Controller'
  class = bridge
  subclass = HOST-PCI
  isab0@pci0:7:0: class=0x060100 card=0x00000000 chip=0x70008086 rev=0x01
 hdr=0x00
  vendor = 'Intel Corporation'
  device = '82371SB PIIX3 PCI-to-ISA Bridge (Triton II)'
  class = bridge
  subclass = PCI-ISA
  atapci0@pci0:7:1: class=0x010180 card=0x00000000 chip=0x70108086
 rev=0x00 hdr=0x00
  vendor = 'Intel Corporation'
  device = '82371SB PIIX3 IDE Interface (Triton II)'
  class = mass storage
  subclass = ATA
  none0@pci0:12:0: class=0x030000 card=0x00000000 chip=0x0008104a
 rev=0x03 hdr=0x00
  vendor = 'SGS Thomson Microelectronics'
  device = 'STG 2000X'
  class = display
  subclass = VGA
  none1@pci0:12:1: class=0x048000 card=0x00000000 chip=0x0009104a
 rev=0x03 hdr=0x00
  vendor = 'SGS Thomson Microelectronics'
  device = 'STG 1764X'
  class = multimedia
  rl0@pci0:13:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10
 hdr=0x00
  vendor = 'Realtek Semiconductor'
  device = 'RT8139 (A/B/C/8130) Fast Ethernet Adapter'
  class = network
  subclass = ethernet
  dc0@pci0:14:0: class=0x020000 card=0x50323030 chip=0x91021282 rev=0x40
 hdr=0x00
  vendor = 'Davicom Semiconductor Inc.'
  device = 'DM9102/A/AF,DM9801 Fast Ethernet Adapter'
  class = network
  subclass = ethernet
 
 
 I'm sorry that I included my ethernet card as the secondary card in this
 case but I couldnt access the internet if I use it because it wouldnt
 communicate with my gateway. If you still need the output, I could fix
 the NIC to my gateway and post u the output again. Thanks again.
 
 
 
 ForClosure Of A Dream
 
State-Changed-From-To: analyzed->feedback 
State-Changed-By: mbr 
State-Changed-When: Sun Aug 24 16:48:55 PDT 2003 
State-Changed-Why:  
I just committed a fix for this card. Can you test 
it again ? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42714 
State-Changed-From-To: feedback->closed 
State-Changed-By: mbr 
State-Changed-When: Wed Aug 27 01:30:55 PDT 2003 
State-Changed-Why:  
Fixed in rev. 1.123 (RELENG_5) and rev. 1.9.2.48 (RELENG_4) of if_dc.c 

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