473,395 Members | 2,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

depmod command in linux

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 6659
Motoma
3,237 Expert 2GB
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
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 Expert 2GB
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 100+
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
This is the error during execution of depmod command:

FATAL: Could not open /lib/modules/*/modules.dep.temp 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 Expert 2GB
This is the error during execution of depmod command:

FATAL: Could not open /lib/modules/*/modules.dep.temp 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
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
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...
1
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...
0
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)...
7
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...
3
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. ...
3
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...
10
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...
8
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)...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.