[Pvfs2-users] unable to insert kernel module pvfs2.ko
Robert Latham
robl at mcs.anl.gov
Wed May 30 23:12:38 EDT 2007
On Wed, May 30, 2007 at 09:34:45PM -0500, Tommy Butler wrote:
> !@#$ dangit. Well I do so very much appreciate your rapid response. I'll
> work on sorting out the differences between gcc and my kernel. PVFS is a
> must have for this cluster.
Hi Tommy
Here's one thing we've done on our debian testing machines when the
compiler got upgraded before the kernel. It's kind of gross, but
works.
Go ahead and install the older gcc-4.0 package. The gcc symlink
/usr/bin/gcc will still point to the "default" gcc version, and is the
gcc the kernel build system will try to use. You may have some
specific reasons why you can't install gcc-4.0 but there's a pretty
good chance you'll be able to install multiple gcc packages without
problem.
/usr/bin/gcc probably points to /usr/bin/gcc-4.1 on your box. Go
ahead and temporarily make that link point to /usr/bin/gcc-4.0 while
you make the pvfs2.ko module. Probably would be a good idea to reset
the link after you've built pvfs2.ko
The "debian way" to fix this might be to rebuild the debian kernel
package. Not sure if the compiler is an explicit build-dep though.
Either of those approaches work for you?
==rob
--
Rob Latham
Mathematics and Computer Science Division A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA B29D F333 664A 4280 315B
More information about the Pvfs2-users
mailing list