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

RE: [Xen-users] Re-occuring error trying to set up first DOM


  • To: "'Fajar A. Nugraha'" <fajar@xxxxxxxxx>
  • From: Tom Potwin <wxman2@xxxxxxxxx>
  • Date: Mon, 5 Apr 2010 12:27:38 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 05 Apr 2010 09:28:57 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=reply-to:from:to:cc:references:in-reply-to:subject:date :organization:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:x-mimeole:thread-index; b=JwDLHSH1ougCTgRY9bvh56r3YbwNn11pEZxtgWTgxCwAG0x4iK7tTdTd2ObhK9Ybgs 3/AXNwIG6f/i6qAz7zh7khqFvWM0No5IWv0kyyevkbfVoHJfEW3yHC+D3/Gvb6P70x0d ZbaerkKhHllYSpULQ2FKTgiLb1fmY65DouE8U=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcrUiOedJIroVroKRh+XlZYwiXHCSQAUhtGg

Hi

Thanks for the response. When I first installed it, I turned on the
backports. What I've tried now is shutting them back off, completely
uninstalling the whole thing, then reinstalled it. After a reboot, and
running the same xen-create-image, I checked lvdisplay and it showed the two
new LV's. Then, when I ran xm create /etc/xen/test1.test.com.cfg I get:
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

After a web search I found this solution in the comments at
http://www.debian-administration.org/articles/396:

Now if you try to boot a domU it will fail with:
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

You need to link the xen-backend.rules file in /etc/udev from
/etc/udev/rules.d -
cd /etc/udev/rules.d ; ln -s ../xen-backend.rules xen-backend.rules

This will make the vif error go away, now you'll be getting cannot mount fs
errors, unknown block device. This is because the initrd is now required for
your domU to boot, so add this to your domU config file(s):
ramdisk = "/boot/initrd.img-2.6.16-2-xen-686"


After reading that, I uninstalled/reinstalled to start fresh. This time I
made the fixes as I went. Now it's working perfectly.

Tom


-----Original Message-----
From: Fajar A. Nugraha [mailto:fajar@xxxxxxxxx] 
Sent: Monday, April 05, 2010 2:06 AM
To: littimes@xxxxxxx
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re-occuring error trying to set up first DOM

On Wed, Mar 31, 2010 at 4:20 AM, Tom Potwin <wxman2@xxxxxxxxx> wrote:
> Hello,
>
> I'm running Ubuntu 8.04 server that I've been testing out using LVM 
> based xen virtual servers. The install went as it should, then I made 
> my first test image using:
> xen-create-image --hostname=test1.test.com --lvm=vg0 --size=10Gb 
> --swap=1Gb
> --ip=192.168.31.231 --force --memory=50Mb --arch=amd64 --debootstrap
>
> After it finishes I use xm create to start the virtual machine but I 
> keep
> getting:
> Error: (38, 'Function not implemented')
>
> I even tried uninstalling, then reinstalling xen but that didn't help. 
> Has anyone seen this before, or know how to take care of it?

I'm guessing you use Ubuntu's bundled version of Xen?
There were some problems reported on this list when using Ubuntu's version.
Try building from source downloaded from
http://www.xen.org/products/xen_source.html

If you don't know how to build from source, then the easiest way to gen xen
working is to use a Linux distro which has good xen version bundled and
supported, and widely used. Centos or opensuse (with latest updates) should
be a good choice.

--
Fajar


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