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

Re: [Xen-community] Can't boot dom0 ??


  • To: Mark Frasa <mark@xxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-community@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Leena M." <kernmonk@xxxxxxxxx>
  • Date: Sat, 27 Mar 2010 17:21:25 +0530
  • Cc:
  • Delivery-date: Sat, 27 Mar 2010 04:51:50 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=fwM7AAabA09nuENlf63Rj4XGhbQX24tT0Z1BFXdmNIYS14UjO36MWB+dXAIEM/XPMg gW4CHiUV2zpJ8gHbVESKBJbkm+9/X0Frc01PvG9KQoFAm1oEZVhcY7nczkHa2SjH6biW Nd4v6lffN7fiKTDGlWJtE5mJ3OZ4qurVW4RxM=
  • List-id: Community Discussion <xen-community.lists.xensource.com>

I am not able to boot Xen , It gets stuck in  run-level 5  after Xenconsoled script is called.
it gives error soething like
Error: Error connecting to xend: No such file or directory. Is xend running?

$ ls /boot/
config-2.6.18.8-xen                       vmlinuz-2.6.18.8-xen
config-2.6.31.5                           vmlinuz-2.6.31.5
config-2.6.31.5-127.fc12.i686.PAE         vmlinuz-2.6.31.5-127.fc12.i686.PAE
efi                                       xen-3.4.2.gz
grub                                      xen-3.4.3-rc4-pre.gz
initramfs-2.6.31.5-127.fc12.i686.PAE.img  xen-3.4.gz
initramfs-2.6.31.5.img                    xen-3.gz
initrd-2.6.18.8-xen.img                   xen.gz
System.map-2.6.18.8-xen                   xen-syms-3.4.2
System.map-2.6.31.5                       xen-syms-3.4.3-rc4-pre
System.map-2.6.31.5-127.fc12.i686.PAE

[onkar@localhost boot]$ uname -a
Linux localhost.localdomain 2.6.31.5 #2 SMP Wed Mar 10 07:27:18 IST 2010 i686 i686 i386 GNU/Linux


--------------------------------menu.lst ---------------------------------------------------------------------
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,0)
#          kernel /boot/vmlinuz-version ro root=/dev/sda1
#          initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
# hiddenmenu

title Fedora (2.6.31.5 - my custom kernel)
   root (hd0,0)
   kernel /boot/vmlinuz-2.6.31.5 ro root=UUID=2f103b84-46c2-4976-9391-8ac6f6f73181 ro console=tty0
   initrd /boot/initramfs-2.6.31.5.img

title Xen 3.4 / XenLinux 2.6
   root (hd0,0)
   kernel /boot/xen-3.4.gz
   module /boot/vmlinuz-2.6.18.8-xen root=UUID=2f103b84-46c2-4976-9391-8ac6f6f73181 ro console=tty0
   module /boot/initrd-2.6.18.8-xen.img

title Fedora (2.6.31.5-127.fc12.i686.PAE)
   root (hd0,0)
   kernel /boot/vmlinuz-2.6.31.5-127.fc12.i686.PAE ro root=UUID=2f103b84-46c2-4976-9391-8ac6f6f73181  LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
   initrd /boot/initramfs-2.6.31.5-127.fc12.i686.PAE.img


Regards,
/Leena

On Sat, Mar 27, 2010 at 12:46 PM, Mark Frasa <mark@xxxxxxxxx> wrote:
Your kernel version should contain -xen

Can you paste the output from 'uname'
Verify that you booted a xen kernel, cuz the steps you followed do not include copy the kernel to /boot neither checking grub.

/Mark

Op 27 mrt 2010 om 04:25 heeft "Leena M." <kernmonk@xxxxxxxxx> het volgende geschreven:\

Thank you very much for your reply.

Kernel version => 2.6.18.8
OS => Linux
configuration file is attached.

Steps I followed :

make world
make install
copy initrd image to /boot/
reboot
Is there any xend configuration needed ?
Is there any dom0 configuration needed ??


Please help me to get through this.

