Bug 726369

Summary: host reboot auto when run guest with cgroup charge_migrate enabled
Product: Red Hat Enterprise Linux 6 Reporter: Suqin Huang <shuang>
Component: kernelAssignee: Johannes Weiner <jweiner>
Status: CLOSED ERRATA QA Contact: Mike Gahagan <mgahagan>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: juzhang, jweiner, lwang, michen, riel, tburke
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-2.6.32-253.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 07:46:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Suqin Huang 2011-07-28 12:19:24 UTC
Description of problem:
run kvm guest, echo 1 > memory.move_charge_at_immigrate, host will reboot auto

Version-Release number of selected component (if applicable):
2.6.32-171.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. 
cmd:
/usr/libexec/qemu-kvm -drive file=/root/RHEL-Server-5.7-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,netdev=idoq0tcT,mac=9a:5e:b5:68:17:d8,id=ndev00idoq0tcT,bus=pci.0,addr=0x3 -netdev tap,id=idoq0tcT,vhost=on,ifname=t0-205512-G596,script=/home/Auto/autotest/client/tests/kvm/scripts/qemu-ifup-switch,downscript=no -m 2048 -smp 2,cores=2,threads=1,sockets=1 -cpu cpu64-rhel6,+sse2,+x2apic -vnc :0 -rtc base=utc,clock=host,driftfix=none -M rhel6.1.0 -boot order=cdn,once=c,menu=off  -no-kvm-pit-reinjection -enable-kvm -monitor stdio -chardev socket,id=serial,path=/tmp/serial,server,nowait -device isa-serial,chardev=serial
2. mount -t cgroup -o memory none /cgroup
3. mkdir /cgroup/qemu-kvm 
4. echo 1 > /cgroup/qemu-kvm/memory.move_charge_at_immigrate
5. echo pidof qemu-kvm to tasks
  
Actual results:
host reboot

Expected results:


Additional info:
1. # cat memory.memsw.limit_in_bytes
9223372036854775807

2. serial info :
kvm: 1951: cpu0 unimplemented perfctr wrmsr: 0xc0010005 data 0x0            
kvm: 1951: cpu0 unimplemented perfctr wrmsr: 0xc0010001 data 0x130076        
kvm: 1951: cpu0 unimplemented perfctr wrmsr: 0xc0010005 data 0xffffffffffdd0056
kvm: 1951: cpu0 unimplemented perfctr wrmsr: 0xc0010001 data 0x530076        
kvm: 1951: cpu1 unimplemented perfctr wrmsr: 0xc0010005 data 0x0
kvm: 1951: cpu1 unimplemented perfctr wrmsr: 0xc0010001 data 0x130076
kvm: 1951: cpu1 unimplemented perfctr wrmsr: 0xc0010005 data 0xffffffffffdd0056
kvm: 1951: cpu1 unimplemented perfctr wrmsr: 0xc0010001 data 0x530076
swap_free: Unused swap offset entry 0000e000
swap_free: Unused swap offset entry 0000d800
swap_free: Unused swap offset entry 0000e008
swap_free: Unused swap offset entry 0000d808
swap_free: Unused swap offset entry 0000e010
swap_free: Unused swap offset entry 0000d810
swap_free: Unused swap offset entry 0000e018
swap_free: Unused swap offset entry 0000d818
swap_free: Unused swap offset entry 0000e020
swap_free: Unused swap offset entry 0000d820
swap_free: Unused swap offset entry 0000e028
swap_free: Unused swap offset entry 0000d828
swap_free: Unused swap offset entry 0000e030
swap_free: Unused swap offset entry 0000d830
swap_free: Unused swap offset entry 0000e038
swap_free: Unused swap offset entry 0000d838
swap_free: Unused swap offset entry 0000e040
swap_free: Unused swap offset entry 0000d840

Comment 2 RHEL Program Management 2011-10-07 15:42:43 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 RHEL Program Management 2012-03-26 07:19:50 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 10 errata-xmlrpc 2012-06-20 07:46:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0862.html