Solaris 9 ndd -set issues


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 9 ndd -set issues
# 1  
Old 06-28-2013
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 04:46 AM.. Reason: interface is bge0 not ce0
# 2  
Old 06-28-2013
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 ...
# 3  
Old 06-28-2013
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
What's the patch level of your GigaSwift driver?
On Solaris 9, this is patch 112817-24 or higher.
Code:
showrev -p | grep 112817-

# 5  
Old 07-02-2013
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

# 6  
Old 07-02-2013
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!
# 7  
Old 07-03-2013
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?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Ndd adv_autoneg_cap showing read only

Hi, Recently, I had to disable autoneg in one of my servers having ixgbe1 interface. While using below command I got "Permission denied" error: ndd -set /dev/ixgbe1 adv_autoneg_cap 0 On investigating further I found that adv_autoneg_cap is showing as read-only parameter. Although it is... (1 Reply)
Discussion started by: rochitsharma
1 Replies

2. UNIX for Dummies Questions & Answers

nLocal sendmail issues when hostname not set in official domain name

Hi, I'm having issues with sendmail when I try to send host to host mail. I've had to change the "my official domain name" line to mycompany.com to get the mails through the external spam filter, when a mail was sent with hostname.mycompany.com it was blocked. I had to change the Dj macro... (0 Replies)
Discussion started by: elcounto
0 Replies

3. Solaris

Solaris 8 vs Solaris 10 compatibility issues !

Hello, I recently upgraded our system from Solaris 8 to 10. It seems couple of binaries crashed in the new server Solaris 10. Before digging too much on it , from theory it sounds like any binary that is built on Solaris 8 (using gmake) is supposed to be compatible with Solaris 10 , right ? ... (1 Reply)
Discussion started by: sudsa
1 Replies

4. Solaris

ndd -set /dev/tcp tcp_host_param

Following command was set up in startup script on Solaris 8 servers - improved network transfers of files from one server to the another (doubled transfer speed). ndd -set /dev/tcp tcp_host_param '10.140.20.10 sendspace 279600 recvspace 279600 timestamp 1' Now they are getting a new server... (15 Replies)
Discussion started by: RTM
15 Replies

5. Solaris

ndd /dev/tcp help

Solaris 10 server (SunOS 5.10 Generic_137137_09) I have a services file configured in /etc in there windows clients connect to my server on port 6034-6037 when I do the following netstat | grep TestServices it pulls all the connections active for those ports so right now I have 10 clients... (3 Replies)
Discussion started by: deaconf19
3 Replies

6. Solaris

ndd matters

Hi, I would like to know whether there is any config file that i can refer to for the result of 'ndd -get /dev/tcp tcp_time_wait_interval'? When i man 'ndd', there is one statement which is -> Each driver chooses which parameters to make visible using ndd. Does it answering my question above... (3 Replies)
Discussion started by: honmin
3 Replies

7. Solaris

Questions related to ndd commands

Hello Gurus I would like to know more about ndd commands related to ethernet(NIC) like how to set link_status, link_speed & link_mode as I know how to check these value. And I also would like to know how to make these setting permanents after reboot as I know that these setting will vanish... (5 Replies)
Discussion started by: amity
5 Replies

8. Solaris

ndd help

Hi Guys, I need help with ndd. I was going through network FAQ but i have more questions then answers regarding ndd. #ndd -set /dev/hme instance 0 #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... (2 Replies)
Discussion started by: nitinkgoud
2 Replies

9. IP Networking

ndd and le1

I am trying to set an interface to 100/Full, but the command I use are getting rejected. I think it is the last argument, but I don't know how to find the correct values. I am trying to use the following script, but change hme to le . echo "Setting hme interface 1: 100mb/full-duplex..." ... (2 Replies)
Discussion started by: bbrandeb49
2 Replies
Login or Register to Ask a Question