All of lore.kernel.org
 help / color / mirror / Atom feed
* Xen virtual machine crash
@ 2005-03-23 20:47 MagicalTux (admin)
  0 siblings, 0 replies; 3+ messages in thread
From: MagicalTux (admin) @ 2005-03-23 20:47 UTC (permalink / raw)
  To: xen-devel

Hi!

I just noticed a crash..

When a userlevel application (running as "nobody") tries to resize an
incomplete image file using libimagick, the virtual machine crashes...

[2005-03-23 21:31:41 xend] INFO (XendRoot:91) EVENT> xend.domain.exit
['XM_2', '3', 'crash']
[2005-03-23 21:31:41 xend] INFO (XendRoot:91) EVENT> xend.domain.destroy
['XM_2', '3']
[2005-03-23 21:31:41 xend] INFO (XendRoot:91) EVENT> xend.domain.exit
['XM_2', '4', 'crash']
[2005-03-23 21:31:41 xend] INFO (XendRoot:91) EVENT> xend.domain.destroy
['XM_2', '4']
[2005-03-23 21:31:41 xend] INFO (XendRoot:91) EVENT> xend.domain.exit
['XM_2', '5', 'crash']
[2005-03-23 21:31:41 xend] INFO (XendRoot:91) EVENT> xend.domain.destroy
['XM_2', '5']
[2005-03-23 21:31:43 xend] DEBUG (XendDomain:244) XendDomain>reap>
domain died name=XM_2 id=3
[2005-03-23 21:31:43 xend] INFO (XendDomain:564) Destroying domain:
name=XM_2
[2005-03-23 21:31:43 xend] DEBUG (XendDomain:244) XendDomain>reap>
domain died name=XM_2 id=4
[2005-03-23 21:31:43 xend] INFO (XendDomain:564) Destroying domain:
name=XM_2
[2005-03-23 21:31:43 xend] DEBUG (XendDomainInfo:634) Closing console,
domain 4
[2005-03-23 21:31:43 xend] DEBUG (XendDomain:244) XendDomain>reap>
domain died name=XM_2 id=5
[2005-03-23 21:31:43 xend] INFO (XendDomain:564) Destroying domain:
name=XM_2
[2005-03-23 21:31:43 xend] DEBUG (XendDomainInfo:634) Closing console,
domain 5


For some reason the ids 3 4 and 5 refers to the same machine. I crashed
it a few times, but when crashing it didn't go out of the "xm list"
list. but if I just re-run "xm create /etc/xm_dom2" it's restarted.

Note: the same process does *not* crash on non-xen machines.

I searched a bit on google but couldn't find anything interesting.

Anyone have an idea of why it happens, and if a fix is planned/available
somewhere?


Mark


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Xen virtual machine crash
@ 2005-03-23 21:04 Ian Pratt
  2005-03-24  3:38 ` MagicalTux (admin)
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Pratt @ 2005-03-23 21:04 UTC (permalink / raw)
  To: MagicalTux (admin), xen-devel; +Cc: ian.pratt

 
> 
> For some reason the ids 3 4 and 5 refers to the same machine. 
> I crashed
> it a few times, but when crashing it didn't go out of the "xm list"
> list. but if I just re-run "xm create /etc/xm_dom2" it's restarted.
> 
> Note: the same process does *not* crash on non-xen machines.
> 
> I searched a bit on google but couldn't find anything interesting.
> 
> Anyone have an idea of why it happens, and if a fix is 
> planned/available somewhere?

You're going to have to give us a bit more to go on than this...

What version of Xen/Linux are you running? Did you build it yourself?
If you're attached to the domain's console in dom0, do you get an oops
message? 
Could you make available the image file and command line invocation that
causes the breakage?

We'll try and figure out what's going wrong.

Thanks,
Ian


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_idh83&alloc_id\x15149&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Xen virtual machine crash
  2005-03-23 21:04 Ian Pratt
@ 2005-03-24  3:38 ` MagicalTux (admin)
  0 siblings, 0 replies; 3+ messages in thread
From: MagicalTux (admin) @ 2005-03-24  3:38 UTC (permalink / raw)
  To: xen-devel

I'm using xen-2.0 . I built it myself with some more options in the
kernel (ide driver, iptables modules, etc...).

The system are debian-3.1 (sarge). The /lib/tls was disabled as
requested.

Also the xm list is now completly messed up :
install3:~# xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       34    0  r----   7115.0        
Domain-8           8      450    0  --p--      0.0        
XM_1               1      449    0  -b---  22810.1    9601
XM_2               8        3    0  ----c   3624.0    9608

(yup I know domain-0 has only 35MB of RAM. It was optimised for, and
it's ok - no swap is used at all)

I'm going to install xen-2.0 not built by me on a computer at home and
test if it crashes too. If it does I'll include an image file which
makes xen crash when opened/resized with libimagick.


Mark

Le mercredi 23 mars 2005 à 21:04 +0000, Ian Pratt a écrit :
>  > 
> > For some reason the ids 3 4 and 5 refers to the same machine. 
> > I crashed
> > it a few times, but when crashing it didn't go out of the "xm list"
> > list. but if I just re-run "xm create /etc/xm_dom2" it's restarted.
> > 
> > Note: the same process does *not* crash on non-xen machines.
> > 
> > I searched a bit on google but couldn't find anything interesting.
> > 
> > Anyone have an idea of why it happens, and if a fix is 
> > planned/available somewhere?
> 
> You're going to have to give us a bit more to go on than this...
> 
> What version of Xen/Linux are you running? Did you build it yourself?
> If you're attached to the domain's console in dom0, do you get an oops
> message? 
> Could you make available the image file and command line invocation that
> causes the breakage?
> 
> We'll try and figure out what's going wrong.
> 
> Thanks,
> Ian
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
> Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
> Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
> by 3/29 & save $300 http://ads.osdn.com/?ad_idh83&alloc_id\x15149&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_idh83&alloc_id\x15149&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-24  3:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-23 20:47 Xen virtual machine crash MagicalTux (admin)
  -- strict thread matches above, loose matches on Subject: below --
2005-03-23 21:04 Ian Pratt
2005-03-24  3:38 ` MagicalTux (admin)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.