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

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


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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