Hi,
I have recently installed Xen 3.1 under CentOS 5.1 (x86_64), with a single
domain also running CentOS 5.1 (i386). It has been running fine for about 20
hours then all of a sudden is just crashed and rebooted itself. In
/var/log/xend.log I have the following :-
[2008-02-10 18:55:39 xend.XendDomainInfo 7773] DEBUG (XendDomainInfo:791)
Storing domain details: {''console/ring-ref'':
''1514691'', ''console/port'':
''2'', ''name'': ''zimbra'',
''console/limit'': ''1048576'',
''vm'':
''/vm/3bdf13f4-e740-7bb0-9736-6e676fd5fabf'',
''domid'': ''2'',
''cpu/0/availability'': ''online'',
''memory/target'': ''2097152'',
''store/ring-ref'': ''1514692'',
''store/port'': ''1''}
[2008-02-10 18:55:39 xend.XendDomainInfo 7773] DEBUG (XendDomainInfo:988)
XendDomainInfo.handleShutdownWatch
[2008-02-11 18:07:00 xend.XendDomainInfo 7773] WARNING (XendDomainInfo:923)
Domain has crashed: name=zimbra id=2.
[2008-02-11 18:07:00 xend.XendDomainInfo 7773] DEBUG (XendDomainInfo:1566)
XendDomainInfo.destroyDomain(2)
[2008-02-11 18:07:00 xend.XendDomainInfo 7773] DEBUG (XendDomainInfo:200)
XendDomainInfo.create([''domain'', [''domid'',
2], [''uuid'',
''3bdf13f4-e740-7bb0-9736-6e676fd5fabf''],
[''vcpus'', 1], [''vcpu_avail'', 1],
[''cpu_weight'', 1.0], [''memory'', 2048],
[''shadow_memory'', 0], [''maxmem'', 2048],
[''bootloader'', ''/usr/bin/pygrub''],
[''features'', ''''], [''name'',
''zimbra''], [''on_poweroff'',
''destroy''], [''on_reboot'',
''restart''], [''on_crash'',
''restart''], [''image'',
[''linux'', [''ramdisk'',
''/var/lib/xen/boot_ramdisk.c5uHI-''],
[''kernel'',
''/var/lib/xen/boot_kernel.mygZw8''], [''args'',
''ro root=/dev/VolGroup00/LogVol00 console=xvc0'']]],
[''device'', [''vif'',
[''backend'', 0], [''script'',
''vif-bridge''], [''bridge'',
''xenbr0''], [''mac'',
''00:16:3e:1e:ed:2e'']]], [''device'',
[''tap'', [''backend'', 0],
[''dev'', ''xvda:disk''],
[''uname'', ''tap:aio:/data/xen/zimbra.img''],
[''mode'', ''w'']]], [''state'',
''----c-''], [''shutdown_reason'',
''crash''], [''cpu_time'', 9454.3260208690008],
[''online_vcpus'', 1], [''up_time'',
''83480.861249''], [''start_time'',
''1202669739.67''], [''store_mfn'', 1514692],
[''console_mfn'', 1514691]])
Any ideas why it just crashed ?
Regards,
--
--[ UxBoD ]--
// PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import"
// Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84
// Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84
// Phone: +44 845 869 2749 SIP Phone: uxbod@sip.splatnix.net
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
This is what I have in my config file :- name = "zimbra" uuid = "3bdf13f4-e740-7bb0-9736-6e676fd5fabf" maxmem = 2048 memory = 2048 vcpus = 1 bootloader = "/usr/bin/pygrub" on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" vfb = [ ] disk = [ "tap:aio:/data/xen/zimbra.img,xvda,w" ] vif = [ "mac=00:16:3e:1e:ed:2e,bridge=xenbr0" ] Regards, -- --[ UxBoD ]-- // PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import" // Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84 // Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84 // Phone: +44 845 869 2749 SIP Phone: uxbod@sip.splatnix.net ----- "--[ UxBoD ]--" <uxbod@splatnix.net> wrote:> Hi, > > I have recently installed Xen 3.1 under CentOS 5.1 (x86_64), with a > single domain also running CentOS 5.1 (i386). It has been running > fine for about 20 hours then all of a sudden is just crashed and > rebooted itself. In /var/log/xend.log I have the following :- > > [2008-02-10 18:55:39 xend.XendDomainInfo 7773] DEBUG > (XendDomainInfo:791) Storing domain details: {''console/ring-ref'': > ''1514691'', ''console/port'': ''2'', ''name'': ''zimbra'', ''console/limit'': > ''1048576'', ''vm'': ''/vm/3bdf13f4-e740-7bb0-9736-6e676fd5fabf'', ''domid'': > ''2'', ''cpu/0/availability'': ''online'', ''memory/target'': ''2097152'', > ''store/ring-ref'': ''1514692'', ''store/port'': ''1''} > [2008-02-10 18:55:39 xend.XendDomainInfo 7773] DEBUG > (XendDomainInfo:988) XendDomainInfo.handleShutdownWatch > [2008-02-11 18:07:00 xend.XendDomainInfo 7773] WARNING > (XendDomainInfo:923) Domain has crashed: name=zimbra id=2. > [2008-02-11 18:07:00 xend.XendDomainInfo 7773] DEBUG > (XendDomainInfo:1566) XendDomainInfo.destroyDomain(2) > [2008-02-11 18:07:00 xend.XendDomainInfo 7773] DEBUG > (XendDomainInfo:200) XendDomainInfo.create([''domain'', [''domid'', 2], > [''uuid'', ''3bdf13f4-e740-7bb0-9736-6e676fd5fabf''], [''vcpus'', 1], > [''vcpu_avail'', 1], [''cpu_weight'', 1.0], [''memory'', 2048], > [''shadow_memory'', 0], [''maxmem'', 2048], [''bootloader'', > ''/usr/bin/pygrub''], [''features'', ''''], [''name'', ''zimbra''], > [''on_poweroff'', ''destroy''], [''on_reboot'', ''restart''], [''on_crash'', > ''restart''], [''image'', [''linux'', [''ramdisk'', > ''/var/lib/xen/boot_ramdisk.c5uHI-''], [''kernel'', > ''/var/lib/xen/boot_kernel.mygZw8''], [''args'', ''ro > root=/dev/VolGroup00/LogVol00 console=xvc0'']]], [''device'', [''vif'', > [''backend'', 0], [''script'', ''vif-bridge''], [''bridge'', ''xenbr0''], > [''mac'', ''00:16:3e:1e:ed:2e'']]], [''device'', [''tap'', [''backend'', 0], > [''dev'', ''xvda:disk''], [''uname'', ''tap:aio:/data/xen/zimbra.img''], > [''mode'', ''w'']]], [''state'', ''----c-''], [''shutdown_reason'', ''crash''], > [''cpu_time'', 9454.3260208690008], [''online_vcpus'', 1], [''up_time'', > ''83480.861249''], [''start_time'', ''1202669739.67''], [''store_mfn'', > 1514692], [''console_mfn'', 1514691]]) > > Any ideas why it just crashed ? > > Regards,-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hmmm. Been doing some reading and it could be because I am using SMP and how the CPUs are being allocated. I have tried to set Dom0 to only use one CPU by setting :- # In SMP system, dom0 will use dom0-cpus # of CPUS # If dom0-cpus = 0, dom0 will take all cpus available (dom0-cpus 1) But when I look at the xm dmesg I get :- (XEN) CPU0: AMD Opteron(tm) Processor 250 stepping 0a (XEN) Mapping cpu 0 to node 255 (XEN) Mapping cpu 1 to node 255 (XEN) CPU1: AMD Opteron(tm) Processor 250 stepping 0a (XEN) Brought up 2 CPUs (XEN) Dom0 has maximum 2 VCPUs then xm vcpu-list gives :- Name ID VCPUs CPU State Time(s) CPU Affinity Domain-0 0 0 0 r-- 2671.5 any cpu Domain-0 0 1 - --p 17.7 0 zimbra 3 0 1 -b- 858.7 1 Does this all look correct ? I believe that Domain-0 is now pinned to CPU 0 and zimbra is pinned to CPU 1. What is the first Domain-0 line telling me? Regards, -- --[ UxBoD ]-- // PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import" // Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84 // Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84 // Phone: +44 845 869 2749 SIP Phone: uxbod@sip.splatnix.net ----- "--[ UxBoD ]--" <uxbod@splatnix.net> wrote:> This is what I have in my config file :- > > name = "zimbra" > uuid = "3bdf13f4-e740-7bb0-9736-6e676fd5fabf" > maxmem = 2048 > memory = 2048 > vcpus = 1 > bootloader = "/usr/bin/pygrub" > on_poweroff = "destroy" > on_reboot = "restart" > on_crash = "restart" > vfb = [ ] > disk = [ "tap:aio:/data/xen/zimbra.img,xvda,w" ] > vif = [ "mac=00:16:3e:1e:ed:2e,bridge=xenbr0" ] > > > Regards,-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I assume that you are using the xen packages shipped by CentOS/REDHAT. You are trying to install a para virtualized 32 bit guest on a 64 bit dom0. Support for 32bit PV in 64 bit dom0 in RHEL/CentOS 5.1is a bit broken which has been release documented. If you have patience, then wait for RHEL-5.2 which supports in a reliable way. Or go for self compilation of 3.2 upstream. --Sadique --[ UxBoD ]-- wrote:> Hi, > > I have recently installed Xen 3.1 under CentOS 5.1 (x86_64), with a single domain also running CentOS 5.1 (i386). It has been running fine for about 20 hours then all of a sudden is just crashed and rebooted itself. In /var/log/xend.log I have the following :- > > [2008-02-10 18:55:39 xend.XendDomainInfo 7773] DEBUG (XendDomainInfo:791) Storing domain details: {''console/ring-ref'': ''1514691'', ''console/port'': ''2'', ''name'': ''zimbra'', ''console/limit'': ''1048576'', ''vm'': ''/vm/3bdf13f4-e740-7bb0-9736-6e676fd5fabf'', ''domid'': ''2'', ''cpu/0/availability'': ''online'', ''memory/target'': ''2097152'', ''store/ring-ref'': ''1514692'', ''store/port'': ''1''} > [2008-02-10 18:55:39 xend.XendDomainInfo 7773] DEBUG (XendDomainInfo:988) XendDomainInfo.handleShutdownWatch > [2008-02-11 18:07:00 xend.XendDomainInfo 7773] WARNING (XendDomainInfo:923) Domain has crashed: name=zimbra id=2. > [2008-02-11 18:07:00 xend.XendDomainInfo 7773] DEBUG (XendDomainInfo:1566) XendDomainInfo.destroyDomain(2) > [2008-02-11 18:07:00 xend.XendDomainInfo 7773] DEBUG (XendDomainInfo:200) XendDomainInfo.create([''domain'', [''domid'', 2], [''uuid'', ''3bdf13f4-e740-7bb0-9736-6e676fd5fabf''], [''vcpus'', 1], [''vcpu_avail'', 1], [''cpu_weight'', 1.0], [''memory'', 2048], [''shadow_memory'', 0], [''maxmem'', 2048], [''bootloader'', ''/usr/bin/pygrub''], [''features'', ''''], [''name'', ''zimbra''], [''on_poweroff'', ''destroy''], [''on_reboot'', ''restart''], [''on_crash'', ''restart''], [''image'', [''linux'', [''ramdisk'', ''/var/lib/xen/boot_ramdisk.c5uHI-''], [''kernel'', ''/var/lib/xen/boot_kernel.mygZw8''], [''args'', ''ro root=/dev/VolGroup00/LogVol00 console=xvc0'']]], [''device'', [''vif'', [''backend'', 0], [''script'', ''vif-bridge''], [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:1e:ed:2e'']]], [''device'', [''tap'', [''backend'', 0], [''dev'', ''xvda:disk''], [''uname'', ''tap:aio:/data/xen/zimbra.img''], [''mode'', ''w'']]], [''state'', ''----c-''], [''shutdown_reason'', ''crash''], [''cpu_time'', 9454.3260208690008], [''online_vcpus'', 1], [''up_time'', ''83480.861249''], [''start_time'', ''1202669739.67''], [''store_mfn'', 1514692], [''console_mfn'', 1514691]]) > > Any ideas why it just crashed ? > > Regards, > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
What is the timescale on RHEL 5.2 ? Thanks for your help. Regards, -- --[ UxBoD ]-- // PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import" // Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84 // Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84 // Phone: +44 845 869 2749 SIP Phone: uxbod@sip.splatnix.net ----- "Sadique Puthen" <sputhenp@redhat.com> wrote:> I assume that you are using the xen packages shipped by CentOS/REDHAT. > > You are trying to install a para virtualized 32 bit guest on a 64 bit > > dom0. Support for 32bit PV in 64 bit dom0 in RHEL/CentOS 5.1is a bit > broken which has been release documented. > > If you have patience, then wait for RHEL-5.2 which supports in a > reliable way. Or go for self compilation of 3.2 upstream.-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users