Subject: ZNYX 346 generates an error for every transmit
To: None <port-i386@netbsd.org>
From: Koos de Haan <sdehaan@caiw.nl>
List: port-i386
Date: 08/10/1999 13:36:06
Hi,

I noticed a problem with the DEC 2114X (de) driver on our ZN346 networkcard. 

#ifconfig de0
de0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: 100baseTX status: active
        inet 194.178.9.151 netmask 0xffffff00 broadcast 194.178.9.255


de0 at pci2 dev 4 function 0
de0: interrupting at irq 10
de0: ZNYX ZX34X 21140A [10-100Mb/s] pass 2.2
de0: address 00:c0:95:e0:66:30

For every transmit there is generated an error : 

# netstat -in
Name  Mtu   Network       Address              Ipkts Ierrs    Opkts Oerrs  Coll
de0   1500  <Link>        00:c0:95:e0:9b:18   104716    27   162431 162348     0
de0   1500  194.178.9     194.178.9.142       104716    27   162431 162348     0
de1   1500  <Link>        00:c0:95:e0:9b:19     2157     0     1878  1878     0
de1   1500  192.168.1     192.168.1.142         2157     0     1878  1878     0
de2   1500  <Link>        00:c0:95:e0:9b:1a        7     0        1     1     0
de2   1500  192.168.15/30 192.168.15.1             7     0        1     1     0
de3   1500  <Link>        00:c0:95:e0:9b:1b   325029     0   324917 324876     0
de3   1500  192.168.15.4/ 192.168.15.5        325029     0   324917 324876     0
lo0   32976 <Link>                                70     0       70     0     0
lo0   32976 127           127.0.0.1               70     0       70     0     0

After taking a look in /dev/pci/if_de.c and trying some things, the problem seems to be that in routine tulip_tx_intr the TULIP_DSTS_ERRSUM is set and the TULIP_DSTS_TxNOCARR and TULIP_DSTS_TxCARRLOSS flags are set.

Does other 21140A bases cards have the same problem or is it only the ZNYX card ?
It seems to be no problem, because we use this cards without many problems for some time now.

Does anyone know how to check the mode (half or full) duplex mode of the card ? ifconfig does not show this.

The problem occours with NetBSD 1.3.2 and also NetBSD-currect (1.4J)


Regards,


Koos de Haan




-
--

Kabelfoon BV
Industriestraat 30, Postbus 45, 2670 AA  NAALDWIJK
Tel. 0174-640269, fax 0174-623860
e-mail info@kabelfoon.nl voor informatie, kabelfoon@kabelfoon.nl voor abonnementszaken, help@kabelfoon.nl voor de helpdesk
Zie http://www.kabelfoon.nl/pgp/ voor Kabelfoon public keys