Re: [kvm-devel] possible bug: VM drops incoming network packets (tap)

2007-10-21 Thread Joris
Jim,


Both changing the nic (to rtl8139) and rebooting the host solved the
issue for me.
My VM's have now survived over 12 hours of intense activity without a glitch.


To be clear: soly changing the nic without rebooting the host worked;
after rebooting the host the default nic works again.



Kind regards,
Joris

2007/10/20, Joris <[EMAIL PROTECTED]>:
> 2007/10/20, Jim Paris <[EMAIL PROTECTED]>:
>
>
> > I'm in the same boat -- upgraded from kvm-36 to kvm-46 and I'm seeing
> > identical network problems.
>
> Great I'm not the only one. Does it help to ifdown && ifup in your case?
>
> > No difference with -no-kvm-irqchip and with "taskset -c 1".  I haven't
> > had a chance to debug it much further yet, although trying a different
> > network card might be my next step.  I was also (reluctantly) going to
> > try rebooting the host in case unloading the kvm-36 modules left
> > something in a bad state.
>
> I have a host reboot scheduled for this weekend, I'll report on it.
> A different nic is a good idea, I'll try that as well.
>
>
> > An especially strange thing is that, before the network dies, sshing
>
> I haven't really observed that, but I'll keep an eye out.
>
>
> Kind regards,
> Joris
>

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] possible bug: VM drops incoming network packets (tap)

2007-10-20 Thread Joris
2007/10/20, Jim Paris <[EMAIL PROTECTED]>:


> I'm in the same boat -- upgraded from kvm-36 to kvm-46 and I'm seeing
> identical network problems.

Great I'm not the only one. Does it help to ifdown && ifup in your case?

> No difference with -no-kvm-irqchip and with "taskset -c 1".  I haven't
> had a chance to debug it much further yet, although trying a different
> network card might be my next step.  I was also (reluctantly) going to
> try rebooting the host in case unloading the kvm-36 modules left
> something in a bad state.

I have a host reboot scheduled for this weekend, I'll report on it.
A different nic is a good idea, I'll try that as well.


> An especially strange thing is that, before the network dies, sshing

I haven't really observed that, but I'll keep an eye out.


Kind regards,
Joris

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


[kvm-devel] possible bug: VM drops incoming network packets (tap)

2007-10-19 Thread Joris
Hi,


Please CC me, I'm not a subscriber to the list.

Also, please note this could very well be a guest-os problem, but I've
never experienced anything like this before.


I have a Debian unstable 64bit host on an intel S3000 quad core xeon
X3210. Kernel 2.6.22-2-amd64 (debian flavour) KVM46.
My guests are debian32 with 1 cpu and 1GB ram, connected via '-net
nic,macaddr=52:54:00:00:00:xx -net tap' and linux bridging. I'm
running 3 guests at the time.


Sometimes (see below) the machine appears to drop all incoming packets
from the network.
I can see the guest send arp requests, I can see the replies going
back in the bridge/tap interface on the host, but they don't appear on
the guest.

A fix is taking the guest's nic down and up again, using ifconfig.
Rebuilding the bridge on the host does not help.


This appears to happen on combined disk and network IO. I was
uploading data over a ssh connection (via FISH) to a disk on the
guest.
Doing a mild 100Mbit/s icmp flood to the guest does not trip this behavior.

I don't see any logic to the frequency. I can transfer multiple
gigabytes without a problem, or it can happen every few MB or seconds.


I don't think I've experienced this with KVM36 (my previous version),
but certainly with KVM46.


Any help or suggestions would be greatly appreciated.

Kind regards,
Joris

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


[kvm-devel] is renaming qcow2 images prohibited?

2007-09-20 Thread Joris
Hello,

Kindly CC me in your replies, I'm not a subscriber.


Is renaming qcow2 images prohibited?
My VM behaves differently (hangs when boot is complete) after copying the image.


sudo taskset 3 /usr/bin/kvm -m 1024 -hda  test2-deb32-net.qcow  -net
nic,model=rtl8139,macaddr=52:54:00:00:00:15 -net
tap,vlan=0,ifname=tap15
-> Original image, this works fine.

cp test2-deb32-net.qcow nxserver.qcow
-> Only after the image was shut down of course...

sudo taskset 3 /usr/bin/kvm -m 1024 -hda nxserver.qcow  -net
nic,model=rtl8139,macaddr=52:54:00:00:00:15 -net
tap,vlan=0,ifname=tap15
-> Completes full boot sequence, but instead of throwing getty it
somehow freezes (still unsure as to why)

rm nxserver.qcow
qemu-img convert  test2-deb32-net.qcow -O qcow2 nxserver.qcow2
-> This new nxserver.qcow2 image works perfectly once again.


All images were created as qcow2 (ignore file extensions), but
interestingly the original image is somehow recognised as "raw"
format...
image: test2-deb32-net.qcow
file format: raw
virtual size: 10G (10737418240 bytes)
disk size: 652M


I've also noticed this with win2003 guest images.

I'm probably missing something or doing something stupid - I'd be glad
if someone can point it out.


Kind regards,
Joris

-
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] win2003 guest stutters

2007-09-16 Thread Joris
Hello Avi,


> >> Please try using 'taskset' to pin the VM to one cpu and report.
> > That works! This works especially well if I use taskset right from the
> > start of the vm...
> Well, that's not a good sign.  Things should work even if not pinned.

Hmm, anything else I can try to debug?


Kind regards, J

-
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] win2003 guest stutters

2007-09-16 Thread Joris
Helo Avi,


> > This image works well half of the time (very responsive and no
> > interruptions), but after some time it will completely freeze for a
> > period of time (sometimes seconds, sometimes minutes it would seem).
> > Both the network and the console are completely unresponsive.

> Please try using 'taskset' to pin the VM to one cpu and report.

That works! This works especially well if I use taskset right from the
start of the vm...


Thanks,
J

-
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] win2003 guest stutters

2007-09-12 Thread Joris
Hi Avi,


> > Please CC me, I'm not a subscriber to the list.
> Please try using 'taskset' to pin the VM to one cpu and report.

That improves things significantly.

The first minute the symptoms are still present, after that the VM
appears to work smoothly.


This is really great, thanks!

Kind regards,
Joris

-
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


[kvm-devel] win2003 guest stutters

2007-09-10 Thread Joris
Hi,


Please CC me, I'm not a subscriber to the list.

I have a Debian unstable 64bit host on an intel S3000 quad core xeon
X3210. Kernel 2.6.22-2-amd64 (debian flavour) and KVM28 and KVM36.

Linux guests run very well.


I installed Win2003 EE SP2 with --no-kvm, and disabled ACPI in the
windows setup.
Now I'm running this image with kvm -no-acpi -m 1024 -hda
w2k3image.qcow2 -net nic,model=rtl8139 -net tap,vlan=0,ifname=tap3.
(note I have KVM enabled at this point)

This image works well half of the time (very responsive and no
interruptions), but after some time it will completely freeze for a
period of time (sometimes seconds, sometimes minutes it would seem).
Both the network and the console are completely unresponsive.

I can't see a pattern as to when it happens: sometimes the guest will
work for 10 minutes without a hitch, sometimes I can't make it past
the login screen.

It is the only VM running at that time.


Any help or suggestions would be greatly appreciated.

Kind regards,
Joris

-
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