Hi Amit,
I think the output of those commands tells us the problem. You are
running kernel version 2.6.9-42.0.2.EL, but the only kernel-smp-devel
package that you have installed is 2.6.9-42.0.10.EL.
That needs to be resolved by one of the following options:
a) switching which kernel you are running to 2.6.9-42.0.10.EL to match
your kernel-smp-devel package
b) installing kernel-smp-devel-2.6.9-42.0.2.EL to match the kernel you
are running
The a) option is probably the best choice since it looks like you have
the right packages installed for it anyway; your machine is just booted
into the older kernel for some reason. I don't recall how redhat
handles its kernels, but it may be that you just need to reboot the box
and you it will automatically come up with the 0.10 one. Otherwise you
would need to adjust your grub configuration to tell it to boot with the
0.10 one.
At any rate, once you have the output of "uname -r" matching one of the
results of "rpm -q kernel-smp-devel" then you should be all set to
configure pvfs.
-Phil
Amit H Kumar wrote:
Phil Carns <[EMAIL PROTECTED]> wrote on 03/11/2008 04:15:04 PM:
I don't think that 'make menuconfig' is necessary for a standard redhat
kernel.
What is the output of these three commands on your system?
uname -r
rpm -q kernel-smp-devel
rpm -q kernel-smp
The first command tells you the version number of the kernel that you
are running. That same version number needs to show up in the output of
the other two commands (to show that you have a matched set of
development headers installed).
Once those look right, you should be able to use
--with-kernel=/lib/modules/`uname -r`/build for your configure argument.
Hi Phil,
What does the "build" in "--with-kernel=/lib/modules/`uname -r`/build"
should be substituted with: Becasue I don't have a "build" directory or
file as such, nor even does the kernel directory under that path has any
'build directory' or 'linux-2.6' directory ...
Can you please throw some more insight!! below is the info asked.
Thank you,
«Amit»
# uname -r
2.6.9-42.0.2.ELsmp
# rpm -q kernel-smp-devel
kernel-smp-devel-2.6.9-42.0.10.EL
# rpm -q kernel-smp
kernel-smp-2.6.9-42.0.2.EL
kernel-smp-2.6.9-42.0.10.EL
ls -l /lib/modules/`uname -r`/
total 640
drwxr-xr-x 9 root root 4096 Mar 8 2007 kernel
-rw-r--r-- 1 root root 119161 Feb 27 09:38 modules.alias
-rw-r--r-- 1 root root 69 Feb 27 09:38 modules.ccwmap
-rw-r--r-- 1 root root 144800 Feb 27 09:38 modules.dep
-rw-r--r-- 1 root root 73 Feb 27 09:38 modules.ieee1394map
-rw-r--r-- 1 root root 357 Feb 27 09:38 modules.inputmap
-rw-r--r-- 1 root root 235 Feb 27 09:38 modules.isapnpmap
-rw-r--r-- 1 root root 114122 Feb 27 09:38 modules.pcimap
-rw-r--r-- 1 root root 67974 Feb 27 09:38 modules.symbols
-rw-r--r-- 1 root root 155849 Feb 27 09:38 modules.usbmap
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users