Adding modules to Fedora's kernel package

Thomas M Steenholdt tmus at tmus.dk
Mon Jan 29 21:55:14 UTC 2007


Dave Jones wrote:
> On Mon, Jan 29, 2007 at 02:45:38PM -0700, Topher Fischer wrote:
>  > Is there a standard process for getting things added to Fedora's kernel
>  > package.  In particular, I'm interested in the hdaps modules (IBM's Hard
>  > Drive Active Protection System).  I believe it has been in the stable
>  > kernel since 2.6.14.
>  > 
>  > Or, am I just thinking about this wrong.  Do uncommon modules not go in
>  > the kernel package?  Do they usually get packaged separately?
> 
> It's been in the Fedora kernel since it got merged upstream.
> 
> $ modinfo hdaps
> filename:       /lib/modules/2.6.19-1.2895.fc6debug/kernel/drivers/hwmon/hdaps.ko
> license:        GPL v2
> description:    IBM Hard Drive Active Protection System (HDAPS) driver
> author:         Robert Love
> srcversion:     1C5A2654C3D15545ECF46D0
> depends:        
> vermagic:       2.6.19-1.2895.fc6debug SMP mod_unload 686 REGPARM 4KSTACKS 
> parm:           invert:invert data along each axis (bool)
> 
> 
> 		Dave
> 
> 

It doesn't get loaded by default thought, even on systems which support it.

You could create a file, /etc/sysconfig/modules/sumthinorother.modules, 
containing something like:

---
#!/bin/sh
for i in hdaps; do
         /sbin/modprobe $i >/dev/null 2>&1
done
---

That should get it loaded on boot

/Thomas




More information about the fedora-devel-list mailing list