Re: ceph-client-standalone bug update ,make,WARNING: "task_dirty_inc" ,ubuntu10.10 Linux-2.6.35-22-generic

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

 



Thank you Sage,

I tried the master-backport, and it works now.

On Fri, Oct 29, 2010 at 1:29 PM, Sage Weil <sage@xxxxxxxxxxxx> wrote:
> On Fri, 29 Oct 2010, Jeff Wu wrote:
>> Thank you Gregory and Yonggang,i git rbd-backport , make sucessfully.
>
> A word of caution: the rbd-backport branch is really old and out of date.
> The reason it compiles is because it doesn't have the task_dirty_inc call
> at all.  And looking at it more closely, it looks like task_dirty_inc was
> never exported to modules.  Whoops!  I'm not sure what the implications of
> not calling it are (presumably the VMs space accounting gets out of
> whack), but it was also missing from the upstream version until 2.6.36, so
> I'll just drop it from the -backport branches.  (I suspect I added it when
> the account_page_dirtied() call was added in 2.6.36 and noticed it was
> doing it.)
>
> In any case, the ceph-client-standalone.git is fixed up, and you should
> now be able to use either master-backport or unstable-backport.
>
> sage
>
>
>>
>> Regards,
>> Jeff.Wu
>> Transoft.inc
>> Senior software Engineer
>>
>> ÿÿ 2010-10-29ÿÿÿÿ 00:54 +0800ÿÿYonggang Liuÿÿÿÿÿÿ
>> > Solved. Thank you Gregory!
>> > I used the branck rbd-backport and it works perfectly.
>> >
>> > Regards,
>> >
>> > On Thu, Oct 28, 2010 at 11:55 AM, Gregory Farnum <gregf@xxxxxxxxxxxxxxx> wrote:
>> > > The ceph-client tree is always maintained against the latest rc from
>> > > Linus. For any other kernel you need to use the -backports branches.
>> > > It looks like this is what's causing both your troubles. :)
>> > > -Greg
>> > >
>> > > On Thu, Oct 28, 2010 at 8:20 AM, Yonggang Liu <myidpt@xxxxxxxxx> wrote:
>> > >> The same thing happens here, I was using Debian 5.0 with kernel 2.6.32-5-686.
>> > >> I had the following error message:
>> > >> client:~/ceph-client-standalone# insmod ceph.ko
>> > >> insmod: error inserting 'ceph.ko': -1 Unknown symbol in module
>> > >> client:~/ceph-client-standalone# dmesg -c
>> > >> [ 4295.877555] ceph: Unknown symbol task_dirty_inc
>> > >>
>> > >> Any ideas?
>> > >>
>> > >> On Thu, Oct 28, 2010 at 5:55 AM, Jeff Wu <cpwu@xxxxxxxxxxxxx> wrote:
>> > >>> Hi ,all
>> > >>>
>> > >>> At Ubuntu 10.10 x86_64 , kernel : Linux-2.6.35-22-generic ,
>> > >>>
>> > >>> I git Lastest ceph-client-standalone source codes from
>> > >>> git://ceph.newdream.net/ceph-client-standalone.git
>> > >>>
>> > >>> it make fail, get the warning messages: "account_page_dirtied"
>> > >>>
>> > >>> =================== Logs ========================
>> > >>>
>> > >>> jeff@cephserver:~/work/ceph-client-standalone$ make
>> > >>>
>> > >>>  ...................................
>> > >>>
>> > >>> CC [M]  /home/jeff/work/ceph-client-standalone/ceph_hash.o
>> > >>>  CC [M]  /home/jeff/work/ceph-client-standalone/ceph_frag.o
>> > >>>  LD [M]  /home/jeff/work/ceph-client-standalone/ceph.o
>> > >>>  Building modules, stage 2.
>> > >>>  MODPOST 1 modules
>> > >>> WARNING:
>> > >>> "account_page_dirtied" [/home/jeff/work/ceph-client-standalone/ceph.ko]
>> > >>> undefined!
>> > >>>  CC      /home/jeff/work/ceph-client-standalone/ceph.mod.o
>> > >>>  LD [M]  /home/jeff/work/ceph-client-standalone/ceph.ko
>> > >>> make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
>> > >>> jeff@cephserver:~/work/ceph-client-standalone$
>> > >>>
>> > >>> =====================================================
>> > >>>
>> > >>> then  i change to master-backport, to make it ,
>> > >>> still get a warning messages : "task_dirty_inc" .
>> > >>>
>> > >>> ===============logs===================================
>> > >>>
>> > >>> jeff@cephserver:~/work/ceph-client-standalone$ git checkout -b
>> > >>> master-backport origin/master-backport
>> > >>> Branch master-backport set up to track remote branch master-backport
>> > >>> from origin.
>> > >>> Switched to a new branch 'master-backport'
>> > >>> jeff@cephserver:~/work/ceph-client-standalone$ git pull
>> > >>> Already up-to-date.
>> > >>>
>> > >>> jeff@cephserver:~/work/ceph-client-standalone$ make
>> > >>>
>> > >>> .........................................
>> > >>>
>> > >>>  CC [M]  /home/jeff/work/ceph-client-standalone/osdmap.o
>> > >>>  CC [M]  /home/jeff/work/ceph-client-standalone/debugfs.o
>> > >>>  CC [M]  /home/jeff/work/ceph-client-standalone/auth.o
>> > >>>  LD [M]  /home/jeff/work/ceph-client-standalone/ceph.o
>> > >>>  Building modules, stage 2.
>> > >>>  MODPOST 1 modules
>> > >>> WARNING:
>> > >>> "task_dirty_inc" [/home/jeff/work/ceph-client-standalone/ceph.ko]
>> > >>> undefined!
>> > >>>  CC      /home/jeff/work/ceph-client-standalone/ceph.mod.o
>> > >>>  LD [M]  /home/jeff/work/ceph-client-standalone/ceph.ko
>> > >>> make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
>> > >>> jeff@cephserver:~/work/ceph-client-standalone$
>> > >>>
>> > >>> =========================================================
>> > >>>
>> > >>> Is it a bug ? or i git wrong source package ?
>> > >>>
>> > >>> Thanks,
>> > >>> Jeff,Wu
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>> --
>> > >>> 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
>> > >>>
>> > >>
>> > >>
>> > >>
>> > >> --
>> > >> Yonggang Liu
>> > >> Advanced Computing and Information Systems Laboratory
>> > >> University of Florida
>> > >> --
>> > >> 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
>> > >>
>> > >
>> >
>> >
>> >
>> > --
>> > Yonggang Liu
>> > Advanced Computing and Information Systems Laboratory
>> > University of Florida
>> > --
>> > 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
>>
>>
>> --
>> 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
>>
>>



-- 
Yonggang Liu
Advanced Computing and Information Systems Laboratory
University of Florida
--
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