Operating System - OpenVMS
1748282 Members
4056 Online
108761 Solutions
New Discussion юеВ

%EWA0 possible duplex mode mismatch condition detected

 
Tim Schofield_1
New Member

%EWA0 possible duplex mode mismatch condition detected

Hi,
I just loaded update 900 and a few other patches on some of my Alpha's running openVMS 7.3-2 and we are getting this message occasionally on the consoles (%EWA0 possible duplex mode mismatch condition detected). There does not seem to be any performance issue or strange counter numbers on the Nic cards in question. Is this possibly a condition that was always there and is just being logged now with the new patches. The Alpha's in question are on different networks and in differnet data centers. I looked around for this error but have yet to find anything specific.
Thanks
Tim
14 REPLIES 14
EdgarZamora_1
Respected Contributor

Re: %EWA0 possible duplex mode mismatch condition detected

More details are needed. Are you getting the message from just one alpha, multiple alphas? Are your NICs gigabit? Output from LANCP and SCACP (if clustered) would be helpful, too. Most likely your problem is a mismatch between NIC and Switch port settings. Even though you don't notice a performance problem now, you most likely have a performance problem under load.
Ian Miller.
Honored Contributor

Re: %EWA0 possible duplex mode mismatch condition detected

" Is this possibly a condition that was always there and is just being logged now with the new patches. " - quite likely. Recent patch kits have back ported some enhancements in this area from VMS V8.x
____________________
Purely Personal Opinion
Richard Brodie_1
Honored Contributor

Re: %EWA0 possible duplex mode mismatch condition detected

It think it's something from 8.2 that's got backported. The doc says it just polls the counters and looks for something that looks like the footprint of a duplex mismatch.

I'd be inclined to look at the output of MC LANCP SHOW DEV/COUNT. If you've looked already and the counters look clean, that's odd.
Hoff
Honored Contributor

Re: %EWA0 possible duplex mode mismatch condition detected

The NIC duplex settings appear to the driver to be inconsistent; that one end is set half-duplex, and the other is operating full duplex.

This message and this detection is a V8.2 feature, and it looks like it's been backported.

I'd check the settings on the switch and on the card at a start, and verify that they match. LANCP can show the NIC settings.

Certain of the older cards don't negotiate all that well -- the FAQ has the matrix of DE500, and the DE500 series uses EW driver. Some of the cards auto-detect speed, and some auto-negotiate duplex, and some DE500 NICs manage both. And then there can be manual settings on the switch or the NIC which can override this, which can be at the switch, or most any NIC around.

The DE500 rated its own section in the OpenVMS FAQ because of auto-detect and auto-negotiate.

You can use LANCP to set and show the NIC settings, and you can use SRM console environment variables to select the NIC behavior.

Check the NIC and the switch.

Stephen Hoffman
HoffmanLabs

Tim Schofield_1
New Member

Re: %EWA0 possible duplex mode mismatch condition detected

Thanks for the info. It looks like there is a problem with this nic. I did speak with the network people at this site and they said they have the switch port set to 100MB full duplex, no autosense, no autonegotiate.
I cannot get into the alpha at my other site at this time.

AUG$ mc lancp
LANCP> show dev/param ewa0

Device Characteristics EWA0:
Value Characteristic
----- --------------
1500 Device buffer size
Normal Controller mode
External Internal loopback mode
00-16-35-3E-0B-FB Hardware LAN address
Multicast address list
CSMA/CD Communication medium
FF-FF-FF-FF-FF-FF Current LAN address
128 Minimum receive buffers
256 Maximum receive buffers
Yes Full duplex enable
Yes Full duplex operational
TwistedPair Line media type
100 Line speed (mbps)
Disabled/No Failset Logical LAN state
0 Failover priority


Device Counters EWA0:
Value Counter
----- -------
742319 Seconds since last zeroed
632755804 Bytes received
1026765093 Bytes sent
6668058 Packets received
4533370 Packets sent
163935213 Multicast bytes received
4308653 Multicast bytes sent
2429933 Multicast packets received
75139 Multicast packets sent
2 Unrecognized unicast destination packets
371463 Unrecognized multicast destination packets
0 Unavailable station buffers
0 Unavailable user buffers
245 Alignment errors
11122 Frame check errors (14-MAR-2007 10:00:16.22)
0 Frame size errors
0 Frame status errors
0 Frame length errors
0 Frame too long errors
0 Data overruns
0 Send data length errors
0 Receive data length errors
0 Transmit underrun errors
0 Transmit failures
0 Carrier check failures
0 Station failures
0 Initially deferred packets sent
0 Single collision packets sent
0 Multiple collision packets sent
0 Excessive collisions
0 Late collisions
0 Collision detect check failures
1 Link up transitions ( 5-MAR-2007 19:42:17.52)
0 Link down transitions
None Time of last generic transmit error
None Time of last generic receive error
LANCP> exit
AUG$ sho sys/noproc
OpenVMS V7.3-2 on node AUG 14-MAR-2007 10:05:30.43 Uptime 8 14:23:23


Tim Schofield_1
New Member

Re: %EWA0 possible duplex mode mismatch condition detected

Is there a way to tell from VMS if the Nic card is set to Auto or 100mbs full duplex etc at the SRM prompt?
Lancp> sho dev/params shows that it is 100 full duplex and does not say anything about Auto so I am assuming ega0_mode is hard set to 100mbs full duplex.
Thanks

Steven Schweda
Honored Contributor

Re: %EWA0 possible duplex mode mismatch condition detected

You may simply have some duplex-unrelated
network flakiness which is being
misinterpreted. Around here:

14914392 Seconds since last zeroed
26756338092 Bytes received
36475621960 Bytes sent
107439829 Packets received
163219332 Packets sent
846741906 Multicast bytes received
852344449 Multicast bytes sent
15530177 Multicast packets received
6960234 Multicast packets sent
[...]
0 Alignment errors
0 Frame check errors
[...]
Volker Halle
Honored Contributor

Re: %EWA0 possible duplex mode mismatch condition detected

Tim,

the LAN drivers keep the most recent messages issued on OPA0: in memory for you to look at with:

$ MC LANCP SHOW DEV/INTERNAL ewa

This information should indicate, whether the NIC was set to auto-negotiate at console level. It also shows the auto-negotiation settings at the NIC level.

The NIC is seeing FC and alignment errors, so there seems to be something wrong...

Volker.
Richard Brodie_1
Honored Contributor

Re: %EWA0 possible duplex mode mismatch condition detected

It's much harder to diagnose duplex mismatches reliably from the full duplex end. With just CRC/Align errors it could just be general entropy. I've had to toss a couple of aging switches in the skip recently for that.

If there's a mismatch it's going to be because the switch end is set half-duplex or autonegotiate.

I would be half inclined to set the Alpha briefly to autonegotiate with LANCP, and see if it succeeds. Or get someone to double check the equivalent configuration and statistics at the far end.