Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 2006 12:03:01 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Norikatsu Shigemura <nork@freebsd.org>
Cc:        current@freebsd.org, ume@freebsd.org
Subject:   Re: cvsync doesn't work simply on 7-current with SYMVER_ENABLED=yes
Message-ID:  <Pine.GSO.4.64.0612031150430.14942@sea.ntplx.net>
In-Reply-To: <20061204013037.39dfee1c.nork@FreeBSD.org>
References:  <20061130003939.7d05b09a.nork@FreeBSD.org> <Pine.GSO.4.64.0611291302190.22399@sea.ntplx.net> <20061203010732.7a371b62.nork@FreeBSD.org> <Pine.GSO.4.64.0612021441110.10127@sea.ntplx.net> <20061204013037.39dfee1c.nork@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Dec 2006, Norikatsu Shigemura wrote:

> On Sat, 2 Dec 2006 14:47:24 -0500 (EST)
> Daniel Eischen <deischen@freebsd.org> wrote:
>>> 	ume@ said that I don't know it is right.  Old resolver codes
>>> 	and RPC didn't use _kqueue.  In fact, there are some kqueue
>>> 	in some libc codes.
>> Yes, I saw them (see my previous email from a few days ago)...
>> Are you using cached?  You have to change all kevent()'s in
>> net/nscachedcli.c to _kevent().
>
> 	Yes, I'm using cached.  I did change all kevent and kqueue
> 	to _kevent and _kqueue in net/nscachedcli.c, and test cvsync.
> 	Please see following patch.  But I don't feel improvement:-(.

It must be something specific to your environment because it works
here and that is without _any_ patches to libc.  I am not using
cached.

   $ cat /etc/make.conf
   BATCH=yes
   SYMVER_ENABLED=yes
   $ uname -v
   FreeBSD 7.0-CURRENT #4: Sat Nov 18 11:30:59 EST 2006 ...
   $ readelf -sW /usr/local/bin/cvsync | grep FBSD_1.0
        1: 00000000    39 FUNC    GLOBAL DEFAULT  UND fprintf@FBSD_1.0 (2)
        3: 00000000    64 FUNC    GLOBAL DEFAULT  UND time@FBSD_1.0 (2)
        4: 00000000    84 FUNC    GLOBAL DEFAULT  UND write@FBSD_1.0 (3)
      ...
      557: 00000000    90 FUNC    GLOBAL DEFAULT  UND fnmatch@@FBSD_1.0
      561: 00000000     0 FUNC    GLOBAL DEFAULT  UND readlink@@FBSD_1.0
      571: 00000000     0 FUNC    GLOBAL DEFAULT  UND fstat@@FBSD_1.0

   $ cvsync -4 -v 'cvsync://cvsync.allbsd.org/freebsd-src/rcs/?prefix=/home/deischen/ncvs'
   Connecting to cvsync.allbsd.org port 7777
   Connected to 133.31.130.35 port 7777
   Protocol: 0.24
   Hash: MD5
   Exchanging collection list...
    collection name "freebsd-src" release "rcs" umask 022
   Compression: none
   Trying to establish the multiplexed channel...
   Running...
   Updating (collection freebsd-src/rcs)
    Mkdir src
    Create src/COPYRIGHT,v
    Create src/CVS-INFO,v -> Attic
    Create src/HW.TROUBLE,v -> Attic
    Create src/LOCKS,v
    Create src/MAINTAINERS,v
    Create src/Makefile,v
    Create src/Makefile.alpha,v -> Attic
    Create src/Makefile.inc0,v -> Attic
    Create src/Makefile.inc1,v
    Create src/Makefile.upgrade,v -> Attic
    Create src/ObsoleteFiles.inc,v
    Create src/README,v
    Create src/TODO,v -> Attic
   ...

I didn't let it finish, but figured it was OK if it got that far.

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0612031150430.14942>