LinuxQuestions.org
Visit Jeremy's Blog.
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 05-29-2003, 10:39 AM   #1
bush
LQ Newbie
 
Registered: Feb 2003
Posts: 12

Rep: Reputation: 0
Problem with compile kernel


Hello all,

I am using Mandrake 9. When I compile kernel 2.4.20, it displays:
mke2fs: 1.27ea
mount: Could not find any loop device, and, according to /proc/devices, this kernel does not know about the loop device(If so, then recompile or insmod loop.o). When I type in 'insmod loop.o', it shows: no file or directory found.


What is a loop device?
Does someone know what is the problem? Which package should I install?


Thanks a lot.



Bush
 
Old 05-29-2003, 11:36 AM   #2
0x4B
Member
 
Registered: May 2003
Location: Nashville TN, USA
Distribution: Debian (I'm unstable)
Posts: 117

Rep: Reputation: 15
one tip is, to install the loop.o module, leave off the .o and just command insmod loop
if you specify a filename (loop.o) then the module loader looks for the file, if you specify the module name (loop) then is will look in the modules directory tree for it.
it still might not exist, in which case you'll need to compile the module (like recompiling the kernel, but you can skip the make step and do make modules after configuring)
you might want to look into modprobe too, it's a more robust approach to installing modules vs. insmod

Last edited by 0x4B; 05-29-2003 at 11:38 AM.
 
Old 07-03-2003, 03:17 PM   #3
davecs
Member
 
Registered: Feb 2003
Location: Barking, Essex, Britain
Distribution: PCLinuxOS and MX-Linux
Posts: 503

Rep: Reputation: 32
OK I am having serious difficulties with getting a firewire card, supposedly compatible with Linux, to work.

I have renamed the directory /usr/src/linux/drivers/ieee1394 to ieee1394-old, and have downloaded and unzipped the latest from linux1394.org to the original directory. Now I have read that I am simply to compile the new module.

Question: How?

DAVE
 
Old 07-10-2003, 03:44 AM   #4
suma
LQ Newbie
 
Registered: Jul 2003
Location: India
Posts: 2

Rep: Reputation: 0
Hi
I am facing the same problem as that of Bush.
I am working on kernel 2.4.9.
I get the message

mount: Could not find any loop device, and, according to /proc/devices, this kernel does not know about the loop device(If so, then recompile or insmod loop.o).
When I type in 'insmod loop.o', it said: no file or directory found.
and when I gave the full path for loop.o and then executed insmod then it said
: couldn't find the
 
Old 07-10-2003, 03:55 AM   #5
suma
LQ Newbie
 
Registered: Jul 2003
Location: India
Posts: 2

Rep: Reputation: 0
I am facing the same problem of that of Bush.
I am working on kernel 2.4.9
When I compile it said

mount: Could not find any loop device, and, according to /proc/devices, this kernel does not know about the loop device
(If so, then recompile or insmod loop.o).

I tried recompiling and also tried the insmod loop.o .This didn't work.
When I tried insmod giving the full path name for loop.o , It said

:couln't find the kernel version the module was compiled for

I tried insmod -f option. Yet it didn't work.



Qn : Anybody knows what could be the problem and how do i come out of it??
 
Old 07-10-2003, 05:30 AM   #6
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
I might be way off but try to compile it with:
Virtual memory file system support
proc file system support
/dev file system support
automatically mount at boot (the /dev file system)

all compiled into the kernel
 
  


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
problem to compile the kernel os2 SUSE / openSUSE 1 09-03-2005 07:19 AM
Problem after new Kernel Compile Spectre630 Slackware 10 08-24-2005 07:15 AM
2.6.6 kernel compile problem lamnk Linux - General 14 06-07-2004 01:13 PM
Compile Kernel Problem duddy11 Linux - Newbie 1 07-31-2003 11:03 AM
kernel compile problem Syncrm Linux - Software 3 01-23-2002 03:10 PM

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

All times are GMT -5. The time now is 03:04 AM.

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