-   Linux - Newbie (
-   -   Error in cmd completion - opcode 121 (

dann_radkov 12-21-2011 11:30 AM

Error in cmd completion - opcode 121
Hey Folks,
To go around this error related to a network driver I am making a script that will remove A and install B kmod.rpm mentioned below.
The script works fine. My question is can I avoid a reboot and only issue a network restart instead.So far I have tried it and it didn`t work.Can you propose anything else.Only a complete reboot solves my case:

#Here is the actual script
lsmod | grep be2net
ifconfig eth1 down
ifconfig eth0 down
#or i can do a /etc/init.d/network stop but its all the same really
modprobe -r be2net
rpm -e kmod-hp-be2net- ------------>>A
rpm -ivh /var/tmp/usr/src/redhat/RPMS/x86_64/kmod-hp-be2net-4.0.359.0-2.x86_64.rpm->>B
modprobe be2net
lsmod | grep be2net
/etc/init.d/network restart
#Here unless i reboot i get the old module loaded

If i only reset the network and issue an
ethtool -i eth0
version : 2(old one from A)
and the error:
Error in cmd completion - opcode 121
still shows up

Whereas if I reboot the system:
ethtool -i eth1
version : 4(new one from B)
no errors whatsoever

adam999 12-21-2011 07:09 PM


ifdown eth0
ifdown eth1
then insert the module and do a /etc/init.d/network[ing?] restart

dann_radkov 12-22-2011 02:50 AM

Thats what I am doing above. Do you want to say to insert the module with insmod or?

*** Thread has been up for a while now. I will close it soon if i do not receive any news to save the admins some effort

All times are GMT -5. The time now is 11:53 PM.