Solaris 9 ndd -set issues | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Solaris 9 ndd -set issues

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-28-2013
br1an br1an is offline
Registered User
 
Join Date: May 2013
Last Activity: 23 October 2014, 11:38 AM EDT
Posts: 87
Thanks: 3
Thanked 3 Times in 3 Posts
Solaris 9 ndd -set issues

Hello forum,
I have a Solaris 9 Sun Fire v240 server and Sun Fire v440
Recently we made changes and installed a new switch which both of them are connected to it. Cisco Catalyst 3750.

Now the Sun Server v240 is having problems with the network. It was supposed to run at 1000mbs speed.

Code:
ndd -get /dev/bge0 link_speed
100

I tried changing the settings by the following,


Code:
ndd -set /dev/bge0 adv_1000fdx_cap 1
ndd -set /dev/bge0 adv_1000hdx_cap 0
ndd -set /dev/bge0 adv_100fdx_cap 0
ndd -set /dev/bge0 adv_100hdx_cap 0
ndd -set /dev/bge0 adv_10fdx_cap 0
ndd -set /dev/bge0 adv_10hdx_cap 0
ndd -set /dev/bge0 adv_autoneg_cap 0

After that the link goes down.
HTML Code:
ndd -get /dev/bge0 link_status
0
The switches are configured at gigabit speeds.
Now I am confused as to why this is happening. The v440 is running at 1000 speed and it is connected to the same switch as the v240.

I was wondering if any of you have faced this similar problem before.
Could it be the problem with the Ethernet cable? But we are using the same cable that was used on the old switch and it was running at 1000 speeds before.

Thank you very much for your inputs!

Last edited by br1an; 07-04-2013 at 03:46 AM.. Reason: interface is bge0 not ce0
Sponsored Links
    #2  
Old 06-28-2013
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
 
Join Date: Mar 2005
Last Activity: 20 September 2013, 10:59 AM EDT
Location: Philadelphia metro
Posts: 958
Thanks: 3
Thanked 67 Times in 60 Posts
see if editing /kernel/drv/ce0.conf helps ... reboot the server as required ...

also, check that the switch port the v240 is attached to is actually set to 1000mbs and full duplex ... if yes and the issue is still the same, see if you can move the cable to another port on the switch ... some catalyst switches had a bug that killed a port when it had issues with the negotiation though i am unable to remember the exact cause ...
Sponsored Links
    #3  
Old 06-28-2013
br1an br1an is offline
Registered User
 
Join Date: May 2013
Last Activity: 23 October 2014, 11:38 AM EDT
Posts: 87
Thanks: 3
Thanked 3 Times in 3 Posts
Rebooting the server now is not an option.
The Solaris machine does not have the ce0.conf file.
I asked someone to look at the Cisco switch and he says everything seems fine.
I do not have access to the site yet, guess I will have to ask someone to look at the cables.
any second guesses?
    #4  
Old 06-28-2013
MadeInGermany MadeInGermany is offline Forum Advisor  
Registered User
 
Join Date: May 2012
Last Activity: 31 October 2014, 11:19 AM EDT
Location: Simplicity
Posts: 1,993
Thanks: 129
Thanked 584 Times in 529 Posts
What's the patch level of your GigaSwift driver?
On Solaris 9, this is patch 112817-24 or higher.

Code:
showrev -p | grep 112817-

Sponsored Links
    #5  
Old 07-02-2013
br1an br1an is offline
Registered User
 
Join Date: May 2013
Last Activity: 23 October 2014, 11:38 AM EDT
Posts: 87
Thanks: 3
Thanked 3 Times in 3 Posts

Code:
bash-2.05$ showrev -p | grep 112817-
Patch: 112817-29 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWced, SUNWcedx
Patch: 112817-32 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWced, SUNWcedx

I checked with my other servers which were running fine they have the same output.
Also here are the results for ndd -get
I don't know if it helps but it's set to auto_neg with the 1000 speeds enabled.

Code:
bash-2.05$ sudo ndd -get /dev/bge0 adv_1000fdx_cap
1
bash-2.05$ sudo ndd -get /dev/bge0 adv_1000hdx_cap
1
bash-2.05$ sudo ndd -get /dev/bge0 adv_autoneg_cap
1
bash-2.05$ sudo ndd -get /dev/bge0 autoneg_cap
1
bash-2.05$ sudo ndd -get /dev/bge0 1000fdx_cap
1

Sponsored Links
    #6  
Old 07-02-2013
MadeInGermany MadeInGermany is offline Forum Advisor  
Registered User
 
Join Date: May 2012
Last Activity: 31 October 2014, 11:19 AM EDT
Location: Simplicity
Posts: 1,993
Thanks: 129
Thanked 584 Times in 529 Posts
Leave the default, i.e. all capabilities enabled.
Check (compare with other system) if there are extra ndd commands:

Code:
grep -w ndd /etc/rc?.d/S*
crontab -l | grep -w ndd

If the defaults don't work, change the network cable!
Sponsored Links
    #7  
Old 07-03-2013
br1an br1an is offline
Registered User
 
Join Date: May 2013
Last Activity: 23 October 2014, 11:38 AM EDT
Posts: 87
Thanks: 3
Thanked 3 Times in 3 Posts
This was the result of

