blacklist r8169

SpaceCowBoy

Member
Feb 13, 2016
51
0
11
39
Hello I'm trying to blacklist a ethernet card with r8169 chipset. I want to PCI passthrough it to a PFSense KVM. I've tried

echo "options vfio-pci ids=10de:1380,10de:0fbc,10ec:8168" > /etc/modprobe.d/vfio.conf
(This line contains my addresses for my video card and my ethernet card)

echo “blacklist r8169” >> /etc/modprobe.d/blacklist.conf
and
echo “blacklist r8169” >> /etc/modprobe.d/pve-blacklist.conf

however when rebooting the driver still shows as r8169.

The same method worked for my nvidia card but proxmox seems to be really intent on using that ethernet card. What should I do to get it to ignore the card?