* dkms client module
@ 2011-04-13 22:04 Zenon Panoussis
2011-04-14 16:44 ` Yehuda Sadeh Weinraub
0 siblings, 1 reply; 2+ messages in thread
From: Zenon Panoussis @ 2011-04-13 22:04 UTC (permalink / raw)
To: ceph-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: dkms client module
2011-04-13 22:04 dkms client module Zenon Panoussis
@ 2011-04-14 16:44 ` Yehuda Sadeh Weinraub
0 siblings, 0 replies; 2+ messages in thread
From: Yehuda Sadeh Weinraub @ 2011-04-14 16:44 UTC (permalink / raw)
To: Zenon Panoussis; +Cc: ceph-devel
On Wed, Apr 13, 2011 at 3:04 PM, Zenon Panoussis <oracle@provocation.net> wrote:
...
> 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.
>
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-14 16:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-13 22:04 dkms client module Zenon Panoussis
2011-04-14 16:44 ` Yehuda Sadeh Weinraub
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.