public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* stuck with "setup is starting windows" when installing windows with kvm
@ 2007-03-09 16:23 Ian Brown
       [not found] ` <d0383f90703090823s5d2f68efpd7e8f8d0a9af6b9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Brown @ 2007-03-09 16:23 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello,

I am trying to install windows under FC6 on x86_64. The processor is AMD
which has support for virtualization (I do see "svm" in  the flags of
/proc/cpuinfo).

I made three ties according to KVM howto; first win2k, than win2003, than
winxp, and they all failed.

More details:
I have a machine with 1GB of RAM.
After building and modprobe kvm-amd,
I ran:
/usr/local/kvm/bin/qemu-img create -f qcow vdisk.img 10G
and than:
/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -cdrom /dev/hdb
-no-acpi -boot d -m 384

In all three cases it started the installation, go to a screen saying , at the
bootom,"setup is starting windows", and than I wait for ten minutes and nothing
changes on screen.
If I try to click on the installation window - it panics (Blue Screen Of Death).
Any idea what is happening here ? should I wait more ???

one more thing: /dev/hdb is the DVD drive (and it is not mounted).

Regards,
Ian

-------------------------------------------------------------------------
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: stuck with "setup is starting windows" when installingwindows with kvm
       [not found] ` <d0383f90703090823s5d2f68efpd7e8f8d0a9af6b9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-03-09 16:46   ` Dor Laor
       [not found]     ` <64F9B87B6B770947A9F8391472E032160AC9A7D7-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
  2007-03-09 20:08   ` stuck with "setup is starting windows" when installing windows " Daniel Hecken
  1 sibling, 1 reply; 7+ messages in thread
From: Dor Laor @ 2007-03-09 16:46 UTC (permalink / raw)
  To: Ian Brown, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>Hello,
>
>I am trying to install windows under FC6 on x86_64. The processor is
AMD
>which has support for virtualization (I do see "svm" in  the flags of
>/proc/cpuinfo).
>
>I made three ties according to KVM howto; first win2k, than win2003,
than
>winxp, and they all failed.
>
>More details:
>I have a machine with 1GB of RAM.
>After building and modprobe kvm-amd,
>I ran:
>/usr/local/kvm/bin/qemu-img create -f qcow vdisk.img 10G
>and than:
>/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -cdrom /dev/hdb
>-no-acpi -boot d -m 384
>
>In all three cases it started the installation, go to a screen saying ,
at
>the
>bootom,"setup is starting windows", and than I wait for ten minutes and
>nothing
>changes on screen.
>If I try to click on the installation window - it panics (Blue Screen
Of
>Death).
>Any idea what is happening here ? should I wait more ???

- Can you tell what's the BSOD error message?
  If you run without the no-acpi you get BSOD of no acpi support but
with 
  the flag it should be Ok.
- Also, did you try running with -no-kvm?


>
>one more thing: /dev/hdb is the DVD drive (and it is not mounted).
>
>Regards,
>Ian
>
>-----------------------------------------------------------------------
--
>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=DEVD
EV
>_______________________________________________
>kvm-devel mailing list
>kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
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: stuck with "setup is starting windows" when installing windows with kvm
       [not found] ` <d0383f90703090823s5d2f68efpd7e8f8d0a9af6b9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2007-03-09 16:46   ` stuck with "setup is starting windows" when installingwindows " Dor Laor
@ 2007-03-09 20:08   ` Daniel Hecken
  1 sibling, 0 replies; 7+ messages in thread
From: Daniel Hecken @ 2007-03-09 20:08 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello,

I had the same problems on my Notebook Intel Core Duo. To resolv these
issues I did the following:

1. Install with "-no-kvm"
2. Whilst installing Windows 2000 SP 4 I get an error about "Com+" not
being able to install which I ignore.
3. After installation finishes I reboot the CD and select repair
installation
4. After all of this I start Windows 2000 with KVM and all works good.

(There is also a bug report about this
http://sourceforge.net/tracker/index.php?func=detail&aid=1634816&group_id=180599&atid=893831.
This only happens if you start Windows 2000 with KVM enabled.)

With Windows 2003 I used the same procedure, but it crashes at startup
also saying something about not being able to run the "Com+ Service" and
then reboots.

But Windows XP runs fine on my Laptop.

Daniel Hecken


Ian Brown schrieb:
> Hello,
> 
> I am trying to install windows under FC6 on x86_64. The processor is AMD
> which has support for virtualization (I do see "svm" in  the flags of
> /proc/cpuinfo).
> 
> I made three ties according to KVM howto; first win2k, than win2003, than
> winxp, and they all failed.
> 
> More details:
> I have a machine with 1GB of RAM.
> After building and modprobe kvm-amd,
> I ran:
> /usr/local/kvm/bin/qemu-img create -f qcow vdisk.img 10G
> and than:
> /usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -cdrom /dev/hdb
> -no-acpi -boot d -m 384
> 
> In all three cases it started the installation, go to a screen saying , at the
> bootom,"setup is starting windows", and than I wait for ten minutes and nothing
> changes on screen.
> If I try to click on the installation window - it panics (Blue Screen Of Death).
> Any idea what is happening here ? should I wait more ???
> 
> one more thing: /dev/hdb is the DVD drive (and it is not mounted).
> 
> Regards,
> Ian
> 
> -------------------------------------------------------------------------
> 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


-------------------------------------------------------------------------
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: stuck with "setup is starting windows" when installingwindows with kvm
       [not found]     ` <64F9B87B6B770947A9F8391472E032160AC9A7D7-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
@ 2007-03-10  9:58       ` Ian Brown
       [not found]         ` <d0383f90703100158o1982b7c2g80a9afa033ca0870-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Brown @ 2007-03-10  9:58 UTC (permalink / raw)
  To: Dor Laor; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Dor,
  Thnks !
>Also, did you try running with -no-kvm?

I made a trial with -no-kvm and without modprobing the kvm module. It
works like a charm.

Instalation of windows finished OK.
Afterwards I had modprobed the kvm module.

And then, when starting windows with:
/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -boot c -m 384
it got stuck with "starting windows...".

So , I tried adding the -no-kvm flag:
/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -boot c -m 384 -no-kvm
And windows started !


I admire the KVM project; Avi Kivitty gave a lesson to the Linux world on how
to integrate efficiently and quickly a full virtualization solution into
the Linux Kernel.

However, I think you should ***immediately*** update the how-to with the usage
of this -no-kvm flag when installation get stuck.
I don't know on which occastions this flag should occur (I mean on
which machines,
etc). But the fact is that using this flag in my case solves both problems -
installation and running windows afterwards.
I don't Just think of those who downloaded the kvm sw, tried it and gave up
because of this.

Regards,
Ian


On 3/9/07, Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
> >Hello,
> >
> >I am trying to install windows under FC6 on x86_64. The processor is
> AMD
> >which has support for virtualization (I do see "svm" in  the flags of
> >/proc/cpuinfo).
> >
> >I made three ties according to KVM howto; first win2k, than win2003,
> than
> >winxp, and they all failed.
> >
> >More details:
> >I have a machine with 1GB of RAM.
> >After building and modprobe kvm-amd,
> >I ran:
> >/usr/local/kvm/bin/qemu-img create -f qcow vdisk.img 10G
> >and than:
> >/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -cdrom /dev/hdb
> >-no-acpi -boot d -m 384
> >
> >In all three cases it started the installation, go to a screen saying ,
> at
> >the
> >bootom,"setup is starting windows", and than I wait for ten minutes and
> >nothing
> >changes on screen.
> >If I try to click on the installation window - it panics (Blue Screen
> Of
> >Death).
> >Any idea what is happening here ? should I wait more ???
>
> - Can you tell what's the BSOD error message?
>   If you run without the no-acpi you get BSOD of no acpi support but
> with
>   the flag it should be Ok.
> - Also, did you try running with -no-kvm?
>
>
> >
> >one more thing: /dev/hdb is the DVD drive (and it is not mounted).
> >
> >Regards,
> >Ian
> >
> >-----------------------------------------------------------------------
> --
> >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=DEVD
> EV
> >_______________________________________________
> >kvm-devel mailing list
> >kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >https://lists.sourceforge.net/lists/listinfo/kvm-devel
>

-------------------------------------------------------------------------
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: stuck with "setup is starting windows" when installingwindows with kvm
       [not found]         ` <d0383f90703100158o1982b7c2g80a9afa033ca0870-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-03-10 20:55           ` Dor Laor
       [not found]             ` <64F9B87B6B770947A9F8391472E032160AC9AB48-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Dor Laor @ 2007-03-10 20:55 UTC (permalink / raw)
  To: Ian Brown; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>Dor,