Code:
/etc/rc2.d/S69inet:[ -z "$encr" ] || /usr/sbin/ndd -set /dev/tcp tcp_1948_phrase $encr
/etc/rc2.d/S69inet:     /usr/sbin/ndd -set /dev/tcp tcp_strong_iss $TCP_STRONG_ISS
/etc/rc2.d/S69inet:             /usr/sbin/ndd -set /dev/ip ip_forwarding 1
/etc/rc2.d/S69inet:             /usr/sbin/ndd -set /dev/ip ip_forwarding 0
/etc/rc2.d/S69inet:     /usr/sbin/ndd -set /dev/ip ip_forwarding 0
/etc/rc2.d/S69inet:             /usr/sbin/ndd -set /dev/ip ip6_forwarding 1
/etc/rc2.d/S69inet:             /usr/sbin/ndd -set /dev/ip ip6_send_redirects 1
/etc/rc2.d/S69inet:             /usr/sbin/ndd -set /dev/ip ip6_ignore_redirect 1
/etc/rc2.d/S69inet:             /usr/sbin/ndd -set /dev/ip ip6_forwarding 0
/etc/rc2.d/S69inet:             /usr/sbin/ndd -set /dev/ip ip6_send_redirects 0
/etc/rc2.d/S69inet:             /usr/sbin/ndd -set /dev/ip ip6_ignore_redirect 0
/etc/rc2.d/S69inet:     /usr/sbin/ndd -set /dev/ip ip6_forwarding 0
/etc/rc2.d/S69inet:     /usr/sbin/ndd -set /dev/ip ip6_send_redirects 0
/etc/rc2.d/S69inet:     /usr/sbin/ndd -set /dev/ip ip6_ignore_redirect 0
/etc/rc2.d/S69netconfig:ndd -set /dev/tcp tcp_conn_req_max_q0 8192
/etc/rc2.d/S69netconfig:ndd -set /dev/tcp tcp_ip_abort_cinterval 60000
/etc/rc2.d/S69netconfig:ndd -set /dev/ip ip_respond_to_timestamp 0
/etc/rc2.d/S69netconfig:ndd -set /dev/ip ip_respond_to_timestamp_broadcast 0
/etc/rc2.d/S69netconfig:ndd -set /dev/ip ip_respond_to_address_mask_broadcast 0
/etc/rc2.d/S69netconfig:ndd -set /dev/ip ip_ignore_redirect 1
/etc/rc2.d/S69netconfig:ndd -set /dev/ip ip_send_redirects 0
/etc/rc2.d/S69netconfig:ndd -set /dev/ip ip_forward_src_routed 0
/etc/rc2.d/S69netconfig:ndd -set /dev/ip ip_forward_directed_broadcasts 0
/etc/rc2.d/S69netconfig:ndd -set /dev/ip ip_forwarding 0
/etc/rc2.d/S69netconfig:ndd -set /dev/ip ip_strict_dst_multihoming 1
/etc/rc2.d/S69netconfig:ndd -set /dev/arp arp_cleanup_interval 60000
/etc/rc2.d/S69netconfig:#ndd -set /dev/ip ip_ire_flush_interval 60000
/etc/rc2.d/S69netconfig:ndd -set /dev/ip ip_respond_to_echo_broadcast 0
/etc/rc2.d/S69netconfig:ndd -set /dev/ip ip_respond_to_echo_multicast 0
/etc/rc2.d/S69netconfig:ndd -set /dev/tcp tcp_rev_src_routes 0
/etc/rc2.d/S69netconfig:ndd -set /dev/ip ip_enable_group_ifs 0
/etc/rc2.d/S69netconfig:ndd -set /dev/tcp tcp_xmit_hiwat 65535
/etc/rc2.d/S69netconfig:ndd -set /dev/tcp tcp_recv_hiwat 65535
/etc/rc2.d/S69netconfig:ndd -set /dev/tcp tcp_cwnd_max 65535
/etc/rc2.d/S69netconfig:ndd -set /dev/tcp tcp_strong_iss 2
/etc/rc2.d/S69netconfig:ndd -set /dev/tcp tcp_conn_req_max_q 1024
/etc/rc2.d/S69netconfig:ndd -set /dev/tcp tcp_conn_req_max_q0 8912
/etc/rc2.d/S69netconfig:ndd -set /dev/udp udp_max_buf 1048576
/etc/rc2.d/S69netconfig:ndd -set /dev/udp udp_recv_hiwat 65535
/etc/rc2.d/S95IIim:     is_priv_port=`/usr/sbin/ndd /dev/tcp tcp_extra_priv_ports | /usr/bin/grep -w 9010`
/etc/rc2.d/S95IIim:        /usr/sbin/ndd -set /dev/tcp tcp_extra_priv_ports_add 9010

It was similar in the other servers

Code:
crontab -l | grep -w ndd

had no results.
Looks like we should switch the cables and the port in the switch?
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
nLocal sendmail issues when hostname not set in official domain name elcounto UNIX for Dummies Questions & Answers 0 08-28-2012 01:21 PM
ndd -set /dev/tcp tcp_host_param RTM Solaris 15 03-15-2010 06:00 PM
ndd help nitinkgoud Solaris 2 07-21-2006 10:42 PM
ndd and le1 bbrandeb49 IP Networking 2 08-02-2002 03:16 PM



All times are GMT -4. The time now is 03:29 AM.