Where can I see which patches to apply, to SuSEify my brand new
kernel downloaded from kernel.org ?
Try looking on the ftp site in the people directory...look in
mantel. You should find a complete list of patches....or at least he
used to keep them there.
How to compile a module for the SuSE kernel ?
Before you compile your module you must prepare the sources, so they
reflect the running kernel However, a lot of information can be found in
self explanatory :)
Cleans out the source tree, removing bits from previous compiles that
may be in there. Also removes old config files.
This is a SuSE hack, as far as I'm aware. This reads the
configuration from the running kernel, using the dynamic file
/proc/config.gz, and uses that to create an
identical configuration for the sources. This ensures that you can
compile a kernel identical to the one SuSE supplies. Most people use
that as a starting point for experimenting with kernel
Standard kernel compilation command. It creates dependency files
which determine the order in which things are to be compiled. It also
creates various header files with information from the configuration.
I'm not actually sure if this is necessary. The SuSE kernels don't
use module versioning so that header file is never created by "make
dep". But a lot of compiles, notably the nvidia graphics driver, fail
if that file isn't present.
The command creates an empty file of that name, which seems to be all
that's needed. As I say, I'm not sure about this one, but it's worked
for me so far.
After that you can compile yor module, and it will fit nicely into
the running kernel
Copyright © 2002, 2003, 2004 Togan Müftüoğlu.