Skip to contentSkip to conversation

Building the Ceph client on Lucid Lynx

DISCUSSION Steena Monteiro 5 participants 7 messages Mar 18, 2011 – Mar 21, 2011

lore
Share & tools
lore
#0 lore raw

I'm trying to build the Ceph client on Ubuntu 10.04.2 with kernel 2.6.32-28-generic. make -C install gives:

make: Entering directory /usr/src/ceph-client-standalone/ceph' make -C /lib/modules/2.6.32-28-generic/build M=/usr/src/ceph-client-standalone/ceph CONFIG_CEPH_FS=m modules make[1]: Entering directory /usr/src/linux-headers-2.6.32-28-generic'
CC [M] /usr/src/ceph-client-standalone/ceph/super.o
/usr/src/ceph-client-standalone/ceph/super.c:585: warning: initialization from incompatible pointer type /usr/src/ceph-client-standalone/ceph/super.c:870: error: unknown field ‘mount’ specified in initializer /usr/src/ceph-client-standalone/ceph/super.c:870: warning: initialization makes integer from pointer without a cast
make[2]: *** [/usr/src/ceph-client-standalone/ceph/super.o] Error 1 make[1]: *** [_module_/usr/src/ceph-client-standalone/ceph] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-28-generic'
make: *** [all] Error 2
make: Leaving directory `/usr/src/ceph-client-standalone/ceph'

I'd appreciate some insight into solving this.

Thanks in advance,
Steena

--
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

#1 lore raw
Quoted 5 lines · Steena Monteiro

I'm trying to build the Ceph client on Ubuntu 10.04.2 with kernel 2.6.32-28-generic. make -C install gives:

/usr/src/ceph-client-standalone/ceph/super.c:870: error: unknown field ‘mount’ specified in initializer

That changed in ceph-client-standalone.git commit ff8a8d2006dca58f71b5dc5df0c95b8f837a0a4e, which mirrors linux.git commit a7f9fb205a88ab9af675a68fc554cf51dafc8b60, which was a VFS refactoring by Al Viro for Linux 2.6.37-rc1.

You'll need to build an older version of ceph-client-standalone, or perhaps try reverting that one commit (git revert ff8a8d). Good luck.

Signature · 5 lines
:(){ :|:&};:
--
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
#2 lore raw
Quoted 7 lines · Tommi Virtanen
Quoted 5 lines · Steena Monteiro

I'm trying to build the Ceph client on Ubuntu 10.04.2 with kernel 2.6.32-28-generic. make -C install gives:

/usr/src/ceph-client-standalone/ceph/super.c:870: error: unknown field ‘mount’ specified in initializer

Quoted 7 lines

That changed in ceph-client-standalone.git commit ff8a8d2006dca58f71b5dc5df0c95b8f837a0a4e, which mirrors linux.git commit a7f9fb205a88ab9af675a68fc554cf51dafc8b60, which was a VFS refactoring by Al Viro for Linux 2.6.37-rc1.

You'll need to build an older version of ceph-client-standalone, or perhaps try reverting that one commit (git revert ff8a8d). Good luck.

FYI: ceph-client-standalone is supposed to build on older kernels, although it's only loosely maintained. Let us know how it goes -- if it doesn't work we'll put at least a few developer hours into it! -Greg

--
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

#3 lore raw
Quoted 14 lines · Gregory Farnum
Quoted 12 lines · Tommi Virtanen
Quoted 5 lines · Steena Monteiro

I'm trying to build the Ceph client on Ubuntu 10.04.2 with kernel 2.6.32-28-generic. make -C install gives:

/usr/src/ceph-client-standalone/ceph/super.c:870: error: unknown field ‘mount’ specified in initializer

That changed in ceph-client-standalone.git commit ff8a8d2006dca58f71b5dc5df0c95b8f837a0a4e, which mirrors linux.git commit a7f9fb205a88ab9af675a68fc554cf51dafc8b60, which was a VFS refactoring by Al Viro for Linux 2.6.37-rc1.

Quoted 6 lines
Quoted 2 lines

You'll need to build an older version of ceph-client-standalone, or perhaps try reverting that one commit (git revert ff8a8d). Good luck.

FYI: ceph-client-standalone is supposed to build on older kernels, although it's only loosely maintained. Let us know how it goes -- if it doesn't work we'll put at least a few developer hours into it! -Greg
Correction: The backports branch of ceph-client-standalone is supposed to build on older kernels. Have you tried that one?

-Greg

--
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

#4 lore raw
Quoted 15 lines · Gregory Farnum
Quoted 14 lines · Gregory Farnum
Quoted 12 lines · Tommi Virtanen
Quoted 5 lines · Steena Monteiro

I'm trying to build the Ceph client on Ubuntu 10.04.2 with kernel 2.6.32-28-generic. make -C install gives:

/usr/src/ceph-client-standalone/ceph/super.c:870: error: unknown field ÿÿmountÿÿ specified in initializer

That changed in ceph-client-standalone.git commit ff8a8d2006dca58f71b5dc5df0c95b8f837a0a4e, which mirrors linux.git commit a7f9fb205a88ab9af675a68fc554cf51dafc8b60, which was a VFS refactoring by Al Viro for Linux 2.6.37-rc1.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

You'll need to build an older version of ceph-client-standalone, or perhaps try reverting that one commit (git revert ff8a8d). Good luck.

FYI: ceph-client-standalone is supposed to build on older kernels, although it's only loosely maintained. Let us know how it goes -- if it doesn't work we'll put at least a few developer hours into it! -Greg

Correction: The backports branch of ceph-client-standalone is supposed to build on older kernels. Have you tried that one? -Greg

I think the problem is that particular change hasn't been backported yet. The most recent backport fixes have been done by Henry. I'm not sure if they've done this one too?

sage

#5 lore raw
Quoted 3 lines

I think the problem is that particular change hasn't been backported yet. The most recent backport fixes have been done by Henry.  I'm not sure if they've done this one too?

No, we worked around it by reverting the following two commits (which leverage the new workqueue mechanism of latest kernel):

c59cb6f net/ceph: make ceph_msgr_wq non-reentrant 6b40e7f ceph: fsc->*_wq's aren't used in memory reclaim path

Signature · 5 lines
Henry
--
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
#6 lore raw

Thanks!

I reverted the commits (master~10 and master~11). The filesystem's now mounted.

~Steena

Quoted 4 lines · Henry Chang
Quoted 3 lines

I think the problem is that particular change hasn't been backported yet. The most recent backport fixes have been done by Henry. I'm not sure if they've done this one too?

Quoted 8 lines

No, we worked around it by reverting the following two commits (which leverage the new workqueue mechanism of latest kernel):

c59cb6f net/ceph: make ceph_msgr_wq non-reentrant 6b40e7f ceph: fsc->*_wq's aren't used in memory reclaim path

Signature · 1 line
Henry

Steena D. Monteiro
http://www.steenamonteiro.com