From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Leena M." Subject: Re: [Xen-community] Can't boot dom0 ?? Date: Sat, 27 Mar 2010 17:21:25 +0530 Message-ID: References: <7094659f1003261135h612ac985x471cc92846afbf08@mail.gmail.com> <0722B099-4D75-425C-BD7F-1C31638BFD69@frasa.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1112330800==" Return-path: In-Reply-To: <0722B099-4D75-425C-BD7F-1C31638BFD69@frasa.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: Mark Frasa , xen-devel , xen-community@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1112330800== Content-Type: multipart/alternative; boundary=000e0cd1a93043f3980482c6e6c3 --000e0cd1a93043f3980482c6e6c3 Content-Type: text/plain; charset=ISO-8859-1 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 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." 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@frasa.net> 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@gmail.com> >> >>> ----------------- /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@lists.xensource.com >>> >>> http://lists.xensource.com/mailman/listinfo/xen-community >>> >>> >> > > > --000e0cd1a93043f3980482c6e6c3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I am not able to boot Xen , It gets stuck in=A0 run-level 5=A0 after Xencon= soled script is called.
it gives error soething like
Error: Error connecting to xend: No such file or d= irectory. Is xend running?

$ ls /boot/
config-2.6.18.8-xen=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 vmlinuz-2.6.18.8-xen
confi= g-2.6.31.5=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 vmlinuz-2.6.31.5
config-2.6.31.5-127.fc12.i686.PAE=A0=A0= =A0=A0=A0=A0=A0=A0 vmlinuz-2.6.31.5-127.fc12.i686.PAE
efi=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 xen-3.4.2.gz
grub=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 xen-3.4.3-rc4-pre.gz
initramfs-2.6.31.5-127.fc1= 2.i686.PAE.img=A0 xen-3.4.gz
initramfs-2.6.31.5.img=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 xen-3.gz
initrd-2.6.18.8-xen.img=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 xen.gz
System.map-2.6.18.8-xen=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 xen-syms-3.4.2
System.map-2.6.31.5=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 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 re= run grub after making changes to this file
# NOTICE:=A0 You do not have = a /boot partition.=A0 This means that
#=A0=A0=A0=A0=A0=A0=A0=A0=A0 all k= ernel and initrd paths are relative to /, eg.
#=A0=A0=A0=A0=A0=A0=A0=A0=A0 root (hd0,0)
#=A0=A0=A0=A0=A0=A0=A0=A0=A0 k= ernel /boot/vmlinuz-version ro root=3D/dev/sda1
#=A0=A0=A0=A0=A0=A0=A0= =A0=A0 initrd /boot/initrd-[generic-]version.img
#boot=3D/dev/sda
def= ault=3D0
timeout=3D5
splashimage=3D(hd0,0)/boot/grub/splash.xpm.gz # hiddenmenu

title Fedora (2.6.31.5 - my custom kernel)
=A0=A0 ro= ot (hd0,0)
=A0=A0 kernel /boot/vmlinuz-2.6.31.5 ro root=3DUUID=3D2f103b8= 4-46c2-4976-9391-8ac6f6f73181 ro console=3Dtty0
=A0=A0 initrd /boot/init= ramfs-2.6.31.5.img

title Xen 3.4 / XenLinux 2.6
=A0=A0 root (hd0,0)
=A0=A0 kernel /b= oot/xen-3.4.gz
=A0=A0 module /boot/vmlinuz-2.6.18.8-xen root=3DUUID=3D2f= 103b84-46c2-4976-9391-8ac6f6f73181 ro console=3Dtty0
=A0=A0 module /boot= /initrd-2.6.18.8-xen.img

title Fedora (2.6.31.5-127.fc12.i686.PAE)
=A0=A0 root (hd0,0)
=A0= =A0 kernel /boot/vmlinuz-2.6.31.5-127.fc12.i686.PAE ro root=3DUUID=3D2f103b= 84-46c2-4976-9391-8ac6f6f73181=A0 LANG=3Den_US.UTF-8 SYSFONT=3Dlatarcyrheb-= sun16 KEYBOARDTYPE=3Dpc KEYTABLE=3Dus rhgb quiet
=A0=A0 initrd /boot/initramfs-2.6.31.5-127.fc12.i686.PAE.img


Reg= ards,
/Leena

On Sat, Mar 27, 2010 at 1= 2:46 PM, Mark Frasa <mark@frasa.net> wrote:
Your kernel version should contain -xen

Can you paste the output from 'uname'
Verify that you boo= ted 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@gmail.com> het volg= ende geschreven:\

Thank you very much for your reply.

Kernel version =3D> 2.6= .18.8
OS =3D> 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 c= onfiguration needed ??


Please help me to get through this.
Regards,
Leena

On Sat, Mar 27, 2010 = at 12:05 AM, Mark Frasa <mark@frasa.net> wrote:
Some more info mi= ght be useful like:

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

It looks like you d= id 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 16= 56] DEBUG (XendDomain:387) number of vcpus to use is 0"

Give some more info an we might be able to help yo= u.


/Mark

2010/3/26 Leena M. <kernmonk@gmail= .com>
<= div>----------------- /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.recrea= te({'max_vcpu_id': 1, 'cpu_time': 11566217542L, 'ssidre= f': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying':= 0, 'online_vcpus': 2, 'domid': 0, 'paused': 0, = 9;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, U= UID 00000000-0000-0000-0000-000000000000. at /local/domain/0
[2010-03-16= 05:22:34 1656] DEBUG (XendDomainInfo:3067) Storing VM details: {'on_xe= nd_stop': 'ignore', 'shadow_memory': '0', '= uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot&#= 39;: 'restart', 'image': '(linux (kernel ))', '= on_poweroff': 'destroy', 'bootloader_args': '',= 'on_xend_start': 'ignore', 'on_crash': 'restar= t', 'xend/restart_count': '0', 'vcpus': '2&= #39;, 'vcpu_avail': '3', 'bootloader': '', = 'name': 'Domain-0'}
[2010-03-16 05:22:34 1656] DEBUG (XendDomainInfo:1629) Storing domain detai= ls: {'name': 'Domain-0', 'console/limit': '1048= 576', 'memory/target': '4003968', 'vm': '/v= m/00000000-0000-0000-0000-000000000000', 'domid': '0', = 'cpu/0/availability': 'online', 'cpu/1/availability'= ;: 'online', 'control/platform-feature-multiprocessor-suspend&#= 39;: '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=3D/var/lib/xend/= xend-socket
[2010-03-16 05:22:34 1656] DEBUG (XendDomainInfo:1716) XendDomainInfo.handl= eShutdownWatch
[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:7= 01) 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 c= all: event.get_record not found
[2010-03-16 05:22:34 1656] WARNING (Xend= API: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) A= PI 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.g= et_all not found
[2010-03-16 05:22:34 1656] INFO (XMLRPCServer:156) Open= ing Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock; authen= tication has been disabled for this server.
[2010-03-16 05:22:34 1656] INFO (XMLRPCServer:156) Opening Unix domain sock= et XML-RPC server on /var/run/xend/xmlrpc.sock.

--------------------= ---------------------------------------

Please also find the xend-co= nfig.sxp file.

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



Please help me , I am struggling with this for quite s= ome time now.


Regards,
Leena





_______________________________________________
Xen-community mailing list
= Xen-= community@lists.xensource.com
http://lists.xensource.com/mailman/listinfo/x= en-community



<config-2.= 6.18.8-xen>

--000e0cd1a93043f3980482c6e6c3-- --===============1112330800== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============1112330800==--