Trying To Find All The Kernel Modules Needed For My Machine Using Shell Script

Home » CentOS » Trying To Find All The Kernel Modules Needed For My Machine Using Shell Script
CentOS 11 Comments

Hi,

I’m developing kernel modules right now, and the build times are starting to get under my skin. As a side effect i’m taking way too many “coffee” breaks during builds.

So i was looking for a way to build only the stuffs i need for my platform. Chapter 7 and 8 of “linux kernel in a nutshell” gave a good detail of how to do that by hand. Its a good read :
http://www.kroah.com/lkn/

But Although i understand the stuffs, this is still a lot of tweaks to make that work.

2.6.32 and later kernels added a new target “make localmodconfig”. which scans through “lsmod” and change the .config appropriately. So i thought i found my “automation”. But this perl script has some problem too.

This thread describes the problems :
https://bbs.archlinux.org/viewtopic.php?pid

11 thoughts on - Trying To Find All The Kernel Modules Needed For My Machine Using Shell Script

LEAVE A COMMENT