You are not logged in.

#1 2018-02-10 20:20:14

Maldo
Member
Registered: 2012-03-27
Posts: 3

blacklisting builtin kernel

Hi there,

question:
Is there a way to "blacklist" modules builtin the kernel to avoid having to build a custom kernel?

In particular the question concerns the xhci_pci module (pci passthrough) but also radeon, amdgpu, snd_hda_intel ...

I already played around with the kernel command line paramenter:
module_blacklist=  [KNL] Do not load a comma-separated list of modules. Useful for debugging problem modules.
It does not seem to have any effect... at least thats was lspci -k says

kernel drivers are already blacklisted in /etc/modprobe.d/blacklist.conf

I'd really like to avoid building a custom kernel (again) wink



background:
I am operating a xen4.5 host (ubuntu) with Win gaming guests since a few years and am quite happy.
However, back then I had to build a custom kernel to avoid grabbing of GPU, PCI-USB-cards and connected usb devices
Recently, I am trying to migrate to arch+xen4.10+UEFI.

lspci -k

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn XT [Radeon HD 7870 GHz Edition]
        Subsystem: Gigabyte Technology Co., Ltd Pitcairn XT [Radeon HD 7870 GHz Edition]
        Kernel modules: radeon, amdgpu
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
        Subsystem: Gigabyte Technology Co., Ltd Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
        Kernel modules: snd_hda_intel
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] (rev c7)
        Subsystem: ASUSTeK Computer Inc. Radeon RX 480
        Kernel modules: amdgpu
02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 580]
        Subsystem: ASUSTeK Computer Inc. Ellesmere [Radeon RX 580]
        Kernel modules: snd_hda_intel
08:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)
        Subsystem: VIA Technologies, Inc. VL805 USB 3.0 Host Controller
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

Last edited by Maldo (2018-02-10 20:27:40)

Offline

#2 2018-02-10 20:41:51

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: blacklisting builtin kernel

The lspci -k output does not show xhci_pci, radeon or amdgpu as loaded / in use.

Offline

#3 2018-02-10 22:38:14

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: blacklisting builtin kernel

And "modules builtin the kernel" is an oxymoron.
Here's what you never wanted to know about modules: https://wiki.archlinux.org/index.php/Kernel_modules ;-)

Offline

Board footer

Powered by FluxBB