LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-21-2005, 09:59 AM   #1
kingroach
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
Loop module problem..


I am using avery small live linux distro (XBOXHDM), its used to hack/modify xbox. The distro is quite old and in teh meantime new hacks has been around. One hack needs to create a image file in teh xbox hard drive. But the problem is I cannt mount the image because teh kernel doesnt have loop modules inside. so when I try "modprobe loop" , it shows "cannt find modules.dep in /lib/modules/2.4.25-xbox/" . So I opened the initrd file and put modules.dep in "/lib/modules/" folder and "loop.ko" file in both "/lib/" folder and "lib/modules/kernel-2.4.25-xbox/drivers/block" folder. I took modules.dep and loop.ko file from FC3. Now, whenever I try teh command "modprobe loop" it shows "loop module not found" and when I try "modprobe /lib/loop.ko" it shows "cannt find teh version of kernel teh module was compiled for".. Now my question is , whats teh right way to load a module from initrd file ( the distro runs completely of initrd file). r
 
Old 02-21-2005, 10:10 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
A module compiled for a 2.6 kernel will NEVER work with a 2.4 kernel. (.ko modules are all 2.6). You will need to find a module compiled specifically for your kernel. I am curious: how did you only manage to spell 'the' as 'the' once in your post?
 
Old 02-21-2005, 12:55 PM   #3
kingroach
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Original Poster
Rep: Reputation: 0
bad influence of chatting.. teh one tiem I spelled it right, I had to re-type it..

so, I need to get module.dep and loop module from a linux 2.4.x kernel.. `hmm.. thnx , I will try that..
 
  


Reply


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
loop module den15 Linux - Newbie 2 11-26-2005 01:01 AM
Limit of the loop module dawharl Linux - General 4 09-21-2004 09:27 AM
fglrx module not found but X runs using module biger problem though HELP! fireicer Linux - Newbie 4 07-30-2004 04:44 PM
bash for loop problem deadlock Programming 5 09-04-2003 04:32 AM
loop problem andym Linux - Newbie 0 06-05-2003 05:12 AM


All times are GMT -5. The time now is 11:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration