Hi all!
Just updated to 6.0. Works well, except for one small issue. I am unable to bind vfio-pci to my LSI HBA on boot with a conf file in /etc/modprobe.d/ This does work fine for my GPU though.
I am able to unbind mpt3sas manually, after which vfio-pci binds without an issue.
I think my problem resides in initramfs, which somehow triggers the load/bind of kernel driver mpt3sas for my HBA before vfio-pci can. dmesg shows mpt3sas is loaded as soon as init is ran.
Blacklisting mpt3sas with a conf file in /etc/modprobe.d/ does not help. I did run update-initramfs -u after blacklisting. Tried both:
and
Could someone point me in the right direction how to prevent loading of mpt3sas? Or should I use a script to unbind the driver? Thanks for your help!
Just updated to 6.0. Works well, except for one small issue. I am unable to bind vfio-pci to my LSI HBA on boot with a conf file in /etc/modprobe.d/ This does work fine for my GPU though.
Code:
options vfio-pci ids=1000:0086
Code:
echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind
Code:
[ 1.102377] Run /init as init process
[ 1.132019] usb 3-3: new low-speed USB device number 2 using xhci_hcd
[ 1.163191] dca service started, version 1.12.1
[ 1.163328] ahci 0000:03:00.1: version 3.0
[ 1.165961] ahci 0000:03:00.1: SSS flag set, parallel bus scan disabled
[ 1.168694] ahci 0000:03:00.1: AHCI 0001.0301 32 slots 8 ports 6 Gbps 0x33 impl SATA mode
[ 1.171490] ahci 0000:03:00.1: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part sxs deso sadm sds apst
[ 1.174526] mpt3sas version 27.101.00.00 loaded
Code:
[ 5.703417] VFIO - User Level meta-driver version: 0.3
[ 5.713032] vfio_pci: add [1000:0086[ffffffff:ffffffff]] class 0x000000/00000000
[ 5.713036] vfio_pci: add [1002:687f[ffffffff:ffffffff]] class 0x000000/00000000
[ 5.713039] vfio_pci: add [1002:aaf8[ffffffff:ffffffff]] class 0x000000/00000000
Code:
blacklist mpt3sas
Code:
install mpt3sas /bin/true