Bug 521749 - Guest Window2008-R2-datacenter installation is stopped at step "Setup will continue after restarting your computer" (AMD host only)
Summary: Guest Window2008-R2-datacenter installation is stopped at step "Setup will c...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.5
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Eduardo Habkost
QA Contact: Lawrence Lim
URL:
Whiteboard:
Depends On: 502543
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-08 06:13 UTC by Suqin Huang
Modified: 2014-03-26 01:01 UTC (History)
10 users (show)

Fixed In Version: kvm-83-114.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-30 07:55:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
strace result (3.34 MB, text/plain)
2009-09-08 06:14 UTC, Suqin Huang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0271 0 normal SHIPPED_LIVE Important: kvm security, bug fix and enhancement update 2010-03-29 13:19:48 UTC

Description Suqin Huang 2009-09-08 06:13:19 UTC
Description of problem:
Windows 2008 R2 datacenter installation is stopped at "Setup will continue after restarting your computer"

Version-Release number of selected component (if applicable):
kvm-83-112.el5

How reproducible:
always

Steps to Reproduce:
1. full install windows 2008 R2 datacenter with 4 vcpus & 8G mem.
CLI:
/usr/libexec/qemu-kvm -drive file=/data/images/win08-R2-data/win08-4smp-8mem.qcow2,if=ide -no-hpet -rtc-td-hack -smp 4 -m 8G -uuid `uuidgen` -net nic,model=e1000,macaddr=00:66:22:33:55:66,vlan=0 -net tap,vlan=0,script=/etc/qemu-ifup -cpu qemu64,+sse2 -boot d -drive file=/dev/cdrom,index=2,media=cdrom -monitor stdio -vnc :6
2.
3.
  
Actual results:


Expected results:
Stop at the step: Setup will continue after restarting your computer

Additional info:
1. windows2008-R2-datacenter is installed successfully with 2 vcpus & 8 mem.
also hang when install with 4 vcpus & 12G mem.

2. host info:
processor	: 15
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 2
model name	: Quad-Core AMD Opteron(tm) Processor 8356

MemTotal:     132171416 kB
MemFree:      112917296 kB
Buffers:       2905204 kB
Cached:        7570300 kB
SwapCached:          0 kB
Active:        8919448 kB
Inactive:     10044052 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:     132171416 kB
LowFree:      112917296 kB
SwapTotal:     2047992 kB
SwapFree:      2047992 kB

3. top:
10281 root      25   0 8468m 8.1g 3992 R 100.0  6.4  25:36.29 qemu-kvm          
10283 root      25   0 8468m 8.1g 3992 R 100.0  6.4  25:01.23 qemu-kvm          
10282 root      18   0 8468m 8.1g 3992 R 99.7  6.4  24:44.86 qemu-kvm           
10284 root      16   0 8468m 8.1g 3992 R 99.0  6.4  25:25.43 qemu-kvm    

4. kvm_stat:
efer_reload                  0       0
 exits                764491401  506209
 fpu_reload           501436154  335895
 halt_exits           246899723  167945
 halt_wakeup            1299291       0
 host_state_reload    501503146  335898
 hypercalls                   0       0
 insn_emulation         6347294       0
 insn_emulation_fail          0       0
 invlpg                       0       0
 io_exits             499851464  335886
 irq_exits              4839685    2378
 irq_injections         2105756       0
 irq_window                   0       0
 kvm_request_irq              0       0
 largepages                   0       0
 mmio_exits               57903       0
 mmu_cache_miss           82866       0
 mmu_flooded                  0       0
 mmu_pde_zapped               0       0
 mmu_pte_updated              0       0
 mmu_pte_write                0       0
 mmu_recycled                 0       0
 mmu_shadow_zapped	 103605       0
 mmu_unsync                   0       0
 mmu_unsync_global            0       0
 nmi_injections               6       0
 nmi_window                   1       0
 pf_fixed               6734424       0
 pf_guest                     0       0
 remote_tlb_flush         14629       0
 request_nmi                  0       0
 signal_exits                 1       0
 tlb_flush               356747       0

5. strace: attached

Comment 1 Suqin Huang 2009-09-08 06:14:19 UTC
Created attachment 360038 [details]
strace result

Comment 2 Gleb Natapov 2009-09-08 06:54:37 UTC
can you check if this works on Intel?

Comment 3 Suqin Huang 2009-09-08 08:03:23 UTC
install successfully on Intel host : 4vcpus & 8mem

host info :
processor	: 7
vendor_id	: GenuineIntel
cpu family	: 6
model		: 26
model name	: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz


MemTotal:     12159972 kB
MemFree:        219064 kB
Buffers:       2701896 kB
Cached:         543772 kB
SwapCached:          0 kB

Comment 5 Eduardo Habkost 2009-09-15 20:29:34 UTC
Please test with kvm-83-114.el5 - it contains the fix for bug #502543, and it may fix this bug too.

Comment 6 Suqin Huang 2009-09-16 03:36:41 UTC
this issue still exist on kvm-83-114.el5

1. install vm with 4 vcpu & 12G mem
CLI:
/usr/libexec/qemu-kvm -drive file=/data/images/rhel/win08-R2-data.qcow2,if=ide -no-hpet -usbdevice tablet -rtc-td-hack -smp 4 -m 12G -uuid `uuidgen` -net nic,model=e1000,macaddr=00:66:88:FE:DD:55,vlan=0 -net tap,vlan=0,script=/etc/qemu-ifup -cpu qemu64,+sse2 -boot d -monitor stdio -vnc :8 -drive file=/dev/cdrom,index=2,media=cdrom

2. host:
processor	: 15
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 2
model name	: Quad-Core AMD Opteron(tm) Processor 8356
stepping	: 3

3. 
[root@amd-8356-32-2 rhel]# rpm -qa | grep kvm
etherboot-zroms-kvm-5.4.4-10.el5
kmod-kvm-83-114.el5
kvm-debuginfo-83-114.el5
kvm-tools-83-114.el5
kvm-83-114.el5
kvm-qemu-img-83-114.el5

Comment 7 Miya Chen 2009-10-12 04:16:35 UTC
Test this with kvm-83-105.el5_4.9, this problem does not exist.

1. Install guest with 4 vcpu & 8 mem
CLI:
/usr/libexec/qemu-kvm -rtc-td-hack -no-hpet -usbdevice tablet -drive file=win08-r2-dc2.qcow2,if=ide -cpu qemu64,+sse2 -smp 4 -m 8G -net nic,macaddr=20:20:20:11:22:09,model=e1000,vlan=0 -net tap,script=/etc/qemu-ifup,vlan=0 -cdrom /mnt/win08-R2.iso -boot d -vnc :1

2. host info:
processor	: 3
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 2
model name	: AMD Phenom(tm) 9600B Quad-Core Processor

Comment 8 Miya Chen 2009-10-13 06:06:28 UTC
Retested with kvm-83-114, this problem also does not exist.(in Comment #6, after update kvm, did not reload kvm module again, so the patch did not take effect).

So close this bug.

Comment 9 lihuang 2009-10-13 07:47:47 UTC
(In reply to comment #8)
> Retested with kvm-83-114, this problem also does not exist.(in Comment #6,
> after update kvm, did not reload kvm module again, so the patch did not take
> effect).
> 
> So close this bug.  

lihuang -> michen 
 sorry . maybe I have told you a wrong status transition.   change the status back to MODIFIED.

Comment 10 lihuang 2009-10-13 07:48:41 UTC
lihuang -> boto 
 please correct me ,if I am wrong .

Comment 12 Qunfang Zhang 2009-12-23 10:24:18 UTC
Re-test in kvm-83-140.el5
host: AMD
host kernel: 2.6.18-182.el5
result: PASSED

Steps: Full install a Window2008-R2-datacenter guest in AMD host with 4 vcpus and 8G mem.
Result: Installation finishes successfully.

CLI:
/usr/libexec/qemu-kvm -no-hpet -usbdevice tablet -rtc-td-hack -smp 4 -m 8G -drive file=/media/win2008/Windows_Server_2008_R2_RC_EN.iso,media=cdrom,if=ide,index=2 -drive file=/root/win2k8_r2_4smp_8mem.qcow2,media=disk,if=ide,index=0 -net nic,model=e1000,macaddr=00:1a:4a:33:6d:ff,vlan=0 -net tap,vlan=0,script=/etc/qemu-ifup -cpu qemu64,+sse2 -boot d -monitor stdio -vnc :10 -uuid `uuidgen` -name amd_win2k8_r2

Comment 15 errata-xmlrpc 2010-03-30 07:55:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0271.html


Note You need to log in before you can comment on or make changes to this bug.