Re: [kvm-devel] installation of win xp hangs

2007-12-21 Thread Norbert Preining
Hi Amit,

a new day, a new success ...

Ok, I got it running, no idea why:
- updated the BIOS
- updated to kernel 2.6.24-rc6
- kvm kernel part from 2.6.24-rc6
- kvm user part from Debian sid, i.e. v57
And it worked.

SO I guess we can close this topic ... anyway, if you are interested in
anything else, please let me know, I have still the old kernel lying
around.

Best wishes

Norbert

---
Dr. Norbert Preining [EMAIL PROTECTED]Vienna University of Technology
Debian Developer [EMAIL PROTECTED] Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
And wow! Hey! What's this thing coming towards me very
fast? Very very fast. So big and flat and round, it needs a
big wide sounding word like... ow... ound... round...
ground! That's it! That's a good name - ground!
I wonder if it will be friends with me?
 --- For the sperm whale, it wasn't.
 --- Douglas Adams, The Hitchhikers Guide to the Galaxy

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] installation of win xp hangs

2007-12-21 Thread Amit Shah
On Friday 21 December 2007 13:32:07 Norbert Preining wrote:
 Hi Amit,

 a new day, a new success ...

 Ok, I got it running, no idea why:
 - updated the BIOS
 - updated to kernel 2.6.24-rc6
 - kvm kernel part from 2.6.24-rc6
 - kvm user part from Debian sid, i.e. v57
 And it worked.

That's great news. It'll be a good academic exercise to check with the older 
kernel (and userspace); but I'm sure it'll work. The BIOS update is what has 
mostly solved this issue for you.

Good luck,
Amit.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] installation of win xp hangs

2007-12-20 Thread Amit Shah
On Thursday 13 December 2007 05:09:20 Norbert Preining wrote:
 Hi all!

 (Please Cc, thanks)

 kernel 2.6.24-rc{3,4,5}
 kvm user space v55
 kvm kernel space v55 or the one from the kernel

Which host is this? Intel or AMD?

 I am trying to install a winxp (either plain or sp2) into a kvm:

   qemu-img create -f qcow vdisk.img 10G
   kvm -hda vdisk.img -cdrom /path/to/winxp.iso -boot d  -m 384 -no-acpi

 The initial installation works, then Windows reboots (you know the nice
 KITT left-right bar), then the normal installation continues and at some
 point, in fact ALWAYS the same point it hangs and does not continue.
 It is around 39/37min from being finished (well, that is what Windows
 tells me). The last thing written is driver probing or so.

We had this problem some time back, but it should be now solved. Are you sure 
you're starting the install afresh, or did the first stage install finish 
with an older kvm release and you're now in the 2nd stage install with the 
new kvm modules? I suggest you start the whole install process again with the 
latest kvm release.

Amit.


 Then it hangs. And it seems that there is *no* activity at all, the kvm
 is in Sl+ state, using no CPU time. The Alt-PrScreen-t tells me:
 kvm   S e8bb3e10 0  6171   5947
0007ba21 0082 0002 e8bb3e10 e8bb3e08  c0494eb0
 c0497940 dd0d6550 dd0d6690 c17fb940  0202 c013654a 01ff
 0003     e8bb3e38  
 c013c609 Call Trace:
  [c013654a] hrtimer_start+0xf1/0xfd
  [c013c609] futex_wait+0x1e4/0x291
  [c0136061] hrtimer_wakeup+0x0/0x18
  [c013c5fd] futex_wait+0x1d8/0x291

 for one process and
 kvm   S dd025a7c 0  6170   5947
000a35e9 0082 0002 dd025a7c dd025a74  c0494eb0
 c0497940 dd0d6aa0 dd0d6be0 c1803940 0001 f14e2000 c080 
 0003    e8ee8be0 e91a1000 dd025aac e8ee8be0
 f8b17021 Call Trace:
  [f8b17021] kvm_vcpu_block+0x46/0x97 [kvm]
  [c011e322] default_wake_function+0x0/0x8
  [f8b190cc] kvm_emulate_halt+0x25/0x44 [kvm]
  [f8a63b8a] kvm_handle_exit+0x6b/0x87 [kvm_intel]
  [f8b17ddd] kvm_vcpu_ioctl_run+0x2ac/0x3bc [kvm]

 for the other.

 I tried several other things, like -no-kvm, -no-kvm-irqchip, -tdf, all
 without success.

 Is there anything else I can do to get across this problem?

 Thanks a lot for any suggestions and all the best

 Norbert

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] installation of win xp hangs

2007-12-20 Thread Norbert Preining
Dear Amit,

thanks for the reply!

On Do, 20 Dez 2007, Amit Shah wrote:
  kernel 2.6.24-rc{3,4,5}
  kvm user space v55
  kvm kernel space v55 or the one from the kernel
 
 Which host is this? Intel or AMD?

Host Intel Core2

 We had this problem some time back, but it should be now solved. Are you sure 
 you're starting the install afresh, or did the first stage install finish 

Yes. I always started with a newly created virtual disk, never reused
the old one.

Is there any way to debug that? I mean I can hack some debug statements
into the kvm kernel module if necessary.

Best wishes

Norbert

---
Dr. Norbert Preining [EMAIL PROTECTED]Vienna University of Technology
Debian Developer [EMAIL PROTECTED] Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
TIGHARRY (n.)
The accomplice or 'lure' who gets punters to participate in the three
card trick on London streets by winning an improbable amount of money
very easily.
--- Douglas Adams, The Meaning of Liff

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] installation of win xp hangs

2007-12-20 Thread Amit Shah
On Thursday 20 December 2007 18:28:44 Norbert Preining wrote:
 Dear Amit,

 thanks for the reply!

 On Do, 20 Dez 2007, Amit Shah wrote:
   kernel 2.6.24-rc{3,4,5}
   kvm user space v55
   kvm kernel space v55 or the one from the kernel
 
  Which host is this? Intel or AMD?

 Host Intel Core2

  We had this problem some time back, but it should be now solved. Are you
  sure you're starting the install afresh, or did the first stage install
  finish

 Yes. I always started with a newly created virtual disk, never reused
 the old one.

 Is there any way to debug that? I mean I can hack some debug statements
 into the kvm kernel module if necessary.

Or better, can you git-bisect to a version that worked? That'll point out the 
commit that broke this. (I know this doesn't give the real thrill of 
debugging, but it gets us to the faults.)

A couple of things you can try before doing that: use the -no-kvm switch and 
see if the install goes beyond the point it stops with kvm. Also 
try -no-kvm-irqchip.

If qemu fails with any of these options, that gives us some hints. If not, I'd 
suggest going back to a kvm version where this worked. I'm mostly guessing 
this should be in userspace, so you could try the git-bisect on userspace 
first.

 Best wishes

 Norbert

Best wishes :-)

Amit.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] installation of win xp hangs

2007-12-20 Thread Norbert Preining
Hi Amit,

On Do, 20 Dez 2007, Amit Shah wrote:
 Or better, can you git-bisect to a version that worked? That'll point out the 

I never had a version that worked, so it would be quite hard ...

 A couple of things you can try before doing that: use the -no-kvm switch and 
 see if the install goes beyond the point it stops with kvm. Also 
 try -no-kvm-irqchip.

Ok, will do that and report back.

Thanks and all the best

Norbert

---
Dr. Norbert Preining [EMAIL PROTECTED]Vienna University of Technology
Debian Developer [EMAIL PROTECTED] Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
CORRIEVORRIE (n.)
Corridor etiquette demands that one a corriedoo (q.v.) has been
declared, corrievorrie must be employed. Both protagonists must now
embellish their approach with an embarrassing combination of waving,
grinning, making idiot faces, doing pirate impressions, and waggling
the head from side to side while holding the other person's eyes as
the smile drips off their face, until with great relief, they pass
each other.
--- Douglas Adams, The Meaning of Liff

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] installation of win xp hangs

2007-12-20 Thread Norbert Preining
Hi Amit,

On Do, 20 Dez 2007, Amit Shah wrote:
  I never had a version that worked, so it would be quite hard ...
 
 Oh that is strange. This is the first such report. Do non-windows guests work 
 fine for you? Is there any BIOS update available that you can install?

Well, I did start playing around with kvm only recently. Never had a
need for it until recently. So afair it is something like
2.6.2{2,3,4-pre} where i started.

Bios updates, hmm, I will check the Acer website. Would something like
the DSDT or other table help you?

Best wishes

Norbert

---
Dr. Norbert Preining [EMAIL PROTECTED]Vienna University of Technology
Debian Developer [EMAIL PROTECTED] Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
You step in the stream,
But the water has moved on.
This page is not here.
   --- Windows Error Haiku

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] installation of win xp hangs

2007-12-20 Thread Amit Shah
On Thursday 20 December 2007 22:10:48 Norbert Preining wrote:
 Hi Amit,

 On Do, 20 Dez 2007, Amit Shah wrote:
   I never had a version that worked, so it would be quite hard ...
 
  Oh that is strange. This is the first such report. Do non-windows guests
  work fine for you? Is there any BIOS update available that you can
  install?

 Well, I did start playing around with kvm only recently. Never had a
 need for it until recently. So afair it is something like
 2.6.2{2,3,4-pre} where i started.

2.5 stable releases is a really long time in kvm-time.

 Bios updates, hmm, I will check the Acer website. Would something like
 the DSDT or other table help you?

I'm not sure if that'll help. The BIOS update is to ensure VMX is properly 
supported; we've not heard of such a report earlier so I can't really say 
where the problem might lie. Did you try installing with -no-kvm?

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel