SUMMARY: hme0 down - cable tests fine 10BaseT Half duplex

From: Austin, Annie (Austin.Annie@mtvne.com)
Date: Mon Jul 24 2000 - 10:17:17 CDT


Sorry about the increadibly late summary. Life exploded shortly after i
fixed my problem...

Anyway here it is:

Original query:

hme0 down - cable tests fine 10BaseT Half duplex

Sun Ultra 10, Solaris 2.6.
Worked fine at my desk, moved it to another position, port was 100BaseT Full
duplex.

hme0 complained - link down - cable problem?

Had the port switched to 10BaseT half duplex to keep it simple (I've not
configured a NIC to stop auto negotiation before.) But it's still no good.

Any pointers :-/ ?

How do I set the NIC to stop it auto negotiating? What can I do to test the
NIC (prom tests? stuff at the OK> prompt?)

What fixed it:

Thanks to cmarble@orion.ac.hmc.edu (Chris Marble)

I used the ndd utility to check the settings of the hme interface.
The commands were:
        ndd /dev/hme adv_100fdx_cap
        ndd /dev/hme adv_100hdx_cap
        ndd /dev/hme adv_10fdx_cap
        ndd /dev/hme adv_10hdx_cap
        ndd /dev/hme adv_autoneg_cap

I then forced the hme interface to run at 100Mb FDX using the following:
        ndd -set /dev/hme adv_100fdx_cap 1
        ndd -set /dev/hme adv_100hdx_cap 0
        ndd -set /dev/hme adv_10fdx_cap 0
        ndd -set /dev/hme adv_10hdx_cap 0
        ndd -set /dev/hme adv_autoneg_cap 0

The parameters changed by ndd remain until the next system reboot.
To make them more permanent, I added the following to my /etc/system file
        set hme:hme_adv_100fdx_cap = 1
        set hme:hme_adv_100hdx_cap = 0
        set hme:hme_adv_10fdx_cap = 0
        set hme:hme_adv_10hdx_cap = 0
        set hme:hme_adv_autoneg_cap = 0

In general the advice was;

Use /usr/sbin/ndd to examine your troublesome device(s). You can stick the
ndd cmds in an rc script or fiddle with /etc/system using 'set' (as in 'set
hme:hme_adv_autoneg_cap=0')

To find out what is configurable with ndd;

a206384@bogey.fmr.com (Karen Barrett)

Use # ndd /dev/hme \? to see what the valid parameter names are. Don't
forget that
if you are turning autonegotiate OFF, you must explicitly turn some mode ON
( sounds like you
probably want to turn on the 10hdx

Sorry again for the late summary. Cheers to all who helped;
Denise Naomi Ishikawa
Joe Thykattil
Andrew Evans
Daniel Luechtefeld ("Check the list archives - about two months ago I
summarized in detail the procedures provided to me for using ndd to disable
autonegotiation." ;-) Cheers Daniel
Tan Tshun Kiat
Vugt, Andres van (ICT) (HK)
Brian Scanlan
Kulp, Scott (Scott)** CTR **
Matthew Mauzy

***************************************************************************
CONFIDENTIALITY NOTICE

The contents of this e-mail are confidential to the ordinary user
of the e-mail address to which it was addressed, and may also
be privileged. If you are not the addressee of this e-mail you may
not copy, forward, disclose or otherwise use it or any part of it
in any form whatsoever.
If you have received this e-mail in error, please e-mail the sender
by replying to this message.

MTV Networks Europe
*****************************************************************************

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:12 CDT