You are not logged in.

#1 2017-06-07 07:02:06

loadlover
Member
Registered: 2017-05-10
Posts: 103

Setting up modules properly for boot procedure

Hey all,

For module stuff during the boot procedure (systemd-boot in my case) I have the following entry in mkinitcpio.conf:

FILES="/etc/modprobe.d/i915.conf /etc/modprobe.d/modprobe.conf"

As you can see, two files are referenced. They are:

i915.conf

options i915 modeset=1 enable_rc6=1 enable_fbc=1 enable_guc_loading=1 enable_guc_submission=1 enable_huc=1 enable_psr=2 semaphores=1

modprobe.conf

blacklist mouse

Have I formatted them correctly? If you see what I mean.. I'm a bit confused. Just want to make sure I've done this right.

Many thanks,

Loady

EDIT: Perhaps I should add that I have this entry in mkinitcpio.conf too:

MODULES="intel_agp i915 nvme"

Last edited by loadlover (2017-06-07 07:09:48)

Offline

#2 2017-06-08 21:43:15

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: Setting up modules properly for boot procedure

Why not use the modconf hook instead of manually specifying the files?

Offline

#3 2017-06-09 07:03:50

loadlover
Member
Registered: 2017-05-10
Posts: 103

Re: Setting up modules properly for boot procedure

I'll look into modconf. Thanks!

But just one thing.. maybe my original question wasn't clear. What I wanted to ask was pretty simple: as those files are set up there, will the text syntaxing ensure they're both read correctly (together)?

Further, what I mean is.. if we just had 'blacklist mouse' on its own, then I'd imagine this would parse fine and dandy. But because I've got TWO files there - not just 'blacklist mouse' - will it all be combined ok when it comes to being parsed?

Sorry, I'm not doing a good job explaining this.

Thanks,

Loady

Offline

#4 2017-06-09 07:15:29

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: Setting up modules properly for boot procedure

Yes multiple entries delimited by spaces is correct see Mkinitcpio#BINARIES_and_FILES.

Offline

Board footer

Powered by FluxBB