| Summary: | s390x cpu info issues | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Dave Johnson <dajohnso> |
| Component: | sigar | Assignee: | Zane Bitter <zbitter> |
| Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | matahari-maint, rbryant, syeghiay |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Previously, sigar could print incorrect system information on the IBM system z architecture due to a specific format for the /proc/cpuinfo file. This update ensures that the /proc/cpuinfo file is correctly parsed on all non-x86 architectures. As a result, the correct system information is now displayed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-06 11:45:42 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 748554 | ||
OK, the problem is that the s390 has a completely different format for /proc/cpuinfo. Can you also attach the output of /proc/cpuinfo from all of the architectures we need to support? If there are other issues I'll try to fix them at the same time. Beaker Test information:
HOSTNAME=ibm-p750e-01-lp3.rhts.eng.bos.redhat.com
JOBID=143834
RECIPEID=299327
RESULT_SERVER=127.0.0.1:7088
DISTRO=RHEL6.2-20111016.n.0
ARCHITECTURE=ppc64
** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
[root@ibm-p750e-01-lp3 ~]# cat /proc/cpuinfo
processor : 0
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 1
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 2
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 3
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 4
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 5
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 6
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 7
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 8
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 9
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 10
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 11
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 12
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 13
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 14
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
processor : 15
cpu : POWER7 (architected), altivec supported
clock : 3000.000000MHz
revision : 2.1 (pvr 003f 0201)
timebase : 512000000
platform : pSeries
model : IBM,8233-E8B
machine : CHRP IBM,8233-E8B
[root@ibm-p750e-01-lp3 ~]#
per bug 745586, ia64 support: Beaker Test information: HOSTNAME=altix4.rhts.eng.bos.redhat.com JOBID=144203 RECIPEID=299975 RESULT_SERVER=127.0.0.1:7092 DISTRO=RHEL5-Server-U7 ARCHITECTURE=ia64 ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** [root@altix4 ~]# cat /proc/cpuinfo processor : 0 vendor : GenuineIntel arch : IA-64 family : Itanium 2 model : 2 revision : 1 archrev : 0 features : branchlong cpu number : 0 cpu regs : 4 cpu MHz : 1500.000000 itc MHz : 1500.000000 BogoMIPS : 2244.60 siblings : 1 processor : 1 vendor : GenuineIntel arch : IA-64 family : Itanium 2 model : 2 revision : 1 archrev : 0 features : branchlong cpu number : 0 cpu regs : 4 cpu MHz : 1500.000000 itc MHz : 1500.000000 BogoMIPS : 2244.60 siblings : 1 processor : 2 vendor : GenuineIntel arch : IA-64 family : Itanium 2 model : 2 revision : 1 archrev : 0 features : branchlong cpu number : 0 cpu regs : 4 cpu MHz : 1500.000000 itc MHz : 1500.000000 BogoMIPS : 2244.60 siblings : 1 processor : 3 vendor : GenuineIntel arch : IA-64 family : Itanium 2 model : 2 revision : 1 archrev : 0 features : branchlong cpu number : 0 cpu regs : 4 cpu MHz : 1500.000000 itc MHz : 1500.000000 BogoMIPS : 2244.60 siblings : 1 Patch posted to Matahari mailing list: https://fedorahosted.org/pipermail/matahari/2011-October/002114.html
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Previously, sigar could print incorrect system information on the IBM system z architecture due to a specific format for the /proc/cpuinfo file. This update ensures that the /proc/cpuinfo file is correctly parsed on all non-x86 architectures. As a result, the correct system information is now displayed.
good 2 go 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/RHBA-2011-1570.html |
Description of problem: ================================== Two issues: issue 1: ------------ cpu query through matahari-host to sigar on a s390x box shows one cpu but cpuinfo (below) says two cpu_count 1 cpu_model cpu_cores 0 issue 2: ------------ flags show unknown but s390x features are the flags? cpu_flags unknown issue 3: ------------ model is blank, the model is the 'machine = 2097' according to http://en.wikipedia.org/wiki/IBM_System_z [root@ibm-z10-15 init.d]# cat /proc/cpuinfo vendor_id : IBM/S390 # processors : 2 bogomips per cpu: 11061.00 features : esan3 zarch stfle msa ldisp eimm dfp etf3eh highgprs processor 0: version = FF, identification = 32C5C2, machine = 2097 processor 1: version = FF, identification = 32C5C2, machine = 2097 Version-Release number of selected component (if applicable): ==================================================================== matahari-host-0.4.4-8.el6.s390x sigar-1.6.5-0.2.git58097d9.el5.s390x