* Re: qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled
@ 2010-02-11 8:37 Jacques Landru
2010-02-18 11:32 ` Jan Kiszka
0 siblings, 1 reply; 6+ messages in thread
From: Jacques Landru @ 2010-02-11 8:37 UTC (permalink / raw)
To: kvm
Hi,
Same problem here
qemu-kvm-0.12.x hangs if I have at the same time "-no-kvm" and
"file=essai-slitaz.raw,if=ide,index=0,boot=on" sometime with the message
below
but
qemu-kvm with "-no-kvm" and without "boot=on" option for the file
parameter, works
qemu-kvm with "boot=on" option and kvm enable works. (kvm-kmod is 2.6.32.7)
Unfortunatly, I am using libvirt which always set "boot=on" on the file
parameter, so I have to downgrade qemu-kvm to 0.11 version
Jacques Landru
==================================================================
qemu: fatal: Trying to execute code outside RAM or ROM at
0x00000000e1000000
EAX=00001fec EBX=000255aa ECX=0000fffe EDX=00008381
ESI=0006ffff EDI=00000201 EBP=000077e9 ESP=0000fffe
EIP=e0f2aba5 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0000 00000000 0000ffff 00009300 CS =d544
000d5440 0000ffff 00009e00 SS =0000 00000000
0000ffff 00009300 DS =0000 00000000 0000ffff
00009300 FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT= 00008e84 00000027
IDT= 00000000 000003ff
CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000
DR6=ffff0ff0 DR7=00000000
CCS=00001fec CCD=00002060 CCO=ADDB
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000
XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000
XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000
XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000
XMM07=00000000000000000000000000000000
Aborted
========================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled
2010-02-11 8:37 qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled Jacques Landru
@ 2010-02-18 11:32 ` Jan Kiszka
2010-02-18 11:59 ` Gleb Natapov
0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2010-02-18 11:32 UTC (permalink / raw)
To: Jacques Landru; +Cc: kvm
Jacques Landru wrote:
> Hi,
>
> Same problem here
>
> qemu-kvm-0.12.x hangs if I have at the same time "-no-kvm" and
> "file=essai-slitaz.raw,if=ide,index=0,boot=on" sometime with the
> message below
>
> but
>
> qemu-kvm with "-no-kvm" and without "boot=on" option for the file
> parameter, works
> qemu-kvm with "boot=on" option and kvm enable works. (kvm-kmod is 2.6.32.7)
I have to confirm this issue: Something badly crashes here as well,
either grub or the extboot ROM or Seabios.
Does anyone has a good idea what makes the difference here, ie. where to
start debugging?
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled
2010-02-18 11:32 ` Jan Kiszka
@ 2010-02-18 11:59 ` Gleb Natapov
2010-02-18 12:01 ` Jan Kiszka
2010-02-18 13:19 ` Jan Kiszka
0 siblings, 2 replies; 6+ messages in thread
From: Gleb Natapov @ 2010-02-18 11:59 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Jacques Landru, kvm
On Thu, Feb 18, 2010 at 12:32:39PM +0100, Jan Kiszka wrote:
> Jacques Landru wrote:
> > Hi,
> >
> > Same problem here
> >
> > qemu-kvm-0.12.x hangs if I have at the same time "-no-kvm" and
> > "file=essai-slitaz.raw,if=ide,index=0,boot=on" sometime with the
> > message below
> >
> > but
> >
> > qemu-kvm with "-no-kvm" and without "boot=on" option for the file
> > parameter, works
> > qemu-kvm with "boot=on" option and kvm enable works. (kvm-kmod is 2.6.32.7)
>
> I have to confirm this issue: Something badly crashes here as well,
> either grub or the extboot ROM or Seabios.
>
> Does anyone has a good idea what makes the difference here, ie. where to
> start debugging?
>
May be TCG interprets something incorrectly in extboot.bin. Sounds
unlikely, but symptoms look like this is the case.
--
Gleb.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled
2010-02-18 11:59 ` Gleb Natapov
@ 2010-02-18 12:01 ` Jan Kiszka
2010-02-18 13:19 ` Jan Kiszka
1 sibling, 0 replies; 6+ messages in thread
From: Jan Kiszka @ 2010-02-18 12:01 UTC (permalink / raw)
To: Gleb Natapov; +Cc: Jacques Landru, kvm@vger.kernel.org
Gleb Natapov wrote:
> On Thu, Feb 18, 2010 at 12:32:39PM +0100, Jan Kiszka wrote:
>> Jacques Landru wrote:
>>> Hi,
>>>
>>> Same problem here
>>>
>>> qemu-kvm-0.12.x hangs if I have at the same time "-no-kvm" and
>>> "file=essai-slitaz.raw,if=ide,index=0,boot=on" sometime with the
>>> message below
>>>
>>> but
>>>
>>> qemu-kvm with "-no-kvm" and without "boot=on" option for the file
>>> parameter, works
>>> qemu-kvm with "boot=on" option and kvm enable works. (kvm-kmod is 2.6.32.7)
>> I have to confirm this issue: Something badly crashes here as well,
>> either grub or the extboot ROM or Seabios.
>>
>> Does anyone has a good idea what makes the difference here, ie. where to
>> start debugging?
>>
> May be TCG interprets something incorrectly in extboot.bin. Sounds
> unlikely, but symptoms look like this is the case.
Yes, maybe. I'm currently building a debug version that has support for
TCG block tracing enabled. Should get us closer to the crash.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled
2010-02-18 11:59 ` Gleb Natapov
2010-02-18 12:01 ` Jan Kiszka
@ 2010-02-18 13:19 ` Jan Kiszka
1 sibling, 0 replies; 6+ messages in thread
From: Jan Kiszka @ 2010-02-18 13:19 UTC (permalink / raw)
To: Gleb Natapov; +Cc: Jacques Landru, kvm@vger.kernel.org
Gleb Natapov wrote:
> On Thu, Feb 18, 2010 at 12:32:39PM +0100, Jan Kiszka wrote:
>> Jacques Landru wrote:
>>> Hi,
>>>
>>> Same problem here
>>>
>>> qemu-kvm-0.12.x hangs if I have at the same time "-no-kvm" and
>>> "file=essai-slitaz.raw,if=ide,index=0,boot=on" sometime with the
>>> message below
>>>
>>> but
>>>
>>> qemu-kvm with "-no-kvm" and without "boot=on" option for the file
>>> parameter, works
>>> qemu-kvm with "boot=on" option and kvm enable works. (kvm-kmod is 2.6.32.7)
>> I have to confirm this issue: Something badly crashes here as well,
>> either grub or the extboot ROM or Seabios.
>>
>> Does anyone has a good idea what makes the difference here, ie. where to
>> start debugging?
>>
> May be TCG interprets something incorrectly in extboot.bin. Sounds
> unlikely, but symptoms look like this is the case.
Looks like the old story again: extboot tries to write to ROM (old_int13
and old_int19 variables). That happens to work due to KVM limitations,
but breaks once true protection is established. Don't we have some heap
managed by Seabios that extension ROMs can use?
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
* qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled
@ 2010-01-22 0:26 Jim Paris
0 siblings, 0 replies; 6+ messages in thread
From: Jim Paris @ 2010-01-22 0:26 UTC (permalink / raw)
To: kvm
Hi,
With this small disk image:
http://psy.jim.sh/~jim/tmp/diskimage.gz
and the new qemu-kvm-0.12.2:
$ kvm --version
QEMU PC emulator version 0.12.2 (qemu-kvm-0.12.2), Copyright (c) 2003-2008 Fabrice Bellard
I can successfully boot to a "grub> " prompt with:
$ kvm -drive file=diskimage,boot=on
However, if kvm gets disabled:
$ kvm -no-kvm -drive file=diskimage,boot=on
then the boot hangs at "GRUB Loading, please wait..." and consumes 100% CPU.
-jim
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-02-18 13:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-11 8:37 qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled Jacques Landru
2010-02-18 11:32 ` Jan Kiszka
2010-02-18 11:59 ` Gleb Natapov
2010-02-18 12:01 ` Jan Kiszka
2010-02-18 13:19 ` Jan Kiszka
-- strict thread matches above, loose matches on Subject: below --
2010-01-22 0:26 Jim Paris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox