Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2000 00:37:01 +0200 (CEST)
From:      wkb@chello.nl
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   alpha/17833: dc driver for embedded ethernet on Miata MX5 problems
Message-ID:  <200004062237.AAA03553@chello.nl>

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

>Number:         17833
>Category:       alpha
>Synopsis:       dc driver for embedded ethernet on Miata MX5 problems
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-alpha
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr  6 15:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Wilko Bulte
>Release:        FreeBSD 4.0-R
>Organization:
Private FreeBSD site - The Netherlands
>Environment:

	FreeBSD mx5.wbnet 4.0-RELEASE FreeBSD 4.0-RELEASE #4: Thu Apr  6 
        Digital Personal Workstation PWS500a (Miata MX5)

>Description:
 ports
  | sparc ]>
>How-To-Repeat:

I'm experiencing some problems using the embedded ethernet on the Miata MX5
I have here. This is 4.0R, freshly installed. The symptoms are that the dc
driver reports watchdog timeouts and no network connections can be made.
Using the de driver instead of dc works fine.                         
     
The MX5 has a 10baseT/10base2 bulkhead mounted. It is also possible to have
a 100baseT bulkhead (I have one on my MiataGL) that is connected to another
connector on the PCI riser card.
     
Initially I assumed that maybe the 21143 can't 'see' that it has a
10Mbit-only bulkhead mounted. So I set the SRM ewa0_mode to 10baseT. This 
does not make a difference. I also tried setting 10Mbit mode in rc.conf:
ifconfig_dc0="inet 192.168.200.24  netmask 255.255.255.0 media 10baseT/UTP"
This also did not make a difference. 

Interesting side note: de claims it is a 21142, dc claims it is a 21143
chip. I am not sure if this is relevant.

dc driver boot messages:
     
Apr  6 21:00:40 mx5 /kernel: dc0: <Intel 21143 10/100BaseTX> port
  
0x8000-0x807f mem 0                               
x80850000-0x8085007f irq 0 at device 3.0 on pci0                       
Apr  6 21:00:40 mx5 /kernel: dc0: interrupting at CIA irq 0
Apr  6 21:00:40 mx5 /kernel: dc0: Ethernet address: 00:00:f8:75:3c:6a
 
Apr  6 21:00:40 mx5 /kernel: miibus0: <MII bus> on dc0               
Apr  6 21:00:40 mx5 /kernel: dcphy0: <Intel 21143 NWAY media interface> on
miibus0                                                                
Apr  6 21:00:40 mx5 /kernel: dcphy0:  10baseT, 10baseT-FDX, 100baseTX,   
100baseTX-FDX, auto                                             
Apr  6 21:00:40 mx5 /kernel: dc0: supplying EUI64: 00:00:f8:ff:fe:75:3c:6a

...                                               

Apr  6 21:00:40 mx5 /kernel: dc0: starting DAD for                      
fe80:0001::0200:f8ff:fe75:3c6a                             
Apr  6 21:00:41 mx5 /kernel: dc0: DAD complete for    
fe80:0001::0200:f8ff:fe75:3c6a - no duplicates found     
Apr  6 21:00:45 mx5 /kernel: dc0: watchdog timeout
     
     
de driver boot message:                                                  

de0: <Digital 21142 Fast Ethernet> port 0x8000-0x807f mem
0x80850000-0x8085007f irq 0 at device 3.0 on pci0
de0: interrupting at CIA irq 0
de0: DEC 21142 [10-100Mb/s] pass 1.1
de0: address 00:00:f8:75:3c:6a
de0: enabling 10baseT port
de0: supplying EUI64: 00:00:f8:ff:fe:75:3c:6a
de0: driver is using old-style compatability shims


>Fix:

	Current workaround is to use the de driver instead of dc. Please
note that since GENERIC uses the dc driver one cannot install over the
network using bootfloppys.


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


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




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