It worked, thank you very much!

Matthieu

2012/2/22 Sam Sampson <[email protected]>

> Ok, Debian splits needed files between the first two directories below.
> This is similar to SUSE, but the trick that worked there didn’t work on
> Debian. ****
>
> ** **
>
> What I had to do was download a copy of the 2.6.32 kernel source and
> prepare it for module building:****
>
> ** **
>
> apt-get install linux-source-2.6.32****
>
> cd /usr/src****
>
> bunzip2 linux-source-2.6.32.tar.bz2****
>
> tar -xf linux-source-2.6.32.tar****
>
> cd linux-source-2.6.32****
>
> cp /boot/config-2.6.32-5-amd64 .config****
>
> make modules_prepare   # if you are prompted here, just enter the defaults
> ****
>
> ln -s ../linux-headers-2.6.32-5-amd64/Module.symvers****
>
> ** **
>
> You can now use configure --with-kernel=/usr/src/linux-source-2.6.32. The
> module will install (make kmod_install) under /lib/modules/2.6.32, you can
> move the “kernel/fs/pvfs2” dir to “/lib/modules/2.6.32-5-amd64/kernel/fs”
> to put it with the other modules.****
>
> ** **
>
> Hope that helps,****
>
> Sam S.****
>
> ** **
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Matthieu Dorier
> *Sent:* Tuesday, February 21, 2012 1:23 PM
> *To:* Sam Sampson
> *Cc:* pvfs2-users
> *Subject:* Re: [Pvfs2-users] problem when compiling kernel 2.6 support****
>
> ** **
>
> I'm using Debian squeeze. In /usr/src I have the following:****
>
> ** **
>
> linux-headers-2.6.32-5-amd64/****
>
> linux-headers-2.6.32-5-common/****
>
> linux-kbuild-2.6.32/****
>
> ** **
>
> When using the 2nd or the 3rd one, I get the following error on orangefs
> configure phase :****
>
> configure: error: The kernel source tree must have been configured.****
>
> ** **
>
> When using the first one, the configure phase works, but make kmod doesn't.
> ****
>
> ** **
>
> Thanks,****
>
> Matthieu****
>
> ** **
>
> 2012/2/21 Sam Sampson <[email protected]>****
>
> Well, this issue is related to kernel source locations. There’s often a
> way to work around the issue.****
>
>  ****
>
> What distribution are you using? What path are you providing to
> --with-kernel for configure?****
>
>  ****
>
> Thanks,****
>
> Sam Sampson****
>
> Omnibond LLC****
>
>  ****
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Matthieu
> Dorier
> *Sent:* Tuesday, February 21, 2012 12:01 PM
> *To:* pvfs2-users
> *Subject:* [Pvfs2-users] problem when compiling kernel 2.6 support****
>
>  ****
>
> Hello,****
>
>  ****
>
> I have the same exact same problem than reported by another user last July
> (
> http://www.beowulf-underground.org/pipermail/pvfs2-users/2011-July/003421.html
> ).****
>
> The user did not mention which version of orangefs was used at that time,
> the answer was to use version 2.8.4 or the earliest CVS version, so I guess
> he upgraded from an older version.****
>
>  ****
>
> In my case I'm using orangefs 2.8.5, and kernel version 2.6.32-5, should I
> downgrade to orangefs 2.8.4 for the kernel module to work?****
>
>  ****
>
> Thanks,
> ****
>
>  ****
>
> --
> Matthieu Dorier
> ENS Cachan, Brittany (Computer Science dpt.)
> IRISA Rennes, Office C113
> http://perso.eleves.bretagne.ens-cachan.fr/~mdori307****
>
>
> _______________________________________________
> Pvfs2-users mailing list
> [email protected]
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users****
>
>
>
> ****
>
> ** **
>
> --
> Matthieu Dorier
> ENS Cachan, Brittany (Computer Science dpt.)
> IRISA Rennes, Office C113
> http://perso.eleves.bretagne.ens-cachan.fr/~mdori307****
>
> _______________________________________________
> Pvfs2-users mailing list
> [email protected]
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>
>


-- 
Matthieu Dorier
ENS Cachan, Brittany (Computer Science dpt.)
IRISA Rennes, Office C113
http://perso.eleves.bretagne.ens-cachan.fr/~mdori307
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to