Bug 425940 - Incorrect use of oprofile can turn guest into zombie
Incorrect use of oprofile can turn guest into zombie
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel-xen (Show other bugs)
5.1
All Linux
low Severity low
: ---
: ---
Assigned To: Markus Armbruster
Martin Jenner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-17 05:35 EST by Markus Armbruster
Modified: 2009-01-22 07:32 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-01-22 07:32:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Markus Armbruster 2007-12-17 05:35:09 EST
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.