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: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] how to add loop device support to domU?
From: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Date: Mon, 7 Sep 2009 16:44:30 +0200
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 07 Sep 2009 07:51:41 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=VOZ5hqhLlLCqGWM1tGVjs7h65QllP1SUeDO/Q3Jdqog=; b=PXGS28lJzTSDCmdPeJPO2rbJBFMcrCEcgE9CdTlN71Ke+Vf9WnRcRXw+DxOUSCY6rt 51Pwfs3FF/o1tLvO2jq7M/xO6BK133UhyzPWVz9kDcZg5XnORfoedFzOtJiXT8/vpvg5 SOTmj4ic+WW2ikrP/Sxw1cTzW/7AE+8mvE4Ro=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=OBGZnAluzxDed9OzKiXltP0K0YTczTuXWbDZkDfq6vMpsOlR12YLKhZ9ZOK9Raoo4N z2Vv9TtQW9GeCMF6YmL4BfqUV8GRBQpdTtOHPTlcedeT3SbqyxrZUUDYvHxkPsIAvvqb FTZE9iSGyFI02IPTmyBd/rHZo0wEhJzR/rGl4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0909062231k33794e76p450a172c76e4b766@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> <7207d96f0909062231k33794e76p450a172c76e4b766@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Sep 7, 2009 at 7:31 AM, Fajar A. Nugraha<fajar@xxxxxxxxx> wrote:
> 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
>

Hi Fajar,

I'm using the Stacklet.com images, so they are pre-created.

The question is, how do I get the correct XEN kernel headers into the
domU, since it's using a different kernel than the dom0 and yum won't
install the older version


-- 
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532

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

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