public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* How can I help?
@ 2007-02-24 17:51 Chris Stromblad
       [not found] ` <1172339519.7845.8.camel-ZMyy6FxXMJExPFx/aqb610B+6BGkLq7r@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Chris Stromblad @ 2007-02-24 17:51 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi there,

Just wanted to introduce myself to the list and also ask a few
questions. My name is Chris, currently living in the UK, nerd by day and
even more so at night.

Today I thought about playing with KVM for the first time, but without
much luck. Reading the archives I noticed someone else was experiencing
the same problem, it's the "exception 12" problem in qemu/kvm.

While I am an okay C-programmer, I've got little experience with
kernel-development but would be happy to learn or assist in anyway I
can.

I'm currently working on an Intel Core 2 CPU, with Archlinux as choice
of distribution. If there is anything I can do to help, please let me
know!

/ Chris

PS: Ops, almost forgot. Are there any solutions for the "exception 12"
problem, or something I can do?



-------------------------------------------------------------------------
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: How can I help?
       [not found] ` <1172339519.7845.8.camel-ZMyy6FxXMJExPFx/aqb610B+6BGkLq7r@public.gmane.org>
@ 2007-02-25  5:25   ` Avi Kivity
       [not found]     ` <45E11DE2.1060909-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2007-02-25  5:25 UTC (permalink / raw)
  To: Chris Stromblad; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Chris Stromblad wrote:
> Hi there,
>
> Just wanted to introduce myself to the list and also ask a few
> questions. My name is Chris, currently living in the UK, nerd by day and
> even more so at night.
>
> Today I thought about playing with KVM for the first time, but without
> much luck. Reading the archives I noticed someone else was experiencing
> the same problem, it's the "exception 12" problem in qemu/kvm.
>
> While I am an okay C-programmer, I've got little experience with
> kernel-development but would be happy to learn or assist in anyway I
> can.
>
>   

Unfortunately hacking on the code requires much poring over ancient 
manuscripts, a thorough understanding of the glorious history of the x86 
architecture, and much banging of heads against walls.  So unless you're 
prepared to spend quite a bit of time on kvm, your best bet is in testing.

Having a regression test of a real workload with timing measurements 
always helps, prefereably with multiple virtual machines running 
concurrently.


> I'm currently working on an Intel Core 2 CPU, with Archlinux as choice
> of distribution. If there is anything I can do to help, please let me
> know!
>
> / Chris
>
> PS: Ops, almost forgot. Are there any solutions for the "exception 12"
> problem, or something I can do?
>
>   

What guest are you running?  At what stage are you seeing the problem?  
Usually the workaround involves disabling the bootloader splashscreen or 
switching bootloaders.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
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: How can I help?
       [not found]     ` <45E11DE2.1060909-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-02-25  9:32       ` Chris Stromblad
       [not found]         ` <1172395971.4235.3.camel-ZMyy6FxXMJExPFx/aqb610B+6BGkLq7r@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Chris Stromblad @ 2007-02-25  9:32 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Few years ago I did a fair bit of x86 programming, but with the more
recent CPUs and all the new instructions, I'd probably be bit out of it.
Then again, wouldn't hurt having a look at it... who knows, maybe in a
few years I could actually do something ;)

The problem.

Basically I get the problem immediately when attempting to boot from an
ISO image (the installation step). The image is a UBUNTU x86_64
installation disk. Pretty much instantly when I attempt to boot the
window flashes by and in the original window I get the CPU reg dump with
the exception 12.

It works when using the unmodified version of QEMU.

/ Chris

On Sun, 2007-02-25 at 07:25 +0200, Avi Kivity wrote:
> Chris Stromblad wrote:
> > Hi there,
> >
> > Just wanted to introduce myself to the list and also ask a few
> > questions. My name is Chris, currently living in the UK, nerd by day and
> > even more so at night.
> >
> > Today I thought about playing with KVM for the first time, but without
> > much luck. Reading the archives I noticed someone else was experiencing
> > the same problem, it's the "exception 12" problem in qemu/kvm.
> >
> > While I am an okay C-programmer, I've got little experience with
> > kernel-development but would be happy to learn or assist in anyway I
> > can.
> >
> >   
> 
> Unfortunately hacking on the code requires much poring over ancient 
> manuscripts, a thorough understanding of the glorious history of the x86 
> architecture, and much banging of heads against walls.  So unless you're 
> prepared to spend quite a bit of time on kvm, your best bet is in testing.
> 
> Having a regression test of a real workload with timing measurements 
> always helps, prefereably with multiple virtual machines running 
> concurrently.
> 
> 
> > I'm currently working on an Intel Core 2 CPU, with Archlinux as choice
> > of distribution. If there is anything I can do to help, please let me
> > know!
> >
> > / Chris
> >
> > PS: Ops, almost forgot. Are there any solutions for the "exception 12"
> > problem, or something I can do?
> >
> >   
> 
> What guest are you running?  At what stage are you seeing the problem?  
> Usually the workaround involves disabling the bootloader splashscreen or 
> switching bootloaders.
> 



-------------------------------------------------------------------------
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: How can I help?
       [not found]         ` <1172395971.4235.3.camel-ZMyy6FxXMJExPFx/aqb610B+6BGkLq7r@public.gmane.org>
