WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Subject: Re: [Xen-users] how to add loop device support to domU?
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 7 Sep 2009 12:31:27 +0700
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 06 Sep 2009 22:32:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <695200da0909062226g2950ea48rd994e5bb2d35d72a@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <695200da0909062226g2950ea48rd994e5bb2d35d72a@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>