Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: Tomas Papan <tomas.papan@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: kernel 3.9.x kvm hangs after seabios
Date: Wed, 8 May 2013 14:55:59 +0300	[thread overview]
Message-ID: <20130508115559.GY12349@redhat.com> (raw)
In-Reply-To: <loom.20130508T132028-901@post.gmane.org>

On Wed, May 08, 2013 at 11:22:01AM +0000, Tomas Papan wrote:
> I have the same issue, with 3.9.1 (3.9.0 too) it hangs right after seabios...
>  (no problem in 3.8.11)
> 
> qemu-1.4.1
> seabios-1.7.2.1
> 
Is there anything interesting in libvirt logfile?

Also please send the output of "qemu-monitor-command vm-jack --hmp info
registers"

And, just in case, can you send me your bios.bin image. Mine work.

> after setting emulate_invalid_guest_state=0 everything works just fine.
> 
> virsh # qemu-monitor-command vm-jack --hmp x/8i \$pc
> 0x00000000000fc46b:  lgdtw  %cs:-0x2c60
> 0x00000000000fc471:  mov    %cr0,%eax
> 0x00000000000fc474:  or     $0x1,%eax
> 0x00000000000fc478:  mov    %eax,%cr0
> 0x00000000000fc47b:  ljmpl  $0x8,$0xfc483
> 0x00000000000fc483:  mov    $0x10,%ax
> 0x00000000000fc486:  add    %al,(%bx,%si)
> 0x00000000000fc488:  mov    %ax,%ds
> 
> 
> virsh # qemu-monitor-command vm-jack --hmp x/64b \$pc
> 0x00000000000fc46b:  lgdtw  %cs:-0x2c60
> 0x00000000000fc471:  mov    %cr0,%eax
> 0x00000000000fc474:  or     $0x1,%eax
> 0x00000000000fc478:  mov    %eax,%cr0
> 0x00000000000fc47b:  ljmpl  $0x8,$0xfc483
> 0x00000000000fc483:  mov    $0x10,%ax
> 0x00000000000fc486:  add    %al,(%bx,%si)
> 0x00000000000fc488:  mov    %ax,%ds
> 0x00000000000fc48a:  mov    %ax,%es
> 0x00000000000fc48c:  mov    %ax,%ss
> 0x00000000000fc48e:  mov    %ax,%fs
> 0x00000000000fc490:  mov    %ax,%gs
> 0x00000000000fc492:  mov    %cx,%ax
> 0x00000000000fc494:  jmp    *%dx
> 0x00000000000fc496:  mov    %ax,%cx
> 0x00000000000fc498:  mov    $0x20,%ax
> 0x00000000000fc49b:  add    %al,(%bx,%si)
> 0x00000000000fc49d:  mov    %ax,%ds
> 0x00000000000fc49f:  mov    %ax,%es
> 0x00000000000fc4a1:  mov    %ax,%ss
> 0x00000000000fc4a3:  mov    %ax,%fs
> 0x00000000000fc4a5:  mov    %ax,%gs
> 0x00000000000fc4a7:  ljmpl  $0xc189,$0x18c4c4
> 0x00000000000fc4af:  mov    $0x30,%ax
> 0x00000000000fc4b2:  add    %al,(%bx,%si)
> 0x00000000000fc4b4:  mov    %ax,%ds
> 0x00000000000fc4b6:  mov    %ax,%es
> 0x00000000000fc4b8:  mov    %ax,%ss
> 0x00000000000fc4ba:  mov    %ax,%fs
> 0x00000000000fc4bc:  mov    %ax,%gs
> 0x00000000000fc4be:  ljmpl  $0x200f,$0x28c4c4
> 0x00000000000fc4c6:  shlb   $0xe0,-0x7d(%bp)
> 0x00000000000fc4ca:  decb   (%bx)
> 0x00000000000fc4cc:  and    %al,%al
> 0x00000000000fc4ce:  ljmp   $0xf000,$0xc4d3
> 0x00000000000fc4d3:  lidtw  %cs:-0x2c18
> 0x00000000000fc4d9:  xor    %ax,%ax
> 0x00000000000fc4db:  mov    %ax,%fs
> 0x00000000000fc4dd:  mov    %ax,%gs
> 0x00000000000fc4df:  mov    %ax,%es
> 0x00000000000fc4e1:  mov    %ax,%ds
> 0x00000000000fc4e3:  mov    %ax,%ss
> 0x00000000000fc4e5:  mov    %ecx,%eax
> 0x00000000000fc4e8:  jmpl   *%edx
> 0x00000000000fc4eb:  push   %ebp
> 0x00000000000fc4ed:  push   %eax
> 0x00000000000fc4ef:  pushl  %es
> 0x00000000000fc4f1:  push   %cs
> 0x00000000000fc4f2:  push   $0xc536
> 0x00000000000fc4f5:  addr32 pushw %es:0x24(%eax)
> 0x00000000000fc4fa:  addr32 pushl %es:0x20(%eax)
> 0x00000000000fc500:  addr32 mov %es:0x4(%eax),%edi
> 0x00000000000fc506:  addr32 mov %es:0x8(%eax),%esi
> 0x00000000000fc50c:  addr32 mov %es:0xc(%eax),%ebp
> 0x00000000000fc512:  addr32 mov %es:0x10(%eax),%ebx
> 0x00000000000fc518:  addr32 mov %es:0x14(%eax),%edx
> 0x00000000000fc51e:  addr32 mov %es:0x18(%eax),%ecx
> 0x00000000000fc524:  addr32 mov %es:(%eax),%ds
> 0x00000000000fc528:  addr32 pushl %es:0x1c(%eax)
> 0x00000000000fc52e:  addr32 mov %es:0x2(%eax),%es
> 0x00000000000fc533:  pop    %eax
> 0x00000000000fc535:  iret   
> 0x00000000000fc536:  pushf  
> 0x00000000000fc537:  cli 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
			Gleb.

  reply	other threads:[~2013-05-08 11:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-08 11:22 kernel 3.9.x kvm hangs after seabios Tomas Papan
2013-05-08 11:55 ` Gleb Natapov [this message]
2013-05-08 12:08   ` Tomas Papan
2013-05-08 12:20     ` Gleb Natapov
2013-05-08 12:51       ` Tomas Papan
2013-05-08 13:29         ` Gleb Natapov
2013-05-08 13:50           ` Tomas Papan
2013-05-08 14:43             ` Gleb Natapov
2013-05-08 14:52               ` Tomas Papan
2013-05-08 14:52                 ` Tomas Papan
2013-05-08 14:54                   ` Gleb Natapov
2013-05-08 12:59     ` Daniel P. Berrange
2013-05-08 13:04       ` Tomas Papan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130508115559.GY12349@redhat.com \
    --to=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=tomas.papan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox