Monday, 11 February 2013

VMware Workstation – Cannot Assign Available PCI Slot

An interesting little problem when I decided to add additional Network Adapters to a Virtual Machine in VMware Workstation.

The Virtual Machine had no problem starting with the original hardware as below.

Image: Original Hardware

But when I added two more virtual Network Adapters, on powering on the VM, received this error “Cannot assign available PCI slot to …. There are no more PCI slots available in the virtual machine. Please remove some devices ….”

Image: No more PCI slots error

The fix was to edit the VM_NAME.vmx file (check ‘Virtual Machine Settings > Options tab > Working directory’ for location) and add the lines –

pciBridge0.present = "TRUE"
pciBridge0.pciSlotNumber = "16"

Note: If you’re having problems, try typing out the above  sometimes the formatting's out if you copy and paste!

– before the line scsi0.pciSlotNumber = “16”, and then increment all the pre-existing pciSlotNumber entries by 1 (so they are consecutively numbered) like in the image below.

Image: VMX file pciSlotNumber entries

Note: ethernet4 and ethernet5 will auto generate on boot.

29 comments:

  1. today a run in exact the same problem thanks to your post I solved it, thankyou cheers Juergen

    ReplyDelete
  2. The VMX file seems to have less information in
    VMworkstation 9.0.2 build-1031769

    ReplyDelete
  3. Thanks. This has really helped me ... :-)

    ReplyDelete
  4. Excellent! my problem was not exactly mine and had to delete a whole unused device but this was the key. thanks!

    ReplyDelete
  5. This worked for me... Thanks a lot!

    ReplyDelete
  6. Just had the exact same issue for exactly the same reason with the exact same VM :-)
    Thanks for post, saved me time. Cheers!

    ReplyDelete
  7. This works on ESXi 5.1 as well.

    ReplyDelete
  8. Thank you for your post! It fixes my issue with CDOT 8.2.1 Simulator that adds 2 additional NAT NICs for a total of 6 NICs.

    ReplyDelete
    Replies
    1. Thanks Hien. That's exactly why I needed it to ;-)

      Delete
  9. Hi,
    I´m using workstation 12 and CDOT 8.2.3 and experimented the same issue, with a notepad just add at the middle of the .vmx file the following lines:

    pciBridge0.present = "TRUE"
    pciBridge4.present = "TRUE"
    pciBridge4.virtualDev = "pcieRootPort"
    pciBridge4.functions = "8"
    pciBridge5.present = "TRUE"
    pciBridge5.virtualDev = "pcieRootPort"
    pciBridge5.functions = "8"
    pciBridge6.present = "TRUE"
    pciBridge6.virtualDev = "pcieRootPort"
    pciBridge6.functions = "8"
    pciBridge7.present = "TRUE"
    pciBridge7.virtualDev = "pcieRootPort"
    pciBridge7.functions = "8"

    Until now it appears to be working well.

    I found the solution in this link:

    https://community.netapp.com/t5/Simulator-Discussions/issues-about-Simulator-Clustered-ONTAP-8-2-1RC1-on-ESXi-5-1/td-p/23174

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. Thanks for giving the solution. I was facing the same issue and now it has been resolved. Emily Evans

    ReplyDelete
  12. There is a lot to think about when choosing the right to casino, and finding the best online slots that are regulated enough to prevent any serious tampering with. slot online terpercaya

    ReplyDelete
  13. The Internet brought more than a lot than what it was predicted. Who would have thought the traditional brick and mortar casinos would leap online and conquer the Internet? Generally, online casinos, also known as virtual casinos, offer odds and paycheck percentages comparable to real-life casinos. allbet24

    ReplyDelete
  14. Presently there are above and beyond twelve slot machine makers on the lookout, including programming architects that make slot machines for online gambling clubs. online casinos

    ReplyDelete
  15. It is truly a well-researched content and excellent wording. I got so engaged in this material that I couldn’t wait reading. I am impressed with your work and skill. Thanks. slotxo

    ReplyDelete
  16. This comment has been removed by the author.

    ReplyDelete
  17. Join 188.166.188.77 today - the world's best online poker room with best tournaments anywhere online. Great offers for new players, don't miss out! poker online

    ReplyDelete
  18. Succeed! It could be one of the most useful blogs we have ever come across on the subject. Excellent info! I’m also an expert in this topic so I can understand your effort very well. Thanks for the huge help. 해외축구중계

    ReplyDelete
  19. Bally Gaming Systems. Thusly, during that time, if you somehow happened to play a slot machine almost certainly, you were playing one made by Bally. trancedance

    ReplyDelete
  20. I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. read more

    ReplyDelete
  21. Great survey, I'm sure you're getting a great response. 먹튀검증

    ReplyDelete
  22. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. Great work. 먹튀검증

    ReplyDelete
  23. Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. 먹튀검증

    ReplyDelete
  24. Fabulous article. That blog post impinges on a whole lot of immediate need conflicts of the contemporary culture. You cannot be uninvolved to help you a lot of these conflicts. It blog post grants ideas and even creative concepts. Highly insightful and even helpful. pgslot

    ReplyDelete
  25. Periksa 45.67.228.79.com dengan alat ulasan gratis kami dan cari tahu apakah sboqq.com sah dan dapat diandalkan. Butuh saran? ✓ Laporkan penipuan ✓ Periksa Scamadviser! sboqq

    ReplyDelete
  26. It is a great website.. The Design looks very good.. Keep working like that!. Wunderino

    ReplyDelete