You are not logged in.

#1 2011-01-19 10:51:40

danan
Member
Registered: 2011-01-19
Posts: 30

[solved] loop module missing

Hi,

I just installed qemu-kvm to boot Windows from my real hard disk partition. I used this How-to.
When I try to setup the loopback device I get

losetup: Could not find any loop device. Maybe this kernel does not know about the loop device? 
(If so, recompile or `modprobe loop'.)

When I try

$ modprobe loop

I get

FATAL: Could not load /lib/modules/2.6.36-ARCH/modules.dep: No such file or directory

I searched everywhere, but couldn't find a solution. Some people claim it could be a problem if you don't have a CD drive, what I don't understand. Or is it because of my 64bit Arch? Any suggestions?

Andre

Last edited by danan (2011-01-19 13:20:34)

Offline

#2 2011-01-19 11:00:44

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: [solved] loop module missing

Do you have util-linux-ng ? and are you running modprobe as root/sudo?

Last edited by Mr Green (2011-01-19 11:01:19)


Mr Green

Offline

#3 2011-01-19 11:28:22

danan
Member
Registered: 2011-01-19
Posts: 30

Re: [solved] loop module missing

Mr Green wrote:

Do you have util-linux-ng ? and are you running modprobe as root/sudo?

Yes and yes.
I already found somewhere, that the loop module should be included in the util-linux package.

Offline

#4 2011-01-19 11:35:08

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: [solved] loop module missing

Have you got anything in/lib/modules/[your kernel]/kernel/drivers/block ?

Last edited by Mr Green (2011-01-19 11:35:23)


Mr Green

Offline

#5 2011-01-19 12:06:09

danan
Member
Registered: 2011-01-19
Posts: 30

Re: [solved] loop module missing

Mr Green wrote:

Have you got anything in/lib/modules/[your kernel]/kernel/drivers/block ?

drwxr-xr-x  2 root root   4096 Jan  7 17:34 aoe
-rw-r--r--  1 root root  14388 Jan  7 17:34 brd.ko
-rw-r--r--  1 root root  85495 Jan  7 17:34 cciss.ko
-rw-r--r--  1 root root  41469 Jan  7 17:34 cpqarray.ko
-rw-r--r--  1 root root   6303 Jan  7 17:34 cryptoloop.ko
-rw-r--r--  1 root root 112132 Jan  7 17:34 DAC960.ko
drwxr-xr-x  2 root root   4096 Jan  7 17:34 drbd
-rw-r--r--  1 root root 117652 Jan  7 17:34 floppy.ko
-rw-r--r--  1 root root  33572 Jan  7 17:34 loop.ko
-rw-r--r--  1 root root  22275 Jan  7 17:34 nbd.ko
-rw-r--r--  1 root root  13286 Jan  7 17:34 osdblk.ko
-rw-r--r--  1 root root  56565 Jan  7 17:34 pktcdvd.ko
-rw-r--r--  1 root root  34763 Jan  7 17:34 rbd.ko
-rw-r--r--  1 root root  28249 Jan  7 17:34 sx8.ko
-rw-r--r--  1 root root  13430 Jan  7 17:34 virtio_blk.ko
-rw-r--r--  1 root root  27408 Jan  7 17:34 xen-blkfront.ko

...it seems so!?

Offline

#6 2011-01-19 12:13:43

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [solved] loop module missing

you upgraded the kernel without rebooting.


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2011-01-19 12:15:07

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: [solved] loop module missing

loop is there but system does not see it, bring your system up to date [make sure it is].... and try again

@Wonder beat me again smile

Last edited by Mr Green (2011-01-19 12:17:19)


Mr Green

Offline

#8 2011-01-19 12:33:03

danan
Member
Registered: 2011-01-19
Posts: 30

Re: [solved] loop module missing

Mr Green wrote:

loop is there but system does not see it, bring your system up to date [make sure it is].... and try again

Ok this really was the problem. But now, unfortunatelly, on creating the raid the needed linear module is missing. Google doesn't really tell me, which package includes this. Could you please give me a short general instruction, how I can allways install modules, or better how I find the package which includes it. (This problem may appears more often!?)

Thank you!

Andre

Offline

#9 2011-01-19 13:11:59

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: [solved] loop module missing

That is odd are you saying linear module does not work either?

http://blog.ludovf.net/installing-arch- … iron-1564/

See if that helps


Mr Green

Offline

#10 2011-01-19 13:19:47

danan
Member
Registered: 2011-01-19
Posts: 30

Re: [solved] loop module missing

Mr Green wrote:

That is odd are you saying linear module does not work either?

OMG, this time I did the stupiest mistake ever. I overlooked that I dropped out of root environment and modprobe as user is imposible...

Sorry for bothering you!

Greetings, Andre

Offline

Board footer

Powered by FluxBB