Re: qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled

2010-02-18 Thread Jan Kiszka
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
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled

2010-02-18 Thread Jan Kiszka
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
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled

2010-02-18 Thread Jan Kiszka
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
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled

2010-02-11 Thread 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)

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  
0xe100  


EAX=1fec EBX=000255aa ECX=fffe EDX=8381
ESI=0006 EDI=0201 EBP=77e9 ESP=fffe
EIP=e0f2aba5 EFL=0002 [---] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =   9300CS =d544 
000d5440  9e00SS =  
 9300DS =   
9300FS =   9300   
 GS =   9300

LDT=   8200
TR =   8b00
GDT= 8e84 0027
IDT=  03ff
CR0=0010 CR2= CR3= CR4=
DR0= DR1= DR2= DR3=
DR6=0ff0 DR7=
CCS=1fec CCD=2060 CCO=ADDB
FCW=037f FSW= [ST=0] FTW=00 MXCSR=1f80
FPR0=  FPR1= 
FPR2=  FPR3= 
FPR4=  FPR5= 
FPR6=  FPR7= 
XMM00=  
XMM01=
XMM02=  
XMM03=
XMM04=  
XMM05=
XMM06=  
XMM07=

Aborted



--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html