From owner-freebsd-hackers@FreeBSD.ORG Sun May 23 01:27:32 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9ABA316A4CE for ; Sun, 23 May 2004 01:27:32 -0700 (PDT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4382F43D45 for ; Sun, 23 May 2004 01:27:32 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.11/8.12.11) with ESMTP id i4N8PEHO067201; Sun, 23 May 2004 02:25:15 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 23 May 2004 02:25:21 -0600 (MDT) Message-Id: <20040523.022521.70796984.imp@bsdimp.com> To: doconnor@gsoft.com.au From: "M. Warner Losh" In-Reply-To: <200405231445.07562.doconnor@gsoft.com.au> References: <000701c4402b$a54e73d0$4206000a@stalker> <200405231445.07562.doconnor@gsoft.com.au> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Memory Leak X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 08:27:32 -0000 In message: <200405231445.07562.doconnor@gsoft.com.au> "Daniel O'Connor" writes: : -----BEGIN PGP SIGNED MESSAGE----- : Hash: SHA1 : : On Sun, 23 May 2004 04:06, Cole wrote: : > I just wanted to know what programs any of you have used to track down a : > memory leak in your programs? : > Also wondering if there is maybe a good tutorial on the subject under : > FreeBSD or even linux if possible. : > : > Im running FreeBSD 4.9 so just looking for something try to help me track : > it down. : > : > Unless there is someone willing to help me with this since ive never really : > had to do anything like this, else i can easily read something, just kinda : > need to know a good memory tracing program or something of the sorts. : : There is valgrind.. : http://www.rabson.org/#valgrind : : I thought it was in ports but I can't see it. Has anybody gotten valgrind to work with non-trivial threaded programs? We've had some issues with that... Warner From owner-freebsd-hackers@FreeBSD.ORG Sun May 23 06:21:49 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DEA216A4CE for ; Sun, 23 May 2004 06:21:49 -0700 (PDT) Received: from bloodwood.hunterlink.net.au (smtp-local.hunterlink.net.au [203.12.144.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 938B443D2F for ; Sun, 23 May 2004 06:21:47 -0700 (PDT) (envelope-from boris@brooknet.com.au) Received: from [61.8.46.228] (ppp2EE4.dyn.pacific.net.au [61.8.46.228]) i4NDHNjG023971 for ; Sun, 23 May 2004 23:17:23 +1000 From: Sam Lawrance To: hackers@freebsd.org Content-Type: text/plain Message-Id: <1085318525.10526.25.camel@dirk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 23 May 2004 23:22:06 +1000 Content-Transfer-Encoding: 7bit Subject: USB ethernet CDC driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 13:21:49 -0000 Hi, Do we have generic support for the USB CDC Ethernet class? I can't find anything to suggest we do. If not I plan to have a go at writing it. I just installed linux on my ipaq. It masquerades as an ethernet class device in order to communicate with the host PC. Assuming we don't already have support, it looks like this will enable the use of a number of devices. Anything to avoid uni assignments :) Cheers Sam. From owner-freebsd-hackers@FreeBSD.ORG Sun May 23 09:34:01 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B662D16A4CE for ; Sun, 23 May 2004 09:34:01 -0700 (PDT) Received: from mailout1.informatik.tu-muenchen.de (mailout1.informatik.tu-muenchen.de [131.159.0.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19CBF43D41 for ; Sun, 23 May 2004 09:34:01 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id B916D4751; Sun, 23 May 2004 18:18:38 +0200 (CEST) Date: Sun, 23 May 2004 18:18:38 +0200 From: Simon Barner To: Daniel O'Connor Message-ID: <20040523161838.GD30506@zi025.glhnet.mhn.de> References: <000701c4402b$a54e73d0$4206000a@stalker> <200405231445.07562.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="19uQFt6ulqmgNgg1" Content-Disposition: inline In-Reply-To: <200405231445.07562.doconnor@gsoft.com.au> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: freebsd-hackers@freebsd.org Subject: Re: Memory Leak X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 16:34:01 -0000 --19uQFt6ulqmgNgg1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Daniel O'Connor wrote: > There is valgrind.. > http://www.rabson.org/#valgrind >=20 > I thought it was in ports but I can't see it. Hi, as I pointed out in another message of this thread, the port is ready and waiting for a committer. Simon --19uQFt6ulqmgNgg1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAsM7dCkn+/eutqCoRAmGbAKD92qC+kRqRf6tPoB6Nm24nT8SLSgCdFUcB grcpQJSlpoP1qIjLLkIFB18= =bAcH -----END PGP SIGNATURE----- --19uQFt6ulqmgNgg1-- From owner-freebsd-hackers@FreeBSD.ORG Sun May 23 12:05:48 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2536716A4D4 for ; Sun, 23 May 2004 12:05:48 -0700 (PDT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF11043D1F for ; Sun, 23 May 2004 12:05:47 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i4NJ5QIX012790; Sun, 23 May 2004 15:05:26 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <200405231445.07562.doconnor@gsoft.com.au> References: <000701c4402b$a54e73d0$4206000a@stalker> <200405231445.07562.doconnor@gsoft.com.au> Date: Sun, 23 May 2004 15:05:25 -0400 To: "Daniel O'Connor" , freebsd-hackers@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: Memory Leak X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 19:05:48 -0000 At 2:45 PM +0930 5/23/04, Daniel O'Connor wrote: > >There is valgrind.. >http://www.rabson.org/#valgrind > >I thought it was in ports but I can't see it. >_______________________________________________ Note the separate message: Date: Sat, 22 May 2004 21:46:32 +0200 From: Simon Barner To: Cole Cc: ports@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: Looking for a ports committer for valgrind (Re: Memory Leak) > I just wanted to know what programs any of you have used to > track down a memory leak in your programs? this reminds me of something... :-/ I created a port for Doug Rabson's FreeBSD port[1] of valgrind [2]. He considered my work ready for the ports tree, but he also said that that he doesn't do any ports commits these days. So, could somebody please have a look at the ports (there is a stable and a development version of valgrind) to be found at [3]? If they get committed, PR ports/65585 can be closed as well (also approved by Doug). It's a pity that I forgot that excellent memory debugging tool, most notably because all the work has already been done, and the ports were only rotting around. :-( Cole, in order two answer your question at least a little bit: valgrind is great at detecting memory leaks and much more, e.g. out-of-bound array access, ... Simon [1] http://www.rabson.org/#valgrind [2] http://valgrind.kde.org/ [3] http://home.leo.org/~barner/freebsd/valgrind/ From owner-freebsd-hackers@FreeBSD.ORG Sun May 23 12:50:02 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BC3EE16A4CE; Sun, 23 May 2004 12:50:01 -0700 (PDT) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.11/8.12.11) with ESMTP id i4NJo1O3076070; Sun, 23 May 2004 15:50:01 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.12.11/8.12.11/Submit) id i4NJo1lV076069; Sun, 23 May 2004 15:50:01 -0400 (EDT) (envelope-from green) Date: Sun, 23 May 2004 15:50:00 -0400 From: Brian Feldman To: "M. Warner Losh" Message-ID: <20040523195000.GB75871@green.homeunix.org> References: <000701c4402b$a54e73d0$4206000a@stalker> <40AFA163.4020109@freebsd.org> <20040522.223042.41645314.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040522.223042.41645314.imp@bsdimp.com> User-Agent: Mutt/1.5.6i cc: hackers@FreeBSD.org Subject: Re: Memory Leak X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 19:50:02 -0000 On Sat, May 22, 2004 at 10:30:42PM -0600, M. Warner Losh wrote: > Any suggestions for leak detectors that work in real-time or in > response to some external signal? In a threaded application would be > ideal. > > I've hacked malloc to add the stack traceback to the utrace info > that's output by malloc. However, for applications that run for days, > and tend to allocate and free a lot of memory, you gotta have lots of > local storage. The restrictions in the kernel that requires this to > be a real file makes it harder. > > Also, there's a difference between what's in use and what is leaking.. Try boehm-gc; I run the following local patch to the ports to fix a few things and let me enable compile options from the ports infrastructure. You can call the detector at any time to see if any leaks have occurred made. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ From owner-freebsd-hackers@FreeBSD.ORG Sun May 23 13:13:14 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FCB616A4CE for ; Sun, 23 May 2004 13:13:14 -0700 (PDT) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32F8943D1F for ; Sun, 23 May 2004 13:13:14 -0700 (PDT) (envelope-from craig@tobuj.gank.org) Received: from aldaris.auir.gank.org (arbiter.gank.org [64.81.113.221]) by ion.gank.org (mail) with ESMTP id E0B332B1A5; Sun, 23 May 2004 15:12:48 -0500 (CDT) From: Craig Boston To: freebsd-hackers@freebsd.org Date: Sun, 23 May 2004 15:12:14 -0500 User-Agent: KMail/1.6.2 References: <1085318525.10526.25.camel@dirk> In-Reply-To: <1085318525.10526.25.camel@dirk> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405231512.14217.craig@tobuj.gank.org> cc: Sam Lawrance Subject: Re: USB ethernet CDC driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 20:13:14 -0000 Hi, On Sunday 23 May 2004 8:22 am, Sam Lawrance wrote: > Do we have generic support for the USB CDC Ethernet class? I can't find > anything to suggest we do. If not I plan to have a go at writing it. > > I just installed linux on my ipaq. It masquerades as an ethernet class > device in order to communicate with the host PC. Assuming we don't > already have support, it looks like this will enable the use of a number > of devices. I don't think there is any support in the tree, however I wrote a minimal CDC Ethernet driver a while back in order to talk to my Zaurus. Been meaning to throw it up on a web page or something but I just keep getting too busy :-/ It's pretty bare-bones -- doesn't implement some of the features that a "real" CDC NIC would (multicast, etc.), but is enough to talk to simple devices like the Zaurus. I've never tested it on anything else -- I suspect it wouldn't be too hard to adapt though. If you're interested in looking at it I'll send you a copy or post it somewhere. Craig From owner-freebsd-hackers@FreeBSD.ORG Sun May 23 16:06:39 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C005916A4CE for ; Sun, 23 May 2004 16:06:39 -0700 (PDT) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF44643D41 for ; Sun, 23 May 2004 16:06:38 -0700 (PDT) (envelope-from arno@heho.snv.jussieu.fr) Received: from heho.snv.jussieu.fr (heho.snv.jussieu.fr [134.157.184.22]) i4NN6JKL082380 for ; Mon, 24 May 2004 01:06:19 +0200 (CEST) X-Ids: 165 Received: from heho.snv.jussieu.fr (localhost [127.0.0.1]) i4NN6IAp085731 for ; Mon, 24 May 2004 01:06:18 +0200 (MEST) Received: (from arno@localhost) by heho.snv.jussieu.fr (8.12.11/8.12.11/Submit) id i4NN6Ime085728; Mon, 24 May 2004 01:06:18 +0200 (MEST) (envelope-from arno) To: freebsd-hackers@freebsd.org From: "Arno J. Klaassen" Date: 24 May 2004 01:06:17 +0200 Message-ID: Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Miltered: at shiva.jussieu.fr with ID 40B12E6B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Antivirus: scanned by sophie at shiva.jussieu.fr Subject: early attaching tap0 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 23:06:39 -0000 --=-=-= Hello, ehmm, i hesitate writing to this list since I'm really not a hacker, but I have a problem I seemingly cannot resolve : I would like the "device tap" entry of my kernel-config to create and open an ethernet-device, rather than just initialising the necessary kernel structures. I made the following diff (needs "COPTFLAGS = -O -pipe -DTAP_INIT_ETHER" since I do not know how to implement correctly a kernel option ...) : --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=tap.patch Index: net/if_tap.c =================================================================== RCS file: /home/ncvs/src/sys/net/if_tap.c,v retrieving revision 1.42 diff -r1.42 if_tap.c 125a126,132 > #if defined (TAP_INIT_ETHER) > #include > static int tap_need_init = 1; > dev_t tap0dev; > void tapether(void); > #endif /* defined (TAP_INIT_ETHER) */ > 140c147 < int s; --- > intrmask_t s; 156a164,168 > #if defined (TAP_INIT_ETHER) > tap0dev = make_dev(&tap_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, > "tap0"); > tapcreate (tap0dev); > #endif /* defined (TAP_INIT_ETHER) */ 264c276 < static void --- > void 315a328,336 > #if defined (TAP_INIT_ETHER) > if (tap_need_init == 1) { > ifp->if_type = IFT_ETHER; > ifp->if_baudrate = 1200; > tp->tap_flags |= TAP_OPEN; > tp->tap_pid = 0; /* curproc->p_pid; */ > tap_need_init = 0; > } > #endif 325a347 > 892a915 > --=-=-= A kernel with this patch boots OK single user, but when going multi-user it panics randomly (sorry Thomas for blaming atapicam, I thouht I doublechecked outcommenting COPTFLAGS before contacting you, I'm not sure I did everything well ...) I made similar changes to -stable and RELENG_5_2 which work OK (i.e. no panics, stable system), but against -current I am in the mist. If ever someone has a quick idea about what I am doing wrong, thanx a lot in advance. Regards, Arno --=-=-=-- From owner-freebsd-hackers@FreeBSD.ORG Sun May 23 17:25:08 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 784E916A4CE for ; Sun, 23 May 2004 17:25:08 -0700 (PDT) Received: from bloodwood.hunterlink.net.au (smtp-local.hunterlink.net.au [203.12.144.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4092E43D1F for ; Sun, 23 May 2004 17:25:07 -0700 (PDT) (envelope-from boris@brooknet.com.au) Received: from [61.8.42.205] (ppp2ACD.dyn.pacific.net.au [61.8.42.205]) i4O0KrCe023763; Mon, 24 May 2004 10:20:55 +1000 From: Sam Lawrance To: Craig Boston In-Reply-To: <200405231512.14217.craig@tobuj.gank.org> References: <1085318525.10526.25.camel@dirk> <200405231512.14217.craig@tobuj.gank.org> Content-Type: text/plain Message-Id: <1085358339.10526.28.camel@dirk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 24 May 2004 10:25:40 +1000 Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: USB ethernet CDC driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 00:25:08 -0000 That would be great, I would love to take a look at it. Sam On Mon, 2004-05-24 at 06:12, Craig Boston wrote: > Hi, > > On Sunday 23 May 2004 8:22 am, Sam Lawrance wrote: > > Do we have generic support for the USB CDC Ethernet class? I can't find > > anything to suggest we do. If not I plan to have a go at writing it. > > > > I just installed linux on my ipaq. It masquerades as an ethernet class > > device in order to communicate with the host PC. Assuming we don't > > already have support, it looks like this will enable the use of a number > > of devices. > > I don't think there is any support in the tree, however I wrote a minimal CDC > Ethernet driver a while back in order to talk to my Zaurus. Been meaning to > throw it up on a web page or something but I just keep getting too busy :-/ > > It's pretty bare-bones -- doesn't implement some of the features that a "real" > CDC NIC would (multicast, etc.), but is enough to talk to simple devices like > the Zaurus. I've never tested it on anything else -- I suspect it wouldn't > be too hard to adapt though. If you're interested in looking at it I'll send > you a copy or post it somewhere. > > Craig > From owner-freebsd-hackers@FreeBSD.ORG Sun May 23 18:14:54 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 304F216A4CE for ; Sun, 23 May 2004 18:14:54 -0700 (PDT) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBAD543D45 for ; Sun, 23 May 2004 18:14:53 -0700 (PDT) (envelope-from craig@tobuj.gank.org) Received: from aldaris.auir.gank.org (arbiter.gank.org [64.81.113.221]) by ion.gank.org (mail) with ESMTP id 3797D2C191; Sun, 23 May 2004 20:14:08 -0500 (CDT) From: Craig Boston To: Sam Lawrance Date: Sun, 23 May 2004 20:14:02 -0500 User-Agent: KMail/1.6.2 References: <1085318525.10526.25.camel@dirk> <200405231512.14217.craig@tobuj.gank.org> <1085358339.10526.28.camel@dirk> In-Reply-To: <1085358339.10526.28.camel@dirk> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405232014.02736.craig@tobuj.gank.org> cc: freebsd-hackers@freebsd.org Subject: Re: USB ethernet CDC driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 01:14:54 -0000 On Sunday 23 May 2004 7:25 pm, Sam Lawrance wrote: > That would be great, I would love to take a look at it. I'll go ahead and copy the list in case anybody else is interested... You can grab the source at http://www.gank.org/freebsd/cdce.tar.gz I'm planning to eventually make a FreeBSD projects page -- I have a few local patches and such I'd like to share. If and when I ever get time to do that, I'll move this in with it, but the above link should work until then. The list archives will have to suffice as documentation until then, here's a few random comments about it: * It's set up as a standalone kernel module. If you have the kernel source on your system it should be as simple as "cd cdce; make all && make install". That will dump it in /boot/kernel/if_cdce.ko, which can be loaded by any of the normal means. * When you plug in the device, if all goes well, you should end up with a cdce0 network device. Just ifconfig it and go. * It registers itself as the handler for the CDC Ethernet class. If your device doesn't report itself as that, you may have to add a specific device ID for it in the cdce_devs[] structure (get the values from usbdevs -v). If it complains about not being able to find endpoints, try adding it in there with the CDCE_NO_UNION flag. Linux on the Zaurus seems to be slightly non-conformant to the spec, so it may be similar on the iPaq. * The driver generates a random MAC address for the local end rather than trying to read it from the device. While incorrect for real Ethernet adapters, it seems to be fine (and may even be necessary) for these kinds of point-to-point connections. * There is special handling for the Zaurus's nonstandard frame format, but it should be off by default for other devices. This hasn't been tested yet, though :) * The driver is targeted at -CURRENT. It was originally developed against 5.2-RELEASE sources and should still compile fine on those systems. It would probably require some work to back-port to stable though. * Not entirely sure what to do about the copyright message -- I borrowed heavily from the if_axe and if_aue drivers... * BSD license, so feel free to do whatever with it :) * Also applies is my standard disclaimer: It works fine on my system, but may cause your toaster to explode. I used to sometimes get panics on detach, but I think the problem is fixed now. Haven't had one in quite a while, even if I unplug it while transferring something. Good luck! Craig From owner-freebsd-hackers@FreeBSD.ORG Mon May 24 01:16:57 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35C0416A4CE; Mon, 24 May 2004 01:16:57 -0700 (PDT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id D00C443D31; Mon, 24 May 2004 01:16:56 -0700 (PDT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id A3600530A; Mon, 24 May 2004 10:16:33 +0200 (CEST) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 09B505309; Mon, 24 May 2004 10:16:26 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id BFB2333CAA; Mon, 24 May 2004 10:16:26 +0200 (CEST) To: Brian Feldman References: <000701c4402b$a54e73d0$4206000a@stalker> <40AFA163.4020109@freebsd.org> <20040522.223042.41645314.imp@bsdimp.com> <20040523195000.GB75871@green.homeunix.org> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Mon, 24 May 2004 10:16:26 +0200 In-Reply-To: <20040523195000.GB75871@green.homeunix.org> (Brian Feldman's message of "Sun, 23 May 2004 15:50:00 -0400") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: hackers@FreeBSD.org Subject: Re: Memory Leak X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 08:16:57 -0000 Brian Feldman writes: > have you sent this to the port maintainer (nobutaka@)? DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Mon May 24 03:02:00 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E2F816A4CE for ; Mon, 24 May 2004 03:02:00 -0700 (PDT) Received: from oasis.uptsoft.com (oasis.uptsoft.com [217.20.165.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3135343D2F for ; Mon, 24 May 2004 03:01:58 -0700 (PDT) (envelope-from devnull@oasis.uptsoft.com) Received: (from devnull@localhost) by oasis.uptsoft.com (8.11.6/linuxconf) id i4OA1E321408 for freebsd-hackers@freebsd.org; Mon, 24 May 2004 13:01:14 +0300 Date: Mon, 24 May 2004 13:01:14 +0300 From: Sergey Lyubka To: freebsd-hackers@freebsd.org Message-ID: <20040524130114.A20460@oasis.uptsoft.com> Mail-Followup-To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-OS: FreeBSD 4.5-STABLE Subject: 5.2.1 + snort, dropping packets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 10:02:00 -0000 hackers, I am running snort on 5.2.1-RELEASE, and I am getting high dropped packets rate. traffic is quiet, about 1kpps, the box runs on xeon processor, intel gigabit NICs (em driver), system load is low: CPU states: 1.9% user, 5.1% nice, 1.6% system, 4.7% interrupt, 86.8% idle Mem: 121M Active, 97M Inact, 75M Wired, 736K Cache, 60M Buf, 201M Free Swap: 512M Total, 512M Free I have tried: o both SMP and UP kernels o both SCHED_ULE and SCHED_4BSD options o libpcap libs versions 0.7 and 0.8.3 o 5.2.1-RELEASE and -current kernels o DEVICE_POLLING option o sysctl debug.bpf_bufsize set to maximum of 524288 and still having dropped packets. I am having a much lower spec box, running obsd 3.2, same snort configuration, capturing the same traffic. obsd shows constant 0 dropped packets. How would I fix that problem? From owner-freebsd-hackers@FreeBSD.ORG Sun May 23 16:57:29 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 007DA16A4CE; Sun, 23 May 2004 16:57:29 -0700 (PDT) Received: from jchurch.neville-neil.com (pc1.oakwoodazabu1-unet.ocn.ne.jp [220.110.140.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB2EC43D1F; Sun, 23 May 2004 16:57:28 -0700 (PDT) (envelope-from gnn@neville-neil.com) Received: from gnn.local.neville-neil.com (localhost [127.0.0.1]) by h236.neville-neil.com (Postfix) with ESMTP id 6A2AB18184B; Fri, 21 May 2004 23:11:41 +0900 (JST) Date: Fri, 21 May 2004 23:11:41 +0900 Message-ID: From: George V.Neville-Neil To: Yar Tikhiy In-Reply-To: <20040521135759.GE57132@comp.chem.msu.su> References: <20040521135759.GE57132@comp.chem.msu.su> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.5 Emacs/21.2 (powerpc-apple-darwin) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Mailman-Approved-At: Mon, 24 May 2004 04:54:15 -0700 cc: hackers@freebsd.org cc: net@freebsd.org Subject: Re: Bugfix for checksum offload in bge(4) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 23:57:29 -0000 At Fri, 21 May 2004 17:58:00 +0400, Yar Tikhiy wrote: > > Hi folks, > > While sweeping network interface drivers for incorrect usage of the > capabilities framework, I noticed some bugs in bge(4). Unfortunately, > I have no such card and I don't know its internals. Therefore I > made a patch fixing hw-independent bugs and marking some questionable > spots. It would be nice if somebody possessing the knowledge on > bge(4) reviewed this patch and used it to really fix the things. If > nobody undertakes that, I'll just commit my change since it doesn't > seem to affect the functionality while it brings the code into the shape. > Thanks! I have such a card and can look into this. It may take a bit though, perhaps a week or so. Later, George From owner-freebsd-hackers@FreeBSD.ORG Sun May 23 21:08:12 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 815B916A4CE; Sun, 23 May 2004 21:08:12 -0700 (PDT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1032543D1D; Sun, 23 May 2004 21:08:12 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i4O47ZIX008279; Mon, 24 May 2004 00:07:35 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: Date: Mon, 24 May 2004 00:07:34 -0400 To: freebsd-ports@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) X-Mailman-Approved-At: Mon, 24 May 2004 04:54:15 -0700 Subject: Third "RFC" on on pkg-data ideas for ports X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 04:08:12 -0000 [this is BCC'ed to -hackers and -arch just so everyone has a chance to see it, but I expect the bulk of the discussion should take place on the freebsd-ports mailing list] Well, Darren and I have done more work on my "pkg-data" ideas, but we're also getting closer to the time where Darren will be busy with his own full-time job, at which point the progress on this will be much slower. So, I'd like to show some of what we've been working on, make a third proposal, and see if this one is interesting enough for us to pursue. If not, then I'll probably just update my web pages with my thoughts so far, and then put this whole idea on a back-burner. [and if you thought progress was slow before, imagine how slow it will be when moved to a back-burner!] In the last go-round, someone pointed out that it could be helpful just to have a better idea of what the ports-collection really *is*. So we took some time to write a script which goes through a ports collection and gathers some statistics what files exist (on a per-port basis), and how much room they take up. I'll post some results of that script as a follow-up to this message. (that reply will only go to freebsd-ports...). So, hopefully that information will be of some interest even if we never do anything with the pkg-data ideas. Someone else (whose name I also forget) said something which focused my attention a bit more on patch-files per se, and how they really aren't the same as the other files I'm trying to collapse into pkg-data. Also, I haven't gotten quite as far along with figuring out what to do with pkg-descr files, so (in the interests of time), I think I'll "leave those alone" for this proposal. We've worked on some other ideas too, but those aren't far enough along yet. So I'll just write them up as "future work" (when I update the web pages...). The third proposal is basically: a) move most "standard" files into a new pkg-data file, as described in previous proposals, except for pkg-descr and "patch" files. b) create a new directory at the root directory of the ports collection. That directory would be called "Patches", and inside would be a directory for each category. Inside each Patches/category directory would be a single-file for each port in that category, where that single-file would have all the "ports-collection patches" for the matching port. c) [minor] in the pkg-data section for distinfo, I'd like to change the format for each file from, eg: MD5 (bash-2.05b.tar.gz) = 5238251b4926d778dfe162f6ce729733 SIZE (bash-2.05b.tar.gz) = 1956216 to 5238251b4926d778dfe162f6ce729733 1956216 bash-2.05b.tar.gz So it collapses most standard files into the pkg-data file, and collapses the patch-related files for a given port into files such as: ports/Patches/shells/patches-bash2. This will not result in as dramatic a drop in inodes, but it has the nice side-effect that Patches are separated from all the other files. Thus, end-users could 'cvsup refuse' the patches for categories that they do not care about, and it would not break operations which work on the entire ports collection (such as `make index'). Our current transform script doesn't do part 'c' yet, but I thought it would be interesting to note the result of 'b': (63) du -sk pd-new/ports pd-new/ports/Patches 190944 pd-new/ports 28414 pd-new/ports/Patches 162530 == "ports without the Patches" And to compare the present ports collection to a transformed ports collection, the result would look like: 1K-blocks Inodes Used Used 238742 79154 pd-orig/ports 190944 49321 pd-new/ports 20% 37% = reduction So, should we pursue any of this? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-hackers@FreeBSD.ORG Sun May 23 21:27:22 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56E5216A4CE for ; Sun, 23 May 2004 21:27:22 -0700 (PDT) Received: from web15104.mail.bjs.yahoo.com (web15104.mail.cnb.yahoo.com [202.3.77.16]) by mx1.FreeBSD.org (Postfix) with SMTP id 2B30A43D2D for ; Sun, 23 May 2004 21:27:21 -0700 (PDT) (envelope-from imgaolong@yahoo.com.cn) Message-ID: <20040524042710.56480.qmail@web15104.mail.bjs.yahoo.com> Received: from [61.187.16.2] by web15104.mail.bjs.yahoo.com via HTTP; Mon, 24 May 2004 12:27:10 CST Date: Mon, 24 May 2004 12:27:10 +0800 (CST) From: =?gb2312?q?Sharp=20Gao?= To: freebsd-hackers@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 24 May 2004 04:54:15 -0700 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Animate the splash at boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 04:27:22 -0000 I have wanted to animate the splash , for example let the daemon dance in joy when booting the box. I first let the soft clock interrupt handler function to be triggered when the variable cold is still "1" at early boot time ; and then load some different bmp files using loader ; now I can show moving pictures at boot time at a certain interval without any twinkle and stop them using some sysctl after booted. I am sure this could be accomplished , I wander whether there are any people having the same idea as mine , or if this is already on its way ? --------------------------------- Do You Yahoo!? ÏÓÓÊÏä̫С£¿ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡ From owner-freebsd-hackers@FreeBSD.ORG Mon May 24 06:51:34 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2554F16A4CE for ; Mon, 24 May 2004 06:51:34 -0700 (PDT) Received: from bloodwood.hunterlink.net.au (smtp-local.hunterlink.net.au [203.12.144.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B40543D4C for ; Mon, 24 May 2004 06:51:32 -0700 (PDT) (envelope-from boris@brooknet.com.au) Received: from [61.8.41.1] (ppp2901.dyn.pacific.net.au [61.8.41.1]) i4ODkODk032315; Mon, 24 May 2004 23:46:32 +1000 From: Sam Lawrance To: Craig Boston In-Reply-To: <200405232014.02736.craig@tobuj.gank.org> References: <1085318525.10526.25.camel@dirk> <1085358339.10526.28.camel@dirk> <200405232014.02736.craig@tobuj.gank.org> Content-Type: text/plain Message-Id: <1085406660.960.9.camel@dirk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 24 May 2004 23:51:01 +1000 Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: USB ethernet CDC driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 13:51:34 -0000 After having a bit more of a look through the archives and more searching it's apparent this driver has been written a number of times over independently by different people (and for different reasons). I will try to make a bit of a collation effort and sort out the good bits. Sam On Mon, 2004-05-24 at 11:14, Craig Boston wrote: > On Sunday 23 May 2004 7:25 pm, Sam Lawrance wrote: > > That would be great, I would love to take a look at it. > > I'll go ahead and copy the list in case anybody else is interested... > > You can grab the source at > http://www.gank.org/freebsd/cdce.tar.gz > > I'm planning to eventually make a FreeBSD projects page -- I have a few local > patches and such I'd like to share. If and when I ever get time to do that, > I'll move this in with it, but the above link should work until then. > > The list archives will have to suffice as documentation until then, here's a > few random comments about it: > > * It's set up as a standalone kernel module. If you have the kernel source on > your system it should be as simple as "cd cdce; make all && make install". > That will dump it in /boot/kernel/if_cdce.ko, which can be loaded by any of > the normal means. > > * When you plug in the device, if all goes well, you should end up with a > cdce0 network device. Just ifconfig it and go. > > * It registers itself as the handler for the CDC Ethernet class. If your > device doesn't report itself as that, you may have to add a specific device > ID for it in the cdce_devs[] structure (get the values from usbdevs -v). If > it complains about not being able to find endpoints, try adding it in there > with the CDCE_NO_UNION flag. Linux on the Zaurus seems to be slightly > non-conformant to the spec, so it may be similar on the iPaq. > > * The driver generates a random MAC address for the local end rather than > trying to read it from the device. While incorrect for real Ethernet > adapters, it seems to be fine (and may even be necessary) for these kinds of > point-to-point connections. > > * There is special handling for the Zaurus's nonstandard frame format, but it > should be off by default for other devices. This hasn't been tested yet, > though :) > > * The driver is targeted at -CURRENT. It was originally developed against > 5.2-RELEASE sources and should still compile fine on those systems. It would > probably require some work to back-port to stable though. > > * Not entirely sure what to do about the copyright message -- I borrowed > heavily from the if_axe and if_aue drivers... > > * BSD license, so feel free to do whatever with it :) > > * Also applies is my standard disclaimer: It works fine on my system, but may > cause your toaster to explode. I used to sometimes get panics on detach, but > I think the problem is fixed now. Haven't had one in quite a while, even if > I unplug it while transferring something. > > Good luck! > > Craig > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Mon May 24 11:42:24 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 808CF16A4DD for ; Mon, 24 May 2004 11:42:24 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11B8843D39 for ; Mon, 24 May 2004 11:42:24 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.strauser.com (pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.11/8.12.11) with ESMTP id i4OIfvY8041646 for ; Mon, 24 May 2004 13:41:58 -0500 (CDT) (envelope-from kirk@strauser.com) To: freebsd-hackers@freebsd.org References: <40AFF8B3.40009@siue.edu> From: Kirk Strauser Date: Mon, 24 May 2004 13:41:57 -0500 In-Reply-To: <40AFF8B3.40009@siue.edu> (William M. Grim's message of "Sat, 22 May 2004 20:04:51 -0500") Message-ID: <878yfhllai.fsf@strauser.com> Lines: 17 X-Mailer: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Virus-Scanned: clamd / ClamAV version devel-20040423, clamav-milter version 0.70u X-Virus-Status: Clean Subject: Re: Jails: An rc.d script X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 18:42:24 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable At 2004-05-23T01:04:51Z, "William M. Grim" writes: > I've written an rc.d script that can start/stop/restart jails, if they > follow a certain pattern of setup. I'm strongly considering the placement > of this in ports or base (ports seems most appropriate). Have you looked at the sysutils/jailadmin port? You can figure a set of named jails, and start/stop them individually or as a group. It includes an rc.d script as well. =2D-=20 Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAskH15sRg+Y0CpvERAtSKAJ49GMm3+hdDz5ev7rs1Kawrc5lxxwCfTAvn 040BAYTI80GrcXrizgJC2R4= =wJFv -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-hackers@FreeBSD.ORG Mon May 24 22:08:11 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F357F16A4CE for ; Mon, 24 May 2004 22:08:10 -0700 (PDT) Received: from ns.mmk.ru (ns1.mmk.ru [193.16.208.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 277EE43D1F for ; Mon, 24 May 2004 22:08:03 -0700 (PDT) (envelope-from freebsd@mmk.ru) Received: from antivirus.mmk.ru (antivirus [161.8.100.3]) by ns.mmk.ru (8.12.9p1/8.12.9) with ESMTP id i4P57rug004640 for ; Tue, 25 May 2004 11:07:54 +0600 (YEKST) (envelope-from freebsd@mmk.ru) Received: from wall.mmk.ru (localhost [127.0.0.1]) by antivirus.mmk.ru (8.12.9/8.12.9) with ESMTP id i4P54uTe005932 for ; Tue, 25 May 2004 11:05:03 +0600 (YEKST) Received: from wall (localhost [127.0.0.1]) by wall.mmk.ru (8.12.10/8.12.10) with SMTP id i4P56V1L017692 for ; Tue, 25 May 2004 11:06:33 +0600 (YEKST) (envelope-from freebsd@mmk.ru) Message-ID: <01e701c44216$582e7590$02010101@wall> From: "Dmitry A. Bondareff" To: References: <026201c43d69$b0d695d0$02010101@wall> <40AB1AE4.4050100@siue.edu> Date: Tue, 25 May 2004 11:08:38 +0600 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Re: IP frag need X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2004 05:08:11 -0000 Hello, hackers! Thanks for all. Problem solved by changing access lists on Cisco Router. ICMP was denyed by it and Windows box do not accept icmp (need to frag). Now all works fine. Regards, Dmitry. P.S. I think that mpd is good product and work fine. > Dmitry A. Bondareff wrote: > > >Hello hackers! > > > >I have two office in the Internet. > >And now I trying to make VPN between it. > > > >I using mpd for it. > > > > > >Client ---> (mtu=1500) FreeBSD (mtu=1024) ========== VPN over Internet > >======> (mtu=1024)FreeBSD (mtu=1500)---> WindowsNT > > > >Client trying to use mounted disk from WindowsNT > > > >11.8.24.25 - WindowsNT > >11.8.11.1 - FreeBSD > > > >tcpdump info: > >17:26:55.100097 11.8.24.25.139 > 11.8.11.1.1049: tcp 1460 (DF) > >17:26:55.100175 11.8.11.1 > 11.8.24.25: icmp: 11.8.11.1 unreachable - need > >to frag (mtu 1024) (DF) > >17:26:57.287737 11.8.24.25.139 > 11.8.11.1.1049: tcp 1460 (DF) > >17:26:57.287813 11.8.11.1 > 11.8.24.25: icmp: 11.8.11.1 unreachable - need > >to frag (mtu 1024) (DF) > > > >As you can see IP frag needed, but WindowsNT don't want to do it. > > > >What I cat do on FreeBSD box to solve the problem ?? > > > >Dmitry. > >(Sorry for my English) > > > >_______________________________________________ > >freebsd-hackers@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 05:26:04 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C15916A4CE for ; Wed, 26 May 2004 05:26:04 -0700 (PDT) Received: from mail.shock.ro (mail.shock.ro [212.93.151.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id B518E43D1F for ; Wed, 26 May 2004 05:26:01 -0700 (PDT) (envelope-from aanton@reversedhell.net) Received: from localhost (localhost.ro [127.0.0.1]) by mail.shock.ro (Postfix) with ESMTP id 61AAB89 for ; Sat, 22 May 2004 19:26:07 +0300 (EEST) Received: from mail.shock.ro ([127.0.0.1]) by localhost (mail.shock.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 39968-02 for ; Sat, 22 May 2004 19:26:07 +0300 (EEST) Received: from [10.0.0.2] (unknown [81.196.32.25]) by mail.shock.ro (Postfix) with ESMTP id D518986 for ; Sat, 22 May 2004 19:26:06 +0300 (EEST) Message-ID: <40AF7F5A.1080500@reversedhell.net> Date: Sat, 22 May 2004 19:27:06 +0300 From: Anton Alin-Adrian User-Agent: Mozilla Thunderbird 0.6 (X11/20040516) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 0.84.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at shock.ro Subject: fopen("file","a") X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 12:26:04 -0000 Hey folks. Running FreeBSD 4.9-RELEASE I am just wondering: man fopen ---man--- Upon successful completion fopen(), fdopen() and freopen() return a FILE pointer. Otherwise, NULL is returned and the global variable errno is set to indicate the error. ---man--- However, the following snippet: --snip-- FILE *fp_queue; if ( (fp_queue=fopen(fqueue,"a")) ==NULL);//will wait for locks { perror("fopen(fqueue,\"a\")"); //exit(EXIT_FAILURE); } --snip-- Has the following output: --dump-- fopen(fqueue,"a"): Unknown error: 0 --dump-- With that said, commenting out the exit() and using fputs() to write to the file works smoothly, data is written correctly, and no error is barked out. Same goes for fprintf(). The snippet is so small, but I did learn that it's good to ask: am I doing something wrong, or is there something else wrong? Any suggestion is gratefully appreciated. Regards, -- Alin-Adrian Anton Reversed Hell Networks GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E) gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 06:25:21 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C1B916A4CF for ; Wed, 26 May 2004 06:25:21 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 36DF043D2D for ; Wed, 26 May 2004 06:25:20 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from lanczos.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 26 May 2004 14:24:23 +0100 (BST) Date: Wed, 26 May 2004 14:24:20 +0100 From: David Malone To: Anton Alin-Adrian Message-ID: <20040526132420.GA37102@lanczos.maths.tcd.ie> References: <40AF7F5A.1080500@reversedhell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40AF7F5A.1080500@reversedhell.net> User-Agent: Mutt/1.5.3i Sender: dwmalone@maths.tcd.ie cc: freebsd-hackers@freebsd.org Subject: Re: fopen("file","a") X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 13:25:21 -0000 On Sat, May 22, 2004 at 07:27:06PM +0300, Anton Alin-Adrian wrote: > if ( (fp_queue=fopen(fqueue,"a")) ==NULL);//will wait for locks ^^^^^ Extra semicolon. > { > perror("fopen(fqueue,\"a\")"); > //exit(EXIT_FAILURE); > } David. From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 06:34:22 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FF3816A4CE for ; Wed, 26 May 2004 06:34:22 -0700 (PDT) Received: from purge.bash.sh (purge.bash.sh [193.178.223.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3E3743D46 for ; Wed, 26 May 2004 06:34:21 -0700 (PDT) (envelope-from stu@ipng.org.uk) Received: from [212.111.132.131] (helo=swalsh) by purge.bash.sh with asmtp (Exim 4.30 #1 ) id 1BSyXf-0000d8-OL; Wed, 26 May 2004 14:34:00 +0100 Message-ID: <007c01c44326$18beeb40$390310ac@swalsh> From: "Stuart Walsh" To: "Anton Alin-Adrian" , References: <40AF7F5A.1080500@reversedhell.net> Date: Wed, 26 May 2004 14:33:03 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-SA-Exim-Mail-From: stu@ipng.org.uk Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on purge.bash.sh X-Spam-Level: X-Spam-Status: No, hits=0.1 required=5.0 tests=AWL autolearn=no version=2.61 X-SA-Exim-Version: 3.1 (built Sat Dec 20 09:59:50 GMT 2003) X-SA-Exim-Scanned: Yes Subject: Re: fopen("file","a") X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 13:34:22 -0000 ----- Original Message ----- From: "Anton Alin-Adrian" To: Sent: Saturday, May 22, 2004 5:27 PM Subject: fopen("file","a") > Hey folks. > > Running FreeBSD 4.9-RELEASE > > I am just wondering: > > man fopen > ---man--- > Upon successful completion fopen(), fdopen() and freopen() return a > FILE pointer. Otherwise, NULL is returned and the global variable errno is > set to indicate the error. > ---man--- > > > However, the following snippet: > > --snip-- > FILE *fp_queue; > > if ( (fp_queue=fopen(fqueue,"a")) ==NULL);//will wait for locks > { > perror("fopen(fqueue,\"a\")"); > //exit(EXIT_FAILURE); > } > --snip-- > > You have a semicolon after your if... looks like a typo, but that will mean the perror always gets called. Regards, Stuart From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 06:38:48 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72C3916A4CE for ; Wed, 26 May 2004 06:38:48 -0700 (PDT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA2BA43D1D for ; Wed, 26 May 2004 06:38:47 -0700 (PDT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 91733530A; Wed, 26 May 2004 15:38:05 +0200 (CEST) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 766165309; Wed, 26 May 2004 15:37:42 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id 18A4233CAA; Wed, 26 May 2004 15:37:42 +0200 (CEST) To: Anton Alin-Adrian References: <40AF7F5A.1080500@reversedhell.net> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Wed, 26 May 2004 15:37:42 +0200 In-Reply-To: <40AF7F5A.1080500@reversedhell.net> (Anton Alin-Adrian's message of "Sat, 22 May 2004 19:27:06 +0300") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: freebsd-hackers@freebsd.org Subject: Re: fopen("file","a") X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 13:38:48 -0000 Anton Alin-Adrian writes: > if ( (fp_queue=3Dfopen(fqueue,"a")) =3D=3DNULL);//will wait for locks remove the semicolon. > { > perror("fopen(fqueue,\"a\")"); > //exit(EXIT_FAILURE); > } DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 08:09:09 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D021716A4CE for ; Wed, 26 May 2004 08:09:09 -0700 (PDT) Received: from smtp017.mail.yahoo.com (smtp017.mail.yahoo.com [216.136.174.114]) by mx1.FreeBSD.org (Postfix) with SMTP id F375643D41 for ; Wed, 26 May 2004 08:09:08 -0700 (PDT) (envelope-from kaeru@pd.jaring.my) Received: from unknown (HELO ?219.95.62.229?) (khairil?yusof@219.95.62.229 with plain) by smtp017.mail.yahoo.com with SMTP; 26 May 2004 15:08:32 -0000 From: Khairil Yusof To: freebsd-hackers@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kQdgzrUfJhdPUqVHJDHM" Message-Id: <1085584107.51323.21.camel@wolverine> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7FreeBSD GNOME Team Port Date: Wed, 26 May 2004 23:08:28 +0800 Subject: internet access from jail, on host acting as nat gateway X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 15:09:09 -0000 --=-kQdgzrUfJhdPUqVHJDHM Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Asking here, because I got no replies in questions@ :( I'm having a problem here, where I can't access the internet from inside my jails. The host and another computer on the lan (fxp0) have no problems connecting to the internet via natd. I don't have any problems for connections between the host and jail either. Is internet access from a jail, for this kind of setup possible? I do have a divert all rule: divert 8668 ip from any to any via tun0 =20 and rc.conf is natd_interface=3D"tun0" natd_flags=3D"-dynamic yes -s -m" nfs_reserved_port_only=3D"NO" --=-kQdgzrUfJhdPUqVHJDHM Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAtLLrDAqnLW/+/X8RAj04AKDQdpj5SYdbDXIrhWhRKvz4k1m8TwCg4Gy1 yhW1g8iGRjTOayES41N439g= =++US -----END PGP SIGNATURE----- --=-kQdgzrUfJhdPUqVHJDHM-- From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 10:10:51 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BFA916A4CE for ; Wed, 26 May 2004 10:10:51 -0700 (PDT) Received: from chaos.evolve.za.net (chaos.evolve.za.net [196.34.172.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1A8343D45 for ; Wed, 26 May 2004 10:10:49 -0700 (PDT) (envelope-from cole@opteqint.net) Received: from root by chaos.evolve.za.net with scanned-ok (Exim 3.36 #1) id 1BT1tj-000Ky2-00 for freebsd-hackers@freebsd.org; Wed, 26 May 2004 19:08:59 +0200 Received: from [196.39.126.250] (helo=stalker) by chaos.evolve.za.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.36 #1) id 1BT1ti-000Kx8-00 for freebsd-hackers@freebsd.org; Wed, 26 May 2004 19:08:59 +0200 Message-ID: <001901c44344$6ceee850$4206000a@stalker> From: "Cole" To: Date: Wed, 26 May 2004 19:11:00 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Virus-Scanned: by Opteq - www.optec.co.za Subject: Pthread / Memory Problem. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 17:10:51 -0000 Hey I have recently ported a linux application to FreeBSD, and i had to change a number of libraries and so forth. I have now managed to get it working correctly, with no build errors or warnings. The program runs correctly as well too, and there are no forseable problems. The other day i noticed it was slowly taking up more memory, very slightly, but it does. So i did post to the list a few days ago with a topic of "Memory Leak". And i have now used the valgrind port for FreeBSD which someone did reply to my post with. It does say there are 2 issues that could cause memory leaks, and it looks like both originate from pthread_create. Now when porting the application i did not touch any of that code, so i am wondering, is the pthread code/library a different implementation as the FreeBSD version, cause since there are no errors, im wondering if there is just something that is missing in the code, or that has been done differently on linux that may now be causing these memory leaks. If you wish i can post the pthread_create section of code and all surrounding code, as well as the valgrind output and where its suggesting there are memory leaks. Thanks /Cole From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 12:16:23 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FFEA16A4DF for ; Wed, 26 May 2004 12:16:23 -0700 (PDT) Received: from hotmail.com (bay8-f8.bay8.hotmail.com [64.4.27.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB76343D41 for ; Wed, 26 May 2004 12:16:22 -0700 (PDT) (envelope-from bjohns123@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 26 May 2004 12:15:44 -0700 Received: from 198.93.75.2 by by8fd.bay8.hotmail.msn.com with HTTP; Wed, 26 May 2004 19:15:44 GMT X-Originating-IP: [198.93.75.2] X-Originating-Email: [bjohns123@hotmail.com] X-Sender: bjohns123@hotmail.com From: "lost inferno" To: freebsd-hackers@freebsd.org Date: Wed, 26 May 2004 15:15:44 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 26 May 2004 19:15:44.0487 (UTC) FILETIME=[D7CA7F70:01C44355] Subject: KVA space problems? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bjohns123@msn.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 19:16:23 -0000 I posted something to stable about this, but Im wondering if anyone has seen this... I saw something over here ( http://gobsd.com/node/view/39 ) that made me really consider my options as the 4.x series comes to an end... is anyone else looking into this? Perhaps i would be best off to move over to this DragonFly thing and see what it's about. Interested to see what everyone thinks. _________________________________________________________________ MSN Toolbar provides one-click access to Hotmail from any Web page – FREE download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/ From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 12:38:20 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29F7A16A4CE for ; Wed, 26 May 2004 12:38:20 -0700 (PDT) Received: from go.intelli7.com (go.intelli7.com [204.200.196.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97DA143D41 for ; Wed, 26 May 2004 12:38:19 -0700 (PDT) (envelope-from bcg@intelli7.com) Received: from 192.168.0.2 ([65.222.158.82]) (authenticated bits=0) by go.intelli7.com (8.12.11/8.12.6) with ESMTP id i4QJcCmb070610 for ; Wed, 26 May 2004 19:38:12 GMT (envelope-from bcg@intelli7.com) From: Brenden Grace To: freebsd-hackers@freebsd.org Content-Type: text/plain Message-Id: <1085603749.2367.35.camel@linux.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Wed, 26 May 2004 13:35:50 -0700 Content-Transfer-Encoding: 7bit Subject: pkg_create @cwd and @srcdir X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 19:38:20 -0000 In this thread: http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001673.html some people seem to think that @cwd is broken. The man pages do not explicitly state how @cwd should operate, but currently the directory must exist for pkg_create to run properly. This is extremely annoying because build machines *must* create the final directory structure of the target install before the package can be created. So my question is, does the 5.2.1 version of pkg_create contain a bug or is pkg_create really just very limited? Thanks for your attention. -- Brenden C. Grace Intelli7 From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 12:51:10 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6139F16A4E1 for ; Wed, 26 May 2004 12:51:10 -0700 (PDT) Received: from mail.shock.ro (mail.shock.ro [212.93.151.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15E1043D1D for ; Wed, 26 May 2004 12:51:10 -0700 (PDT) (envelope-from aanton@reversedhell.net) Received: from localhost (localhost.ro [127.0.0.1]) by mail.shock.ro (Postfix) with ESMTP id 14EA582 for ; Wed, 26 May 2004 22:49:13 +0300 (EEST) Received: from mail.shock.ro ([127.0.0.1]) by localhost (mail.shock.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 60151-06 for ; Wed, 26 May 2004 22:49:12 +0300 (EEST) Received: from [10.0.0.2] (unknown [81.196.32.25]) by mail.shock.ro (Postfix) with ESMTP id 9DB3E7E for ; Wed, 26 May 2004 22:49:12 +0300 (EEST) Message-ID: <40B4F517.3020308@reversedhell.net> Date: Wed, 26 May 2004 22:50:47 +0300 From: Anton Alin-Adrian User-Agent: Mozilla Thunderbird 0.6 (X11/20040516) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <40AF7F5A.1080500@reversedhell.net> In-Reply-To: <40AF7F5A.1080500@reversedhell.net> X-Enigmail-Version: 0.84.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at shock.ro Subject: Re: fopen("file","a") X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 19:51:10 -0000 Yes, thank's everybody. Unfortunately I thought I blocked this (old)mail message into the MTA's queue, however, it seems it passed out today, by my mistake. Regards, -- Alin-Adrian Anton Reversed Hell Networks GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E) gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 13:34:40 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A680316A4CE; Wed, 26 May 2004 13:34:40 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E8C643D1D; Wed, 26 May 2004 13:34:40 -0700 (PDT) (envelope-from bmilekic@FreeBSD.org) Received: from freefall.freebsd.org (bmilekic@localhost [127.0.0.1]) i4QKYVRS018372; Wed, 26 May 2004 13:34:31 -0700 (PDT) (envelope-from bmilekic@freefall.freebsd.org) Received: (from bmilekic@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4QKYVTR018371; Wed, 26 May 2004 13:34:31 -0700 (PDT) (envelope-from bmilekic) Date: Wed, 26 May 2004 13:34:31 -0700 From: Bosko Milekic To: freebsd-net@freebsd.org Message-ID: <20040526203431.GA17806@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org Subject: Network buffer allocations: mbuma, PLEASE TEST X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 20:34:40 -0000 Hi, If you're running -CURRENT, please test this: http://people.freebsd.org/~bmilekic/code/mbuma2.diff It is several extensions to UMA and mbuf & cluster allocation built on top of it. Once you apply the patch from src/, you need to rebuild and reinstall src/usr.bin/netstat, src/usr.bin/systat, and then a new kernel. When you're configuring your new kernel, you should remove the NMBCLUSTERS compile-time option, it's no longer needed. Clusters will still be capped off according to maxusers (which is auto-tuned itself). Alternately, if you want theoretically unlimited number of clusters, you can tune the boot-time kern.ipc.nmbclusters tunable to zero. Unless final issues arise I'm going to commit this tomorrow morning; it's been tested already quite a bit, and performance considered. A paper is available and was presented at BSDCan 2004; in case you missed it: http://www.unixdaemons.com/~bmilekic/netbuf_bmilekic.pdf It has been looked at for quite some time now. Additional code cleanups will need to occur following commit, maybe. Future work is also possible, see the paper if you're interested in taking some of it on. Oh, and keep me in the CC; I have no idea if I'm subscribed to these lists anymore. You should also follow up to this thread on -net and not on -hackers (trim -hackers from CC in the future). Thanks and happy hacking! Regards, -- Bosko Milekic bmilekic@technokratis.com bmilekic@FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 13:36:22 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2701416A4CF for ; Wed, 26 May 2004 13:36:22 -0700 (PDT) Received: from multiplay.co.uk (www1.multiplay.co.uk [212.42.16.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 708BC43D41 for ; Wed, 26 May 2004 13:36:21 -0700 (PDT) (envelope-from killing@multiplay.co.uk) Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [212.42.16.7]) (MDaemon.PRO.v7.1.0.R) with ESMTP id md50000240275.msg for ; Wed, 26 May 2004 21:33:06 +0100 Message-ID: <003601c44360$e71cc400$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: , References: Date: Wed, 26 May 2004 21:34:53 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Processed: multiplay.co.uk, Wed, 26 May 2004 21:33:06 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-hackers@freebsd.org X-MDAV-Processed: multiplay.co.uk, Wed, 26 May 2004 21:33:10 +0100 Subject: Re: KVA space problems? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 20:36:22 -0000 Sounds like someone's a drama queen there. All our boxes are up 24/7 and only go down for patch / hardware issue hardly the picture drhodus it trying to paint there. N.B. boxes are a mixture of 4.8, 4.9, 5.1 and 5.2.1. Steve ----- Original Message ----- From: "lost inferno" To: Sent: Wednesday, May 26, 2004 8:15 PM Subject: KVA space problems? > I posted something to stable about this, but Im wondering if anyone has > seen this... I saw something over here ( http://gobsd.com/node/view/39 ) > that made me really consider my options as the 4.x series comes to an end... > is anyone else looking into this? Perhaps i would be best off to move over > to this DragonFly thing and see what it's about. > > Interested to see what everyone thinks. ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 13:50:44 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 65A8716A4CE; Wed, 26 May 2004 13:50:44 -0700 (PDT) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.11/8.12.11) with ESMTP id i4QKohSJ061969; Wed, 26 May 2004 16:50:43 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.12.11/8.12.11/Submit) id i4QKohQF061968; Wed, 26 May 2004 16:50:43 -0400 (EDT) (envelope-from green) Date: Wed, 26 May 2004 16:50:42 -0400 From: Brian Feldman To: bjohns123@msn.com Message-ID: <20040526205042.GA61945@green.homeunix.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i cc: freebsd-hackers@freebsd.org Subject: Re: KVA space problems? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 20:50:44 -0000 On Wed, May 26, 2004 at 03:15:44PM -0400, lost inferno wrote: > I posted something to stable about this, but Im wondering if anyone has > seen this... I saw something over here ( http://gobsd.com/node/view/39 ) > that made me really consider my options as the 4.x series comes to an > end... is anyone else looking into this? Perhaps i would be best off to > move over to this DragonFly thing and see what it's about. > > Interested to see what everyone thinks. Please refrain from making a huge thread out of this. The author of that page knows nothing about FreeBSD, obviously, or he'd realize that a branch called "-CURRENT" exists and has very little in common with much of either FreeBSD 4.x or DragonFlyBSD. Consider gobsd.com as having about the same level of integrity as slashdot.org. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 14:13:08 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78BDB16A4CF for ; Wed, 26 May 2004 14:13:08 -0700 (PDT) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFF8143D1F for ; Wed, 26 May 2004 14:13:07 -0700 (PDT) (envelope-from andre@freebsd.org) Received: (qmail 95845 invoked from network); 26 May 2004 21:12:33 -0000 Received: from unknown (HELO [62.48.0.47]) ([62.48.0.47]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 26 May 2004 21:12:33 -0000 Message-ID: <40B50840.9070802@freebsd.org> Date: Wed, 26 May 2004 23:12:32 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Email of tackerman or pdeuskar? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 21:13:08 -0000 I'm trying to reach tackerman or pdeuskar from Intel for some time now regarding the em driver. It seems their @freebsd.org email addresses don't work at all. Neither has a /var/forward/ file or it is empty. Does someone have their real @intel.com email adresses? -- Andre From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 15:35:05 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D3F916A4CE for ; Wed, 26 May 2004 15:35:05 -0700 (PDT) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1895B43D3F for ; Wed, 26 May 2004 15:35:05 -0700 (PDT) (envelope-from bandy@cinnamon.com) Received: from h-68-164-78-55.snvacaid.dynamic.covad.net ([68.164.78.55] helo=cinnamon.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BT6yr-000072-00 for freebsd-hackers@freebsd.org; Wed, 26 May 2004 15:34:37 -0700 Received: from cinnamon.com (localhost [127.0.0.1]) by cinnamon.com (8.12.11/8.12.3.1) with ESMTP id i4QMYFwP027591 for ; Wed, 26 May 2004 15:34:15 -0700 (PDT) (envelope-from bandy@cinnamon.com) Message-Id: <200405262234.i4QMYFwP027591@cinnamon.com> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 26 May 2004 15:34:15 -0700 From: Andrew Beals Subject: simple, nay, elegant pop3 implementation? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 22:35:05 -0000 Why is there no default pop3 implementation included in the FreeBSD distribution? Is it for a lack of a suitably-licensed server, or does everyone believe APOP authentication is crackable? -- More coffee! http://cinnamon.com/~bandy/ DoD#1005 From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 16:48:12 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 778F616A4CE for ; Wed, 26 May 2004 16:48:12 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BD0F43D31 for ; Wed, 26 May 2004 16:48:12 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.10) with ESMTP id i4QNlOSK009395; Wed, 26 May 2004 16:47:24 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i4QNlOi9009394; Wed, 26 May 2004 16:47:24 -0700 Date: Wed, 26 May 2004 16:47:24 -0700 From: Brooks Davis To: Andrew Beals Message-ID: <20040526234722.GB8208@Odin.AC.HMC.Edu> References: <200405262234.i4QMYFwP027591@cinnamon.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <200405262234.i4QMYFwP027591@cinnamon.com> User-Agent: Mutt/1.5.4i cc: freebsd-hackers@freebsd.org Subject: Re: simple, nay, elegant pop3 implementation? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 23:48:12 -0000 --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 26, 2004 at 03:34:15PM -0700, Andrew Beals wrote: > Why is there no default pop3 implementation included in the FreeBSD=20 > distribution? Is it for a lack of a suitably-licensed server, or does=20 > everyone believe APOP authentication is crackable? This isn't Linux. :-) POP servers are neither traditional BSD software nor useful to the majority of FreeBSD systems so they live in ports. There are quite a large number of them there in the mail category. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAtSyHXY6L6fI4GtQRAn8YAKDgwbbesEHO7vq891rJ73XZumwqPgCg5DOV A7srVwvA86/74xoNKwk9CW0= =diMr -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy-- From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 16:57:42 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32CB016A4CE for ; Wed, 26 May 2004 16:57:42 -0700 (PDT) Received: from mail.shock.ro (mail.shock.ro [212.93.151.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0F0C43D1D for ; Wed, 26 May 2004 16:57:41 -0700 (PDT) (envelope-from aanton@reversedhell.net) Received: from localhost (localhost.ro [127.0.0.1]) by mail.shock.ro (Postfix) with ESMTP id AE07782 for ; Thu, 27 May 2004 02:55:41 +0300 (EEST) Received: from mail.shock.ro ([127.0.0.1]) by localhost (mail.shock.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 60937-06 for ; Thu, 27 May 2004 02:55:41 +0300 (EEST) Received: from [10.0.0.2] (unknown [81.196.32.25]) by mail.shock.ro (Postfix) with ESMTP id 40FA87E for ; Thu, 27 May 2004 02:55:41 +0300 (EEST) Message-ID: <40B52EDD.3080306@reversedhell.net> Date: Thu, 27 May 2004 02:57:17 +0300 From: Anton Alin-Adrian User-Agent: Mozilla Thunderbird 0.6 (X11/20040516) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <200405262234.i4QMYFwP027591@cinnamon.com> In-Reply-To: <200405262234.i4QMYFwP027591@cinnamon.com> X-Enigmail-Version: 0.84.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at shock.ro Subject: Re: simple, nay, elegant pop3 implementation? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 23:57:42 -0000 Andrew Beals wrote: > Why is there no default pop3 implementation included in the FreeBSD > distribution? Is it for a lack of a suitably-licensed server, or does > everyone believe APOP authentication is crackable? Is there any for IMAP? -- Alin-Adrian Anton Reversed Hell Networks GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E) gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 18:45:39 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FD5516A4CE for ; Wed, 26 May 2004 18:45:39 -0700 (PDT) Received: from smtp.netli.com (ip2-pal-focal.netli.com [66.243.52.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BB5943D2F for ; Wed, 26 May 2004 18:45:39 -0700 (PDT) (envelope-from vlm@netli.com) Received: (qmail 24960 invoked by uid 84); 27 May 2004 01:45:06 -0000 Received: from vlm@netli.com by l3-1 with qmail-scanner-0.96 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.183273 secs); 27 May 2004 01:45:06 -0000 Received: from unknown (HELO netli.com) (172.17.1.12) by mx01-pal-lan.netli.lan with SMTP; 27 May 2004 01:45:06 -0000 Message-ID: <40B5482B.2050209@netli.com> Date: Wed, 26 May 2004 18:45:15 -0700 From: Lev Walkin Organization: Netli, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040307 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Cole References: <001901c44344$6ceee850$4206000a@stalker> In-Reply-To: <001901c44344$6ceee850$4206000a@stalker> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Pthread / Memory Problem. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 01:45:39 -0000 man pthread_detach? Cole wrote: > Hey > > I have recently ported a linux application to FreeBSD, and i had to change a > number of libraries and so forth. > I have now managed to get it working correctly, with no build errors or > warnings. > The program runs correctly as well too, and there are no forseable problems. > > The other day i noticed it was slowly taking up more memory, very slightly, > but it does. > So i did post to the list a few days ago with a topic of "Memory Leak". And > i have now used the valgrind port for FreeBSD which someone did reply to my > post with. It does say there are 2 issues that could cause memory leaks, > and it looks like both originate from pthread_create. > Now when porting the application i did not touch any of that code, so i am > wondering, is the pthread code/library a different implementation as the > FreeBSD version, cause since there are no errors, im wondering if there is > just something that is missing in the code, or that has been done > differently on linux that may now be causing these memory leaks. > > If you wish i can post the pthread_create section of code and all > surrounding code, as well as the valgrind output and where its suggesting > there are memory leaks. > > Thanks > /Cole > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- Lev Walkin vlm@netli.com From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 20:20:24 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3E0416A4CE for ; Wed, 26 May 2004 20:20:24 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DB9143D41 for ; Wed, 26 May 2004 20:20:24 -0700 (PDT) (envelope-from kientzle@freebsd.org) Received: from freebsd.org (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i4R3Jk90092804; Wed, 26 May 2004 20:19:46 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <40B55E4C.7020504@freebsd.org> Date: Wed, 26 May 2004 20:19:40 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brenden Grace References: <1085603749.2367.35.camel@linux.local> In-Reply-To: <1085603749.2367.35.camel@linux.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: pkg_create @cwd and @srcdir X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 03:20:24 -0000 Brenden Grace wrote: > In this thread: > http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001673.html > > some people seem to think that @cwd is broken. The man pages do not > explicitly state how @cwd should operate, but currently the directory > must exist for pkg_create to run properly. > > This is extremely annoying because build machines *must* create the > final directory structure of the target install before the package can > be created. > > So my question is, does the 5.2.1 version of pkg_create contain a bug or > is pkg_create really just very limited? Try it with bsdtar as the system default tar and see if that behaves any differently. (WITH_BSDTAR=1 in /etc/make.conf). I had read the above thread shortly before I designed bsdtar's cwd handling, and it should work. bsdtar stores directory change requests but doesn't actually try to chdir() until it sees a file. That way, extraneous cwd requests get silently ignored, rather than causing it to abort. Let me know... Tim Kientzle From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 21:46:26 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 311D016A4CE for ; Wed, 26 May 2004 21:46:26 -0700 (PDT) Received: from electricrain.com (electricrain.com [64.71.143.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE94843D49 for ; Wed, 26 May 2004 21:46:25 -0700 (PDT) (envelope-from fuzzy@electricrain.com) Received: (qmail 26985 invoked by uid 540); 27 May 2004 04:45:38 -0000 Date: Wed, 26 May 2004 21:45:38 -0700 From: Chris Doherty To: freebsd-hackers@freebsd.org Message-ID: <20040527044538.GF5009@zot.electricrain.com> References: <200405262234.i4QMYFwP027591@cinnamon.com> <40B52EDD.3080306@reversedhell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40B52EDD.3080306@reversedhell.net> User-Agent: Mutt/1.4i X-Operating-System: XEmacs X-Koan: mu. X-Message-Flag: This message contains absolutely no malicious code. Organization: The Inside Foundation Subject: Re: simple, nay, elegant pop3 implementation? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: chris-freebsd@randomcamel.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 04:46:26 -0000 On Thu, May 27, 2004 at 02:57:17AM +0300, Anton Alin-Adrian said: > Andrew Beals wrote: > >Why is there no default pop3 implementation included in the FreeBSD > >distribution? Is it for a lack of a suitably-licensed server, or does > >everyone believe APOP authentication is crackable? > > Is there any for IMAP? cd /usr/ports/mail ; make search key=imap or http://www.freebsd.org/ports/mail.html chris ------------------------------- Chris Doherty chris [at] randomcamel.net "I think," said Christopher Robin, "that we ought to eat all our provisions now, so we won't have so much to carry." -- A. A. Milne ------------------------------- From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 01:47:46 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6182F16A4CF for ; Thu, 27 May 2004 01:47:46 -0700 (PDT) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 569AE43D1F for ; Thu, 27 May 2004 01:47:44 -0700 (PDT) (envelope-from roam@ringlet.net) Received: (qmail 6910 invoked from network); 27 May 2004 08:46:54 -0000 Received: from office.sbnd.net (HELO straylight.m.ringlet.net) (217.75.140.130) by gandalf.online.bg with SMTP; 27 May 2004 08:46:53 -0000 Received: (qmail 73408 invoked by uid 1000); 27 May 2004 08:47:15 -0000 Date: Thu, 27 May 2004 11:47:14 +0300 From: Peter Pentchev To: Tim Kientzle Message-ID: <20040527084714.GD62544@straylight.m.ringlet.net> Mail-Followup-To: Tim Kientzle , Brenden Grace , freebsd-hackers@freebsd.org References: <1085603749.2367.35.camel@linux.local> <40B55E4C.7020504@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CblX+4bnyfN0pR09" Content-Disposition: inline In-Reply-To: <40B55E4C.7020504@freebsd.org> User-Agent: Mutt/1.5.6i cc: Brenden Grace cc: freebsd-hackers@freebsd.org Subject: Re: pkg_create @cwd and @srcdir X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 08:47:46 -0000 --CblX+4bnyfN0pR09 Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 26, 2004 at 08:19:40PM -0700, Tim Kientzle wrote: > Brenden Grace wrote: > >In this thread: > >http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001673.html > > > >some people seem to think that @cwd is broken. The man pages do not > >explicitly state how @cwd should operate, but currently the directory > >must exist for pkg_create to run properly. > > > >This is extremely annoying because build machines *must* create the > >final directory structure of the target install before the package can > >be created. I thought the directory structure is supposed to be created using mtree files? The ports collection runs 'mtree' before running the actual 'make install' in the port's working directory; as for pkg_add and generated packages, they should include a @mtree directive in +CONTENTS and an +MTREE_DIRS file... > >So my question is, does the 5.2.1 version of pkg_create contain a bug or > >is pkg_create really just very limited? >=20 > Try it with bsdtar as the system default tar > and see if that behaves any differently. > (WITH_BSDTAR=3D1 in /etc/make.conf). Errr, that's all fine and good, but how about people who still use GNU tar for various reasons, such as sticking with RELENG_4? :) Or do you have any plans for MFC'ing libarchive/bsdtar into RELENG_4 (please please please!), even without making it the default? =20 G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 =2Esiht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI --CblX+4bnyfN0pR09 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAtasS7Ri2jRYZRVMRAuU5AJ9WZ6P1SSHbXs2VYE4g/niD1x3ABwCglcIw mVoc513qszilstZ8Jzd98P8= =gNcG -----END PGP SIGNATURE----- --CblX+4bnyfN0pR09-- From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 03:33:03 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9917716A4CE for ; Thu, 27 May 2004 03:33:03 -0700 (PDT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id C068943D31 for ; Thu, 27 May 2004 03:33:02 -0700 (PDT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 92895530A; Thu, 27 May 2004 12:32:22 +0200 (CEST) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 1FBF45309; Thu, 27 May 2004 12:32:15 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id CFB5C33CAA; Thu, 27 May 2004 12:32:14 +0200 (CEST) To: bjohns123@msn.com References: From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Thu, 27 May 2004 12:32:14 +0200 In-Reply-To: (lost inferno's message of "Wed, 26 May 2004 15:15:44 -0400") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,MAILTO_TO_SPAM_ADDR autolearn=no version=2.63 cc: freebsd-hackers@freebsd.org Subject: Re: KVA space problems? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 10:33:03 -0000 "lost inferno" writes: > I posted something to stable about this, but Im wondering if anyone > has seen this... I saw something over here ( > http://gobsd.com/node/view/39 ) that made me really consider my > options as the 4.x series comes to an end... is anyone else looking > into this? Perhaps i would be best off to move over to this DragonFly > thing and see what it's about. First of all, you need to realize that GoBSD is a DragonFly advocacy site. That doesn't necessarily make it a bad site, but it does mean it's biased. Second, the FreeBSD 4 kernel is not reentrant, even on SMP systems, so as far as I know, the bug described in that article Can't Happen[tm]. I haven't investigated this closely, however, so I may be wrong; but I'm pretty sure that if there really was a serious problem there, Matt would have let us know. He usually does. Finally, David's claim that we have not "been doing much of anything over the past few years" is simply untrue; he should take a look at -CURRENT, which actually "moved away from this memory allocation method" about a year and a half before DragonFlyBSD got off the ground. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 05:40:51 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1048B16A4CE for ; Wed, 26 May 2004 05:40:51 -0700 (PDT) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 1DABE43D58 for ; Wed, 26 May 2004 05:40:50 -0700 (PDT) (envelope-from slavi@imperia.net) Received: (qmail 25971 invoked from network); 26 May 2004 12:40:12 -0000 Received: from mx4.intergenia.de (HELO imperia.net) (217.75.140.162) by gandalf.online.bg with SMTP; 26 May 2004 12:40:12 -0000 Message-ID: <40B4904E.3000703@imperia.net> Date: Wed, 26 May 2004 15:40:46 +0300 From: Slavi Agafonkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20040401 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 27 May 2004 04:50:55 -0700 Subject: Re: FreeBSD book recommendation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: slavi@imperia.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 12:40:51 -0000 The update to "The Design and Implementation of 4.4BSD Operating System" : http://www.mckusick.com/FreeBSDbook.html Amazon link: http://www.amazon.com/exec/obidos/tg/detail/-/0201702452/qid=1085575007/sr=1-2/ref=sr_1_2/103-5919618-6163829?v=glance&s=books release date - August 27, 2004 Enjoy :-) Svetoslav Agafonkin Imperia AG From owner-freebsd-hackers@FreeBSD.ORG Wed May 26 13:48:34 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AD4216A4CE for ; Wed, 26 May 2004 13:48:34 -0700 (PDT) Received: from casselton.net (casselton.net [63.165.140.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E16D43D41 for ; Wed, 26 May 2004 13:48:34 -0700 (PDT) (envelope-from tinguely@casselton.net) Received: from casselton.net (localhost [127.0.0.1]) by casselton.net (8.12.9p2/8.12.9) with ESMTP id i4QKlfPK028776; Wed, 26 May 2004 15:47:41 -0500 (CDT) (envelope-from tinguely@casselton.net) Received: (from tinguely@localhost) by casselton.net (8.12.9p2/8.12.9/Submit) id i4QKlfOK028775; Wed, 26 May 2004 15:47:41 -0500 (CDT) (envelope-from tinguely) Date: Wed, 26 May 2004 15:47:41 -0500 (CDT) From: Mark Tinguely Message-Id: <200405262047.i4QKlfOK028775@casselton.net> To: bjohns123@msn.com, freebsd-hackers@freebsd.org In-Reply-To: X-Spam-Status: No, hits=0.9 required=5.0 tests=REPLY_TO_EMPTY autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on ccn.casselton.net X-Mailman-Approved-At: Thu, 27 May 2004 04:50:55 -0700 Subject: Re: KVA space problems? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 20:48:34 -0000 This has been seen before and there is at least one open problem report that the kernel malloc() unexpectantly returns NULL in WAITOK situations. http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/53382 --- I think malloc returns before your patch, namely around line 199: va = (caddr_t) kmem_malloc(kmem_map, (vm_size_t)ctob(npg), flags ); if (va == NULL) { splx(s); return ((void *) NULL); } Although, I agree that the kernel malloc() should not do this, if KVM is depleted or fragmented to this point, I suspect your changes of simply retrying again will cause an infinite loop in malloc(). If malloc() sleeps waiting for KVM to be freed, my guess this will lead to the processes to hang for a long time if not forever. I think this because people are bumping the MBUFs numbers up and not changing the KVM size, once the KVM is depleted/fragmented it shouldn't come down for a long time. --- The pre 5.x VM assumes KVM will not be depleted. contigmalloc() used to leak physical pages if the KVM got depleted. I was told "the system will panic soon anyway, why put them back". --Mark Tinguely From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 06:05:09 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EDA816A4CF for ; Thu, 27 May 2004 06:05:09 -0700 (PDT) Received: from mail.shock.ro (mail.shock.ro [212.93.151.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05F4943D2D for ; Thu, 27 May 2004 06:05:09 -0700 (PDT) (envelope-from aanton@reversedhell.net) Received: from localhost (localhost.ro [127.0.0.1]) by mail.shock.ro (Postfix) with ESMTP id 89A3782 for ; Thu, 27 May 2004 16:02:18 +0300 (EEST) Received: from mail.shock.ro ([127.0.0.1]) by localhost (mail.shock.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 64501-07 for ; Thu, 27 May 2004 16:02:18 +0300 (EEST) Received: from [10.0.0.2] (unknown [82.77.151.42]) by mail.shock.ro (Postfix) with ESMTP id 20D2D7E for ; Thu, 27 May 2004 16:02:18 +0300 (EEST) Message-ID: <40B5E73E.9000708@reversedhell.net> Date: Thu, 27 May 2004 16:03:58 +0300 From: Anton Alin-Adrian User-Agent: Mozilla Thunderbird 0.6 (X11/20040516) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 0.84.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at shock.ro Subject: how many IP aliases X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 13:05:09 -0000 Hi guys. Can anyone tell me what is the limit for how many IP aliases can be setup on the same ethernet card? Is there a global limit for the total number of aliases in the OS? To be clear: one needs 128 IPs (for irc vhosts) to be setup on one server. Is that impossible? Thanks! Yours sincerely, -- Alin-Adrian Anton Reversed Hell Networks GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E) gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 06:22:39 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68ADC16A4CE for ; Thu, 27 May 2004 06:22:39 -0700 (PDT) Received: from mail.shock.ro (mail.shock.ro [212.93.151.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26F4C43D39 for ; Thu, 27 May 2004 06:22:36 -0700 (PDT) (envelope-from aanton@reversedhell.net) Received: from localhost (localhost.ro [127.0.0.1]) by mail.shock.ro (Postfix) with ESMTP id DCC3982; Thu, 27 May 2004 16:20:02 +0300 (EEST) Received: from mail.shock.ro ([127.0.0.1]) by localhost (mail.shock.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 64501-09; Thu, 27 May 2004 16:20:02 +0300 (EEST) Received: from [10.0.0.2] (unknown [81.196.32.25]) by mail.shock.ro (Postfix) with ESMTP id 4D0517E; Thu, 27 May 2004 16:20:02 +0300 (EEST) Message-ID: <40B5EB68.5000308@reversedhell.net> Date: Thu, 27 May 2004 16:21:44 +0300 From: Anton Alin-Adrian User-Agent: Mozilla Thunderbird 0.6 (X11/20040516) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steven Hartland References: <40B5E73E.9000708@reversedhell.net> <0a2e01c443ec$1466c9c0$7b07000a@int.mediasurface.com> In-Reply-To: <0a2e01c443ec$1466c9c0$7b07000a@int.mediasurface.com> X-Enigmail-Version: 0.84.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at shock.ro cc: freebsd-hackers@freebsd.org Subject: Re: how many IP aliases X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 13:22:39 -0000 Steven Hartland wrote: > Cant u use namebased vhosts? Or different ports? > > Steve Different ports? Why would be using different ports different? They (users) need to go out to irc with a different IP each time they connect. In order to do that, psybnc needs to use that specific IP when connecting outside to the IRC server. I don't see how different ports will change this situation. Nambased vhosts work for web, I guess, but not for IRC. Let one correct me if I am wrong. Thanks for all the replies. 240 IPs is far enough. > ----- Original Message ----- > From: "Anton Alin-Adrian" > To: > Sent: 27 May 2004 14:03 > Subject: how many IP aliases > > > >>Hi guys. >> >>Can anyone tell me what is the limit for how many IP aliases can be setup >>on the same ethernet card? >> >>Is there a global limit for the total number of aliases in the OS? >> >>To be clear: one needs 128 IPs (for irc vhosts) to be setup on one server. >>Is that impossible? > > > > ================================================ > This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. > > In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 > or return the E.mail to postmaster@multiplay.co.uk. > > > Yours Sincerely, -- Alin-Adrian Anton Reversed Hell Networks GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E) gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 07:08:05 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A00616A4CF for ; Thu, 27 May 2004 07:08:05 -0700 (PDT) Received: from mail.shock.ro (mail.shock.ro [212.93.151.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 625DF43D48 for ; Thu, 27 May 2004 07:08:03 -0700 (PDT) (envelope-from aanton@reversedhell.net) Received: from localhost (localhost.ro [127.0.0.1]) by mail.shock.ro (Postfix) with ESMTP id 0B3B382; Thu, 27 May 2004 17:05:45 +0300 (EEST) Received: from mail.shock.ro ([127.0.0.1]) by localhost (mail.shock.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 65218-03; Thu, 27 May 2004 17:05:44 +0300 (EEST) Received: from [10.0.0.2] (unknown [82.77.151.42]) by mail.shock.ro (Postfix) with ESMTP id 8A9787E; Thu, 27 May 2004 17:05:44 +0300 (EEST) Message-ID: <40B5F61F.2030407@reversedhell.net> Date: Thu, 27 May 2004 17:07:27 +0300 From: Anton Alin-Adrian User-Agent: Mozilla Thunderbird 0.6 (X11/20040516) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steven Hartland , freebsd-hackers@freebsd.org References: <40B5E73E.9000708@reversedhell.net><0a2e01c443ec$1466c9c0$7b07000a@int.mediasurface.com> <40B5EB68.5000308@reversedhell.net> <0a6701c443ef$cfe89ef0$7b07000a@int.mediasurface.com> In-Reply-To: <0a6701c443ef$cfe89ef0$7b07000a@int.mediasurface.com> X-Enigmail-Version: 0.84.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at shock.ro Subject: Re: how many IP aliases X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 14:08:05 -0000 Steven Hartland wrote: > Ah I assumed u meant irc vhost "servers" > Still leaves there question why would each psync require a specific IP? > If the IRC network you connection to limits on connections per IP > e.g. QuakeNet ( which all should do ). You just need to apply > for a trust for "X" connections and your all sorted. Using multiple > IP's for such a use would be totally wasteful. > Our ISP's policy is that when one IP gets flooded, it gets blocked from internet access for a while. That's the reason for so many IPs. Not perfect, but helps a lot. > Steve > ----- Original Message ----- > From: "Anton Alin-Adrian" > >>Different ports? Why would be using different ports different? They (users) >>need to go out to irc with a different IP each time they connect. In order >>to do that, psybnc needs to use that specific IP when connecting outside to >>the IRC server. I don't see how different ports will change this situation. >> >>Nambased vhosts work for web, I guess, but not for IRC. >> >>Let one correct me if I am wrong. > > > > ================================================ > This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. > > In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 > or return the E.mail to postmaster@multiplay.co.uk. > > > Regards, -- Alin-Adrian Anton Reversed Hell Networks GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E) gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 08:01:10 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F15916A4CE for ; Thu, 27 May 2004 08:01:10 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32EC343D31 for ; Thu, 27 May 2004 08:01:10 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.10) with ESMTP id i4RExmSK031762; Thu, 27 May 2004 07:59:48 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i4RExmQ4031761; Thu, 27 May 2004 07:59:48 -0700 Date: Thu, 27 May 2004 07:59:48 -0700 From: Brooks Davis To: Anton Alin-Adrian Message-ID: <20040527145948.GA30789@Odin.AC.HMC.Edu> References: <40B5E73E.9000708@reversedhell.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <40B5E73E.9000708@reversedhell.net> User-Agent: Mutt/1.5.4i cc: freebsd-hackers@freebsd.org Subject: Re: how many IP aliases X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 15:01:10 -0000 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 27, 2004 at 04:03:58PM +0300, Anton Alin-Adrian wrote: > Hi guys. >=20 > Can anyone tell me what is the limit for how many IP aliases can be setup= =20 > on the same ethernet card? >=20 > Is there a global limit for the total number of aliases in the OS? >=20 > To be clear: one needs 128 IPs (for irc vhosts) to be setup on one server= =2E=20 > Is that impossible? Addresses are attached to an interface in a linked list so there may be some inefficenies, but I don't see any reason why 128 IPs shouldn't work. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAtgJkXY6L6fI4GtQRArqNAKCo4BRkDF3jEsxg7vEo0sPbgrD20QCgtUWS K1LNbIcV8Py8wD+6Ere2esc= =loYQ -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z-- From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 08:06:32 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3265216A4CE for ; Thu, 27 May 2004 08:06:32 -0700 (PDT) Received: from mailbox.wingercom.dk (mail.julie.gl [81.19.240.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8231A43D31 for ; Thu, 27 May 2004 08:06:31 -0700 (PDT) (envelope-from per@xterm.dk) Received: from mailbox.wingercom.dk (localhost.wingercom.dk [127.0.0.1]) by mailbox.wingercom.dk (Postfix) with SMTP id 11B64931B4; Thu, 27 May 2004 17:09:49 +0200 (CEST) Received: from 62.242.151.142 (SquirrelMail authenticated user per) by mailbox.wingercom.dk with HTTP; Thu, 27 May 2004 17:09:49 +0200 (CEST) Message-ID: <50138.62.242.151.142.1085670589.squirrel@mailbox.wingercom.dk> Date: Thu, 27 May 2004 17:09:49 +0200 (CEST) From: "Per Engelbrecht" To: In-Reply-To: <40B5E73E.9000708@reversedhell.net> References: <40B5E73E.9000708@reversedhell.net> X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-hackers@freebsd.org Subject: Re: how many IP aliases X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 15:06:32 -0000 Hi Alin > Can anyone tell me what is the limit for how many IP aliases can be > setup on the same ethernet card? > > Is there a global limit for the total number of aliases in the OS? > > To be clear: one needs 128 IPs (for irc vhosts) to be setup on one > server. Is that impossible? I don't know the exact max. number for aliases on a single nic, but I do know that 128 addresses isn't a problem - depending of course on your setup such as ram, cpu, board and last but not least, nic. Don't do it on a $20 nomame-nic. respectfully /per per@xterm.dk From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 08:13:30 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DDC416A4CE for ; Thu, 27 May 2004 08:13:30 -0700 (PDT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91EE443D3F for ; Thu, 27 May 2004 08:13:29 -0700 (PDT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 18770530A; Thu, 27 May 2004 17:12:52 +0200 (CEST) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 5F62C5309; Thu, 27 May 2004 17:12:30 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id 0848033CAA; Thu, 27 May 2004 17:12:30 +0200 (CEST) To: "Per Engelbrecht" References: <40B5E73E.9000708@reversedhell.net> <50138.62.242.151.142.1085670589.squirrel@mailbox.wingercom.dk> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Thu, 27 May 2004 17:12:29 +0200 In-Reply-To: <50138.62.242.151.142.1085670589.squirrel@mailbox.wingercom.dk> (Per Engelbrecht's message of "Thu, 27 May 2004 17:09:49 +0200 (CEST)") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: freebsd-hackers@freebsd.org cc: aanton@reversedhell.net Subject: Re: how many IP aliases X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 15:13:30 -0000 "Per Engelbrecht" writes: > I don't know the exact max. number for aliases on a single nic, There is no upper limit. > but I > do know that 128 addresses isn't a problem - depending of course on > your setup such as ram, cpu, board and last but not least, nic. > Don't do it on a $20 nomame-nic. It doesn't make any difference to the NIC. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 09:06:44 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 929B016A4CE for ; Thu, 27 May 2004 09:06:44 -0700 (PDT) Received: from mailbox.wingercom.dk (mailbox.wingercom.dk [81.19.240.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C23A43D31 for ; Thu, 27 May 2004 09:06:44 -0700 (PDT) (envelope-from per@xterm.dk) Received: from mailbox.wingercom.dk (localhost.wingercom.dk [127.0.0.1]) by mailbox.wingercom.dk (Postfix) with SMTP id 287C5931B8 for ; Thu, 27 May 2004 18:10:59 +0200 (CEST) Received: from 62.242.151.142 (SquirrelMail authenticated user per) by mailbox.wingercom.dk with HTTP; Thu, 27 May 2004 18:10:59 +0200 (CEST) Message-ID: <60276.62.242.151.142.1085674259.squirrel@mailbox.wingercom.dk> Date: Thu, 27 May 2004 18:10:59 +0200 (CEST) From: "Per Engelbrecht" To: In-Reply-To: <62559.62.242.151.142.1085671999.squirrel@mailbox.wingercom.dk> References: <62559.62.242.151.142.1085671999.squirrel@mailbox.wingercom.dk> X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: how many IP aliases X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 16:06:44 -0000 >> There is no upper limit. ok. I >>> do know that 128 addresses isn't a problem - depending of course >>> on your setup such as ram, cpu, board and last but not least, >>> nic. Don't do it on a $20 nomame-nic. >> >> It doesn't make any difference to the NIC. Correct me if I'm wrong, but addresses to a interface is 'managed' by SIOCAIFADDR and yes, that has noting to do with the nic itself. But a server-box with a $20 noname-nic with a small amount of ram, a slow cpu and 128 ip-aliases sounds more like a academic exercise (even though it can be done) than a practical solution. Again correct me if I'm wrong. respectfully /per per@xterm.dk From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 09:12:14 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3614F16A4CE for ; Thu, 27 May 2004 09:12:14 -0700 (PDT) Received: from hotmail.com (bay8-f36.bay8.hotmail.com [64.4.27.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCD2843D41 for ; Thu, 27 May 2004 09:12:13 -0700 (PDT) (envelope-from bjohns123@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 27 May 2004 09:12:06 -0700 Received: from 198.93.75.2 by by8fd.bay8.hotmail.msn.com with HTTP; Thu, 27 May 2004 16:12:05 GMT X-Originating-IP: [198.93.75.2] X-Originating-Email: [bjohns123@hotmail.com] X-Sender: bjohns123@hotmail.com From: "lost inferno" To: tinguely@casselton.net, freebsd-hackers@freebsd.org Date: Thu, 27 May 2004 12:12:05 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 27 May 2004 16:12:06.0014 (UTC) FILETIME=[5AAEB1E0:01C44405] Subject: Re: KVA space problems? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bjohns123@msn.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 16:12:14 -0000 You know, of all the responses i got... it seems yours is the most technical and unbiased of the lot. Thank you for that. I wish everyone here wasnt so jaded in their own oppinion. as for the problem... From what you wrote, the best idea would be to keep the mbuf limits ether at the defaults or lower than the kva space? and or to run a 5x or later release. The reasoning for this is from an experiance i had a few months ago with a dual xeon with HT sporaticly locking up under load. I had hoped to move an old ( Free 4.8 ) onto the same hardware without hopfully having to reinstall. >From: Mark Tinguely >To: bjohns123@msn.com, freebsd-hackers@freebsd.org >Subject: Re: KVA space problems? >Date: Wed, 26 May 2004 15:47:41 -0500 (CDT) > >This has been seen before and there is at least one open problem report >that the kernel malloc() unexpectantly returns NULL in WAITOK situations. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/53382 > > --- >I think malloc returns before your patch, namely around line 199: > > va = (caddr_t) kmem_malloc(kmem_map, (vm_size_t)ctob(npg), flags >); > if (va == NULL) { > splx(s); > return ((void *) NULL); > } > >Although, I agree that the kernel malloc() should not do this, if KVM >is depleted or fragmented to this point, I suspect your changes of simply >retrying again will cause an infinite loop in malloc(). > >If malloc() sleeps waiting for KVM to be freed, my guess this will lead to >the processes to hang for a long time if not forever. > >I think this because people are bumping the MBUFs numbers up and not >changing the KVM size, once the KVM is depleted/fragmented it shouldn't >come down for a long time. > --- >The pre 5.x VM assumes KVM will not be depleted. contigmalloc() used to >leak >physical pages if the KVM got depleted. I was told "the system will panic >soon anyway, why put them back". > >--Mark Tinguely >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" _________________________________________________________________ Get 200+ ad-free, high-fidelity stations and LIVE Major League Baseball Gameday Audio! http://radio.msn.click-url.com/go/onm00200491ave/direct/01/ From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 10:36:09 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC32C16A4CE for ; Thu, 27 May 2004 10:36:09 -0700 (PDT) Received: from huva.hittite.isp.9tel.net (huva.hittite.isp.9tel.net [62.62.156.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6952643D49 for ; Thu, 27 May 2004 10:36:09 -0700 (PDT) (envelope-from clefevre-lists@9online.fr) Received: from pc2k (33.230.62.62.9nanterr1-0-ro-bas-1.9tel.net [62.62.230.33]) by huva.hittite.isp.9tel.net (Postfix) with SMTP id 4E8BC9C17B; Thu, 27 May 2004 19:36:47 +0200 (CEST) Message-ID: <00e301c44410$f7dce170$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: , References: <200405262234.i4QMYFwP027591@cinnamon.com><40B52EDD.3080306@reversedhell.net> <20040527044538.GF5009@zot.electricrain.com> Date: Thu, 27 May 2004 19:35:11 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: simple, nay, elegant pop3 implementation? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 17:36:09 -0000 "Chris Doherty" wrote: > On Thu, May 27, 2004 at 02:57:17AM +0300, Anton Alin-Adrian said: > > Andrew Beals wrote: > > >Why is there no default pop3 implementation included in the FreeBSD > > >distribution? Is it for a lack of a suitably-licensed server, or does > > >everyone believe APOP authentication is crackable? > > > > Is there any for IMAP? > > cd /usr/ports/mail ; make search key=imap > > or > > http://www.freebsd.org/ports/mail.html if you're using standard mbox format, dovecot is your freind and is faster than imap-uw since they are indexes. it also known about courier's maildir format and is really simple to configure. http://monkey.org/openbsd/archive/misc/0405/msg00490.html if you're using maildir mbox format, consider courier-imap or binc-imap. if you're using virtual domains, courier-imap would be your friend. Cyrille Lefevre. -- home: mailto:cyrille.lefevre@laposte.net From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 11:29:19 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F055F16A4CE for ; Thu, 27 May 2004 11:29:19 -0700 (PDT) Received: from mail.shock.ro (mail.shock.ro [212.93.151.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id A14CD43D46 for ; Thu, 27 May 2004 11:29:19 -0700 (PDT) (envelope-from aanton@reversedhell.net) Received: from localhost (localhost.ro [127.0.0.1]) by mail.shock.ro (Postfix) with ESMTP id ED2AF82 for ; Thu, 27 May 2004 21:27:12 +0300 (EEST) Received: from mail.shock.ro ([127.0.0.1]) by localhost (mail.shock.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 65281-10 for ; Thu, 27 May 2004 21:27:12 +0300 (EEST) Received: from [10.0.0.2] (unknown [81.196.32.25]) by mail.shock.ro (Postfix) with ESMTP id 42E067E for ; Thu, 27 May 2004 21:27:12 +0300 (EEST) Message-ID: <40B63367.4070809@reversedhell.net> Date: Thu, 27 May 2004 21:28:55 +0300 From: Anton Alin-Adrian User-Agent: Mozilla Thunderbird 0.6 (X11/20040516) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <62559.62.242.151.142.1085671999.squirrel@mailbox.wingercom.dk> <60276.62.242.151.142.1085674259.squirrel@mailbox.wingercom.dk> In-Reply-To: <60276.62.242.151.142.1085674259.squirrel@mailbox.wingercom.dk> X-Enigmail-Version: 0.84.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at shock.ro Subject: Re: how many IP aliases X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 18:29:20 -0000 Per Engelbrecht wrote: >>>There is no upper limit. > > > ok. > I > great. got that. >>>>do know that 128 addresses isn't a problem - depending of course >>>>on your setup such as ram, cpu, board and last but not least, >>>>nic. Don't do it on a $20 nomame-nic. >>> >>>It doesn't make any difference to the NIC. Well I understand it's just a linked list with aprox 128 nodes. That should be OK on decent RAM and CPU. > > > Correct me if I'm wrong, but addresses to a interface is 'managed' > by SIOCAIFADDR and yes, that has noting to do with the nic itself. > They have nothing to do with NICs, they have to do with OS implementation. NICs talk on ethernet level, and I don't know any NIC's designed with special hardware for handling IP aliases. Intel's FXPs rule, because they even do CRC and QoS with microchip:). Probably his point was no-name hardware with small buffers may add to the latency. Thank you all so much! Best Wishes, -- Alin-Adrian Anton Reversed Hell Networks GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E) gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 14:14:01 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA13716A4CE for ; Thu, 27 May 2004 14:14:01 -0700 (PDT) Received: from aries.ai.net (aries.ai.net [205.134.163.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 819F943D31 for ; Thu, 27 May 2004 14:14:01 -0700 (PDT) (envelope-from deepak@ai.net) Received: from ai.net ([141.156.111.75]) by aries.ai.net (8.9.3/8.9.3) with ESMTP id RAA04105; Thu, 27 May 2004 17:12:17 -0400 (EDT) (envelope-from deepak@ai.net) Message-ID: <40B659AB.7070109@ai.net> Date: Thu, 27 May 2004 17:12:11 -0400 From: Deepak Jain User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-hackers@freebsd.org cc: bjohns123@msn.com Subject: Re: KVA space problems? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 21:14:02 -0000 Dag-Erling Smørgrav wrote: > First of all, you need to realize that GoBSD is a DragonFly advocacy > site. That doesn't necessarily make it a bad site, but it does mean > it's biased. I'm only going to respond to the opinion section of the post, not the technical patch. "The successor of the very stable and reliable line of the FreeBSD 4.x series is the development line of DragonFlyBSD." -http://gobsd.com/bsd My question to that author would be "Why base something off of something unstable?" For the record, we run over 35,000 FreeBSD machines all over the world (real number is higher, I'm just giving you the last total I have) as production, 24/7 machines on our own network. We are fine with DragonFly too, but its more like choosing from types of the same fruit, not necessarily apples and oranges.. think Golden Delicious vs Red Delicious. I don't have anything to technically discuss the memory concerns in that patch only that everything is solvable. Yahoo and hundreds of other companies rely on FreeBSD for production equipment. DJ From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 16:04:39 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A64C16A4CE for ; Thu, 27 May 2004 16:04:39 -0700 (PDT) Received: from diaspar.rdsnet.ro (diaspar.rdsnet.ro [213.157.165.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8576F43D1D for ; Thu, 27 May 2004 16:04:38 -0700 (PDT) (envelope-from dudu@diaspar.rdsnet.ro) Received: (qmail 5268 invoked by uid 89); 27 May 2004 23:04:40 -0000 Received: from unknown (HELO diaspar.rdsnet.ro) (dudu@diaspar.rdsnet.ro@213.157.165.224) by 0 with AES256-SHA encrypted SMTP; 27 May 2004 23:04:40 -0000 Date: Fri, 28 May 2004 02:04:38 +0300 From: Vlad GALU To: freebsd-hackers@freebsd.org Message-Id: <20040528020438.3bad0d69.dudu@diaspar.rdsnet.ro> X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Fri__28_May_2004_02_04_38_+0300_2DuA1yRmHq8VrpKC" Subject: KLD trouble X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 23:04:39 -0000 --Signature=_Fri__28_May_2004_02_04_38_+0300_2DuA1yRmHq8VrpKC Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit Hi there. I've been writing a KLD which contains a control syscall. I then use the macro SYSCALL_MODULE with the desired parameters. Normally, my syscall would automatically get the next free syscall number. But it seems I've done something wrong, because I get negative numbers all the time, which is not correct. Any idea why ? Has this happened to anyone else before ? I read the code several times trying to find the bug, but it was exactly like the one used in the examples in /usr/share/examples/kld/syscall/module. I'm quite lost here ... ---- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. --Signature=_Fri__28_May_2004_02_04_38_+0300_2DuA1yRmHq8VrpKC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAtnQHP5WtpVOrzpcRAuGyAJ9pReSavwd1yXvTPXGwkNYJLrlKOgCaA/0W cPujBbjGmoO9KDoBDkIbTpE= =5c8P -----END PGP SIGNATURE----- --Signature=_Fri__28_May_2004_02_04_38_+0300_2DuA1yRmHq8VrpKC-- From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 19:08:20 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 538FD16A4CE for ; Thu, 27 May 2004 19:08:20 -0700 (PDT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC17643D3F for ; Thu, 27 May 2004 19:08:19 -0700 (PDT) (envelope-from clefevre-lists@9online.fr) Received: from pc2k (unknown [80.119.167.76]) by ioskeha.hittite.isp.9tel.net (Postfix) with SMTP id D914517B558 for ; Fri, 28 May 2004 04:08:29 +0200 (CEST) Message-ID: <00ce01c44458$8a28d880$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: "Hackers FreeBSD" Date: Fri, 28 May 2004 04:07:32 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Darwin cmd import? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 02:08:20 -0000 regarding the APSL (http://www.opensource.apple.com/apsl/), do you think it is possible to import some darwin commands w/ mods. for instance, I thing to decomment and relpath from bootstrap_cmds, sadc and sar from system_cmds, and maybe some others in the future. also, how about to import NetBSD shlock ? and CMU md (a sort of mkdep in C) ? PS : decomment and relpath only need some mods while sadc would need a large amount of mods, don't know about sar. Cyrille Lefevre. -- home: mailto:cyrille.lefevre@laposte.net From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 21:31:41 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E85216A4CE for ; Thu, 27 May 2004 21:31:41 -0700 (PDT) Received: from mail.cableone.net (scanmail2.cableone.net [24.116.0.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 869A143D1F for ; Thu, 27 May 2004 21:31:38 -0700 (PDT) (envelope-from kitbsdlist2@HotPOP.com) Received: from vixen42.24-119-122-191.cpe.cableone.net (unverified [24.119.122.191]) by smail2.cableone.net (SurgeMail 1.5d2) with ESMTP id 2023910 for multiple; Thu, 27 May 2004 21:18:34 -0700 Date: Thu, 27 May 2004 21:27:59 -0500 From: Vulpes Velox To: "Cyrille Lefevre" Message-Id: <20040527212759.77c409a7@vixen42.24-119-122-191.cpe.cableone.net> In-Reply-To: <00ce01c44458$8a28d880$7890a8c0@dyndns.org> References: <00ce01c44458$8a28d880$7890a8c0@dyndns.org> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Server: High Performance Mail Server - http://surgemail.com cc: Hackers FreeBSD Subject: Re: Darwin cmd import? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 04:31:41 -0000 On Fri, 28 May 2004 04:07:32 +0200 "Cyrille Lefevre" wrote: > regarding the APSL (http://www.opensource.apple.com/apsl/), > do you think it is possible to import some darwin commands w/ mods. > > for instance, I thing to decomment and relpath from bootstrap_cmds, > sadc and sar from system_cmds, and maybe some others in the future. > > also, how about to import NetBSD shlock ? and CMU md (a sort of > mkdep in C) ? > > PS : decomment and relpath only need some mods while sadc would need > a large amount of mods, don't know about sar. Got links to what they do or any thing? If decomment does what it sounds like, then it can be solved using grep... iirc it is possible to tell it to kick out all lines that do not match a patern... From owner-freebsd-hackers@FreeBSD.ORG Fri May 28 03:39:44 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 683FA16A4CE for ; Fri, 28 May 2004 03:39:44 -0700 (PDT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEA2643D2F for ; Fri, 28 May 2004 03:39:43 -0700 (PDT) (envelope-from clefevre-lists@9online.fr) Received: from pc2k (unknown [80.119.167.76]) by ioskeha.hittite.isp.9tel.net (Postfix) with SMTP id 07E5017B4AE; Fri, 28 May 2004 12:39:07 +0200 (CEST) Message-ID: <022301c4449f$df350820$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: "Vulpes Velox" References: <00ce01c44458$8a28d880$7890a8c0@dyndns.org> <20040527212759.77c409a7@vixen42.24-119-122-191.cpe.cableone.net> Date: Fri, 28 May 2004 12:38:10 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 cc: Hackers FreeBSD Subject: Re: Darwin cmd import? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 10:39:44 -0000 "Vulpes Velox" wrote: > On Fri, 28 May 2004 04:07:32 +0200 > "Cyrille Lefevre" wrote: > > > regarding the APSL (http://www.opensource.apple.com/apsl/), > > do you think it is possible to import some darwin commands w/ mods. > > > > for instance, I thing to decomment and relpath from bootstrap_cmds, > > sadc and sar from system_cmds, and maybe some others in the future. > > > > also, how about to import NetBSD shlock ? and CMU md (a sort of > > mkdep in C) ? > > > > PS : decomment and relpath only need some mods while sadc would need > > a large amount of mods, don't know about sar. > > Got links to what they do or any thing? http://www.opensource.apple.com/darwinsource/10.3.4/bootstrap_cmds-44/ http://www.opensource.apple.com/darwinsource/10.3.4/system_cmds-279.6/ if the above link need to be registered, let's try google "darwin +decomment" :) > If decomment does what it sounds like, then it can be solved using > grep... iirc it is possible to tell it to kick out all lines that do > not match a patern... thank you, but decomment isn't just a grep oneliner :P relpath - calculate the relative path between two path. decomment - get rid of C/C++ comments. sadc/sar - system activity reporter (ac like, but more powerfull). Cyrille Lefevre. -- home: mailto:cyrille.lefevre@laposte.net From owner-freebsd-hackers@FreeBSD.ORG Fri May 28 15:52:25 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7809216A4CE for ; Fri, 28 May 2004 15:52:25 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id DFF0943D31 for ; Fri, 28 May 2004 15:52:24 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 86592 invoked from network); 28 May 2004 22:51:44 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 28 May 2004 22:51:44 -0000 X-pair-Authenticated: 209.68.2.70 Date: Fri, 28 May 2004 17:51:43 -0500 (CDT) From: Mike Silbersack To: Bosko Milekic In-Reply-To: <20040526203431.GA17806@freefall.freebsd.org> Message-ID: <20040528174723.I9659@odysseus.silby.com> References: <20040526203431.GA17806@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: Network buffer allocations: mbuma, PLEASE TEST X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 22:52:25 -0000 On Wed, 26 May 2004, Bosko Milekic wrote: > Hi, > > If you're running -CURRENT, please test this: > > http://people.freebsd.org/~bmilekic/code/mbuma2.diff > > It is several extensions to UMA and mbuf & cluster allocation > built on top of it. Sounds good in theory, but I'm too lazy to test it. The m_getcl changes looked ok to my quick read of the patch, but I didn't look through the mbuma implementation at all. Mike "Silby" Silbersack From owner-freebsd-hackers@FreeBSD.ORG Fri May 28 19:06:24 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1DA716A4CE for ; Fri, 28 May 2004 19:06:23 -0700 (PDT) Received: from multiplay.co.uk (www1.multiplay.co.uk [212.42.16.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D8B843D3F for ; Fri, 28 May 2004 19:06:23 -0700 (PDT) (envelope-from killing@multiplay.co.uk) Received: from steven ([193.123.241.40]) by multiplay.co.uk (multiplay.co.uk [212.42.16.7]) (MDaemon.PRO.v7.1.0.R) with ESMTP id md50000242185.msg for ; Thu, 27 May 2004 14:07:06 +0100 Message-ID: <0a2e01c443ec$1466c9c0$7b07000a@int.mediasurface.com> From: "Steven Hartland" To: "Anton Alin-Adrian" , References: <40B5E73E.9000708@reversedhell.net> Date: Thu, 27 May 2004 14:10:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Processed: multiplay.co.uk, Thu, 27 May 2004 14:07:06 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 193.123.241.40 X-Return-Path: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-hackers@freebsd.org X-MDAV-Processed: multiplay.co.uk, Thu, 27 May 2004 14:07:09 +0100 Subject: Re: how many IP aliases X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2004 02:06:24 -0000 Cant u use namebased vhosts? Or different ports? Steve ----- Original Message ----- From: "Anton Alin-Adrian" To: Sent: 27 May 2004 14:03 Subject: how many IP aliases > Hi guys. > > Can anyone tell me what is the limit for how many IP aliases can be setup > on the same ethernet card? > > Is there a global limit for the total number of aliases in the OS? > > To be clear: one needs 128 IPs (for irc vhosts) to be setup on one server. > Is that impossible? ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Fri May 28 19:06:24 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F208216A4CF for ; Fri, 28 May 2004 19:06:23 -0700 (PDT) Received: from multiplay.co.uk (www1.multiplay.co.uk [212.42.16.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D74D43D31 for ; Fri, 28 May 2004 19:06:23 -0700 (PDT) (envelope-from killing@multiplay.co.uk) Received: from steven ([193.123.241.40]) by multiplay.co.uk (multiplay.co.uk [212.42.16.7]) (MDaemon.PRO.v7.1.0.R) with ESMTP id md50000242272.msg for ; Thu, 27 May 2004 14:33:54 +0100 Message-ID: <0a6701c443ef$cfe89ef0$7b07000a@int.mediasurface.com> From: "Steven Hartland" To: "Anton Alin-Adrian" References: <40B5E73E.9000708@reversedhell.net><0a2e01c443ec$1466c9c0$7b07000a@int.mediasurface.com> <40B5EB68.5000308@reversedhell.net> Date: Thu, 27 May 2004 14:37:52 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Processed: multiplay.co.uk, Thu, 27 May 2004 14:33:54 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 193.123.241.40 X-Return-Path: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-hackers@freebsd.org X-MDAV-Processed: multiplay.co.uk, Thu, 27 May 2004 14:33:57 +0100 cc: freebsd-hackers@freebsd.org Subject: Re: how many IP aliases X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2004 02:06:24 -0000 Ah I assumed u meant irc vhost "servers" Still leaves there question why would each psync require a specific IP? If the IRC network you connection to limits on connections per IP e.g. QuakeNet ( which all should do ). You just need to apply for a trust for "X" connections and your all sorted. Using multiple IP's for such a use would be totally wasteful. Steve ----- Original Message ----- From: "Anton Alin-Adrian" > Different ports? Why would be using different ports different? They (users) > need to go out to irc with a different IP each time they connect. In order > to do that, psybnc needs to use that specific IP when connecting outside to > the IRC server. I don't see how different ports will change this situation. > > Nambased vhosts work for web, I guess, but not for IRC. > > Let one correct me if I am wrong. ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-hackers@FreeBSD.ORG Sat May 29 16:56:13 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 492F816A4CE for ; Sat, 29 May 2004 16:56:13 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E68AB43D1D for ; Sat, 29 May 2004 16:56:12 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i4TNtVv6030020; Sat, 29 May 2004 19:55:31 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i4TNtLmm030017; Sat, 29 May 2004 19:55:31 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sat, 29 May 2004 19:55:21 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Cyrille Lefevre In-Reply-To: <00ce01c44458$8a28d880$7890a8c0@dyndns.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Hackers FreeBSD Subject: Re: Darwin cmd import? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2004 23:56:13 -0000 On Fri, 28 May 2004, Cyrille Lefevre wrote: > regarding the APSL (http://www.opensource.apple.com/apsl/), do you think > it is possible to import some darwin commands w/ mods. > > for instance, I thing to decomment and relpath from bootstrap_cmds, sadc > and sar from system_cmds, and maybe some others in the future. > > also, how about to import NetBSD shlock ? and CMU md (a sort of mkdep in > C) ? > > PS : decomment and relpath only need some mods while sadc would need a > large amount of mods, don't know about sar. The FreeBSD Core Team took a look at the APSL a while back, and decided that similar to LGPL/GPL, it was an acceptable license for use in userspace for stand-alone tools, but that similar protections to LGPL/GPL would be required for kernel code (not built by default, carefully marked, etc). That said, Apple tends to release only code they've heavily rewritten or created from scratch under APSL; code they modify tends to remain under the existing license (CMU, BSD, etc). Generally they're careful to label the license on the download page. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research From owner-freebsd-hackers@FreeBSD.ORG Sat May 29 17:28:47 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1993316A4CE for ; Sat, 29 May 2004 17:28:47 -0700 (PDT) Received: from outfbmx006.isp.belgacom.be (outfbmx006.isp.belgacom.be [195.238.3.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89A3443D3F for ; Sat, 29 May 2004 17:28:46 -0700 (PDT) (envelope-from geert@lori.mine.nu) Received: from outmx003.isp.belgacom.be (outmx003.isp.belgacom.be [195.238.2.100]) (8.12.11/8.12.11/Skynet-OUT-FALLBACK-2.22) with ESMTP id i4TK8MTS026410 for ; Sat, 29 May 2004 22:08:22 +0200 (envelope-from ) Received: from outmx003.isp.belgacom.be (localhost [127.0.0.1]) with ESMTP id i4TK86VZ025584 for ; Sat, 29 May 2004 22:08:07 +0200 (envelope-from ) Received: from lori.mine.nu (199-55.240.81.adsl.skynet.be [81.240.55.199]) with ESMTP id i4TK7xNk025527 for ; Sat, 29 May 2004 22:07:59 +0200 (envelope-from ) Received: by lori.mine.nu (Postfix, from userid 1000) id 02C96DCE; Sat, 29 May 2004 22:07:48 +0200 (CEST) Date: Sat, 29 May 2004 22:07:48 +0200 From: Geert Hendrickx To: freebsd-hackers@freebsd.org Message-ID: <20040529200748.GA87145@lori.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i X-PGP-Key: http://www.win.ua.ac.be/~s005085/gnupgkey.txt Subject: documentation on sysctl vm.defer_swapspace_pageouts? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2004 00:28:47 -0000 Hi, where can I find documentation on the vm.defer_swapspace_pageouts sysctl? LINT only mentions it, without explaining, man sysctl doesn't mention it at all, and even Google yields very few useful results... I was looking for a way to tune swap-usage a bit, I heard Linux has a "swappiness" setting (telling the kernel how easy it should go with paging out), and I hoped FreeBSD would have something similar. vm.defer_swapspace_pageouts might do the trick, but so it seems to be poorly documented... GH