[Pvfs2-users] configure: error: The kernel source tree does not
appear to be 2.6
g_p g_p
g_p_java at hotmail.com
Sat Feb 4 12:24:02 EST 2012
Hello,
i actually did:
sudo
./configure --with-kernel=/usr/src/kernels/2.6.18-194.17.1.el5-x86_64
and then it outputted:
----------------------------------------------------------------------***** Displaying PVFS Configuration Information *****------------------------------------------------------PVFS2 configured to build karma gui : noPVFS2 configured to perform coverage analysis : noPVFS2 configured for aio threaded callbacks : yesPVFS2 configured to use FUSE : noPVFS2 configured for the 2.6.x kernel module : yesPVFS2 configured for the 2.4.x kernel module : noPVFS2 configured for using the mmap-ra-cache : noPVFS2 will use workaround for redhat 2.4 kernels : noPVFS2 will use workaround for buggy NPTL : noPVFS2 server will be built : yes
PVFS2 version string: 2.8.1---------------------------------------------------------------------
(Previously i had tested: [pvfs-2.8.1]$ sudo ./configure --with-kernel=/usr/src/redhat/BUILD/kernel-2.6.35.7custom
OUTPUT:configure: error: The
kernel source tree does not appear to be 2.6)
What shall i do next?
In the quick start guide says: "The module itself is the file pvfs2.ko in subdirectory src/kernel/linux-2.6 in your build tree"In my folder "/usr/pvfs-2.8.1/src/kernel/linux-2.6" there is no file named pvfs2.ko or any file created today.Tha only file that is modified is the "Makefile" in that specific folder.So what about the next step? Cause i can't not "insmod" anything.
Thanks, in advance
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
> >
> utsrelease.h/usr/btrfs-unstable/include/generated/utsrelease.h/usr/src/kernels/2.6.18-194.11.3.el5-x86_64/include/linux/utsrelease.h/usr/src/kernels/2.6.18-194.17.1.el5-x86_64/include/linux/utsrelease.h/usr/src/kernels/2.6.18-194.17.1.el5.centos.plus-x86_64/include/linux/utsrelease.h/usr/src/linux-2.6.35.7/include/generated/utsrelease.h/usr/src/redhat/BUILD/kernel-2.6.35.7custom/include/generated/utsrelease.h
>
>
> > 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-2.6.35.7custom",
> I'd try the ./configure
> --with-kernel="/usr/src/redhat/BUILD/kernel-2.6.35.7custom" 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
> cluster
> machine ?
> Just curious
> ...
>
> Greetings
> Vlad
>
>
> > 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
> does
> >> 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>
> wrote:
> >> > Hello,
> >> > i'm using pvfs2 and i'm trying to load the kernel moduleSo i did:
> >> > 1st try:
> >> > //print version
> >> > [~] cat /proc/versionLinux version 2.6.35.7-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-2.6.35.7-23MarChecking ... (etc)ERROR:
> >> > configure: error: The --with-kernel path
> >> > /boot/vmlinuz-
> >> > 2.6.35.7-23Mar is not a directory.
> >> >
> >> > 2nd try:
> >> > [pvfs-2.8.1] sudo ./configure
> >> > --with-kernel=/usr/src/linux-2.6.35.7Checking ... (etc)
> >> > ERROR: grep:
> >> > /usr/src/linux-2.6.35.7/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
> point
> >> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20120204/d461dab6/attachment.htm
More information about the Pvfs2-users
mailing list