[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
My issue seems to be a case of bug 654723 -- 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/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. To manage notifications about this bug go to: https://bugs.launchpad.net/vmbuilder/+bug/712878/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
Several VMs that I recently created with vmbuilder 0.12.4 on Lucid failed this way; turns out that no partition was marked bootable in the MBR. kvm-nbd fdisk fixed that. -- 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/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. To manage notifications about this bug go to: https://bugs.launchpad.net/vmbuilder/+bug/712878/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
[Expired for qemu-kvm (Ubuntu) because there has been no activity for 60 days.] ** Changed in: qemu-kvm (Ubuntu) Status: Incomplete = Expired -- 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/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
I added a static Ip address in the command-line and now vmbuilder continues. I will look elsewhere to solve remaining errors. -- 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/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
@William, I tried the exact vmbuilder command you listed but the result booted fine for me. I can't reproduce your error. It's possible that a server kernel update has fixed it. Can you still reproduce the error? Can you reproduce it when you don't use your local mirror? @KarelV, if you still have a problem please file a new bug, rather than commenting on this one, as I suspect you have different causes.unless you are convinced you have the exact same bug as William's. -- 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/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
Yes, I am behind a firewall. I have internet access, e.g. apt-get opperates properly. Also the wget command operates, it gives this sequence: --2011-03-12 10:00:03-- http://archive.ubuntu.com/ubuntu/dists/maverick/Release Herleiden van archive.ubuntu.com... 91.189.88.46 Verbinding maken met archive.ubuntu.com|91.189.88.46|:80... verbonden. HTTP-verzoek is verzonden; wachten op antwoord... 200 OK Lengte: 39772 (39K) [text/plain] Wordt opgeslagen als: âReleaseâ 100%[===] 39.772 --.-K/s in 0,1s 2011-03-12 10:00:23 (377 KB/s) - 'âReleaseâ' opgeslagen [39772/39772] -- 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/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
I'm new to Ubuntu and vmbuilder and I am not shure whether my problem installing a new guest is related to this bug. If related, the sequence I get, could be of help. After the line Calling hook: bootstrap, nothing happend for almost one hour and then stopped with some error reporting as given hereafter. nnn@sss:~$ sudo vmbuilder kvm ubuntu --suite maverick --flavour virtual --arch amd64 -o --libvirt qemu:///system --hostname sweb --part vmbuilder.partition --user nnn --name nnn --pass ppp --bridge br1 [sudo] password for nnn: 2011-03-11 12:20:27,034 INFO: Calling hook: preflight_check 2011-03-11 12:20:27,061 INFO: Calling hook: set_defaults 2011-03-11 12:20:27,063 INFO: Calling hook: bootstrap 2011-03-11 13:18:58,705 ERROR : Process (['/usr/sbin/debootstrap', '--arch=amd64', 'maverick', '/tmp/tmpwHumhC', 'http://archive.ubuntu.com/ubuntu']) returned 1. stdout: I: Retrieving Release E: Failed getting release file http://archive.ubuntu.com/ubuntu/dists/maverick/Release , stderr: Traceback (most recent call last): File /usr/bin/vmbuilder, line 24, in module cli.main() File /usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py, line 110, in main distro.build_chroot() File /usr/lib/python2.6/dist-packages/VMBuilder/distro.py, line 82, in build_chroot self.call_hooks('bootstrap') File /usr/lib/python2.6/dist-packages/VMBuilder/distro.py, line 66, in call_hooks call_hooks(self, *args, **kwargs) File /usr/lib/python2.6/dist-packages/VMBuilder/util.py, line 165, in call_hooks getattr(context, func, log_no_such_method)(*args, **kwargs) File /usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py, line 142, in bootstrap self.suite.debootstrap() File /usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py, line 269, in debootstrap run_cmd(*cmd, **kwargs) File /usr/lib/python2.6/dist-packages/VMBuilder/util.py, line 120, in run_cmd raise VMBuilderException, Process (%s) returned %d. stdout: %s, stderr: %s % (args.__repr__(), status, mystdout.buf, mystderr.buf) VMBuilder.exception.VMBuilderException: Process (['/usr/sbin/debootstrap', '--arch=amd64', 'maverick', '/tmp/tmpwHumhC', 'http://archive.ubuntu.com/ubuntu']) returned 1. stdout: I: Retrieving Release E: Failed getting release file http://archive.ubuntu.com/ubuntu/dists/maverick/Release , stderr: nnn@sss:~$ -Karel -- 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/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
Quoting KarelV (712...@bugs.launchpad.net): raise VMBuilderException, Process (%s) returned %d. stdout: %s, stderr: %s % (args.__repr__(), status, mystdout.buf, mystderr.buf) VMBuilder.exception.VMBuilderException: Process (['/usr/sbin/debootstrap', '--arch=amd64', 'maverick', '/tmp/tmpwHumhC', 'http://archive.ubuntu.com/ubuntu']) returned 1. stdout: I: Retrieving Release E: Failed getting release file http://archive.ubuntu.com/ubuntu/dists/maverick/Release Are you behind a firewall? Can you wget http://archive.ubuntu.com/ubuntu/dists/maverick/Release from the command line? -- 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/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
@William If you have some time, could you go ahead and answer the questions in comment #2? Many thanks in advance. ** Changed in: vmbuilder Status: New = Incomplete ** Package changed: kvm (Ubuntu) = qemu-kvm (Ubuntu) ** Changed in: qemu-kvm (Ubuntu) Importance: Undecided = Low ** Changed in: qemu-kvm (Ubuntu) Status: New = Incomplete ** Changed in: vmbuilder Importance: Undecided = Low -- 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/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
(Marking low importance since there is a workaround.) -- 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/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
Okay, thank you for the information. Earlier I had wondered if maybe you had shortened the cpuinfo you posted, just to keep things more compact in your bug report (which is why I asked, because the cpuinfo obviously shows single-cpu), but since that isn't the case and they really are single-CPU VMs I don't think this is the same bug as I have. Thanks again for the information! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to kvm in ubuntu. https://bugs.launchpad.net/bugs/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
I have been able to work around the issue by provisioning guests with the virtual flavor, rather than with the server flavor. On Feb 6, 2011 6:20 AM, Brian Knoll 712...@bugs.launchpad.net wrote: Okay, thank you for the information. Earlier I had wondered if maybe you had shortened the cpuinfo you posted, just to keep things more compact in your bug report (which is why I asked, because the cpuinfo obviously shows single-cpu), but since that isn't the case and they really are single-CPU VMs I don't think this is the same bug as I have. Thanks again for the information! -- You received this bug notification because you are a direct subscriber of the bug. https://bugs.launchpad.net/bugs/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. Status in Virtual Machine Builder: New Status in “kvm” package in Ubuntu: New Bug description: Binary package hint: kvm The last working guest was provisioned on Jan 5th, 2011. Just tried to provisioned another guest with vmbuilder and it fails to boot. On the host: uname -a Linux thedraft 2.6.35-25-server #44-Ubuntu SMP Fri Jan 21 19:09:14 UTC 2011 x86_64 GNU/Linux head /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 16 model : 9 model name : AMD Opteron(tm) Processor 6128 stepping : 1 cpu MHz : 800.000 cache size : 512 KB physical id : 0 siblings : 8 dpkg -l |grep qemu ii qemu-common 0.12.5+noroms-0ubuntu7.1 qemu common functionality (bios, documentation, etc) ii qemu-kvm 0.12.5+noroms-0ubuntu7.1 Full virtualization on i386 and amd64 hardware To unsubscribe from this bug, go to: https://bugs.launchpad.net/vmbuilder/+bug/712878/+subscribe -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to kvm in ubuntu. https://bugs.launchpad.net/bugs/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
Thanks for the tip. I tried that over here and it didn't help, but I think I have a different bug over here (mine is related to SMP guests), so I just filed bug 714335 to track mine. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to kvm in ubuntu. https://bugs.launchpad.net/bugs/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
Could you please tell us if the VMs that won't boot are SMP VMs? I know it's the SMP kernel but what I mean is, is KVM giving the VM more than one CPU? If they are SMP VMs, could you please try to make them single- CPU and try to boot them, then let us know what happens? I am seeing a bug with Linux SMP guests under KVM which causes boot failures and random hangs, and I wonder if it's related. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to kvm in ubuntu. https://bugs.launchpad.net/bugs/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
The guests were single cpu server kernel, more info tomorrow. On Feb 5, 2011 10:55 PM, Brian Knoll 712...@bugs.launchpad.net wrote: Could you please tell us if the VMs that won't boot are SMP VMs? I know it's the SMP kernel but what I mean is, is KVM giving the VM more than one CPU? If they are SMP VMs, could you please try to make them single- CPU and try to boot them, then let us know what happens? I am seeing a bug with Linux SMP guests under KVM which causes boot failures and random hangs, and I wonder if it's related. -- You received this bug notification because you are a direct subscriber of the bug. https://bugs.launchpad.net/bugs/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. Status in Virtual Machine Builder: New Status in “kvm” package in Ubuntu: New Bug description: Binary package hint: kvm The last working guest was provisioned on Jan 5th, 2011. Just tried to provisioned another guest with vmbuilder and it fails to boot. On the host: uname -a Linux thedraft 2.6.35-25-server #44-Ubuntu SMP Fri Jan 21 19:09:14 UTC 2011 x86_64 GNU/Linux head /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 16 model : 9 model name : AMD Opteron(tm) Processor 6128 stepping : 1 cpu MHz : 800.000 cache size : 512 KB physical id : 0 siblings : 8 dpkg -l |grep qemu ii qemu-common 0.12.5+noroms-0ubuntu7.1 qemu common functionality (bios, documentation, etc) ii qemu-kvm 0.12.5+noroms-0ubuntu7.1 Full virtualization on i386 and amd64 hardware To unsubscribe from this bug, go to: https://bugs.launchpad.net/vmbuilder/+bug/712878/+subscribe -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to kvm in ubuntu. https://bugs.launchpad.net/bugs/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
Thanks for reporting this bug and helping to make Ubuntu better. Are you able to boot from an install .iso, install a VM, and reboot into that working VM? In other words, is it only images built by vmbuilder which fail to boot? Can you give us the precise vmbuilder command you are using to create the VMs which do not boot? ** Also affects: vmbuilder Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to kvm in ubuntu. https://bugs.launchpad.net/bugs/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 712878] Re: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host.
Confirmed two different hosts with different hardware. The second server had this setup: ii qemu-common 0.12.5+noroms-0ubuntu7 qemu common functionality (bios, documentation, etc) ii qemu-kvm 0.12.5+noroms-0ubuntu7 Full virtualization on i386 and amd64 hardware head /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 30 model name : Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz stepping: 5 cpu MHz : 1197.000 cache size : 8192 KB physical id : 0 siblings: 8 Linux therabbit 2.6.35-23-server #41-Ubuntu SMP Wed Nov 24 12:12:17 UTC 2010 x86_64 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to kvm in ubuntu. https://bugs.launchpad.net/bugs/712878 Title: KVM guest hangs on 'booting from hard disk' 10.10 for guest and host. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs