Bug 430310
| Summary: | [RHEL5.2]: In a domU, all tasks are taskset to cpu 0 by default | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Chris Lalancette <clalance> | ||||
| Component: | kernel-xen | Assignee: | Chris Lalancette <clalance> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Martin Jenner <mjenner> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.2 | CC: | bmarson, ddutile, dshaks, jturner, riel, xen-maint | ||||
| Target Milestone: | rc | Keywords: | Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | RHBA-2008-0314 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2008-05-21 15:08:03 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: | |||||||
| Attachments: |
|
||||||
|
Description
Chris Lalancette
2008-01-25 23:58:17 UTC
Setting flags It looks like the "force /sbin/init off isolated cpus" patch is probably the culprit here. There is an additional upstream changeset: http://git2.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e5e5673f828623e58a401862b33173591faaeaff That we do *not* have in the RHEL-5 kernel; this uses cpu_possible_map instead of cpu_online_map to figure out isolated CPUs, which seems to fix the issue in my limited testing. I'm going to produce a real patch, then run it through brew and get some testing on it. Chris Lalancette Created attachment 293025 [details]
Patch to fix the problem where init is only set to vcpu 0
Barry, I think we have a winner. Rik, do you want to rebuild your other test kernel with this fix ? Or is my workaround (using taskset) enough ? Barry Barry, the taskset workaround is good enough for you, but too easy to forget for the folks at the SAP workshop. I just kicked off http://brewweb.devel.redhat.com/brew/taskinfo?taskID=1134361 and will update the kernels on my page once the build finishes. I verified the patch works in Rik's kernel Barry in 2.6.18-76.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5 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 the 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/RHBA-2008-0314.html |