Skip to main content
step 5 and 6 combined
Source Link
Pro Backup
  • 5.1k
  • 14
  • 58
  • 87
  1. $ cd linux-3.11.0/
    or go the directory where you will run your make command

  2. $ lsmod > lsmod.txt
    creates a text file with your loaded modules

  3. $ nano lsmod.txt
    will open the nano text editor, of course you can use your favorite editor application

  4. Append your desired modules that are not already there, to the bottom of this file (see for an example the bottom of this anwer), and save it when you are ready.
    Note: use spaces not tabs to match the column tabulator positions.

  5. $ exportmake LSMOD="lsmod.txt" localmodconfig
    this will tell localmodconfig to use youyour lsmod.txt file as input for loaded modules detection

  6. $ make localmodconfig as usual

Note:With regards to Steven Rostedt - the author of steamline_config.pl - for suggesting a shorter notation in step 5.

  • step 5 and 6 can be combined a shorter: $ make LSMOD="lsmod.txt" localmodconfig.
  • with kind regards to Steven Rostedt - the author of steamline_config.pl - for suggesting this shorter notation
  1. $ cd linux-3.11.0/
    or go the directory where you will run your make command

  2. $ lsmod > lsmod.txt
    creates a text file with your loaded modules

  3. $ nano lsmod.txt
    will open the nano text editor, of course you can use your favorite editor application

  4. Append your desired modules that are not already there, to the bottom of this file (see for an example the bottom of this anwer), and save it when you are ready.
    Note: use spaces not tabs to match the column tabulator positions.

  5. $ export LSMOD="lsmod.txt"
    this will tell localmodconfig to use you file as input for loaded modules detection

  6. $ make localmodconfig as usual

Note:

  • step 5 and 6 can be combined a shorter: $ make LSMOD="lsmod.txt" localmodconfig.
  • with kind regards to Steven Rostedt - the author of steamline_config.pl - for suggesting this shorter notation
  1. $ cd linux-3.11.0/
    or go the directory where you will run your make command

  2. $ lsmod > lsmod.txt
    creates a text file with your loaded modules

  3. $ nano lsmod.txt
    will open the nano text editor, of course you can use your favorite editor application

  4. Append your desired modules that are not already there, to the bottom of this file (see for an example the bottom of this anwer), and save it when you are ready.
    Note: use spaces not tabs to match the column tabulator positions.

  5. $ make LSMOD="lsmod.txt" localmodconfig
    this will tell localmodconfig to use your lsmod.txt file as input for loaded modules detection

With regards to Steven Rostedt - the author of steamline_config.pl - for suggesting a shorter notation in step 5.

insert Note: step 5 and 6 can be combined a shorter: $ make LSMOD="lsmod.txt" localmodconfig
Source Link
Pro Backup
  • 5.1k
  • 14
  • 58
  • 87

Note:

  • step 5 and 6 can be combined a shorter: $ make LSMOD="lsmod.txt" localmodconfig.
  • with kind regards to Steven Rostedt - the author of steamline_config.pl - for suggesting this shorter notation

Note:

  • step 5 and 6 can be combined a shorter: $ make LSMOD="lsmod.txt" localmodconfig.
  • with kind regards to Steven Rostedt - the author of steamline_config.pl - for suggesting this shorter notation
strike formatting for sections that will not be appended, past tense changed to current
Source Link
Pro Backup
  • 5.1k
  • 14
  • 58
  • 87

Because the Intel D33217CK main board has Intel thermal sensors that we would like to read, we appendedappend these lines:

But we don't want to run virtual machines on this hardware, that is why we skippedskip these lines:

kvm_intel             128218  0
kvm                   364766  1 kvm_intel

kvm_intel             128218  0
kvm                   364766  1 kvm_intel

It has an Apple (Broadcom) Gibabit ethernet adapter connected to its Thunderbolt port, so we appended:

*It has an Apple(Broadcom) Gibabit ethernet adapter connected to its Thunderbolt port, so we append:*

We think we don't need volume mirroring, and therefor did not append:

dm_mirror              21715  0
dm_region_hash         15984  1 dm_mirror
dm_log                 18072  2 dm_region_hash,dm_mirror

And we also don't need graphics output (text will do on a headless server), so we did not includeadd:

 

dm_mirror              21715  0
dm_region_hash         15984  1 dm_mirror
dm_log                 18072  2 dm_region_hash,dm_mirror
i915                  589697  3
i2c_algo_bit           13197  1 i915
drm_kms_helper         46867  1 i915
drm                   242354  4 i915,drm_kms_helper
*And we also don't need graphics output(text will do on a headless server), so we do not include:*

For another machine we needed this Realtek ethernet driver:

i915                  589697  3
i2c_algo_bit           13197  1 i915
drm_kms_helper         46867  1 i915
drm                   242354  4 i915,drm_kms_helper
*For another machine we need this Realtek ethernet driver aditionally:*

Because the Intel D33217CK main board has Intel thermal sensors that we would like to read, we appended these lines:

But we don't want to run virtual machines on this hardware, that is why we skipped these lines:

kvm_intel             128218  0
kvm                   364766  1 kvm_intel

It has an Apple (Broadcom) Gibabit ethernet adapter connected to its Thunderbolt port, so we appended:

We think we don't need volume mirroring, and therefor did not append:

dm_mirror              21715  0
dm_region_hash         15984  1 dm_mirror
dm_log                 18072  2 dm_region_hash,dm_mirror

And we also don't need graphics output (text will do on a headless server), so we did not include:

 
i915                  589697  3
i2c_algo_bit           13197  1 i915
drm_kms_helper         46867  1 i915
drm                   242354  4 i915,drm_kms_helper

For another machine we needed this Realtek ethernet driver:

Because the Intel D33217CK main board has Intel thermal sensors that we would like to read, we append these lines:

But we don't want to run virtual machines on this hardware, that is why we skip these lines:

kvm_intel             128218  0
kvm                   364766  1 kvm_intel
*It has an Apple(Broadcom) Gibabit ethernet adapter connected to its Thunderbolt port, so we append:*

We think we don't need volume mirroring, and therefor do not add:

dm_mirror              21715  0
dm_region_hash         15984  1 dm_mirror
dm_log                 18072  2 dm_region_hash,dm_mirror
*And we also don't need graphics output(text will do on a headless server), so we do not include:*
i915                  589697  3
i2c_algo_bit           13197  1 i915
drm_kms_helper         46867  1 i915
drm                   242354  4 i915,drm_kms_helper
*For another machine we need this Realtek ethernet driver aditionally:*
Source Link
Pro Backup
  • 5.1k
  • 14
  • 58
  • 87
Loading