* Building the Ceph client on Lucid Lynx @ 2011-03-18 22:23 Steena Monteiro 2011-03-18 22:45 ` Tommi Virtanen 0 siblings, 1 reply; 7+ messages in thread From: Steena Monteiro @ 2011-03-18 22:23 UTC (permalink / raw) To: ceph-devel 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Building the Ceph client on Lucid Lynx 2011-03-18 22:23 Building the Ceph client on Lucid Lynx Steena Monteiro @ 2011-03-18 22:45 ` Tommi Virtanen 2011-03-18 22:50 ` Gregory Farnum 0 siblings, 1 reply; 7+ messages in thread From: Tommi Virtanen @ 2011-03-18 22:45 UTC (permalink / raw) To: Steena Monteiro; +Cc: ceph-devel On Fri, Mar 18, 2011 at 10:23:37PM +0000, Steena Monteiro wrote: > 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. -- :(){ :|:&};: -- 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] 7+ messages in thread
* Re: Building the Ceph client on Lucid Lynx 2011-03-18 22:45 ` Tommi Virtanen @ 2011-03-18 22:50 ` Gregory Farnum 2011-03-18 22:56 ` Gregory Farnum 0 siblings, 1 reply; 7+ messages in thread From: Gregory Farnum @ 2011-03-18 22:50 UTC (permalink / raw) To: Tommi Virtanen; +Cc: Steena Monteiro, ceph-devel On Friday, March 18, 2011 at 3:45 PM, Tommi Virtanen wrote: > On Fri, Mar 18, 2011 at 10:23:37PM +0000, Steena Monteiro wrote: > > 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. 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Building the Ceph client on Lucid Lynx 2011-03-18 22:50 ` Gregory Farnum @ 2011-03-18 22:56 ` Gregory Farnum 2011-03-18 23:42 ` Sage Weil 0 siblings, 1 reply; 7+ messages in thread From: Gregory Farnum @ 2011-03-18 22:56 UTC (permalink / raw) To: Steena Monteiro; +Cc: ceph-devel On Friday, March 18, 2011 at 3:50 PM, Gregory Farnum wrote: > > On Friday, March 18, 2011 at 3:45 PM, Tommi Virtanen wrote: > > On Fri, Mar 18, 2011 at 10:23:37PM +0000, Steena Monteiro wrote: > > > 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. > > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Building the Ceph client on Lucid Lynx 2011-03-18 22:56 ` Gregory Farnum @ 2011-03-18 23:42 ` Sage Weil 2011-03-21 7:58 ` Henry Chang 0 siblings, 1 reply; 7+ messages in thread From: Sage Weil @ 2011-03-18 23:42 UTC (permalink / raw) To: henry.cy.chang; +Cc: Gregory Farnum, Steena Monteiro, ceph-devel [-- Attachment #1: Type: TEXT/PLAIN, Size: 1481 bytes --] On Fri, 18 Mar 2011, Gregory Farnum wrote: > On Friday, March 18, 2011 at 3:50 PM, Gregory Farnum wrote: > > > > On Friday, March 18, 2011 at 3:45 PM, Tommi Virtanen wrote: > > > On Fri, Mar 18, 2011 at 10:23:37PM +0000, Steena Monteiro wrote: > > > > 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. > > > > 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Building the Ceph client on Lucid Lynx 2011-03-18 23:42 ` Sage Weil @ 2011-03-21 7:58 ` Henry Chang 2011-03-21 18:36 ` Steena Monteiro 0 siblings, 1 reply; 7+ messages in thread From: Henry Chang @ 2011-03-21 7:58 UTC (permalink / raw) To: Sage Weil; +Cc: Gregory Farnum, Steena Monteiro, ceph-devel > 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 -- Henry -- 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] 7+ messages in thread
* Re: Building the Ceph client on Lucid Lynx 2011-03-21 7:58 ` Henry Chang @ 2011-03-21 18:36 ` Steena Monteiro 0 siblings, 0 replies; 7+ messages in thread From: Steena Monteiro @ 2011-03-21 18:36 UTC (permalink / raw) To: Henry Chang; +Cc: Sage Weil, Gregory Farnum, ceph-devel Thanks! I reverted the commits (master~10 and master~11). The filesystem's now mounted. ~Steena On Mar 21, 2011, at 1:58 AM, Henry Chang wrote: >> 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 > > -- > Henry Steena D. Monteiro http://www.steenamonteiro.com ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-03-21 18:36 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-03-18 22:23 Building the Ceph client on Lucid Lynx Steena Monteiro 2011-03-18 22:45 ` Tommi Virtanen 2011-03-18 22:50 ` Gregory Farnum 2011-03-18 22:56 ` Gregory Farnum 2011-03-18 23:42 ` Sage Weil 2011-03-21 7:58 ` Henry Chang 2011-03-21 18:36 ` Steena Monteiro
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.