Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dracut load kvmgt
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Spargeltarzan
n00b
n00b


Joined: 23 Jul 2017
Posts: 32

PostPosted: Sat Sep 02, 2017 12:07 pm    Post subject: Dracut load kvmgt Reply with quote

Hi,

I want to build a initramfs (with help of dracut) where the modules kvmgt, vfio-iommu-type1, vfio-mdev should be loaded. I want to use a virtual GPU according to https://github.com/01org/gvt-linux/wiki/GVTg_Setup_Guide#5-basic-usage.

I created the /etc/dracut.conf.d/gvt.conf with:
add_dracutmodules+="mdev vfio vfio-iommu-type1 vfio-mdev kvmgt"
add_drivers+="dev vfio vfio-iommu-type1 vfio-mdev kvmgt"
but none of them are found. I can only run dracut --force-add to create an image, but of course they are not found & loaded.

I tried also to copy the modules to /usr/lib/dracut/modules.d
Code:

lenovo-yoga ~ # dracut --force
dracut: Executing: /usr/bin/dracut --force
dracut: dracut module 'bootchart' will not be installed, because command '/sbin/bootchartd' could not be found!
dracut: dracut module 'dash' will not be installed, because command '/bin/dash' could not be found!
dracut: dracut module 'systemd-bootchart' will not be installed, because command '/usr/lib/systemd/systemd-bootchart' could not be found!
dracut: zfsexpandknowledge: host device /dev/sda8
dracut: zfsexpandknowledge: device /dev/sda8 of type ext4
dracut: dracut module 'plymouth' will not be installed, because command 'plymouthd' could not be found!
dracut: dracut module 'plymouth' will not be installed, because command 'plymouth' could not be found!
dracut: dracut module 'plymouth' will not be installed, because command 'plymouth-set-default-theme' could not be found!
dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found!
dracut: dracut module 'crypt' will not be installed, because command 'cryptsetup' could not be found!
dracut: dracut module 'dm' will not be installed, because command 'dmsetup' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found!
dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found!
dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsistart' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: dracut module 'mdev' cannot be found or installed.


Here you see the mdev not found, the first module I want to add with add_dracutmodules
Does someone know help?[/quote]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum