[Bug 1562653] Re: Ubuntu 15.10: QEMU VM hang if memory >= 1T

2016-03-31 Thread changlimin
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

2016-03-31 Thread changlimin
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

2016-03-30 Thread changlimin
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

2016-03-28 Thread changlimin
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


[Bug 1562653] [NEW] Ubuntu 15.10: QEMU VM hang if memory >= 1T

2016-03-27 Thread changlimin
Public bug reported:

1. Ubuntu 15.10 x86_64 installed on HP SuperDome X with 8CPUs and 4T
memory.

2. Create a VM, install Ubuntu 15.10, if memory >= 1T , VM hang when start. If 
memory < 1T, it is good.

  u1510-1
  39eefe1e-4829-4843-b892-026d143f3ec7
  1073741824
  1073741824
  16
  
hvm


  
  



  
  
  destroy
  restart
  restart
  
/usr/bin/kvm

  
  
  
  


  
  
  
  



  


  


  
  
  
  
  




  


  
  


  

  


3. The panic stack is
  ... cannot show
  async_page_fault+0x28
  ioread32_rep+0x38
  ata_sff_data_xfer32+0x8a
  ata_pio_sector+0x93
  ata_pio_sectors+0x34
  ata_sff_hsm_move+0x226
  RIP: kthread_data+0x10
  CR2: _FFD8

4. Change the host os to Redhat 7.2 , the vm is good even memory >=3.8T.

** Affects: kvm (Ubuntu)
 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/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


[Bug 1473282] [NEW] Redhat guest hang when iotest on qemu 1:2.2+dfsg-5expubuntu9.2

2015-07-09 Thread changlimin
Public bug reported:

0. lsb_release -rd
  Description:Ubuntu 15.04
  Release:15.04

1. kvm --version , upgraded from ubuntu vivid-updates
  QEMU emulator version 2.2.0 (Debian 1:2.2+dfsg-5expubuntu9.2)

2. I create a Redhat 6.6 x64 virtual machine, then do iotest by using
tiotest tool provided by phoronix. The command is 3 instances of
"tiotest -b 512k -S".

3. After about 10-20 minutes, the guest io hang with the stack:
  [] ? pvclock_clocksource_read+0x50/0xd0
  [] ? sync_page+0x0/0x50
  [] io_schedule+0x73/0xc0
  [] sync_page+0x3d/0x50
  ..
  [] vfs_fsync_rage+0x7e/0x100
  ..
  [] sys_write+0x51/0x90

4. I check the code pvclock_clocksource_read, maybe the src->version is 
miswriten to an odd number.
do {
version = __pvclock_read_cycles(src, &ret, &flags);
} while ((src->version & 1) || version != src->version);

5. The vm xml:

  r0606-65b
  282b7680-09ea-4d12-b026-047800ea4629
  2097152
  2097152
  2
  
hvm


  
  



  
  

  
  
  destroy
  restart
  restart
  
/usr/bin/kvm

  
  
  
  


  
  
  
  


  



  


  


  
  
  
  
  


  


  


  
  
  





  


  
  


  

  


** Affects: qemu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
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/1473282

Title:
  Redhat guest hang when iotest on qemu 1:2.2+dfsg-5expubuntu9.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1473282/+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