* errors at NIC
@ 2007-03-05 8:57 pp
2007-03-05 9:03 ` pp
2007-03-05 19:58 ` Rick Jones
0 siblings, 2 replies; 5+ messages in thread
From: pp @ 2007-03-05 8:57 UTC (permalink / raw)
Hi,
I am using Tru64 5.1B-4, the tu0 interface reported with the following
error:
# netstat -I tu0 -s
tu0 Ethernet counters at Fri Mar 2 9:47:10 2007
88877 seconds since last zeroed
5938791103 bytes received
150305240319 bytes sent
49803052 data blocks received
112156748 data blocks sent
589417901 multicast bytes received
6059190 multicast blocks received
300 multicast bytes sent
6 multicast blocks sent
0 blocks sent, initially deferred
0 blocks sent, single collision
0 blocks sent, multiple collisions
29 send failures, reasons include:
1 user buffer unavailable
25 carrier sense lost
3 short circuit
1204702 receive failures, reasons include:
32 frame too long
612823 frame check sequence errors
591847 frame error
The media_type is setup to:
# hwmgr -get attr -cat network | more
38:
name = tu0
category = network
sub_category = Ethernet
MAC_address = 08-00-2B-C3-D1-0C
MTU_size = 1500
media_speed = 100
media_type = Unshielded Twisted Pair (UTP)
media_selection =
full_duplex = 1
autoneg_enable = 0
What could be the problem in configuring the tu0 interface?
Your suggestion is highly appreciated.
Thanks P
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: errors at NIC
2007-03-05 8:57 errors at NIC pp
@ 2007-03-05 9:03 ` pp
2007-03-05 15:31 ` Brian Haley
2007-03-05 19:58 ` Rick Jones
1 sibling, 1 reply; 5+ messages in thread
From: pp @ 2007-03-05 9:03 UTC (permalink / raw)
pp wrote:
> Hi,
>
> I am using Tru64 5.1B-4, the tu0 interface reported with the following
> error:
>
> # netstat -I tu0 -s
>
> tu0 Ethernet counters at Fri Mar 2 9:47:10 2007
>
> 88877 seconds since last zeroed
> 5938791103 bytes received
> 150305240319 bytes sent
> 49803052 data blocks received
> 112156748 data blocks sent
> 589417901 multicast bytes received
> 6059190 multicast blocks received
> 300 multicast bytes sent
> 6 multicast blocks sent
> 0 blocks sent, initially deferred
> 0 blocks sent, single collision
> 0 blocks sent, multiple collisions
> 29 send failures, reasons include:
> 1 user buffer unavailable
> 25 carrier sense lost
> 3 short circuit
> 1204702 receive failures, reasons include:
> 32 frame too long
> 612823 frame check sequence errors
> 591847 frame error
Actually there was issue about the slow data transfer rate between the
tu0 interface wtih the rest of the network. After I fixed the speed, I
found this error shown with the netstat command has no changed after the
NIC configuration is changed to the value as indicated in the hwgr
command (as shown below). I think the netstat some how still cache the
static of the network traffic somewhere in the memory, I could be wrong.
If it is, how can I clear/refresh that memory? I can't reboot the
system, it is in production.
Thanks
S
>
> The media_type is setup to:
> # hwmgr -get attr -cat network | more
> 38:
> name = tu0
> category = network
> sub_category = Ethernet
> MAC_address = 08-00-2B-C3-D1-0C
> MTU_size = 1500
> media_speed = 100
> media_type = Unshielded Twisted Pair (UTP)
> media_selection =
> full_duplex = 1
> autoneg_enable = 0
>
> What could be the problem in configuring the tu0 interface?
>
> Your suggestion is highly appreciated.
>
> Thanks P
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: errors at NIC
2007-03-05 9:03 ` pp
@ 2007-03-05 15:31 ` Brian Haley
0 siblings, 0 replies; 5+ messages in thread
From: Brian Haley @ 2007-03-05 15:31 UTC (permalink / raw)
pp wrote:
>> # netstat -I tu0 -s
>>
>> tu0 Ethernet counters at Fri Mar 2 9:47:10 2007
>>
>> 88877 seconds since last zeroed
^^^^^^^^^^^^^^^^^
> If it is, how can I clear/refresh that memory? I can't reboot the
> system, it is in production.
# netstat -I tu0 -z
It's on the man page...
-Brian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: errors at NIC
2007-03-05 8:57 errors at NIC pp
2007-03-05 9:03 ` pp
@ 2007-03-05 19:58 ` Rick Jones
2007-03-16 22:06 ` Chuck Whealton
1 sibling, 1 reply; 5+ messages in thread
From: Rick Jones @ 2007-03-05 19:58 UTC (permalink / raw)
pp <pp@mm.org> wrote:
> 1204702 receive failures, reasons include:
> 32 frame too long
> 612823 frame check sequence errors
> 591847 frame error
> ...
> full_duplex = 1
> autoneg_enable = 0
> What could be the problem in configuring the tu0 interface?
If I were to guess, it would be the hardcoding of the duplex setting.
Here is some boilerplate about 100BT autonegotiation that may be
helpful:
How 100Base-T Autoneg is supposed to work:
When both sides of the link are set to autoneg, they will "negotiate"
the duplex setting and select full-duplex if both sides can do
full-duplex.
If one side is hardcoded and not using autoneg, the autoneg process
will "fail" and the side trying to autoneg is required by spec to use
half-duplex mode.
If one side is using half-duplex, and the other is using full-duplex,
sorrow and woe is the usual result.
So, the following table shows what will happen given various settings
on each side:
Auto Half Full
Auto Happiness Lucky Sorrow
Half Lucky Happiness Sorrow
Full Sorrow Sorrow Happiness
Happiness means that there is a good shot of everything going well.
Lucky means that things will likely go well, but not because you did
anything correctly :) Sorrow means that there _will_ be a duplex
mis-match.
When there is a duplex mismatch, on the side running half-duplex you
will see various errors and probably a number of _LATE_ collisions
("normal" collisions don't count here). On the side running
full-duplex you will see things like FCS errors. Note that those
errors are not necessarily conclusive, they are simply indicators.
Further, it is important to keep in mind that a "clean" ping (or the
like - eg "linkloop" or default netperf TCP_RR) test result is
inconclusive here - a duplex mismatch causes lost traffic _only_ when
both sides of the link try to speak at the same time. A typical ping
test, being synchronous, one at a time request/response, never tries
to have both sides talking at the same time.
Finally, when/if you migrate to 1000Base-T, everything has to be set
to auto-neg anyway.
--
Wisdom Teeth are impacted, people are affected by the effects of events.
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: errors at NIC
2007-03-05 19:58 ` Rick Jones
@ 2007-03-16 22:06 ` Chuck Whealton
0 siblings, 0 replies; 5+ messages in thread
From: Chuck Whealton @ 2007-03-16 22:06 UTC (permalink / raw)
On Mar 5, 3:58 pm, Rick Jones <rick.jon...@hp.com> wrote:
> pp <p...@mm.org> wrote:
> > 1204702 receive failures, reasons include:
> > 32 frame too long
> > 612823 frame check sequence errors
> > 591847 frame error
> > ...
> > full_duplex = 1
> > autoneg_enable = 0
> > What could be the problem in configuring the tu0 interface?
>
> If I were to guess, it would be the hardcoding of the duplex setting.
> Here is some boilerplate about 100BT autonegotiation that may be
> helpful:
>
> How 100Base-T Autoneg is supposed to work:
>
> When both sides of the link are set to autoneg, they will "negotiate"
> the duplex setting and select full-duplex if both sides can do
> full-duplex.
>
> If one side is hardcoded and not using autoneg, the autoneg process
> will "fail" and the side trying to autoneg is required by spec to use
> half-duplex mode.
>
> If one side is using half-duplex, and the other is using full-duplex,
> sorrow and woe is the usual result.
>
> So, the following table shows what will happen given various settings
> on each side:
>
> Auto Half Full
>
> Auto Happiness Lucky Sorrow
>
> Half Lucky Happiness Sorrow
>
> Full Sorrow Sorrow Happiness
>
> Happiness means that there is a good shot of everything going well.
> Lucky means that things will likely go well, but not because you did
> anything correctly :) Sorrow means that there _will_ be a duplex
> mis-match.
>
> When there is a duplex mismatch, on the side running half-duplex you
> will see various errors and probably a number of _LATE_ collisions
> ("normal" collisions don't count here). On the side running
> full-duplex you will see things like FCS errors. Note that those
> errors are not necessarily conclusive, they are simply indicators.
>
> Further, it is important to keep in mind that a "clean" ping (or the
> like - eg "linkloop" or default netperf TCP_RR) test result is
> inconclusive here - a duplex mismatch causes lost traffic _only_ when
> both sides of the link try to speak at the same time. A typical ping
> test, being synchronous, one at a time request/response, never tries
> to have both sides talking at the same time.
>
> Finally, when/if you migrate to 1000Base-T, everything has to be set
> to auto-neg anyway.
>
> --
> Wisdom Teeth are impacted, people are affected by the effects of events.
> these opinions are mine, all mine; HP might not want them anyway... :)
> feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
Yea, I'd have to agree with Rick on this one. When operating at 100BT/
FD, it was my experience it that it was always best to hardset the
speed and duplex on both sides. It just made life so much easier. We
ended up with flipped duplex settings on one side or the other just a
couple too many times out of nowhere.
Never got to use the Alphas by the time gigabit rolled around, but on
HP-UX, yea, for gigabit it had to be set to autonegotiate on both
sides.
I miss the AlphaServers and Tru64 UNIX.
Charles R. Whealton
Charles Whealton @ pleasedontspam.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-03-16 22:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-05 8:57 errors at NIC pp
2007-03-05 9:03 ` pp
2007-03-05 15:31 ` Brian Haley
2007-03-05 19:58 ` Rick Jones
2007-03-16 22:06 ` Chuck Whealton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox