[CentOS] kernel-devel: compile MPP/RDAC kernel module

Mon Feb 18 15:00:03 UTC 2008
Tim Verhoeven <tim.verhoeven.be at gmail.com>

On Feb 18, 2008 3:42 PM, Simon Jolle <urandomdev at gmail.com> wrote:
>
> I am running Centos 4.6 wit latest updates. For I/O multipathing I
> need to use kernel 2.6.9-55 (IBM support matrix). Trying to compile
> Engenio Linux RDAC Driver[0]
>
> I fail to install kernel-devel for this exact kernel (with up2date).
> Up2date always installs the newest.
>
> # make clean
> make V=1 -C/lib/modules/2.6.9-55.ELsmp/build
> M=/root/tmp/linuxrdac-09.02.B5.15
> MODVERDIR=/lib/modules/2.6.9-55.ELsmp/build/.tmp_versions
> SUBDIRS=/root/tmp/linuxrdac-09.02.B5.15 clean
> make: *** /lib/modules/2.6.9-55.ELsmp/build: No such file or directory.  Stop.
> make: *** [clean] Error 2
>
> # ls -al /lib/modules/2.6.9-55.ELsmp/build
> ls: /lib/modules/2.6.9-55.ELsmp/build: No such file or directory
>
> # uname -r
> 2.6.9-55.ELsmp
>
> # rpm -q kernel-devel
> kernel-devel-2.6.9-67.0.4.EL.x86_64

Either install the 2.6.9-55 kernel-devel package. You can provide the
version number with yum install. Or just use the latest kernel. In the
past I've run the RDAC modules on so called "not-supported" kernels.
Usually newer kernels then the one mentioned. I never had any issues
with it.

Regards,
Tim

-- 
Tim Verhoeven - tim.verhoeven.be at gmail.com - 0479 / 88 11 83

Hoping the problem  magically goes away  by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)