------- Comment From bssrika...@in.ibm.com 2018-12-19 23:26 EDT-------
Upstream testing with util-linux [@ https://github.com/karelzak/util-linux]

1. Tested version: util-linux 2.26.2

Result:

root@guest:/home/srik/util-linux# ./lscpu -V
lt-lscpu from util-linux 2.26.2
root@guest:/home/srik/util-linux# ./lscpu
Architecture:          ppc64le
Byte Order:            Little Endian
CPU(s):                64
On-line CPU(s) list:   0-63
Thread(s) per core:    4
Core(s) per socket:    8
Socket(s):             2
NUMA node(s):          1
Model:                 IBM pSeries (emulated by qemu)
L1d cache:             64K
L1i cache:             32K
NUMA node0 CPU(s):     0-63

2. Tested version: util-linux 2.27.1

Result:

root@guest:/home/srik/util-linux# ./lscpu -V
lt-lscpu from util-linux 2.27.1
root@guest:/home/srik/util-linux# ./lscpu
Architecture:          ppc64le
Byte Order:            Little Endian
CPU(s):                64
On-line CPU(s) list:   0-63
Thread(s) per core:    4
Core(s) per socket:    8
Socket(s):             2
NUMA node(s):          1
Model:                 IBM pSeries (emulated by qemu)
>     Hypervisor vendor:     KVM      --> correct
>     Virtualization type:   para     --> correct
L1d cache:             64K
L1i cache:             32K
NUMA node0 CPU(s):     0-63

On Ubuntu 16.04.5 :

#lscpu -V
lscpu from util-linux 2.27.1

root@guest:~# dpkg -l | grep util-linux
ii  util-linux                            2.27.1-6ubuntu3.6                     
     ppc64el      miscellaneous system utilities

Result:
root@guest:~# lscpu
Architecture:          ppc64le
Byte Order:            Little Endian
CPU(s):                64
On-line CPU(s) list:   0-63
Thread(s) per core:    4
Core(s) per socket:    8
Socket(s):             2
NUMA node(s):          1
Model:                 2.0 (pvr 004d 0200)
Model name:            POWER8 (architected), altivec supported
>     Hypervisor vendor:     horizontal   --> not ok
>     Virtualization type:   full         --> not ok
L1d cache:             64K
L1i cache:             32K
NUMA node0 CPU(s):     0-63

I hope its clear now.

------- Comment From bssrika...@in.ibm.com 2018-12-19 23:27 EDT-------
I am on:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.5 LTS
Release:        16.04
Codename:       xenial

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1764628

Title:
  incorrect hypervisor and virtualization type reported in compat mode
  guest

Status in The Ubuntu-power-systems project:
  Incomplete
Status in util-linux package in Ubuntu:
  Incomplete

Bug description:
  ---uname output---
  Linux guest 4.15.0-13-generic #14~16.04.1-Ubuntu SMP Sat Mar 17 03:03:53 UTC 
2018 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = boston-LC 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   Incorrect hypervisor and virtualization type reported in ubuntu 16.04.04 
guest running in P8compat mode on P9 boston-LC:

  root@guest:/tmp# lscpu
  Architecture:          ppc64le
  Byte Order:            Little Endian
  CPU(s):                2
  On-line CPU(s) list:   0,1
  Thread(s) per core:    2
  Core(s) per socket:    1
  Socket(s):             1
  NUMA node(s):          1
  Model:                 2.2 (pvr 004e 1202)
  Model name:            POWER8 (architected), altivec supported
  >> Hypervisor vendor:     horizontal
  >> Virtualization type:   full
  L1d cache:             32K
  L1i cache:             32K
  NUMA node0 CPU(s):     0,1


   
  Stack trace output:
   no
   
  Oops output:
   no
   

  
  We test what is coming along with distro. If you are not able to see issue 
with : https://launchpad.net/ubuntu/+source/util-linux/2.27.1-6ubuntu3.5 .. can 
we get this included in 16.04.x train ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1764628/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to