public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Regression in latest git-HEAD
@ 2007-05-10 14:06 Gregory Haskins
       [not found] ` <4642EE78.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Gregory Haskins @ 2007-05-10 14:06 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


Hi All,
  FYI: It appears that recent checkins have regressed VMX for running linux.  As of May 1st I could boot 64 bit SLED.  As of yesterday, it exceptions immediately in the bootloader.  This happens both with and without my APIC patches applied.

 time ~/sandbox/git/kvm-userspace/qemu/x86_64-softmmu/qemu-system-x86_64 . -hda /home/ghaskins/kvm/sled.img -cdrom /home/ghaskins/Desktop/SLED-10-DVD-x86_64-GMC-DVD1.iso -boot d -m 512 -L ~/sandbox/git/kvm-userspace/qemu/pc-bios/
exception 12 (0)
rax 000000000000031e rbx 0000000000040080 rcx 0000000000002000 rdx 0000000000011800
rsi 00000000ffff0800 rdi 0000000000040000 rsp 0000000000087bdc rbp 0000000000000000
r8  0000000000000000 r9  0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 000000000000a56c rflags 00033206
cs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
es 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
tr 0000 (20850000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0)
gdt fa4d1/30
idt 0/3ff
cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
Aborted

real    0m0.686s
user    0m0.056s
sys     0m0.568s


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Regression in latest git-HEAD
       [not found] ` <4642EE78.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
@ 2007-05-10 14:39   ` Anthony Liguori
       [not found]     ` <46432EA6.6000800-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Anthony Liguori @ 2007-05-10 14:39 UTC (permalink / raw)
  To: Gregory Haskins; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Gregory Haskins wrote:
> Hi All,
>   FYI: It appears that recent checkins have regressed VMX for running linux.  As of May 1st I could boot 64 bit SLED.  As of yesterday, it exceptions immediately in the bootloader.  This happens both with and without my APIC patches applied.
>   

Any idea of what checkin was the cause?  At least, which release was the 
last to work?

Regards,

Anthony Liguori

>  time ~/sandbox/git/kvm-userspace/qemu/x86_64-softmmu/qemu-system-x86_64 . -hda /home/ghaskins/kvm/sled.img -cdrom /home/ghaskins/Desktop/SLED-10-DVD-x86_64-GMC-DVD1.iso -boot d -m 512 -L ~/sandbox/git/kvm-userspace/qemu/pc-bios/
> exception 12 (0)
> rax 000000000000031e rbx 0000000000040080 rcx 0000000000002000 rdx 0000000000011800
> rsi 00000000ffff0800 rdi 0000000000040000 rsp 0000000000087bdc rbp 0000000000000000
> r8  0000000000000000 r9  0000000000000000 r10 0000000000000000 r11 0000000000000000
> r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
> rip 000000000000a56c rflags 00033206
> cs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
> ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
> es 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
> ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
> fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
> gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
> tr 0000 (20850000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
> ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0)
> gdt fa4d1/30
> idt 0/3ff
> cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
> Aborted
>
> real    0m0.686s
> user    0m0.056s
> sys     0m0.568s
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Regression in latest git-HEAD
       [not found] ` <4642F7870200005A00023FE9-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
@ 2007-05-10 14:44   ` Gregory Haskins
  0 siblings, 0 replies; 8+ messages in thread
From: Gregory Haskins @ 2007-05-10 14:44 UTC (permalink / raw)
  To: anthony-rdkfGonbjUSkNkDKm+mE6A; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Ill bisect it when I get back from my workout.  I just figured I would throw that out there in case it rang any bells ;) 
 
-----Original Message----- 
From: Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org> 
To: Gregory Haskins <GHaskins-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org> 
CC: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
Creation Date: 5/10 8:39 am 
Subject: Re: [kvm-devel] Regression in latest git-HEAD 
 
Gregory Haskins wrote: 
> Hi All, 
>   FYI: It appears that recent checkins have regressed VMX for running linux.  As of May 1st I could boot 64 bit SLED.  As of yesterday, it exceptions immediately in the bootloader.  This happens both with and without my APIC patches applied. 
>    
 
Any idea of what checkin was the cause?  At least, which release was the  
last to work? 
 
Regards, 
 
Anthony Liguori 
 
>  time ~/sandbox/git/kvm-userspace/qemu/x86_64-softmmu/qemu-system-x86_64 . -hda /home/ghaskins/kvm/sled.img -cdrom /home/ghaskins/Desktop/SLED-10-DVD-x86_64-GMC-DVD1.iso -boot d -m 512 -L ~/sandbox/git/kvm-userspace/qemu/pc-bios/ 
> exception 12 (0) 
> rax 000000000000031e rbx 0000000000040080 rcx 0000000000002000 rdx 0000000000011800 
> rsi 00000000ffff0800 rdi 0000000000040000 rsp 0000000000087bdc rbp 0000000000000000 
> r8  0000000000000000 r9  0000000000000000 r10 0000000000000000 r11 0000000000000000 
> r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000 
> rip 000000000000a56c rflags 00033206 
> cs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) 
> ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) 
> es 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) 
> ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) 
> fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) 
> gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) 
> tr 0000 (20850000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0) 
> ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0) 
> gdt fa4d1/30 
> idt 0/3ff 
> cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0 
> Aborted 
> 
> real    0m0.686s 
> user    0m0.056s 
> sys     0m0.568s 
> 
> 
> ------------------------------------------------------------------------- 
> This SF.net email is sponsored by DB2 Express 
> Download DB2 Express C - the FREE version of DB2 express and take 
> control of your XML. No limits. Just data. Click to get it now. 
> http://sourceforge.net/powerbar/db2/ 
> _______________________________________________ 
> kvm-devel mailing list 
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
> https://lists.sourceforge.net/lists/listinfo/kvm-devel 
> 
>    
 
 
 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Regression in latest git-HEAD
       [not found]     ` <46432EA6.6000800-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
@ 2007-05-10 17:03       ` Gregory Haskins
       [not found]         ` <464317E9.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Gregory Haskins @ 2007-05-10 17:03 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>>> On Thu, May 10, 2007 at 10:39 AM, in message <46432EA6.6000800-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>,
Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org> wrote: 
> Gregory Haskins wrote:
>> Hi All,
>>   FYI: It appears that recent checkins have regressed VMX for running linux. 
>  As of May 1st I could boot 64 bit SLED.  As of yesterday, it exceptions 
> immediately in the bootloader.  This happens both with and without my APIC 
> patches applied.
>>   
> 
> Any idea of what checkin was the cause?  At least, which release was the 
> last to work?


And the winner is....

41e713b5dd8847517c3cc9cd45e6f4554a3c1463 is first bad commit
commit 41e713b5dd8847517c3cc9cd45e6f4554a3c1463
Author: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Date:   Sun May 6 11:51:26 2007 +0300

    kvm: qemu: regenerate bios binaries for Windows Vista

Looks like the bios is busted for me.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Regression in latest git-HEAD
       [not found]         ` <464317E9.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
@ 2007-05-13 12:33           ` Avi Kivity
       [not found]             ` <46470582.3060609-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Avi Kivity @ 2007-05-13 12:33 UTC (permalink / raw)
  To: Gregory Haskins; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Gregory Haskins wrote:
>>  As of May 1st I could boot 64 bit SLED.  As of yesterday, it exceptions 
>> immediately in the bootloader.  This happens both with and without my APIC 
>> patches applied.
>>     
>>>   
>>>       
>> Any idea of what checkin was the cause?  At least, which release was the 
>> last to work?
>>     
>
>
> And the winner is....
>
> 41e713b5dd8847517c3cc9cd45e6f4554a3c1463 is first bad commit
> commit 41e713b5dd8847517c3cc9cd45e6f4554a3c1463
> Author: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
> Date:   Sun May 6 11:51:26 2007 +0300
>
>     kvm: qemu: regenerate bios binaries for Windows Vista
>
> Looks like the bios is busted for me.
>
>   

Can you provide a link to an image (or an installer)?  I'd like to debug 
this.


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Regression in latest git-HEAD
       [not found]             ` <46470582.3060609-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-05-16 15:29               ` Avi Kivity
       [not found]                 ` <464B235D.3010408-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Avi Kivity @ 2007-05-16 15:29 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Avi Kivity wrote:
> Gregory Haskins wrote:
>>>  As of May 1st I could boot 64 bit SLED.  As of yesterday, it 
>>> exceptions immediately in the bootloader.  This happens both with 
>>> and without my APIC patches applied.
>>>    
>>>>         
>>> Any idea of what checkin was the cause?  At least, which release was 
>>> the last to work?
>>>     
>>
>>
>> And the winner is....
>>
>> 41e713b5dd8847517c3cc9cd45e6f4554a3c1463 is first bad commit
>> commit 41e713b5dd8847517c3cc9cd45e6f4554a3c1463
>> Author: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
>> Date:   Sun May 6 11:51:26 2007 +0300
>>
>>     kvm: qemu: regenerate bios binaries for Windows Vista
>>
>> Looks like the bios is busted for me.
>>
>>   
>
> Can you provide a link to an image (or an installer)?  I'd like to 
> debug this.
>
>
0000000000000000 <.data>:
   0:   66 67 8b 44 24 06       addr32 mov 0x6(%esp),%eax
   6:   66 c1 e8 04             shr    $0x4,%eax
   a:   67 89 44 24 08          addr32 mov %ax,0x8(%esp)
   f:   67 83 64 24 06 0f       addr32 andw $0xf,0x6(%esp)
  15:   66 58                   pop    %eax
  17:   c3                      ret


%esp is 0x87bdc, beyond the 16-bit limit.

Anyone have an idea as to what is going on?  Does isolinux (at least the 
version in the SLED installer) look at the acpi tables?  I find it hard 
to believe.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Regression in latest git-HEAD
       [not found]                 ` <464B235D.3010408-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-05-17  2:33                   ` Makoto Dei
       [not found]                     ` <9a6a95020705161933q7e7d2f33rf276c4885f8d1b23-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Makoto Dei @ 2007-05-17  2:33 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello,

I have the same problem with Linux which is using isolinux,
such as Ubuntu.  I checked the BIOS in the latest KVM and
I found that it seemed to be missing the following change.

http://bochs.cvs.sourceforge.net/bochs/bochs/bios/rombios.c?view=log#rev1.172


I can boot isolinux on the latest KVM with the BIOS with this change.


Thanks,
Makoto Dei

2007/5/17, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>:
> Avi Kivity wrote:
> > Gregory Haskins wrote:
> >>>  As of May 1st I could boot 64 bit SLED.  As of yesterday, it
> >>> exceptions immediately in the bootloader.  This happens both with
> >>> and without my APIC patches applied.
> >>>
> >>>>
> >>> Any idea of what checkin was the cause?  At least, which release was
> >>> the last to work?
> >>>
> >>
> >>
> >> And the winner is....
> >>
> >> 41e713b5dd8847517c3cc9cd45e6f4554a3c1463 is first bad commit
> >> commit 41e713b5dd8847517c3cc9cd45e6f4554a3c1463
> >> Author: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
> >> Date:   Sun May 6 11:51:26 2007 +0300
> >>
> >>     kvm: qemu: regenerate bios binaries for Windows Vista
> >>
> >> Looks like the bios is busted for me.
> >>
> >>
> >
> > Can you provide a link to an image (or an installer)?  I'd like to
> > debug this.
> >
> >
> 0000000000000000 <.data>:
>    0:   66 67 8b 44 24 06       addr32 mov 0x6(%esp),%eax
>    6:   66 c1 e8 04             shr    $0x4,%eax
>    a:   67 89 44 24 08          addr32 mov %ax,0x8(%esp)
>    f:   67 83 64 24 06 0f       addr32 andw $0xf,0x6(%esp)
>   15:   66 58                   pop    %eax
>   17:   c3                      ret
>
>
> %esp is 0x87bdc, beyond the 16-bit limit.
>
> Anyone have an idea as to what is going on?  Does isolinux (at least the
> version in the SLED installer) look at the acpi tables?  I find it hard
> to believe.
>
> --
> error compiling committee.c: too many arguments to function
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Regression in latest git-HEAD
       [not found]                     ` <9a6a95020705161933q7e7d2f33rf276c4885f8d1b23-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-05-17 14:01                       ` Avi Kivity
  0 siblings, 0 replies; 8+ messages in thread
From: Avi Kivity @ 2007-05-17 14:01 UTC (permalink / raw)
  To: Makoto Dei; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Makoto Dei wrote:
> Hello,
>
> I have the same problem with Linux which is using isolinux,
> such as Ubuntu.  I checked the BIOS in the latest KVM and
> I found that it seemed to be missing the following change.
>
> http://bochs.cvs.sourceforge.net/bochs/bochs/bios/rombios.c?view=log#rev1.172 
>
>
>
> I can boot isolinux on the latest KVM with the BIOS with this change.

Thanks for the hint.  I regenerated the bios from the latest bochs 
sources, hopefully this is an improvement.

The SLED installer (which detects it is being virtualized and disables 
bootsplash?!) still doesn't get very far, but it isn't any different to 
the old bios.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-05-17 14:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-10 14:06 Regression in latest git-HEAD Gregory Haskins
     [not found] ` <4642EE78.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-05-10 14:39   ` Anthony Liguori
     [not found]     ` <46432EA6.6000800-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-05-10 17:03       ` Gregory Haskins
     [not found]         ` <464317E9.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-05-13 12:33           ` Avi Kivity
     [not found]             ` <46470582.3060609-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-16 15:29               ` Avi Kivity
     [not found]                 ` <464B235D.3010408-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-17  2:33                   ` Makoto Dei
     [not found]                     ` <9a6a95020705161933q7e7d2f33rf276c4885f8d1b23-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-05-17 14:01                       ` Avi Kivity
     [not found] <4642F7800200005A00023FE6@mcclure.wal.novell.com>
     [not found] ` <4642F7870200005A00023FE9-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
2007-05-10 14:44   ` Gregory Haskins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox