[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: packaging kernel modules



Previously Yann Dirson wrote:
> It does not seem that we have currently any conventions regarding the
> packaging of kernel modules.  I just tried the new alsadriver from
> slink, and, for the same reason I could not use the packaged joystick
> driver, this one too is useless to me.

Can you try recompiling the source package and use that? And what
kernel version are you using? (own compile, kernel version, etc.)

> 2) These packages only provide compiled modules for some special
> kernel version.  Eg, alsa install its modules for 2.0.33; joystick
> used to do it for 1 version I don't remember, and after a bug report,
> finally included the driver for 2 kernel versions, which even did not
> solve my problem, for the above-mentionned reason.

This is always a horny problem, which is inherrent to changing kernel
interface. I've compiled the ALSA-packages on my own 2.0.33 kernel (somewhat
patched), but it should work on other 2.0.33 kernels AFAIK.

> kernel-package, which seem to be the tool to build a kernel the Right
> Way on a Debian system, provides a framework to also build the
> relevant modules from /usr/src/modules/, which can IMHO be used to
> solve these problems.

I have no idea how flexibable kernel-package is with respect to other
modules, or how the interface works. If there is a general interface I
would be happy to incorporate it in the alsa-packages. 

> I think the various modules should be primarily packaged in source
> form, just as the kernel is, and installed under /usr/src/modules/.

And packaged compiled for the standard kernel-image packages, so we
can use them on the bootdisks if wanted.

> * The ultra, ibcs, ftape drivers also use the $(uname -r) string in
> the package name, but do not provide a source package for
> recompilation; most of them provide support for only one kernel
> version.

Probably the same thing is true for ntfs and smbfs(?). Some other
packages (autofs comes to mind) rely on kernel support but don't
include the modules themselves.

> Note that I had the idea of packaging alsa myself, but I wanted to
> discuss these issues first...

I guess you're a little too late :)
BTW: if anyone has any comments on the configure-script, please let 
me know. I nobody has any complaints I will sent it upstream.

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wakkerma@wi.LeidenUniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgpgVNZ_oVGkF.pgp
Description: PGP signature


Reply to: