[Bug 1562653] Re: Ubuntu 15.10: QEMU VM hang if memory >= 1T
I only saw this because it expired now :-/ Anyone affected by this might want to take a look at bug 1776189 where Ubuntu added a special machine type to more easily set "host-phys-bits" which is the qemu flag to have more (usually the host has more) available (at the cost of migratability). That allows <1TB as the default bits in qemu are chosen on the base of TCG (to be able to emulate what is virtualized) and that is limited to 1TB. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1562653 Title: Ubuntu 15.10: QEMU VM hang if memory >= 1T To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1562653/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1562653] Re: Ubuntu 15.10: QEMU VM hang if memory >= 1T
[Expired for qemu (Ubuntu) because there has been no activity for 60 days.] ** Changed in: qemu (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1562653 Title: Ubuntu 15.10: QEMU VM hang if memory >= 1T To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1562653/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1562653] Re: Ubuntu 15.10: QEMU VM hang if memory >= 1T
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1562653 Title: Ubuntu 15.10: QEMU VM hang if memory >= 1T To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1562653/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1562653] Re: Ubuntu 15.10: QEMU VM hang if memory >= 1T
Can you still reproduce this problem with the latest version of upstream QEMU? ** Changed in: qemu Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1562653 Title: Ubuntu 15.10: QEMU VM hang if memory >= 1T To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1562653/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1562653] Re: Ubuntu 15.10: QEMU VM hang if memory >= 1T
For cpus which have not EPT feature, should change CR3_L_MODE_RESERVED_BITS in arch/x86/include/asm/kvm_host.h: -#define CR3_L_MODE_RESERVED_BITS 0xFF00ULL +#define CR3_L_MODE_RESERVED_BITS 0xFE00ULL -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1562653 Title: Ubuntu 15.10: QEMU VM hang if memory >= 1T To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1562653/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1562653] Re: Ubuntu 15.10: QEMU VM hang if memory >= 1T
The issue is sloved after change cpuid[8008]; --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -2547,7 +2547,7 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count, if (env->features[FEAT_8000_0001_EDX] & CPUID_EXT2_LM) { /* 64 bit processor */ /* XXX: The physical address space is limited to 42 bits in exec.c. */ -*eax = 0x3028; /* 48 bits virtual, 40 bits physical */ +*eax = 0x3029; /* 48 bits virtual, 41 bits physical */ } else { if (env->features[FEAT_1_EDX] & CPUID_PSE36) { *eax = 0x0024; /* 36 bits physical */ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1562653 Title: Ubuntu 15.10: QEMU VM hang if memory >= 1T To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1562653/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1562653] Re: Ubuntu 15.10: QEMU VM hang if memory >= 1T
After I changed PHYS_ADDR_MASK, qemu vm can start when memory >=1024G , but kvm vm still hang. -# define PHYS_ADDR_MASK 0xffLL +# define PHYS_ADDR_MASK 0xfffLL -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1562653 Title: Ubuntu 15.10: QEMU VM hang if memory >= 1T To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1562653/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1562653] Re: Ubuntu 15.10: QEMU VM hang if memory >= 1T
I mean vm hang when memory >= 1100G (1024G when enable ide cdrom) instead of 1.5G. If disable hpet, the vm will hang at acpi_ex_system_memory_space_handler when memory >= 1100G If disable kvm, vm is good when memory <= 1020G, but also hang when memory >= 1024G. There is no critical information in vm.log: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1562653 Title: Ubuntu 15.10: QEMU VM hang if memory >= 1T To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1562653/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1562653] Re: Ubuntu 15.10: QEMU VM hang if memory >= 1T
Hi, just to be sure, if you run kvm -vnc :1 -m 1.5G kvm -vnc :1 -m 1.5G --no-hpet do those also crash? Can you please show the contents of /var/log/libvirt/qemu/u1510-1.log ** Package changed: kvm (Ubuntu) => qemu (Ubuntu) ** Also affects: qemu Importance: Undecided Status: New ** Changed in: qemu (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1562653 Title: Ubuntu 15.10: QEMU VM hang if memory >= 1T To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1562653/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1562653] Re: Ubuntu 15.10: QEMU VM hang if memory >= 1T
I delete cdrom and IDE controller, the vm start sucessfully. But when I increate memory to 1100G, vm hang at hpet_enable when start. The panic is page_fault when execute hpet_period = hpet_readl(HPET_PERIOD); It seems that ioremap_nocache does not works correctly. hpet_virt_address = ioremap_nocache(hpet_address, HPET_MMAP_SIZE); -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1562653 Title: Ubuntu 15.10: QEMU VM hang if memory >= 1T To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kvm/+bug/1562653/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs