Control: reassign -1 qemu-system-x86
Control: severity -1 minor

14.11.2015 22:28, Dmitry Bogatov wrote:
> Package: qemu-kvm
> Version: 1:2.4+dfsg-4
> Severity: important
> 
> Dear Maintainer,
> 
> I installed Gentoo GNU/Linux with `lilo` bootloaded and kernel, built via
> `genkernel` on virtual machine and on attempt to boot I get qemu
> internal error, as attached. Script to run qemu is also attached.

This is a bug in guest.  hers's the disassembly of the code in question:

00000000 <.data>:
   0:   85 ed                   test   %ebp,%ebp
   2:   be 4a 2d a8 f2          mov    $0xf2a82d4a,%esi
   7:   92                      xchg   %eax,%edx
   8:   d9 bb 21 7e 85 aa       fnstcw -0x557a81df(%ebx)
   e:   53                      push   %ebx
   f:   6b 60 01 6d             imul   $0x6d,0x1(%eax),%esp
  13:   4d                      dec    %ebp
  14:   da 9d 39 b2 0e 7e       ficompl 0x7e0eb239(%ebp)   <=== here
  1a:   52                      push   %edx
  1b:   3d 0f d0 29 d5          cmp    $0xd529d00f,%eax
  20:   e6 0c                   out    %al,$0xc
  22:   be f9 76 31 43          mov    $0x433176f9,%esi
  27:   4f                      dec    %edi
  28:   86 c2                   xchg   %al,%dl
  2a:   4e                      dec    %esi
  2b:   be ba c5 34 52          mov    $0x5234c5ba,%esi
  30:   9b                      fwait
  31:   c4                      .byte 0xc4

It is a floating-point/integer comparison instruction.
The instruction sequence smells like your guest code
jumped to some random junk.

How far in the boot process it happens?  Is it in lilo or
in the kernel?  How much memory did you assign to the
guest?

Thanks,

/mjt

Reply via email to