WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-community

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

On Sat, Mar 27, 2010 at 05:21:25PM +0530, Leena M. wrote:
>    I am not able to boot Xen , It gets stuck in  run-level 5  after
>    Xenconsoled script is called.

So the problem is in dom0, not actually in Xen.

>    it gives error soething like
>    Error: Error connecting to xend: No such file or directory. Is xend
>    running?
> 

So that means xend is not running.

Do you have xen-evtchn driver module loaded? Do you have xenfs mounted to 
/proc/xen? 
Do you have files in /proc/xen/ directory? 

See this wiki page for more information about troubleshooting pv_ops dom0 
kernel:
http://wiki.xensource.com/xenwiki/XenParavirtOps

Also I recommend you to upgrade to later version of pv_ops dom0 kernel,
2.6.31.5 is pretty old already and many many bugs have been fixed after that.

-- Pasi

>    $ 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 <[1]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." <[2]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 <[3]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. <[4]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
>            [5]Xen-community@xxxxxxxxxxxxxxxxxxx
>            [6]http://lists.xensource.com/mailman/listinfo/xen-community
> 
>        <config-2.6.18.8-xen>
> 
> References
> 
>    Visible links
>    1. mailto:mark@xxxxxxxxx
>    2. mailto:kernmonk@xxxxxxxxx
>    3. mailto:mark@xxxxxxxxx
>    4. mailto:kernmonk@xxxxxxxxx
>    5. mailto:Xen-community@xxxxxxxxxxxxxxxxxxx
>    6. http://lists.xensource.com/mailman/listinfo/xen-community

> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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

<Prev in Thread] Current Thread [Next in Thread>