OTH1
Contributor
Contributor

No PCIe slot available for Ethernet0

Jump to solution

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

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 recovery problem ? - send a message via skype "sanbarrow"

View solution in original post

a_p_
Leadership
Leadership

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

9 Replies
scott28tt
VMware Employee
VMware Employee

Which VMware product are you using to run that VM?

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------
VMware Training & Certification blog
0 Kudos
OTH1
Contributor
Contributor

Sorry i forgot to specify it.

I use VMware Workstation V15.

0 Kudos
scott28tt
VMware Employee
VMware Employee

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

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------
VMware Training & Certification blog
0 Kudos
OTH1
Contributor
Contributor

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

0 Kudos
continuum
Immortal
Immortal

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 recovery problem ? - send a message via skype "sanbarrow"
0 Kudos
OTH1
Contributor
Contributor

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

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 recovery problem ? - send a message via skype "sanbarrow"

View solution in original post

a_p_
Leadership
Leadership

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

OTH1
Contributor
Contributor

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