beautypg.com

FUJITSU SPARC ENTERPRISE T5120 User Manual

Page 34

background image

24

SPARC Enterprise T5120 and T5220 Servers Product Notes • October 2007

It is usually not necessary to unload a driver from a running kernel, but in those rare
cases where it might be called for, you must unplumb all driver instances prior to
unloading it.

First, find out which nxge instances are plumbed (active):

Then, for each active port (each port named nxge plus an instance number, for
example, nxge2, nxge3, ...), unplumb it:

If you run ifconfig -a once again, you see that there are no active nxge
interfaces:

It is now safe to unload the nxge driver.

# ifconfig -a

lo0: flags=2001000849

mtu 8232 index 1

inet 127.0.0.1 netmask ff000000

bge0: flags=201000843

mtu 1500 index 2

inet 129.153.54.82 netmask ffffff00 broadcast 129.153.54.255

ether 0:14:4f:2a:9f:6a

nxge2: flags=201000843

mtu 1500 index 19

inet 129.153.54.175 netmask ffffff00 broadcast 129.153.54.255

ether 0:14:4f:6c:85:aa

nxge3: flags=201000803 mtu 1500

index 20

inet 129.153.54.171 netmask ffffff00 broadcast 129.153.54.255

ether 0:14:4f:6c:85:ab

# ifconfig nxge2 unplumb

# ifconfig nxge3 unplumb

# ifconfig -a

lo0: flags=2001000849

mtu 8232 index 1

inet 127.0.0.1 netmask ff000000

bge0: flags=201000843

mtu 1500 index 2

inet 129.153.54.82 netmask ffffff00 broadcast 129.153.54.255

ether 0:14:4f:2a:9f:6a