dkms client module
Hello all
I'm new to ceph and I'm having troubles with the client module.
I'm testing on SL6. RHEL6 and all its derivatives use kernel 2.6.32 and will continue doing so for the next seven years. Therefore, the only reasonable way to get ceph into RHEL6 is dkms. Luckily, that's already supported.
I got ceph-client-standalone from git and fixed the specific 2.6.32 problems according to http://marc.info/?l=ceph-devel&m=129813044300561&w=2 .
Then I run into this:
./dkms/add-to-dkms-and-build
Creating symlink /var/lib/dkms/ceph/2.6.37/source ->
/usr/src/ceph-2.6.37
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.32-71.24.1.el6.x86_64 -C ceph/....(bad exit status: 2)
Error! Bad return status for module build on kernel: 2.6.32-71.24.1.el6.x86_64 (x86_64) Consult the make.log in the build directory /var/lib/dkms/ceph/2.6.37/build/ for more information.
0
0
make.log says:
DKMS make.log for ceph-2.6.37 for kernel 2.6.32-71.24.1.el6.x86_64 (x86_64) Wed Apr 13 23:47:41 CEST 2011
make: Entering directory `/var/lib/dkms/ceph/2.6.37/build/ceph'
make: *** No targets. Stop.
make: Leaving directory `/var/lib/dkms/ceph/2.6.37/build/ceph'
It seems to me there should be a Makefile in the root of ceph-client-standalone that points make to the Makefiles of the subdirectories, but I'm an ignorant wrt to make, so I'm not sure about anything.
Suggestions anyone how to get around this?
Z
On Wed, Apr 13, 2011 at 3:04 PM, Zenon Panoussis <[email protected]> wrote:
...
Quoted 32 lines
I got ceph-client-standalone from git and fixed the specific 2.6.32 problems according to http://marc.info/?l=ceph-devel&m=129813044300561&w=2 .
Then I run into this:
./dkms/add-to-dkms-and-build
Creating symlink
/var/lib/dkms/ceph/2.6.37/source->/usr/src/ceph-2.6.37DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.32-71.24.1.el6.x86_64 -C ceph/....(bad exit status: 2)Error! Bad return status for module build on kernel: 2.6.32-71.24.1.el6.x86_64 (
x86_64) Consult the make.log in the build directory/var/lib/dkms/ceph/2.6.37/build/for more information.
0
0make.log says:
DKMS make.log for ceph-2.6.37 for kernel 2.6.32-71.24.1.el6.x86_64 (
x86_64) Wed Apr 13 23:47:41 CEST 2011
make: Entering directory `/var/lib/dkms/ceph/2.6.37/build/ceph'
make: *** No targets. Stop.
make: Leaving directory `/var/lib/dkms/ceph/2.6.37/build/ceph'
Quoted 4 lines
It seems to me there should be a
Makefilein the root of ceph-client-standalone that points make to the Makefiles of the subdirectories, but I'm an ignorant wrt to make, so I'm not sure about anything.
As the ceph-client-standalone provides 3 different modules (libceph, ceph, rbd), you should probably try building it as 3 separate modules and not as a single module. There isn't a single Makefile, and you should treat ceph-client-standalone/libceph, ceph-client-standalone/ceph and ceph-client-standalone/rbd as standalone modules when building them.
Yehuda
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html