[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] how to add loop device support to domU?



On Mon, Sep 7, 2009 at 12:26 PM, Rudi Ahlers<Rudi@xxxxxxxxxxx> wrote:

> root@mars:[~]$ modprobe loop
> FATAL: Could not load /lib/modules/2.6.18-128.4.1.el5xen/modules.dep:
> No such file or directory
>
>
> root@mars:[~]$ uname -a
> Linux mars.softdux.com 2.6.18-128.4.1.el5xen #1 SMP Tue Aug 4 20:51:12
> EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Looks like RHEL/Centos5 kernel? If so, the loop module is already
compiled as a module. You just need to put it at the right place.
Here's from mine:

# uname -a
Linux eoffice03 2.6.18-128.1.10.el5xen #1 SMP Wed Apr 29 14:24:51 EDT
2009 x86_64 x86_64 x86_64 GNU/Linux
# modinfo loop
filename:       /lib/modules/2.6.18-128.1.10.el5xen/kernel/drivers/block/loop.ko
alias:          block-major-7-*
license:        GPL
srcversion:     82DB6DB3DABF3B945D6394D
depends:
vermagic:       2.6.18-128.1.10.el5xen SMP mod_unload gcc-4.1
parm:           max_loop:Maximum number of loop devices (1-256) (int)

My guess is your domU was created manually, and whoever created it
forgot to copy  /lib/modules/2.6.18-128.4.1.el5xen directory.

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.