From owner-freebsd-arch@FreeBSD.ORG Sun May 11 10:07:20 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DF6937B401 for ; Sun, 11 May 2003 10:07:20 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 963D143FBD for ; Sun, 11 May 2003 10:07:19 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h4BGYWkA006052 for ; Sun, 11 May 2003 10:38:17 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 11 May 2003 10:34:12 -0600 (MDT) Message-Id: <20030511.103412.15266142.imp@bsdimp.com> To: freebsd-arch@freebsd.org From: "M. Warner Losh" In-Reply-To: <20030509154304.GC61844@dragon.nuxi.com> References: <200305081617.h48GHcZT008633@arch20m.dellroad.org> <20030509154304.GC61844@dragon.nuxi.com> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: `Hiding' libc symbols X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2003 17:07:20 -0000 In message: <20030509154304.GC61844@dragon.nuxi.com> "David O'Brien" writes: : On Thu, May 08, 2003 at 01:20:28PM -0400, Daniel Eischen wrote: : > At any rate, can we please put this thread to rest until : > Jacques comes back from vacation? It doesn't make sense : > arguing about it when the main proponent of it is not : > here. : : This thread doesn't make sense regardless of who is on vacation. Those : of us opposed to this change have shown enough opposition that there will : not be a consisenses on this issue. (at least not this go around) This : thread should just die period. No you haven't shown that opposition. You've just shown that you can be loud and not have a full command of the facts of the situation. We already hide some of the symbols. Geeze Warner From owner-freebsd-arch@FreeBSD.ORG Sun May 11 16:29:17 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07FA037B401 for ; Sun, 11 May 2003 16:29:17 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5099643FD7 for ; Sun, 11 May 2003 16:29:16 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h4BNSvm2066869; Sun, 11 May 2003 16:28:57 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h4BNSvx6066868; Sun, 11 May 2003 16:28:57 -0700 (PDT) Date: Sun, 11 May 2003 16:28:57 -0700 From: "David O'Brien" To: "M. Warner Losh" Message-ID: <20030511232857.GB66670@dragon.nuxi.com> References: <200305081617.h48GHcZT008633@arch20m.dellroad.org> <20030509154304.GC61844@dragon.nuxi.com> <20030511.103412.15266142.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030511.103412.15266142.imp@bsdimp.com> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: freebsd-arch@freebsd.org Subject: Re: `Hiding' libc symbols X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-arch@freebsd.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2003 23:29:17 -0000 On Sun, May 11, 2003 at 10:34:12AM -0600, M. Warner Losh wrote: > In message: <20030509154304.GC61844@dragon.nuxi.com> > "David O'Brien" writes: > : On Thu, May 08, 2003 at 01:20:28PM -0400, Daniel Eischen wrote: > : > At any rate, can we please put this thread to rest until > : > Jacques comes back from vacation? It doesn't make sense > : > arguing about it when the main proponent of it is not > : > here. > : > : This thread doesn't make sense regardless of who is on vacation. Those > : of us opposed to this change have shown enough opposition that there will > : not be a consisenses on this issue. (at least not this go around) This > : thread should just die period. > > No you haven't shown that opposition. You've just shown that you can > be loud and not have a full command of the facts of the situation. We > already hide some of the symbols. Geeze Geeze what are you talking about? You don't think there is opposition to Jacques commit and anything like it? Do I need to list all the names of us that didn't like the commit that started all this? So what if some symbols are already hidden. I and other don't like that either -- but it seems we have to tolerate that for a threading library. "loud", "full command"... if you think there is or can be any consisenses of this issue in the freebsd-arch@ list, you haven't been reading the thread. Do you really think this issue can be settled in this forum right now?? Geeze. -- David From owner-freebsd-arch@FreeBSD.ORG Mon May 12 08:44:07 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BCD337B401; Mon, 12 May 2003 08:44:07 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 836E243F93; Mon, 12 May 2003 08:44:06 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h4A0IVT34061; Fri, 9 May 2003 20:18:31 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Fri, 9 May 2003 20:18:31 -0400 (EDT) From: Jeff Roberson To: John Baldwin In-Reply-To: Message-ID: <20030509201646.Q99131-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org Subject: Re: [Bikeshed] sigacts locking X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 15:44:07 -0000 On Fri, 9 May 2003, John Baldwin wrote: > As part of the locking for the proc structure, I needed to lock > the procsig and sigacts stuctures so that kill(), killpg(), > sigaction() and a few other system calls can be pulled out from > under Giant. After talking with Peter some, I decided to > pull the sigacts structure out of the u-area and merge it with > the procsig structure under the sigacts name. I then added a > mutex to each sigacts and added locking where appropriate. With > this change, the aforementioned system calls are now MP safe > along with sendsig(), *signal(), cursig(), etc. The patch for > all this is at http://www.FreeBSD.org/~jhb/patches/sigacts.patch > I would appreciate comments, review, etc. that people may have. > If all goes well I hope to get this into 5.1. Thanks. > I'm all for this, but I have a few concerns. Right now the UAREA is mostly taken up by sigacts. Without it the page is quite empty. This means that we'll be allocating more storage elsewhere while leaving this for nothing. Have you given any thought to removing the other bits from uarea, or allocating uarea using a zone instead of a whole page? Alternatively, you could disable paging for the uarea and leave sigacts in it. I just hate to s ee the wasted space. Cheers, Jeff From owner-freebsd-arch@FreeBSD.ORG Mon May 12 09:20:50 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C05C37B401; Mon, 12 May 2003 09:20:50 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C61443FCB; Mon, 12 May 2003 09:20:45 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 244352A7EA; Mon, 12 May 2003 09:20:45 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Bruce Evans In-Reply-To: <20030511152818.Q74382@gamplex.bde.org> Date: Mon, 12 May 2003 09:20:45 -0700 From: Peter Wemm Message-Id: <20030512162045.244352A7EA@canning.wemm.org> cc: arch@freebsd.org cc: David Schultz Subject: Re: [Bikeshed] sigacts locking X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 16:20:50 -0000 Bruce Evans wrote: > On Sat, 10 May 2003, David Schultz wrote: > > > On Fri, May 09, 2003, John Baldwin wrote: > > > As part of the locking for the proc structure, I needed to lock > > > the procsig and sigacts stuctures so that kill(), killpg(), > > > sigaction() and a few other system calls can be pulled out from > > > under Giant. After talking with Peter some, I decided to > > > pull the sigacts structure out of the u-area and merge it with > > > the procsig structure under the sigacts name. I then added a > > > ... > > > > It occurs to me that this leaves very little in the uarea. You > > have a struct pstats, which is less than 256 bytes, and you have > > the kinfo_proc, which shouldn't need to be there anyway. Perhaps > > now would also be a good time to get rid of uarea swapping and the > > associated complexity altogether. > > I think this was planned. See an old thread about not swapping either > the uarea or the stack. It was agreed (?) that the uarea could go but > not swapping of the stack. That is my recollection as well. Recently I've been thinking evil thoughts about the pcb as well.. ie: move it out of the stack, and leave the kstack pages solely for the kstack. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 From owner-freebsd-arch@FreeBSD.ORG Mon May 12 11:28:06 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2264D37B401; Mon, 12 May 2003 11:28:06 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6892D44005; Mon, 12 May 2003 11:28:05 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h4CIRvm2022179; Mon, 12 May 2003 11:28:01 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h4CIRudM022178; Mon, 12 May 2003 11:27:56 -0700 (PDT) Date: Mon, 12 May 2003 11:27:56 -0700 From: "David O'Brien" To: John Baldwin Message-ID: <20030512182756.GA21663@dragon.nuxi.com> Mail-Followup-To: David O'Brien , John Baldwin References: <20030509063210.GA16323@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: arch@FreeBSD.org Subject: Re: Fw: /rescue X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: arch@FreeBSD.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 18:28:06 -0000 On Fri, May 09, 2003 at 01:49:21PM -0400, John Baldwin wrote: > > Why?? /stand is the static bits you start with. 'make world' is free to > > expand and update them. > > make world doesn't even know it exists. /stand isn't present in > /etc/mtree/BSD.root.dist make world and /etc/mtree/BSD.root.dist doesn't know about your /rescue either. I guess we're done then. Lets go eBay'ing. > > If not, then please have sysinstall rm -rf /stand. > > *shrug*, it is an artifact that has proved useful in the past for > system recovery. If /rescue becomes a reality then I would have no > problem with /stand being removed after a successful install. Uh? The /rescue you refer to will be used for system recovery. I'm not sure there is any question that we need to switch to dynamic / for NSS, PAM, new protocols, support for LDAP, etc... From owner-freebsd-arch@FreeBSD.ORG Mon May 12 12:49:04 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 653D937B401 for ; Mon, 12 May 2003 12:49:04 -0700 (PDT) Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id A891843F3F for ; Mon, 12 May 2003 12:49:03 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 13162 invoked from network); 12 May 2003 19:49:10 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 12 May 2003 19:49:10 -0000 Received: from laptop.baldwin.cx ([216.133.140.1]) by server.baldwin.cx (8.12.8/8.12.8) with ESMTP id h4CJmvp0024755; Mon, 12 May 2003 15:48:58 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030509201646.Q99131-100000@mail.chesapeake.net> Date: Mon, 12 May 2003 15:48:04 -0400 (EDT) From: John Baldwin To: Jeff Roberson cc: arch@freebsd.org Subject: Re: [Bikeshed] sigacts locking X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 19:49:04 -0000 On 10-May-2003 Jeff Roberson wrote: > On Fri, 9 May 2003, John Baldwin wrote: > >> As part of the locking for the proc structure, I needed to lock >> the procsig and sigacts stuctures so that kill(), killpg(), >> sigaction() and a few other system calls can be pulled out from >> under Giant. After talking with Peter some, I decided to >> pull the sigacts structure out of the u-area and merge it with >> the procsig structure under the sigacts name. I then added a >> mutex to each sigacts and added locking where appropriate. With >> this change, the aforementioned system calls are now MP safe >> along with sendsig(), *signal(), cursig(), etc. The patch for >> all this is at http://www.FreeBSD.org/~jhb/patches/sigacts.patch >> I would appreciate comments, review, etc. that people may have. >> If all goes well I hope to get this into 5.1. Thanks. >> > > I'm all for this, but I have a few concerns. Right now the UAREA is > mostly taken up by sigacts. Without it the page is quite empty. This > means that we'll be allocating more storage elsewhere while leaving this > for nothing. > > Have you given any thought to removing the other bits from uarea, or > allocating uarea using a zone instead of a whole page? Alternatively, you > could disable paging for the uarea and leave sigacts in it. Leaving sigacts in the u-area is quite ugly because for rfork() RFTHREAD processes we don't use the sigacts in the u-area, we use a malloc'd one instead. Accomplishing that is quite ugly. > I just hate to s ee the wasted space. I don't have any future plans for the u-area specifically. Any of your suggestions (using a zone, axeing it completely, etc.) sound fine to me as to how to avoid wasting space. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-freebsd-arch@FreeBSD.ORG Mon May 12 14:26:09 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D7E937B401 for ; Mon, 12 May 2003 14:26:09 -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 6801243FB1 for ; Mon, 12 May 2003 14:26:08 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org (big.x.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id h4CLPttJ017529; Mon, 12 May 2003 14:25:56 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3EC011C1.7020100@acm.org> Date: Mon, 12 May 2003 14:27:29 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.6) Gecko/20011206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gordon Tetlow , imp@bsdimp.com, freebsd-arch@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PATCH: Dynamic /bin support X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 21:26:09 -0000 > Tim posted this a while ago to hackers@. It looked like it was > further along than what's been posted here. Just to clarify, my /rescue patches are, in a sense, orthogonal to what Gordon's doing here, although they are an important part of getting to a fully-dynamic system. About six months ago, Nate Lawson and I had a discussion with Luke Mewburn of NetBSD about dynamic linking. Luke outlined the following strategy: 1) Get /rescue working. This way, you'll be able to recover when you screw up badly. ;-) This is also an absolute prerequisite to getting wide support for a fully-dynamic system. 2) Double-check load path defaults in ld-elf.so. 3) Move critical libraries to /lib (with compatibility symlinks from /usr/lib, of course) 4) Implement a big knob for selecting fully-dynamic or "classic" system. I've done the first part; it's just waiting to get committed. Gordon is working on step #3. Gordon should also note that, in order to get all of /bin and /sbin into /rescue, I had to make a definitive list of required libs. Check out the Makefile, it's all in there. Tim From owner-freebsd-arch@FreeBSD.ORG Mon May 12 23:18:57 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9486F37B401 for ; Mon, 12 May 2003 23:18:57 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1E2643F85 for ; Mon, 12 May 2003 23:18:56 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h4D6ItkA021794 for ; Tue, 13 May 2003 00:18:56 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 13 May 2003 00:18:15 -0600 (MDT) Message-Id: <20030513.001815.55840081.imp@bsdimp.com> To: arch@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Moving the generation of foodevs.h to build time X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 06:18:58 -0000 OK. Here's a start at moving it. First, we have to move devlist2h.awk out of tools back to dev/mii/devlist2h.awk. It shouldn't be in tool if it only generates MII code, and it is hard to merge all the devlist2h.awks in the tree because their requirements are so differnet (at least on the surface). Second, apply the following patch. Third, we have to get rid of the special cases mii that were foisted onto kern.post.mk and come up with a more generic way to cope with the problem: -.if !exists(.depend) -acphy.o amphy.o bmtphy.o brgphy.o dcphy.o e1000phy.o exphy.o if_bge.o if_tx.o \ -inphy.o lxtphy.o nsgphy.o nsphy.o pnaphy.o pnphy.o qsphy.o rlphy.o tdkphy.o \ -tlphy.o xmphy.o: miidevs.h -.endif because listing every .o that has these things is duplicating 'make depend' needlessly. We'd also have to hack all the drivers in the tree to include "foodevs.h" rather than , and accept that some of them will have ifdefs for 4.x (since bus front ends are still trivial to share between 4.x and 5.0). I've not included this task in these initial patches. Personally, I think it just isn't worth the pain to deal. However, I'd be willing to go along with it if we can work up a complete set of patches that don't break anything that works now. Also, my checklist for a 'working' solution is: 1) Allow out of tree builds of a single module w/o any sys/module/* built (eg build ~imp/fred/usb_blob with SYSDIR set ~imp/FreeBSD/src/sys). 2) kernel and modules work, both built together and modules built directly in sys/modules. 3) This doesn't mess up dependencies. The mii migration messed them up for me and sometimes bad things still happen (but it may be a generic make depends bug). 4) Works with and without a objdir 5) doesn't add significantly to the build time. 6) Passes the 'I can build one module' test (eg, doesn't require other modules to be built before a client driver can be built). Warner Index: conf/kmod.mk =================================================================== RCS file: /home/ncvs/src/sys/conf/kmod.mk,v retrieving revision 1.137 diff -u -r1.137 kmod.mk --- conf/kmod.mk 3 Mar 2003 22:51:22 -0000 1.137 +++ conf/kmod.mk 13 May 2003 06:06:30 -0000 @@ -286,15 +286,16 @@ .endif .endfor -.if ${SRCS:Mmiidevs.h} != "" -CLEANFILES+= miidevs.h +.for _dev in mii usb pccard +.if ${SRCS:M${_dev}devs.h} != "" +CLEANFILES+= ${_dev}devs.h .if !exists(@) miidevs.h: @ .endif .if exists(@) -miidevs.h: @/tools/devlist2h.awk @/dev/mii/miidevs +miidevs.h: @/tools/devlist2h.awk @/dev/${_dev}/${_dev}devs .endif - ${AWK} -f @/tools/devlist2h.awk @/dev/mii/miidevs + ${AWK} -f @/dev/${_dev}/devlist2h.awk @/dev/${_dev}/${_dev}devs .endif regress: Index: dev/mii/devlist2h.awk =================================================================== RCS file: dev/mii/devlist2h.awk diff -N dev/mii/devlist2h.awk --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ dev/mii/devlist2h.awk 13 May 2003 06:06:30 -0000 @@ -0,0 +1,147 @@ +#! /usr/bin/awk -f +# $NetBSD: devlist2h.awk,v 1.2 1998/09/05 14:42:06 christos Exp $ +# +# Copyright (c) 1998 The NetBSD Foundation, Inc. +# All rights reserved. +# +# This code is derived from software contributed to The NetBSD Foundation +# by Christos Zoulas. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# 3. All advertising materials mentioning features or use of this software +# must display the following acknowledgement: +# This product includes software developed by the NetBSD +# Foundation, Inc. and its contributors. +# 4. Neither the name of The NetBSD Foundation nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS +# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# +# Copyright (c) 1995, 1996 Christopher G. Demetriou +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# 3. All advertising materials mentioning features or use of this software +# must display the following acknowledgement: +# This model includes software developed by Christopher G. Demetriou. +# This model includes software developed by Christos Zoulas +# 4. The name of the author(s) may not be used to endorse or promote models +# derived from this software without specific prior written permission +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# $FreeBSD: src/sys/tools/devlist2h.awk,v 1.4 2003/01/19 02:59:34 obrien Exp $ +# +function collectline(f, line) { + oparen = 0 + line = "" + while (f <= NF) { + if ($f == "#") { + line = line "(" + oparen = 1 + f++ + continue + } + if (oparen) { + line = line $f + if (f < NF) + line = line " " + f++ + continue + } + line = line $f + if (f < NF) + line = line " " + f++ + } + if (oparen) + line = line ")" + return line +} +BEGIN { + nmodels = nouis = 0 + hfile="miidevs.h" +} +NR == 1 { + VERSION = $0 + gsub("\\$", "", VERSION) + + printf("/* \$FreeBSD\$ */\n\n") > hfile + printf("/*\n") > hfile + printf(" * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.\n") \ + > hfile + printf(" *\n") > hfile + printf(" * generated from:\n") > hfile + printf(" *\t%s\n", VERSION) > hfile + printf(" */\n") > hfile + + next +} +$1 == "oui" { + nuios++ + + ouiindex[$2] = nouis; # record index for this name, for later. + + ouis[nouis, 1] = $2; # name + ouis[nouis, 2] = $3; # id + printf("#define\tMII_OUI_%s\t%s\t", ouis[nouis, 1], + ouis[nouis, 2]) > hfile + ouis[nouis, 3] = collectline(4, line) + printf("/* %s */\n", ouis[nouis, 3]) > hfile + next +} +$1 == "model" { + nmodels++ + + models[nmodels, 1] = $2; # oui name + models[nmodels, 2] = $3; # model id + models[nmodels, 3] = $4; # id + + printf("#define\tMII_MODEL_%s_%s\t%s\n", models[nmodels, 1], + models[nmodels, 2], models[nmodels, 3]) > hfile + + models[nmodels, 4] = collectline(5, line) + + printf("#define\tMII_STR_%s_%s\t\"%s\"\n", + models[nmodels, 1], models[nmodels, 2], + models[nmodels, 4]) > hfile + + next +} +{ + print $0 > hfile +} From owner-freebsd-arch@FreeBSD.ORG Mon May 12 23:23:29 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F4E437B401 for ; Mon, 12 May 2003 23:23:29 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8423A43F85 for ; Mon, 12 May 2003 23:23:28 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h4D6NRkA021819 for ; Tue, 13 May 2003 00:23:27 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 13 May 2003 00:22:49 -0600 (MDT) Message-Id: <20030513.002249.56047366.imp@bsdimp.com> To: freebsd-arch@freebsd.org From: "M. Warner Losh" In-Reply-To: <20030511232857.GB66670@dragon.nuxi.com> References: <20030509154304.GC61844@dragon.nuxi.com> <20030511.103412.15266142.imp@bsdimp.com> <20030511232857.GB66670@dragon.nuxi.com> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: `Hiding' libc symbols X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 06:23:29 -0000 In message: <20030511232857.GB66670@dragon.nuxi.com> "David O'Brien" writes: : On Sun, May 11, 2003 at 10:34:12AM -0600, M. Warner Losh wrote: : > In message: <20030509154304.GC61844@dragon.nuxi.com> : > "David O'Brien" writes: : > : On Thu, May 08, 2003 at 01:20:28PM -0400, Daniel Eischen wrote: : > : > At any rate, can we please put this thread to rest until : > : > Jacques comes back from vacation? It doesn't make sense : > : > arguing about it when the main proponent of it is not : > : > here. : > : : > : This thread doesn't make sense regardless of who is on vacation. Those : > : of us opposed to this change have shown enough opposition that there will : > : not be a consisenses on this issue. (at least not this go around) This : > : thread should just die period. : > : > No you haven't shown that opposition. You've just shown that you can : > be loud and not have a full command of the facts of the situation. We : > already hide some of the symbols. Geeze : : Geeze what are you talking about? You don't think there is opposition to : Jacques commit and anything like it? Do I need to list all the names of : us that didn't like the commit that started all this? So what if some : symbols are already hidden. I and other don't like that either -- but it : seems we have to tolerate that for a threading library. This is clearly a religious difference of opinion. Both sides are Right, which means progress is impossible. : "loud", "full command"... if you think there is or can be any consisenses : of this issue in the freebsd-arch@ list, you haven't been reading the : thread. Do you really think this issue can be settled in this forum : right now?? Geeze. I have been reading the thread. Near as I can tell, only you and ache were opposing things, but I must admit that I didn't count the people that I didn't think understood the issues in this list. Warner From owner-freebsd-arch@FreeBSD.ORG Tue May 13 05:44:03 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E64737B401 for ; Tue, 13 May 2003 05:44:03 -0700 (PDT) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7004043FB1 for ; Tue, 13 May 2003 05:44:02 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.12.9/8.12.9) with ESMTP id h4DChqPx027716; Tue, 13 May 2003 08:43:54 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20030513.002249.56047366.imp@bsdimp.com> References: <20030509154304.GC61844@dragon.nuxi.com> <20030511.103412.15266142.imp@bsdimp.com> <20030511232857.GB66670@dragon.nuxi.com> <20030513.002249.56047366.imp@bsdimp.com> Date: Tue, 13 May 2003 08:43:50 -0400 To: "M. Warner Losh" , freebsd-arch@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.28 Subject: Re: `Hiding' libc symbols X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 12:44:03 -0000 At 12:22 AM -0600 5/13/03, M. Warner Losh wrote: >I have been reading the thread. Near as I can tell, only you >and ache were opposing things, but I must admit that I didn't >count the people that I didn't think understood the issues in >this list. I tried to be polite by only adding one response to this thread, but I still don't see why every symbol needs to be hid. I can see having an internal version of _routineB if there is a routineA which depends on the *internal* implementation of routineB. Otherwise, if a package provides a broken routineB, that is the packages problem. People have said "but we already hide some symbols!" as if that is proof that we need to hide all symbols. Well, we also do *not* hide a lot of symbols, and it wasn't until this strlcpy example popped up that those not-hidden symbols were a big issue. This is not a problem which has been biting us over and over again, month after month, routine after routine. If we were to vote, I'd vote to stick with the status quo, but it is true that I do not feel too strongly about the issue. -- 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-arch@FreeBSD.ORG Tue May 13 07:01:19 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD48D37B401 for ; Tue, 13 May 2003 07:01:18 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51AC343F93 for ; Tue, 13 May 2003 07:01:18 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id EC39C530E; Tue, 13 May 2003 16:01:16 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: arch@freebsd.org From: Dag-Erling Smorgrav Date: Tue, 13 May 2003 16:01:15 +0200 Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: fsid_t X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 14:01:19 -0000 fsid_t is currently defined as a struct containing an array of two 32-bit ints: typedef struct fsid { int32_t val[2]; } fsid_t; /* filesystem id type */ which is ridiculous as the only place where this is actually useful is when it is initialized (val[0] is set to the udev_t and val[1] to the vfs type number) and this can easily be handled by a macro. The other significant use of fsid is to compare the fsids of two files to determine whether they are on the same fs; that would be far easier to do if fsid_t was defined as uint64_t. Are there any objections to making fsid_t a uint64_t? DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-arch@FreeBSD.ORG Tue May 13 07:14:40 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66FC937B401 for ; Tue, 13 May 2003 07:14:40 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63FB943F93 for ; Tue, 13 May 2003 07:14:39 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h4DEEcYP021540; Tue, 13 May 2003 16:14:38 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Dag-Erling Smorgrav From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 13 May 2003 16:01:15 +0200." Date: Tue, 13 May 2003 16:14:38 +0200 Message-ID: <21539.1052835278@critter.freebsd.dk> cc: arch@freebsd.org Subject: Re: fsid_t X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 14:14:40 -0000 In message , Dag-Erling Smorgrav writes: >fsid_t is currently defined as a struct containing an array of two >32-bit ints: > >typedef struct fsid { int32_t val[2]; } fsid_t; /* filesystem id type */ > >which is ridiculous as the only place where this is actually useful is >when it is initialized (val[0] is set to the udev_t and val[1] to the >vfs type number) And we should be very careful with the udev_t thing, since udev_t's are not very constant across reboots. >Are there any objections to making fsid_t a uint64_t? no objection from here. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-arch@FreeBSD.ORG Tue May 13 09:36:03 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 402A237B416 for ; Tue, 13 May 2003 09:36:00 -0700 (PDT) Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 355A643FB1 for ; Tue, 13 May 2003 09:35:58 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 3468 invoked from network); 13 May 2003 16:36:02 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 13 May 2003 16:36:02 -0000 Received: from laptop.baldwin.cx ([216.133.140.1]) by server.baldwin.cx (8.12.8/8.12.8) with ESMTP id h4DGZsp0027856; Tue, 13 May 2003 12:35:55 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030513.001815.55840081.imp@bsdimp.com> Date: Tue, 13 May 2003 12:36:03 -0400 (EDT) From: John Baldwin To: "M. Warner Losh" cc: arch@freebsd.org Subject: RE: Moving the generation of foodevs.h to build time X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 16:36:03 -0000 On 13-May-2003 M. Warner Losh wrote: > Index: conf/kmod.mk > =================================================================== > RCS file: /home/ncvs/src/sys/conf/kmod.mk,v > retrieving revision 1.137 > diff -u -r1.137 kmod.mk > --- conf/kmod.mk 3 Mar 2003 22:51:22 -0000 1.137 > +++ conf/kmod.mk 13 May 2003 06:06:30 -0000 > @@ -286,15 +286,16 @@ > .endif > .endfor > > -.if ${SRCS:Mmiidevs.h} != "" > -CLEANFILES+= miidevs.h > +.for _dev in mii usb pccard > +.if ${SRCS:M${_dev}devs.h} != "" > +CLEANFILES+= ${_dev}devs.h > .if !exists(@) > miidevs.h: @ > .endif > .if exists(@) > -miidevs.h: @/tools/devlist2h.awk @/dev/mii/miidevs > +miidevs.h: @/tools/devlist2h.awk @/dev/${_dev}/${_dev}devs s/mii/${_dev}/ > .endif > - ${AWK} -f @/tools/devlist2h.awk @/dev/mii/miidevs > + ${AWK} -f @/dev/${_dev}/devlist2h.awk @/dev/${_dev}/${_dev}devs > .endif -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-freebsd-arch@FreeBSD.ORG Wed May 14 09:02:18 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09E0A37B404 for ; Wed, 14 May 2003 09:02:16 -0700 (PDT) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27B8143F85 for ; Wed, 14 May 2003 09:02:15 -0700 (PDT) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h4EG2EE27884 for ; Wed, 14 May 2003 18:02:14 +0200 (MEST) Date: Wed, 14 May 2003 18:02:13 +0200 (CEST) From: Harti Brandt To: arch@freebsd.org Message-ID: <20030514172614.F737@beagle.fokus.fraunhofer.de> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1480589199-1052928133=:737" Subject: Where to place this firmware X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 16:02:18 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1480589199-1052928133=:737 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, The FORE ATM adapters need a firmware. In the past this has been a source of frustration because there has been a lot of firmware versions not all of which work with our drivers, but the firmware has been under copyright. Recently I found out, that FORE has released its binary version of the firmware into the public domain (probably just before they were sold to Marconi). Linux includes a binary fimware file plus a copyright that I have attached. Given this copyright where would one put the firmware into the tree? There are basically two methods of using it: 1) Put it into a kernel module that is loaded/unloaded during device initialisation. Would this be possible (not from a technical point of view, but from a legal one: would the copyright infect the kernel? Would it be enough if the firmware itself lived in sys/contrib?) 2) Put it into src/contrib/... and load it into the kernel via a sysctl or something like that. This obviously wouldn't infect anything. I would rather prefer 1) because it does not need something magic before saying 'ifconfig up'. What would our copyright experts say? harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org --0-1480589199-1052928133=:737 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="COPYRIGHT.firmware" Content-Transfer-Encoding: BASE64 Content-ID: <20030514180213.J737@beagle.fokus.fraunhofer.de> Content-Description: Content-Disposition: attachment; filename="COPYRIGHT.firmware" DQpUaGVzZSBtaWNyb2NvZGUgZGF0YSBhcmUgcGxhY2VkIHVuZGVyIHRoZSB0 ZXJtcyBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UuIA0KDQpX ZSB3b3VsZCBwcmVmZXIgeW91IG5vdCB0byBkaXN0cmlidXRlIG1vZGlmaWVk IHZlcnNpb25zIG9mIGl0IGFuZCBub3QgdG8gYXNrDQpmb3IgYXNzZW1ibHkg b3Igb3RoZXIgbWljcm9jb2RlIHNvdXJjZS4NCg0KQ29weXJpZ2h0IChjKSAx OTk1LTIwMDAgRk9SRSBTeXN0ZW1zLCBJbmMuLCBhcyBhbiB1bnB1Ymxpc2hl ZCB3b3JrLiAgVGhpcyANCm5vdGljZSBkb2VzIG5vdCBpbXBseSB1bnJlc3Ry aWN0ZWQgb3IgcHVibGljIGFjY2VzcyB0byB0aGVzZSBtYXRlcmlhbHMgd2hp Y2gNCmFyZSBhIHRyYWRlIHNlY3JldCBvZiBGT1JFIFN5c3RlbXMsIEluYy4g b3IgaXRzIHN1YnNpZGlhcmllcyBvciBhZmZpbGlhdGVzIA0KKHRvZ2V0aGVy IHJlZmVycmVkIHRvIGFzICJGT1JFIiksIGFuZCB3aGljaCBtYXkgbm90IGJl IHJlcHJvZHVjZWQsIHVzZWQsIHNvbGQgDQpvciB0cmFuc2ZlcnJlZCB0byBh bnkgdGhpcmQgcGFydHkgd2l0aG91dCBGT1JFJ3MgcHJpb3Igd3JpdHRlbiBj b25zZW50LiAgQWxsDQpyaWdodHMgcmVzZXJ2ZWQuDQoNClUuUy4gR292ZXJu bWVudCBSZXN0cmljdGVkIFJpZ2h0cy4gIElmIHlvdSBhcmUgbGljZW5zaW5n IHRoZSBTb2Z0d2FyZSBvbiANCmJlaGFsZiBvZiB0aGUgVS5TLiBHb3Zlcm5t ZW50ICgiR292ZXJubWVudCIpLCB0aGUgZm9sbG93aW5nIHByb3Zpc2lvbnMg YXBwbHkNCnRvIHlvdS4gIElmIHRoZSBzb2Z0d2FyZSBpcyBzdXBwbGllZCB0 byB0aGUgRGVwYXJ0bWVudCBvZiBEZWZlbnNlICgiRG9EIiksIGl0IA0KaXMg Y2xhc3NpZmllZCBhcyAiQ29tbWVyY2lhbCBDb21wdXRlciBTb2Z0d2FyZSIg dW5kZXIgcGFyYWdyYXBoIDI1Mi4yMjctNzAxNA0Kb2YgdGhlIERvRCBTdXBw bGVtZW50IHRvIHRoZSBGZWRlcmFsIEFjcXVpc2l0aW9uIFJlZ3VsYXRpb25z ICgiREZBUlMiKSAob3IgYW55IA0Kc3VjY2Vzc29yIHJlZ3VsYXRpb25zKSBh bmQgdGhlIEdvdmVybm1lbnQgaXMgYWNxdWlyaW5nIG9ubHkgdGhlIGxpY2Vu c2UNCnJpZ2h0cyBncmFudGVkIGhlcmVpbiAodGhlIGxpY2Vuc2UgcmlnaHRz IGN1c3RvbWFyaWx5IHByb3ZpZGVkIHRvIG5vbi1Hb3Zlcm5tZW50IA0KdXNl cnMpLiAgSWYgdGhlIFNvZnR3YXJlIGlzIHN1cHBsaWVkIHRvIGFueSB1bml0 IG9yIGFnZW5jeSBvZiB0aGUgR292ZXJubWVudA0Kb3RoZXIgdGhhbiB0aGUg RG9ELCBpdCBpcyBjbGFzc2lmaWVkIGFzICJSZXN0cmljdGVkIENvbXB1dGVy IFNvZnR3YXJlIiBhbmQNCnRoZSBHb3Zlcm5tZW50J3MgcmlnaHRzIGluIHRo ZSBTb2Z0d2FyZSBhcmUgZGVmaW5lZCBpbiBwYXJhZ3JhcGggNTIuMjI3LTE5 IG9mDQp0aGUgRmVkZXJhbCBBY3F1aXNpdGlvbiBSZWd1bGF0aW9ucyAoIkZB UiIpIChvciBhbnkgc3VjY2Vzc29yIHJlZ3VsYXRpb25zKSBvciwNCmluIHRo ZSBjYXNlcyBvZiBOQVNBLCBpbiBwYXJhZ3JhcGggMTguNTIuMjI3LTg2IG9m IHRoZSBOQVNBIFN1cHBsZW1lbnQgdG8gdGhlIEZBUiANCihvciBhbnkgc3Vj Y2Vzc29yIHJlZ3VsYXRpb25zKS4NCg0KRk9SRSBTeXN0ZW1zIGlzIGEgcmVn aXN0ZXJlZCB0cmFkZW1hcmssIGFuZCBGb3JlUnVubmVyLCBGb3JlUnVubmVy TEUsIGFuZCANCkZvcmVUaG91Z2h0IGFyZSB0cmFkZW1hcmtzIG9mIEZPUkUg U3lzdGVtcywgSW5jLiAgQWxsIG90aGVyIGJyYW5kcyBvciBwcm9kdWN0IA0K bmFtZXMgYXJlIHRyYWRlbWFya3Mgb3IgcmVnaXN0ZXJlZCB0cmFkZW1hcmtz IG9mIHRoZWlyIHJlc3BlY3RpdmUgaG9sZGVycy4NCg0K --0-1480589199-1052928133=:737-- From owner-freebsd-arch@FreeBSD.ORG Wed May 14 09:05:07 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07F3F37B401 for ; Wed, 14 May 2003 09:05:07 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E13ED43F3F for ; Wed, 14 May 2003 09:05:03 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h4EG50YP032292; Wed, 14 May 2003 18:05:00 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Harti Brandt From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 14 May 2003 18:02:13 +0200." <20030514172614.F737@beagle.fokus.fraunhofer.de> Date: Wed, 14 May 2003 18:05:00 +0200 Message-ID: <32291.1052928300@critter.freebsd.dk> cc: arch@freebsd.org Subject: Re: Where to place this firmware X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 16:05:07 -0000 In message <20030514172614.F737@beagle.fokus.fraunhofer.de>, Harti Brandt write s: >The FORE ATM adapters need a firmware. Uhm, I thought I solved that problem already once ? Please see the file src/sbin/atm/fore_dnld/pca200e.c I even have an email from Fore somewhere giving us explicit permission to do this. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-arch@FreeBSD.ORG Wed May 14 09:07:32 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8869B37B401 for ; Wed, 14 May 2003 09:07:32 -0700 (PDT) Received: from hotmail.com (lc2-lfd60.law5.hotmail.com [64.4.53.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 306AF43FBD for ; Wed, 14 May 2003 09:07:32 -0700 (PDT) (envelope-from weytslesly@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 14 May 2003 09:07:32 -0700 Received: from 217.136.104.78 by www.hotmail.msn.com with HTTP; Wed, 14 May 2003 16:07:31 GMT X-Originating-IP: [217.136.104.78] X-Originating-Email: [weytslesly@hotmail.com] From: "Lesly Weyts" To: freebsd-arch@FreeBSD.org Date: Wed, 14 May 2003 18:07:31 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 14 May 2003 16:07:32.0015 (UTC) FILETIME=[ECCE83F0:01C31A32] Subject: Centrino X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 16:07:32 -0000 Hi, I wanna buy a new laptop with a Pentium M (the newest processor from Intel especially for mobile computers) and install freeBSD on it with KDE. Is that possible ... I've heard that the architecture of the new CPU is different and that Unix/Linux not run on those processors. Is that true or ... and if it is true ... will there soon be support for the centrino-platform. I hope it because I need mobile computers and I love the fact that I can work longer with a Pentium M. Thx in advance Lesly _________________________________________________________________ From owner-freebsd-arch@FreeBSD.ORG Wed May 14 09:16:00 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A17A837B401 for ; Wed, 14 May 2003 09:16:00 -0700 (PDT) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AF4E43F3F for ; Wed, 14 May 2003 09:15:59 -0700 (PDT) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h4EGFvE29867; Wed, 14 May 2003 18:15:57 +0200 (MEST) Date: Wed, 14 May 2003 18:15:57 +0200 (CEST) From: Harti Brandt To: Poul-Henning Kamp In-Reply-To: <32291.1052928300@critter.freebsd.dk> Message-ID: <20030514180742.W737@beagle.fokus.fraunhofer.de> References: <32291.1052928300@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org Subject: Re: Where to place this firmware X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 16:16:01 -0000 On Wed, 14 May 2003, Poul-Henning Kamp wrote: PK>In message <20030514172614.F737@beagle.fokus.fraunhofer.de>, Harti Brandt write PK>s: PK> PK>>The FORE ATM adapters need a firmware. PK> PK>Uhm, I thought I solved that problem already once ? PK> PK>Please see the file src/sbin/atm/fore_dnld/pca200e.c PK> PK>I even have an email from Fore somewhere giving us explicit permission PK>to do this. Ok. I was not aware of this. I wasn't talking about the hfa driver, I have a driver that does busdma and works on i386 and sparc64. Was this specifically bound to the 3.0.1 version of the firmware? harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org From owner-freebsd-arch@FreeBSD.ORG Wed May 14 09:16:55 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 283DF37B401 for ; Wed, 14 May 2003 09:16:55 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3646643F75 for ; Wed, 14 May 2003 09:16:54 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h4EGGqYP033540; Wed, 14 May 2003 18:16:52 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Harti Brandt From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 14 May 2003 18:15:57 +0200." <20030514180742.W737@beagle.fokus.fraunhofer.de> Date: Wed, 14 May 2003 18:16:52 +0200 Message-ID: <33539.1052929012@critter.freebsd.dk> cc: arch@freebsd.org Subject: Re: Where to place this firmware X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 16:16:55 -0000 In message <20030514180742.W737@beagle.fokus.fraunhofer.de>, Harti Brandt write s: >On Wed, 14 May 2003, Poul-Henning Kamp wrote: > >PK>In message <20030514172614.F737@beagle.fokus.fraunhofer.de>, Harti Brandt write >PK>s: >PK> >PK>>The FORE ATM adapters need a firmware. >PK> >PK>Uhm, I thought I solved that problem already once ? >PK> >PK>Please see the file src/sbin/atm/fore_dnld/pca200e.c >PK> >PK>I even have an email from Fore somewhere giving us explicit permission >PK>to do this. > >Ok. I was not aware of this. I wasn't talking about the hfa driver, I have >a driver that does busdma and works on i386 and sparc64. Was this >specifically bound to the 3.0.1 version of the firmware? No, we can use any version we want. 3.0.1 was the one that worked most reliably with HARP. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-arch@FreeBSD.ORG Wed May 14 09:19:12 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCCE237B401 for ; Wed, 14 May 2003 09:19:12 -0700 (PDT) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6EF843F85 for ; Wed, 14 May 2003 09:19:11 -0700 (PDT) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h4EGJAE00329; Wed, 14 May 2003 18:19:10 +0200 (MEST) Date: Wed, 14 May 2003 18:19:10 +0200 (CEST) From: Harti Brandt To: Poul-Henning Kamp In-Reply-To: <33539.1052929012@critter.freebsd.dk> Message-ID: <20030514181736.W737@beagle.fokus.fraunhofer.de> References: <33539.1052929012@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org Subject: Re: Where to place this firmware X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 16:19:13 -0000 On Wed, 14 May 2003, Poul-Henning Kamp wrote: PK>In message <20030514180742.W737@beagle.fokus.fraunhofer.de>, Harti Brandt write PK>s: PK>>On Wed, 14 May 2003, Poul-Henning Kamp wrote: PK>> PK>>PK>In message <20030514172614.F737@beagle.fokus.fraunhofer.de>, Harti Brandt write PK>>PK>s: PK>>PK> PK>>PK>>The FORE ATM adapters need a firmware. PK>>PK> PK>>PK>Uhm, I thought I solved that problem already once ? PK>>PK> PK>>PK>Please see the file src/sbin/atm/fore_dnld/pca200e.c PK>>PK> PK>>PK>I even have an email from Fore somewhere giving us explicit permission PK>>PK>to do this. PK>> PK>>Ok. I was not aware of this. I wasn't talking about the hfa driver, I have PK>>a driver that does busdma and works on i386 and sparc64. Was this PK>>specifically bound to the 3.0.1 version of the firmware? PK> PK>No, we can use any version we want. PK> PK>3.0.1 was the one that worked most reliably with HARP. Ok then. I'm just unable to find out, what that version is that I have, but it works with all the adapters I have here with my driver. Thanks, harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org From owner-freebsd-arch@FreeBSD.ORG Wed May 14 09:23:29 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E62537B401 for ; Wed, 14 May 2003 09:23:29 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 218F243F93 for ; Wed, 14 May 2003 09:23:28 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h4EGNQYP034549; Wed, 14 May 2003 18:23:26 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Harti Brandt From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 14 May 2003 18:19:10 +0200." <20030514181736.W737@beagle.fokus.fraunhofer.de> Date: Wed, 14 May 2003 18:23:26 +0200 Message-ID: <34548.1052929406@critter.freebsd.dk> cc: arch@freebsd.org Subject: Re: Where to place this firmware X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 16:23:29 -0000 In message <20030514181736.W737@beagle.fokus.fraunhofer.de>, Harti Brandt write s: >PK>3.0.1 was the one that worked most reliably with HARP. > >Ok then. I'm just unable to find out, what that version is that I have, >but it works with all the adapters I have here with my driver. If you load up the HARP stack, then it will tell you after fore_dnld has run, so I guess you can find out from the hfa driver how to query the card. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-arch@FreeBSD.ORG Wed May 14 09:33:51 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9298A37B401 for ; Wed, 14 May 2003 09:33:51 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C6D243F93 for ; Wed, 14 May 2003 09:33:49 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h4EGXmkA035116; Wed, 14 May 2003 10:33:48 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 14 May 2003 10:32:13 -0600 (MDT) Message-Id: <20030514.103213.50905894.imp@bsdimp.com> To: weytslesly@hotmail.com From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 2.1 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-arch@freebsd.org Subject: Re: Centrino X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 16:33:51 -0000 In message: "Lesly Weyts" writes: : Hi, : : I wanna buy a new laptop with a Pentium M (the newest processor from Intel : especially for mobile computers) and install freeBSD on it with KDE. Is that : possible ... I've heard that the architecture of the new CPU is different : and that Unix/Linux not run on those processors. Is that true or ... and if : it is true ... will there soon be support for the centrino-platform. I hope : it because I need mobile computers and I love the fact that I can work : longer with a Pentium M. I have reports from people that they have the centrino laptops running in wireless networks running FreeBSD, so I think that the CPU isn't different enough to give FreeBSD fits. I don't have a centrino laptop myself, but given the reports I've had, I think this shouldn't be a concern. Warner From owner-freebsd-arch@FreeBSD.ORG Wed May 14 10:34:04 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1459237B401 for ; Wed, 14 May 2003 10:34:04 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6483843F93 for ; Wed, 14 May 2003 10:34:03 -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.9/8.12.3) with ESMTP id h4EHY0UO006868; Wed, 14 May 2003 10:34:00 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.9/8.12.3/Submit) id h4EHY0dP006867; Wed, 14 May 2003 10:34:00 -0700 Date: Wed, 14 May 2003 10:34:00 -0700 From: Brooks Davis To: Lesly Weyts Message-ID: <20030514173400.GA1307@Odin.AC.HMC.Edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: freebsd-arch@freebsd.org Subject: Re: Centrino X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 17:34:04 -0000 --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 14, 2003 at 06:07:31PM +0200, Lesly Weyts wrote: > Hi, >=20 > I wanna buy a new laptop with a Pentium M (the newest processor from Inte= l=20 > especially for mobile computers) and install freeBSD on it with KDE. Is= =20 > that possible ... I've heard that the architecture of the new CPU is=20 > different and that Unix/Linux not run on those processors. Is that true o= r=20 > ... and if it is true ... will there soon be support for the=20 > centrino-platform. I hope it because I need mobile computers and I love t= he=20 > fact that I can work longer with a Pentium M. The Pentium M is entierly compatable with other modern x86 processors. A friend of mine works for a company that is building embedded boards with it that run unmodified x86 Linux. -- 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 --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+wn4HXY6L6fI4GtQRAuMCAJ4melfjkRzD2vteU9eAgbCqjgLKbgCggoC8 /nGoZyEquT5xPTOzQSdyYOw= =eWfs -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND-- From owner-freebsd-arch@FreeBSD.ORG Wed May 14 11:08:16 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C36E337B401 for ; Wed, 14 May 2003 11:08:16 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58E2743F85 for ; Wed, 14 May 2003 11:08:16 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by attbi.com (rwcrmhc52) with ESMTP id <2003051418081505200gve7ee>; Wed, 14 May 2003 18:08:16 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA11065; Wed, 14 May 2003 11:08:15 -0700 (PDT) Date: Wed, 14 May 2003 11:08:14 -0700 (PDT) From: Julian Elischer To: Harti Brandt In-Reply-To: <20030514172614.F737@beagle.fokus.fraunhofer.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org Subject: Re: Where to place this firmware X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 18:08:17 -0000 there is other firmware in the kernel tree. in particular look at the firmware for the olicomm tokenring drivers. On Wed, 14 May 2003, Harti Brandt wrote: > > Hi, > > The FORE ATM adapters need a firmware. In the past this has been a source > of frustration because there has been a lot of firmware versions not all > of which work with our drivers, but the firmware has been under > copyright. [...] From owner-freebsd-arch@FreeBSD.ORG Wed May 14 13:11:35 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D89E137B401 for ; Wed, 14 May 2003 13:11:35 -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 28CE043F85 for ; Wed, 14 May 2003 13:11:35 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org (big.x.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id h4EKBGtJ023942; Wed, 14 May 2003 13:11:16 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3EC2A344.2030807@acm.org> Date: Wed, 14 May 2003 13:12:52 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.6) Gecko/20011206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gordon Tetlow , imp@bsdimp.com, freebsd-arch@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PATCH: Dynamic /bin support X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 20:11:36 -0000 Gordon, I found this in my mailbox; it's from Luke Mewburn outlining the steps for implementing a fully dynamic system. There may be a few ideas in here that would help you in your current work... I know there are plenty of points here that I had failed to consider. As I mentioned earlier, I've built /rescue (the patches are available for the asking) and am happy to assist with the rest, though my time is pretty tight at the moment. Tim Kientzle -------- Original Message -------- Return-Path: Date: Fri, 15 Nov 2002 11:07:13 +1100 From: Luke Mewburn To: Nate Lawson Cc: Tim Kientzle , lukem@netbsd.org Subject: Re: Shrinking /(s)bin: A Proposal On Thu, Nov 14, 2002 at 12:00:27PM -0800, Nate Lawson wrote: | > Luke, | > | > I've been looking carefully at FreeBSD's rather | > bloated /bin and /sbin. I understand that | > NetBSD claims to have solved this and wondered | > if you'd be willing to discuss your solution with me. | > | > Tim Kientzle | | Luke, I contacted you earlier regarding this and now Tim has offered to do | some of the work to get FreeBSD dynamic. We'd both appreciate it if you'd | forward us your notes and/or any scripts. I'll coordinate with Tim to get | his work committed. Hi Guys. The changes to support "dynamic linking all applications by default" involved a few changes. The primary user-visible effects are described in: http://mail-index.netbsd.org/current-users/2002/09/23/0001.html The order I'd consider making the appropriate changes in FreeBSD would be something like: * Get /rescue up & running. (Or whatever path you want). In summary, this contains a "crunchgen(1)"ed statically linked binary which contains all the programs that are in /bin and /sbin, which you can tweak to suit. This is specifically to counter the people who will drag out the "I had a friend on Solaris/Linux/... who screwed ld.so and couldn't log in" arguments. In practice, I've found /rescue to be more useful than the old stuff anyway ;-) I tweaked the building of programs in /rescue such as mount, fsck, and init, to try /rescue before /{,s}bin * Add hooks into the bootloader's -a flag ("ask name") to also prompt for the path to init. http://mail-index.netbsd.org/source-changes/2002/08/23/0034.html * Add hooks into the shared library installation magic in (etc..) to allow control where the running shared libraries are to be installed. See: http://mail-index.netbsd.org/source-changes/2001/12/28/0003.html for some ideas. (Those files have been tweaked since that commit to improve the mechanism). * Add hooks in the building of ld.so (or ld_elf.so or whatever you call it) to allow overriding of the default LD_RUN_PATH from just /usr/lib to /somethingelse:/usr/lib. See: http://mail-index.netbsd.org/source-changes/2001/12/28/0013.html http://mail-index.netbsd.org/source-changes/2001/12/28/0012.html (and future commits in that directory) * NetBSD's infrastructure has a make(1) variable to control whether programs are built statically or dynamically: LDSTATIC. If it's unset, the default is to build dynamically, and {bin,sbin}/Makefile.inc (and a few others used to set LDSTATIC?=-static, to force them to be statically linked. You'll need to work out how to integrate that portion of the change into FreeBSD. * Ensure your top level "make build" (or whatever) target builds & installs ld.elf_so (ld.so, ...) after libs but before the main programs * Look at the MKDYNAMICROOT stuff I added in: http://mail-index.netbsd.org/source-changes/2002/08/27/0051.html http://mail-index.netbsd.org/source-changes/2002/08/28/0045.html This lets you experiment with building a fully dynamic system without making it the default. * Once you're happy with everything, change the MKDYNAMICROOT default from `no' to `yes': http://mail-index.netbsd.org/source-changes/2002/09/22/0052.html I hope that helps, or at least, provides you with some pointers in the right direction. Luke. From owner-freebsd-arch@FreeBSD.ORG Wed May 14 14:46:21 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FF7B37B401 for ; Wed, 14 May 2003 14:46:21 -0700 (PDT) Received: from dmlb.org (pc2-cmbg4-6-cust36.cmbg.cable.ntl.com [81.96.76.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5922543F93 for ; Wed, 14 May 2003 14:46:20 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from orac.my.domain ([192.168.200.75] helo=orac) by dmlb.org with smtp (Exim 3.36 #1) id 19G44c-000Diw-00; Wed, 14 May 2003 22:46:07 +0100 Message-ID: <002901c31a61$18293710$4bc8a8c0@orac> From: "Duncan Barclay" To: , "M. Warner Losh" References: <20030514.103213.50905894.imp@bsdimp.com> Date: Wed, 14 May 2003 22:38:01 +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.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-arch@freebsd.org Subject: Re: Centrino X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 21:46:21 -0000 From: "M. Warner Losh" > In message: > "Lesly Weyts" writes: > : Hi, > : > : I wanna buy a new laptop with a Pentium M (the newest processor from Intel > : especially for mobile computers) and install freeBSD on it with KDE. Is that > : possible ... I've heard that the architecture of the new CPU is different > : and that Unix/Linux not run on those processors. Is that true or ... and if > : it is true ... will there soon be support for the centrino-platform. I hope > : it because I need mobile computers and I love the fact that I can work > : longer with a Pentium M. > > I have reports from people that they have the centrino laptops running > in wireless networks running FreeBSD, so I think that the CPU isn't > different enough to give FreeBSD fits. I don't have a centrino > laptop myself, but given the reports I've had, I think this shouldn't > be a concern. > > Warner I have booted 4.8 from CD successfully on my Centrino based Acer 800CLi, but not yet installed it. I'm going to give 5.1 a spin this evening once I've downloaded the ISOs. Duncan From owner-freebsd-arch@FreeBSD.ORG Wed May 14 20:36:33 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 389C937B401 for ; Wed, 14 May 2003 20:36:33 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EC0043F3F for ; Wed, 14 May 2003 20:36:32 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h4F3a9m2055228; Wed, 14 May 2003 20:36:09 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h4F3a9eX055227; Wed, 14 May 2003 20:36:09 -0700 (PDT) Date: Wed, 14 May 2003 20:36:08 -0700 From: "David O'Brien" To: Harti Brandt Message-ID: <20030515033608.GA55202@dragon.nuxi.com> Mail-Followup-To: David O'Brien , Harti Brandt , arch@freebsd.org References: <20030514172614.F737@beagle.fokus.fraunhofer.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030514172614.F737@beagle.fokus.fraunhofer.de> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: arch@freebsd.org Subject: Re: Where to place this firmware X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: arch@freebsd.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 03:36:33 -0000 On Wed, May 14, 2003 at 06:02:13PM +0200, Harti Brandt wrote: > 1) Put it into a kernel module that is loaded/unloaded during device > initialisation. Would this be possible (not from a technical point of > view, but from a legal one: would the copyright infect the kernel? Would > it be enough if the firmware itself lived in sys/contrib?) You could always make a port of it -- that would allow you to not deal with putting a binary file into CVS. From owner-freebsd-arch@FreeBSD.ORG Thu May 15 00:24:33 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C98637B401 for ; Thu, 15 May 2003 00:24:33 -0700 (PDT) Received: from dmlb.org (pc2-cmbg4-6-cust36.cmbg.cable.ntl.com [81.96.76.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id C575543FCB for ; Thu, 15 May 2003 00:24:32 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from orac.my.domain ([192.168.200.75] helo=orac) by dmlb.org with smtp (Exim 3.36 #1) id 19GD69-000ELt-00; Thu, 15 May 2003 08:24:17 +0100 Message-ID: <000801c31ab1$dd2ccc20$4bc8a8c0@orac> From: "Duncan Barclay" To: "Duncan Barclay" , , "M. Warner Losh" Date: Thu, 15 May 2003 08:16:11 +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.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-arch@freebsd.org Subject: Re: Centrino X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 07:24:33 -0000 From: "Duncan Barclay" > > I have booted 4.8 from CD successfully on my Centrino based Acer 800CLi, > but not yet installed it. I'm going to give 5.1 a spin this evening once > I've downloaded the ISOs. > > Duncan Well so far two problems with 5.1-BETA. Booting with one of my Raylink wireless LAN cards plugged results in a panic during device probes (I guess that's either the if_ray driver of mine or something strange with NEWCARD and these cards). With the card removed, the boot gets to mounting md0, but hangs. I think ACPI is the culpritt as there are lots of ACPI errors scrolling past - although it does detect ac power insertion etc. Duncan From owner-freebsd-arch@FreeBSD.ORG Thu May 15 03:12:44 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FD8B37B404 for ; Thu, 15 May 2003 03:12:44 -0700 (PDT) Received: from relay4.mail.uk.psi.net (relay4.mail.uk.psi.net [154.32.111.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DAF743FA3 for ; Thu, 15 May 2003 03:12:42 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from gate.ttpcom.com ([193.119.175.2] helo=vader) by relay4.mail.uk.psi.net with smtp (Exim 2.12 #2) id 19GFj6-0002z5-00 for freebsd-arch@freebsd.org; Thu, 15 May 2003 11:12:40 +0100 Received: from matrix.ttpcom.com ([193.119.172.14]) by vader; Thu, 15 May 2003 11:01:09 +0100 (BST) Received: from matrix [193.119.172.14] by matrix.ttpcom.com (SMTPD32-7.07) id A912190007A; Thu, 15 May 2003 11:16:50 +0100 Received: FROM DJK1Comp BY matrix ; Thu May 15 11:16:49 2003 +0100 Message-ID: <004b01c31aca$94b87b60$a7ac77c1@DJK1Comp> From: "Duncan Barclay" To: , Date: Thu, 15 May 2003 11:13:07 +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 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Subject: Re: Centrino X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 10:12:44 -0000 > From: "Duncan Barclay" > > > > I have booted 4.8 from CD successfully on my Centrino based Acer 800CLi, > > but not yet installed it. I'm going to give 5.1 a spin this evening once > > I've downloaded the ISOs. > > > > Duncan > > Well so far two problems with 5.1-BETA. Booting with one of my Raylink > wireless LAN cards plugged results in a panic during device probes (I guess > that's either the if_ray driver of mine or something strange with NEWCARD > and > these cards). With the card removed, the boot gets to mounting md0, but > hangs. > I think ACPI is the culpritt as there are lots of ACPI errors scrolling > past - although it does detect ac power insertion etc. > > Duncan This morning I set acpi_load=NO hint.acpi.0.disable=1 and tried again. This time, the boot proceeded to trying to find an init but hung. Any suggestions? I'm going try 5.0 and if that doesn't work use 4.8 to bootstrap and then build a decent debugging environment for -current. Duncan From owner-freebsd-arch@FreeBSD.ORG Thu May 15 07:20:11 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE03B37B404 for ; Thu, 15 May 2003 07:20:11 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB61E43F3F for ; Thu, 15 May 2003 07:20:10 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 38E4D530E; Thu, 15 May 2003 16:20:09 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: arch@freebsd.org From: Dag-Erling Smorgrav Date: Thu, 15 May 2003 16:20:08 +0200 Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 14:20:12 -0000 I just tried to run a tinderbox with NOCRYPT and NOSECURE (but not NO_OPENSSL) defined. It failed because there are Makefiles (games/factor was the one that broke the build, but glimpse(1) tells me there are others) which check NO_OPENSSL and / or NOCRYPT but not NOSECURE. NOSECURE is a meaningless subset of NOCRYPT. It means "don't descend into src/secure", but that's equivalent to NOCRYPT because a) we don't descend into src/secure if NOCRYPT is set and b) the only significant stuff which NOCRYPT disables but NOSECURE doesn't is Kerberos, which requires OpenSSL, which isn't built in the NOSECURE case, so there's no way we can build world with NOSECURE but not NOCRYPT. I would therefore like to remove NOSECURE, preferably before 5.1. NO_OPENSSL is also a subset of NOCRYPT. There is so little that builds with NO_OPENSSL but not with NOCRYPT that I think it might be worthwhile to deprecate NO_OPENSSL and change the description of NOCRYPT from "will prevent building of crypt versions" to "do not build crypto-related software" We also have something called libcipher which is only used by bdes(1); the OpenSSL distribution contains a similar and AFAIK compatible utility (src/crypto/openssl/crypto/des/des.c) which we don't currently build. We should probably ditch both libcipher and bdes(1), and perhaps add OpenSSL's des(1) to the build if our users really want it, though 'ln -s /usr/bin/openssl /usr/bin/des' goes a long way. DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-arch@FreeBSD.ORG Thu May 15 07:57:59 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D844D37B401 for ; Thu, 15 May 2003 07:57:59 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CD9E43F93 for ; Thu, 15 May 2003 07:57:39 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h4FEvLEd070885 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 May 2003 17:57:21 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h4FEvL9Z070880; Thu, 15 May 2003 17:57:21 +0300 (EEST) (envelope-from ru) Date: Thu, 15 May 2003 17:57:21 +0300 From: Ruslan Ermilov To: Dag-Erling Smorgrav Message-ID: <20030515145721.GA68695@sunbay.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 14:58:00 -0000 --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 15, 2003 at 04:20:08PM +0200, Dag-Erling Smorgrav wrote: > I just tried to run a tinderbox with NOCRYPT and NOSECURE (but not > NO_OPENSSL) defined. It failed because there are Makefiles > (games/factor was the one that broke the build, but glimpse(1) tells > me there are others) which check NO_OPENSSL and / or NOCRYPT but not > NOSECURE. >=20 > NOSECURE is a meaningless subset of NOCRYPT. It means "don't descend > into src/secure", but that's equivalent to NOCRYPT because a) we don't > descend into src/secure if NOCRYPT is set and b) the only significant > stuff which NOCRYPT disables but NOSECURE doesn't is Kerberos, which > requires OpenSSL, which isn't built in the NOSECURE case, so there's > no way we can build world with NOSECURE but not NOCRYPT. >=20 > I would therefore like to remove NOSECURE, preferably before 5.1. >=20 I'm all for it. I tired of fixing all these NOCRYPT/NOSECURE/NO_OPENSSL/NO_OPENSSH combinations. Please go ahead. > NO_OPENSSL is also a subset of NOCRYPT. There is so little that > builds with NO_OPENSSL but not with NOCRYPT that I think it might be > worthwhile to deprecate NO_OPENSSL and change the description of > NOCRYPT from "will prevent building of crypt versions" to "do not > build crypto-related software" >=20 I'm not so sure about NO_OPENSSL. --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD4DBQE+w6rRUkv4P6juNwoRAtMIAJjx08ViyNax/w0ejKZkOJlYmz+JAJ0YLALE gXKbTGXe2ixqkf6t7m8QbA== =8heB -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q-- From owner-freebsd-arch@FreeBSD.ORG Thu May 15 08:33:02 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AD7C37B401; Thu, 15 May 2003 08:33:02 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A67843FCB; Thu, 15 May 2003 08:33:00 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 8E74E530E; Thu, 15 May 2003 17:32:58 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Ruslan Ermilov References: <20030515145721.GA68695@sunbay.com> From: Dag-Erling Smorgrav Date: Thu, 15 May 2003 17:32:57 +0200 In-Reply-To: <20030515145721.GA68695@sunbay.com> (Ruslan Ermilov's message of "Thu, 15 May 2003 17:57:21 +0300") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 15:33:02 -0000 Ruslan Ermilov writes: > On Thu, May 15, 2003 at 04:20:08PM +0200, Dag-Erling Smorgrav wrote: > > I would therefore like to remove NOSECURE, preferably before 5.1. > Please go ahead. See attached patch. > > NO_OPENSSL is also a subset of NOCRYPT. There is so little that > > builds with NO_OPENSSL but not with NOCRYPT that I think it might be > > worthwhile to deprecate NO_OPENSSL and change the description of > > NOCRYPT from "will prevent building of crypt versions" to "do not > > build crypto-related software" > I'm not so sure about NO_OPENSSL. What crypto stuff do we have that doesn't use OpenSSL? As far as I can determine, there's only ed(1) and bdes(1) (which use libcipher but should probably use libcrypt instead) and some (but not all) of the cryptography-related kernel modules (for which there should be a separate option). DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-arch@FreeBSD.ORG Thu May 15 08:34:14 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74F4F37B401; Thu, 15 May 2003 08:34:14 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EB1143FAF; Thu, 15 May 2003 08:34:11 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 3EA8B530E; Thu, 15 May 2003 17:34:10 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Ruslan Ermilov References: <20030515145721.GA68695@sunbay.com> From: Dag-Erling Smorgrav Date: Thu, 15 May 2003 17:34:09 +0200 In-Reply-To: (Dag-Erling Smorgrav's message of "Thu, 15 May 2003 17:32:57 +0200") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 15:34:14 -0000 --=-=-= Dag-Erling Smorgrav writes: > See attached patch. Gah. DES -- Dag-Erling Smorgrav - des@ofug.org --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=nosecure.diff Index: src/Makefile.inc1 =================================================================== RCS file: /home/ncvs/src/Makefile.inc1,v retrieving revision 1.356 diff -u -r1.356 Makefile.inc1 --- src/Makefile.inc1 5 May 2003 12:54:26 -0000 1.356 +++ src/Makefile.inc1 15 May 2003 15:18:51 -0000 @@ -8,7 +8,6 @@ # -DNOCRYPT will prevent building of crypt versions # -DNOMAN do not build the manual pages # -DNOPROFILE do not build profiled libraries -# -DNOSECURE do not go into secure subdir # -DNOGAMES do not go into games subdir # -DNOSHARE do not go into share subdir # -DNOINFO do not make or install info files @@ -70,7 +69,7 @@ .if exists(${.CURDIR}/sbin) SUBDIR+= sbin .endif -.if exists(${.CURDIR}/secure) && !defined(NOCRYPT) && !defined(NOSECURE) +.if exists(${.CURDIR}/secure) && !defined(NOCRYPT) SUBDIR+= secure .endif .if exists(${.CURDIR}/share) && !defined(NOSHARE) @@ -799,7 +798,7 @@ _generic_libs+= lib -.if !defined(NOCRYPT) && !defined(NOSECURE) +.if !defined(NOCRYPT) .if !defined(NO_OPENSSL) _prebuild_libs+= secure/lib/libcrypto secure/lib/libssl .if !defined(NO_OPENSSH) Index: src/bin/ed/Makefile =================================================================== RCS file: /home/ncvs/src/bin/ed/Makefile,v retrieving revision 1.21 diff -u -r1.21 Makefile --- src/bin/ed/Makefile 6 Dec 2001 10:50:23 -0000 1.21 +++ src/bin/ed/Makefile 15 May 2003 15:18:55 -0000 @@ -5,7 +5,7 @@ LINKS= ${BINDIR}/ed ${BINDIR}/red MLINKS= ed.1 red.1 -.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) +.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) DISTRIBUTION=crypto CFLAGS+=-DDES DPADD= ${LIBCIPHER} Index: src/lib/Makefile =================================================================== RCS file: /home/ncvs/src/lib/Makefile,v retrieving revision 1.156 diff -u -r1.156 Makefile --- src/lib/Makefile 5 May 2003 07:58:42 -0000 1.156 +++ src/lib/Makefile 15 May 2003 15:19:29 -0000 @@ -79,13 +79,11 @@ .if defined(RELEASEDIR) || \ (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberos5)) || \ - defined(NOCRYPT) || defined(NO_OPENSSL) || \ - (defined(NOSECURE) && defined(NO_KERBEROS)) + defined(NOCRYPT) || defined(NO_OPENSSL) || defined(NO_KERBEROS) _libtelnet= libtelnet .endif -.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) \ - && !defined(NOSECURE) +.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) _libmp= libmp .endif Index: src/lib/libcrypt/Makefile =================================================================== RCS file: /home/ncvs/src/lib/libcrypt/Makefile,v retrieving revision 1.30 diff -u -r1.30 Makefile --- src/lib/libcrypt/Makefile 27 Mar 2001 17:26:59 -0000 1.30 +++ src/lib/libcrypt/Makefile 15 May 2003 15:19:54 -0000 @@ -13,7 +13,7 @@ CFLAGS+= -DLIBC_SCCS -Wall # Pull in the crypt-des.c source, assuming it is present. .if exists(${.CURDIR}/../../secure/lib/libcrypt/crypt-des.c) && \ - !defined(NOSECURE) && !defined(NOCRYPT) + !defined(NOCRYPT) .PATH: ${.CURDIR}/../../secure/lib/libcrypt SRCS+= crypt-des.c crypt-blowfish.c blowfish.c CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH Index: src/lib/libfetch/Makefile =================================================================== RCS file: /home/ncvs/src/lib/libfetch/Makefile,v retrieving revision 1.40 diff -u -r1.40 Makefile --- src/lib/libfetch/Makefile 1 May 2003 14:39:43 -0000 1.40 +++ src/lib/libfetch/Makefile 15 May 2003 15:20:02 -0000 @@ -9,7 +9,7 @@ MAN= fetch.3 CLEANFILES= ftperr.h httperr.h -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) CFLAGS+= -DWITH_SSL DPADD= ${LIBSSL} ${LIBCRYPTO} LDADD= -lssl -lcrypto Index: src/lib/libpam/modules/modules.inc =================================================================== RCS file: /home/ncvs/src/lib/libpam/modules/modules.inc,v retrieving revision 1.16 diff -u -r1.16 modules.inc --- src/lib/libpam/modules/modules.inc 5 May 2003 07:58:42 -0000 1.16 +++ src/lib/libpam/modules/modules.inc 15 May 2003 15:20:08 -0000 @@ -24,8 +24,7 @@ MODULES += pam_rootok MODULES += pam_securetty MODULES += pam_self -.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(NO_OPENSSH) && \ - !defined(NOSECURE) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(NO_OPENSSH) MODULES += pam_ssh .endif MODULES += pam_tacplus Index: src/libexec/Makefile =================================================================== RCS file: /home/ncvs/src/libexec/Makefile,v retrieving revision 1.60 diff -u -r1.60 Makefile --- src/libexec/Makefile 11 May 2003 18:48:29 -0000 1.60 +++ src/libexec/Makefile 15 May 2003 15:20:21 -0000 @@ -43,8 +43,7 @@ .if defined(RELEASEDIR) || \ (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberos5)) || \ - defined(NOCRYPT) || defined(NO_OPENSSL) || \ - (defined(NOSECURE) && defined(NO_KERBEROS)) + defined(NOCRYPT) || defined(NO_OPENSSL) || defined(NO_KERBEROS) # make release needs both SUBDIR+=telnetd .endif Index: src/share/examples/etc/make.conf =================================================================== RCS file: /home/ncvs/src/share/examples/etc/make.conf,v retrieving revision 1.214 diff -u -r1.214 make.conf --- src/share/examples/etc/make.conf 6 May 2003 19:26:55 -0000 1.214 +++ src/share/examples/etc/make.conf 15 May 2003 15:20:26 -0000 @@ -124,7 +124,6 @@ #NOLIBC_R= true # do not build libc_r (re-entrant version of libc) #NOMAN= true # do not build manual pages #NOPROFILE= true # Avoid compiling profiled libraries -#NOSECURE= true # do not build crypto code in secure/ subdir #NOSHARE= true # do not go into the share subdir # # To build sys/modules when building the world (our old way of doing things) Index: src/share/man/man5/make.conf.5 =================================================================== RCS file: /home/ncvs/src/share/man/man5/make.conf.5,v retrieving revision 1.72 diff -u -r1.72 make.conf.5 --- src/share/man/man5/make.conf.5 5 May 2003 07:58:43 -0000 1.72 +++ src/share/man/man5/make.conf.5 15 May 2003 15:20:34 -0000 @@ -536,11 +536,6 @@ .It Va NOPROFILE .Pq Vt bool Set to avoid compiling profiled libraries. -.It Va NOSECURE -.Pq Vt bool -set to not build crypto code in -.Pa secure -subdir. .It Va NOSHARE .Pq Vt bool Set to not build in the Index: src/usr.bin/fetch/Makefile =================================================================== RCS file: /home/ncvs/src/usr.bin/fetch/Makefile,v retrieving revision 1.13 diff -u -r1.13 Makefile --- src/usr.bin/fetch/Makefile 1 May 2003 14:40:55 -0000 1.13 +++ src/usr.bin/fetch/Makefile 15 May 2003 15:20:51 -0000 @@ -5,7 +5,7 @@ WARNS?= 6 DPADD= ${LIBFETCH} LDADD= -lfetch -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .endif Index: src/usr.bin/Makefile =================================================================== RCS file: /home/ncvs/src/usr.bin/Makefile,v retrieving revision 1.238 diff -u -r1.238 Makefile --- src/usr.bin/Makefile 8 May 2003 06:33:07 -0000 1.238 +++ src/usr.bin/Makefile 15 May 2003 15:21:12 -0000 @@ -218,8 +218,7 @@ .if defined(RELEASEDIR) || \ (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberos5)) || \ - defined(NOCRYPT) || defined(NO_OPENSSL) || \ - (defined(NOSECURE) && defined(NO_KERBEROS)) + defined(NOCRYPT) || defined(NO_OPENSSL) || defined(NO_KERBEROS) # make release needs both SUBDIR+=telnet .endif @@ -248,8 +247,7 @@ SUBDIR+=uac .endif -.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) \ - && !defined(NOSECURE) +.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) SUBDIR+=chkey newkey .endif Index: src/usr.sbin/pkg_install/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/pkg_install/Makefile,v retrieving revision 1.13 diff -u -r1.13 Makefile --- src/usr.sbin/pkg_install/Makefile 9 Jan 2003 12:04:21 -0000 1.13 +++ src/usr.sbin/pkg_install/Makefile 15 May 2003 15:21:21 -0000 @@ -2,7 +2,7 @@ SUBDIR= lib add create delete info version -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DISTRIBUTION= crypto SUBDIR+= sign .endif Index: src/usr.sbin/pkg_install/add/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/pkg_install/add/Makefile,v retrieving revision 1.16 diff -u -r1.16 Makefile --- src/usr.sbin/pkg_install/add/Makefile 12 Jun 2002 12:45:23 -0000 1.16 +++ src/usr.sbin/pkg_install/add/Makefile 15 May 2003 15:21:27 -0000 @@ -10,7 +10,7 @@ DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD} LDADD= ${LIBINSTALL} -lfetch -lmd -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .endif Index: src/usr.sbin/pkg_install/create/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/pkg_install/create/Makefile,v retrieving revision 1.17 diff -u -r1.17 Makefile --- src/usr.sbin/pkg_install/create/Makefile 6 Nov 2002 08:57:03 -0000 1.17 +++ src/usr.sbin/pkg_install/create/Makefile 15 May 2003 15:21:33 -0000 @@ -10,7 +10,7 @@ DPADD= ${LIBINSTALL} ${LIBMD} LDADD= ${LIBINSTALL} -lmd -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .endif Index: src/usr.sbin/pkg_install/delete/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/pkg_install/delete/Makefile,v retrieving revision 1.18 diff -u -r1.18 Makefile --- src/usr.sbin/pkg_install/delete/Makefile 25 Feb 2003 15:01:54 -0000 1.18 +++ src/usr.sbin/pkg_install/delete/Makefile 15 May 2003 15:21:38 -0000 @@ -10,7 +10,7 @@ DPADD= ${LIBINSTALL} ${LIBMD} LDADD= ${LIBINSTALL} -lmd -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .endif Index: src/usr.sbin/pkg_install/info/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/pkg_install/info/Makefile,v retrieving revision 1.16 diff -u -r1.16 Makefile --- src/usr.sbin/pkg_install/info/Makefile 12 Jun 2002 12:45:24 -0000 1.16 +++ src/usr.sbin/pkg_install/info/Makefile 15 May 2003 15:21:43 -0000 @@ -10,7 +10,7 @@ DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD} LDADD= ${LIBINSTALL} -lfetch -lmd -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .endif Index: src/usr.sbin/pkg_install/version/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/pkg_install/version/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- src/usr.sbin/pkg_install/version/Makefile 24 Jun 2002 16:03:24 -0000 1.11 +++ src/usr.sbin/pkg_install/version/Makefile 15 May 2003 15:21:52 -0000 @@ -10,7 +10,7 @@ DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD} LDADD= ${LIBINSTALL} -lfetch -lmd -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .endif Index: src/usr.sbin/ppp/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/ppp/Makefile,v retrieving revision 1.94 diff -u -r1.94 Makefile --- src/usr.sbin/ppp/Makefile 30 Mar 2002 17:57:51 -0000 1.94 +++ src/usr.sbin/ppp/Makefile 15 May 2003 15:22:05 -0000 @@ -15,7 +15,6 @@ NONAT= true NOKLDLOAD= true NORADIUS= true -NOSECURE= true NOSUID= true .endif @@ -70,7 +69,7 @@ SRCS+= id.c .endif -.if !exists(${.CURDIR}/../../secure) || defined(NOCRYPT) || defined(NOSECURE) || defined(NO_OPENSSL) || defined(NODES) +.if !exists(${.CURDIR}/../../crypto) || defined(NOCRYPT) || defined(NO_OPENSSL) || defined(NODES) CFLAGS+=-DNODES .else DISTRIBUTION=crypto Index: src/usr.sbin/pppd/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/pppd/Makefile,v retrieving revision 1.24 diff -u -r1.24 Makefile --- src/usr.sbin/pppd/Makefile 4 Apr 2003 17:49:17 -0000 1.24 +++ src/usr.sbin/pppd/Makefile 15 May 2003 15:22:20 -0000 @@ -30,7 +30,7 @@ LDADD+= -lpcap # MS-CHAP support. Requires the DES library. -.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH) +.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH) DISTRIBUTION=crypto CFLAGS+= -DCHAPMS SRCS+= chap_ms.c Index: src/usr.sbin/sendmail/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/sendmail/Makefile,v retrieving revision 1.39 diff -u -r1.39 Makefile --- src/usr.sbin/sendmail/Makefile 4 Apr 2003 17:49:19 -0000 1.39 +++ src/usr.sbin/sendmail/Makefile 15 May 2003 15:22:34 -0000 @@ -58,9 +58,8 @@ SRCS+= sm_os.h CLEANFILES+=sm_os.h -.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && \ - !defined(NOSECURE) && !defined(NO_OPENSSL) && \ - !defined(RELEASE_CRUNCH) +.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && \ + !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH) # STARTTLS support DISTRIBUTION= crypto CFLAGS+= -DSTARTTLS -D_FFR_TLS_1 Index: src/usr.sbin/tcpdump/tcpdump/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/tcpdump/tcpdump/Makefile,v retrieving revision 1.35 diff -u -r1.35 Makefile --- src/usr.sbin/tcpdump/tcpdump/Makefile 26 Jun 2002 01:37:45 -0000 1.35 +++ src/usr.sbin/tcpdump/tcpdump/Makefile 15 May 2003 15:22:50 -0000 @@ -39,7 +39,7 @@ DPADD= ${LIBL} ${LIBPCAP} LDADD= -ll -lpcap -.if exists(../../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && \ +.if exists(../../../crypto) && !defined(NOCRYPT) && \ !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH) DISTRIBUTION=crypto DPADD+= ${LIBCRYPTO} --=-=-=-- From owner-freebsd-arch@FreeBSD.ORG Thu May 15 11:18:38 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A90337B401 for ; Thu, 15 May 2003 11:18:38 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8632243F3F for ; Thu, 15 May 2003 11:18:37 -0700 (PDT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.7/8.12.7) with ESMTP id h4FIIZgw085128; Thu, 15 May 2003 19:18:35 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)h4FIIZgV085127; Thu, 15 May 2003 19:18:35 +0100 (BST) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])h4FIK2gN027630; Thu, 15 May 2003 19:20:02 +0100 (BST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200305151820.h4FIK2gN027630@grimreaper.grondar.org> To: Dag-Erling Smorgrav In-Reply-To: Your message of "Thu, 15 May 2003 16:20:08 +0200." Date: Thu, 15 May 2003 19:20:02 +0100 Sender: mark@grondar.org cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 18:18:38 -0000 Dag-Erling Smorgrav writes: > I would therefore like to remove NOSECURE, preferably before 5.1. I will applaud this! > NO_OPENSSL is also a subset of NOCRYPT. There is so little that > builds with NO_OPENSSL but not with NOCRYPT that I think it might be > worthwhile to deprecate NO_OPENSSL and change the description of > NOCRYPT from "will prevent building of crypt versions" to "do not > build crypto-related software" I like this too. > We also have something called libcipher which is only used by bdes(1); > the OpenSSL distribution contains a similar and AFAIK compatible > utility (src/crypto/openssl/crypto/des/des.c) which we don't currently > build. We should probably ditch both libcipher and bdes(1), and > perhaps add OpenSSL's des(1) to the build if our users really want it, > though 'ln -s /usr/bin/openssl /usr/bin/des' goes a long way. If openssl's des(1) is the same as our bdes(1) (ie, gives the same results) then I'm in support of this. I'd also approve of a wrapper script that calls openssl(1) or des(1) and make a compatible bdes(1). Similar scripts may be a good idea for md5(1) and sha1(1). If folks don't shoot the idea down, I'm happy to help out. M -- Mark Murray iumop ap!sdn w,I idlaH From owner-freebsd-arch@FreeBSD.ORG Thu May 15 11:23:20 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD14237B401; Thu, 15 May 2003 11:23:20 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id A91C943F3F; Thu, 15 May 2003 11:23:19 -0700 (PDT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.7/8.12.7) with ESMTP id h4FINIgw085179; Thu, 15 May 2003 19:23:18 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)h4FINIKI085178; Thu, 15 May 2003 19:23:18 +0100 (BST) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])h4FIMTgN027672; Thu, 15 May 2003 19:22:29 +0100 (BST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200305151822.h4FIMTgN027672@grimreaper.grondar.org> To: Dag-Erling Smorgrav In-Reply-To: Your message of "Thu, 15 May 2003 17:34:09 +0200." Date: Thu, 15 May 2003 19:22:29 +0100 Sender: mark@grondar.org cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 18:23:21 -0000 Dag-Erling Smorgrav writes: > Dag-Erling Smorgrav writes: > > See attached patch. > > Gah. :-) Looks good to me. Been tinderboxed? Some of the comments could be upgraded, but that is less important right now. M -- Mark Murray iumop ap!sdn w,I idlaH From owner-freebsd-arch@FreeBSD.ORG Thu May 15 11:29:49 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2176437B401 for ; Thu, 15 May 2003 11:29:49 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id C563343F75 for ; Thu, 15 May 2003 11:29:45 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h4FITfEd095450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 May 2003 21:29:42 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h4FITfNB095445; Thu, 15 May 2003 21:29:41 +0300 (EEST) (envelope-from ru) Date: Thu, 15 May 2003 21:29:41 +0300 From: Ruslan Ermilov To: Dag-Erling Smorgrav Message-ID: <20030515182941.GD90765@sunbay.com> References: <20030515145721.GA68695@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hYooF8G/hrfVAmum" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 18:29:49 -0000 --hYooF8G/hrfVAmum Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 15, 2003 at 05:34:09PM +0200, Dag-Erling Smorgrav wrote: > Dag-Erling Smorgrav writes: > > See attached patch. >=20 > Gah. >=20 I'm happy with this patch as long as you did ``grep -r NOSECURE'' over a whole src/ tree. The doc/ tree might as well require some tidying, but that could be delayed. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --hYooF8G/hrfVAmum Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+w9yVUkv4P6juNwoRAoYMAJ9H5cL+UHzY0qcoJZEFxEy36y5HCACeMpDm JSWUSS9Scsra/B/5E5pI8bI= =7ZRJ -----END PGP SIGNATURE----- --hYooF8G/hrfVAmum-- From owner-freebsd-arch@FreeBSD.ORG Thu May 15 11:57:46 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA2BC37B401 for ; Thu, 15 May 2003 11:57:45 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0919043FAF for ; Thu, 15 May 2003 11:57:39 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h4FIvZEd098110 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 May 2003 21:57:35 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h4FIvZlp098105; Thu, 15 May 2003 21:57:35 +0300 (EEST) (envelope-from ru) Date: Thu, 15 May 2003 21:57:35 +0300 From: Ruslan Ermilov To: Dag-Erling Smorgrav Message-ID: <20030515185735.GF90765@sunbay.com> References: <20030515145721.GA68695@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="g7w8+K/95kPelPD2" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 18:57:47 -0000 --g7w8+K/95kPelPD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 15, 2003 at 05:32:57PM +0200, Dag-Erling Smorgrav wrote: > Ruslan Ermilov writes: > > On Thu, May 15, 2003 at 04:20:08PM +0200, Dag-Erling Smorgrav wrote: > > > I would therefore like to remove NOSECURE, preferably before 5.1. > > Please go ahead. >=20 > See attached patch. >=20 > > > NO_OPENSSL is also a subset of NOCRYPT. There is so little that > > > builds with NO_OPENSSL but not with NOCRYPT that I think it might be > > > worthwhile to deprecate NO_OPENSSL and change the description of > > > NOCRYPT from "will prevent building of crypt versions" to "do not > > > build crypto-related software" > > I'm not so sure about NO_OPENSSL. >=20 > What crypto stuff do we have that doesn't use OpenSSL? As far as I > can determine, there's only ed(1) and bdes(1) (which use libcipher but > should probably use libcrypt instead) and some (but not all) of the > cryptography-related kernel modules (for which there should be a > separate option). >=20 I just recommend that we delay removing NO_OPENSSL after 5.1 is out, as there seem to be some outstanding (minor) issues. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --g7w8+K/95kPelPD2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+w+MfUkv4P6juNwoRAieaAJ9Zj4vB4nN1JVbNhPsqxE/K+p+FiACeNCja NW4QSH8hjz+l/Gda+jjD1og= =Lc3l -----END PGP SIGNATURE----- --g7w8+K/95kPelPD2-- From owner-freebsd-arch@FreeBSD.ORG Thu May 15 12:28:09 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EFDE37B401; Thu, 15 May 2003 12:28:09 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7511943F85; Thu, 15 May 2003 12:28:08 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id E2BA4530E; Thu, 15 May 2003 21:28:05 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Ruslan Ermilov References: <20030515145721.GA68695@sunbay.com> <20030515182941.GD90765@sunbay.com> From: Dag-Erling Smorgrav Date: Thu, 15 May 2003 21:28:04 +0200 In-Reply-To: <20030515182941.GD90765@sunbay.com> (Ruslan Ermilov's message of "Thu, 15 May 2003 21:29:41 +0300") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 19:28:09 -0000 Ruslan Ermilov writes: > I'm happy with this patch as long as you did ``grep -r NOSECURE'' > over a whole src/ tree. The doc/ tree might as well require > some tidying, but that could be delayed. Actually, I used glimpse, but the net result is the same :) Anybody here who doesn't already have a nightly-updated glimpse index of a full clean source tree should do themselves the favor of setting it up. DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-arch@FreeBSD.ORG Thu May 15 12:32:25 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF68B37B401 for ; Thu, 15 May 2003 12:32:25 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B72243F85 for ; Thu, 15 May 2003 12:32:25 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id CDB5F530E; Thu, 15 May 2003 21:32:23 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Mark Murray References: <200305151820.h4FIK2gN027630@grimreaper.grondar.org> From: Dag-Erling Smorgrav Date: Thu, 15 May 2003 21:32:23 +0200 In-Reply-To: <200305151820.h4FIK2gN027630@grimreaper.grondar.org> (Mark Murray's message of "Thu, 15 May 2003 19:20:02 +0100") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 19:32:26 -0000 Mark Murray writes: > If openssl's des(1) is the same as our bdes(1) (ie, gives the same results) > then I'm in support of this. I haven't compared OpenSSL'S des(1) directly with bdes(1), but they are both ports (or reimplementations) of Sun's des(1), and I've used OpenSSL's des(1) in the past to exchange data with Solaris users who were using Sun's des(1). > I'd also approve of a wrapper script that > calls openssl(1) or des(1) and make a compatible bdes(1). That's possible of course, but bdes(1) has a lot of command-line options which we'd need to implement. Probably not worth the trouble. > Similar scripts > may be a good idea for md5(1) and sha1(1). 'ln -s /usr/bin/openssl /usr/bin/md5' is almost right for md5(1), except for some parentheses in the output IIRC. ISTR the same goes for sha1(1). DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-arch@FreeBSD.ORG Thu May 15 12:35:13 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D24D137B401; Thu, 15 May 2003 12:35:13 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33C1643F75; Thu, 15 May 2003 12:35:13 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id CE940530F; Thu, 15 May 2003 21:35:11 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Mark Murray References: <200305151822.h4FIMTgN027672@grimreaper.grondar.org> From: Dag-Erling Smorgrav Date: Thu, 15 May 2003 21:35:11 +0200 In-Reply-To: <200305151822.h4FIMTgN027672@grimreaper.grondar.org> (Mark Murray's message of "Thu, 15 May 2003 19:22:29 +0100") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 19:35:14 -0000 Mark Murray writes: > Looks good to me. Been tinderboxed? I'll give it a twirl. DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-arch@FreeBSD.ORG Thu May 15 12:37:30 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 105AA37B401 for ; Thu, 15 May 2003 12:37:30 -0700 (PDT) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 309AA43FA3 for ; Thu, 15 May 2003 12:37:26 -0700 (PDT) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h4FJb0906481; Thu, 15 May 2003 16:37:00 -0300 Message-ID: <3EC3EC62.9040704@tcoip.com.br> Date: Thu, 15 May 2003 16:37:06 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: Dag-Erling Smorgrav References: <200305151820.h4FIK2gN027630@grimreaper.grondar.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable cc: arch@freebsd.org cc: Mark Murray Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 19:37:30 -0000 Dag-Erling Smorgrav wrote: >> Similar scrip= ts >>may be a good idea for md5(1) and sha1(1). >=20 >=20 > 'ln -s /usr/bin/openssl /usr/bin/md5' is almost right for md5(1), > except for some parentheses in the output IIRC. ISTR the same goes > for sha1(1). Pardon me, but isn't md5 used in all sort of places in the system (like=20 instalation) making a bad idea to make it available only for=20 !defined(NOSECURE) installations? --=20 Daniel C. Sobral Ger=EAncia de Opera=E7=F5es Divis=E3o de Comunica=E7=E3o de Dados Coordena=E7=E3o de Seguran=E7a VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br From owner-freebsd-arch@FreeBSD.ORG Thu May 15 12:38:31 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F82437B401; Thu, 15 May 2003 12:38:31 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EC3B43F75; Thu, 15 May 2003 12:38:30 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 226E7530F; Thu, 15 May 2003 21:38:29 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Ruslan Ermilov References: <20030515145721.GA68695@sunbay.com> <20030515182941.GD90765@sunbay.com> From: Dag-Erling Smorgrav Date: Thu, 15 May 2003 21:38:27 +0200 In-Reply-To: <20030515182941.GD90765@sunbay.com> (Ruslan Ermilov's message of "Thu, 15 May 2003 21:29:41 +0300") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 19:38:31 -0000 Ruslan Ermilov writes: > The doc/ tree might as well require > some tidying, but that could be delayed. There is no mention of NOSECURE in doc... I have a glimpse index of that too :) DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-arch@FreeBSD.ORG Thu May 15 12:43:57 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3FE737B401 for ; Thu, 15 May 2003 12:43:57 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3680B43F3F for ; Thu, 15 May 2003 12:43:57 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id C1C7A530F; Thu, 15 May 2003 21:43:55 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: "Daniel C. Sobral" References: <200305151820.h4FIK2gN027630@grimreaper.grondar.org> <3EC3EC62.9040704@tcoip.com.br> From: Dag-Erling Smorgrav Date: Thu, 15 May 2003 21:43:55 +0200 In-Reply-To: <3EC3EC62.9040704@tcoip.com.br> (Daniel C. Sobral's message of "Thu, 15 May 2003 16:37:06 -0300") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: arch@freebsd.org cc: Mark Murray Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 19:43:58 -0000 "Daniel C. Sobral" writes: > Pardon me, but isn't md5 used in all sort of places in the system > (like instalation) making a bad idea to make it available only for > !defined(NOSECURE) installations? True. DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-arch@FreeBSD.ORG Thu May 15 15:13:23 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E0CF37B401; Thu, 15 May 2003 15:13:23 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67A5C43F85; Thu, 15 May 2003 15:13:22 -0700 (PDT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.7/8.12.7) with ESMTP id h4FMDKgw087877; Thu, 15 May 2003 23:13:20 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)h4FMDKOJ087876; Thu, 15 May 2003 23:13:20 +0100 (BST) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])h4FMD9gN030547; Thu, 15 May 2003 23:13:09 +0100 (BST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200305152213.h4FMD9gN030547@grimreaper.grondar.org> To: Dag-Erling Smorgrav In-Reply-To: Your message of "Thu, 15 May 2003 21:35:11 +0200." Date: Thu, 15 May 2003 23:13:08 +0100 Sender: mark@grondar.org cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 22:13:23 -0000 Dag-Erling Smorgrav writes: > Mark Murray writes: > > Looks good to me. Been tinderboxed? > > I'll give it a twirl. Cool! BTW - I got all keen and fixed bdes(1) to use -lcrypto. One more nail in libcipher's coffin! :-) M -- Mark Murray iumop ap!sdn w,I idlaH From owner-freebsd-arch@FreeBSD.ORG Thu May 15 16:43:23 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66A5337B401 for ; Thu, 15 May 2003 16:43:23 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F5CB43F85 for ; Thu, 15 May 2003 16:43:22 -0700 (PDT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.7/8.12.7) with ESMTP id h4FNhLgw088911; Fri, 16 May 2003 00:43:21 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)h4FNhL6G088910; Fri, 16 May 2003 00:43:21 +0100 (BST) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])h4FNi4gN032787; Fri, 16 May 2003 00:44:04 +0100 (BST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200305152344.h4FNi4gN032787@grimreaper.grondar.org> To: Dag-Erling Smorgrav In-Reply-To: Your message of "Thu, 15 May 2003 21:32:23 +0200." Date: Fri, 16 May 2003 00:44:04 +0100 Sender: mark@grondar.org cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 23:43:23 -0000 Dag-Erling Smorgrav writes: > Mark Murray writes: > > If openssl's des(1) is the same as our bdes(1) (ie, gives the same results) > > then I'm in support of this. > > I haven't compared OpenSSL'S des(1) directly with bdes(1), but they > are both ports (or reimplementations) of Sun's des(1), and I've used > OpenSSL's des(1) in the past to exchange data with Solaris users who > were using Sun's des(1). I've converted our bdes(1) to use the openSSL library. I've also done ed(1). :-). libcipher is now OBE. > > I'd also approve of a wrapper script that > > calls openssl(1) or des(1) and make a compatible bdes(1). > > That's possible of course, but bdes(1) has a lot of command-line > options which we'd need to implement. Probably not worth the trouble. No problem. See above :-). > > Similar scripts > > may be a good idea for md5(1) and sha1(1). > > 'ln -s /usr/bin/openssl /usr/bin/md5' is almost right for md5(1), > except for some parentheses in the output IIRC. ISTR the same goes > for sha1(1). A one-liner shell script does it :-). M -- Mark Murray iumop ap!sdn w,I idlaH From owner-freebsd-arch@FreeBSD.ORG Thu May 15 17:22:23 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 420FA37B401 for ; Thu, 15 May 2003 17:22:23 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47DA743F75 for ; Thu, 15 May 2003 17:22:22 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 5AC54530E; Fri, 16 May 2003 02:22:19 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Mark Murray References: <200305152344.h4FNi4gN032787@grimreaper.grondar.org> From: Dag-Erling Smorgrav Date: Fri, 16 May 2003 02:22:19 +0200 In-Reply-To: <200305152344.h4FNi4gN032787@grimreaper.grondar.org> (Mark Murray's message of "Fri, 16 May 2003 00:44:04 +0100") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 00:22:23 -0000 Mark Murray writes: > Dag-Erling Smorgrav writes: >> 'ln -s /usr/bin/openssl /usr/bin/md5' is almost right for md5(1), >> except for some parentheses in the output IIRC. ISTR the same goes >> for sha1(1). > A one-liner shell script does it :-). but as others have pointed out, we need md5 even in the NOCRYPT case (and it's not export-controlled anyway), so we can't touch it. DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-arch@FreeBSD.ORG Thu May 15 18:44:26 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB5B837B401 for ; Thu, 15 May 2003 18:44:26 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id E09F943F3F for ; Thu, 15 May 2003 18:44:25 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h4G1iHm2044010; Thu, 15 May 2003 18:44:17 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h4G1iFrS044009; Thu, 15 May 2003 18:44:15 -0700 (PDT) Date: Thu, 15 May 2003 18:44:15 -0700 From: "David O'Brien" To: Dag-Erling Smorgrav Message-ID: <20030516014415.GB38966@dragon.nuxi.com> Mail-Followup-To: David O'Brien , Dag-Erling Smorgrav , Mark Murray References: <200305151820.h4FIK2gN027630@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: arch@freebsd.org cc: Mark Murray Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: arch@freebsd.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 01:44:27 -0000 On Thu, May 15, 2003 at 09:32:23PM +0200, Dag-Erling Smorgrav wrote: > 'ln -s /usr/bin/openssl /usr/bin/md5' is almost right for md5(1), > except for some parentheses in the output IIRC. Please, NO. This looses the -r option which is extemely useful. (unless I'd be allowed to add it to /usr/bin/openssl. From owner-freebsd-arch@FreeBSD.ORG Thu May 15 20:13:33 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1878437B401 for ; Thu, 15 May 2003 20:13:33 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FE6943F75 for ; Thu, 15 May 2003 20:13:32 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h4G3DLm2061560; Thu, 15 May 2003 20:13:21 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h4G3DH2c061559; Thu, 15 May 2003 20:13:17 -0700 (PDT) Date: Thu, 15 May 2003 20:13:17 -0700 From: "David O'Brien" To: "M. Warner Losh" Message-ID: <20030516031317.GC38966@dragon.nuxi.com> Mail-Followup-To: David O'Brien , "M. Warner Losh" , arch@freebsd.org References: <20030513.001815.55840081.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030513.001815.55840081.imp@bsdimp.com> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: arch@freebsd.org Subject: Re: Moving the generation of foodevs.h to build time X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 03:13:33 -0000 On Tue, May 13, 2003 at 12:18:15AM -0600, M. Warner Losh wrote: > OK. Here's a start at moving it. First, we have to move > devlist2h.awk out of tools back to dev/mii/devlist2h.awk. It > shouldn't be in tool if it only generates MII code, Why shouldn't it be a tool if it only generates MII code? Can't we just rename all the devlist2h.awk's to @/tools/${_dev}-devlist2h.awk? From owner-freebsd-arch@FreeBSD.ORG Thu May 15 20:44:03 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F05F437B42A; Thu, 15 May 2003 20:44:02 -0700 (PDT) Received: from vishnu.arc.nasa.gov (vishnu.arc.nasa.gov [143.232.155.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 889ED43F85; Thu, 15 May 2003 20:44:02 -0700 (PDT) (envelope-from sullivan@gaia.arc.nasa.gov) Received: from vishnu.arc.nasa.gov (localhost [127.0.0.1]) by vishnu.arc.nasa.gov (8.12.9/8.12.2) with ESMTP id h4G3i2jd010370; Thu, 15 May 2003 20:44:02 -0700 (PDT) Received: from localhost (sullivan@localhost)h4G3i2X3010367; Thu, 15 May 2003 20:44:02 -0700 (PDT) X-Authentication-Warning: vishnu.arc.nasa.gov: sullivan owned process doing -bs Date: Thu, 15 May 2003 20:44:02 -0700 (PDT) From: Don Sullivan Sender: sullivan@vishnu.arc.nasa.gov To: arch@freebsd.org, imp@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Pardon the ignorance X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 03:44:03 -0000 In the change to stdio.h in FreeBSD 4.8, you say: "std{in,out,err} are no longer compile time constants." Please pardon my incredible ignorance, but what does that mean ? Can you please point me to a reference ? FILE *def_thing = stdout; no longer works. apparently, it shouldn't. why ? Thanks for your time, Don ----------------------------------------------- Don Sullivan NASA Ames Research Center MS 242-4 Bldg. 242, Rm. 213 Moffett Field, CA 94035-1000 Office: +1.650.604.0526 Fax: +1.650.604.4680 CSUMB: +1.831.582.3335 email: dsullivan@gaia.arc.nasa.gov ----------------------------------------------- Just another network geek, happily implementing RFC 748 whenever possible From owner-freebsd-arch@FreeBSD.ORG Thu May 15 21:03:41 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C262A37B401; Thu, 15 May 2003 21:03:41 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DA7843FAF; Thu, 15 May 2003 21:03:39 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h4G43dkA051912; Thu, 15 May 2003 22:03:39 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 15 May 2003 22:03:04 -0600 (MDT) Message-Id: <20030515.220304.68038616.imp@bsdimp.com> To: obrien@freebsd.org From: "M. Warner Losh" In-Reply-To: <20030516031317.GC38966@dragon.nuxi.com> References: <20030513.001815.55840081.imp@bsdimp.com> <20030516031317.GC38966@dragon.nuxi.com> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: arch@freebsd.org Subject: Re: Moving the generation of foodevs.h to build time X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 04:03:42 -0000 In message: <20030516031317.GC38966@dragon.nuxi.com> "David O'Brien" writes: : On Tue, May 13, 2003 at 12:18:15AM -0600, M. Warner Losh wrote: : > OK. Here's a start at moving it. First, we have to move : > devlist2h.awk out of tools back to dev/mii/devlist2h.awk. It : > shouldn't be in tool if it only generates MII code, : : Why shouldn't it be a tool if it only generates MII code? : Can't we just rename all the devlist2h.awk's to : @/tools/${_dev}-devlist2h.awk? I can paint this bikeshed either way. tools/devlist2h.awk isn't the right name/place for it. I don't care if we do a ${_dev}-devlist2h.awk or dev/${_dev}/devlist2h.awk. Arguments can be made either way. Warner From owner-freebsd-arch@FreeBSD.ORG Thu May 15 21:09:31 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B648337B401 for ; Thu, 15 May 2003 21:09:31 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E650743F93 for ; Thu, 15 May 2003 21:09:30 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h4G49SkA051987; Thu, 15 May 2003 22:09:29 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 15 May 2003 22:08:54 -0600 (MDT) Message-Id: <20030515.220854.43850940.imp@bsdimp.com> To: sullivan@gaia.arc.nasa.gov From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: arch@freebsd.org Subject: Re: Pardon the ignorance X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 04:09:32 -0000 In message: Don Sullivan writes: : : In the change to stdio.h in FreeBSD 4.8, you say: : "std{in,out,err} are no longer compile time constants." : : Please pardon my incredible ignorance, but what does that mean ? : Can you please point me to a reference ? : : FILE *def_thing = stdout; : : no longer works. : apparently, it shouldn't. why ? >From the C-90 standard, section 7.19 paragraph #3 Because 'stdout' isn't guaranteed to be a compile time constant: stderr stdin stdout which are expressions of type ``pointer to FILE'' that point to the FILE objects associated, respectively, with the standard error, input, and output streams. Since they are not 'constant expressions ...' it means that they aren't guaranteed to evaludate to a constant at compile time. FILE *def_thing = stdout; requires that stdout be a compile time constant when it is at the top level. Traditionally, it has been a compile time constant on some implementations, so the above would work. However, there are issues with making it a compile time constant and still being able to make the size of FILE larger over the course of time. Warner From owner-freebsd-arch@FreeBSD.ORG Thu May 15 21:14:50 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 368FA37B401 for ; Thu, 15 May 2003 21:14:50 -0700 (PDT) Received: from seed.net.tw (sn16.seed.net.tw [139.175.54.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C69643FB1 for ; Thu, 15 May 2003 21:14:49 -0700 (PDT) (envelope-from leafy@chihiro.leafy.idv.tw) Received: from [210.64.32.187] (port=49513 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.14:2) id 19GWcJ-00033l-QB for freebsd-arch@freebsd.org; Fri, 16 May 2003 12:14:47 +0800 Received: from chihiro.leafy.idv.tw (nobody@localhost [127.0.0.1]) by chihiro.leafy.idv.tw (8.12.9/8.12.9) with ESMTP id h4G4EjCI000898 for ; Fri, 16 May 2003 12:14:46 +0800 (CST) (envelope-from leafy@chihiro.leafy.idv.tw) Received: (from leafy@localhost) by chihiro.leafy.idv.tw (8.12.9/8.12.9/Submit) id h4G4Ejhd000897 for freebsd-arch@freebsd.org; Fri, 16 May 2003 12:14:45 +0800 (CST) (envelope-from leafy) Date: Fri, 16 May 2003 12:14:45 +0800 From: leafy To: freebsd-arch@freebsd.org Message-ID: <20030516041445.GA886@chihiro.leafy.idv.tw> Mail-Followup-To: freebsd-arch@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: Is it possible to include gcj in the system gcc suite? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 04:14:50 -0000 As GCC 3.3 gets released, will there be a chance that gcj gets included too? Regards, Jiawei Ye -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-arch@FreeBSD.ORG Thu May 15 21:15:28 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31C8B37B401 for ; Thu, 15 May 2003 21:15:28 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 596B943FA3 for ; Thu, 15 May 2003 21:15:27 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h4G4FBm2082571; Thu, 15 May 2003 21:15:15 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h4G4F76O082566; Thu, 15 May 2003 21:15:07 -0700 (PDT) Date: Thu, 15 May 2003 21:15:06 -0700 From: "David O'Brien" To: "M. Warner Losh" Message-ID: <20030516041506.GA82545@dragon.nuxi.com> Mail-Followup-To: David O'Brien , "M. Warner Losh" , arch@freebsd.org References: <20030513.001815.55840081.imp@bsdimp.com> <20030516031317.GC38966@dragon.nuxi.com> <20030515.220304.68038616.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030515.220304.68038616.imp@bsdimp.com> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: arch@freebsd.org Subject: Re: Moving the generation of foodevs.h to build time X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 04:15:28 -0000 On Thu, May 15, 2003 at 10:03:04PM -0600, M. Warner Losh wrote: > In message: <20030516031317.GC38966@dragon.nuxi.com> > "David O'Brien" writes: > : On Tue, May 13, 2003 at 12:18:15AM -0600, M. Warner Losh wrote: > : > OK. Here's a start at moving it. First, we have to move > : > devlist2h.awk out of tools back to dev/mii/devlist2h.awk. It > : > shouldn't be in tool if it only generates MII code, > : > : Why shouldn't it be a tool if it only generates MII code? > : Can't we just rename all the devlist2h.awk's to > : @/tools/${_dev}-devlist2h.awk? > > I can paint this bikeshed either way. tools/devlist2h.awk isn't the > right name/place for it. I don't care if we do a > ${_dev}-devlist2h.awk or dev/${_dev}/devlist2h.awk. Arguments can be > made either way. Should we commit this patch (in some form) for 5.1 or after 5.1? From owner-freebsd-arch@FreeBSD.ORG Thu May 15 21:19:51 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96DFD37B401; Thu, 15 May 2003 21:19:51 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id C033043FA3; Thu, 15 May 2003 21:19:50 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h4G4JokA052121; Thu, 15 May 2003 22:19:50 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 15 May 2003 22:19:15 -0600 (MDT) Message-Id: <20030515.221915.26535850.imp@bsdimp.com> To: obrien@freebsd.org From: "M. Warner Losh" In-Reply-To: <20030516041506.GA82545@dragon.nuxi.com> References: <20030516031317.GC38966@dragon.nuxi.com> <20030515.220304.68038616.imp@bsdimp.com> <20030516041506.GA82545@dragon.nuxi.com> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: arch@freebsd.org Subject: Re: Moving the generation of foodevs.h to build time X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 04:19:51 -0000 In message: <20030516041506.GA82545@dragon.nuxi.com> "David O'Brien" writes: : On Thu, May 15, 2003 at 10:03:04PM -0600, M. Warner Losh wrote: : > In message: <20030516031317.GC38966@dragon.nuxi.com> : > "David O'Brien" writes: : > : On Tue, May 13, 2003 at 12:18:15AM -0600, M. Warner Losh wrote: : > : > OK. Here's a start at moving it. First, we have to move : > : > devlist2h.awk out of tools back to dev/mii/devlist2h.awk. It : > : > shouldn't be in tool if it only generates MII code, : > : : > : Why shouldn't it be a tool if it only generates MII code? : > : Can't we just rename all the devlist2h.awk's to : > : @/tools/${_dev}-devlist2h.awk? : > : > I can paint this bikeshed either way. tools/devlist2h.awk isn't the : > right name/place for it. I don't care if we do a : > ${_dev}-devlist2h.awk or dev/${_dev}/devlist2h.awk. Arguments can be : > made either way. : : Should we commit this patch (in some form) for 5.1 or after 5.1? I'm not sure that we should rush it into 5.1 at this point. There's nothing really gained by the patch, nor does it really fix any bugs, yet it introduces a risk of breaking some case that works now. Given the problems we've had building the release, I think it would be prudent to wait. Nothing is lost by waiting. Warner From owner-freebsd-arch@FreeBSD.ORG Thu May 15 21:24:31 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DA5337B401; Thu, 15 May 2003 21:24:31 -0700 (PDT) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10B3443F85; Thu, 15 May 2003 21:24:31 -0700 (PDT) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h4G4KZZ10584; Thu, 15 May 2003 21:20:35 -0700 Received: from btc.adaptec.com (hollin.btc.adaptec.com [10.100.253.56]) by redfish.adaptec.com (8.8.8p2+Sun/8.8.8) with ESMTP id VAA24164; Thu, 15 May 2003 21:24:24 -0700 (PDT) Message-ID: <3EC467E4.6050707@btc.adaptec.com> Date: Thu, 15 May 2003 22:24:04 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: obrien@freebsd.org References: <20030513.001815.55840081.imp@bsdimp.com> <20030516031317.GC38966@dragon.nuxi.com> <20030515.220304.68038616.imp@bsdimp.com> <20030516041506.GA82545@dragon.nuxi.com> In-Reply-To: <20030516041506.GA82545@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: arch@freebsd.org cc: "M. Warner Losh" Subject: Re: Moving the generation of foodevs.h to build time X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 04:24:31 -0000 David O'Brien wrote: > On Thu, May 15, 2003 at 10:03:04PM -0600, M. Warner Losh wrote: > >>In message: <20030516031317.GC38966@dragon.nuxi.com> >> "David O'Brien" writes: >>: On Tue, May 13, 2003 at 12:18:15AM -0600, M. Warner Losh wrote: >>: > OK. Here's a start at moving it. First, we have to move >>: > devlist2h.awk out of tools back to dev/mii/devlist2h.awk. It >>: > shouldn't be in tool if it only generates MII code, >>: >>: Why shouldn't it be a tool if it only generates MII code? >>: Can't we just rename all the devlist2h.awk's to >>: @/tools/${_dev}-devlist2h.awk? >> >>I can paint this bikeshed either way. tools/devlist2h.awk isn't the >>right name/place for it. I don't care if we do a >>${_dev}-devlist2h.awk or dev/${_dev}/devlist2h.awk. Arguments can be >>made either way. > > > Should we commit this patch (in some form) for 5.1 or after 5.1? > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" Let's wait until after 5.1. It looks like a decent idea, though. From owner-freebsd-arch@FreeBSD.ORG Thu May 15 21:25:11 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF5DD37B401; Thu, 15 May 2003 21:25:11 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13C7143FA3; Thu, 15 May 2003 21:25:11 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h4G4P8Is046946; Thu, 15 May 2003 23:25:08 -0500 (CDT) (envelope-from dan) Date: Thu, 15 May 2003 23:25:08 -0500 From: Dan Nelson To: Don Sullivan Message-ID: <20030516042508.GC23782@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.1-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: arch@freebsd.org cc: imp@freebsd.org Subject: Re: Pardon the ignorance X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 04:25:12 -0000 In the last episode (May 15), Don Sullivan said: > > In the change to stdio.h in FreeBSD 4.8, you say: > "std{in,out,err} are no longer compile time constants." > > Please pardon my incredible ignorance, but what does that mean ? > Can you please point me to a reference ? > > FILE *def_thing = stdout; > > no longer works. > apparently, it shouldn't. why ? I think it was changed because the size of "struct file" aka FILE needed to change, and the only way to be sure that stdin/out/err got initialized to the right locations was to have libc do it instead of the program. Linux made this same change back in 6.0 ( see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=3137 ) -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-arch@FreeBSD.ORG Thu May 15 21:27:20 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BEBC37B401 for ; Thu, 15 May 2003 21:27:20 -0700 (PDT) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78DC343F85 for ; Thu, 15 May 2003 21:27:19 -0700 (PDT) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h4G4NNZ09039; Thu, 15 May 2003 21:23:23 -0700 Received: from btc.adaptec.com (hollin.btc.adaptec.com [10.100.253.56]) by redfish.adaptec.com (8.8.8p2+Sun/8.8.8) with ESMTP id VAA24733; Thu, 15 May 2003 21:27:13 -0700 (PDT) Message-ID: <3EC4688D.7070207@btc.adaptec.com> Date: Thu, 15 May 2003 22:26:53 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: leafy References: <20030516041445.GA886@chihiro.leafy.idv.tw> In-Reply-To: <20030516041445.GA886@chihiro.leafy.idv.tw> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-arch@freebsd.org Subject: Re: Is it possible to include gcj in the system gcc suite? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 04:27:20 -0000 leafy wrote: > As GCC 3.3 gets released, will there be a chance that gcj gets included too? > > Regards, > > Jiawei Ye Highly unlikely unless the current gcc maintainer(s) decide to do it. Be warned that this is prime bikeshed territory. Since installing alternate compilers is quite easy, doing so might be your best bet. Scott From owner-freebsd-arch@FreeBSD.ORG Thu May 15 21:31:48 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1A7337B401 for ; Thu, 15 May 2003 21:31:48 -0700 (PDT) Received: from seed.net.tw (sn13.seed.net.tw [139.175.54.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id E131C43FA3 for ; Thu, 15 May 2003 21:31:47 -0700 (PDT) (envelope-from leafy@chihiro.leafy.idv.tw) Received: from [210.64.32.187] (port=49568 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.14:2) id 19GWsk-000IpB-TM for freebsd-arch@freebsd.org; Fri, 16 May 2003 12:31:47 +0800 Received: from chihiro.leafy.idv.tw (nobody@localhost [127.0.0.1]) by chihiro.leafy.idv.tw (8.12.9/8.12.9) with ESMTP id h4G4VjCI001008 for ; Fri, 16 May 2003 12:31:46 +0800 (CST) (envelope-from leafy@chihiro.leafy.idv.tw) Received: (from leafy@localhost) by chihiro.leafy.idv.tw (8.12.9/8.12.9/Submit) id h4G4VjcK001007 for freebsd-arch@freebsd.org; Fri, 16 May 2003 12:31:45 +0800 (CST) (envelope-from leafy) Date: Fri, 16 May 2003 12:31:45 +0800 From: leafy To: freebsd-arch@freebsd.org Message-ID: <20030516043145.GA981@chihiro.leafy.idv.tw> Mail-Followup-To: freebsd-arch@freebsd.org References: <20030516041445.GA886@chihiro.leafy.idv.tw> <3EC4688D.7070207@btc.adaptec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <3EC4688D.7070207@btc.adaptec.com> User-Agent: Mutt/1.5.4i Subject: Re: Is it possible to include gcj in the system gcc suite? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 04:31:49 -0000 On Thu, May 15, 2003 at 10:26:53PM -0600, Scott Long wrote: > Highly unlikely unless the current gcc maintainer(s) decide to do it. > Be warned that this is prime bikeshed territory. Since installing > alternate compilers is quite easy, doing so might be your best bet. > > Scott > I looked into ports/lang/gcc33 and see that gcj is included by default, but then again, I'll have 2 sets of the same compiler just to get gcj support if the system compiler gets bumped. I am hoping that the maintainers could add a switch in make.conf like "WITH_GCJ=true" for those who would want it. Just my 2 cents, Jiawei Ye -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-arch@FreeBSD.ORG Thu May 15 21:44:25 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7B6837B401 for ; Thu, 15 May 2003 21:44:25 -0700 (PDT) Received: from vishnu.arc.nasa.gov (vishnu.arc.nasa.gov [143.232.155.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 443E043F93 for ; Thu, 15 May 2003 21:44:25 -0700 (PDT) (envelope-from sullivan@gaia.arc.nasa.gov) Received: from vishnu.arc.nasa.gov (localhost [127.0.0.1]) by vishnu.arc.nasa.gov (8.12.9/8.12.2) with ESMTP id h4G4iNjd010430; Thu, 15 May 2003 21:44:23 -0700 (PDT) Received: from localhost (sullivan@localhost)h4G4iNi5010427; Thu, 15 May 2003 21:44:23 -0700 (PDT) X-Authentication-Warning: vishnu.arc.nasa.gov: sullivan owned process doing -bs Date: Thu, 15 May 2003 21:44:23 -0700 (PDT) From: Don Sullivan Sender: sullivan@vishnu.arc.nasa.gov To: "M. Warner Losh" In-Reply-To: <20030515.220854.43850940.imp@bsdimp.com> Message-ID: References: <20030515.220854.43850940.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org Subject: Re: Pardon the ignorance X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 04:44:26 -0000 Thank you sir, I am now somewhat less ignorant. Don ----------------------------------------------- Don Sullivan NASA Ames Research Center MS 242-4 Bldg. 242, Rm. 213 Moffett Field, CA 94035-1000 Office: +1.650.604.0526 Fax: +1.650.604.4680 CSUMB: +1.831.582.3335 email: dsullivan@gaia.arc.nasa.gov ----------------------------------------------- Just another network geek, happily implementing RFC 748 whenever possible From owner-freebsd-arch@FreeBSD.ORG Thu May 15 21:45:34 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A7A237B404; Thu, 15 May 2003 21:45:34 -0700 (PDT) Received: from vishnu.arc.nasa.gov (vishnu.arc.nasa.gov [143.232.155.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF90D43F93; Thu, 15 May 2003 21:45:33 -0700 (PDT) (envelope-from sullivan@gaia.arc.nasa.gov) Received: from vishnu.arc.nasa.gov (localhost [127.0.0.1]) by vishnu.arc.nasa.gov (8.12.9/8.12.2) with ESMTP id h4G4jVjd010436; Thu, 15 May 2003 21:45:31 -0700 (PDT) Received: from localhost (sullivan@localhost)h4G4jVEA010433; Thu, 15 May 2003 21:45:31 -0700 (PDT) X-Authentication-Warning: vishnu.arc.nasa.gov: sullivan owned process doing -bs Date: Thu, 15 May 2003 21:45:31 -0700 (PDT) From: Don Sullivan Sender: sullivan@vishnu.arc.nasa.gov To: Dan Nelson In-Reply-To: <20030516042508.GC23782@dan.emsphone.com> Message-ID: References: <20030516042508.GC23782@dan.emsphone.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org cc: imp@freebsd.org Subject: Re: Pardon the ignorance X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 04:45:34 -0000 And to you also, sir, I thank you. I am now somewhat less ignorant. Don ----------------------------------------------- Don Sullivan NASA Ames Research Center MS 242-4 Bldg. 242, Rm. 213 Moffett Field, CA 94035-1000 Office: +1.650.604.0526 Fax: +1.650.604.4680 CSUMB: +1.831.582.3335 email: dsullivan@gaia.arc.nasa.gov ----------------------------------------------- Just another network geek, happily implementing RFC 748 whenever possible From owner-freebsd-arch@FreeBSD.ORG Thu May 15 23:43:26 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CA9D37B401 for ; Thu, 15 May 2003 23:43:26 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6061A43F75 for ; Thu, 15 May 2003 23:43:25 -0700 (PDT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.7/8.12.7) with ESMTP id h4G6hNgw044975; Fri, 16 May 2003 07:43:24 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)h4G6hNWq044974; Fri, 16 May 2003 07:43:23 +0100 (BST) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])h4G6gEgN015709; Fri, 16 May 2003 07:42:14 +0100 (BST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200305160642.h4G6gEgN015709@grimreaper.grondar.org> To: arch@freebsd.org In-Reply-To: Your message of "Thu, 15 May 2003 18:44:15 PDT." <20030516014415.GB38966@dragon.nuxi.com> Date: Fri, 16 May 2003 07:42:14 +0100 Sender: mark@grondar.org cc: Dag-Erling Smorgrav Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 06:43:26 -0000 "David O'Brien" writes: > On Thu, May 15, 2003 at 09:32:23PM +0200, Dag-Erling Smorgrav wrote: > > 'ln -s /usr/bin/openssl /usr/bin/md5' is almost right for md5(1), > > except for some parentheses in the output IIRC. > > Please, NO. This looses the -r option which is extemely useful. > (unless I'd be allowed to add it to /usr/bin/openssl. Whatever happens here is going to be in the slow track and not for 5.1. I'm sensitive to the needs for backwards compatibility! M -- Mark Murray iumop ap!sdn w,I idlaH From owner-freebsd-arch@FreeBSD.ORG Thu May 15 23:59:06 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 483C837B401; Thu, 15 May 2003 23:59:06 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96CCF43F3F; Thu, 15 May 2003 23:59:05 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id C3AA7530F; Fri, 16 May 2003 08:59:03 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: David O'Brien References: <20030513.001815.55840081.imp@bsdimp.com> <20030516031317.GC38966@dragon.nuxi.com> <20030515.220304.68038616.imp@bsdimp.com> <20030516041506.GA82545@dragon.nuxi.com> From: Dag-Erling Smorgrav Date: Fri, 16 May 2003 08:59:03 +0200 In-Reply-To: <20030516041506.GA82545@dragon.nuxi.com> (David O'Brien's message of "Thu, 15 May 2003 21:15:06 -0700") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: arch@freebsd.org cc: "M. Warner Losh" Subject: Re: Moving the generation of foodevs.h to build time X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 06:59:06 -0000 "David O'Brien" writes: > Should we commit this patch (in some form) for 5.1 or after 5.1? It's not an issue for 5.1 unless we're planning more USB driver updates and are worried about the release process being delayed because of out-of-date usbdevs.h. I'd say leave it for later. As for placing the awk scripts in tools - we've always supported building a kernel with only the sys sources installed, having the scripts outside the sys tree will break that. DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-arch@FreeBSD.ORG Fri May 16 00:23:28 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5456637B401 for ; Fri, 16 May 2003 00:23:28 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60F7043F3F for ; Fri, 16 May 2003 00:23:27 -0700 (PDT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.7/8.12.7) with ESMTP id h4G7NPgw069805; Fri, 16 May 2003 08:23:26 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)h4G7NP4C069804; Fri, 16 May 2003 08:23:25 +0100 (BST) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])h4G7K7gN028186; Fri, 16 May 2003 08:20:07 +0100 (BST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200305160720.h4G7K7gN028186@grimreaper.grondar.org> To: Dag-Erling Smorgrav In-Reply-To: Your message of "Fri, 16 May 2003 02:22:19 +0200." Date: Fri, 16 May 2003 08:20:07 +0100 Sender: mark@grondar.org cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 07:23:28 -0000 Dag-Erling Smorgrav writes: > Mark Murray writes: > > Dag-Erling Smorgrav writes: > >> 'ln -s /usr/bin/openssl /usr/bin/md5' is almost right for md5(1), > >> except for some parentheses in the output IIRC. ISTR the same goes > >> for sha1(1). > > A one-liner shell script does it :-). > > but as others have pointed out, we need md5 even in the NOCRYPT case > (and it's not export-controlled anyway), so we can't touch it. Hmm. You are right. But... I can clean up the world build pretty extensively if it can be mostly guaranteed that src/crypto is present. We currently have 2 telnets; the non-crypto telnet is constructed with unifdef(1), and could easily be made by NOT defining some "naughty" macros (-DENCRYPTION, -DAUTHENTICATION). This would kill for ever the 'thou must commit to both telnets in the prescribed manner' rule, at the risk of possibly not having telnet after make world if src/crypto is not present. Likewise, we have libmd, which is a duplicate of some of the functionality of libcrypto. I'd like to see if a "safe" libhash (say) can be made from src/crypto/openssl/..., which libcrypto (if present) could depend on. The downside of this is requiring that src/crypto is present or else losing some functionality. SO - my query reduces to "How many folks are there out there who can NOT have crypto SOURCES on their system, even if they are doing a non crypto build?" M -- Mark Murray iumop ap!sdn w,I idlaH From owner-freebsd-arch@FreeBSD.ORG Fri May 16 02:19:22 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0862237B401 for ; Fri, 16 May 2003 02:19:21 -0700 (PDT) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E67743F93 for ; Fri, 16 May 2003 02:19:20 -0700 (PDT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) h4G9JINQ083817; Fri, 16 May 2003 11:19:18 +0200 (CEST) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.9/8.12.9/Submit) id h4G9JCj3083816; Fri, 16 May 2003 11:19:12 +0200 (CEST) (envelope-from marius) Date: Fri, 16 May 2003 11:19:12 +0200 From: Marius Strobl To: Mark Murray Message-ID: <20030516111912.A83445@newtrinity.zeist.de> References: <200305160720.h4G7K7gN028186@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200305160720.h4G7K7gN028186@grimreaper.grondar.org>; from mark@grondar.org on Fri, May 16, 2003 at 08:20:07AM +0100 cc: arch@freebsd.org cc: Dag-Erling Smorgrav Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 09:19:22 -0000 On Fri, May 16, 2003 at 08:20:07AM +0100, Mark Murray wrote: > > SO - my query reduces to "How many folks are there out there who can > NOT have crypto SOURCES on their system, even if they are doing a non > crypto build?" > Not in terms of export control or disk space but I'm concerend that if fundamental things of the base distribution depend on OpenSSL and friends this will lead to the need of much more frequent updates of the base every time yet again another expoitable bug is found in them. Not checking out the crypto sources and using the port versions of the components in question if they are really needed one is on the real safe side and there's usually no need to update FreeBSD for quite some time. From owner-freebsd-arch@FreeBSD.ORG Fri May 16 02:58:31 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B400537B401 for ; Fri, 16 May 2003 02:58:31 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD90A43F75 for ; Fri, 16 May 2003 02:58:30 -0700 (PDT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.7/8.12.7) with ESMTP id h4G9wSgw003022; Fri, 16 May 2003 10:58:28 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)h4G9wS4i003021; Fri, 16 May 2003 10:58:28 +0100 (BST) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])h4G9vsgN043184; Fri, 16 May 2003 10:57:54 +0100 (BST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200305160957.h4G9vsgN043184@grimreaper.grondar.org> To: Marius Strobl In-Reply-To: Your message of "Fri, 16 May 2003 11:19:12 +0200." <20030516111912.A83445@newtrinity.zeist.de> Date: Fri, 16 May 2003 10:57:53 +0100 Sender: mark@grondar.org cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 09:58:32 -0000 Marius Strobl writes: > On Fri, May 16, 2003 at 08:20:07AM +0100, Mark Murray wrote: > > > > SO - my query reduces to "How many folks are there out there who can > > NOT have crypto SOURCES on their system, even if they are doing a non > > crypto build?" > > > > Not in terms of export control or disk space but I'm concerend that > if fundamental things of the base distribution depend on OpenSSL and > friends this will lead to the need of much more frequent updates of > the base every time yet again another expoitable bug is found in them. > Not checking out the crypto sources and using the port versions of > the components in question if they are really needed one is on the > real safe side and there's usually no need to update FreeBSD for > quite some time. It is export control that I'm primarily concerned with. Well, actually, exporting free crypto is now a non-problem, so it comes down to the dodgy governments that place restrictions on crypto _import_. This may be a problem for our users in those countries. I'm sympathetic to your concerns. Telnet isn't used for anything in the build, and for the non-crypto case little would change by default; the source tree would be smaller and src/crypto/telnet/... would be used to get the telnet source. If src/crypto is removed, telnet would not be built at all. Libmd is different; that would depend (or be replaced by) libhash (real name to be decided later), which would be a replacement for libmd. In the case where there is no src/crypto, this would not be built, so md5(1) would not be built. This would have consquences for the ports system, so it needs to be fleshed out properly. There are solutions (perl springs to mind) for the ports system, but these need to be agreed upon. M -- Mark Murray iumop ap!sdn w,I idlaH From owner-freebsd-arch@FreeBSD.ORG Fri May 16 04:58:22 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3D8D37B401 for ; Fri, 16 May 2003 04:58:22 -0700 (PDT) Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DBF043FA3 for ; Fri, 16 May 2003 04:58:21 -0700 (PDT) (envelope-from matusita@jp.FreeBSD.org) Received: from localhost (localhost [::1])h4GBwEY21223; Fri, 16 May 2003 20:58:14 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) In-Reply-To: <20030516043145.GA981@chihiro.leafy.idv.tw> References: <3EC4688D.7070207@btc.adaptec.com> <3EC4688D.7070207@btc.adaptec.com> <20030516043145.GA981@chihiro.leafy.idv.tw> X-User-Agent: Mew/1.94.2 Emacs/21.3 X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20030322(IM144) Lines: 11 From: Makoto Matsushita To: leafy@leafy.idv.tw Date: Fri, 16 May 2003 20:58:12 +0900 Message-Id: <20030516205812Y.matusita@jp.FreeBSD.org> cc: arch@FreeBSD.org Subject: Re: Is it possible to include gcj in the system gcc suite? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 11:58:23 -0000 leafy> I looked into ports/lang/gcc33 and see that gcj is included by default, Scott maybe talking about GCC in base system, not ports. No matter you believe or not, same situations are already there; we have DHCP client (dhclient) but no DHCP server in the base system, since we import the ISC's DHCP implementation. Why gcj will be an exception? -- - Makoto `MAR' Matsushita From owner-freebsd-arch@FreeBSD.ORG Fri May 16 05:11:37 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDDE037B401 for ; Fri, 16 May 2003 05:11:35 -0700 (PDT) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 057FC43F3F for ; Fri, 16 May 2003 05:11:34 -0700 (PDT) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h4GCBI928363; Fri, 16 May 2003 09:11:20 -0300 Message-ID: <3EC4D566.5070306@tcoip.com.br> Date: Fri, 16 May 2003 09:11:18 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4a) Gecko/20030416 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: Mark Murray References: <200305152344.h4FNi4gN032787@grimreaper.grondar.org> In-Reply-To: <200305152344.h4FNi4gN032787@grimreaper.grondar.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: arch@freebsd.org cc: Dag-Erling Smorgrav Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 12:11:37 -0000 Mark Murray wrote: > Dag-Erling Smorgrav writes: > >>Mark Murray writes: >> >>>If openssl's des(1) is the same as our bdes(1) (ie, gives the same results) >>>then I'm in support of this. >> >>I haven't compared OpenSSL'S des(1) directly with bdes(1), but they >>are both ports (or reimplementations) of Sun's des(1), and I've used >>OpenSSL's des(1) in the past to exchange data with Solaris users who >>were using Sun's des(1). > > > I've converted our bdes(1) to use the openSSL library. I've also done > ed(1). :-). libcipher is now OBE. 1) What happens if I compile with no crypto (whatever it is/will be called these days)? 2) ed(1) is /bin/ed. Won't that cause trouble? -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net Chocolate Chip. From owner-freebsd-arch@FreeBSD.ORG Fri May 16 05:12:28 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C93337B404 for ; Fri, 16 May 2003 05:12:28 -0700 (PDT) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E7AC43F85 for ; Fri, 16 May 2003 05:12:26 -0700 (PDT) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h4GCCO928399; Fri, 16 May 2003 09:12:24 -0300 Message-ID: <3EC4D5A8.8040005@tcoip.com.br> Date: Fri, 16 May 2003 09:12:24 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4a) Gecko/20030416 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: arch@freebsd.org References: <200305151820.h4FIK2gN027630@grimreaper.grondar.org> <20030516014415.GB38966@dragon.nuxi.com> In-Reply-To: <20030516014415.GB38966@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Mark Murray cc: Dag-Erling Smorgrav Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 12:12:28 -0000 David O'Brien wrote: > On Thu, May 15, 2003 at 09:32:23PM +0200, Dag-Erling Smorgrav wrote: > >>'ln -s /usr/bin/openssl /usr/bin/md5' is almost right for md5(1), >>except for some parentheses in the output IIRC. > > > Please, NO. This looses the -r option which is extemely useful. > (unless I'd be allowed to add it to /usr/bin/openssl. Not to mention md5 isn't /usr/bin/md5, but /sbin/md5. -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net Chocolate Chip. From owner-freebsd-arch@FreeBSD.ORG Fri May 16 05:17:59 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79D0837B401 for ; Fri, 16 May 2003 05:17:59 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id D57C943F93 for ; Fri, 16 May 2003 05:17:58 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 0773B530E; Fri, 16 May 2003 14:17:56 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: "Daniel C. Sobral" References: <200305152344.h4FNi4gN032787@grimreaper.grondar.org> <3EC4D566.5070306@tcoip.com.br> From: Dag-Erling Smorgrav Date: Fri, 16 May 2003 14:17:56 +0200 In-Reply-To: <3EC4D566.5070306@tcoip.com.br> (Daniel C. Sobral's message of "Fri, 16 May 2003 09:11:18 -0300") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: arch@freebsd.org cc: Mark Murray Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 12:17:59 -0000 "Daniel C. Sobral" writes: > 1) What happens if I compile with no crypto (whatever it is/will be > called these days)? Exactly the same as currently - you don't get to use the x command (read/write encrypted files). The only change is that ed(1) now uses libcrypt instead of libcipher (which was intended as a lightweight exportable libcrypt replacement AFAIK). > 2) ed(1) is /bin/ed. Won't that cause trouble? No. DES -- Dag-Erling Smorgrav - des@ofug.org From owner-freebsd-arch@FreeBSD.ORG Fri May 16 07:19:13 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9306937B401 for ; Fri, 16 May 2003 07:19:13 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AAAA43FCB for ; Fri, 16 May 2003 07:19:12 -0700 (PDT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.7/8.12.7) with ESMTP id h4GEJ9gw080812; Fri, 16 May 2003 15:19:10 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)h4GEJ93o080811; Fri, 16 May 2003 15:19:09 +0100 (BST) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])h4GEIVgN072174; Fri, 16 May 2003 15:18:31 +0100 (BST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200305161418.h4GEIVgN072174@grimreaper.grondar.org> To: "Daniel C. Sobral" In-Reply-To: Your message of "Fri, 16 May 2003 09:11:18 -0300." <3EC4D566.5070306@tcoip.com.br> Date: Fri, 16 May 2003 15:18:31 +0100 Sender: mark@grondar.org cc: arch@freebsd.org cc: Dag-Erling Smorgrav Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 14:19:13 -0000 "Daniel C. Sobral" writes: > Mark Murray wrote: > > Dag-Erling Smorgrav writes: > > > >>Mark Murray writes: > >> > >>>If openssl's des(1) is the same as our bdes(1) (ie, gives the same results) > >>>then I'm in support of this. > >> > >>I haven't compared OpenSSL'S des(1) directly with bdes(1), but they > >>are both ports (or reimplementations) of Sun's des(1), and I've used > >>OpenSSL's des(1) in the past to exchange data with Solaris users who > >>were using Sun's des(1). > > > > > > I've converted our bdes(1) to use the openSSL library. I've also done > > ed(1). :-). libcipher is now OBE. > > 1) What happens if I compile with no crypto (whatever it is/will be > called these days)? No change. > 2) ed(1) is /bin/ed. Won't that cause trouble? No. Instead of not using libcipher, it won't use libcrypto. :-) M -- Mark Murray iumop ap!sdn w,I idlaH From owner-freebsd-arch@FreeBSD.ORG Fri May 16 07:23:08 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4630737B401 for ; Fri, 16 May 2003 07:23:08 -0700 (PDT) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5087543F93 for ; Fri, 16 May 2003 07:23:05 -0700 (PDT) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h4GEMp931528; Fri, 16 May 2003 11:22:51 -0300 Message-ID: <3EC4F434.7090100@tcoip.com.br> Date: Fri, 16 May 2003 11:22:44 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: Mark Murray References: <200305161418.h4GEIVgN072174@grimreaper.grondar.org> In-Reply-To: <200305161418.h4GEIVgN072174@grimreaper.grondar.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable cc: arch@freebsd.org cc: Dag-Erling Smorgrav Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 14:23:08 -0000 Mark Murray wrote: >=20 >>2) ed(1) is /bin/ed. Won't that cause trouble? >=20 > No. Instead of not using libcipher, it won't use libcrypto. :-) I meant in the CRYPTO case, funny guy. :-) --=20 Daniel C. Sobral Ger=EAncia de Opera=E7=F5es Divis=E3o de Comunica=E7=E3o de Dados Coordena=E7=E3o de Seguran=E7a VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br From owner-freebsd-arch@FreeBSD.ORG Fri May 16 08:03:37 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96F4837B404 for ; Fri, 16 May 2003 08:03:37 -0700 (PDT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56EB843F3F for ; Fri, 16 May 2003 08:03:36 -0700 (PDT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.7/8.12.7) with ESMTP id h4GF3Zgw081544; Fri, 16 May 2003 16:03:35 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)h4GF3ZUf081543; Fri, 16 May 2003 16:03:35 +0100 (BST) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])h4GF35gN072395; Fri, 16 May 2003 16:03:05 +0100 (BST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200305161503.h4GF35gN072395@grimreaper.grondar.org> To: "Daniel C. Sobral" In-Reply-To: Your message of "Fri, 16 May 2003 09:12:24 -0300." <3EC4D5A8.8040005@tcoip.com.br> Date: Fri, 16 May 2003 16:03:05 +0100 Sender: mark@grondar.org cc: arch@freebsd.org cc: Dag-Erling Smorgrav Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 15:03:37 -0000 "Daniel C. Sobral" writes: > Not to mention md5 isn't /usr/bin/md5, but /sbin/md5. True, but not important :-). M -- Mark Murray iumop ap!sdn w,I idlaH From owner-freebsd-arch@FreeBSD.ORG Fri May 16 10:59:22 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C96937B401 for ; Fri, 16 May 2003 10:59:22 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id A228043FAF for ; Fri, 16 May 2003 10:59:21 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h4GHwpm2056038; Fri, 16 May 2003 10:58:51 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h4GHwldQ056033; Fri, 16 May 2003 10:58:47 -0700 (PDT) Date: Fri, 16 May 2003 10:58:47 -0700 From: "David O'Brien" To: Dag-Erling Smorgrav Message-ID: <20030516175847.GA55818@dragon.nuxi.com> Mail-Followup-To: David O'Brien , Dag-Erling Smorgrav , arch@freebsd.org, "M. Warner Losh" References: <20030513.001815.55840081.imp@bsdimp.com> <20030516031317.GC38966@dragon.nuxi.com> <20030515.220304.68038616.imp@bsdimp.com> <20030516041506.GA82545@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: arch@freebsd.org cc: "M. Warner Losh" Subject: Re: Moving the generation of foodevs.h to build time X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 17:59:22 -0000 On Fri, May 16, 2003 at 08:59:03AM +0200, Dag-Erling Smorgrav wrote: > As for placing the awk scripts in tools - we've always supported > building a kernel with only the sys sources installed, having the > scripts outside the sys tree will break that. /sys/tools :-) From owner-freebsd-arch@FreeBSD.ORG Fri May 16 20:04:08 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEB1B37B401 for ; Fri, 16 May 2003 20:04:08 -0700 (PDT) Received: from thalia.otenet.gr (thalia.otenet.gr [195.170.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A98443FB1 for ; Fri, 16 May 2003 20:04:07 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a023.otenet.gr [212.205.215.23]) by thalia.otenet.gr (8.12.9/8.12.9) with ESMTP id h4H33xoA026090; Sat, 17 May 2003 06:04:01 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.9/8.12.9) with ESMTP id h4H33wfj020170; Sat, 17 May 2003 06:03:58 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.9/8.12.9/Submit) id h4H33tq1020169; Sat, 17 May 2003 06:03:55 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sat, 17 May 2003 06:03:55 +0300 From: Giorgos Keramidas To: "Daniel C. Sobral" Message-ID: <20030517030355.GA20116@gothmog.gr> References: <200305161418.h4GEIVgN072174@grimreaper.grondar.org> <3EC4F434.7090100@tcoip.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EC4F434.7090100@tcoip.com.br> cc: arch@freebsd.org Subject: Re: NOCRYPT / NOSECURE X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2003 03:04:09 -0000 On 2003-05-16 11:22, "Daniel C. Sobral" wrote: > Mark Murray wrote: > >>2) ed(1) is /bin/ed. Won't that cause trouble? > > > >No. Instead of not using libcipher, it won't use libcrypto. :-) > > I meant in the CRYPTO case, funny guy. :-) It's statically linked, so the linker will pull whatever bits are needeed from the library at buildworld time. That shouldn't be a problem, AFAIK. From owner-freebsd-arch@FreeBSD.ORG Sat May 17 23:04:52 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6551B37B401 for ; Sat, 17 May 2003 23:04:52 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 0911643F85 for ; Sat, 17 May 2003 23:04:52 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 87929 invoked by uid 1000); 18 May 2003 06:04:54 -0000 Date: Sat, 17 May 2003 23:04:54 -0700 (PDT) From: Nate Lawson To: arch@freebsd.org Message-ID: <20030517230020.B87908@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: backtrace() not printing to kernel log X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 06:04:52 -0000 I've found an annoyance when tracking down a new LoR. Since db_print_backtrace() uses db_printf() instead of printf(), the backtrace doesn't make it to the kernel buffer but is printed directly to the console. dmesg: lock order reversal 1st 0xc35d5098 vm object (vm object) @ /usr/src/sys/vm/vm_object.c:512 2nd 0xc082f110 system map (system map) @ /usr/src/sys/vm/vm_kern.c:325 Stack backtrace: I looked into how to fix this but couldn't come up with a good idea. The most obvious thing to do is use a function pointer and check if the debugger is active. If so, use db_printf(), otherwise use printf(). But there doesn't seem to be an architecturally clean way to do this. Ideas? -Nate