From owner-freebsd-current@FreeBSD.ORG Sun Dec 3 17:03:27 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2990E16A40F; Sun, 3 Dec 2006 17:03:27 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A812943D41; Sun, 3 Dec 2006 17:02:34 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.8/8.13.8/NETPLEX) with ESMTP id kB3H31YY006291; Sun, 3 Dec 2006 12:03:01 -0500 (EST) Date: Sun, 3 Dec 2006 12:03:01 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Norikatsu Shigemura In-Reply-To: <20061204013037.39dfee1c.nork@FreeBSD.org> Message-ID: References: <20061130003939.7d05b09a.nork@FreeBSD.org> <20061203010732.7a371b62.nork@FreeBSD.org> <20061204013037.39dfee1c.nork@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Content-ID: X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-2.0.2 (mail.ntplx.net [204.213.176.10]); Sun, 03 Dec 2006 12:03:01 -0500 (EST) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: current@freebsd.org, ume@freebsd.org Subject: Re: cvsync doesn't work simply on 7-current with SYMVER_ENABLED=yes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2006 17:03:27 -0000 On Mon, 4 Dec 2006, Norikatsu Shigemura wrote: > On Sat, 2 Dec 2006 14:47:24 -0500 (EST) > Daniel Eischen 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