ps. I don't know if the machine is a cluster
> Date: Thu, 2 Feb 2012 14:28:18 +0100
> From: vlad <at> cosy.sbg.ac.at
> To: g_p_java <at> hotmail.com
> CC: pvfs2-users <at> beowulf-underground.org
> Subject: RE: [Pvfs2-users] configure: error: The kernel source tree does not appear to be 2.6
> Hi !
> On Thu, 2 Feb 2012 15:04:05 +0200, g_p g_p <g_p_java <at> hotmail.com> wrote:
> > Hello and thanks for replying,
> > i did what you told me with "locate"
> > [~]$ locate
> > You are right the "utsrelease.h" is located under these directories.
> > But how can --with-kernel path see that specific file?
> I think, the script is looking for "utsrelease.h"
> since I think, you must have built the kernel by yourself and the sources
> for it seem to lie under "/usr/src/redhat/BUILD/kernel-18.104.22.168custom",
> I'd try the ./configure
> --with-kernel="/usr/src/redhat/BUILD/kernel-22.214.171.124custom" option.
> If the kernel is not self-built and the distribution kernel, try the
> penultimate line. Definitive take an ntry with the release number
> matching to your current running kernel
> BTW May I ask, If you, by any chance, are trying this out on a rocks
> machine ?
> Just curious
> > previous files is the right one for loading the kernel module?
> > Thanks, in advance
> >> Date: Thu, 2 Feb 2012 12:31:09 +0100
> >> From: vlad <at> cosy.sbg.ac.at
> >> To: g_p_java <at> hotmail.com
> >> Subject: Re: [Pvfs2-users] configure: error: The kernel source tree
> >> not appear to be 2.6
> >> Hi!
> >> On Wed, 1 Feb 2012 23:13:25 +0200, g_p g_p <g_p_java <at> hotmail.com>
> >> > Hello,
> >> > i'm using pvfs2 and i'm trying to load the kernel moduleSo i did:
> >> > 1st try:
> >> > //print version
> >> > [~] cat /proc/versionLinux version 126.96.36.199-23Mar (gcc version
> >> 4.1.2
> >> > (Red Hat 4.1.2-48))
> >> > [~] cd /usr/pvfs-2.8.1 [pvfs-2.8.1] sudo ./configure
> >> > --with-kernel=/boot/vmlinuz-188.8.131.52-23MarChecking ... (etc)ERROR:
> >> > configure: error: The --with-kernel path
> >> > /boot/vmlinuz-
> >> > 184.108.40.206-23Mar is not a directory.
> >> >
> >> > 2nd try:
> >> > [pvfs-2.8.1] sudo ./configure
> >> > --with-kernel=/usr/src/linux-220.127.116.11Checking ... (etc)
> >> > ERROR: grep:
> >> > /usr/src/linux-18.104.22.168/include/linux/utsrelease.h: No such file or
> >> > directory
> >> If it is a distribution kernel install the corresponding kernel header
> >> files (RHEL/Centos: kernel-devel-<VERSION-In-USE>, debian:
> >> linux-headers-<VERSION-IN_USE>) and let the parameter --with-kernel
> >> to that specific directory the headres get installed (which is usually
> >> /usr/src, but sometimes also /usr/src/kernels/linux-...<VERSION> )
> >> If the matching headers are actually installed and there are not found,
> >> do a "locate utsrelease.h" after updating the db with updatedb.
> >> Good Luck!
> >> Greetings,
> >> Vlad