Went looking for this sort of info, could not find it, so I thought I would 
post what I did in the end.

OpenSolaris b124 comes with Marvell driver called "yge" instead of one you can 
download for Solaris 10 called "yukonx" which I used on OpenSolaris until b124.

After upgrading to b124+ (from the console, as the network might be broken)
-bash-3.2# mv /etc/hostname.yukonx0 /etc/hostname.yge0
-bash-3.2# init 6
Your system should be on the network now
-bash-3.2# cp -p /etc/path_to_inst /etc/path_to_inst.before_remove_yukonx
-bash-3.2# pkgrm YUKONXsolx

The following package is currently installed:
   YUKONXsolx  Marvell Yukon Ethernet Controller 64 bit driver
               (i386) 8.19.2.3

Do you want to remove this package? [y,n,?,q] y

## Removing installed package instance <YUKONXsolx>

This package contains scripts which will be executed with super-user
permission during the process of removing this package.

Do you want to continue with the removal of this package [y,n,?,q] y
## Verifying package <YUKONXsolx> dependencies in global zone
## Processing package information.
## Executing preremove script.
Deinstalling yukonx driver:
## Removing pathnames in class <master>
## Removing pathnames in class <none>
/usr/share/man/man7d/yukonx.7d
/usr/share/man/man7d <non-empty directory not removed>
/usr/share/man <non-empty directory not removed>
/usr/share <non-empty directory not removed>
/usr/sbin/yukonx_vlan_config
/usr/sbin <non-empty directory not removed>
/usr <non-empty directory not removed>
/kernel/drv/yukonx.conf
/kernel/drv/amd64/yukonx
/kernel/drv/amd64 <non-empty directory not removed>
/kernel/drv <non-empty directory not removed>
/kernel <non-empty directory not removed>
/etc/rcS.d/S50yukonx
/etc/rcS.d <non-empty directory not removed>
/etc <non-empty directory not removed>
## Executing postremove script.
## Updating system information.

Removal of <YUKONXsolx> was successful.
-bash-3.2# diff path_to_inst path_to_inst.before_remove_yukonx
49a50
> "/pci at 0,0/pci8086,27e0 at 1c,4/pci1043,8142 at 0" 0 "yukonx"
-bash-3.2# init 6 # just to make sure everything is still working

Some thing like this should switch on Jumbo Frames/Packets
ifconfig yge0 unplumb  # it would be nice if this was not need, ie do it on 
next reboot instead
dladm set-linkprop -p mtu=4096 yge0  # it does support mtu 9000
dladm show-linkprop  -p mtu yge0
ifconfig yge0 plumb `cat /etc/hostname.yge0` netmask + up

PS make sure no programes are using the raw device like snoop or dhcp server

Cheers
-- 
This message posted from opensolaris.org

Reply via email to