Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 1998 16:55:17 +0200 (SAT)
From:      Johann Visagie <wjv@cityip.co.za>
To:        questions@FreeBSD.ORG
Subject:   DEC 21140 NIC not auto-resetting
Message-ID:  <E0yaLtF-0007H0-00@ns.cityip.co.za>

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

I am currently testing the new Netgear FA310TX NIC (DEC 21140-AF chipset)
under 2.2.6-R.  I've got it connected to a Netgear fast ethernet switch.  The
switch is set to auto-sense the duplexing mode (though setting it to
full-duplex does not seem to change the problem I'm about to describe).

Using this configuration, the driver seems to initialise the card correctly.
The media is reported as "autoselect (100baseTX <full-duplex>)" by ifconfig.
If I force a line break (by pulling out a connector), the driver reports:

/kernel: de0: link down: cable problem?
/kernel: de0: autosense failed: cable problem?

ifconfig now reports the media type merely as "autoselect".

If I plug the cable back in, ifconfig once again reports the media type as
"autoselect (100baseTX <full-duplex>)" and the status as "active", BUT the
NIC is not functioning.  Only when I force an interface reset with "ifconfig
de0 down" does the driver report:

/kernel: de0: enabling Full Duplex 100baseTX port

If I then bring it back up with "ifconfig de0 up", everything works again.

So I tried things differently:  I forced the media detection with "ifconfig
de0 medial 100baseTX mediaopt full-duplex".  ifconfig now reports the media
correctly as "100baseTX <full-duplex> status: active".  I force a line break
and get the same error messages, but ifconfig now reports the interface
status as "no carrier".  If I plug the line back in, the status _stays_ at
"no carrier".  The only thing that seems to revive it then is setting the
media back to "autoselect", and _then_ bouncing the interface down and back
up.

Is this behaviour standard?

-- V

Johann Visagie | Email: wjv@CityIP.co.za | Tel: +27 21 419-7878

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0yaLtF-0007H0-00>