All of lore.kernel.org
 help / color / mirror / Atom feed
* exception 12
@ 2007-02-20 15:16 Andreas Hasenack
       [not found] ` <200702201316.01276.ahasenack-y7mWNqJcIDpfJ/NunPodnw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Hasenack @ 2007-02-20 15:16 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

kernel 2.6.20 vanilla
kvm 14 kernel modules and userspace + "qemu kvm target" patch
everything built with gcc 4

Is this supposed to work? The vdisk.img was created with qemu-img following 
the howto (http://kvm.qumranet.com/kvmwiki/HOWTO). I don't have the iso for a 
boot image, so inserted an ubuntu 6.06 alternate install cd in the drive 
(/dev/cdrom).

# qemu-kvm -hda /qemu/vdisk.img -m 384 -boot d -cdrom /dev/cdrom
exception 12 (0)
rax 0000000000000a9d rbx 0000000000040080 rcx 0000000000002000 rdx 
0000000000012c00
rsi 00000000ffff0800 rdi 0000000000040000 rsp 0000000000087bdc rbp 
0000000000000000
r8  b7fa1fc00d7905c6 r9  00000001b7fa26c8 r10 b7f96992bfb4aa40 r11 
b7b67d90b7fa2880
r12 0000000100000001 r13 08049a7800000000 r14 080fd37000000000 r15 
00000001b7cce3a1
rip 000000000000a4bc rflags 00033206
cs 0000 (00000000/00000000 p 65535 dpl 1 db 3 s 0 type 1 l 3 g 0 avl 0)
ds 0000 (00000000/00000000 p 65535 dpl 1 db 3 s 0 type 1 l 3 g 0 avl 0)
es 0000 (00000000/00000000 p 65535 dpl 1 db 3 s 0 type 1 l 3 g 0 avl 0)
ss 0000 (00000000/00000000 p 65535 dpl 1 db 3 s 0 type 1 l 3 g 0 avl 0)
fs 0000 (00000000/00000000 p 65535 dpl 1 db 3 s 0 type 1 l 3 g 0 avl 0)
gs 0000 (00000000/00000000 p 65535 dpl 1 db 3 s 0 type 1 l 3 g 0 avl 0)
tr 0000 (18850000/00000000 p 8328 dpl 1 db 0 s 0 type 0 l 11 g 0 avl 0)
ldt 0000 (00000000/00000000 p 65535 dpl 1 db 0 s 0 type 0 l 2 g 0 avl 0)
gdt fa4d1/37
idt 0/3ff
cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
Abortado

For what is worth, it worked with qemu 0.9.0 + kqemu.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: exception 12
       [not found] ` <200702201316.01276.ahasenack-y7mWNqJcIDpfJ/NunPodnw@public.gmane.org>
@ 2007-02-20 15:17   ` Andreas Hasenack
  2007-02-20 15:54   ` Avi Kivity
  1 sibling, 0 replies; 7+ messages in thread
From: Andreas Hasenack @ 2007-02-20 15:17 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tuesday 20 February 2007 13:16:00 Andreas Hasenack wrote:
> kernel 2.6.20 vanilla
> kvm 14 kernel modules and userspace + "qemu kvm target" patch
> everything built with gcc 4
>
> Is this supposed to work? The vdisk.img was created with qemu-img following
> the howto (http://kvm.qumranet.com/kvmwiki/HOWTO). I don't have the iso for
> a boot image, so inserted an ubuntu 6.06 alternate install cd in the drive
> (/dev/cdrom).
>
> # qemu-kvm -hda /qemu/vdisk.img -m 384 -boot d -cdrom /dev/cdrom
> exception 12 (0)
> rax 0000000000000a9d rbx 0000000000040080 rcx 0000000000002000 rdx
> 0000000000012c00
> rsi 00000000ffff0800 rdi 0000000000040000 rsp 0000000000087bdc rbp
> 0000000000000000
> r8  b7fa1fc00d7905c6 r9  00000001b7fa26c8 r10 b7f96992bfb4aa40 r11
> b7b67d90b7fa2880
> r12 0000000100000001 r13 08049a7800000000 r14 080fd37000000000 r15
> 00000001b7cce3a1
> rip 000000000000a4bc rflags 00033206
> cs 0000 (00000000/00000000 p 65535 dpl 1 db 3 s 0 type 1 l 3 g 0 avl 0)
> ds 0000 (00000000/00000000 p 65535 dpl 1 db 3 s 0 type 1 l 3 g 0 avl 0)
> es 0000 (00000000/00000000 p 65535 dpl 1 db 3 s 0 type 1 l 3 g 0 avl 0)
> ss 0000 (00000000/00000000 p 65535 dpl 1 db 3 s 0 type 1 l 3 g 0 avl 0)
> fs 0000 (00000000/00000000 p 65535 dpl 1 db 3 s 0 type 1 l 3 g 0 avl 0)
> gs 0000 (00000000/00000000 p 65535 dpl 1 db 3 s 0 type 1 l 3 g 0 avl 0)
> tr 0000 (18850000/00000000 p 8328 dpl 1 db 0 s 0 type 0 l 11 g 0 avl 0)
> ldt 0000 (00000000/00000000 p 65535 dpl 1 db 0 s 0 type 0 l 2 g 0 avl 0)
> gdt fa4d1/37
> idt 0/3ff
> cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
> Abortado
>
> For what is worth, it worked with qemu 0.9.0 + kqemu.

Forgot the hardware. It's an Intel core 2 duo E6600, runing a 32bits distro.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: exception 12
       [not found] ` <200702201316.01276.ahasenack-y7mWNqJcIDpfJ/NunPodnw@public.gmane.org>
  2007-02-20 15:17   ` Andreas Hasenack
@ 2007-02-20 15:54   ` Avi Kivity
       [not found]     ` <45DB19CD.4010702-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2007-02-20 15:54 UTC (permalink / raw)
  To: Andreas Hasenack; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Andreas Hasenack wrote:
> kernel 2.6.20 vanilla
> kvm 14 kernel modules and userspace + "qemu kvm target" patch
> everything built with gcc 4
>
> Is this supposed to work? The vdisk.img was created with qemu-img following 
> the howto (http://kvm.qumranet.com/kvmwiki/HOWTO). I don't have the iso for a 
> boot image, so inserted an ubuntu 6.06 alternate install cd in the drive 
> (/dev/cdrom).

This looks like another case of missing real mode emulation on Intel 
hosts.  If you have access to an AMD machine with svm support, you might 
try it on that to confirm.

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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: exception 12
       [not found]     ` <45DB19CD.4010702-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-02-20 16:58       ` Andreas Hasenack
       [not found]         ` <200702201458.15783.ahasenack-y7mWNqJcIDpfJ/NunPodnw@public.gmane.org>
  2007-02-22 17:06       ` Andreas Hasenack
  1 sibling, 1 reply; 7+ messages in thread
From: Andreas Hasenack @ 2007-02-20 16:58 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tuesday 20 February 2007 13:54:53 Avi Kivity wrote:
> Andreas Hasenack wrote:
> > kernel 2.6.20 vanilla
> > kvm 14 kernel modules and userspace + "qemu kvm target" patch
> > everything built with gcc 4
> >
> > Is this supposed to work? The vdisk.img was created with qemu-img
> > following the howto (http://kvm.qumranet.com/kvmwiki/HOWTO). I don't have
> > the iso for a boot image, so inserted an ubuntu 6.06 alternate install cd
> > in the drive (/dev/cdrom).
>
> This looks like another case of missing real mode emulation on Intel
> hosts.  If you have access to an AMD machine with svm support, you might
> try it on that to confirm.

I don't, sorry.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: exception 12
       [not found]         ` <200702201458.15783.ahasenack-y7mWNqJcIDpfJ/NunPodnw@public.gmane.org>
@ 2007-02-20 16:59           ` Avi Kivity
  0 siblings, 0 replies; 7+ messages in thread
From: Avi Kivity @ 2007-02-20 16:59 UTC (permalink / raw)
  To: Andreas Hasenack; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Andreas Hasenack wrote:
>> This looks like another case of missing real mode emulation on Intel
>> hosts.  If you have access to an AMD machine with svm support, you might
>> try it on that to confirm.
>>     
>
> I don't, sorry.
>
>   

Ok.  I'll try it later on.


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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: exception 12
       [not found]     ` <45DB19CD.4010702-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  2007-02-20 16:58       ` Andreas Hasenack
@ 2007-02-22 17:06       ` Andreas Hasenack
       [not found]         ` <200702221506.50268.ahasenack-y7mWNqJcIDpfJ/NunPodnw@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: Andreas Hasenack @ 2007-02-22 17:06 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tuesday 20 February 2007 13:54:53 Avi Kivity wrote:
> Andreas Hasenack wrote:
> > kernel 2.6.20 vanilla
> > kvm 14 kernel modules and userspace + "qemu kvm target" patch
> > everything built with gcc 4
> >
> > Is this supposed to work? The vdisk.img was created with qemu-img
> > following the howto (http://kvm.qumranet.com/kvmwiki/HOWTO). I don't have
> > the iso for a boot image, so inserted an ubuntu 6.06 alternate install cd
> > in the drive (/dev/cdrom).
>
> This looks like another case of missing real mode emulation on Intel
> hosts.  If you have access to an AMD machine with svm support, you might

Is this a shortcoming in the Intel implementation? Something serious, i.e., is 
Intel just "playing" with virtualization while AMD has it done correctly?


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: exception 12
       [not found]         ` <200702221506.50268.ahasenack-y7mWNqJcIDpfJ/NunPodnw@public.gmane.org>
@ 2007-02-22 17:16           ` Avi Kivity
  0 siblings, 0 replies; 7+ messages in thread
From: Avi Kivity @ 2007-02-22 17:16 UTC (permalink / raw)
  To: Andreas Hasenack; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Andreas Hasenack wrote:
> On Tuesday 20 February 2007 13:54:53 Avi Kivity wrote:
>   
>> Andreas Hasenack wrote:
>>     
>>> kernel 2.6.20 vanilla
>>> kvm 14 kernel modules and userspace + "qemu kvm target" patch
>>> everything built with gcc 4
>>>
>>> Is this supposed to work? The vdisk.img was created with qemu-img
>>> following the howto (http://kvm.qumranet.com/kvmwiki/HOWTO). I don't have
>>> the iso for a boot image, so inserted an ubuntu 6.06 alternate install cd
>>> in the drive (/dev/cdrom).
>>>       
>> This looks like another case of missing real mode emulation on Intel
>> hosts.  If you have access to an AMD machine with svm support, you might
>>     
>
> Is this a shortcoming in the Intel implementation? Something serious, i.e., is 
> Intel just "playing" with virtualization while AMD has it done correctly?
>
>
>   

The AMD virtualization support makes it fairly easy to support real 
mode.  The Intel implementation requires significant virtual machine 
monitor support for proper real mode.

Real mode has no impact on performance, only on the boot stages.  It's 
certainly incorrect to say Intel is only "playing" with virtualization; 
it's just a design choice of an obscure feature.  But in this particular 
area, Intel has made life hard on VMM developers.

There are other things that are much simpler on the AMD implementation; 
it's generally easier to work with.  Since they've arrived later on the 
scene, they can learn from Intel's mistakes.

Having said all that, the missing real mode support is a kvm bug, not an 
Intel one.  We have to work with whatever the hardware provides and 
supply what it doesn't.

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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

end of thread, other threads:[~2007-02-22 17:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20 15:16 exception 12 Andreas Hasenack
     [not found] ` <200702201316.01276.ahasenack-y7mWNqJcIDpfJ/NunPodnw@public.gmane.org>
2007-02-20 15:17   ` Andreas Hasenack
2007-02-20 15:54   ` Avi Kivity
     [not found]     ` <45DB19CD.4010702-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-02-20 16:58       ` Andreas Hasenack
     [not found]         ` <200702201458.15783.ahasenack-y7mWNqJcIDpfJ/NunPodnw@public.gmane.org>
2007-02-20 16:59           ` Avi Kivity
2007-02-22 17:06       ` Andreas Hasenack
     [not found]         ` <200702221506.50268.ahasenack-y7mWNqJcIDpfJ/NunPodnw@public.gmane.org>
2007-02-22 17:16           ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.