[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 Server Team, which is subscribed to qemu in 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-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 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 Server Team, which is subscribed to qemu in 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-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 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 Server Team, which is subscribed to qemu in 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-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 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 Server Team, which is subscribed to qemu in 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-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 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 Server Team, which is subscribed to kvm in 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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs