From owner-freebsd-hubs Sun Dec 5 15:48:18 1999 Delivered-To: freebsd-hubs@freebsd.org Received: from bsd.kam.pl (bsd.kam.pl [195.205.77.13]) by hub.freebsd.org (Postfix) with ESMTP id C19B114DC1 for ; Sun, 5 Dec 1999 15:48:10 -0800 (PST) (envelope-from mariusz@kam.pl) Received: from localhost (mariusz@localhost) by bsd.kam.pl (8.9.3/8.9.3) with ESMTP id QAA62018; Sun, 5 Dec 1999 16:12:59 GMT Date: Sun, 5 Dec 1999 16:12:58 +0000 (GMT) From: mariusz To: John Polstra Cc: hubs@FreeBSD.ORG Subject: cvsupd exit signal -6 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Im have problem, cvsupd going down from cvsupd.log Dec 3 12:18:09 bsd cvsupd[226]: Going down Dec 5 08:59:09 bsd cvsupd[228]: Going down from dmesg pid 228 (cvsupd), uid 1010: exited on signal 6 pid 228 (cvsupd), uid 1010: exited on signal 6 Im only in 2.12.1999 r. make new kernel and make world in main system. whath cvsupd going down ? whath abort ? Mariusz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message From owner-freebsd-hubs Mon Dec 6 5:59:27 1999 Delivered-To: freebsd-hubs@freebsd.org Received: from boco.fee.vutbr.cz (boco.fee.vutbr.cz [147.229.9.11]) by hub.freebsd.org (Postfix) with ESMTP id 59E5115302 for ; Mon, 6 Dec 1999 05:59:21 -0800 (PST) (envelope-from cejkar@dcse.fee.vutbr.cz) Received: from kazi.dcse.fee.vutbr.cz (kazi.dcse.fee.vutbr.cz [147.229.8.12]) by boco.fee.vutbr.cz (8.9.3/8.9.3) with ESMTP id OAA79778; Mon, 6 Dec 1999 14:58:39 +0100 (CET) Received: (from cejkar@localhost) by kazi.dcse.fee.vutbr.cz (8.9.3/8.9.3) id OAA31206; Mon, 6 Dec 1999 14:58:39 +0100 (CET) Date: Mon, 6 Dec 1999 14:58:39 +0100 From: Cejka Rudolf To: mariusz Cc: John Polstra , hubs@FreeBSD.ORG Subject: Re: cvsupd exit signal -6 Message-ID: <19991206145839.A30283@dcse.fee.vutbr.cz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: ; from mariusz on Sun, Dec 05, 1999 at 04:12:58PM +0000 Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org mariusz wrote (1999/12/05): > Im have problem, cvsupd going down from cvsupd.log > Dec 3 12:18:09 bsd cvsupd[226]: Going down > Dec 5 08:59:09 bsd cvsupd[228]: Going down > from dmesg > pid 228 (cvsupd), uid 1010: exited on signal 6 > pid 228 (cvsupd), uid 1010: exited on signal 6 > > whath cvsupd going down ? > whath abort ? Hmm, I had the similar problem on cvsup.cz.FreeBSD.org (it was first time): Dec 3 22:10:20 dual cvsupd[2091]: +6 ferdl@atommuell.oeh.uni-linz.ac.at [REL_16 _0/16.0] Dec 3 22:18:45 dual cvsupd[2091]: -6 [2215Kin+8856Kout] Finished successfully Dec 3 22:18:46 dual cvsupd[200]: Going down Dec 3 22:19:49 dual /kernel: pid 200 (cvsupd), uid 99: exited on signal 4 (core dumped) Core dump was very big (about 68 MB) and gdb could not understand it so I cleaned it. And after core removing I have read this mail... Sorry. -- Rudolf Cejka (cejkar@dcse.fee.vutbr.cz; http://www.fee.vutbr.cz/~cejkar) Brno University of Technology, Faculty of El. Engineering and Comp. Science Bozetechova 2, 612 66 Brno, Czech Republic To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message From owner-freebsd-hubs Tue Dec 7 21:30:39 1999 Delivered-To: freebsd-hubs@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 2655715039 for ; Tue, 7 Dec 1999 21:30:36 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id VAA18862; Tue, 7 Dec 1999 21:30:32 -0800 (PST) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id VAA27956; Tue, 7 Dec 1999 21:30:32 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 07 Dec 1999 21:30:32 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: mariusz Subject: RE: cvsupd exit signal -6 Cc: hubs@FreeBSD.ORG Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org mariusz wrote: > Hi > > Im have problem, cvsupd going down > > from cvsupd.log > Dec 3 12:18:09 bsd cvsupd[226]: Going down > Dec 5 08:59:09 bsd cvsupd[228]: Going down > > from dmesg > pid 228 (cvsupd), uid 1010: exited on signal 6 > pid 228 (cvsupd), uid 1010: exited on signal 6 Signal 6 is usually from an assert failure. Please look in "/var/tmp/cvsupd.out" and see if there's a message saying what happened. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message From owner-freebsd-hubs Tue Dec 7 21:41: 4 1999 Delivered-To: freebsd-hubs@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 845C314BD4 for ; Tue, 7 Dec 1999 21:41:02 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id VAA18924; Tue, 7 Dec 1999 21:40:58 -0800 (PST) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id VAA28019; Tue, 7 Dec 1999 21:40:57 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19991206145839.A30283@dcse.fee.vutbr.cz> Date: Tue, 07 Dec 1999 21:40:57 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: Cejka Rudolf Subject: Re: cvsupd exit signal -6 Cc: hubs@FreeBSD.ORG, mariusz Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Cejka Rudolf wrote: > > Hmm, I had the similar problem on cvsup.cz.FreeBSD.org (it was first time): > > Dec 3 22:10:20 dual cvsupd[2091]: +6 ferdl@atommuell.oeh.uni-linz.ac.at [REL_16 > _0/16.0] > Dec 3 22:18:45 dual cvsupd[2091]: -6 [2215Kin+8856Kout] Finished successfully > Dec 3 22:18:46 dual cvsupd[200]: Going down > Dec 3 22:19:49 dual /kernel: pid 200 (cvsupd), uid 99: exited on signal 4 (core > dumped) > > Core dump was very big (about 68 MB) and gdb could not understand it > so I cleaned it. And after core removing I have read this mail... Sorry. Signal 4 is Illegal Instruction. I don't know how that could have happened, unless a thread stack overflowed or there was some VM problem that corrupted the text segment. The a.out binaries used in the cvsup-bin and cvsupd-bin ports produce core dumps that are almost impossible to work with. There are unstripped ELF binaries in which I encourage you to install if you keep getting these core dumps. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message From owner-freebsd-hubs Wed Dec 8 1:38: 0 1999 Delivered-To: freebsd-hubs@freebsd.org Received: from bsd.kam.pl (bsd.kam.pl [195.205.77.13]) by hub.freebsd.org (Postfix) with ESMTP id AF45D14C5A for ; Wed, 8 Dec 1999 01:37:33 -0800 (PST) (envelope-from mariusz@kam.pl) Received: from localhost (mariusz@localhost) by bsd.kam.pl (8.9.3/8.9.3) with ESMTP id KAA43733; Wed, 8 Dec 1999 10:30:58 GMT Date: Wed, 8 Dec 1999 10:30:57 +0000 (GMT) From: mariusz To: John Polstra Cc: hubs@FreeBSD.ORG Subject: RE: cvsupd exit signal -6 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi [..cut..] > > Signal 6 is usually from an assert failure. Please look in > "/var/tmp/cvsupd.out" and see if there's a message saying what > happened. > from /var/tmp/cvsupd.out *************************************************************** id Thread.T closure root A* waiting for > 2 0x80d714c 0x80ce554 DispatcherRun A *ready* 1 0x80cd004 0x0 *main program* A I/O *************************************************************** *** Thread #2's stack overflowed its limits. *** Use Thread.IncDefaultStackSize to get bigger stacks. *** *** runtime error: *** corrupt thread stack *** file "ThreadPosix.m3", line 1230 *** *************************************************************** id Thread.T closure root A* waiting for > 1 0x80cd004 0x0 *main program* A I/O 2 0x80d714c 0x80ce554 DispatcherRun A *ready* *************************************************************** *** Thread #2's stack overflowed its limits. *** Use Thread.IncDefaultStackSize to get bigger stacks. *** *** runtime error: *** corrupt thread stack *** file "ThreadPosix.m3", line 1230 *** cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. cvsupd: Command not found. Mariusz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message From owner-freebsd-hubs Wed Dec 8 2:13: 3 1999 Delivered-To: freebsd-hubs@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id C716214DAC for ; Wed, 8 Dec 1999 02:12:59 -0800 (PST) (envelope-from jesper@skriver.dk) Received: by freesbee.wheel.dk (Postfix, from userid 1001) id C21923E35; Wed, 8 Dec 1999 11:12:58 +0100 (CET) Date: Wed, 8 Dec 1999 11:12:58 +0100 From: Jesper Skriver To: hubs@freebsd.org Subject: cvsup - on tcp/8080 to help people behind firewalls Message-ID: <19991208111258.G30648@skriver.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Just to let people know, cvsup.dk.FreeBSD.org now runs a cvsupd on both tcp/5999 and tcp/8080, the latter for people behind firewalls and similar. /Jesper -- Jesper Skriver (JS4261-RIPE), Network manager Tele Danmark DataNet, IP section (AS3292) One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message From owner-freebsd-hubs Wed Dec 8 16:23:37 1999 Delivered-To: freebsd-hubs@freebsd.org Received: from ducky.nz.freebsd.org (chilled.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id 5B58D15265 for ; Wed, 8 Dec 1999 16:23:34 -0800 (PST) (envelope-from dan@freebsddiary.org) Received: from wocker (wocker.int.nz.freebsd.org [192.168.0.99]) by ducky.nz.freebsd.org (8.9.3/8.9.3) with ESMTP id NAA68637 for ; Thu, 9 Dec 1999 13:23:31 +1300 (NZDT) Message-Id: <199912090023.NAA68637@ducky.nz.freebsd.org> From: "Dan Langille" Organization: The FreeBSD Diary To: freebsd-hubs@freebsd.org Date: Thu, 9 Dec 1999 13:23:31 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: traffic logs Reply-To: dan@freebsddiary.org X-mailer: Pegasus Mail for Win32 (v3.12a) Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Has anyone written anything to analyze the logs and determine the amount of traffic consumed by a cvsupd box? Preferably both the updates from master and the files served out to clients. thanks. -- Dan Langille - DVL Software Limited [I'm looking for more work] The FreeBSD Diary - http://www.freebsddiary.org/freebsd/ NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/ The Racing System - http://www.racingsystem.com/racingsystem.htm unix @ home - http://www.unixathome.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message From owner-freebsd-hubs Thu Dec 9 9:48:16 1999 Delivered-To: freebsd-hubs@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 80290152D5 for ; Thu, 9 Dec 1999 09:48:13 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id JAA29455; Thu, 9 Dec 1999 09:48:07 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id JAA37902; Thu, 9 Dec 1999 09:48:07 -0800 (PST) (envelope-from jdp@polstra.com) Date: Thu, 9 Dec 1999 09:48:07 -0800 (PST) Message-Id: <199912091748.JAA37902@vashon.polstra.com> To: mariusz@kam.pl Subject: Re: cvsupd exit signal -6 In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Cc: hubs@freebsd.org Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article , mariusz wrote: > > from /var/tmp/cvsupd.out > > *************************************************************** > id Thread.T closure root A* waiting for > > 2 0x80d714c 0x80ce554 DispatcherRun A *ready* > 1 0x80cd004 0x0 *main program* A I/O > *************************************************************** > *** Thread #2's stack overflowed its limits. > *** Use Thread.IncDefaultStackSize to get bigger stacks. > > > *** > *** runtime error: > *** corrupt thread stack > *** file "ThreadPosix.m3", line 1230 > *** > > > > > *************************************************************** > id Thread.T closure root A* waiting for > > 1 0x80cd004 0x0 *main program* A I/O > 2 0x80d714c 0x80ce554 DispatcherRun A *ready* > *************************************************************** > *** Thread #2's stack overflowed its limits. > *** Use Thread.IncDefaultStackSize to get bigger stacks. > > > *** > *** runtime error: > *** corrupt thread stack > *** file "ThreadPosix.m3", line 1230 > *** Very interesting! I'd love to see a usable core dump from that. Could you please grab the unstripped ELF cvsupd binary from http://www.freebsd.org/~jdp/ and run with it for awhile? To install it: Uncompress the file (if your web browser hasn't already done that) killall cvsupd Copy the file into /usr/local/sbin/cvsupd cp /dev/null /var/tmp/cvsupd.out run "/usr/local/etc/rc.d/cvsupd.sh" to start the new server If it fails again the core dump can be found in "/usr/local/etc/cvsup". Thanks, John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "No matter how cynical I get, I just can't keep up." -- Nora Ephron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message From owner-freebsd-hubs Thu Dec 9 13:37:38 1999 Delivered-To: freebsd-hubs@freebsd.org Received: from baerenklau.de.freebsd.org (baerenklau.de.freebsd.org [195.185.195.14]) by hub.freebsd.org (Postfix) with ESMTP id B662515682 for ; Thu, 9 Dec 1999 13:37:35 -0800 (PST) (envelope-from w@panke.de.freebsd.org) Received: (from uucp@localhost) by baerenklau.de.freebsd.org (8.8.8/8.8.8) with UUCP id WAA19890; Thu, 9 Dec 1999 22:37:12 +0100 (CET) (envelope-from w@panke.de.freebsd.org) Received: (from w@localhost) by paula.panke.de.freebsd.org (8.9.3/8.8.8) id WAA01055; Thu, 9 Dec 1999 22:32:10 +0100 (CET) (envelope-from w) Date: Thu, 9 Dec 1999 22:32:10 +0100 From: Wolfram Schneider To: Dan Langille Cc: freebsd-hubs@FreeBSD.ORG Subject: Re: traffic logs Message-ID: <19991209223209.A1019@paula.panke.de.freebsd.org> References: <199912090023.NAA68637@ducky.nz.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <199912090023.NAA68637@ducky.nz.freebsd.org>; from dan@freebsddiary.org on Thu, Dec 09, 1999 at 01:23:31PM +1300 Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 1999-12-09 13:23:31 +1300, Dan Langille wrote: > Has anyone written anything to analyze the logs and determine the > amount of traffic consumed by a cvsupd box? Preferably both the > updates from master and the files served out to clients. The cvsup2httplog perl script converts a cvsupd log file to standard httpd log file format, so that it can be analyzed by tools such as webalizer. cvsup2httplog is part of the cvsupd package. -- Wolfram Schneider http://wolfram.schneider.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message From owner-freebsd-hubs Fri Dec 10 10:44:24 1999 Delivered-To: freebsd-hubs@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 5711814DD6; Fri, 10 Dec 1999 10:44:02 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id KAA06331; Fri, 10 Dec 1999 10:43:58 -0800 (PST) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id KAA06252; Fri, 10 Dec 1999 10:43:57 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 10 Dec 1999 10:43:57 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: freebsd-announce@freebsd.org Subject: CVSup-16.1 is now available Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Announcing CVSup 16.1 --------------------- Release 16.1 of CVSup, the CVS-aware network file distribution system, is now available. What Has Changed Since the Previous Release? -------------------------------------------- Fixed a couple of long-standing bugs in the rsync code which caused it to miss many compression opportunities. This mode is actually useful now. Fixed a server bug that caused the inactivity timeout to fail in certain situations. If the network connection to a client vanished just after start-up, the inactivity timer wasn't able to kill the server process. It would then have to be killed manually. Now the inactivity timeout should work reliably. Fixed a bug that affected some versions of Solaris, e.g., Solaris 2.5.1. The server would loop after serving the first client. Fixed a bug that would kill the client or server after 2 GB of data (before compression) had gone through the network. Fixed bug: if the server tried to follow a circular symbolic link, it was a fatal error. Added new "norsync" and "rnorsync" commands for the server's list files, to allow better control over when the rsync algorithm is used. The use of "norsync" in the releases file is now deprecated; it should be specified in the list file instead. Added a command-line option "-A ipaddr" for both client and server. It causes the sockets to be bound to a specific IP address on the local host. The option is useful for controlling which network interface is used. Added Dom Mitchell's handy "cvsup2html" script to the contrib directory. It converts cvsup's log output into a web page for conveniently browsing log messages and diffs. Each filename becomes a link to the corresponding cvsweb page. Changed the GUI so that pressing the enter key in the "Filter" type-in has the same effect as clicking the start button. Refuse files are explained in better detail in the cvsup(1) manual page, thanks to some changes submitted by Mark Ovens. Where to Get CVSup ------------------ CVSup is free software. It is available from: ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/ and from all of the many FreeBSD FTP mirrors. You can find a complete list of them in the FreeBSD Handbook at: http://www.freebsd.org/handbook/mirrors.html CVSup is also available from the author's FTP server: ftp://ftp.polstra.com/pub/FreeBSD/CVSup/ Please avoid this server if possible. It has a wimpy link to the Internet. On the FTP sites, the source distribution can be found in "sources/cvsup-16.1.tar.gz". Its MD5 file signature is: MD5 (cvsup-16.1.tar.gz) = dc967a0e395722282485a9bec4dec190 If you wish to build CVSup from the sources, be sure to read the discussion further on in this announcement. Binaries for various platforms are also available in the "binaries" subdirectory. An updated port will appear soon in the "net" category of the FreeBSD ports and packages collection: http://www.freebsd.org/ports/ If you want SOCKS support, you must also install the "modula-3-socks" port or package. You'll find it in the "lang" category of the FreeBSD ports and packages collection at the URL above. SOCKS is supported only under FreeBSD, and only with dynamically linked executables. The static binary distributions do not support SOCKS. Compatibility with Previous Releases ------------------------------------ This version is believed to interoperate properly with all earlier public releases of CVSup. What Is CVSup? -------------- CVSup is a software package for distributing and updating collections of files across a network. It can efficiently and accurately mirror all types of Unix files, including sources, binaries, hard links, symbolic links, and even device nodes. CVSup's streaming communication protocol and multithreaded architecture make it most likely the fastest mirroring tool in existence today. In addition to being a great general-purpose mirroring tool, CVSup includes special features and optimizations specifically tailored to CVS repositories. By taking advantage of the special properties of the files contained in CVS repositories, CVSup is able to perform updates much faster than traditional systems. CVSup parses and understands the RCS files making up a CVS repository. When updates occur, CVSup extracts new deltas directly from the RCS files on the server and edits them into the client's RCS files. Likewise, CVSup notes the addition of new symbolic tags to the files on the server and sends only the new tags to the client. CVSup is able to merge new deltas and tags from the server with deltas and tags added locally on the client machine. This makes it possible for the client to check local modifications into his repository without their being obliterated by subsequent updates from the server. In addition to distributing the RCS files themselves, CVSup is able to distribute specific checked-out versions. The client can specify a symbolic tag, a date, or both and CVSup will extract the appropriate versions from the server's CVS repository. Checked-out versions do not need to be stored on the server, since CVSup can extract any version directly from the CVS repository. If the client has an existing checked-out tree, CVSup will apply the appropriate edits to update the tree or transform it into the requested version. Only the differences between the existing version and the desired version are sent across the network. To update non-RCS files, CVSup uses the highly efficient rsync algorithm, developed by Andrew Tridgell and Paul Mackerras. CVSup uses lightweight processes (threads) to implement a streaming protocol across the network. This completely eliminates the delays associated with the lock-step, request-reply form of communication used by many existing protocols, such as sup and NNTP. Information is transferred at the full available speed of the network in both directions at once. Network latency and server response delays are rendered practically irrelevant. CVSup uses the "zlib" compression package to optionally compress all communications. This provides an additional 65-75% compression, on top of the diff-based compression already built into CVSup. For efficiency, all processing is built into the CVSup package itself. Neither the client nor the server execute any other programs. For further information about how CVSup works, see the (somewhat out of date) "Blurb" document in the CVSup distribution. Using CVSup to Maintain FreeBSD Sources --------------------------------------- CVSup servers for the FreeBSD sources are currently running at about 50 mirror sites around the world. For an up-to-date list of them, see: http://www.freebsd.org/handbook/mirrors-cvsup.html Using CVSup, you can easily receive or update any of the standard FreeBSD source releases, namely, "cvs", "current", and "stable". The manual page for cvsup(1) describes how to do that. For more detailed instructions, see the section on CVSup in the FreeBSD Handbook: http://www.FreeBSD.org/handbook/cvsup.html Building CVSup from the Sources ------------------------------- CVSup is written in Modula-3, a modern, compiled, object-oriented language. Modula-3 integrates threads, exceptions, and garbage collection, providing an ideal vehicle for this sort of application. Without Modula-3, CVSup would almost certainly not exist today. If you wish to build CVSup from the sources, you will first need to install the free Modula-3 compiler and runtime libraries. This release of CVSup has been tested using both SRC Modula-3 release 3.6 and the PM3-1.1.13 release. They are available from the following locations: SRC: http://www.research.digital.com/SRC/modula-3/html/srcm3.html PM3: http://m3.polymtl.ca/m3/ The PM3 release is more actively maintained, and it includes fixes for a number of bugs that are present in SRC Modula-3. Patches to fix the bugs are available from the SRC web site, but they must be applied manually. The PM3 release is available as Linux RPMs as well as in source form. A FreeBSD port of SRC Modula-3 (including the necessary patches) is available in the FreeBSD ports collection, in "lang/modula-3". The corresponding package is, of course, available in the packages collection. You will also need version 1.0.4 or later of the "zlib" library. In FreeBSD-2.1.6 and later releases, this library has been incorporated into the system sources, in "src/lib/libz". Prior to that, a FreeBSD port was available in "devel/libz" of the FreeBSD ports collection. For other sources of this library, see the "Install" file. Do not try to use versions earlier than 1.0.4. To build the entire system from source under FreeBSD, simply type "make" in the top-level directory. (That's the directory that has sub-directories named "client" and "server", among others.) To force the executables to be statically linked, add M3FLAGS=-DSTATIC to the command line. To build the client without the GUI (e.g., if you don't have the X Window System installed on your machine), add M3FLAGS=-DNOGUI To do both of these things, use quotes like this: M3FLAGS="-DSTATIC -DNOGUI" The Makefiles should work on any reasonable Unix system. If you have trouble with them, it is easy to build the components manually. Simply chdir into each of the following subdirectories in the given order and type "m3build": suptcp suplib client server cvpasswd To build statically linked executables, add "-DSTATIC" to each "m3build" command. To build the client without the GUI, add "-DNOGUI". Notes for Specific Platforms ---------------------------- The following hints have been found to work. They don't exclude other possibilities, of course. FreeBSD/i386: Use either the PM3 compiler or the SRC compiler from the FreeBSD ports collection. FreeBSD/alpha: Use the PM3 compiler with the "FBSD_ALPHA" target. Linux: Use the PM3 compiler. Solaris: Use the PM3 compiler (the "SOLgnu" target). Digital Unix: Use the SRC compiler (the "ALPHA_OSF" target). Be sure to apply this patch first: http://www.research.digital.com/SRC/modula-3/html/patches36.html#randomReal64 When you run cvsup or cvsupd, you must add the argument "@M3nopreemption" to the command line. The PM3 compiler probably works too, but I haven't tested it. NetBSD, OpenBSD, BSD/OS: Use the FreeBSD static a.out binaries. When you run cvsup or cvsupd, you must add the argument "@M3novm" to the command line. Portability Issues ------------------ I intend for CVSup to be portable to most POSIX systems. Earlier releases have been run on a number of different platforms, including FreeBSD, Linux, HP-UX, SunOS, Solaris, and DEC OSF/1 ALPHA. In the current release I have attempted to increase rather than decrease portability. Anybody who succeeds in porting CVSup to other systems is encouraged to send his changes to . As long as the changes are reasonably palatable, they will be incorporated into future CVSup releases. CVSup uses several POSIX-specific functions which may make it more of an effort to port the package to non-POSIX systems such as Win32. These functions include mmap, fork, syslog, stat, and chmod, among others. Status of this Release ---------------------- CVSup was first released publicly in August of 1996. Since then it has seen heavy use, and it has been quite stable. Like all software, though, it is not perfect. Please be prepared to find bugs -- without a doubt, there are some. Problems? --------- Please report bugs to . For More Information -------------------- http://www.polstra.com/projects/freeware/CVSup/ John Polstra, Copyright 1996, 1997, 1998, 1999 John D. Polstra $Id: Announce,v 1.47 1999/12/10 16:25:29 jdp Exp $ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message