Dl380p proxmox pci passthrough "Operation not permitted"

Took me quite a while to hunt down all the details. ESXi works great on these servers, they were built to run it, and have the pass through and sr-iov built in to the OS. Other OS’s require a little more effort. After some time I found this.
https://www.jimmdenton.com/proliant-intel-dpdk/
This article gives detailed instructions to exclude the pcie slot of your choice from the bios rmrr. Next issue is getting the HPE scripting toolkit to work on proxmox/debian: Use these HPE links:
https://downloads.linux.hpe.com/SDR/keys.html & https://downloads.linux.hpe.com/SDR/project/stk/

The actual code is:
curl https://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | apt-key add -
curl https://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | apt-key add -
curl https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -

Then add a file called hpe.list to /etc/apt/sources.list.d

cat <<EOF >/etc/apt/sources.list.d/hpe.list
# HPE Scripting Tool Kit
deb http://downloads.linux.hpe.com/SDR/repo/stk buster/current non-free
EOF

then:
apt update
apt install hp-scripting-tools

This will install the scripts you need to run ‘conrep’ and modify the bios to exclude a pcie slot.

I have had issues passing hba cards using this method but have not tried using a gpu/video.

Cheers,
Mike

2 Likes