Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Couldn't remove the Lan adpter ent0

Status
Not open for further replies.

santhi

MIS
Jul 19, 2001
4
US
Have performed the following:
ifconfig en0 down
ifconfig en0 detach
rmdev -dl et0
rmdev -dl en0
all the above commands didn't give any error, but the next command gave me the following:
# rmdev -dl ent0
Method error (/usr/lib/methods/ucfgent):
0514-062 Cannot perform the requested function because the specified device is busy.

If anybody knows why I am getting this error and how to remove ent0 I will be appreciated.
Thanks in advance!
 
Can you see the pid of process when you try [tt]fuser -u /dev/ent0[/tt]?
I hope it works...
Unix was made by and for smart people.
 
no, there is no process using the ent0.
# fuser -u /dev/ent0
/dev/ent0:
 
When [tt]fuser[/tt] doesn't show anything, is because your group leader process is using it... try loggin in in the console... not a CDE login, a text mode one.
I hope it works...
Unix was made by and for smart people.
 
well, this mechine is in off site. I can do either telnet of use exceed to access that for now. any other way to find out the pids?
thanks!
 
I think you can't remove the interface or ethernet card you are connecting tru.
I hope it works...
Unix was made by and for smart people.
 
Hi,
The diffent processes i know, that do not permit to remove the adapter are sna, and system monitor. There are certainly other processes that can do the stuff.
Try to see if there are sna or sm processes. If yes you will have to stop them.

Hope that helps
 
Hi! santhi
could you try following procedure?
maybe one of reason, you didn't remove adapter.


Things to check when you get "Cannot perform the requested function
because the specified device is busy." during IP Address Takeover
with Hardware Address Takeover enabled.

Here is an example error message for an ethernet adapter:

+ rmdev -l ent1
Method error (/etc/methods/ucfgdevice):
0514-062 Cannot perform the requested function because the
specified device is busy.

Make sure that the network interface is down and detached.
The following script will bring down and detach all TCP/IP
network interfaces on a node:
interfaces=`lsdev -Cc if -F name | grep -v lo0`
for interface in $interfaces
do
ifconfig $interface down
ifconfig $interface detach
done

Check to see if the customer is running one of the following
Applications:
1. SNA
Use the following commands to see if SNA is running:
lssrc -g sna
Use the following command to stop SNA:
stopsrc -g sna
If that doesn't work, use the following command:
stopsrc -f -s sna
If that doesn't work, use the following command:
/usr/bin/sna -stop sna -t forced
If that doesn't work, use the following command:
/usr/bin/sna -stop sna -t cancel

2. Netview / Netmon
AIX 3.2.5: Make sure that PTF U430564 is installed for
System Monitor/6000 has a fix for HACMP/6000 which
allows the sysmond daemon to be started with a "-H"
flag. This will result in opening and closing the
adapter each time SM/6000 goes out to read the
status. This allows the cl_swap_HW_address script
to be successful when executing the rmdev command
after the ifconfig detach before swapping the
hardware address.

The latest PTF to supersede U430564 is U435038 which
has a designation of: Date Available - 94/11/21
AIX 4.1.* and AIX 4.2.*
Add the "-H" flag to the sysinfod daemon.
This can be found in /usr/etc/sysinfod.flags

Use the following command to stop all Netview daemons:
/usr/OV/bin/nv6000_smit stopdaemons

3. Performance Toolbox (Client or Server) at AIX 3.2.5
Kill xmservd with the following command:
ps -ef | grep xmservd | awk '{ print $2 }' | xargs -n1 kill
If that doesn't kill xmservd then use this:
ps -ef | grep xmservd | awk '{ print $2 }' | xargs -n1 kill -9
Then remove any outstanding xmservd shared memory segments
ipcs -m | grep 0x7805 | awk '{ print $2 }' | xargs -n1 ipcrm -m

4. IPX
Use the following commands to see if IPX is running:
ps -ef |grep npsd
ps -ef |grep sapd
Use the following command to stop IPX:
/usr/lpp/netware/bin/stopnps

5. Netbios
Use the following commands to see if Netbios is running:
ps -ef | grep netbios
Use the following commands to stop Netbios and unload
Netbios streams mcsadm stop; mcs0 unload

6. Unload various streams (if applicable - i.e. if file exists)
cd /etc
strload -uf /etc/dlpi.conf
strload -uf /etc/pse.conf
strload -uf /etc/netware.conf
strload -uf /etc/xtiso.conf

7. Token-ring MCA and PCI lanstreamer adapter problems. Need to
apply the following apars/ptfs for both the MCA and PCI lanstreamer
adapters:
HACMP ptfs: U446694 U447432 U443810 U447108 U445537
U447394
TCP/IP ptfs: U437191 U445555 U445558 U442854 U445767
apars: IX57950 IX58507 IX58676 IX58868 IX60549
IX60591
Token Ring apar: IX59720

8. Stop everything associated with 7318-S20 at AIX 4.2

a. Stop cnsview
cnsview -c 'daemon stop'
c. Stop IPX using step 4 above
/usr/lpp/netware/bin/stopnps
b. Unload cnsview/netware streams
cd /etc
strload -uf /etc/dlpi.conf
strload -uf /etc/xtiso.conf
strload -uf /etc/netware.conf

9. netstat -in

Does a et* network interface show up?

a. smitty tcpip
b. further configuration
c. network interface
d. remove a network interface
e. shutdown -Fr
f. if the et* reapears (the cause for this is unknown)
remove it again (steps "a" to "d")
g. netstat -in
make sure the interface's you need for this system appear
if not enter them via; smitty tcpip; further config;
network interface; add a network interface.

hope to help!
thanks & regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top