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

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


  • To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Rudi Ahlers <Rudi@xxxxxxxxxxx>
  • Date: Mon, 7 Sep 2009 07:26:33 +0200
  • Delivery-date: Sun, 06 Sep 2009 22:27:17 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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