Hello Emmanuel,

I was too fast: the kernel module does compile but cannot be loaded. When using 
insmod I get
Error: could not insert module pvfs2.ko: Invalid module format
Apparently this error is du to a version mismatch. The installed kernel sources 
are for version 3.2.54 (and thus modinfo gives 3.2.54 for the version in 
pvfs2.ko) while my distribution is 3.2.0-4-amd64.

I upgraded my kernel to 3.12.9 by doing
apt-get install linux-image-3.12-1-amd64
apt-get install linux-headers-3.12-1-amd64
Then rebooted on the new kernel and followed you procedure with 
linux-source-3.12 instead of 3.2 (this gives me a linux-3.12.9 in /usr/src, I 
don't know why again the version is different from that of the kernel...). 
After all the configuration (copying the configuration from /boot, and the 
series of make) I tried to compile pvfs and this time I get 
configure: error: The kernel source tree must have been configured.

Apparently in the configure script, it looks for include/linux/version.h, which 
is not there.

Any idea how to solve that? (either the problem of version mismatch with 3.2 or 
the kernel not configured for 3.12)
Thank you,

Matthieu Dorier 
PhD student at ENS Rennes 
http://people.irisa.fr/Matthieu.Dorier 

----- Mail original -----
> De: "Matthieu Dorier" <[email protected]>
> À: "Emmanuel Florac" <[email protected]>
> Cc: "pvfs2-users" <[email protected]>
> Envoyé: Mercredi 12 Février 2014 18:28:15
> Objet: Re: [Pvfs2-users] Compiling kernel module of orangefs 2.8.7 for        
> kernel 3.2
> 
> Indeed reinstalling the kernel sources made it work. Something was
> certainly wrong with the source tree initially provided with my
> distribution.
> Thank you for the fast reply!
> 
> Matthieu Dorier
> PhD student at ENS Rennes
> http://people.irisa.fr/Matthieu.Dorier
> 
> ----- Mail original -----
> > De: "Emmanuel Florac" <[email protected]>
> > À: "Matthieu Dorier" <[email protected]>
> > Cc: "pvfs2-users" <[email protected]>
> > Envoyé: Mercredi 12 Février 2014 15:33:34
> > Objet: Re: [Pvfs2-users] Compiling kernel module of orangefs 2.8.7
> > for kernel 3.2
> > 
> > Le Wed, 12 Feb 2014 11:00:23 +0100 (CET)
> > Matthieu Dorier <[email protected]> écrivait:
> > 
> > > Also I'm compiling this with gcc 4.7.2. Any idea (or patch) to
> > > solve
> > > this problem? Thank you,
> > 
> > I've uploaded packages for Wheezy here:
> > http://update2.intellique.com/pub/
> > 
> > You'll need to install both "pvfs" packages.
> > 
> > --
> > ------------------------------------------------------------------------
> > Emmanuel Florac     |   Direction technique
> >                     |   Intellique
> >                     |       <[email protected]>
> >                     |   +33 1 78 94 84 02
> > ------------------------------------------------------------------------
> > 
> 
> _______________________________________________
> Pvfs2-users mailing list
> [email protected]
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>

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

Reply via email to