Re: Ceph 0.23-rc make, slow write and client on kernel 2.6.35.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 11 Oct 2010, DongJin Lee wrote:

> > What kind of freezes?  Do they resolve themselves?
> > Anything in dmesg?  The client in 2.6.35 should work out of the box.
> 
> It froze and nothing happened, I can't reproduce this anymore after I
> compiled the latest kclient
> When kclient is not loaded, i.e., lsmod doesn't show ceph, and I tried
> to mount, I get this error
> "failed to parse ceph_options" I'm using 2.6.35.7 (the latest).
> 
> I have used master-backport, but the make fails, it still complains about the
> WARNING: "account_page_dirtied"
> [/home/aaa/ceph/ceph-client-standalone/ceph.ko] undefined!

Fix this.  I had the wrong kernel version on the backport #ifdef.  
master-backport should work now.

> Again, the only thing that the 'make' work is the unstable-backport,
> I think something just went wrong, I keep getting the 'failed to parse
> error'. dmesg doesn't show anything.
> 
> aaa@ss1:~/ceph/ceph-client-standalone$ sudo mount -t ceph
> 192.168.1.2:/ /media/ceph
> failed to parse ceph_options

This is a bug in the (outdated) -standalone.git code.  Please avoid 
unstable and unstable-backport for now; they will be fixed later this 
week.  master-backport should be fixed now!

Sorry about that!
sage



> 
> Thanks
> 
> 
> >> so I just git the latest ceph-client-standalone, set to the master and
> >> did the make. I get
> >>
> >> WARNING: "account_page_dirtied"
> >> [/home/aaa/ceph/ceph-client-standalone/ceph.ko] undefined!
> >>   LD [M]  /home/aaa/ceph/ceph-client-standalone/ceph.ko
> >> make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-02063507-generic'
> >>
> >> So when I tried to modprobe ceph, I get
> >> FATAL: Error inserting ceph
> >> (/lib/modules/2.6.35-02063507-generic/extra/ceph.ko): Unknown symbol
> >> in module, or unknown parameter (see dmesg)
> >>
> >> dmesg just shows "ceph: Unknown symbol account_page_dirtied (err 0)"
> >
> > This symbol was introduced for 2.6.36; you need master-backport.
> >
> >> For "unstable" branch, I get lots of errors starting from
> >>
> >> make[1]: Entering directory `/usr/src/linux-headers-2.6.35-02063507-generic'
> >>   CC [M]  /home/aaa/ceph/ceph-client-standalone/super.o
> >> /home/aaa/ceph/ceph-client-standalone/super.c:2:35: error:
> >> linux/ceph/ceph_debug.h: No such file or directory
> >> In file included from /home/aaa/ceph/ceph-client-standalone/super.c:18:
> >> /home/aaa/ceph/ceph-client-standalone/super.h:17:32: error:
> >> linux/ceph/libceph.h: No such file or directory
> >> In file included from /home/aaa/ceph/ceph-client-standalone/super.c:18:
> >> /home/aaa/ceph/ceph-client-standalone/super.h: In function ?ceph_put_cap_snap?:
> >> /home/aaa/ceph/ceph-client-standalone/super.h:153: error: implicit
> >> declaration of function ?ceph_buffer_put?
> >> /home/aaa/ceph/ceph-client-standalone/super.h: At top level:
> >> /home/aaa/ceph/ceph-client-standalone/super.h:234: error: field
> >> ?i_vino? has incomplete type
> >> ...
> >>
> >> unstable-backport is the only thing that seems to modprobed,
> >> however it gives "failed to parse ceph_options" when I tried to mount..
> >
> > You definitely need to use one of the -backport branches, unless you're
> > running on the latest kernel (the master and unstable branches don't
> > include any backport code).  The master-backport is probably the best
> > choice, as unstable is in a bit of limbo pending the upcoming merge
> > window, rbd, and some reorganization of the code into mulitple modules
> > (libceph, ceph, rbd).
> >
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux