Comment 1 for bug 1855458

Revision history for this message
Riccardo Murri (rmurri) wrote :

I am providing here the additional information that were requested in https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1760776/comments/17

I'm attaching the collected cloud-init logs; here is the output of commands.

The Linux kernel correctly determines the hypervisor is VMware (excerpt from `/var/log/syslog`):

   Dec 6 15:28:02 ubuntu kernel: [ 0.000000] Linux version 4.15.0-72-generic (buildd@lcy01-amd64-026) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #81
   -Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 (Ubuntu 4.15.0-72.81-generic 4.15.18)
   Dec 6 15:28:02 ubuntu kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-72-generic root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS
   0
   ...
   Dec 6 15:28:02 ubuntu kernel: [ 0.000000] DMI: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 12/12/2018
   Dec 6 15:28:02 ubuntu kernel: [ 0.000000] Hypervisor detected: VMware
   Dec 6 15:28:02 ubuntu kernel: [ 0.000000] vmware: TSC freq read from hypervisor : 2399.999 MHz
   Dec 6 15:28:02 ubuntu kernel: [ 0.000000] vmware: Host bus clock speed read from hypervisor : 66000000 Hz
   Dec 6 15:28:02 ubuntu kernel: [ 0.000000] vmware: using sched offset of 13058703528 ns

Still, `/sys/hypervisor` is empty:

    root@ubuntu:~# sudo sh -c 'cd /sys/hypervisor && grep -r . *'
    grep: *: No such file or directory

    root@ubuntu:~# ls /sys/hypervisor/ -lA
    total 0

However, DMI info is there:

    root@ubuntu:~# sudo sh -c 'cd /sys/class/dmi/id && grep -r . *'
    bios_date:12/12/2018
    bios_vendor:Phoenix Technologies LTD
    bios_version:6.00
    board_name:440BX Desktop Reference Platform
    board_serial:None
    board_vendor:Intel Corporation
    board_version:None
    chassis_asset_tag:No Asset Tag
    chassis_serial:None
    chassis_type:1
    chassis_vendor:No Enclosure
    chassis_version:N/A
    modalias:dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd12/12/2018:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
    power/runtime_active_time:0
    power/runtime_active_kids:0
    power/runtime_usage:0
    power/runtime_status:unsupported
    grep: power/autosuspend_delay_ms: Input/output error
    power/async:disabled
    power/runtime_suspended_time:0
    power/runtime_enabled:disabled
    power/control:auto
    product_name:VMware Virtual Platform
    product_serial:VMware-42 17 b1 e7 f5 b4 cf 93-5f 00 68 ae ca 46 eb 65
    product_uuid:E7B11742-B4F5-93CF-5F00-68AECA46EB65
    product_version:None
    sys_vendor:VMware, Inc.
    uevent:MODALIAS=dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd12/12/2018:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A: