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

RE: [Xen-devel] Minix as an HVM guest crashes


  • To: "Jonathan M. McCune" <jonmccune@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Tue, 16 May 2006 22:34:34 +0200
  • Delivery-date: Tue, 16 May 2006 13:34:13 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcZ5JSMOFqV/Nky5Rn6DkPLPSqwvcgAAGU2A
  • Thread-topic: [Xen-devel] Minix as an HVM guest crashes

 

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Jonathan M. McCune
> Sent: 16 May 2006 21:09
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] Minix as an HVM guest crashes
> 
> Hello Xen community,
> 
> I have tried to boot Minix 3.1.2 as an HVM guest on Xen 3.0.2 
> on a system with AMD SVM extensions, but it crashes.  I have 
> successfully booted Linux and Windows XP as HVM guests on 
> this system.  I have included here the output of `xm dmesg` 
> after attempting to boot the Minix domain.  Here is my minix.xm file:
> 
> kernel = "/usr/lib/xen/boot/hvmloader"
> builder='hvm'
> memory = 512
> name = "Minix"
> disk = [ 'file:/minix/disk.img,ioemu:hda,w' ] vif = [ 
> 'type=ioemu, bridge=xenbr0' ] device_model = 
> '/usr/lib/xen/bin/qemu-dm'
> memmap = '/usr/lib/xen/boot/mem-map.sxp'
> cdrom='/minix/IDE-3.1.2.iso'
> boot='d'
> sdl=1
> vnc=0
> 
> 
> The command I executed in dom0 to boot the minix.xm domain 
> was `xm create -f minix.xm`.  The HVM guest window opens, and 
> minix boots to the point where it asks whether I want to 
> configure for "Large" or "Small" 
> memory.  Regardless of my choice, the HVM guest window 
> "blinks out of existence" shortly thereafter, and 
> automatically restarts itself once, before crashing again in 
> exactly the same way.  I chose Large both times.  This 
> auto-restart behavior is why there are two guests in the `xm 
> dmesg` output below:
> 
> Does anybody know why it crashes?  Is this a Minix bug? Xen bug?  
> Admittedly, I haven't tried the latest xen-unstable yet, so 
> perhaps the issue is already solved.
> 
> Thanks,
> -Jon
> 
> 
This is a typical dump of a unimplemented opcode in hvm/platform.c. 

I'm not quite sure which opcode it's trying to execute, but I'm sure
this is why it's failing. I'm also confused as to the base address of
the instruction, because the 31A7 instruction is a "add $10, %esp",
which shouldn't be page-faulting. One possibility is that the base of
the CS register isn't zero, in which case the dump of the instruction
bytes is bogus... 

I doubt that the Latest Xen will fix anything.

--
Mats


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


 


Rackspace

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