[Wolves] Kernel header (include) files

Jon Masters jonathan at jonmasters.org
Fri Nov 19 23:24:58 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adam Sweet wrote:

| It's just a pain cos, for Debian (I don't know about any
| other system), you have to have the exact kernel source
| and .config file available for the kernel you are running.
| Compile a new kernel and you have to start again. Doh!

That is by design. The kernel version must match the module or there is
a potential for surprising conflicts due to API changes - even the
stable kernel changes wildly these days (lately it's been subtle VM and
module parameter changes in 2.6 that have waved hello).

It is possible to compile a kernel with module versioning but even then
it's really not a good idea to rely upon that to work - the beneficial
factor of having source is that you can use it, the downside is that
people generally don't want to have to do so. That'll get fixed with
some of these dynamic compilation and dynamic module wrappers that are
being worked on now, along with stuff like Project Utopia[0].

In fact it gets even worse with 2.6 because you need to have an actual
compiled sourcetree to build modules properly - but that's also likely
to be a good thing because it'll force vendors to ship kernels that
aren't quite so weirdly broken half the time.

Cheers,

Jon.

[0] I mentioned Project Utopia...cue Jono from stage left to extoll it :-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBnoC2eTyyexZHHxERAoXgAJ9P4Sn8ildKZhdpaW1AU69iEIZvmQCfQEUA
SM5rOeT8c7bujgioNCHXxiI=
=Ez2M
-----END PGP SIGNATURE-----



More information about the Wolves mailing list