RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 660561 - cpu stuck after reboot
Summary: cpu stuck after reboot
Keywords:
Status: CLOSED DUPLICATE of bug 654532
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Gleb Natapov
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 580954
TreeView+ depends on / blocked
 
Reported: 2010-12-07 05:32 UTC by Suqin Huang
Modified: 2013-12-09 00:52 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-21 06:47:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Suqin Huang 2010-12-07 05:32:39 UTC
Description of problem:


Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.121.el6.x86_64  

How reproducible:
sometime

Steps to Reproduce:
1. boot guest
/usr/libexec/qemu-kvm -monitor stdio -drive file=/root/RHEL-Server-6.0-64-virtio.qcow2,index=0,if=none,id=drive-virtio-disk1,media=disk,cache=none,format=qcow2,aio=native -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk1,id=virtio-disk1 -device virtio-net-pci,mac=9a:6d:23:47:db:2b,netdev=idR0zeql,id=ndev00idR0zeql,bus=pci.0,addr=0x3 -netdev tap,id=idR0zeql,ifname='t0-110917-ZQU3',script=s/root/cripts/qemu-ifup-switch,downscript='no' -m 2048 -smp 2,cores=1,threads=1,sockets=2 -cpu cpu64-rhel6,+sse2,+x2apic -spice port=8000,disable-ticketing -vga qxl -rtc base=utc,clock=host,driftfix=none -M rhel6.0.0 -usbdevice tablet -no-kvm-pit-reinjection -enable-kvm

2. reboot guest
3.
  
Actual results:
cpu stuck, can not boot up guest

Expected results:


Additional info:

1. host
kernel:
2.6.32-86.el6.x86_64

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 107
model name	: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
stepping	: 2
cpu MHz		: 2700.000
cache size	: 512 KB

flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
bogomips	: 5411.38
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps


2. guest:
rhel6-server-64
2.6.32-71.el6.x86_64

3. serial log
SELinux:  Initializing.
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Mount-cache hash table entries: 256
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
Initializing cgroup subsys blkio
mce: CPU supports 10 MCE banks
Performance Events: AMD PMU driver.
... version:                0
... bit width:              48
... generic registers:      4
... value mask:             0000ffffffffffff
... max period:             00007fffffffffff
... fixed-purpose events:   0
... event mask:             000000000000000f
alternatives: switching to unfair spinlock
ACPI: Core revision 20090903
ftrace: converting mcount calls to 0f 1f 44 00 00
ftrace: allocating 20282 entries in 80 pages
Enabling x2apic
Enabled x2apic
Setting APIC routing to physical x2apic
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: AMD QEMU Virtual CPU version (cpu64-rhel6) stepping 03
Booting Node   0, Processors  #1 Ok.
CPU1: Stuck ??

4. top

top - 13:30:29 up  2:27,  1 user,  load average: 2.10, 1.62, 1.43
Tasks: 165 total,   3 running, 161 sleeping,   0 stopped,   1 zombie
Cpu0  : 92.7%us,  6.9%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.3%si,  0.0%st
Cpu1  : 99.7%us,  0.3%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   3857300k total,   722724k used,  3134576k free,     6140k buffers
Swap:  6094840k total,        0k used,  6094840k free,    69444k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                   
 7254 root      20   0 2671m 382m 3216 R 99.1 10.2   3:17.58 qemu                                                      
 7258 root      20   0 2671m 382m 3216 R 89.2 10.2   3:13.46 qemu                                                      
 7245 root      20   0 2671m 382m 3216 S  9.6 10.2   0:26.04 qemu

5. kvm_stat

kvm statistics

 efer_reload                  0       0
 exits                  6352668    4913
 fpu_reload               19520       0
 halt_exits               30032       0
 halt_wakeup               5652       0
 host_state_reload	1857629    2154
 hypercalls                   0       0
 insn_emulation         2185100       0
 insn_emulation_fail          0       0
 invlpg                   98886       0
 io_exits               1299976       0
 irq_exits              1195879    4913
 irq_injections           75151       0
 irq_window                   0       0
 largepages                  79       0
 mmio_exits               28099       0
 mmu_cache_miss           54391       0
 mmu_flooded              20410       0
 mmu_pde_zapped           76776       0
 mmu_pte_updated              6       0
 mmu_pte_write            99143       0
 mmu_recycled                 0       0

6. can not reproduce in this host:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Xeon(R) CPU           X3323  @ 2.50GHz
stepping	: 10
cpu MHz		: 2499.806
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 3
cpu cores	: 4
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 xsave lahf_lm tpr_shadow vnmi flexpriority
bogomips	: 4999.96
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

Comment 2 Suqin Huang 2010-12-07 05:44:00 UTC
guest kernel: kernel-2.6.32-71.7.1.el6

Comment 3 Gleb Natapov 2010-12-20 09:21:05 UTC
Please retest with host kernel kernel-2.6.32-93.el6.

Comment 4 Suqin Huang 2010-12-21 05:10:11 UTC
test 150 times, can not reproduce
host: kernel-2.6.32-93.el6 && qemu-kvm-0.12.1.2-2.127.el6.x86_64
guest: kernel-2.6.32-71.7.1.el6.x86_64

Comment 5 Gleb Natapov 2010-12-21 06:47:48 UTC
According to comment #4 close as dup of 654532.

*** This bug has been marked as a duplicate of bug 654532 ***


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