You are not logged in.

#1 2018-11-21 12:59:00

JustSomeGeek
Member
From: Scotland
Registered: 2018-08-13
Posts: 53

Remove device from vfio-pci passthrough? [SOLVED]

4.19.2-arch1-1-ARCH, UEFI, SystemD

I've removed the device (Creative SB X-Fi) from vfio.conf, and rebooted.

It's still listed in dmesg | grep -i vfio



I set it up a few months ago so I could still use Windows, but as i've moved to Arch more and more, I want to do all my audio/MIDI stuff in Linux now instead. Trouble is, I can't even remember what I had for dinner last night, let alone how I set everything up in the first place.

I tried working back through the Arch PCI Passthrough guide, but I've either missed something, or I've done something that's not on it.

Help! lol

Last edited by JustSomeGeek (2018-11-22 20:45:14)

Offline

#2 2018-11-21 13:06:19

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: Remove device from vfio-pci passthrough? [SOLVED]

Check for a blacklisted driver in /etc/modprobe.d and remove the entry if necessary,
check if you have added vfio configuration to the kernel commandline in your bootloader and remove it
If you don't use vfio anymore, remove it from the MODULES in mkinitcpio.conf.
Then regenerate the initramfs.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2018-11-21 14:05:22

JustSomeGeek
Member
From: Scotland
Registered: 2018-08-13
Posts: 53

Re: Remove device from vfio-pci passthrough? [SOLVED]

progandy wrote:

Check for a blacklisted driver in /etc/modprobe.d and remove the entry if necessary,
check if you have added vfio configuration to the kernel commandline in your bootloader and remove it
If you don't use vfio anymore, remove it from the MODULES in mkinitcpio.conf.
Then regenerate the initramfs.

Tried all that now, still no luck. I still need everything, just not one device.

Output from dmesg if that sheds any light?
It's 1102:0009 that I need to remove.

1.524364] VFIO - User Level meta-driver version: 0.3
[    1.527244] vfio-pci 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none
[    1.541168] vfio_pci: add [10de:1b80[ffff:ffff]] class 0x000000/00000000
[    1.557845] vfio_pci: add [10de:10f0[ffff:ffff]] class 0x000000/00000000
[    1.591219] vfio_pci: add [8086:105e[ffff:ffff]] class 0x000000/00000000
[    1.607940] vfio_pci: add [1102:0009[ffff:ffff]] class 0x000000/00000000
[    3.263930] vfio-pci 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none

Offline

#4 2018-11-22 13:21:35

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Remove device from vfio-pci passthrough? [SOLVED]

post lspci -knn please, also the output from the script at https://wiki.archlinux.org/index.php/PC … _are_valid


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2018-11-22 13:34:37

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,786
Website

Re: Remove device from vfio-pci passthrough? [SOLVED]

JustSomeGeek, Please use code tags when posting terminal output.

https://wiki.archlinux.org/index.php/Co … s_and_code


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2018-11-22 14:43:31

JustSomeGeek
Member
From: Scotland
Registered: 2018-08-13
Posts: 53

Re: Remove device from vfio-pci passthrough? [SOLVED]

Thanks folks. But learning about pastebin clients is not on the agenda right now. It's a pretty harsh learning curve as it is, and it's one more distraction I don't need. I'll try and sort it myself. Thanks anyway!

Offline

#7 2018-11-22 20:44:00

JustSomeGeek
Member
From: Scotland
Registered: 2018-08-13
Posts: 53

Re: Remove device from vfio-pci passthrough? [SOLVED]

Fixed. typo when regenerating the initramfs. My bad :-/

Thanks Progandy!

Offline

Board footer

Powered by FluxBB