>  Thnks !
>>Also, did you try running with -no-kvm?
>
>I made a trial with -no-kvm and without modprobing the kvm module. It
>works like a charm.

It's good but it should had worked with kvm, especially after the
installation.
Did you use kvm-16? 
Is there a chance you're using qemu's original bios ( from qemu's rpm )?
Use cat /proc/$(pgrep qemu)/fd | grep bios 

>
>Instalation of windows finished OK.
>Afterwards I had modprobed the kvm module.
>
>And then, when starting windows with:
>/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -boot c -m 384
>it got stuck with "starting windows...".
>
>So , I tried adding the -no-kvm flag:
>/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -boot c -m 384
-no-
>kvm
>And windows started !
>
>
>I admire the KVM project; Avi Kivitty gave a lesson to the Linux world
on
>how
>to integrate efficiently and quickly a full virtualization solution
into
>the Linux Kernel.
>
>However, I think you should ***immediately*** update the how-to with
the
>usage
>of this -no-kvm flag when installation get stuck.
>I don't know on which occastions this flag should occur (I mean on
>which machines,
>etc). But the fact is that using this flag in my case solves both
problems
>-
>installation and running windows afterwards.
>I don't Just think of those who downloaded the kvm sw, tried it and
gave up
>because of this.
>
>Regards,
>Ian
>
>
>On 3/9/07, Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
>> >Hello,
>> >
>> >I am trying to install windows under FC6 on x86_64. The processor is
>> AMD
>> >which has support for virtualization (I do see "svm" in  the flags
of
>> >/proc/cpuinfo).
>> >
>> >I made three ties according to KVM howto; first win2k, than win2003,
>> than
>> >winxp, and they all failed.
>> >
>> >More details:
>> >I have a machine with 1GB of RAM.
>> >After building and modprobe kvm-amd,
>> >I ran:
>> >/usr/local/kvm/bin/qemu-img create -f qcow vdisk.img 10G
>> >and than:
>> >/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -cdrom
/dev/hdb
>> >-no-acpi -boot d -m 384
>> >
>> >In all three cases it started the installation, go to a screen
saying ,
>> at
>> >the
>> >bootom,"setup is starting windows", and than I wait for ten minutes
and
>> >nothing
>> >changes on screen.
>> >If I try to click on the installation window - it panics (Blue
Screen
>> Of
>> >Death).
>> >Any idea what is happening here ? should I wait more ???
>>
>> - Can you tell what's the BSOD error message?
>>   If you run without the no-acpi you get BSOD of no acpi support but
>> with
>>   the flag it should be Ok.
>> - Also, did you try running with -no-kvm?
>>
>>
>> >
>> >one more thing: /dev/hdb is the DVD drive (and it is not mounted).
>> >
>> >Regards,
>> >Ian
>> >
>>
>-----------------------------------------------------------------------
>> --
>> >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=DEVD
>> EV
>> >_______________________________________________
>> >kvm-devel mailing list
>> >kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> >https://lists.sourceforge.net/lists/listinfo/kvm-devel
>>

-------------------------------------------------------------------------
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: stuck with "setup is starting windows" when installingwindows with kvm
       [not found]             ` <64F9B87B6B770947A9F8391472E032160AC9AB48-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
@ 2007-03-12  2:59               ` Ian Brown
       [not found]                 ` <d0383f90703111959g55a2b502yec1d08eab01a2815-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Brown @ 2007-03-12  2:59 UTC (permalink / raw)
  To: Dor Laor; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Dor,
> Did you use kvm-16?
  Yes, but this problem also occurred in older versions of KVM; I was
simply too lazy to send a message in this forum.

>Is there a chance you're using qemu's original bios ( from qemu's rpm )?

I don't know what is qemu's original bios ( from qemu's rpm ).
currently rpm -q qemu returns nothing.


>Use cat /proc/$(pgrep qemu)/fd | grep bios

ls /proc/`pgrep qemu`/fd gives:
0  1  2  3  4  5  6  7  8  9


Regards,
Ian






On 3/10/07, Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
> >Dor,
> >  Thnks !
> >>Also, did you try running with -no-kvm?
> >
> >I made a trial with -no-kvm and without modprobing the kvm module. It
> >works like a charm.
>
> It's good but it should had worked with kvm, especially after the
> installation.
> Did you use kvm-16?
> Is there a chance you're using qemu's original bios ( from qemu's rpm )?
> Use cat /proc/$(pgrep qemu)/fd | grep bios
>
> >
> >Instalation of windows finished OK.
> >Afterwards I had modprobed the kvm module.
> >
> >And then, when starting windows with:
> >/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -boot c -m 384
> >it got stuck with "starting windows...".
> >
> >So , I tried adding the -no-kvm flag:
> >/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -boot c -m 384
> -no-
> >kvm
> >And windows started !
> >
> >
> >I admire the KVM project; Avi Kivitty gave a lesson to the Linux world
> on
> >how
> >to integrate efficiently and quickly a full virtualization solution
> into
> >the Linux Kernel.
> >
> >However, I think you should ***immediately*** update the how-to with
> the
> >usage
> >of this -no-kvm flag when installation get stuck.
> >I don't know on which occastions this flag should occur (I mean on
> >which machines,
> >etc). But the fact is that using this flag in my case solves both
> problems
> >-
> >installation and running windows afterwards.
> >I don't Just think of those who downloaded the kvm sw, tried it and
> gave up
> >because of this.
> >
> >Regards,
> >Ian
> >
> >
> >On 3/9/07, Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
> >> >Hello,
> >> >
> >> >I am trying to install windows under FC6 on x86_64. The processor is
> >> AMD
> >> >which has support for virtualization (I do see "svm" in  the flags
> of
> >> >/proc/cpuinfo).
> >> >
> >> >I made three ties according to KVM howto; first win2k, than win2003,
> >> than
> >> >winxp, and they all failed.
> >> >
> >> >More details:
> >> >I have a machine with 1GB of RAM.
> >> >After building and modprobe kvm-amd,
> >> >I ran:
> >> >/usr/local/kvm/bin/qemu-img create -f qcow vdisk.img 10G
> >> >and than:
> >> >/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -cdrom
> /dev/hdb
> >> >-no-acpi -boot d -m 384
> >> >
> >> >In all three cases it started the installation, go to a screen
> saying ,
> >> at
> >> >the
> >> >bootom,"setup is starting windows", and than I wait for ten minutes
> and
> >> >nothing
> >> >changes on screen.
> >> >If I try to click on the installation window - it panics (Blue
> Screen
> >> Of
> >> >Death).
> >> >Any idea what is happening here ? should I wait more ???
> >>
> >> - Can you tell what's the BSOD error message?
> >>   If you run without the no-acpi you get BSOD of no acpi support but
> >> with
> >>   the flag it should be Ok.
> >> - Also, did you try running with -no-kvm?
> >>
> >>
> >> >
> >> >one more thing: /dev/hdb is the DVD drive (and it is not mounted).
> >> >
> >> >Regards,
> >> >Ian
> >> >
> >>
> >-----------------------------------------------------------------------
> >> --
> >> >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=DEVD
> >> EV
> >> >_______________________________________________
> >> >kvm-devel mailing list
> >> >kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >https://lists.sourceforge.net/lists/listinfo/kvm-devel
> >>
>

-------------------------------------------------------------------------
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: stuck with "setup is starting windows" when installingwindows with kvm
       [not found]                 ` <d0383f90703111959g55a2b502yec1d08eab01a2815-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-03-12  8:19                   ` Dor Laor
  0 siblings, 0 replies; 7+ messages in thread
From: Dor Laor @ 2007-03-12  8:19 UTC (permalink / raw)
  To: Ian Brown; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 5291 bytes --]

>Dor,
>> Did you use kvm-16?
>  Yes, but this problem also occurred in older versions of KVM; I was
>simply too lazy to send a message in this forum.
>
>>Is there a chance you're using qemu's original bios ( from qemu's rpm
)?
>
>I don't know what is qemu's original bios ( from qemu's rpm ).
>currently rpm -q qemu returns nothing.
>
>
>>Use cat /proc/$(pgrep qemu)/fd | grep bios
>
>ls /proc/`pgrep qemu`/fd gives:
>0  1  2  3  4  5  6  7  8  9

Sorry, it should have been with " ls -la /proc/`pgrep qemu`/fd".
Please also do " cat proc/`pgrep qemu`/cmdline".

Since installing windowsXP works for us with -no-acpi flag, I suspect
that if you installed it with the -no-kvm flag it might have picked up
the APIC HAL. In that case, after the installation it won't help doing
the -no-acpi thing.

So you need to follow the following workaround:
	Run the guest without kvm (-no-kvm) My Computer -> Properties ->
Hardware -> Device Manager -> [Whatever under Computer] -> Properties
-> Update Driver -> Not at this time -> Next -> Install from a list ->
Next -> Don't search -> Next -> Standard PC -> Next. "Standard PC" is
the noacpi HAL.
After that you can start the guest again without the -no-kvm flag.

If the problem continues, run the attached kvm_stat script and send its
statistics.

Good luck,
Dor.

>
>
>Regards,
>Ian
>
>
>
>
>
>
>On 3/10/07, Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
>> >Dor,
>> >  Thnks !
>> >>Also, did you try running with -no-kvm?
>> >
>> >I made a trial with -no-kvm and without modprobing the kvm module.
It
>> >works like a charm.
>>
>> It's good but it should had worked with kvm, especially after the
>> installation.
>> Did you use kvm-16?
>> Is there a chance you're using qemu's original bios ( from qemu's rpm
)?
>> Use cat /proc/$(pgrep qemu)/fd | grep bios
>>
>> >
>> >Instalation of windows finished OK.
>> >Afterwards I had modprobed the kvm module.
>> >
>> >And then, when starting windows with:
>> >/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -boot c -m
384
>> >it got stuck with "starting windows...".
>> >
>> >So , I tried adding the -no-kvm flag:
>> >/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -boot c -m
384
>> -no-
>> >kvm
>> >And windows started !
>> >
>> >
>> >I admire the KVM project; Avi Kivitty gave a lesson to the Linux
world
>> on
>> >how
>> >to integrate efficiently and quickly a full virtualization solution
>> into
>> >the Linux Kernel.
>> >
>> >However, I think you should ***immediately*** update the how-to with
>> the
>> >usage
>> >of this -no-kvm flag when installation get stuck.
>> >I don't know on which occastions this flag should occur (I mean on
>> >which machines,
>> >etc). But the fact is that using this flag in my case solves both
>> problems
>> >-
>> >installation and running windows afterwards.
>> >I don't Just think of those who downloaded the kvm sw, tried it and
>> gave up
>> >because of this.
>> >
>> >Regards,
>> >Ian
>> >
>> >
>> >On 3/9/07, Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
>> >> >Hello,
>> >> >
>> >> >I am trying to install windows under FC6 on x86_64. The processor
is
>> >> AMD
>> >> >which has support for virtualization (I do see "svm" in  the
flags
>> of
>> >> >/proc/cpuinfo).
>> >> >
>> >> >I made three ties according to KVM howto; first win2k, than
win2003,
>> >> than
>> >> >winxp, and they all failed.
>> >> >
>> >> >More details:
>> >> >I have a machine with 1GB of RAM.
>> >> >After building and modprobe kvm-amd,
>> >> >I ran:
>> >> >/usr/local/kvm/bin/qemu-img create -f qcow vdisk.img 10G
>> >> >and than:
>> >> >/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -cdrom
>> /dev/hdb
>> >> >-no-acpi -boot d -m 384
>> >> >
>> >> >In all three cases it started the installation, go to a screen
>> saying ,
>> >> at
>> >> >the
>> >> >bootom,"setup is starting windows", and than I wait for ten
minutes
>> and
>> >> >nothing
>> >> >changes on screen.
>> >> >If I try to click on the installation window - it panics (Blue
>> Screen
>> >> Of
>> >> >Death).
>> >> >Any idea what is happening here ? should I wait more ???
>> >>
>> >> - Can you tell what's the BSOD error message?
>> >>   If you run without the no-acpi you get BSOD of no acpi support
but
>> >> with
>> >>   the flag it should be Ok.
>> >> - Also, did you try running with -no-kvm?
>> >>
>> >>
>> >> >
>> >> >one more thing: /dev/hdb is the DVD drive (and it is not
mounted).
>> >> >
>> >> >Regards,
>> >> >Ian
>> >> >
>> >>
>>
>-----------------------------------------------------------------------
>> >> --
>> >> >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=DEVD
>> >> EV
>> >> >_______________________________________________
>> >> >kvm-devel mailing list
>> >> >kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> >> >https://lists.sourceforge.net/lists/listinfo/kvm-devel
>> >>
>>

[-- Attachment #2: kvm_stat --]
[-- Type: application/octet-stream, Size: 1733 bytes --]

#!/usr/bin/python

import curses
import sys, os, time

class Stats:
    def __init__(self):
        self.base = '/sys/kernel/debug/kvm'
        self.values = {}
        for key in os.listdir(self.base):
            self.values[key] = None
    def get(self):
        for key, oldval in self.values.iteritems():
            newval = int(file(self.base + '/' + key).read())
            newdelta = None
            if oldval is not None:
                newdelta = newval - oldval[0]
            self.values[key] = (newval, newdelta)
        return self.values

if not os.access('/sys/kernel/debug', os.F_OK):
    print 'Please enable CONFIG_DEBUGFS in your kernel'
    sys.exit(1)
if not os.access('/sys/kernel/debug/kvm', os.F_OK):
    print "Please mount debugfs ('mount -t debugfs debugfs /sys/kernel/debug')"
    print "and ensure the kvm modules are loaded"
    sys.exit(1)

stats = Stats()
        
def main(screen, stats):
    curses.use_default_colors()
    curses.noecho()
    def refresh():
        screen.erase()
        screen.addstr(0, 0, 'kvm statistics')
        row = 2
        s = stats.get()
        for key in sorted(s.keys()):
            values = s[key]
            screen.addstr(row, 1, key)
            screen.addstr(row, 12, '%10d' % (values[0],))
            if values[1] is not None:
                screen.addstr(row, 22, '%8d' % (values[1],))
            row += 1
        screen.refresh()

    while True:
        refresh()
        curses.halfdelay(10)
        try:
            c = screen.getkey()
            if c == 'q':
                break
        except KeyboardInterrupt:
            break
        except curses.error:
            continue
        

import curses.wrapper
curses.wrapper(main, stats)


[-- Attachment #3: Type: text/plain, Size: 345 bytes --]

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

[-- Attachment #4: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

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

end of thread, other threads:[~2007-03-12  8:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-09 16:23 stuck with "setup is starting windows" when installing windows with kvm Ian Brown
     [not found] ` <d0383f90703090823s5d2f68efpd7e8f8d0a9af6b9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-03-09 16:46   ` stuck with "setup is starting windows" when installingwindows " Dor Laor
     [not found]     ` <64F9B87B6B770947A9F8391472E032160AC9A7D7-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-03-10  9:58       ` Ian Brown
     [not found]         ` <d0383f90703100158o1982b7c2g80a9afa033ca0870-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-03-10 20:55           ` Dor Laor
     [not found]             ` <64F9B87B6B770947A9F8391472E032160AC9AB48-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-03-12  2:59               ` Ian Brown
     [not found]                 ` <d0383f90703111959g55a2b502yec1d08eab01a2815-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-03-12  8:19                   ` Dor Laor
2007-03-09 20:08   ` stuck with "setup is starting windows" when installing windows " Daniel Hecken

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