After running configure you need to continue with the steps given in section
5.2 and following of the quickstart instructions
(http://orangefs.org/documentation/releases/current/doc/pvfs2-quickstart/pvf
s2-quickstart.php#SECTION00062000000000000000). Running "make kmod" will
build the kernel module.

 

-- Elaine

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of g_p g_p
Sent: Saturday, February 04, 2012 12:24 PM
To: [email protected]
Cc: pvfs2
Subject: RE: [Pvfs2-users] configure: error: The kernel source tree does not
appear to be 2.6

 

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               :  no

PVFS2 configured to perform coverage analysis     :  no

PVFS2 configured for aio threaded callbacks       : yes

PVFS2 configured to use FUSE                      :  no

PVFS2 configured for the 2.6.x kernel module      : yes

PVFS2 configured for the 2.4.x kernel module      :  no

PVFS2 configured for using the mmap-ra-cache      :  no

PVFS2 will use workaround for redhat 2.4 kernels  :  no

PVFS2 will use workaround for buggy NPTL          :  no

PVFS2 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: [email protected]
> To: [email protected]
> CC: [email protected]
> 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 <[email protected]> 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/kerne
ls/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-19
4.17.1.el5.centos.plus-x86_64/include/linux/utsrelease.h/usr/src/linux-2.6.3
5.7/include/generated/utsrelease.h/usr/src/redhat/BUILD/kernel-2.6.35.7custo
m/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: [email protected]
> >> To: [email protected]
> >> 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 <[email protected]>
> 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

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to