LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-04-2005, 12:44 PM   #1
iansoundz
Member
 
Registered: Jul 2005
Location: Arlington, VA
Distribution: CentOS 4.1 Kernel 2.6.9-11.EL
Posts: 77

Rep: Reputation: 15
Where is /modules!?!?


I have been trying to install a custom made module and failing miserably, Here is the reason why. The instructions for installation say to do this:

make -C /usr/src/linux- 'uname -r' SUBDIRS='pwd' modules

I am using CentOS 4.1.

I can't use the suggested target as shown above because it doesn't exist!! The closest I have is /usr/src/kernels/2.6.9-11.EL-i686.

So I try to do this:

make -C /usr/src/kernels/2.6.9-11.EL-i686 SUBDIRS='pwd' modules

but then I get this:

make: Entering directory '/usr/src/kernels/2.6.9-11.EL-i686'
mkdir: Cannot create directory 'pwd': Read-only file system
make: *** [crmodverdir] Error 1
make: Leaving directory '/usr/src/kernels/2.6.9-11.EL-i686'

First off, Where is the Modules directory?!? I did a search and "nothing". I wonder how my modules are loaded if there isn't a modules directory in this Distro. Second, the errors indicate Read-only file system. I have tried to do a chmod 777 /usr/src and I just get errors telling me that it cannot change permissions because it is a Read-only file system!!?!?


I have been tangling with this for a while. I'm starting to wish there was a windows alternative. I need to install and load this module (it is a custom made one - not part of the Distro. I have a license server that depends on it for operation. Is there anything I can do?
 
Old 12-04-2005, 02:34 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
First off, Where is the Modules directory?!?
usually in /lib/modules/modules<version>
 
Old 12-05-2005, 02:37 AM   #3
Harmaa Kettu
Member
 
Registered: Apr 2005
Location: Finland
Posts: 196

Rep: Reputation: 30
You are using wrong type of quotes. Try with backticks:
Code:
make -C /usr/src/linux-`uname -r` SUBDIRS=`pwd` modules
Backticks mean "run this command and put its output here".
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 06:49 PM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 02:56 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 02:32 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:48 PM.

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