qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled
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
========================================================================
Quoted 8 lines · Jacques Landru
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
Quoted 5 lines
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
Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux
Quoted 15 lines · Jan Kiszka
Quoted 8 lines · Jacques Landru
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
Quoted 5 lines
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)
Quoted 6 lines
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.
Quoted 15 lines · Gleb Natapov
Quoted 14 lines · Jan Kiszka
Quoted 13 lines · Jacques Landru
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)
Quoted 8 lines
Quoted 6 lines
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
Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux
Quoted 15 lines · Gleb Natapov
Quoted 14 lines · Jan Kiszka
Quoted 13 lines · Jacques Landru
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)
Quoted 8 lines
Quoted 6 lines
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
Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux