Bug 425940 - Incorrect use of oprofile can turn guest into zombie
Summary: Incorrect use of oprofile can turn guest into zombie
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel-xen
Version: 5.1
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Markus Armbruster
QA Contact: Martin Jenner
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-17 10:35 UTC by Markus Armbruster
Modified: 2009-01-22 12:32 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2009-01-22 12:32:24 UTC


Attachments (Terms of Use)

Description Markus Armbruster 2007-12-17 10:35:09 UTC
Description of problem:
After certain incorrect uses of oprofile, the guest turns into a zombie on shutdown.

Version-Release number of selected component (if applicable):
Observed with oprofile-0.9.2-6.el5 and kernel-xen-2.6.18-58.el5 (both host and
guest).

How reproducible:
Always.

Steps to Reproduce:
0. Reboot host and guest (guest domid is 1)
1. In the host: opcontrol --start-daemon --no-vmlinux --xen=none --active-domains=1
2. In the guest: opcontrol --start-daemon --no-vmlinux --xen=none
3. In the host: opcontrol --start
4. In the guest: opcontrol --start; opcontrol --shutdown
5. In the host: virsh shutdown 1

Actual results:
Step 5 turns the guest into a zombie.

Expected results:
Guest shuts down cleanly.

Additional info:
Hypervisor gripes in step 4:
(XEN) xenoprof: operation 11 failed for dom 1 (status : -1)
Other than that, nothing unusual in the logs.

Steps 1 to 4 start profiling in the host before it's started in the guest. 
That's incorrect use of Xenoprof.


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