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

RE: [Xen-users] Loop module not loaded



Hi,

 

On debian you need to create or open

 

/etc/modprobe.d/local-loop

 

and add

 

options loop max_loop=128

 

I assume it’s the same for Ubuntu, reboot when complete

 

Thanks

 

Ian

 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Wenda Ni
Sent: 18 January 2011 22:53
To: xen-users@xxxxxxxxxxxxxxxxxxx
Cc: Yiying Zhang
Subject: [Xen-users] Loop module not loaded

 

Hi,

When I create a guest VM image using "sudo xen-create-image --hostname=XX --ide --force --dir=XXX --ip=X.X.X.X"

I got the warning that "loopback module is not loaded, and you are using loopback images. Run the following to load the module:

modprobe loop max_loop=255"

I typed "modprobe loop max_loop=255" according to the instructions, but it does not work. So My first question is how to load the loop module? My host OS is Ubuntu 10.10 Maverick
.


Next, when I start the VM using "sudo xm create -c /etc/xen/XX.cfg".

It gives me the alert that "/dev/hda2 does not exist. Dropping to a shell!"

My feeling is that these are the related problems. I hope someone can shed some light on how to solve it.


Thanks a lot!!!



On Tue, Jan 18, 2011 at 7:45 AM, Gábor Szarka <gsx1022@xxxxxxxxx> wrote:

Hi,

you have to install the libfile-slurp-perl package.

Gábor Szarka


2011/1/18 Wenda Ni <wonda.ni@gmail.com>
>

> I am now able to  see Domain-0 VM.
>
> But i create a guest image using " sudo xen-create-image --hostname=xen1.example.com --idle --force --dir=/vm1 --ip=X.X.X.X "
> I encounter the following error messages.
>
> Can't locate File/Slurp.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/xt-guess-suite-and-mirror line 73.
>
> What is the problem now?
>
>
> Thanks
>
> On Sun, Jan 16, 2011 at 1:38 AM, Lv Yi Fu <tonylyf@xxxxxxxx> wrote:
>>
>>
>> --- 11116日,周日, Lv Yi Fu <tonylyf@xxxxxxxx> 写道:
>>
>> 发件人: Lv Yi Fu <tonylyf@xxxxxxxx>
>> 主题: some problem on install xen 4.0.1 on ubuntu 10.10
>> 收件人: xen-users@xxxxxxxxxxxxxxxxxxx
>> 日期: 2011116,周日,下午1:41
>>
>> Does some one have the .config file about 2.6.32.27-pv kernel?
>>
>>
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>
>
>
> --
> Cheers,
>
> Wenda Ni, Ph.D.
> Dept. of Computer Science and Engineering
> State University of New York (SUNY) at Buffalo
> T: 716 982 6746
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users




--

Cheers,

 

Wenda Ni, Ph.D.

Dept. of Computer Science and Engineering

State University of New York (SUNY) at Buffalo

T: 716 982 6746

 

_______________________________________________
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®.