Oopse revision on the patch also add KERNELDIR on the makefile line.

--- a/debian/rules.modules.in
+++ b/debian/rules.modules.in
@@ -31,7 +31,7 @@ kdist_configure: prep-deb-files
 # kdist* rules. It is responsible for cleaning up any changes that have
 # been made by the other kdist_commands (except for the .deb files
created)
 kdist_clean:
-       $(MAKE) $(MFLAGS) clean
+       @$(MAKE) $(MFLAGS) KERNELDIR=$(KSRC) clean
 
 ### end  KERNEL SETUP
 
-----Original Message-----
From: Brown, David M JR 
Sent: Friday, May 15, 2009 12:33 PM
To: Sage Weil
Cc: ceph-devel@lists.sourceforge.net
Subject: Re: [ceph-devel] 0.7.3 mount issues

I'm trying a fresh git pull then just running dpkg-buildpackage
-rfakeroot

So, ceph-kclient-source should have a @$(MAKE) in the clean target so
that it doesn't fail the build when you run module-assistant. That would
be helpful.

Thanks,
- David Brown

--- a/debian/rules.modules.in
+++ b/debian/rules.modules.in
@@ -31,7 +31,7 @@ kdist_configure: prep-deb-files
 # kdist* rules. It is responsible for cleaning up any changes that have
 # been made by the other kdist_commands (except for the .deb files
created)
 kdist_clean:
-       $(MAKE) $(MFLAGS) clean
+       @$(MAKE) $(MFLAGS) clean
 
 ### end  KERNEL SETUP
 
-----Original Message-----
From: Sage Weil [mailto:s...@newdream.net] 
Sent: Thursday, May 07, 2009 1:00 PM
To: Brown, David M JR
Cc: ceph-devel@lists.sourceforge.net
Subject: Re: [ceph-devel] 0.7.3 mount issues

Hi David,

I'm able to mount this version fine.  It sounds like the client and mds 
versions are out of sync (I haven't been super careful about reving the 
protocol versions, unfortunately).

Can you rebuild both and try it again?

sage


On Thu, 7 May 2009, Brown, David M JR wrote:

> I'm having issues mounting with the 0.7.3 tag.
> 
> # mount -t ceph 10.0.1.7:/ /ceph
> mount: 10.0.1.7:/: can't read superblock
> 
> dmesg output on the client.
> 
> [53644.719376] /usr/src/modules/ceph/super.c:: i am client2, fsid is
> 857113b38f5377fb.2bd9ab48938cc647
> [53644.719410] /usr/src/modules/ceph/mdsmap.c: corrupt
> mdsmap<3>/usr/src/modules/ceph/mds_clie: problem with mdsmap -22
> [53648.560274] /usr/src/modules/ceph/mdsmap.c: corrupt
> mdsmap<3>/usr/src/modules/ceph/mds_clie: problem with mdsmap -22
> [53653.560285] /usr/src/modules/ceph/mdsmap.c: corrupt
> mdsmap<3>/usr/src/modules/ceph/mds_clie: problem with mdsmap -22
> [53658.560291] /usr/src/modules/ceph/mdsmap.c: corrupt
> mdsmap<3>/usr/src/modules/ceph/mds_clie: problem with mdsmap -22
> [53663.560269] /usr/src/modules/ceph/mdsmap.c: corrupt
> mdsmap<3>/usr/src/modules/ceph/mds_clie: problem with mdsmap -22
> [53668.560269] /usr/src/modules/ceph/mdsmap.c: corrupt
> mdsmap<3>/usr/src/modules/ceph/mds_clie: problem with mdsmap -22
> [53673.560261] /usr/src/modules/ceph/mdsmap.c: corrupt
> mdsmap<3>/usr/src/modules/ceph/mds_clie: problem with mdsmap -22
> [53678.560270] /usr/src/modules/ceph/mdsmap.c: corrupt
> mdsmap<3>/usr/src/modules/ceph/mds_clie: problem with mdsmap -22
> [53683.560291] /usr/src/modules/ceph/mdsmap.c: corrupt
> mdsmap<3>/usr/src/modules/ceph/mds_clie: problem with mdsmap -22
> [53688.560252] /usr/src/modules/ceph/mdsmap.c: corrupt
> mdsmap<3>/usr/src/modules/ceph/mds_clie: problem with mdsmap -22
> [53693.560259] /usr/src/modules/ceph/mdsmap.c: corrupt
> mdsmap<3>/usr/src/modules/ceph/mds_clie: problem with mdsmap -22
> [53698.560271] /usr/src/modules/ceph/mdsmap.c: corrupt
> mdsmap<3>/usr/src/modules/ceph/mds_clie: problem with mdsmap -22
> [53703.560033] /usr/src/modules/ceph/super.c:: kill_sb
ffff88042c885800
> [53703.560859] /usr/src/modules/ceph/messenge: __remove_connection:
> ffff88042c8cb800
> 
> The mon log has this in it.
> 
> 09.05.07 15:12:52.955250 log [INF] : client3 10.0.1.12:36270/0/0
mounted
> 09.05.07 15:12:54.030175 mon0(leader).client v5 4 clients (+1 -0)
> 09.05.07 15:12:57.948191 log [INF] : client3 10.0.1.12:36270/0/0 is
> already mounted
> 09.05.07 15:13:02.947881 log [INF] : client3 10.0.1.12:36270/0/0 is
> already mounted
> 09.05.07 15:13:07.947578 log [INF] : client3 10.0.1.12:36270/0/0 is
> already mounted
> 09.05.07 15:13:12.947294 log [INF] : client3 10.0.1.12:36270/0/0 is
> already mounted
> 09.05.07 15:13:17.946988 log [INF] : client3 10.0.1.12:36270/0/0 is
> already mounted
> 09.05.07 15:13:22.946695 log [INF] : client3 10.0.1.12:36270/0/0 is
> already mounted
> 09.05.07 15:13:27.946394 log [INF] : client3 10.0.1.12:36270/0/0 is
> already mounted
> 09.05.07 15:13:32.946105 log [INF] : client3 10.0.1.12:36270/0/0 is
> already mounted
> 09.05.07 15:13:37.945806 log [INF] : client3 10.0.1.12:36270/0/0 is
> already mounted
> 09.05.07 15:13:42.945508 log [INF] : client3 10.0.1.12:36270/0/0 is
> already mounted
> 09.05.07 15:13:47.945201 log [INF] : client3 10.0.1.12:36270/0/0 is
> already mounted
> 
> The mds log doesn't have anything in it.
> 
> The next step is to try the 0.8 unstable branch see if that has
anything
> different.
> The system is debian sid with latest 2.6.29-2-amd64.
> 
> Any help would be appreciated.
> 
> Thanks,
> - David Brown
> 
> 
> 

------------------------------------------------------------------------
------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ceph-devel mailing list
Ceph-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ceph-devel

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ceph-devel mailing list
Ceph-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ceph-devel

Reply via email to