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

Re: [Xen-users] Xen on EC2 | Debian Squeeze AMD 64



>From my experience with squeeze, this sounds like it isn't loading the qemu-dm portion.  Can you post a copy of your /boot/grub/grub.cfg? 

Thanks
Shane

On Thu, Apr 19, 2012 at 9:28 AM, Xavier Cardil <cardil.xavier@xxxxxxxxx> wrote:
Hello Shane ! Yes, all packages installed. Is Xen-4.0-amd64.gz a bootable kernel ? Right now, the system si booting this one :  vmlinuz-2.6.32-5-xen-amd64  and this initrd:  initrd.img-2.6.32-5-xen-amd64  as you can see on the menu.lst file.

On Thu, Apr 19, 2012 at 4:48 PM, Shane Johnson <sdj@xxxxxxxxxxxxxxxxxxxxxx> wrote:
Xavier,
First place I would start it running the following : 
aptitude search xen-utils
Make sure xen-utils is installed (i in the far left column)
aptitude search qemu-dm
again making sure the package is installed.

If both packages are installed I would make sure you are booting off the the version that says : 
Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 4.0-amd64

Shane


On Thu, Apr 19, 2012 at 6:07 AM, Xavier Cardil <xavier@xxxxxxxx> wrote:
Hello ! I'm trying to run Xen on a EC2 AMI 


debian-6.0-squeeze-base-x86_64-20110417 (ami-35b68141)



After installing the packages, I get : 

uname -a 
Linux ip-10-241-22-60 2.6.32-5-xen-amd64 #1 SMP Tue Mar 8 00:01:30 UTC 2011 x86_64 GNU/Linux

uname -r
2.6.32-5-xen-amd64

Then I do : mv /etc/grub.d/10_linux /etc/grub.d/50_linux
update-grub2


After I reboot but I get this when calling xm : 

xm dmesg                                                
WARING!  Can't find version 3.4 of xen utils, fallback to default version!
Error: Unable to connect to xend: No such file or directory. Is xend running?

When I execute xend I get : 

xend 
WARING!  Can't find version 3.4 of xen utils, fallback to default version!
ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory)
Traceback (most recent call last):
  File "/usr/lib/xen-default/bin/xend", line 38, in <module>
    from xen.xend.server import SrvDaemon
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvDaemon.py", line 26, in <module>
    import relocate
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/relocate.py", line 28, in <module>
    from xen.xend import XendDomain
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 36, in <module>
    from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendCheckpoint.py", line 20, in <module>
    from xen.xend import balloon, sxp, image
  File "/usr/lib/xen-4.0/lib/python/xen/xend/image.py", line 46, in <module>
    xc = xen.lowlevel.xc.xc()
xen.lowlevel.xc.Error: (1, 'Internal error', 'Could not obtain handle on privileged command interface (2 = No such file or directory)')


Does this has to do with the kernel I'm booting ?

My /boot looks like this : 

System.map-2.6.32-5-xen-amd64  

initrd.img-2.6.32-5-xen-amd64

config-2.6.32-5-xen-amd64      

vmlinuz-2.6.32-5-xen-amd64

grub                           

xen-4.0-amd64.gz

And my menu.lst looks like this : 

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/40_custom ###
default 0
timeout 1
title 2.6.32-5-xen-amd64
  root (hd0)
  kernel /boot/vmlinuz-2.6.32-5-xen-amd64 root=/dev/xvda1 ro
  initrd /boot/initrd.img-2.6.32-5-xen-amd64
### END /etc/grub.d/40_custom ###


I have been trying to get around this but ... nothing works ! 

Any help would be much appreciated, thanks in advance !

-Xavier











_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users



--
Shane D. Johnson
IT Administrator
Rasmussen Equipment






--
Shane D. Johnson
IT Administrator
Rasmussen Equipment


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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