Regards,
Leena

On Sat, Mar 27, 2010 at 12:05 AM, Mark Frasa <mark@xxxxxxxxx> wrote:
Some more info might be useful like:

 - Your kernel version
 - The OS you are running
 - Xen version that is installed
 - etc..

It looks like you did not boot into a xen-kernel, but it might be too early to tell.
At least this line is suspicious:


"[2010-03-16 05:22:34 1656] DEBUG (XendDomain:387) number of vcpus to use is 0"

Give some more info an we might be able to help you.


/Mark

2010/3/26 Leena M. <kernmonk@xxxxxxxxx>
----------------- /var/log/xen/xend.log ----------------------


[2010-03-16 05:22:34 1656] INFO (SrvDaemon:332) Xend Daemon started
[2010-03-16 05:22:34 1656] INFO (SrvDaemon:336) Xend changeset: Tue Mar 02 19:22:22 2010 +0000 19913:6063c16aeeaa.
[2010-03-16 05:22:34 1656] DEBUG (XendDomainInfo:140) XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 11566217542L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 4294967292L, 'shutdown': 0, 'mem_kb': 4003968L, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name': 'Domain-0'})
[2010-03-16 05:22:34 1656] INFO (XendDomainInfo:158) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
[2010-03-16 05:22:34 1656] DEBUG (XendDomainInfo:3067) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'image': '(linux (kernel ))', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'bootloader': '', 'name': 'Domain-0'}
[2010-03-16 05:22:34 1656] DEBUG (XendDomainInfo:1629) Storing domain details: {'name': 'Domain-0', 'console/limit': '1048576', 'memory/target': '4003968', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0', 'cpu/0/availability': 'online', 'cpu/1/availability': 'online', 'control/platform-feature-multiprocessor-suspend': '1', 'console/type': 'xenconsoled'}
[2010-03-16 05:22:34 1656] DEBUG (XendDomain:453) Adding Domain: 0
[2010-03-16 05:22:34 1656] DEBUG (XendDomain:387) number of vcpus to use is 0
[2010-03-16 05:22:34 1656] INFO (SrvServer:177) unix path=/var/lib/xend/xend-socket
[2010-03-16 05:22:34 1656] DEBUG (XendDomainInfo:1716) XendDomainInfo.handleShutdownWatch
[2010-03-16 05:22:34 1656] WARNING (XendAPI:701) API call: VBD.set_device not found
[2010-03-16 05:22:34 1656] WARNING (XendAPI:701) API call: VBD.set_type not found
[2010-03-16 05:22:34 1656] WARNING (XendAPI:701) API call: session.get_all_records not found
[2010-03-16 05:22:34 1656] WARNING (XendAPI:701) API call: event.get_record not found
[2010-03-16 05:22:34 1656] WARNING (XendAPI:701) API call: event.get_all not found
[2010-03-16 05:22:34 1656] WARNING (XendAPI:701) API call: VIF.get_network not found
[2010-03-16 05:22:34 1656] WARNING (XendAPI:701) API call: VIF.set_device not found
[2010-03-16 05:22:34 1656] WARNING (XendAPI:701) API call: VIF.set_MAC not found
[2010-03-16 05:22:34 1656] WARNING (XendAPI:701) API call: VIF.set_MTU not found
[2010-03-16 05:22:34 1656] WARNING (XendAPI:701) API call: debug.get_all not found
[2010-03-16 05:22:34 1656] INFO (XMLRPCServer:156) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled for this server.
[2010-03-16 05:22:34 1656] INFO (XMLRPCServer:156) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock.

-----------------------------------------------------------

Please also find the xend-config.sxp file.

on booting last message I get on boot screen is
xenconsoled daemon ... [ok]
 "xend: No such file or directory. Is xend running?"



Please help me , I am struggling with this for quite some time now.


Regards,
Leena





_______________________________________________
Xen-community mailing list
Xen-community@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-community



<config-2.6.18.8-xen>

_______________________________________________
Xen-community mailing list
Xen-community@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-community

 


Rackspace

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