The Red Hat cluster suite packages in Debian 4.0 Etch are partially broken.
See how to patch them to get your cluster up and running.
Tech Force / Linux blog / recompile Debian linux-modules-extra-2.6
Para melhor experiência de usuário, devido a respostas mais rápidas do serviço, é fator chave reduzir a LATÊNCIA de I/O de rede e disco.
Especialmente em servidores de e-mail e de banco de dados.
Veremos como reduzir a latência de de I/O Máquinas Virtuais em servidores de virtualização XenServer.
André Felipe Machado <andremachadoSPAMFILTER@techforce.com.br>
Quarta-Feira, 7 de Novembro de 2007
This source package contains some kernel modules and needs to be recompiled when you upgrade the kernel of your machine and if you patched the source, like we did at redhat-cluster suite source package.
The source package linux-modules-extra-2.6 contains source code for some kernel modules: gspca, mol, redhat-cluster, squashfs, unionfs.
You need to recompile it and install the newly compiled packages always WHEN you upgrade your kernel AND is using one or more of the modules AND has modified modules, like we did for redhat-cluster-suite (gnbd.ko).
If you did not modify your kernel or modules source code, Debian Project has already built modules in repositories.
Because we needed to patch redhat-cluster-suite, we must have to recompile the package.
Before, you will need to install some packages, for example:
Or, you may want to install all headers, for example:
And or, you may want to install always up to date suitable headers for your machine, for example:
You must have placed your patched redhat-cluster source tree under /usr/src directory.
Then, install the source package linux-modules-extra-2.6 there.
It may be done as regular user IF you included yourself at group "src".
Now you must extract the source tree under /usr/src and modify the /usr/src/linux-modules-extra-2.6-2.6.18/debian/changelog file to include a new top entry to avoid confusion with repository stock packages.
The changelog file has VERY strict formatting rules (see the other entries), for example:
Now you should go to the directory for compiling:
Now you must start the actual package compiling:
After some time, depending of your machine speed, you will finish with lots of module packages into the directory /usr/src.
Move or copy the ones suitable for your kernel architecture to a temporary installation directory and install them using dpkg or gdebi.
The Red Hat cluster suite packages in Debian 4.0 Etch are partially broken.
See how to patch them to get your cluster up and running.