VirtualBox

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#17701 closed defect (worksforme)

VBox 5.1.28r117968 on FreeBSD only reveals 2 CPU's per guest

Reported by: lifeboy Owned by:
Component: other Version: VirtualBox 5.1.28
Keywords: CPU count Cc:
Guest type: all Host type: other

Description

VBox 5.1.28r117968 only shows 2 CPU's even though many are available and assigned to a guest.

On the host:

# sysctl hw.model hw.machine hw.ncpu
hw.model: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz
hw.machine: amd64
hw.ncpu: 8

On the Guest (UBuntu 14.04)

# cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 63
model name	: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz
stepping	: 2
cpu MHz		: 3500.068
cache size	: 10240 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 15
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt aes rdrand hypervisor lahf_lm abm retpoline kaiser
bugs		: cpu_meltdown spectre_v1 spectre_v2
bogomips	: 7000.13
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 63
model name	: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz
stepping	: 2
cpu MHz		: 3500.068
cache size	: 10240 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 15
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt aes rdrand hypervisor lahf_lm abm retpoline kaiser
bugs		: cpu_meltdown spectre_v1 spectre_v2
bogomips	: 7000.13
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

This is not unique to this host or guest. All our guests on difference hosts display this behaviour.

# VBoxManage list hostinfo
Host Information:

Host time: 2018-04-19T13:47:18.969000000Z
Processor online count: 8
Processor count: 8
Processor online core count: 8
Processor core count: 8
Processor supports HW virtualization: yes
Processor supports PAE: yes
Processor supports long mode: yes
Processor supports nested paging: yes
Processor#0 speed: 3501 MHz
Processor#0 description: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz
Processor#1 speed: 3501 MHz
Processor#1 description: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz
Processor#2 speed: 3501 MHz
Processor#2 description: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz
Processor#3 speed: 3501 MHz
Processor#3 description: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz
Processor#4 speed: 3501 MHz
Processor#4 description: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz
Processor#5 speed: 3501 MHz
Processor#5 description: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz
Processor#6 speed: 3501 MHz
Processor#6 description: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz
Processor#7 speed: 3501 MHz
Processor#7 description: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz
Memory size: 32619 MByte
Memory available: 549 MByte
Operating system: FreeBSD
Operating system version: 11.1-RELEASE-p1

Attachments (1)

VBox.log (143.8 KB ) - added by lifeboy 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Valery Ushakov, 7 years ago

You didn't provide the VM config and log files.

by lifeboy, 7 years ago

Attachment: VBox.log added

comment:2 by lifeboy, 7 years ago

# cat VirtualBox.xml
<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.12-freebsd">
  <Global>
    <MachineRegistry>
      <MachineEntry uuid="{2747ba52-a56b-42bc-a83f-ed75c23fbf29}" src="/home/UbuntuRuby/UbuntuRuby.vbox"/>
      <MachineEntry uuid="{b201eed9-5b6f-4c6e-88b2-c74fda56ab2c}" src="/home/IMBWin01/IMBWin01.vbox"/>
      <MachineEntry uuid="{40a41e7e-8f73-4083-8d8d-e28132f9abab}" src="/root/VirtualBox VMs/UbuntuRuby2/UbuntuRuby2.vbox"/>
    </MachineRegistry>
    <NetserviceRegistry>
      <DHCPServers>
        <DHCPServer networkName="HostInterfaceNetworking-vboxnet0" IPAddress="192.168.56.100" networkMask="255.255.255.0" lowerIP="192.168.56.101" upperIP="192.168.56.254" enabled="1"/>
      </DHCPServers>
    </NetserviceRegistry>
    <SystemProperties defaultMachineFolder="/root/VirtualBox VMs" defaultHardDiskFormat="VDI" VRDEAuthLibrary="VBoxAuth" webServiceAuthLibrary="VBoxAuth" LogHistoryCount="3" exclusiveHwVirt="true"/>
    <USBDeviceFilters/>
  </Global>
</VirtualBox>
# cat VirtualBox.xml
<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.12-freebsd">
  <Global>
    <MachineRegistry>
      <MachineEntry uuid="{2747ba52-a56b-42bc-a83f-ed75c23fbf29}" src="/home/UbuntuRuby/UbuntuRuby.vbox"/>
      <MachineEntry uuid="{b201eed9-5b6f-4c6e-88b2-c74fda56ab2c}" src="/home/IMBWin01/IMBWin01.vbox"/>
      <MachineEntry uuid="{40a41e7e-8f73-4083-8d8d-e28132f9abab}" src="/root/VirtualBox VMs/UbuntuRuby2/UbuntuRuby2.vbox"/>
    </MachineRegistry>
    <NetserviceRegistry>
      <DHCPServers>
        <DHCPServer networkName="HostInterfaceNetworking-vboxnet0" IPAddress="192.168.56.100" networkMask="255.255.255.0" lowerIP="192.168.56.101" upperIP="192.168.56.254" enabled="1"/>
      </DHCPServers>
    </NetserviceRegistry>
    <SystemProperties defaultMachineFolder="/root/VirtualBox VMs" defaultHardDiskFormat="VDI" VRDEAuthLibrary="VBoxAuth" webServiceAuthLibrary="VBoxAuth" LogHistoryCount="3" exclusiveHwVirt="true"/>
    <USBDeviceFilters/>
  </Global>
