Visit Our UNIX and Linux User Community


Solaris 10 Speed and Duplex Settings: bge


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 Speed and Duplex Settings: bge
# 1  
Old 08-31-2009
Solaris 10 Speed and Duplex Settings: bge

Evening,

I am attempting to change the speed and duplex settings on a single interface on a bge card on an m3000 SPARC server. Currently the settings are as follows:

Code:
bge0            link: up        speed: 1000  Mbps       duplex: full
bge1            link: up        speed: 100   Mbps       duplex: half
bge2            link: up        speed: 1000  Mbps       duplex: full
bge3            link: unknown   speed: 0     Mbps       duplex: unknown
nxge0           link: down      speed: 1000  Mbps       duplex: full
nxge1           link: up        speed: 100   Mbps       duplex: full
nxge2           link: up        speed: 1000  Mbps       duplex: full
nxge3           link: down      speed: 1000  Mbps       duplex: full

I would like to change the bge1 interface to full duplex permanently. I read that I could make changes to the /platform/sun4u/kernel/drv/bge.conf file to make this permanent, however all of our attempts have not yielded the expected results.

Additional Information:

Code:
root@dssbfw101a.myhughesnet.com$ grep bge /etc/path_to_inst
"/pci@0,600000/pci@0/pci@1/pci@0/network@4" 0 "bge"
"/pci@0,600000/pci@0/pci@1/pci@0/network@4,1" 1 "bge"
"/pci@0,600000/pci@0/pci@2/pci@0/network@4" 2 "bge"
"/pci@0,600000/pci@0/pci@2/pci@0/network@4,1" 3 "bge"

Any assistance would be greatly appreciated.

Last edited by DukeNuke2; 08-31-2009 at 05:37 PM..
# 2  
Old 08-31-2009
if you use autoneg on your switch (and the switch is capable of 1000full) the interface should use the desired settings!

---------- Post updated at 21:36 ---------- Previous update was at 21:36 ----------

To keep the forums high quality for all users, please take the time to format your posts correctly.

First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags [code] and [/code] by hand.)

Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.

Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.

Thank You.

The UNIX and Linux Forums
# 3  
Old 08-31-2009
Thanks for the quick reply, I will be sure to tag my code in the future.

My team does not have access to change the config on the switch (which is currently set to 100 full). In the mean time I have created a startup script in /etc/rc2.d/ to make the changes, though I would still like to know how to make it work with the conifg file.
# 4  
Old 08-31-2009
would be helpfull if you post the config file and what you've changed...
# 5  
Old 08-31-2009
Here is the code located in the /platform/sun4u/kernel/drv/bge.conf


Code:
bge-rx-rings            = 1;
bge-tx-rings            = 1;
# interface bge0
name="bge" parent="/pci@0,600000/pci@0/pci@1/pci@0" unit-address="4" \
adv_autoneg_cap=0 adv_1000fdx_cap=1 adv_1000hdx_cap=0 \
adv_100fdx_cap=0 adv_100hdx_cap=0 adv_100T4_cap=0 adv_10fdx_cap=0 \
adv_10hdx_cap=0;

# interface bge1
name="bge" parent="/pci@0,600000/pci@0/pci@1/pci@0" unit-address="4,1" \
adv_autoneg_cap=0 adv_1000fdx_cap=0 adv_1000hdx_cap=0 \
adv_100fdx_cap=1 adv_100hdx_cap=0 adv_100T4_cap=0 adv_10fdx_cap=0 \
adv_10hdx_cap=0;

# interface bge2
name="bge" parent="/pci@0,600000/pci@0/pci@2/pci@0" unit-address="4" \
adv_autoneg_cap=0 adv_1000fdx_cap=1 adv_1000hdx_cap=0 \
adv_100fdx_cap=0 adv_100hdx_cap=0 adv_100T4_cap=0 adv_10fdx_cap=0 \
adv_10hdx_cap=0;

# interface bge3
name="bge" parent="/pci@0,600000/pci@0/pci@2/pci@0" unit-address="4,1" \
adv_autoneg_cap=0 adv_1000fdx_cap=1 adv_1000hdx_cap=0 \
adv_100fdx_cap=0 adv_100hdx_cap=0 adv_100T4_cap=0 adv_10fdx_cap=0 \
adv_10hdx_cap=0;

# 6  
Old 08-31-2009
and where are YOUR changes in the file? do you have a backup of the original file before you make any changes?
# 7  
Old 08-31-2009
What I posted before are my changes, the original file includes only commented out material and the following:

Code:
#########################################################################
#
# The property below represents the list of subsystem vendor/device pairs
# with which driver operation is supported.  This list will be updated and
# extended as new subsystems are validated ...
#
bge-known-subsystems    = 0x108e1647,
                          0x108e1648,
                          0x108e16a7,
                          0x108e16a8,
                          0x17c20010,
                          0x17341013,
                          0x101402a6,
                          0x10f12885,
                          0x17c20020,
                          0x10b71006,
                          0x10280109,
                          0x1028865d,
                          0x0e11005a,
                          0x103c12bc;
#########################################################################


Previous Thread | Next Thread
Test Your Knowledge in Computers #221
Difficulty: Easy
Apple's OS X (macOS) installed base had grown to 80 million users as reported at the WWDC 2014.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need script help for monitoring duplex settings

So I have a server I am trying to set up a script to send a Wall message notifying of my eth0 nic being set to 100 half duplex instead of 100 full duplex. I know I am trying to read from /etc/sysconfig/network/ifcfg-eth0 to pull the parameters STARTMODE=onboot BOOTPROTO=static... (6 Replies)
Discussion started by: lutador72
6 Replies

2. AIX

Connected and Running with half duplex speed

VIO Server connected to switch port and running with half duplex speed on one of the shared ethernet adapter. We have verified at switch end and everythings looks good. Other ethernet adapter in the VIO server are connected and running in Full duplex speed. Please help me find why this shared... (4 Replies)
Discussion started by: mugunthanvh
4 Replies

3. AIX

How to change Speed Duplex

How to change Speed Duplex ! How to change Speed Duplex by command chdev -P -l ent1 -a media_speed=1000_Full_Duplex How to change Speed Duplex by Smitty . smitty chgenet -> select adapter -> change Media speed etc. -> set "Apply change to DATABASE only" to yes -> Enter -> ... (0 Replies)
Discussion started by: ITHelper
0 Replies

4. Solaris

How to find half duplex or full duplex

Hi, How to find whether the server is running with half duplex or full duplex. I tried with the following command ndd -get /dev/ but am not getting any output,. Is the command correct? Also let me know how to change from half to full duplex. (1 Reply)
Discussion started by: rogerben
1 Replies

5. Infrastructure Monitoring

How to find the duplex speed on Windows

Hi, In UNIX, it's very easy to find the duplex speed. But in Windows, is there a easy way to find the duplex speed? I can't go to over 100 servers to find this out, I was wondering if I run one command to do this? Please advice. (2 Replies)
Discussion started by: samnyc
2 Replies

6. UNIX for Advanced & Expert Users

How to set full duplex for solaris 5.5

I would like to change half duplex to full duplex on solaris 5.5. I tried with below commands but they didnt work on solaris 5.5. #ndd -set /dev/le adv_100fdx_cap 1 (6 Replies)
Discussion started by: csreenivas
6 Replies

7. Solaris

gigabit - fix speed/duplex on the switch ? or autoneg ?

Hi there We have a bit of a debate going here over what the prefered method is for setting 1000/Full on e1000g or nge interfaces is. As you aware the Solaris configration files for nge and e1000g dont allow you to "fix" 1000/Full but instead allow you to set auto-negotiate to ON but only... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

8. HP-UX

command to change duplex settings..

Hi Folks, I want the command to change the duplex settings of a HP-UX server. Thanks in advance. Sagar. (2 Replies)
Discussion started by: sag71155
2 Replies

9. IP Networking

NIC speed 100M/full duplex problem

I have a TOSHIBA AS7000 B150 Sun Box I wanted to run it with 100M/full duplex I had added this to the /etc/system file to make to setting permenant So it would be set correctly on reboot. set eri:eri_adv_100fdx_cap=1 set eri:eri_adv_100hdx_cap=0 set eri:eri_adv_autoneg_cap=0 But when I... (4 Replies)
Discussion started by: AirWalker83
4 Replies

10. Solaris

Duplex Settings

Hi All I've been having a lot of errors logged on the Cisco Catalyst (4000 series) which one of my Solaris servers is patched into. I have a feeling they are duplex related, but I'm a bit stuck as to how to confirm that. How do I: 1. Check the duplex settings on my eri0 card? 2. Set the... (3 Replies)
Discussion started by: saabir
3 Replies

Featured Tech Videos