@ 2007-02-25  9:39           ` Avi Kivity
       [not found]             ` <45E15935.6040500-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2007-02-25  9:39 UTC (permalink / raw)
  To: Chris Stromblad; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Chris Stromblad wrote:
> Few years ago I did a fair bit of x86 programming, but with the more
> recent CPUs and all the new instructions, I'd probably be bit out of it.
> Then again, wouldn't hurt having a look at it... who knows, maybe in a
> few years I could actually do something ;)
>
>   

x86 experience definitely helps.  You might want to download the latest 
Intel and AMD documentation and check out the relevant chapters.  For 
Intel, that's chapters 20-25 in the software developer's manual, volume 3B.

Actually knowing all the instructions isn't that important; it's the 
general quirkiness of the arch that needs to be understood.


> The problem.
>
> Basically I get the problem immediately when attempting to boot from an
> ISO image (the installation step). The image is a UBUNTU x86_64
> installation disk. Pretty much instantly when I attempt to boot the
> window flashes by and in the original window I get the CPU reg dump with
> the exception 12.
>   

Ok.  That's definitely the real-mode emulation problem we have on 
Intel.  You might try installing using qemu, and disabling any boot 
loader splashscreens (I don't know the exact syntax required), and 
restarting under kvm.

-- 
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: How can I help?
       [not found]             ` <45E15935.6040500-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-02-25  9:59               ` Chris Stromblad
  2007-02-27 13:38               ` Chris Stromblad
  1 sibling, 0 replies; 7+ messages in thread
From: Chris Stromblad @ 2007-02-25  9:59 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Sure, I'll have a look at the documentation. Need some evening reading
anyways ;)

Thanks for the suggestion I will try and install using QEMU and then
restart under KVM and the modified version of qemu, cheers!

/ Chris

On Sun, 2007-02-25 at 11:39 +0200, Avi Kivity wrote:
> Chris Stromblad wrote:
> > Few years ago I did a fair bit of x86 programming, but with the more
> > recent CPUs and all the new instructions, I'd probably be bit out of it.
> > Then again, wouldn't hurt having a look at it... who knows, maybe in a
> > few years I could actually do something ;)
> >
> >   
> 
> x86 experience definitely helps.  You might want to download the latest 
> Intel and AMD documentation and check out the relevant chapters.  For 
> Intel, that's chapters 20-25 in the software developer's manual, volume 3B.
> 
> Actually knowing all the instructions isn't that important; it's the 
> general quirkiness of the arch that needs to be understood.
> 
> 
> > The problem.
> >
> > Basically I get the problem immediately when attempting to boot from an
> > ISO image (the installation step). The image is a UBUNTU x86_64
> > installation disk. Pretty much instantly when I attempt to boot the
> > window flashes by and in the original window I get the CPU reg dump with
> > the exception 12.
> >   
> 
> Ok.  That's definitely the real-mode emulation problem we have on 
> Intel.  You might try installing using qemu, and disabling any boot 
> loader splashscreens (I don't know the exact syntax required), and 
> restarting under kvm.
> 



-------------------------------------------------------------------------
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: How can I help?
       [not found]             ` <45E15935.6040500-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  2007-02-25  9:59               ` Chris Stromblad
@ 2007-02-27 13:38               ` Chris Stromblad
       [not found]                 ` <1172583521.4170.11.camel-ZMyy6FxXMJExPFx/aqb610B+6BGkLq7r@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: Chris Stromblad @ 2007-02-27 13:38 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi again,

Exactly how can I disable the bootsplash? And out of curiosity, why is
that preventing KVM/QEMU from working properly?

/ Chris

On Sun, 2007-02-25 at 11:39 +0200, Avi Kivity wrote:
> Chris Stromblad wrote:
> > Few years ago I did a fair bit of x86 programming, but with the more
> > recent CPUs and all the new instructions, I'd probably be bit out of it.
> > Then again, wouldn't hurt having a look at it... who knows, maybe in a
> > few years I could actually do something ;)
> >
> >   
> 
> x86 experience definitely helps.  You might want to download the latest 
> Intel and AMD documentation and check out the relevant chapters.  For 
> Intel, that's chapters 20-25 in the software developer's manual, volume 3B.
> 
> Actually knowing all the instructions isn't that important; it's the 
> general quirkiness of the arch that needs to be understood.
> 
> 
> > The problem.
> >
> > Basically I get the problem immediately when attempting to boot from an
> > ISO image (the installation step). The image is a UBUNTU x86_64
> > installation disk. Pretty much instantly when I attempt to boot the
> > window flashes by and in the original window I get the CPU reg dump with
> > the exception 12.
> >   
> 
> Ok.  That's definitely the real-mode emulation problem we have on 
> Intel.  You might try installing using qemu, and disabling any boot 
> loader splashscreens (I don't know the exact syntax required), and 
> restarting under kvm.
> 



-------------------------------------------------------------------------
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: How can I help?
       [not found]                 ` <1172583521.4170.11.camel-ZMyy6FxXMJExPFx/aqb610B+6BGkLq7r@public.gmane.org>
@ 2007-02-27 13:47                   ` Avi Kivity
  0 siblings, 0 replies; 7+ messages in thread
From: Avi Kivity @ 2007-02-27 13:47 UTC (permalink / raw)
  To: Chris Stromblad; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Chris Stromblad wrote:
> Hi again,
>
> Exactly how can I disable the bootsplash? 

Install/boot with -no-kvm, then edit the grub configuration file.  The 
details vary, and I'm not sure how to do it on Ubuntu.


> And out of curiosity, why is
> that preventing KVM/QEMU from working properly?
>   

kvm uses vm86 mode to virtualize real mode.  Some boot loaders use 
features of real mode which are not present (or not identical to) vm86 mode.

One day we will emulate real mode (or use a combination of vm86 and 
emulation) which will fix the problem.

> / Chris
>
> On Sun, 2007-02-25 at 11:39 +0200, Avi Kivity wrote:
>   
>> Chris Stromblad wrote:
>>     
>>> Few years ago I did a fair bit of x86 programming, but with the more
>>> recent CPUs and all the new instructions, I'd probably be bit out of it.
>>> Then again, wouldn't hurt having a look at it... who knows, maybe in a
>>> few years I could actually do something ;)
>>>
>>>   
>>>       
>> x86 experience definitely helps.  You might want to download the latest 
>> Intel and AMD documentation and check out the relevant chapters.  For 
>> Intel, that's chapters 20-25 in the software developer's manual, volume 3B.
>>
>> Actually knowing all the instructions isn't that important; it's the 
>> general quirkiness of the arch that needs to be understood.
>>
>>
>>     
>>> The problem.
>>>
>>> Basically I get the problem immediately when attempting to boot from an
>>> ISO image (the installation step). The image is a UBUNTU x86_64
>>> installation disk. Pretty much instantly when I attempt to boot the
>>> window flashes by and in the original window I get the CPU reg dump with
>>> the exception 12.
>>>   
>>>       
>> Ok.  That's definitely the real-mode emulation problem we have on 
>> Intel.  You might try installing using qemu, and disabling any boot 
>> loader splashscreens (I don't know the exact syntax required), and 
>> restarting under kvm.
>>
>>     
>
>
>   


-- 
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-27 13:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-24 17:51 How can I help? Chris Stromblad
     [not found] ` <1172339519.7845.8.camel-ZMyy6FxXMJExPFx/aqb610B+6BGkLq7r@public.gmane.org>
2007-02-25  5:25   ` Avi Kivity
     [not found]     ` <45E11DE2.1060909-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-02-25  9:32       ` Chris Stromblad
     [not found]         ` <1172395971.4235.3.camel-ZMyy6FxXMJExPFx/aqb610B+6BGkLq7r@public.gmane.org>
2007-02-25  9:39           ` Avi Kivity
     [not found]             ` <45E15935.6040500-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-02-25  9:59               ` Chris Stromblad
2007-02-27 13:38               ` Chris Stromblad
     [not found]                 ` <1172583521.4170.11.camel-ZMyy6FxXMJExPFx/aqb610B+6BGkLq7r@public.gmane.org>
2007-02-27 13:47                   ` Avi Kivity

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