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

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

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] how to add loop device support to domU?
From: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Date: Mon, 7 Sep 2009 07:26:33 +0200
Delivery-date: Sun, 06 Sep 2009 22:27:17 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=VODYxN8hT4e5/ktFpj4oYzj0YJq8ynlzi2Bo8Z6DMQg=; b=jr2QrxCWVIBgP9aoRRxFvz/0rSloZxWdoXKF7PoPFOMOcTy/ppJycv6A8vux3o3k0y x38ENxzkG8+qFbF2NydsoUPJnCXA8tFa7F9bWNIpm4mpBUXjPGcOjpudeiSuLfAArCP/ o5knACkB3HkNOrMDv0WDfP6E0e3qKp6XyM8ps=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=VZ9a4gVOC71HNj5txSbCstRBx9BDguxJEIDfgDtH3GljTehokSKrPkC2RfWgLWFwdD kZ8k0PiGwV4rAhoLibxdb80MBTQxGWvTbpJk33Ft99oT3z0xrGcp9+8wf4pD4SpJV180 VO7Wz/EuyAA7VwEL3NM5TERWPWIIQUr9koLrY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I need to mount some stuff with the loop device inside a domU, and see
that it doesn't have a loop device:

root@mars:[~]$ mount -o loop,noexec,nosuid,rw /.tmpfs /tmp
mount: Could not find any loop device. Maybe this kernel does not know
       about the loop device? (If so, recompile or `modprobe loop'.)

So, I try to modprobe the loop device, but can't.


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


It seems like I need the kernel-headers, but when I try and install
them, I see that I have the wrong kernel loaded, and take it that this
comes directly from the XEN dom0.

So, the question is, how would I be able to get the kernel-dev header
for 2.6.18-128.4.1.el5xen installed inside the domU?

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