473,883 Members | 1,713 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

depmod command in linux

55 New Member
I am not able to run the depmod command because of /lib/modules/*/modules.dep is read only, due to failure of depmod command i am not able to run modprobe command. Because depmod creates the entry in modules.dep file, and which is used by modprobe command for it's execution.
Jan 29 '07 #1
7 6688
Motoma
3,237 Recognized Expert Specialist
I am not able to run the depmod command because of /lib/modules/*/modules.dep is read only, due to failure of depmod command i am not able to run modprobe command. Because depmod creates the entry in modules.dep file, and which is used by modprobe command for it's execution.
On most systems, you will need to be root in order to run depmod, insmod, and modprobe.
Jan 29 '07 #2
rahatekarabhijeet
55 New Member
On most systems, you will need to be root in order to run depmod, insmod, and modprobe.
i am executing those commands in root as a user.
i redirected the result in other location i ask for modprobe command to read from
that location by,
depmod -n module_name > file
modprobe -v < file
but this is also not working
Jan 30 '07 #3
Motoma
3,237 Recognized Expert Specialist
i am executing those commands in root as a user.
i redirected the result in other location i ask for modprobe command to read from
that location by,
depmod -n module_name > file
modprobe -v < file
but this is also not working
It would help if you posted what error messages you are receiving when these commands fail to run.
Jan 30 '07 #4
Colloid Snake
144 New Member
i am executing those commands in root as a user.
Although you might be doing this, I just want to note that there is a difference between running AS root (switching using 'su -' or running a command via 'sudo'), and running IN the root directory ( / ).

Are you a member of the sudoers group, or did you switch to root using the 'su -' command before you tried?
Jan 30 '07 #5
rahatekarabhijeet
55 New Member
This is the error during execution of depmod command:

FATAL: Could not open /lib/modules/*/modules.dep.tem p for writing: Read-only file system.
due to failure in depmod command the modprobe command not able get the entry for module from modules.dep.


This is the error during execution of modprobe command:

FATAL: Module tun not found.
Feb 1 '07 #6
Motoma
3,237 Recognized Expert Specialist
This is the error during execution of depmod command:

FATAL: Could not open /lib/modules/*/modules.dep.tem p for writing: Read-only file system.
due to failure in depmod command the modprobe command not able get the entry for module from modules.dep.


This is the error during execution of modprobe command:

FATAL: Module tun not found.
Okay, time for you to explain a little more about your system.
What distro are you using?
Live CD or Local install?
What kernel version?
What Filesystem are you using?
What user are you executing the command as?
Feb 1 '07 #7
rahatekarabhijeet
55 New Member
currently i am doing work on board support packages,
in which i am using squash fs in which dependancy file is read only with root
also,
that's why i am trying another way by which i can able to execute modprobe command,
so could it be possible to provide the things to modprobe command which it looks into depndency file by another way.
Feb 5 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

2
7694
by: Robert | last post by:
I am using the php4-cgi Debian package which is based on PHP 4.3.4. I have problems when running php4 on the command line. If I say something like $ php4 index.cgi a number of variables are not initialized. For example, $HTTP_GET_VARS is not set. To get it set, here's my workaround:
1
2765
by: me | last post by:
I have been looking online for a year, and cant find one. I used to use the int86() command in dos command-line mode, but it can't work in linux. I am using Allegro to make my program work, but I need to put it on a floppy, both the kernal and the program. Allegro only works in X-windows, and is commericial anyway. I have tried to figure it out from allegros code, but its too spread out for me to get it all. I just need a small program...
0
3136
by: Fraser Campbell | last post by:
Hi, We're trying enter polish language into mysql. My understanding is that polish language uses iso-8859-2 character set. I am cutting and pasting polish text from a web browser (Konqueror) into the mysql command line client running in a terminal window (konsole). MySQL server is version 4.0.12 running on a remote Linux server that I have connected to with ssh. When I paste polish characters into the command line client using a...
7
7411
by: Todd McNeill | last post by:
Hi- Something was just pointed out to me this morning. According to the V8 Command Reference, the RUNSTATS command no longer uses the SHRLEVEL CHANGE/REFERENCE clauses, and it looks to be replaced with ALLOW READ/WRITE ACCESS. Is SHRLEVEL still a valid clause and interchangable with ALLOW..., or has it been deprecated and is it, or will it eventually become, invalid? We currently are not seeing any errors using SHRLEVEL in our...
3
3043
by: Double Echo | last post by:
Hi all, I'm using PHP 4.4.2, and use PHP on both the command-line and the web. I am running PHP on SuSE 10 Linux , in a VMware 5.5 workstation, using Apache 2.0.55 , on my Dell laptop. Everything has been running flawlessly without problems. Very amazing to use VMware, it has worked beautifully. uname -a
3
5750
by: Bruno LIVERNAIS | last post by:
Hi, We are currently installing a DB2 V9 ESE on a Linux server (RHEL4U4-x86_64). Installation runs successfully on each node. Database user environment is OK and the instance is well created. To be sure, we've started the database with db2start =successfull. And then shut it down again successfully too. The tricks appears when we switch the hp MC/ServiceGuard (A.11.16 for Linux) package to the other node... the database does not want...
10
13162
by: Justin | last post by:
We have a simple shell script called testsp.sh (located at /home/ userid) Within the shell script, the following command is called: db2 -tvf callsp.sql When the shell script is run in command line mode, it works as expected. and running db2 -tvf ... in command line it also works. The issue occurs when running using "plink"
8
2832
by: Okonita | last post by:
Hi all, I have gone through the process of installing DB2 UDBv9 Express-C in my local linux environment. I am used to having icon placed on my Desktop or taskbar for easy access to (db2cc) Control Center. After installation, how then can I get access to DB2? How can I place a desktop icon in linux for easy access to DB2? Also, I will like to know how I can make DB2 control center in my windows environment detect the recent DB2...
2
20870
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use some of the tools provided on the command-line. If you hate the command line tools, get over it since you’re bound to be using them at some point in your career. All commands in Linux ARE case sensitive so capital letters are different from lowercase...
0
9932
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9777
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10833
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10405
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7957
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7114
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5782
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5979
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4602
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.