Skip to contentSkip to conversation

Regression in latest git-HEAD

DISCUSSION Gregory Haskins 4 participants 7 messages May 10, 2007 – May 17, 2007 6 messages not in the archive KVM

lore
Share & tools
lore
#0 lore raw

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/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 3 lines · Gregory Haskins

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

Quoted 25 lines

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
Quoted 11 lines

-------------------------------------------------------------------------
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 [email protected]
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/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line

On Thu, May 10, 2007 at 10:39 AM, in message <[email protected]>,

Quoted 10 lines · Anthony Liguori
Quoted 2 lines · Gregory Haskins

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.

Quoted 1 line

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/[email protected]>
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/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw
Quoted 13 lines · Gregory Haskins
Quoted 9 lines

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.

Quoted 2 lines

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

And the winner is....

Quoted 10 lines

41e713b5dd8847517c3cc9cd45e6f4554a3c1463 is first bad commit commit 41e713b5dd8847517c3cc9cd45e6f4554a3c1463

Author: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/[email protected]>
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.

Signature · 8 lines
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/

A message that is not in the archive (sent off-list or not yet received): 46470582.3060609-atKUWr5tajBWk0Htik3J/[email protected]

#8 lore raw
Quoted 18 lines · Avi Kivity
Quoted 17 lines · Gregory Haskins
Quoted 8 lines

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.

Quoted 1 line

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/[email protected]>
Date:   Sun May 6 11:51:26 2007 +0300
Quoted 10 lines
Quoted 5 lines

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.

Signature · 8 lines
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/

A message that is not in the archive (sent off-list or not yet received): 464B235D.3010408-atKUWr5tajBWk0Htik3J/[email protected]

#10 lore raw

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/[email protected]>:

Quoted 38 lines
Quoted 18 lines · Avi Kivity
Quoted 17 lines · Gregory Haskins
Quoted 8 lines

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.

Quoted 1 line

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/[email protected]>
Date:   Sun May 6 11:51:26 2007 +0300
Quoted 10 lines
Quoted 5 lines

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
Quoted 9 lines

%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/

A message that is not in the archive (sent off-list or not yet received): 9a6a95020705161933q7e7d2f33rf276c4885f8d1b23-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#12 lore raw
Quoted 11 lines · Makoto Dei

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.

Signature · 8 lines
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/