[CentOS] Trying to find all the kernel modules needed for my machine using shell script

Akemi Yagi
Fri, 13 Jul 2012 13:34:27 -0000

On Fri, Jul 13, 2012 at 5:29 AM, Aft nix <aftnix at gmail.com>
wrote:
> 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.
(snip)
> 3) Is there any way i can get the "Centos specific" patches in
"plain
> patch" format? That means i dont wanna do things in src-rpm way.
> If the patches are available in normal patch format i can keep
> everything tidy in my kernel git tree.

The CentOS way of "Build Your Own Kernel Modules" is described in this
CentOS wiki article:

http://wiki.centos.org/HowTos/BuildingKernelModules

I suggest you try method 1 first to see if you can build your module.
Once confirmed, you may want to proceed to method 3 to build a
kABI-compatible module.

You can ask further questions about kmods either here, or better yet,
on the ELRepo's mailing list. ELRepo ( http://elrepo.org ) builds a
number of kernel modules for RHEL/CentOS/SL.

Akemi