[Bug 714335] Re: KVM SMP Linux Guests Hang on AMD

2011-03-01 Thread Brian Knoll
Hi Serge, Yes, this kernel does fix the problem! Thank you!! I was able to boot successfully into the kernel with SMP enabled on the systems that couldn't do this before. Let me know if there is additional testing I can do to help you get this into the Lucid stream. Thanks again for all of

[Bug 714335] Re: KVM SMP Linux Guests Hang on AMD

2011-03-01 Thread Serge Hallyn
Great, thanks Brian. I'll forward the patch along with SRU justification to the kernel team. ** Package changed: qemu-kvm (Ubuntu) = linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu.

[Bug 714335] Re: KVM SMP Linux Guests Hang on AMD

2011-02-28 Thread Serge Hallyn
** Summary changed: - KVM SMP Linux Guests Hang + KVM SMP Linux Guests Hang on AMD -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/714335 Title: KVM SMP Linux Guests Hang on AMD

[Bug 714335] Re: KVM SMP Linux Guests Hang on AMD

2011-02-28 Thread Serge Hallyn
** Patch added: kernel patch attempting to recreate the two fixes from upstream https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/714335/+attachment/1877692/+files/0001-kvm-cherrypick-three-kvm-fixes.patch -- You received this bug notification because you are a member of Ubuntu Server

[Bug 714335] Re: KVM SMP Linux Guests Hang on AMD

2011-02-28 Thread Serge Hallyn
@Brian, I've uploaded a kernel .deb which (hopefully correctly) re-implements the two fixes which looked most likely to address the bug, at linux- image-2.6.32-29-generic_2.6.32-29.58ubuntu1_amd64.deb. I've verified that I can at least install that kernel package on a lucid intel system and

[Bug 714335] Re: KVM SMP Linux Guests Hang on AMD

2011-02-28 Thread Brian Knoll
@Serge, Thanks for the work on these patches. I did look at the PPA and all I see are the 2.6.38 packages, and since the 2.6.32-29 kernel isn't in the mainstream repository yet I am unsure of where to get it. Could you please point me to where I can get this new kernel with the fixes, so I can

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-24 Thread agent 8131
I believe this bug has been affecting me for some time. Just to be clear on my situation: * Host system running Ubuntu 10.04 64-bit * Guest systems running Ubuntu 10.04 64-bit * Guests freeze a large percentage of time, though not always. * They always freeze immediately after the Freeing initrd

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-22 Thread Serge Hallyn
Unfortunately those commits do not cleanly cherrypick. I'll try to rewrite them from scratch, time permitting. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/714335 Title: KVM

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-18 Thread Serge Hallyn
Hi Brian, have you had a chance to test with the new kernel? ** Changed in: qemu-kvm (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu.

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-18 Thread Brian Knoll
Hi Serge, Yes, that PPA kernel does indeed fix it. I used the PPA kernel in the guest and it made everything work perfectly. So I'm thinking one of those fixes you mentioned solves the problem. Note that I am still using the standard Lucid kernel in the host, but I don't think that's relevant

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-14 Thread Alexandre Derumier
same bug here, https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/669818 i'had marked it as duplicate -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/714335 Title: KVM SMP

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-14 Thread Alexandre Derumier
i had just try linux-image-2.6.38-3-server from natty and it's booting fine. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/714335 Title: KVM SMP Linux Guests Hang --

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-14 Thread Serge Hallyn
I wonder whether one of: 1d5f066e0b63271b67eac6d3752f8aa96adcbddb: KVM: x86: Fix a possible backwards warp of kvmclock 28e4639adf0c9f26f6bb56149b7ab547bf33bb95: KVM: x86: Fix kvmclock bug could fix it. -- You received this bug notification because you are a member of Ubuntu Server

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-14 Thread Serge Hallyn
Is it possible in your environment to test with the kernel package from https://launchpad.net/~kernel-ppa/+archive/ppa? The package is called linux-lts-backport-natty, and should include all kvm fixes which are currently upstream. If that does not fix it, then the two commits cited above in

Re: [Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-14 Thread Brian Knoll
exactly what to add at this point. --- On Mon, 2/14/11, Serge Hallyn 714...@bugs.launchpad.net wrote: From: Serge Hallyn 714...@bugs.launchpad.net Subject: [Bug 714335] Re: KVM SMP Linux Guests Hang To: brianknoll2...@yahoo.com Date: Monday, February 14, 2011, 4:24 PM Is it possible in your

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-14 Thread Serge Hallyn
I think you should be able to just: sudo add-apt-repository ppa:kernel-ppa/ppa sudo apt-get install linux-lts-backport-natty I'm waiting for a lucid vm to build so I can test that to make sure. -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-14 Thread Brian Knoll
It ended up being apt-get install linux-image-server-backport-natty after doing an update. But you told me what I needed to get it working. I'll try it out and let you know how it works. Thanks for all the help! -- You received this bug notification because you are a member of Ubuntu Server

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-14 Thread Richard Walker
Hey there... same issue here, on a 6-core Phenom X6 1055T. I already have 3 VMs running perfectly that I built with vm-builder, but a fourth just isn't going to work. vmbuilder kvm ubuntu --suite maverick --flavour virtual --arch amd64 -o --libvirt qemu:///system --ip 203.4.172.214 --hostname

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-14 Thread altivec
My configuration might be a little off-topic, but I'm experiencing a similar problem so I thought I'd leave a comment here anyway. I'm using qemu 0.13 on a Debian Squeeze host (kernel 2.6.32-5-amd64) running on a 64-bit Intel Xeon. The guest is a 64-bit Win 2008 R2. When I run the VM using

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-10 Thread Brian Knoll
I also want to mention that in my last comment, Launchpad turned the upstream bug number into a hyperlink and referenced an Ubuntu bug of the same number; that link is not correct, but I can't edit it because I don't have access. Please follow the first link in post #11 (the one on SourceForge)

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-10 Thread Brian Knoll
Okay, I have done some more research and testing and I now think the following upstream KVM bug is the problem: http://sourceforge.net/tracker/?func=detailaid=2968899group_id=180599atid=893831 Upstream KVM bug 2968899 describes a bug which causes the SMP guest to lock up when setting the time.

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-10 Thread Serge Hallyn
@Brian awesome, thanks for finding the upstream bug. I'm afraid I won't be able to do so today, but I'll look in detail tomorrow and try to devise a fix. Thanks again. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-09 Thread Alexandre Derumier
Hi, i have exactly the same problem with my quad opteron 6174 hosts. (no problem on intel ). my hosts are running proxmox 1.7 distrib (debian lenny with 2.6.32 kernel backported from squeeze). my ubuntu guests can boot with 2.6.32-24 kernel in smp mode, but since 2.6.32-25 they are hanging at

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-09 Thread Brian Knoll
Someone else has confirmed the same bug so I am changing the status to Confirmed. ** Changed in: qemu-kvm (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu.

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-09 Thread Brian Knoll
I also want to add that I am not 100% clear where the bug is at this point. My best guess, based on the information we have available in this ticket, is that there is an upstream bug in the Linux kernel itself, with regard to the way it handles AMD64 processors when running under KVM. If that's

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-09 Thread Serge Hallyn
@Alexandre: I'm not quite following your comment. Is all of your experience on a Debian host? Are you able to boot a Debian guest with 2.6.33 through 2.6.35 kernel? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu.

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-08 Thread Brian Knoll
Thank you, Serge. Please let me know how I can help. I am wiling to test packages and help however I can. Thanks again for looking into this! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu.

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-07 Thread Brian Knoll
** Tags added: kvm qemu-kvm virtualization -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/714335 Title: KVM SMP Linux Guests Hang -- Ubuntu-server-bugs mailing list

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-07 Thread Brian Knoll
Thank you for your response. I did try the backported Maverick qemu-kvm packages from the PPA you mentioned, and they did not help the problem at all. Actually, they seem to have made it much worse. Now, instead of SMP VMs failing about 50% of the time on my AMD-based machines, it fails 100% of

Re: [Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-07 Thread Serge Hallyn
Thanks, Brian. I'm going to play a bit more with the latest current usptream to see what I can reproduce there. If that fixes it, then I'll provide a backport to lucid for those running into problems with AMD. In the more likely event that there are still problems, then we can at least work

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-06 Thread Brian Knoll
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/714335 Title: KVM SMP Linux Guests Hang -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-06 Thread Brian Knoll
** Description changed: Binary package hint: qemu-kvm SMP Linux guests are hanging under KVM. This does not happen always, but at least 50% of the time or so. If I start the guests with -smp 1 or just completely omit the -smp parameter this doesn't happen. I can also say

[Bug 714335] Re: KVM SMP Linux Guests Hang

2011-02-06 Thread Brian Knoll
I also want to mention that the guests are fully-updated 64-bit Ubuntu Lucid Server VMs. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/714335 Title: KVM SMP Linux Guests Hang --