LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Problem with compile kernel (https://www.linuxquestions.org/questions/linux-general-1/problem-with-compile-kernel-62493/)

bush 05-29-2003 10:39 AM

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

0x4B 05-29-2003 11:36 AM

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

davecs 07-03-2003 03:17 PM

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

suma 07-10-2003 03:44 AM

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

suma 07-10-2003 03:55 AM

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??

crashmeister 07-10-2003 05:30 AM

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


All times are GMT -5. The time now is 07:20 PM.