Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1212307

Summary: [beaker-system-scan] misidentifies cpu information on ia64
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: inventoryAssignee: matt jia <mjia>
Status: CLOSED CURRENTRELEASE QA Contact: Dan Callaghan <dcallagh>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: aigao, dcallagh, ebaak, mjia
Target Milestone: 21.0Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-26 06:18:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 541294    

Description Dan Callaghan 2015-04-16 06:46:53 UTC
On HP rx266:

Should be:  	['16-byte atomic ops', 'branchlong'] 
But we get:  	['x86-64']

On ColdFusion 5132:

Should be: ['16-byte atomic ops', 'branchlong'] 
But we get: ['cpufreq']

Comment 1 Dan Callaghan 2015-04-16 06:47:46 UTC
For reference, /proc/cpuinfo on the ColdFusion:

processor  : 0
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 1662.97
siblings   : 4
physical id: 0
core id    : 0
thread id  : 0

processor  : 1
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 1662.97
siblings   : 4
physical id: 196611
core id    : 0
thread id  : 0

processor  : 2
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 1662.97
siblings   : 4
physical id: 0
core id    : 1
thread id  : 0

processor  : 3
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 1662.97
siblings   : 4
physical id: 196611
core id    : 1
thread id  : 0

processor  : 4
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 3309.56
siblings   : 4
physical id: 0
core id    : 0
thread id  : 1

processor  : 5
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 3309.56
siblings   : 4
physical id: 196611
core id    : 0
thread id  : 1

processor  : 6
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 3309.56
siblings   : 4
physical id: 0
core id    : 1
thread id  : 1

processor  : 7
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1667.000000
itc MHz    : 416.667500
BogoMIPS   : 3309.56
siblings   : 4
physical id: 196611
core id    : 1
thread id  : 1

processor  : 8
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 1667.07
siblings   : 4
physical id: 256
core id    : 0
thread id  : 0

processor  : 9
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 1662.97
siblings   : 4
physical id: 196867
core id    : 0
thread id  : 0

processor  : 10
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 1662.97
siblings   : 4
physical id: 256
core id    : 1
thread id  : 0

processor  : 11
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 1671.16
siblings   : 4
physical id: 196867
core id    : 1
thread id  : 0

processor  : 12
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 3309.56
siblings   : 4
physical id: 256
core id    : 0
thread id  : 1

processor  : 13
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 3309.56
siblings   : 4
physical id: 196867
core id    : 0
thread id  : 1

processor  : 14
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 3309.56
siblings   : 4
physical id: 256
core id    : 1
thread id  : 1

processor  : 15
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1466.000000
itc MHz    : 416.667500
BogoMIPS   : 3309.56
siblings   : 4
physical id: 196867
core id    : 1
thread id  : 1

Comment 2 Dan Callaghan 2015-04-16 06:48:04 UTC
/proc/cpuinfo on the rx2660:

processor  : 0
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1415.000283
itc MHz    : 399.169654
BogoMIPS   : 2826.24
siblings   : 2
physical id: 0
core id    : 0
thread id  : 0

processor  : 1
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 1
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1415.000283
itc MHz    : 399.169654
BogoMIPS   : 2826.24
siblings   : 2
physical id: 0
core id    : 1
thread id  : 0

Comment 3 Dan Callaghan 2015-04-16 06:49:38 UTC
Additionally vendor, family, and stepping are misidentified. Should be:

Vendor: genuineintel
Model: Itanium 2
Family: 1
Stepping: 0

Comment 4 matt jia 2015-05-27 00:36:29 UTC
(In reply to Dan Callaghan from comment #3)
> Additionally vendor, family, and stepping are misidentified. Should be:
> 
> Vendor: genuineintel
> Model: Itanium 2
> Family: 1
> Stepping: 0

For some reasons, lshw maps "GenuineIntel" to "Intel Corp.". We just need to revert it back in beaker-systems-scan.

Comment 5 Amit Saha 2015-05-27 00:44:11 UTC
(In reply to matt jia from comment #4)
> (In reply to Dan Callaghan from comment #3)
> > Additionally vendor, family, and stepping are misidentified. Should be:
> > 
> > Vendor: genuineintel
> > Model: Itanium 2
> > Family: 1
> > Stepping: 0
> 
> For some reasons, lshw maps "GenuineIntel" to "Intel Corp.". We just need to
> revert it back in beaker-systems-scan.

This should already be fixed in beaker-system-scan's lshw branch. can you please verify?

$ git clone ..

$ cd beaker-system-scan
$ PYTHONPATH=. python systemscan/main.py -d

Comment 6 matt jia 2015-05-27 01:32:35 UTC
(In reply to Amit Saha from comment #5)
> (In reply to matt jia from comment #4)
> > (In reply to Dan Callaghan from comment #3)
> > > Additionally vendor, family, and stepping are misidentified. Should be:
> > > 
> > > Vendor: genuineintel
> > > Model: Itanium 2
> > > Family: 1
> > > Stepping: 0
> > 
> > For some reasons, lshw maps "GenuineIntel" to "Intel Corp.". We just need to
> > revert it back in beaker-systems-scan.
> 
> This should already be fixed in beaker-system-scan's lshw branch. can you
> please verify?
> 
> $ git clone ..
> 
> $ cd beaker-system-scan
> $ PYTHONPATH=. python systemscan/main.py -d

Nope, I did not see any code change to fix this problem.

Data:
{'Arch': ['ia64'],
 'Cpu': {'CpuFlags': ['cpufreq'],
         'cores': 4,
         'family': 2,
         'model': 1,
         'modelName': 'Itanium 2',
         'processors': 16,
         'sockets': 4,
         'speed': 1466.0,
         'stepping': None,
         'vendor': 'Intel Corp.'},

Comment 7 matt jia 2015-05-27 05:25:21 UTC
On Gerrit:

 http://gerrit.beaker-project.org/#/c/4223/

Comment 11 Dan Callaghan 2015-08-26 06:18:12 UTC
Beaker 21.0 has been released.