Bug 454711 - 'xm info' does not show correct info in 'node_to_cpu' field on ia64
'xm info' does not show correct info in 'node_to_cpu' field on ia64
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel-xen (Show other bugs)
5.2
ia64 Linux
low Severity low
: rc
: ---
Assigned To: Tetsu Yamamoto
Martin Jenner
:
Depends On:
Blocks: 449772 RHEL5u3_relnotes
  Show dependency treegraph
 
Reported: 2008-07-09 16:45 EDT by Tetsu Yamamoto
Modified: 2009-01-20 15:26 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Non-Uniform Memory Access (NUMA) information was not being displayed by the xm info command. Consequently, node_to_cpu value for each node was being incorrectly returned as no cpus. In this update, this issue has been resolved.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-01-20 15:26:29 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)
Fix patches (4.38 KB, application/octet-stream)
2008-07-24 12:37 EDT, Tetsu Yamamoto
no flags Details

  None (edit)
Description Tetsu Yamamoto 2008-07-09 16:45:46 EDT
Description of problem:
  On xen/ia64, 'node_to_cpu' field shown by 'xm info' command is always 'no 
cpus'. 

Version-Release number of selected component (if applicable):
  RHEL5.2GA

How reproducible:
  100%
  
Steps to Reproduce:
1. Execute 'xm info' command on xen/ia64
2.
3.
  
Actual results:
'node_to_cpu' always shows 'no cpus' as follows:
node_to_cpu            : node0:no cpus
                         node1:no cpus

Expected results:
The relation between nodes and cpus is shown correctly.
For example, in the case of 2 nodes with 8 pcpus, the result should be as 
follows:
node_to_cpu            : node0:0-7
                         node1:8-15

Additional info:
The following upstream patches fix this problem.
*HV
- [IA64] Fixup physinfo
  http://xenbits.xensource.com/xen-unstable.hg?rev/a36c51f43fdb
- Fix XEN_SYSCTL_physinfo to handle NUMA info properly.
  http://xenbits.xensource.com/xen-unstable.hg?rev/547d10d2d384
*Kernel
- [IA64] NUMA support
  http://xenbits.xensource.com/xen-unstable.hg?rev/fd1d742487f8
- [IA64] Kludge for XEN_GUEST_HANDLE_64
  http://xenbits.xensource.com/xen-unstable.hg?rev/8b37c7bba7e1
- Extended the physinfo sysctl to export NUMA cpu_to_node topology info.
  http://xenbits.xensource.com/xen-unstable.hg?rev/89d2192942be
  # HV and tools have this in RHEL5.2, but kernel doesn't.
- [IA64] Map cpu_to_node table with xencomm for physinfo sysctl
  http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/86ac3059ab67

Beside these patches, the fix for bz444589 is needed.
Comment 2 RHEL Product and Program Management 2008-07-09 21:59:32 EDT
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 4 Tetsu Yamamoto 2008-07-24 12:37:40 EDT
Created attachment 312579 [details]
Fix patches
Comment 5 Don Zickus 2008-09-10 16:14:12 EDT
in kernel-2.6.18-110.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5
Comment 6 Don Zickus 2008-09-12 21:47:42 EDT
in kernel-2.6.18-113.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5
Comment 9 Ryan Lerch 2008-11-06 19:01:31 EST
This bug has been marked for inclusion in the Red Hat Enterprise Linux 5.3
Release Notes.

To aid in the development of relevant and accurate release notes, please fill
out the "Release Notes" field above with the following 4 pieces of information:


Cause:   What actions or circumstances cause this bug to present.

Consequence:  What happens when the bug presents.

Fix:   What was done to fix the bug.

Result:  What now happens when the actions or circumstances above occur. (NB:
this is not the same as 'the bug doesn't present anymore')
Comment 10 Bill Burns 2008-11-07 10:09:12 EST
tetsu, rel note info requested.
Comment 11 Tetsu Yamamoto 2008-11-13 11:40:37 EST
release note added.
Comment 12 Tetsu Yamamoto 2008-11-13 11:40:37 EST
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
Cause: 
  The function to show NUMA info on ia64/xen was not supported.

Consequence:  What happens when the bug presents.
  'xm info' command always shows 'no cpus' in 'node_to_cpu' field.

Fix:   
  Added the funciton to show NUMA info correctly for ia64/xen.

Result:  
  'xm info' command shows the correct relation between cpus and nodes.
Comment 15 Ryan Lerch 2008-11-26 23:42:35 EST
Release note updated. If any revisions are required, please set the 
"requires_release_notes"  flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

Diffed Contents:
@@ -1,11 +1 @@
-Cause: 
+Non-Uniform Memory Access (NUMA) information was not being displayed by the xm info command. Consequently, node_to_cpu value for each node was being incorrectly returned as no cpus. In this update, this issue has been resolved.-  The function to show NUMA info on ia64/xen was not supported.
-
-Consequence:  What happens when the bug presents.
-  'xm info' command always shows 'no cpus' in 'node_to_cpu' field.
-
-Fix:   
-  Added the funciton to show NUMA info correctly for ia64/xen.
-
-Result:  
-  'xm info' command shows the correct relation between cpus and nodes.
Comment 17 errata-xmlrpc 2009-01-20 15:26:29 EST
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 therefore 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/RHSA-2009-0225.html

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