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 #!/bin/bash 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-2.104.225.7-1.x86_64 ------------>>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 driver:be2net 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 driver:be2net version : 4(new one from B) no errors whatsoever |
try
Quote:
|
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:42 PM. |