Network interface problem

HI,

 genunix: [ID 451854 kern.notice] NOTICE: ce0: xcvr addr:0x01 - link up 100 Mbps half duplex
 genunix: [ID 408789 kern.warning] WARNING: ce0: fault detected external to device; service degraded
 genunix: [ID 451854 kern.warning] WARNING: ce0: xcvr addr:0x01 - link down
 genunix: [ID 408789 kern.notice] NOTICE: ce0: fault cleared external to device; service available
 genunix: [ID 451854 kern.notice] NOTICE: ce0: xcvr addr:0x01 - link up 100 Mbps half duplex
 genunix: [ID 408789 kern.warning] WARNING: ce0: fault detected external to device; service degraded
 genunix: [ID 451854 kern.warning] WARNING: ce0: xcvr addr:0x01 - link down
 genunix: [ID 408789 kern.notice] NOTICE: ce0: fault cleared external to device; service available
 genunix: [ID 451854 kern.notice] NOTICE: ce0: xcvr addr:0x01 - link up 100 Mbps half duplex

continuous error is coming in solaris 10 server.

Please provide me the solution.

Check if the switchport has fixed settings (like 100 MB full duplex) and if so, change them to auto negotiation.

you have to set duplex mode to your switch or other your netw dev for ce nics..

# detect your active ce nic

netstat -i | egrep -v "^Name|^lo0"|sed '/^$/d'

or

ifconfig -a

#detect your duplex mode

dladm show-dev ce0
ndd -set /dev/ce0 adv_1000fdx_cap 1

or

ndd -set /dev/ce0 adv_1000hdx_cap 0

or
to your nic and net settings

and add like below and reboot
/etc/system

set ce0:ce0_adv_100fdx_cap=1

or

set ce0:ce0_adv_1000fdx_cap=1

regards
ygemici

I wouldn't recommend to go with fixed settings on both sides, this is yesterday's technology. It is better to use auto negotiation on both sides. For gigabit ethernet, autonegotation is mandatory by the standard anyway.

1 Like

hi

are you sure read carefully what i say and understand what i try to want?

this settings only will apply on solaris for older ce cards not fixed settings on both sides..

only this detects card's speed and apply auto settings for 100Mbit/s or 1000Mbit/s and half or full deplex :wink:

Solaris is often unable to correctly auto-negotiate duplex settings with a link partner (e.g. switch), 
especially when the switch is set to 100Mbit full-duplex. 
You can force the NIC into 100Mbit full-duplex by disabling auto-negotiation and 100Mbit half-duplex capability
SunOS
Let's look at a sample line from ce.conf, showing all the configuration parameters: 
name="pci108e,abba" parent="/ssm@0,0/pci@1e,600000" unit-address="1" adv_autoneg_cap=0 
adv_1000fdx_cap=0 adv_1000hdx_cap=0 adv_100fdx_cap=1adv_100hdx_cap=0 adv_10fdx_cap=0 
adv_10hdx_cap=0;

from SUN

Next, we define our basic parameters. 
The only one that will ever change is the auto-negotiation setting -- 
it will be enabled for GigE and disabled for 100 Mbit cards.