VMware Communities
OTH1
Contributor
Contributor
Jump to solution

No PCIe slot available for Ethernet0

Hi Everyone,

When i try to add  a Network Adapter on my VM, I always have the same message when I try to open it : "No PCIe slot available for Ethernet0. Remove Ethernet0 and try again."

I looked at the other topic on the forum but nothing works ( tried to delete lines with "Ethernet0" on VMx file, new pcibridge in the vmx file, etc..)

I put my VMx file after adding the Ethernet port :

.encoding = "UTF-8"
config.version="8"
virtualHW.version="11"
usb.present="false"
priority.grabbed="normal"
priority.ungrabbed="normal"
powerType.powerOff = "soft"
powerType.powerOn = "soft"
powerType.suspend = "soft"
powerType.reset = "soft"
floppy0.autodetect="true"
floppy0.startConnected="false"
displayName="SERVER1"
guestOS="windows9srv-64"
pciBridge0.present="true"
memsize="2048"
numvcpus="1"
firmware="efi"
scsi0.present="true"
scsi0.virtualDev="lsisas1068"
pciBridge4.present="true"
pciBridge4.virtualDev="pcieRootPort"
scsi0:0.present="true"
scsi0:0.fileName="SERVER1_1.vmdk"
sata0.present="true"
sata0:0.present="true"
sata0:0.autodetect="true"
sata0:0.deviceType="cdrom-raw"
sata0:0.startConnected="false"
virtualHW.productCompatibility = "hosted"
numa.autosize.cookie = "10001"
numa.autosize.vcpu.maxPerVirtualNode = "1"
uuid.bios = "56 4d e3 7c ef 6f 18 1a-d2 64 2e c0 09 5c 0e d7"
uuid.location = "56 4d e3 7c ef 6f 18 1a-d2 64 2e c0 09 5c 0e d7"
scsi0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
scsi0.pciSlotNumber = "160"
sata0.pciSlotNumber = "32"
scsi0.sasWWID = "50 05 05 6c ef 6f 18 10"
svga.vramSize = "134217728"
vmotion.checkpointFBSize = "134217728"
vmotion.checkpointSVGAPrimarySize = "134217728"
vm.genid = "-6734469764243924064"
vm.genidX = "267711124694834772"
monitor.phys_bits_used = "42"
cleanShutdown = "TRUE"
softPowerOff = "TRUE"
tools.syncTime = "FALSE"
ethernet0.connectionType = "nat"
ethernet0.addressType = "generated"
ethernet0.virtualDev = "e1000e"
ethernet0.present = "TRUE"
ethernet0.pciSlotNumber = "22"
ethernet0.generatedAddress = "00:0c:29:5c:0e:d7"
ethernet0.generatedAddressOffset = "0"

0 Kudos
2 Solutions

Accepted Solutions
continuum
Immortal
Immortal
Jump to solution

VM must be closed and powered off when editing vmx-files manually.
Eventually you also need to add

pciBridge1.present="true"
pciBridge2.present="true"
pciBridge3.present="true"
pciBridge4.present="true"

 

 


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

View solution in original post

a_p_
Leadership
Leadership
Jump to solution

Please see whether the solution in https://communities.vmware.com/t5/VMware-Workstation-Player/Workstation-15-Player-Can-t-add-Ethernet... helps, i.e. add pciBridge4.functions = "8", and delete the ethernet0.pciSlotNumber line.

Out of curiosity: Has this VM been created using an earlier VMware Workstation version?

André

View solution in original post

11 Replies
scott28tt
VMware Employee
VMware Employee
Jump to solution

Which VMware product are you using to run that VM?

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
OTH1
Contributor
Contributor
Jump to solution

Sorry i forgot to specify it.

I use VMware Workstation V15.

0 Kudos
scott28tt
VMware Employee
VMware Employee
Jump to solution

VMTN has an area for Workstation, thread reported asking moderators to move it there.

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
OTH1
Contributor
Contributor
Jump to solution

OK thanx Scott. I did not see the area Workstation before posting.

0 Kudos
continuum
Immortal
Immortal
Jump to solution

You assigned a PCI-slot to a device that requires a PCIexpress-slot.
In other words -remove the line
ethernet0.pciSlotNumber = "22"

PCIslots use the range between 16 and 100
PCI-express-slots use the range above 160

This issue typically occurs when you switch virtual hardware from an older device that requires PCI-slots to a newer device that use PCIe-slots.
Changing from virtualDev e1000 to e1000e or vmxnet3 would require such a change.
Same can happen with scsi-controllers - like the change from LSI or BUSLOGIC to LSI-SAS.

Ulli


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
OTH1
Contributor
Contributor
Jump to solution

Thanx for the answer.

Even if i remove the line "ethernet0.pciSlotNumber = "22"", when i start the VM with the player the line reappears at the end of the VMx file.

When i edited the VM to add a network adapter, these lines appeared in the VMx file :

ethernet0.connectionType = "nat"
ethernet0.addressType = "generated"
ethernet0.virtualDev = "e1000e"
ethernet0.generatedAddressOffset = "0"
ethernet0.present = "TRUE"

 

And when i tried to open it, these lines are added automatically :

ethernet0.pciSlotNumber = "22"
ethernet0.generatedAddress = "00:0c:29:5c:0e:d7"

0 Kudos
continuum
Immortal
Immortal
Jump to solution

VM must be closed and powered off when editing vmx-files manually.
Eventually you also need to add

pciBridge1.present="true"
pciBridge2.present="true"
pciBridge3.present="true"
pciBridge4.present="true"

 

 


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

a_p_
Leadership
Leadership
Jump to solution

Please see whether the solution in https://communities.vmware.com/t5/VMware-Workstation-Player/Workstation-15-Player-Can-t-add-Ethernet... helps, i.e. add pciBridge4.functions = "8", and delete the ethernet0.pciSlotNumber line.

Out of curiosity: Has this VM been created using an earlier VMware Workstation version?

André

OTH1
Contributor
Contributor
Jump to solution

I added the line and also the line : pciBridge4.functions = "8" (André's message)

Now the line ethernet0.pciSlotNumber = "1184".

And it's working! When i'm starting the VM the ethernet port is present.

Thank you for your help 🙂

0 Kudos
joshua_long
Contributor
Contributor
Jump to solution

.encoding = "UTF-8"
config.version="8"
virtualHW.version="11"
usb.present="false"
priority.grabbed="normal"
priority.ungrabbed="normal"
powerType.powerOff = "soft"
powerType.powerOn = "soft"
powerType.suspend = "soft"
powerType.reset = "soft"
floppy0.autodetect="true"
floppy0.startConnected="false"
displayName="nys1tcsdev-1.nys.local"
guestOS="windows9-64"
pciBridge0.present="true"
pciBridge1.present="true"
pciBridge2.present="true"
pciBridge3.present="true"
pciBridge4.present="true"
picBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present="true"
picBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present="true"
picBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present="true"
picBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
memsize = "3328"
numvcpus = "2"
firmware="bios"
sata0.present="true"
sata0:0.present="true"
sata0:0.fileName="nys1tcsdev-1.nys.local_1.vmdk"
bios.hddOrder="sata0:0"
sata0:1.present="true"
sata0:1.autodetect="true"
sata0:1.deviceType = "cdrom-image"
sata0:1.startConnected="false"
extendedConfigFile = "nys1tcsdev-1.nys.local.vmxf"
virtualHW.productCompatibility = "hosted"
tools.syncTime = "FALSE"
numa.autosize.cookie = "20001"
numa.autosize.vcpu.maxPerVirtualNode = "2"
uuid.bios = "56 4d 82 8d e1 f5 3a 74-12 d5 74 bb be 18 4c 4a"
uuid.location = "56 4d 82 8d e1 f5 3a 74-12 d5 74 bb be 18 4c 4a"
vm.genid = "-7924557889964302733"
vm.genidX = "8082784837632839093"
sata0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
sata0.pciSlotNumber = "32"
svga.vramSize = "134217728"
vmotion.checkpointFBSize = "134217728"
vmotion.checkpointSVGAPrimarySize = "134217728"
monitor.phys_bits_used = "42"
cleanShutdown = "TRUE"
softPowerOff = "FALSE"
isolation.tools.hgfs.disable = "FALSE"
toolsInstallManager.lastInstallError = "21004"
tools.remindInstall = "TRUE"
toolsInstallManager.updateCounter = "2"
pciBridge1.pciSlotNumber = "18"
pciBridge2.pciSlotNumber = "19"
pciBridge3.pciSlotNumber = "20"
pciBridge4.pciSlotNumber = "33"
pciBridge5.pciSlotNumber = "34"
pciBridge6.pciSlotNumber = "35"
pciBridge7.pciSlotNumber = "36"
tools.upgrade.policy = "upgradeAtPowerCycle"
ethernet0.addressType = "generated"
ethernet0.virtualDev = "e1000e"
ethernet0.generatedAddressOffset = "0"
ethernet0.pciSlotNumber = "21"
ethernet1.connectionType = "nat"
ethernet1.addressType = "generated"
ethernet1.virtualDev = "e1000e"
ethernet2.connectionType = "nat"
ethernet2.addressType = "generated"
ethernet2.virtualDev = "e1000e"
ethernet3.connectionType = "nat"
ethernet3.addressType = "generated"
ethernet3.virtualDev = "e1000e"
ethernet4.connectionType = "nat"
ethernet4.addressType = "generated"
ethernet4.virtualDev = "e1000e"
ethernet1.pciSlotNumber = "-1"
ethernet2.pciSlotNumber = "-1"
ethernet3.pciSlotNumber = "-1"
ethernet4.pciSlotNumber = "-1"
ethernet3.startConnected = "FALSE"
ethernet2.startConnected = "FALSE"
ethernet1.startConnected = "FALSE"
ethernet4.generatedAddress = "00:0c:29:18:4c:72"
ethernet4.generatedAddressOffset = "40"
ethernet5.connectionType = "nat"
ethernet5.addressType = "generated"
ethernet5.virtualDev = "e1000e"
ethernet5.pciSlotNumber = "-1"
ethernet5.generatedAddress = "00:0c:29:18:4c:7c"
ethernet5.generatedAddressOffset = "50"
ethernet0.present = "TRUE"
ethernet0.generatedAddress = "00:0c:29:18:4c:4a"

0 Kudos
joshua_long
Contributor
Contributor
Jump to solution

I have the same issue.  I tried adding the changes mentioned in this thread and others.  Posted above is my vmx.  

0 Kudos