</VirtualBox>
root@yster1:~/.config/VirtualBox # cat /home/UbuntuRuby/UbuntuRuby.vbox
<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.16-freebsd">
  <Machine uuid="{2747ba52-a56b-42bc-a83f-ed75c23fbf29}" name="UbuntuRuby" OSType="Ubuntu_64" snapshotFolder="Snapshots" lastStateChange="2018-04-13T11:23:24Z">
    <MediaRegistry>
      <HardDisks>
        <HardDisk uuid="{f00c142d-8150-4ecf-8102-75d7ca2c8b7f}" location="Ubuntu 1404.vdi" format="vdi" type="Normal"/>
      </HardDisks>
      <DVDImages>
        <Image uuid="{a77c0d13-c7d6-46d4-92ff-5ce851b81738}" location="/home/VirtualBox_VMs/ubuntu-14.04.5-server-amd64.iso"/>
        <Image uuid="{8c5b567d-7a8b-42b8-8557-e0068c1dfb83}" location="/home/VirtualBox_VMs/VBoxGuestAdditions_5.1.12.iso"/>
      </DVDImages>
    </MediaRegistry>
    <Hardware>
      <CPU count="8" hotplug="true">
        <PAE enabled="false"/>
        <LongMode enabled="true"/>
        <X2APIC enabled="true"/>
        <HardwareVirtExLargePages enabled="true"/>
        <CpuTree>
          <Cpu id="0"/>
          <Cpu id="1"/>
        </CpuTree>
      </CPU>
      <Memory RAMSize="12288"/>
      <HID Pointing="USBTablet"/>
      <Paravirt provider="KVM"/>
      <Display VRAMSize="16"/>
      <RemoteDisplay enabled="true" allowMultiConnection="true">
        <VRDEProperties>
          <Property name="TCP/Address" value="192.168.0.2"/>
          <Property name="TCP/Ports" value="5902"/>
          <Property name="VNCPassword" value="kykN3t"/>
          <Property name="VideoChannel/Quality" value="75"/>
        </VRDEProperties>
      </RemoteDisplay>
      <BIOS>
        <IOAPIC enabled="true"/>
      </BIOS>
      <Network>
        <Adapter slot="0" enabled="true" MACAddress="08002780E590" type="82540EM">
          <DisabledModes>
            <InternalNetwork name="intnet"/>
            <NATNetwork name="NatNetwork"/>
          </DisabledModes>
          <BridgedInterface name="igb1"/>
        </Adapter>
        <Adapter slot="1" type="82540EM"/>
        <Adapter slot="2" type="82540EM"/>
        <Adapter slot="3" type="82540EM"/>
        <Adapter slot="4" type="82540EM"/>
        <Adapter slot="5" type="82540EM"/>
        <Adapter slot="6" type="82540EM"/>
        <Adapter slot="7" type="82540EM"/>
      </Network>
      <LPT>
        <Port slot="1" enabled="false" IOBase="0x378" IRQ="7"/>
      </LPT>
      <AudioAdapter driver="Null" enabled="true"/>
      <RTC localOrUTC="UTC"/>
      <Clipboard mode="Bidirectional"/>
      <GuestProperties>
        <GuestProperty name="/VirtualBox/GuestAdd/Revision" value="112440" timestamp="1522481525626726000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Version" value="5.1.12" timestamp="1522481525626566000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/VersionExt" value="5.1.12" timestamp="1522481525626651000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/MAC" value="08002780E590" timestamp="1522481525628490000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/Name" value="eth0" timestamp="1522481525629257000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/Status" value="Up" timestamp="1522481525629118000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Broadcast" value="192.168.0.255" timestamp="1522481525627914000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/IP" value="192.168.0.22" timestamp="1522481525627808000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Netmask" value="255.255.255.0" timestamp="1522481525628017000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/Count" value="1" timestamp="1523959289810535000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/LoggedInUsers" value="0" timestamp="1523957474555253000" flags="TRANSIENT, TRANSRESET"/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/NoLoggedInUsers" value="true" timestamp="1523957474555335000" flags="TRANSIENT, TRANSRESET"/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Product" value="Linux" timestamp="1522481525626229000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Release" value="4.4.0-116-generic" timestamp="1522481525626296000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Version" value="#140~14.04.1-Ubuntu SMP Fri Feb 16 09:25:20 UTC 2018" timestamp="1522481525626371000" flags=""/>
      </GuestProperties>
    </Hardware>
    <StorageControllers>
      <StorageController name="SATA" type="AHCI" PortCount="4" useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3">
        <AttachedDevice type="HardDisk" hotpluggable="false" port="0" device="0">
          <Image uuid="{f00c142d-8150-4ecf-8102-75d7ca2c8b7f}"/>
        </AttachedDevice>
        <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0"/>
        <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="2" device="0">
          <Image uuid="{8c5b567d-7a8b-42b8-8557-e0068c1dfb83}"/>
        </AttachedDevice>
      </StorageController>
    </StorageControllers>
  </Machine>
</VirtualBox>

comment:3 by lifeboy, 7 years ago

I upgraded to vbox 5.2.8 on FreeBSD and the problem has been resolved. My test machine now has 4 CPU's instead of 2.

comment:4 by Valery Ushakov, 7 years ago

Resolution: worksforme
Status: newclosed

comment:5 by Valery Ushakov, 7 years ago

PS: Note also that FreeBSD host is not officially supported.

Note: See TracTickets for help on using tickets.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette