Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-21-2011, 11:30 AM   #1
Registered: Sep 2011
Posts: 52

Rep: Reputation: Disabled
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
Old 12-21-2011, 07:09 PM   #2
Registered: Sep 2006
Posts: 102

Rep: Reputation: 18
ifdown eth0
ifdown eth1
then insert the module and do a /etc/init.d/network[ing?] restart
Old 12-22-2011, 02:50 AM   #3
Registered: Sep 2011
Posts: 52

Original Poster
Rep: Reputation: Disabled
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

Last edited by dann_radkov; 01-02-2012 at 04:54 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] usb-storage: Status code -121 error j_kubik Linux - Hardware 5 06-24-2011 02:22 PM
Error in using YUM instal cmd johnsonkoilraj Linux - Newbie 1 04-10-2008 11:57 PM
QT-Error Major opcode: 53 & 62 & 70 & 154 Spraygun Programming 2 03-26-2007 07:27 AM
Error on Toshiba Satellite 310CDS (hdc: failed opcode) polemon Linux - Hardware 1 03-14-2007 09:29 AM
Kylix 3 Code Completion error J3N7iL Linux - Software 0 11-23-2005 08:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration