From owner-freebsd-hackers Sun Jun 2 0:46:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by hub.freebsd.org (Postfix) with ESMTP id 46CC337B400 for ; Sun, 2 Jun 2002 00:46:25 -0700 (PDT) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.12.2/8.12.2) with ESMTP id g527kJ2A015254; Sun, 2 Jun 2002 03:46:23 -0400 (EDT) (envelope-from winter@jurai.net) Date: Sun, 2 Jun 2002 03:46:19 -0400 (EDT) From: "Matthew N. Dodd" To: igor_dorovskoy@agilent.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: XFree86 4.2.0 & GeForce4 440 Go in Dell Latitude C840 In-Reply-To: <0D9185CE635BD511ACA50090277A6FCF038808C3@axcs18.cos.agilent.com> Message-ID: <20020602034535.O42854-100000@sasami.jurai.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 31 May 2002 igor_dorovskoy@agilent.com wrote: > Sorry for X off topic... > > Is anybody here got that combination running? > > I've seen that Linux world did that with Nvidia's help. > How to port their solution into freebsd 4.5 box? > > Thanks in advance for any possible help, If the 'nv' driver won't deal with it you're out of luck until NVIDIA does something about FreeBSD support. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 1:40:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from exchange.tennmax.com.tw (c165.h061016110.is.net.tw [61.16.110.165]) by hub.freebsd.org (Postfix) with ESMTP id 8E47F37B400; Sun, 2 Jun 2002 01:40:31 -0700 (PDT) Received: from 345.996 (CLIENT12 [210.202.191.52]) by exchange.tennmax.com.tw with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id GNK4GMQV; Sun, 2 Jun 2002 16:45:19 +0800 From: hgvvefy@ms5.hinet.net To: dfr@FreeBSD.ORG Subject:獨家的美女實體娃娃 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Novasoft_Sagittarius_Professional_" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Novasoft Sagittarius Professional Status: Message-Id: <20020602084031.8E47F37B400@hub.freebsd.org> Date: Sun, 2 Jun 2002 01:40:31 -0700 (PDT) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_Novasoft_Sagittarius_Professional_ Content-Type: text/html; charset="big5" Content-Transfer-Encoding: 7bit

贈品之一。

性感兔女郎挑逗服飾$680

!!!情趣用品宅配&快送

打破網路購物傳統!!可先預約看貨,比較好壞再買。

大台北桃園基隆新竹以北,1-2小時成人用品送貨到府

其他地區今日訂購明日收貨,由宅配公司貨到付款。

所有情趣用品均市價2-4折,現第三波特價活動熱烈實施中。另外購物還享有情趣贈品,只要您有購買就讓您選贈品帶回家。

本站所有圖片均實品拍攝,非一般粗糙情趣目錄。保證貨品跟實品一模一樣。

日本持久環特價40元起......調情跳蛋特價160元起......按摩棒特價300元起......男性自慰套特價480元起....另外還有獨家的美女實體娃娃。

Enter

------=_Novasoft_Sagittarius_Professional_ Content-Type: text/html; Content-Transfer-Encoding: quoted-printable ------=_Novasoft_Sagittarius_Professional_ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 3: 7: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 39C8137B405; Sun, 2 Jun 2002 03:06:59 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.12.3) with ESMTP id g52A6w4j085050; Sun, 2 Jun 2002 03:06:58 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g51N1HA0081739; Sat, 1 Jun 2002 16:01:17 -0700 (PDT) (envelope-from dillon) Date: Sat, 1 Jun 2002 16:01:17 -0700 (PDT) From: Matthew Dillon Message-Id: <200206012301.g51N1HA0081739@apollo.backplane.com> To: Giorgos Keramidas Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Adding diffs to commit-mail on the fly References: <20020601011754.GA4357@hades.hell.gr> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG : :Hi Matt and everyone, : :I remember that Matt had mentioned adding diffs of the commits to the :commit-mail, which would make it possible to quickly view what changed :without leaving the MUA and manually searching for the proper CVS :diff/rdiff incantation to view the diff. : :The idea was resting at the back of my mind, and tonight I hacked this :Perl script that seems to mostly do what I want, when I pipe a single :message to it's STDIN in mbox format. Given a script in Perl or awk :... Very cool! I'm mostly unavilable for the weekend but when I get back I'll look into integrating your perl script with the filter I've been working on. The filter is mostly done but I hadn't written the part that generates the commit diff yet. You script may be just the ticket. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 7:52:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from kogut.o2.pl (kogut.o2.pl [212.126.20.61]) by hub.freebsd.org (Postfix) with ESMTP id 1D9CC37B42F for ; Sun, 2 Jun 2002 07:49:51 -0700 (PDT) Received: from localhost (unknown [62.233.167.10]) by kogut.o2.pl (Postfix) with ESMTP id 04AA92CAAAD for ; Sun, 2 Jun 2002 16:48:33 +0200 (CEST) X-Sender: info@o2.pl From: =?windows-1250?Q?t=B3umaczenie?= To: freebsd-hackers@FreeBSD.org Date: Sun, 02 Jun 2002 16:52:07 +0200 Subject: =?windows-1250?Q?oferta_t=B3umaczenia?= Reply-To: info@o2.pl MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1250 Content-Transfer-Encoding: 8bit Message-Id: <20020602144833.04AA92CAAAD@kogut.o2.pl> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Szanowni Pa雟two, Chcia豚ym Pa雟twu zaproponowa us逝g t逝maczenia z zakresu j瞛yka niemieckiego i angielskiego. T逝maczenie we wszystkich mo磧iwych konfiguracjach (pol-ang, ang-niem itd.) Posiadam kilkunastoletnie dowiadczenie w t逝maczeniu r騜norodnych tekst闚 ze szczeg鏊nym uwzgl璠nieniem materia堯w z zakresu business english, Wirtschaftsdeutsch, programy komputerowe. Z uwagi na fakt, 瞠 nie posiadam 瘸dnego tytu逝 potwierdzaj鉍ego moje kwalifikacje zawodowe w dziedzinie profesjonalnego t逝maczenie (t逝macz przysi璕造 itp.) mog Pa雟twu zaproponowa korzystn ofert cenow. Certyfikaty jakie posiadam to LCCI III - Business English, DeutschWirtschaftDiplom (DWD) Z powa瘸niem, Marcin G. W przypadku gdyby Pa雟two byli zainteresowani prosz o kontakt pod translations@o2.pl Dear Sir or Madam, I wish to offer you translation services in english, german and polish. All configurations e.i. germ - eng, eng - pol e.t.c. are possible. I posses quite long expierience in translating various written materials, especially with regard to business english, Wirtschaftsdeutsch and computer software. Owing to the fact that I am not able to produce any certificate that would prove my professional skills with regard to translations (e.g. certified translator) I can offer you favourable price. Certificates that I do posses are LCCI III - Business English and DWD - DeutschWirtschaftDiplom Sincerely, Marcin G. Should you be interested please contact me under translations@o2.pl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 16:48:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from out019.verizon.net (out019pub.verizon.net [206.46.170.98]) by hub.freebsd.org (Postfix) with ESMTP id 2578037B404 for ; Sun, 2 Jun 2002 16:48:43 -0700 (PDT) Received: from bellatlantic.net ([138.89.159.90]) by out019.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020602234836.QOKA9617.out019.verizon.net@bellatlantic.net>; Sun, 2 Jun 2002 18:48:36 -0500 Message-ID: <3CFAAED2.F98FD7B4@bellatlantic.net> Date: Sun, 02 Jun 2002 19:48:34 -0400 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: en, ru MIME-Version: 1.0 To: Terry Lambert Cc: jos@catnook.com, freebsd-hackers@freebsd.org Subject: Re: Improving GNU make compatibility in BSD make (+ patch) References: <20020531024250.GA90997@lizzy.catnook.com> <3CF73679.A5AB7886@mindspring.com> <20020531170746.GA93242@lizzy.catnook.com> <3CF7EDC5.CF27B997@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert wrote: > > Jos Backus wrote: > > On Fri, May 31, 2002 at 01:38:17AM -0700, Terry Lambert wrote: > > > The biggest problem with GNU make that I've seen is re-expansion > > > of variable variables. > > > > > > The suggested fix doesn't address that, so it won't fix the most > > > common "compatability problem". > > > > So what? It fixes (in a backward-compatible way because ``$^'' isn't used in > > BSD make) one incompatibility without which I have to have two different > > Makefiles in the simple case I am thinking about. It's at least an incremental > > improvement that doesn't break anything afaIcs. > > 1) Please see the references I cited. I believe "$^" is used in > a BSD make, even if it's not in the FreeBSD make, and that in > a future version of FreeNSD make, it ought to have the function > of the BSD make that uses it, not GNU make. > > 2) I am not comfortable with changing FreeBSD make into GNU make. I would really like all the existing make branches (BSD, GNU, SVR4) converge to a single syntax. Otherwise it's too much pain, and the only workaround is either to use only the classic V7 make features or write makefiles for gmake since it's readily available on all the platforms. > 3) I am not comfortable adding features to FreeBSD make which > render makefiles, which are then written to use these newly > added features, non-portable to other BSD systems. That's easy: don't write makefiles that use these features. Document them as strongly deprecated and compatibility-only. > 4) There are *already* enough cases where people have written > "sh" scripts with "bash" syntax, so that they *claim* they > are "sh" scripts, but are in fact "bash" scripts. I would > hate to see the same thing happen to "makefiles" to turn > them into "gmakefiles". I agree. If any such additions are made, they should be only enabled by a command-line options. On the other hand, you can just use gmake to the same effect. > 5) What you've added is a synonym for something that's already > there; it is better to change the makefile to use the existing > syntax, then it is to change the "make" to add new syntax. It means changing every makefile. > 6) What are you going to do, when you need to compile on Solaris? SVR4 make extensions are totally incompatible with BSD make extensions, so nothing changes in this respect: the BSD makefiles don't work on SVR4. > 7) What are you going to do when you need to compile on AIX? Same thing. > 8) How is "make" different from "cc" or "tar"? If we are going > to add the features, why not "just use GNU make instead"? Aren't we already using GCC and GNU tar ? Or am I completely missng the point of this point ? -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 19: 7:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from orthanc.ab.ca (orthanc.ab.ca [216.123.203.186]) by hub.freebsd.org (Postfix) with ESMTP id 18E8237B400 for ; Sun, 2 Jun 2002 19:07:38 -0700 (PDT) Received: from orthanc.ab.ca (localhost.orthanc.ab.ca [127.0.0.1]) by orthanc.ab.ca (8.12.3/8.12.3) with ESMTP id g5327Gm1012478; Sun, 2 Jun 2002 20:07:16 -0600 (MDT) (envelope-from lyndon@orthanc.ab.ca) Message-Id: <200206030207.g5327Gm1012478@orthanc.ab.ca> From: Lyndon Nerenberg Organization: The Frobozz Magic Homing Pigeon Company To: Sergey Babkin Cc: Terry Lambert , jos@catnook.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) In-reply-to: Your message of "Sun, 02 Jun 2002 19:48:34 EDT." <3CFAAED2.F98FD7B4@bellatlantic.net> X-Mailer: mh-e 5.0.92; MH 6.8.4; Emacs 21.2 Date: Sun, 02 Jun 2002 20:07:16 -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> "Sergey" == Sergey Babkin writes: Sergey> I would really like all the existing make branches (BSD, Sergey> GNU, SVR4) converge to a single syntax. Otherwise it's too Sergey> much pain, and the only workaround is either to use only the Sergey> classic V7 make features or write makefiles for gmake since Sergey> it's readily available on all the platforms. Fine. We all adopt the Plan 9 mk and make Presotto the gatekeeper of any further "enhancements." --lyndon (who doesn't understand why this is an issue, after having just converted a *whole* lot of source to work with POSIX make. Standards? Who gives a f*** (I guess ...)) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 19:14:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (adsl-66.218.45.239.dslextreme.com [66.218.45.239]) by hub.freebsd.org (Postfix) with SMTP id 0F73937B406 for ; Sun, 2 Jun 2002 19:14:56 -0700 (PDT) Received: (qmail 14364 invoked by uid 1000); 3 Jun 2002 02:15:17 -0000 Date: Sun, 2 Jun 2002 19:14:55 -0701 From: Jos Backus To: Lyndon Nerenberg Cc: Sergey Babkin , Terry Lambert , freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) Message-ID: <20020603021517.GA11452@lizzy.catnook.com> Reply-To: jos@catnook.com Mail-Followup-To: Lyndon Nerenberg , Sergey Babkin , Terry Lambert , freebsd-hackers@FreeBSD.ORG References: <3CFAAED2.F98FD7B4@bellatlantic.net> <200206030207.g5327Gm1012478@orthanc.ab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206030207.g5327Gm1012478@orthanc.ab.ca> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 02, 2002 at 08:07:16PM -0600, Lyndon Nerenberg wrote: > --lyndon (who doesn't understand why this is an issue, after having > just converted a *whole* lot of source to work with > POSIX make. Standards? Who gives a f*** (I guess ...)) I just checked the Open Group make definition and I can't find either $^ or $>. So if we want to be truly standards-compliant perhaps we should remove support for $> :-) -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos@catnook.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 19:33:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from orthanc.ab.ca (orthanc.ab.ca [216.123.203.186]) by hub.freebsd.org (Postfix) with ESMTP id 9140937B408 for ; Sun, 2 Jun 2002 19:33:16 -0700 (PDT) Received: from orthanc.ab.ca (localhost.orthanc.ab.ca [127.0.0.1]) by orthanc.ab.ca (8.12.3/8.12.3) with ESMTP id g532X8m1012565; Sun, 2 Jun 2002 20:33:08 -0600 (MDT) (envelope-from lyndon@orthanc.ab.ca) Message-Id: <200206030233.g532X8m1012565@orthanc.ab.ca> From: Lyndon Nerenberg Organization: The Frobozz Magic Homing Pigeon Company To: jos@catnook.com Cc: Sergey Babkin , Terry Lambert , freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) In-reply-to: Your message of "Sun, 02 Jun 2002 19:14:55 -0701." <20020603021517.GA11452@lizzy.catnook.com> X-Mailer: mh-e 5.0.92; MH 6.8.4; Emacs 21.2 Date: Sun, 02 Jun 2002 20:33:08 -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> "Jos" == Jos Backus writes: Jos> I just checked the Open Group make definition and I can't find Jos> either $^ or $>. So if we want to be truly standards-compliant Jos> perhaps we should remove support for $> :-) We are POSIX compliant right now (I think -- I haven't done a strict comparison between (our) BSD make and POSIX). BSD does have things that aren't in POSIX, as does GNUmake. Removing the historical BSD syntax would just break things, so I wouldn't advocate that. We can depricate the BSD extensions if that seems useful. That's not the same as adding new incompatible extensions to make (ours, GNUs, or anyone elses). Writing portable makefiles is already enough of a pain in the ass. --lyndon (death to feeping creaturism!) (And yes, I would really miss the BSD/GNU if/then/else makefile constructs if we went POSIX-anal on this.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 19:39:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (adsl-66.218.45.239.dslextreme.com [66.218.45.239]) by hub.freebsd.org (Postfix) with SMTP id CAFEA37B407 for ; Sun, 2 Jun 2002 19:39:42 -0700 (PDT) Received: (qmail 20281 invoked by uid 1000); 3 Jun 2002 02:40:04 -0000 Date: Sun, 2 Jun 2002 19:39:42 -0701 From: Jos Backus To: Lyndon Nerenberg Cc: Sergey Babkin , Terry Lambert , freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) Message-ID: <20020603024004.GC11452@lizzy.catnook.com> Reply-To: jos@catnook.com Mail-Followup-To: Lyndon Nerenberg , Sergey Babkin , Terry Lambert , freebsd-hackers@FreeBSD.ORG References: <20020603021517.GA11452@lizzy.catnook.com> <200206030233.g532X8m1012565@orthanc.ab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206030233.g532X8m1012565@orthanc.ab.ca> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 02, 2002 at 08:33:08PM -0600, Lyndon Nerenberg wrote: > We are POSIX compliant right now (I think -- I haven't done a strict > comparison between (our) BSD make and POSIX). BSD does have things that > aren't in POSIX, as does GNUmake. Removing the historical BSD syntax > would just break things, so I wouldn't advocate that. Neither would I; claiming that strict POSIX-compliance is the end-all goal makes no sense imo. > We can depricate > the BSD extensions if that seems useful. That's not the same as adding > new incompatible extensions to make (ours, GNUs, or anyone elses). My proposal for adding $^ as an alias for $> does not add any incompatibilities, neither with POSIX nor with any existing BSD make. Only Terry has said that BSD make used to use $^ but so far he hasn't shown any proof that this is still in use anywhere. > Writing portable makefiles is already enough of a pain in the ass. Writing Makefiles is a pain, period. > --lyndon (death to feeping creaturism!) > > (And yes, I would really miss the BSD/GNU if/then/else makefile > constructs if we went POSIX-anal on this.) Needless to say, I'm certainly not advocating that we do this. -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos@catnook.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 20: 2:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from T2000.me.ncku.edu.tw (T2000.me.ncku.edu.tw [140.116.71.120]) by hub.freebsd.org (Postfix) with SMTP id A90ED37B400; Sun, 2 Jun 2002 20:02:06 -0700 (PDT) Received: from 345 (unverified [210.202.191.52]) by T2000.me.ncku.edu.tw (EMWAC SMTPRS 0.83) with SMTP id ; Mon, 03 Jun 2002 11:02:02 +0800 To: 454566@kimo.com.tw From: 454566@kimo.com.tw Subject: 可詢價~捷運華廈自售~~鄭小姐:0955946855 Date: Sun, 02 Jun 2002 21:11:46 +0800 Message-Id: <37409.883180208336900.34358@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ================================ 捷運華廈自售~~鄭小姐:0955946855 ================================ 玉成街*號*樓(挑高4米2) 近忠孝捷運後山碑站,權狀約20坪, 全新裝潢, 兩房兩廳一衛,另附車位一個. 掮免. 意者請洽: 鄭小姐:0955946855 OR 徐先生:0922671795 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 21:39:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from orthanc.ab.ca (orthanc.ab.ca [216.123.203.186]) by hub.freebsd.org (Postfix) with ESMTP id 2756C37B400 for ; Sun, 2 Jun 2002 21:39:16 -0700 (PDT) Received: from orthanc.ab.ca (localhost.orthanc.ab.ca [127.0.0.1]) by orthanc.ab.ca (8.12.3/8.12.3) with ESMTP id g534d2m1029139; Sun, 2 Jun 2002 22:39:02 -0600 (MDT) (envelope-from lyndon@orthanc.ab.ca) Message-Id: <200206030439.g534d2m1029139@orthanc.ab.ca> From: Lyndon Nerenberg Organization: The Frobozz Magic Homing Pigeon Company To: jos@catnook.com Cc: Sergey Babkin , Terry Lambert , freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) In-reply-to: Your message of "Sun, 02 Jun 2002 19:39:42 -0701." <20020603024004.GC11452@lizzy.catnook.com> X-Mailer: mh-e 5.0.92; MH 6.8.4; Emacs 21.2 Date: Sun, 02 Jun 2002 22:39:02 -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> "Jos" == Jos Backus writes: >> Writing portable makefiles is already enough of a pain in the >> ass. Jos> Writing Makefiles is a pain, period. Writing makefiles is easy. Writing *portable* makefiles is a pain. There *is* a difference. --lyndon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 21:43:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailhost.gu.edu.au (kraken.itc.gu.edu.au [132.234.250.31]) by hub.freebsd.org (Postfix) with ESMTP id 700F737B400 for ; Sun, 2 Jun 2002 21:43:14 -0700 (PDT) Received: from kurango.cit.gu.edu.au (daemon@kurango.cit.gu.edu.au [132.234.86.1]) by mailhost.gu.edu.au (8.10.1/8.10.1) with ESMTP id g534hBE27620; Mon, 3 Jun 2002 14:43:12 +1000 (EST) Received: from localhost (steve@localhost) by kurango.cit.gu.edu.au (8.12.2/8.12.2) with SMTP id g534h63w008503; Mon, 3 Jun 2002 14:43:07 +1000 (EST) Date: Mon, 3 Jun 2002 14:43:06 +1000 (EST) From: Steven Goodwin Reply-To: Steven Goodwin To: "Matthew N. Dodd" Cc: igor_dorovskoy@agilent.com, freebsd-hackers@FreeBSD.ORG Subject: Re: XFree86 4.2.0 & GeForce4 440 Go in Dell Latitude C840 In-Reply-To: <20020602034535.O42854-100000@sasami.jurai.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2 Jun 2002, Matthew N. Dodd wrote: > On Fri, 31 May 2002 igor_dorovskoy@agilent.com wrote: > > Sorry for X off topic... > > > > Is anybody here got that combination running? > > Thanks in advance for any possible help, > > If the 'nv' driver won't deal with it you're out of luck until NVIDIA does > something about FreeBSD support. > I think the latest (perhaps development) version of XFree86 4.2 has support for the GeForce 4 (but the FreeBSD port is not yet incorporating the necessary patches). I'm sure it was in their changelogs. I'll have a look for you ..... Yep, it seems to be in number 23 the changelog @ http://www.xfree86.org/cvs/changes.html although the nv driver page doesn't reflect this at the moment. You might need to use cvs and check out the latest code (http://www.xfree86.org/cvs/) or wait until the next time the port is updated and should have support for your card. Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 21:57: 2 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (adsl-66.218.45.239.dslextreme.com [66.218.45.239]) by hub.freebsd.org (Postfix) with SMTP id E523D37B403 for ; Sun, 2 Jun 2002 21:56:58 -0700 (PDT) Received: (qmail 52780 invoked by uid 1000); 3 Jun 2002 04:57:20 -0000 Date: Sun, 2 Jun 2002 21:56:58 -0701 From: Jos Backus To: Lyndon Nerenberg Cc: Sergey Babkin , Terry Lambert , freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) Message-ID: <20020603045720.GG11452@lizzy.catnook.com> Reply-To: jos@catnook.com Mail-Followup-To: Lyndon Nerenberg , Sergey Babkin , Terry Lambert , freebsd-hackers@FreeBSD.ORG References: <20020603024004.GC11452@lizzy.catnook.com> <200206030439.g534d2m1029139@orthanc.ab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206030439.g534d2m1029139@orthanc.ab.ca> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 02, 2002 at 10:39:02PM -0600, Lyndon Nerenberg wrote: > >>>>> "Jos" == Jos Backus writes: > > >> Writing portable makefiles is already enough of a pain in the > >> ass. > Jos> Writing Makefiles is a pain, period. > > Writing makefiles is easy. Writing *portable* makefiles is a pain. > There *is* a difference. I agree with the portable part. For small projects, Makefiles are fine imo. -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos@catnook.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 22:29: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from orthanc.ab.ca (orthanc.ab.ca [216.123.203.186]) by hub.freebsd.org (Postfix) with ESMTP id 3558137B40B for ; Sun, 2 Jun 2002 22:28:58 -0700 (PDT) Received: from orthanc.ab.ca (localhost.orthanc.ab.ca [127.0.0.1]) by orthanc.ab.ca (8.12.3/8.12.3) with ESMTP id g535Snm1029630; Sun, 2 Jun 2002 23:28:49 -0600 (MDT) (envelope-from lyndon@orthanc.ab.ca) Message-Id: <200206030528.g535Snm1029630@orthanc.ab.ca> From: Lyndon Nerenberg Organization: The Frobozz Magic Homing Pigeon Company To: jos@catnook.com Cc: Sergey Babkin , Terry Lambert , freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) In-reply-to: Your message of "Sun, 02 Jun 2002 19:39:42 -0701." <20020603024004.GC11452@lizzy.catnook.com> X-Mailer: mh-e 5.0.92; MH 6.8.4; Emacs 21.2 Date: Sun, 02 Jun 2002 23:28:49 -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> "Jos" == Jos Backus writes: Jos> My proposal for adding $^ as an alias for $> does not add any Jos> incompatibilities, neither with POSIX nor with any existing BSD Jos> make. Yes, and no. Adding new features doesn't break existing code, but it encourages new code to use the new features in a non-compatible way. The import of tcsh on top of csh is a classic of this. What we have works. It's not cool and/or sexy. But it works. If you *need* the features of GNUmake, use GNUmake. --lyndon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 22:39:31 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (adsl-66.218.45.239.dslextreme.com [66.218.45.239]) by hub.freebsd.org (Postfix) with SMTP id 4999837B400 for ; Sun, 2 Jun 2002 22:39:26 -0700 (PDT) Received: (qmail 63473 invoked by uid 1000); 3 Jun 2002 05:39:47 -0000 Date: Sun, 2 Jun 2002 22:39:25 -0700 From: Jos Backus To: Lyndon Nerenberg Cc: Sergey Babkin , Terry Lambert , freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) Message-ID: <20020603053947.GJ11452@lizzy.catnook.com> Reply-To: jos@catnook.com Mail-Followup-To: Lyndon Nerenberg , Sergey Babkin , Terry Lambert , freebsd-hackers@FreeBSD.ORG References: <20020603024004.GC11452@lizzy.catnook.com> <200206030528.g535Snm1029630@orthanc.ab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206030528.g535Snm1029630@orthanc.ab.ca> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 02, 2002 at 11:28:49PM -0600, Lyndon Nerenberg wrote: > >>>>> "Jos" == Jos Backus writes: > > Jos> My proposal for adding $^ as an alias for $> does not add any > Jos> incompatibilities, neither with POSIX nor with any existing BSD > Jos> make. > > Yes, and no. Adding new features doesn't break existing code, but it > encourages new code to use the new features in a non-compatible way. The > import of tcsh on top of csh is a classic of this. What we have > works. It's not cool and/or sexy. But it works. If you *need* the > features of GNUmake, use GNUmake. Sigh. BSD make and GNU make already _share_ this same feature, it's just that they _name_ it differently: $> v.s. $^. If POSIX would only adopt one (or both) we could follow their lead and be done with it. But that's not going to happen any time soon. > --lyndon -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos@catnook.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 22:58:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 38F4C37B403 for ; Sun, 2 Jun 2002 22:58:38 -0700 (PDT) Received: from pool0234.cvx21-bradley.dialup.earthlink.net ([209.179.192.234] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 17EkrP-0005Bt-00; Sun, 02 Jun 2002 22:58:32 -0700 Message-ID: <3CFB055B.FC5FE632@mindspring.com> Date: Sun, 02 Jun 2002 22:57:47 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Sergey Babkin Cc: jos@catnook.com, freebsd-hackers@freebsd.org Subject: Re: Improving GNU make compatibility in BSD make (+ patch) References: <20020531024250.GA90997@lizzy.catnook.com> <3CF73679.A5AB7886@mindspring.com> <20020531170746.GA93242@lizzy.catnook.com> <3CF7EDC5.CF27B997@mindspring.com> <3CFAAED2.F98FD7B4@bellatlantic.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sergey Babkin wrote: > I would really like all the existing make branches (BSD, GNU, SVR4) > converge to a single syntax. Otherwise it's too much pain, and the > only workaround is either to use only the classic V7 make features > or write makefiles for gmake since it's readily available on all > the platforms. I'd like it too, but it's not going to happen, any more than there will end up being a single file for init (ttys vs. inittab) or a single syntax for that file. v7 is an exaggeration, I think, unless you think the move to remove the __STDC__ and __P() code recently has been a mistake. The common subset, I think, is the same subset supported by AIX's "make". This all comes back to "if features exist, people will use them", which really argues *againt* incremental convergence even being possible. > > 3) I am not comfortable adding features to FreeBSD make which > > render makefiles, which are then written to use these newly > > added features, non-portable to other BSD systems. > > That's easy: don't write makefiles that use these features. Document > them as strongly deprecated and compatibility-only. Yet, here we are, sanctioning code that uses these deprecated features, by adding the features to a program that currently punishes their use... > > 4) There are *already* enough cases where people have written > > "sh" scripts with "bash" syntax, so that they *claim* they > > are "sh" scripts, but are in fact "bash" scripts. I would > > hate to see the same thing happen to "makefiles" to turn > > them into "gmakefiles". > > I agree. If any such additions are made, they should be only enabled > by a command-line options. On the other hand, you can just use gmake > to the same effect. This was my argument. Use "gmake". Admit the non-portability of your Makefile's syntax. Own up to your mistakes. > > 5) What you've added is a synonym for something that's already > > there; it is better to change the makefile to use the existing > > syntax, then it is to change the "make" to add new syntax. > > It means changing every makefile. To remove a feature that's defined "deprecated before implemented"; not really a heavy problem. > > 6) What are you going to do, when you need to compile on Solaris? > > SVR4 make extensions are totally incompatible with BSD make extensions, > so nothing changes in this respect: the BSD makefiles don't work > on SVR4. You mean "Makefiles with BSD specific syntax don't work on SVR4"; the thing that makes a Makefile non-portable is its use of non-portable syntax. And that a problem you resolve by chaning the Makefile, not all instances of "make". > > 7) What are you going to do when you need to compile on AIX? > > Same thing. "Use gmake instead", I guess you mean, unless you work for IBM in Austin, and have the kerys to the AFS on which the source code for the AIX version of "make" is hidden, and plan to change AIX "make" to support GNU syntax, as well. > > 8) How is "make" different from "cc" or "tar"? If we are going > > to add the features, why not "just use GNU make instead"? > > Aren't we already using GCC and GNU tar ? Or am I completely missng > the point of this point ? Yes and yes. 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 23:16:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id E040837B401 for ; Sun, 2 Jun 2002 23:16:53 -0700 (PDT) Received: from pool0234.cvx21-bradley.dialup.earthlink.net ([209.179.192.234] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 17El8z-0005TB-00; Sun, 02 Jun 2002 23:16:41 -0700 Message-ID: <3CFB09A8.B1A4D8FD@mindspring.com> Date: Sun, 02 Jun 2002 23:16:08 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Lyndon Nerenberg Cc: Sergey Babkin , jos@catnook.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) References: <200206030207.g5327Gm1012478@orthanc.ab.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lyndon Nerenberg wrote: > Fine. We all adopt the Plan 9 mk and make Presotto the gatekeeper > of any further "enhancements." URL for patches to every Makefile in FreeBSD, please... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 23:28:31 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id C000D37B405 for ; Sun, 2 Jun 2002 23:28:27 -0700 (PDT) Received: from pool0234.cvx21-bradley.dialup.earthlink.net ([209.179.192.234] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 17ElKL-0004q0-00; Sun, 02 Jun 2002 23:28:25 -0700 Message-ID: <3CFB0C67.5689C5BC@mindspring.com> Date: Sun, 02 Jun 2002 23:27:51 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: jos@catnook.com Cc: Lyndon Nerenberg , Sergey Babkin , freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) References: <3CFAAED2.F98FD7B4@bellatlantic.net> <200206030207.g5327Gm1012478@orthanc.ab.ca> <20020603021517.GA11452@lizzy.catnook.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jos Backus wrote: > On Sun, Jun 02, 2002 at 08:07:16PM -0600, Lyndon Nerenberg wrote: > > --lyndon (who doesn't understand why this is an issue, after having > > just converted a *whole* lot of source to work with > > POSIX make. Standards? Who gives a f*** (I guess ...)) > > I just checked the Open Group make definition and I can't find either $^ or > $>. So if we want to be truly standards-compliant perhaps we should remove > support for $> :-) Intentionally stepping on the option value namespace in the absence of a ratified standard is a really stupid thing to do. But POSIX is N-P incomplete for some problems. On purpose. This is because POSIX is not meant to be a useful standard, it is meant to be an exclusionary standard for competition for government contracts. It was primarily meant to keep VAX/VMS, VM/CMS, Windows, and other OS software from vendors without at least an SVR3 source license and a per unit royalty agreement with AT&T/USL from competing on contracts like "Desktop II", "Desktop III", "AFCAC 451", and so on, and to prevent inclusion of such OS's on the GSA purchasing schedule. POSIX is the minimum list of conformance requirements which the UNIX vendors involved could agree on, because their UNIX implementations already conformed. POSIX is so fuzzy in so many areas because there were conflicting implementations, and they had to write it so that all of them "complied with POSIX" by default, once the standard was ratified and made into a CLIN requirement for government contracts. Do you *really* believe that someone would design a standard with no way to do a lot of things OSs at the time could already do, *on purpose*, without some ulterior motive? That POSIX file locking semantics are the work of an engineering genius? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Jun 2 23:56:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 43FB637B412 for ; Sun, 2 Jun 2002 23:56:35 -0700 (PDT) Received: from pool0234.cvx21-bradley.dialup.earthlink.net ([209.179.192.234] helo=mindspring.com) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 17EllS-0006sL-00; Sun, 02 Jun 2002 23:56:26 -0700 Message-ID: <3CFB12F8.2BFB09D2@mindspring.com> Date: Sun, 02 Jun 2002 23:55:52 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Lyndon Nerenberg Cc: jos@catnook.com, Sergey Babkin , freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) References: <200206030233.g532X8m1012565@orthanc.ab.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lyndon Nerenberg wrote: > Writing portable makefiles is already enough of a pain in the ass. No. It's not. I've written Makefile's that predate the consolidation during and after The UNIX Wars; they run fine, unmodified, on 140 different vendor versions of UNIX. You are smearing the necessary distinctions between "mapping the problem space", "abstraction of complexity", and "non-intersection of mapping sets". All versions of "make" are attempts to map the same problem space. The more commands a "make" supports -- the richer the syntax it supports -- the more terse any given Makefile can be made to solve an arbitrary problem in the problem space. The more terse a Makefile, the higher its abstraction of the complexity of the problem to which it is being brought to bear. But each "make" has its own way of mapping the problem space; you can break the space into cubes, or you can break it into non-cubic trapezoids, or any of a number of elements of abstraction for a given space: and that gives you one mapping set. POSIX make semantics map the problem space, but they do so in a coarse fashion. What this means is that they are unable to be as terse as a make with a richer set of available mapping semantics (e.g. BSD make or GNU make). The upshot being that restricting yourself to POSIX make semantics means that your Makefile for an arbitrary problem will, with certain exceptions, end up being larger than a Makefile written to use additional features, above and beyond the POSIX features. In other words, a mapping set that is a superset of the POSIX mapping set -- or one, whose intersection with the POSIX mapping set is not the POSIX mapping set (i.e. it is missing some POSIX semantics). You need to be very careful with standards. When you build a mapping of a problem space, if that problem space is already mapped by a standard (e.g. POSIX), then you should minimally conform to the standard (conforming is defined as the standard set intersection with your implementations set yeilding the standard set). You also need to be very careful with extensions. Extensions, even in standards conforming implementations, are a problem in several ways: o If the standard is ever extended, there is a risk that your extension will conflict with the new instance of the standard. In general, revised standards will conform with existing standards (this is a definition for "revised standard" vs. "new standard"). o If your extensions are used, then software written to consume the standard interfaces is portable to your implementation, but software written to consume the interfaces exported by your implementation are *not* portable to other standards conformant implementations. In other words, you have attacked the standard through "embrace and extend", and you have encouraged the creation of non-compliant consumers of the standard defined interfaces. This is the basis of "The UNIX Wars", and it is also the basis of many people's complaints about Microsoft. o Your extensions may conflict with the extensions of third parties, which will damage the portability of the third parties application to your system. o Failure to adhere to standards damages the standards process by rendering standards meaningless in the face of defacto standards based, not on intelligent, informed consensus, but on market share. So ... why are we even having this discussion? Mostly, it's because people are too lazy to take their extensions to "make" syntax for finer granularity mapping of the problem space through the standards process, and want to make "defacto standards": "when you can't win fairly, cheat". I would still prefer that programs that need GNU make syntax use GNU make, and programs that need BSD make syntax use BSD make (and specifically, use the BSD make from the OP make source tree). If you are going to build non-standards-conforming Makefile's, at least be honest about the fact that they aren't conforming, and don't hide the origin of the non-conformance, so that you avoid conflicting future contributions as a result of conflicting divergence from the common superset of the standard (i.e. the attempted defacto standard end-run around the standards process). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 3 0:31:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 8D13037B401 for ; Mon, 3 Jun 2002 00:31:55 -0700 (PDT) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id g537Vpa28223; Mon, 3 Jun 2002 09:31:51 +0200 (MEST) Date: Mon, 3 Jun 2002 09:31:51 +0200 (CEST) From: Harti Brandt To: igor_dorovskoy@agilent.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: XFree86 4.2.0 & GeForce4 440 Go in Dell Latitude C840 In-Reply-To: <0D9185CE635BD511ACA50090277A6FCF038808C3@axcs18.cos.agilent.com> Message-ID: <20020603092925.C28428-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 31 May 2002 igor_dorovskoy@agilent.com wrote: >Sorry for X off topic... > >Is anybody here got that combination running? > >I've seen that Linux world did that with Nvidia's help. >How to port their solution into freebsd 4.5 box? After a little searching on the net I found a nv.tar.gz that builds a XF86 module that happens to work on my Dell 8200. Perhaps it works also with the C840. If you can't find it, I can send it to you harti > >Thanks in advance for any possible help, >Igor >ua3qrz > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message > -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 3 0:56: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.viasoft.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by hub.freebsd.org (Postfix) with ESMTP id 9E20537B405 for ; Mon, 3 Jun 2002 00:55:56 -0700 (PDT) Received: from davidwnt (davidwnt.viasoft.com.cn [192.168.1.239]) by mail.viasoft.com.cn (8.9.3/8.9.3) with SMTP id QAA27431; Mon, 3 Jun 2002 16:10:42 +0800 Message-ID: <008201c20ad3$282b0380$ef01a8c0@davidwnt> From: "David Xu" To: "Terry Lambert" , Cc: References: <20020531024250.GA90997@lizzy.catnook.com> <3CF73679.A5AB7886@mindspring.com> Subject: Re: Improving GNU make compatibility in BSD make (+ patch) Date: Mon, 3 Jun 2002 15:49:13 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The reason that autoconf & automake can only run under gmake is=20 gmake will re-read included file if the included file itself is modified = by some rules. BSD make does not! so they do not work with BSD make. for example: DEP_FILES =3D aaa.d bbb.d ccc.d $(DEP_FILES): %.d : %.cpp @echo "Generating auto dependency for $<" @$(SHELL) -ec '$(GXX) -MM $(CXXFLAGS) $< \ | sed '\''s/\($*\)\.o[ :]*/\1.o $@ : /g'\'' > $@; \ [ -s $@ ] || rm -f $@' -include $(DEP_FILES) when aaa.d and bbb.d and ccc.d are updated, gmake will re-readed it in = while BSD make not. in this example, if I use BSD make, I must first create target "depend" = in Makefile and run the stupid "make depend" command everytime I modified my source = code, with gmake, I can always run "make" without additional steps and it will = generates auto-depend rule before compiling real source code. David Xu ----- Original Message -----=20 From: "Terry Lambert" To: Cc: Sent: Friday, May 31, 2002 4:38 PM Subject: Re: Improving GNU make compatibility in BSD make (+ patch) > Jos Backus wrote: > > So BSD make interpreting either `$^' or `$+' as its own `$>' would = improve > > compatibility with GNU make Makefiles. I am just not sure which of = the two GNU > > make variables maps better to our `$>'. This patch implements the = former: >=20 > The biggest problem with GNU make that I've seen is re-expansion > of variable variables. >=20 > The suggested fix doesn't address that, so it won't fix the most > common "compatability problem". >=20 > If we are going to evolve make into gmake (not a good idea, IMO), > then probably the place to start is "any port that requires gmake" > to get it working under "make". >=20 > I'm not sure, but I believe the other BSD's, and "OpenPorts" have > modified "make" syntax somewhat. It's probably a good idea to keep > compatability with options in the "OpenPorts" camp, more than any > other, if it ever evolves to fulfill its potential properly. >=20 > I really hate that many autoconf/automake scripts generate code > that can ony be run by gmake, and sometimes also requires that > /bin/sh actually be "bash" instead of "sh". >=20 > It also occurs to me (from experience with "perl"), that in any > language where it's posible to do something in more than one way, > it is then impossible to differentiate "the right way" from "the > wrong way". 8-(. >=20 > -- Terry >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 3 5:52:51 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from msgbas1.cos.agilent.com (msgbas1x.cos.agilent.com [192.25.240.36]) by hub.freebsd.org (Postfix) with ESMTP id 31FE637B407 for ; Mon, 3 Jun 2002 05:52:48 -0700 (PDT) Received: from msgrel1.cos.agilent.com (msgrel1.cos.agilent.com [130.29.152.77]) by msgbas1.cos.agilent.com (Postfix) with ESMTP id A31C6A4A3; Mon, 3 Jun 2002 06:52:47 -0600 (MDT) Received: from axcsbh4.cos.agilent.com (axcsbh4.cos.agilent.com [130.29.152.145]) by msgrel1.cos.agilent.com (Postfix) with SMTP id DFD771B2; Mon, 3 Jun 2002 06:52:46 -0600 (MDT) Received: from 130.29.152.145 by axcsbh4.cos.agilent.com (InterScan E-Mail VirusWall NT); Mon, 03 Jun 2002 06:52:46 -0600 Received: by axcsbh4.cos.agilent.com with Internet Mail Service (5.5.2653.19) id ; Mon, 3 Jun 2002 06:52:46 -0600 Message-ID: <0D9185CE635BD511ACA50090277A6FCF038808C4@axcs18.cos.agilent.com> From: igor_dorovskoy@agilent.com To: steve@cit.gu.edu.au, winter@jurai.net Cc: igor_dorovskoy@agilent.com, freebsd-hackers@FreeBSD.ORG Subject: RE: XFree86 4.2.0 & GeForce4 440 Go in Dell Latitude C840 Date: Mon, 3 Jun 2002 06:52:35 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thank you very much Steve! I'll try to pick up their cvs changes right now. Igor. On Sun, 2 Jun 2002, Matthew N. Dodd wrote: > On Fri, 31 May 2002 igor_dorovskoy@agilent.com wrote: > > Sorry for X off topic... > > > > Is anybody here got that combination running? > > Thanks in advance for any possible help, > > If the 'nv' driver won't deal with it you're out of luck until NVIDIA does > something about FreeBSD support. > I think the latest (perhaps development) version of XFree86 4.2 has support for the GeForce 4 (but the FreeBSD port is not yet incorporating the necessary patches). I'm sure it was in their changelogs. I'll have a look for you ..... Yep, it seems to be in number 23 the changelog @ http://www.xfree86.org/cvs/changes.html although the nv driver page doesn't reflect this at the moment. You might need to use cvs and check out the latest code (http://www.xfree86.org/cvs/) or wait until the next time the port is updated and should have support for your card. Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 3 10:56: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from popcs.cs.tin.it (popcs.cs.tin.it [194.243.155.125]) by hub.freebsd.org (Postfix) with SMTP id 1D95E37B401 for ; Mon, 3 Jun 2002 10:56:00 -0700 (PDT) Received: (qmail 3402 invoked from network); 29 May 2002 09:34:02 -0000 Received: from cruiser.cs.tin.it (HELO cs.tin.it) (212.216.178.193) by popcs.cs.tin.it with SMTP; 29 May 2002 09:34:02 -0000 Message-ID: <3CF49F6F.769C7715@cs.tin.it> Date: Wed, 29 May 2002 11:29:19 +0200 From: Ferruccio Vitale X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Subject: Newbie needs help!!!!! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm trying to write a kernel module which make use of kernel event. is there anyone who knows where I can find documentation about this? Regards, Ferruccio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 3 15:40: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from sirppi.helsinki.fi (sirppi.helsinki.fi [128.214.205.27]) by hub.freebsd.org (Postfix) with ESMTP id 0F34637B405; Mon, 3 Jun 2002 15:39:47 -0700 (PDT) Received: from localhost (akoskine@localhost) by sirppi.helsinki.fi (8.11.6/8.11.4) with ESMTP id g53MdeI27174; Tue, 4 Jun 2002 01:39:41 +0300 (EET DST) X-Authentication-Warning: sirppi.helsinki.fi: akoskine owned process doing -bs Date: Tue, 4 Jun 2002 01:39:40 +0300 (EET DST) From: Aaro J Koskinen To: Terry Lambert Cc: Bosko Milekic , , Subject: Re: ICU_LEN with IO APIC In-Reply-To: <3CF7E5C9.82526E0A@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 31 May 2002, Terry Lambert wrote: > Bosko Milekic wrote: > > I'm not sure but perhaps this is historical (and now also required > > again), but if we use a word to mask out interrupts than after 32 we > > run out of bits. "Who needs more than 32 interrupts anyway?!" :-) > > Who needs more than 4? OK, so you guys are running systems with a single IO APIC and even a single PCI bus... Scalable design. :-) A. -- Aaro Koskinen E-mail: aaro@iki.fi "I'm the ocean, I'm the giant undertow." http://www.iki.fi/aaro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 3 18:25:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from bast.unixathome.org (bast.unixathome.org [216.187.105.150]) by hub.freebsd.org (Postfix) with ESMTP id A74EB37B406 for ; Mon, 3 Jun 2002 18:25:44 -0700 (PDT) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 7CCF63F3A for ; Mon, 3 Jun 2002 21:26:38 -0400 (EDT) From: "Dan Langille" Organization: DVL Software Limited To: hackers@freebsd.org Date: Mon, 3 Jun 2002 21:25:25 -0400 MIME-Version: 1.0 Subject: cvsup doesn't get me what I want Reply-To: dan@langille.org X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Message-Id: <20020604012638.7CCF63F3A@bast.unixathome.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Folks, I'm having trouble understanding this problem. I'm trying to use cvsup to get stuff onto my website. This supfile gets things out of the tree $ less ~/phpAdsNew-supfile *default host=xeon *default base=/usr/websites/freshports *default release=cvs *default delete use-rel-suffix *default umask=007 *default preserve *default tag=. freshports-phpAds But what I really want is tag=FreshPorts2 but if I use that, I don't get anything out of the repo. The tags exist: However, for example: $ cvs stat -v ChangeLog =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.1.1.1 Tue Jun 4 01:01:32 2002 Repository revision: 1.1.1.1 /home/repositories/freshports- 1/phpPgAds/ChangeLog,v Sticky Tag: FreshPorts2 (revision: 1.1.1.1) Sticky Date: (none) Sticky Options: (none) Existing Tags: cvs (revision: 1.1.1.1) FreshPorts2 (revision: 1.1.1.1) I just don't get it. Why doesn't tag=FreshPorts2 work? cheers -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ - practical examples To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 3 20:32:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from thought.adamantsys.com (w120.z064002057.sjc-ca.dsl.cnc.net [64.2.57.120]) by hub.freebsd.org (Postfix) with ESMTP id 7784B37B404; Mon, 3 Jun 2002 20:32:44 -0700 (PDT) Received: from localhost (localhost.adamantsys.com [127.0.0.1]) by thought.adamantsys.com (8.12.3/8.12.3) with ESMTP id g543X5L2003407; Mon, 3 Jun 2002 20:33:06 -0700 (PDT) (envelope-from brian@CSUA.Berkeley.EDU) Date: Mon, 3 Jun 2002 20:33:05 -0700 (PDT) From: "Brian W. Buchanan" X-X-Sender: brian@thought.adamantsys.com To: freebsd-hackers@freebsd.org Cc: cg@freebsd.org Subject: cmi sound problems in 4.6-RC Message-ID: <20020603202447.X252-100000@thought.adamantsys.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG FreeBSD 4.6-RC FreeBSD 4.6-RC #1: Sun Jun 2 18:03:01 PDT 2002 i386 pcm0: port 0xa400-0xa4ff irq 10 at device 5.0 on pci0 Sound is scratchy... sounds kinda like when you've got a loose speaker cable. I swapped the snd_pcm and snd_cmi KLDs for ones built from 4-STABLE on March 9th, and the problem went away. I'm guessing that cg's MFC on 4/22 caused the breakage. I haven't tried this with other hardware yet, but I'll upgrade my laptop to 4.6-RC shortly and see if this affects the csa driver as well. - Brian -- Brian Buchanan brian@CSUA.Berkeley.EDU -------------------------------------------------------------------------- FreeBSD - The Power to Serve! http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Jun 3 22:39: 0 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from thought.adamantsys.com (w120.z064002057.sjc-ca.dsl.cnc.net [64.2.57.120]) by hub.freebsd.org (Postfix) with ESMTP id 4849C37B409; Mon, 3 Jun 2002 22:38:49 -0700 (PDT) Received: from localhost (localhost.adamantsys.com [127.0.0.1]) by thought.adamantsys.com (8.12.3/8.12.3) with ESMTP id g545dBL2003688; Mon, 3 Jun 2002 22:39:11 -0700 (PDT) (envelope-from brian@CSUA.Berkeley.EDU) Date: Mon, 3 Jun 2002 22:39:11 -0700 (PDT) From: "Brian W. Buchanan" X-X-Sender: brian@thought.adamantsys.com To: freebsd-hackers@freebsd.org Cc: cg@freebsd.org Subject: Re: cmi sound problems in 4.6-RC In-Reply-To: <20020603202447.X252-100000@thought.adamantsys.com> Message-ID: <20020603223622.I252-100000@thought.adamantsys.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Following up to myself... I brought my laptop up to date: FreeBSD 4.6-RC #1: Mon Jun 3 21:48:05 PDT 2002 i386 pcm0: on csa0 No problems. Sound is just fine. The problem seems to be limited to the cmi driver. Brian -- Brian Buchanan brian@CSUA.Berkeley.EDU -------------------------------------------------------------------------- FreeBSD - The Power to Serve! http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 3:17:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from bugz.infotecs.ru (bugz.infotecs.ru [195.210.139.22]) by hub.freebsd.org (Postfix) with ESMTP id 8D36437B40A for ; Tue, 4 Jun 2002 03:17:09 -0700 (PDT) Received: (from root@localhost) by bugz.infotecs.ru (8.11.6/8.11.4) id g54AH5q88222 for freebsd-hackers@freebsd.org; Tue, 4 Jun 2002 14:17:05 +0400 (MSD) (envelope-from vel) From: "Eugene L. Vorokov" Message-Id: <200206041017.g54AH5q88222@bugz.infotecs.ru> Subject: "quota" output To: freebsd-hackers@freebsd.org Date: Tue, 4 Jun 2002 14:17:05 +0400 (MSD) X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I was setting up quotas on 20gb disk, and seen this: vel@bugz:/home/vel # quota -v for_all Disk quotas for user for_all (uid 1003): Filesystem usage quota limit grace files quota limit grace /usr13471298 013500000 45321 0 0 It doesn't look very nice ... Regards, Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 4:53: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from popcs.cs.tin.it (popcs.cs.tin.it [194.243.155.125]) by hub.freebsd.org (Postfix) with SMTP id 2517D37B401 for ; Tue, 4 Jun 2002 04:53:04 -0700 (PDT) Received: (qmail 14399 invoked from network); 4 Jun 2002 09:11:03 -0000 Received: from cruiser.cs.tin.it (HELO cs.tin.it) (212.216.178.193) by popcs.cs.tin.it with SMTP; 4 Jun 2002 09:11:03 -0000 Message-ID: <3CFC82EC.939E17AE@cs.tin.it> Date: Tue, 04 Jun 2002 11:05:48 +0200 From: Ferruccio Vitale X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: kernel event & module Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm trying to write a kernel module which make use of kernel event. is there anyone who knows where I can find documentation about this? Regards, Ferruccio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 6:37:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from popcs.cs.tin.it (popcs.cs.tin.it [194.243.155.125]) by hub.freebsd.org (Postfix) with SMTP id 4212437B401 for ; Tue, 4 Jun 2002 06:37:06 -0700 (PDT) Received: (qmail 12501 invoked from network); 4 Jun 2002 13:41:50 -0000 Received: from cruiser.cs.tin.it (HELO cs.tin.it) (212.216.178.193) by popcs.cs.tin.it with SMTP; 4 Jun 2002 13:41:50 -0000 Message-ID: <3CFCC261.EBDDF0EB@cs.tin.it> Date: Tue, 04 Jun 2002 15:36:33 +0200 From: Ferruccio Vitale X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: O Senhor , freebsd-arch@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Newbie needs help!!!!! References: <3CF49F6F.769C7715@cs.tin.it> <1023127562.25407.54.camel@ws-tor-0004> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG O Senhor wrote: > hello, > In the FreeBSD home page, there is docomentations for developers, that > talk about it. > > On Wed, 2002-05-29 at 06:29, Ferruccio Vitale wrote: > > Hi, > > > > I'm trying to write a kernel module which make use of kernel event. > > is there anyone who knows where I can find documentation about this? > > Regards, > > > Ok, I've already read those pages, real useful to start. Now I've my module, which creates dynamic sysctl and so on; now I need to monitor the existence of another process and I tough at kqueue/kevent method. But are these functions for userland process, aren't they? How could I do the same in kernel land? Ferruccio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 7:28:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from web21105.mail.yahoo.com (web21105.mail.yahoo.com [216.136.227.107]) by hub.freebsd.org (Postfix) with SMTP id E187537B405 for ; Tue, 4 Jun 2002 07:28:36 -0700 (PDT) Message-ID: <20020604142836.26297.qmail@web21105.mail.yahoo.com> Received: from [62.254.0.5] by web21105.mail.yahoo.com via HTTP; Tue, 04 Jun 2002 07:28:36 PDT Date: Tue, 4 Jun 2002 07:28:36 -0700 (PDT) From: Hiten Pandya Reply-To: hiten@uk.FreeBSD.org Subject: Re: Newbie needs help!!!!! To: Ferruccio Vitale , O Senhor , freebsd-arch@freebsd.org, freebsd-hackers@freebsd.org In-Reply-To: <3CFCC261.EBDDF0EB@cs.tin.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Ferruccio Vitale wrote: > Ok, I've already read those pages, real useful to start. > Now I've my module, which creates dynamic sysctl and so on; now I need to > monitor the existence of another process and I tough at kqueue/kevent > method. But are these functions for userland process, aren't they? How > could I do the same in kernel land? Try the kevent(2) manual page. It has some good amount of information. I am including some more pointers for you. Hope they are useful. Thanks. http://www.madison-gurkha.com/publications/kqueue/ http://people.freebsd.org/~jlemon/kqueue_slides/ As a bonus, and example of how use the kqueue(2)/kevent(2) API: http://www.monkeys.com/freeware/kqueue-echo.c Have fun. Hope this helps. Regards. -- Hiten __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 8:32:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from prg.traveller.cz (prg.traveller.cz [193.85.2.77]) by hub.freebsd.org (Postfix) with ESMTP id 13B0337B403 for ; Tue, 4 Jun 2002 08:32:34 -0700 (PDT) Received: from prg.traveller.cz (localhost [127.0.0.1]) by prg.traveller.cz (8.12.2[KQ/pukvis]/8.12.2-prg) with ESMTP id g54FWWAd023733 for ; Tue, 4 Jun 2002 17:32:33 +0200 (CEST) Received: from localhost (mime@localhost) by prg.traveller.cz (8.12.2[KQ/pukvis]/8.12.2-prg/submit) with ESMTP id g54FWWBv023730 for ; Tue, 4 Jun 2002 17:32:32 +0200 (CEST) Date: Tue, 4 Jun 2002 17:32:32 +0200 (CEST) From: Michal Mertl To: hackers@freebsd.org Subject: max number of tcp cons on STABLE (bug?) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I like to run stupid benchmarks (http_load) and found the same problem lots of other people complained about on the lists - "no buffer space available" and similar on the requests generating machine. I wanted to let the http_load run for long time so that the number of Apache processes stabilizes for high load. But no matter what I configured to kern.maxusers, net.inet.tcp.{send,recv}space, kern.ipc.somaxconn, kern.ipc.maxsockets, kern.ipc.nmbclusters, kern.maxfiles, client always starts to fail after having net.inet.tcp.pcbcount about ~4000 (close to the number of sockets seen with 'netstat -anf inet'). Output of 'netstat -m' isn't anywhere close to mbuf exhaustion. My main observation: From the names of OIDs I thought the high limit on net.inet.tcp.pcbcount could be somehow controlled by kern.ipc.maxsockets. That seems to be true on CURRENT but not on STABLE. I understand that it's not very common to have more than ~4000 sockets but I think it should be possible. It can be the reason of others' failures I guess. -- Michal Mertl mime@traveller.cz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 8:37:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id 54A6337B407 for ; Tue, 4 Jun 2002 08:37:25 -0700 (PDT) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g54FbAp06650; Tue, 4 Jun 2002 08:37:10 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.6/8.11.0) id g54Fb9V47525; Tue, 4 Jun 2002 08:37:09 -0700 (PDT) (envelope-from jdp) Date: Tue, 4 Jun 2002 08:37:09 -0700 (PDT) Message-Id: <200206041537.g54Fb9V47525@vashon.polstra.com> To: hackers@freebsd.org From: John Polstra Cc: dan@langille.org Subject: Re: cvsup doesn't get me what I want In-Reply-To: <20020604012638.7CCF63F3A@bast.unixathome.org> References: <20020604012638.7CCF63F3A@bast.unixathome.org> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20020604012638.7CCF63F3A@bast.unixathome.org>, Dan Langille wrote: > Folks, I'm having trouble understanding this problem. I'm trying to use > cvsup to get stuff onto my website. This supfile gets things out of the > tree > > $ less ~/phpAdsNew-supfile > *default host=xeon > *default base=/usr/websites/freshports > *default release=cvs > *default delete use-rel-suffix > *default umask=007 > *default preserve > *default tag=. > freshports-phpAds > > But what I really want is tag=FreshPorts2 but if I use that, I don't get > anything out of the repo. > > The tags exist: > > However, for example: > > $ cvs stat -v ChangeLog > =================================================================== > File: ChangeLog Status: Up-to-date > > Working revision: 1.1.1.1 Tue Jun 4 01:01:32 2002 > Repository revision: 1.1.1.1 /home/repositories/freshports- > 1/phpPgAds/ChangeLog,v > Sticky Tag: FreshPorts2 (revision: 1.1.1.1) > Sticky Date: (none) > Sticky Options: (none) > > Existing Tags: > cvs (revision: 1.1.1.1) > FreshPorts2 (revision: 1.1.1.1) > > > I just don't get it. Why doesn't tag=FreshPorts2 work? You should get rid of the "preserve" keyword in your supfile. It doesn't really make any sense when working in checkout mode. But that's probably not the problem. I'll help you figure this out if you'll send me the following information: The cvsupd server config files for the collection ("releases" and the list file). The full pathnames of the cvsupd server config files for the collection. The command line used to invoke cvsupd. The full pathname of the ChangeLog RCS file you used as your example, on the server machine. The output of "rlog -h ChangeLog,v" on that file on the server. The command line used to invoke cvsup on the client machine. The output of find /usr/websites/freshports/sup -name 'refuse*' on the client machine. The output of "cvsup -v" on the client and "cvsupd -v" on the server. Please be careful to ensure that your PATH is really finding the same copies of these programs that your cron job or other mechanism normally executes. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Ch鐷yam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 9: 8:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from patrocles.silby.com (d67.as14.nwbl0.wi.voyager.net [169.207.134.67]) by hub.freebsd.org (Postfix) with ESMTP id 99BDF37B400 for ; Tue, 4 Jun 2002 09:08:45 -0700 (PDT) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.3/8.12.3) with ESMTP id g54GAOOA042875; Tue, 4 Jun 2002 11:10:24 -0500 (CDT) (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.3/8.12.3/Submit) with ESMTP id g54GAKs0042872; Tue, 4 Jun 2002 11:10:23 -0500 (CDT) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Tue, 4 Jun 2002 11:10:20 -0500 (CDT) From: Mike Silbersack To: Michal Mertl Cc: hackers@freebsd.org Subject: Re: max number of tcp cons on STABLE (bug?) In-Reply-To: Message-ID: <20020604110855.H42854-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 4 Jun 2002, Michal Mertl wrote: > My main observation: > >From the names of OIDs I thought the high limit on net.inet.tcp.pcbcount > could be somehow controlled by kern.ipc.maxsockets. That seems to be true > on CURRENT but not on STABLE. > > I understand that it's not very common to have more than ~4000 sockets but > I think it should be possible. It can be the reason of others' failures I > guess. > > > -- > Michal Mertl > mime@traveller.cz Change the following sysctl variables: net.inet.ip.portrange.first: 49152 net.inet.ip.portrange.last: 65535 That range determines the max number of outbound connections you can have. (For now, I'll get around to removing that limitation one of these days...) You're probably safe moving portrange.first all the way down to 1024, if you really want to, and need that many connections. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 9:17:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from yahoo.com (sw59-52-81.adsl.seed.net.tw [61.59.52.81]) by hub.freebsd.org (Postfix) with SMTP id E314A37B409; Tue, 4 Jun 2002 09:16:55 -0700 (PDT) Received: from kimo by party.seed.net.tw with SMTP id 7XHBQDLS3JaOenETpbXKWTLX; Wed, 05 Jun 2002 00:19:03 +0800 Message-ID: From: wbean@FreeBSD.ORG To: 8gizZ@titan.seed.net.tw Subject: kWQlLv9NGF8dnyPvQ0 uVKGy5I9RgpJrrDFTNc MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----=_NextPart_kcQJVxcaALpoghil" X-Priority: 3 X-MSMail-Priority: Normal Date: Tue, 4 Jun 2002 09:16:55 -0700 (PDT) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_kcQJVxcaALpoghil Content-Type: multipart/alternative; boundary="----=_NextPart_kcQJVxcaALpoghilAA" ------=_NextPart_kcQJVxcaALpoghilAA Content-Type: text/html; charset="big5" Content-Transfer-Encoding: base64 PGh0bWw+DQo8aGVhZD4NCjx0aXRsZT6lvKlSplek5aXzPC90aXRsZT4NCjxtZXRhIGh0dHAtZXF1 aXY9IkNvbnRlbnQtVHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PWJpZzUiPg0KPC9o ZWFkPg0KDQo8Ym9keSBiZ2NvbG9yPSIjRkZGRkZGIiB0ZXh0PSIjMDAwMDAwIiBsZWZ0bWFyZ2lu PSIwIiB0b3BtYXJnaW49IjAiIG1hcmdpbndpZHRoPSIwIiBtYXJnaW5oZWlnaHQ9IjAiPg0KPHA+ PGltZyBzcmM9Imh0dHA6Ly90ZWwuaW50ZXJpb3J3b3JsZC5jb20vMDk2NS5qcGciPjxicj4NCiAg PGltZyBzcmM9Imh0dHA6Ly90ZWwuaW50ZXJpb3J3b3JsZC5jb20vMDk2NS1jbi5naWYiPiA8YnI+ DQogIKG0tOSleKRUpmG2V7lMpFG4VaZXt3yt+77cpM2y4aTRuOquxq53obQ8YnI+DQogIDxmb250 IGNvbG9yPSIjOTkwMDk5Ij6leMZXpmGwz7t5rbWwdLnvsU29dTwvZm9udD4gOiA8Zm9udCBjb2xv cj0iI0ZGMDAwMCI+MDk2NTAtODg2LTIyIA0KICA8L2ZvbnQ+PC9wPg0KPHA+Jm5ic3A7PC9wPg0K PHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7PC9w Pg0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7 PC9wPg0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7PC9wPg0KPHA+Jm5ic3A7PC9wPg0KPHA+IA0K ICA8c2NyaXB0IHNyYz0iaHR0cDovL3d3dy5kb24tbmV0LmNvbS50dy9jb3VudGVyL2NvdW50cGlj LzMvY291bnQuYXNwP25hbWU9d2ViLXdlYiI+PC9zY3JpcHQ+DQo8L3A+DQo8L2JvZHk+DQo8L2h0 bWw+ ------=_NextPart_kcQJVxcaALpoghilAA-- ------=_NextPart_kcQJVxcaALpoghil-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 13:23:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from prism.flugsvamp.com (66-191-112-47.mad.wi.charter.com [66.191.112.47]) by hub.freebsd.org (Postfix) with ESMTP id 82E7C37B405 for ; Tue, 4 Jun 2002 13:23:42 -0700 (PDT) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.11.6/8.11.6) id g54KNYm48898; Tue, 4 Jun 2002 15:23:34 -0500 (CDT) (envelope-from jlemon) Date: Tue, 4 Jun 2002 15:23:34 -0500 From: Jonathan Lemon To: hackers@freebsd.org Cc: Gerard Roudier Subject: Ultra320 drivers? Message-ID: <20020604152333.H73755@prism.flugsvamp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have an IBM box that has a dual LSI 53c1030 controller on the motherboard. Our SYM driver doesn't appear to have support for this device; under Linux it is supported by a Fusion/MPT driver from LSI. Any chance of getting a driver for this chip? -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 15:22:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from bast.unixathome.org (bast.unixathome.org [216.187.105.150]) by hub.freebsd.org (Postfix) with ESMTP id 458F337B400 for ; Tue, 4 Jun 2002 15:22:23 -0700 (PDT) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id E371E3F3A; Tue, 4 Jun 2002 18:23:22 -0400 (EDT) From: "Dan Langille" Organization: DVL Software Limited To: John Polstra Date: Tue, 4 Jun 2002 18:22:15 -0400 MIME-Version: 1.0 Subject: Re: cvsup doesn't get me what I want Reply-To: dan@langille.org Cc: hackers@freebsd.org In-reply-to: <200206041537.g54Fb9V47525@vashon.polstra.com> References: <20020604012638.7CCF63F3A@bast.unixathome.org> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Message-Id: <20020604222322.E371E3F3A@bast.unixathome.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 4 Jun 2002 at 8:37, John Polstra wrote: > In article <20020604012638.7CCF63F3A@bast.unixathome.org>, > Dan Langille wrote: > > Folks, I'm having trouble understanding this problem. I'm trying to use > > cvsup to get stuff onto my website. This supfile gets things out of the > > tree > > > > $ less ~/phpAdsNew-supfile > > *default host=xeon > > *default base=/usr/websites/freshports > > *default release=cvs > > *default delete use-rel-suffix > > *default umask=007 > > *default preserve > > *default tag=. > > freshports-phpAds > > > > But what I really want is tag=FreshPorts2 but if I use that, I don't get > > anything out of the repo. > > > > The tags exist: > > > > However, for example: > > > > $ cvs stat -v ChangeLog > > =================================================================== > > File: ChangeLog Status: Up-to-date > > > > Working revision: 1.1.1.1 Tue Jun 4 01:01:32 2002 > > Repository revision: 1.1.1.1 /home/repositories/freshports- > > 1/phpPgAds/ChangeLog,v > > Sticky Tag: FreshPorts2 (revision: 1.1.1.1) > > Sticky Date: (none) > > Sticky Options: (none) > > > > Existing Tags: > > cvs (revision: 1.1.1.1) > > FreshPorts2 (revision: 1.1.1.1) > > > > > > I just don't get it. Why doesn't tag=FreshPorts2 work? > > You should get rid of the "preserve" keyword in your supfile. It > doesn't really make any sense when working in checkout mode. But > that's probably not the problem. > > I'll help you figure this out if you'll send me the following > information: Thanks John. > > The cvsupd server config files for the collection ("releases" > and the list file). [dan@xeon:/home/repositories/sup/freshports-phpAds] $ less list.cvs upgrade phpPgAds [dan@xeon:/home/repositories/sup/freshports-phpAds] $ less releases cvs list=list.cvs prefix=/home/repositories/freebsddiary > The full pathnames of the cvsupd server config files for the > collection. Is that obvioius form the pwd above? > The command line used to invoke cvsupd. from /etc/inetd.conf: cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow- root=/home/repo --allow-root=/home/repositories/freebsddiary --allow- root=/home/cvs-scripts --allow-root=/home/repositories/freshports-1 -- allow-root=/home/repositories/websites pserver > The full pathname of the ChangeLog RCS file you used as your > example, on the server machine. /home/repositories/freshports-1/phpPgAds/ChangeLog,v > The output of "rlog -h ChangeLog,v" on that file on the server. [dan@xeon:/home/repositories/freshports-1/phpPgAds] $ rlog -h ChangeLog,v RCS file: ChangeLog,v Working file: ChangeLog head: 1.1 branch: 1.1.1 locks: strict access list: symbolic names: cvs: 1.1.1.1 FreshPorts2: 1.1.1.1 keyword substitution: kv total revisions: 2 ---------------------------- =========================================================================== == > The command line used to invoke cvsup on the client machine. [dan@nezlok:/usr/websites/traffic] $ cvsup ~/phpAdsNew-supfile Connected to localhost Updating collection freshports-phpAds/cvs Finished successfully [dan@nezlok:/usr/websites/traffic] $ > The output of > find /usr/websites/freshports/sup -name 'refuse*' > on the client machine. $ find /usr/websites/freshports/sup -name 'refuse*' find: /usr/websites/freshports/sup: No such file or directory $ find /usr/websites/freshports.org/sup -name 'refuse*' /usr/websites/freshports.org/sup/freshports-www/refuse /usr/websites/freshports.org/sup/freshports-www/refuse~ /usr/websites/freshports.org/sup/freshports-config/refuse $ refuse files from above in case they are useful: $ less /usr/websites/freshports.org/sup/freshports-www/refuse www/phorum $ less /usr/websites/freshports.org/sup/freshports-config/refuse configuration/phorum configuration/phorum-3.3.2a/1.php configuration/phorum-3.3.2a/2.php configuration/phorum-3.3.2a/forums.php > The output of "cvsup -v" on the client and "cvsupd -v" on the > server. Please be careful to ensure that your PATH is really > finding the same copies of these programs that your cron job or > other mechanism normally executes. Client: $ cvsup -v CVSup client, non-GUI version Copyright 1996-2002 John D. Polstra Software version: SNAP_16_1f Protocol version: 17.0 Operating system: FreeBSD4 http://www.polstra.com/projects/freeware/CVSup/ Report problems to cvsup-bugs@polstra.com CVSup is a registered trademark of John D. Polstra Server: $ /usr/local/sbin/cvsupd -v CVSup server Copyright 1996-2002 John D. Polstra Software version: SNAP_16_1f Protocol version: 17.0 Operating system: FreeBSD4 http://www.polstra.com/projects/freeware/CVSup/ Report problems to cvsup-bugs@polstra.com CVSup is a registered trademark of John D. Polstra -- Dan Langille To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 16: 5:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 263D237B40B for ; Tue, 4 Jun 2002 16:05:19 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.12.3) with ESMTP id g54N3l4j099349; Tue, 4 Jun 2002 16:03:51 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g54N2LHR099341; Tue, 4 Jun 2002 16:02:21 -0700 (PDT) (envelope-from dillon) Date: Tue, 4 Jun 2002 16:02:21 -0700 (PDT) From: Matthew Dillon Message-Id: <200206042302.g54N2LHR099341@apollo.backplane.com> To: freebsd-hackers@FreeBSD.ORG Cc: Giorgos Keramidas , Wilko Bulte , Brooks Davis , "Brandon D. Valentine" Subject: HEADS UP! COMMIT MESSAGE FILTERING AVAILABLE ON FREEFALL/HUB! Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You can filter commit messages by creating a filter control file on freefall.freebsd.org in /home/dillon/filters. Create the file in /home/dillon/filters. Note that the only file the filter will recognize is your username. If the program becomes universal we will create a special userid on freefall allowing the sysads to create filters for mailing aliases as well (like 're'). /home/dillon/filters/. MAKE SURE THE FILTER IS MODES 644 OR DFILTER WILL NOT BE ABLE TO READ IT! There is a sample filter in: /home/dillon/filters/SAMPLE /home/dillon/filters/dillon You can also look at my filter, but note that my filter is slightly more complex because I have to avoid creating a loop in my forward file :-) Still, it may be useful for you. Note that you will receive the original commit message as well as the filtered commit message. You need to use procmail to separate them. It's easy to do, though. The README and source for the program is shown below. Note that I am running this program under my user id, you do not have to setup a procmail filter or run this program yourself (except to test your filter), you can simply create the appropriate file in /home/dillon/filters. /home/dillon/dfilter/README This is VERY ALPHA. I am still working on some things such as properly emailing parse errors if your filter is broken. I wound up not using the perl script. I found a cvs diff generator that I had written a year or two ago and incorporated that into the filter program. Please test the filter. In particular note the variables you can do wildcard comparisons against, such as $INBODY and $DIFF. You can also do wildcard compares against mail headers. The filter is very powerful and will become even more powerful as I get feedback. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 16:39:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ns1.rwwa.com (ns1.rwwa.com [66.92.67.110]) by hub.freebsd.org (Postfix) with ESMTP id DD29537B400 for ; Tue, 4 Jun 2002 16:39:30 -0700 (PDT) Received: from rwwa.com (harvey.rwwa.com [192.124.97.11]) by ns1.rwwa.com (Postfix) with ESMTP id B13773284 for ; Tue, 4 Jun 2002 19:39:29 -0400 (EDT) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: hackers@freebsd.org Subject: Posix nonconformity: clock_gettime and friends Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Jun 2002 19:39:26 -0400 From: User Witr Message-Id: <20020604233929.B13773284@ns1.rwwa.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi: Posix (ISO 9945-1) says in section 14.2.1 that one need only include to use clock_gettime and friends. On FreeBSD it seems like one must include . Why (other than history) this seemingly gratuitous inconformity? Can this be made conformant? Thanks! --------------------------------------------------------------------- Robert Withrow, R.W. Withrow Associates, Swampscott MA, witr@rwwa.COM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 17:25:23 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 106A537B40A for ; Tue, 4 Jun 2002 17:25:16 -0700 (PDT) Received: from hades.hell.gr (patr530-a077.otenet.gr [212.205.215.77]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g550O1d2019077; Wed, 5 Jun 2002 03:24:13 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.3/8.12.3) with ESMTP id g550O04O015716; Wed, 5 Jun 2002 03:24:01 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.3/8.12.3/Submit) id g550NwcI015709; Wed, 5 Jun 2002 03:23:58 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 5 Jun 2002 03:23:58 +0300 From: Giorgos Keramidas To: Matthew Dillon Cc: freebsd-hackers@FreeBSD.ORG, Wilko Bulte , Brooks Davis , "Brandon D. Valentine" Subject: Re: HEADS UP! COMMIT MESSAGE FILTERING AVAILABLE ON FREEFALL/HUB! Message-ID: <20020605002358.GD14255@hades.hell.gr> References: <200206042302.g54N2LHR099341@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206042302.g54N2LHR099341@apollo.backplane.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-06-04 16:02 -0700, Matthew Dillon wrote: > The README and source for the program is shown below. Note that > I am running this program under my user id, you do not have to > setup a procmail filter or run this program yourself (except to > test your filter), you can simply create the appropriate file in > /home/dillon/filters. > > /home/dillon/dfilter/README No luck. freefall+keramida:~$ more /home/dillon/dfilter/README /home/dillon/dfilter/README: Permission denied Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 17:27:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 1033F37B401 for ; Tue, 4 Jun 2002 17:27:41 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.12.3) with ESMTP id g550RV4j000185; Tue, 4 Jun 2002 17:27:32 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g550RVfE000184; Tue, 4 Jun 2002 17:27:31 -0700 (PDT) (envelope-from dillon) Date: Tue, 4 Jun 2002 17:27:31 -0700 (PDT) From: Matthew Dillon Message-Id: <200206050027.g550RVfE000184@apollo.backplane.com> To: Giorgos Keramidas Cc: freebsd-hackers@FreeBSD.ORG, Wilko Bulte , Brooks Davis , "Brandon D. Valentine" Subject: Re: HEADS UP! COMMIT MESSAGE FILTERING AVAILABLE ON FREEFALL/HUB! References: <200206042302.g54N2LHR099341@apollo.backplane.com> <20020605002358.GD14255@hades.hell.gr> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :> :> /home/dillon/dfilter/README : :No luck. : : freefall+keramida:~$ more /home/dillon/dfilter/README : /home/dillon/dfilter/README: Permission denied : :Giorgos. Oops. Fixed. ( I will eventually make a port out of dfilter, but I want to get it cleaned up, add a manual page, and fix reported bugs first ) -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 17:41:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from bast.unixathome.org (bast.unixathome.org [216.187.105.150]) by hub.freebsd.org (Postfix) with ESMTP id A15C037B403 for ; Tue, 4 Jun 2002 17:41:29 -0700 (PDT) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id A1AAE3F3A for ; Tue, 4 Jun 2002 20:42:29 -0400 (EDT) From: "Dan Langille" Organization: DVL Software Limited To: hackers@freebsd.org Date: Tue, 4 Jun 2002 20:41:28 -0400 MIME-Version: 1.0 Subject: commit messages filtering / FreshSource Reply-To: dan@langille.org X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Message-Id: <20020605004229.A1AAE3F3A@bast.unixathome.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've just seen Matt Dillon's email on this topic (200206042302.g54N2LHR099341@apollo.backplane.com). I immediately thought about the overlap between two projects. FreshSource (http://www.FreshSource.org) will allow you to express interest in particular sections of the source tree. Interest can be expressed on a file or directory level and placed on a watch list. You will be emailed any commits which occur to items on your watch list (e.g. one email on a daily basis). Those familiar with FreshPorts will already be familiar with the service described above. FreshSource will behave similarly but will cover all commits, not just those in the ports tree. -- Dan Langille To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 17:51:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 790FA37B405 for ; Tue, 4 Jun 2002 17:51:10 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.12.3) with ESMTP id g550p94j000409; Tue, 4 Jun 2002 17:51:10 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g550p9x0000408; Tue, 4 Jun 2002 17:51:09 -0700 (PDT) (envelope-from dillon) Date: Tue, 4 Jun 2002 17:51:09 -0700 (PDT) From: Matthew Dillon Message-Id: <200206050051.g550p9x0000408@apollo.backplane.com> To: "Dan Langille" Cc: hackers@FreeBSD.ORG Subject: Re: commit messages filtering / FreshSource References: <20020605004229.A1AAE3F3A@bast.unixathome.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The concept looks very interesting. I can see an immediate advantage in allowing cross-platform developers and other interested parties to keep track of changes made to areas of interest in various CVS trees (e.g. FreeBSD, NetBSD, OpenBSD, etc...). You should have no problem incorporating commit messages from major repositories into your system. I'm afraid I don't have time to work on FreshPorts myself, I have a dozen other things on the burner :-), but it sounds good! -Matt Matthew Dillon :I've just seen Matt Dillon's email on this topic :(200206042302.g54N2LHR099341@apollo.backplane.com). I immediately thought :about the overlap between two projects. : :FreshSource (http://www.FreshSource.org) will allow you to express :interest in particular sections of the source tree. Interest can be :expressed on a file or directory level and placed on a watch list. You :will be emailed any commits which occur to items on your watch list (e.g. :one email on a daily basis). : :Those familiar with FreshPorts will already be familiar with the service :described above. FreshSource will behave similarly but will cover all :commits, not just those in the ports tree. : :-- :Dan Langille To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 18: 0:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by hub.freebsd.org (Postfix) with ESMTP id CD07C37B405 for ; Tue, 4 Jun 2002 18:00:16 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020605010015.IIJJ975.sccrmhc02.attbi.com@InterJet.elischer.org>; Wed, 5 Jun 2002 01:00:15 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA50215; Tue, 4 Jun 2002 17:48:55 -0700 (PDT) Date: Tue, 4 Jun 2002 17:48:54 -0700 (PDT) From: Julian Elischer To: Matthew Dillon Cc: freebsd-hackers@FreeBSD.ORG, Giorgos Keramidas , Wilko Bulte , Brooks Davis , "Brandon D. Valentine" Subject: Re: HEADS UP! COMMIT MESSAGE FILTERING AVAILABLE ON FREEFALL/HUB! In-Reply-To: <200206042302.g54N2LHR099341@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG does my little test make sence? will I get this in addition to the regular mail or instead of it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 18: 5:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 8408937B403 for ; Tue, 4 Jun 2002 18:05:49 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.12.3) with ESMTP id g5513A4j000600; Tue, 4 Jun 2002 18:03:11 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g5513AUR000597; Tue, 4 Jun 2002 18:03:10 -0700 (PDT) (envelope-from dillon) Date: Tue, 4 Jun 2002 18:03:10 -0700 (PDT) From: Matthew Dillon Message-Id: <200206050103.g5513AUR000597@apollo.backplane.com> To: Julian Elischer Cc: freebsd-hackers@FreeBSD.ORG, Giorgos Keramidas , Wilko Bulte , Brooks Davis , "Brandon D. Valentine" Subject: Re: HEADS UP! COMMIT MESSAGE FILTERING AVAILABLE ON FREEFALL/HUB! References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG : : :does my little test make sence? : :will I get this in addition to the regular mail or instead of it? Yah, it looks fine. You had a syntax error in the filter. I'll get error reporting email (for filters which have syntax errors) working later tonight. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Jun 4 21: 4:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 41ECE37B403 for ; Tue, 4 Jun 2002 21:04:21 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.12.3) with ESMTP id g5542Q4j002376; Tue, 4 Jun 2002 21:02:27 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g5542QXb002375; Tue, 4 Jun 2002 21:02:26 -0700 (PDT) (envelope-from dillon) Date: Tue, 4 Jun 2002 21:02:26 -0700 (PDT) From: Matthew Dillon Message-Id: <200206050402.g5542QXb002375@apollo.backplane.com> To: Julian Elischer , freebsd-hackers@FreeBSD.ORG, Giorgos Keramidas , Wilko Bulte , Brooks Davis , "Brandon D. Valentine" Subject: dfilter up and running! (was HEADS UP! COMMIT MESSAGE FILTERING AVAILABLE ON FREEFALL/HUB!) References: <200206050103.g5513AUR000597@apollo.backplane.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ok, I've made some improvements to dfilter. * I cleaned up the README file (/home/dillon/dfilter/README on freefall), getting rid of variables that are not yet supported. * If the program cannot parse your filter it should now send you an email with the error. (You can also run dfilter manually, /home/dillon/bin/dfilter, to check your filter script). * A unified diff is now the default. * Minor security nits cleaned up. Again, you can create your own commit filter by creating the file /home/dillon/filters/ on freefall or hub. Make sure it is mode 644. There are examples in that directory as well as the README file. A commit filter gives you commit emails that include a cvs diff of the changes after the main commit message. You can also modify headers such as the Subject: and To: lines and direct the email somewhere other then your freefall account, and you can filter based on wildcard matching against any header or even against the entire mail body, allowing you to monitor sections of the codebase that you are interested in. I'm already having great fun with it! Commit messages are a whole lot easier to review with the diff right there in the email. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 5 5:28:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.cannol.com (61-222-103-142.HINET-IP.hinet.net [61.222.103.142]) by hub.freebsd.org (Postfix) with SMTP id E88E437B411 for ; Wed, 5 Jun 2002 05:27:12 -0700 (PDT) Received: from ([]) by mail.cannol.com (Merak 4.4.2) with SMTP id 0647994B for ; Wed, 05 Jun 2002 20:26:33 +0800 From: =?Big5?B?qta69LjqsFSl+Lm6prOtraS9pXE=?= Subject: =?Big5?B?pfi3frr0uPSkxg==?= + SeednetADSL 2002/06/05 To: freebsd-hackers@FreeBSD.org Content-Type: multipart/alternative; boundary="=_NextPart_2rfkindysadvnqw3nerasdf" ; MIME-Version: 1.0 Reply-To: newsletter@cannol.com Date: Wed, 5 Jun 2002 17:12:17 +0800 X-Priority: 3 X-Library: Indy 8.008B Content-ID: ePaperBoy.John-Long-Studio.2000 X-Mailer: EPaper Boy Message-Id: <20020605122712.E88E437B411@hub.freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format --=_NextPart_2rfkindysadvnqw3nerasdf Content-Type: text/plain Content-Transfer-Encoding: quoted-printable --=_NextPart_2rfkindysadvnqw3nerasdf Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable CANNOLnetwork e-Builder105
=20
=20
=20
=20 =20 =20 =20 =20 =20 =20
=20

=C0R=BAA     


   
=AA=D6=BA=F4=AC=E3=B5o=AA=BAe-Builder105=B0=D3=B0=C8=A7=40=B7=7E=A5=AD=A5x=A1A=B4=A3=A8=D1=BBs=B3y=B7=7E=A1B=B6R=BD=E6=B7=7E=A4=CE=B6T=A9=F6=B0=D3=A6=B3=AE=C4=A6=D3=A5=FE=A4=E8=A6=EC=AA=BAe=A4=C6=BB=DD=A8D=A1C=A8=C3=A5i=A8=F3=A7U=A5=F8=B7=7E=A4F=B8=D1=A5=BB=A8=ADe=A4=C6=AA=BA=A5=D8=BC=D0=BBP=A4=E8=AAk=A1A=B6=7D=B5o=B2=C5=A6X=A5=F8=B7=7E=AFS=A9=CA=AA=BA=AB=C8=BBs=A5=5C=AF=E0=A1C=20
=20

=AC=B0=A4F=B4=A3=A4=C9=BA=F4=B8=F4=A7=40=B7=7E=AA=BA=AE=C4=B2v=A1A=AFS=A7O=B5=B2=A6XSeednet=AA=BAADSL=BA=F4=B8=F4=BCe=C0W=A7=DE=B3N=A1A=B1=C0=A5X=A5=FE=AD=B1e=A4=C6=A4=C9=AF=C5=C0u=B4f=AD=B7=BC=C9=B1M=AE=D7=A1A=A6P=AE=C9=B8=D1=A8M=A5=F8=B7=7E=B9=EF=A9=F3=B0=D3=B0=C8=A5=AD=A5x=A4=CE=C0u=BD=E8=C0W=BCe=AA=BA=C2=F9=AD=AB=BB=DD=A8D=A1C



=20 =20 =20 =20 =20 =20 =20 =20 =20
=20   ::  e-Builder105=20 =B4=A3=A8=D1=AA=BA=A5=F8=B7=7E=BA=F4=AF=B8=A1A=A8=E3=A6=B3=A4U=A6C=A5D=ADn=A5=5C=AF=E0=AFS=A6=E2  ::
=20


=A1C
=BDu=A4W=B8=DF=B3=F8=BB=F9=A8t=B2=CE=A1G

     1.=20 =B3=CC=B7s=BA=F4=B8=F4=A4=C6=B3=F8=BB=F9=A4u=A8=E3=A1A=B5=B2=A6X=B1z=AA=BA=BA=F4=AF=B8=A4=CEemail=A1A=B9=CF=A4=E5=A8=C3=ADZ=A1A=AB=C8=A4=E1=B2M
         =B7=A1=A9=F6=C0=B4=A1C
     2. =A4=A4=A1=FE=AD=5E=A4=E5=C2=F9=BBy=B3=F8=BB=F9=BC=D2=A6=A1=BF=EF=BE=DC=A1A=AD=B0=A7C=B7=7E=B0=C8=A4H=AD=FB=AD=5E=A4=E5=AA=F9=C2e=A1C
     3. =B3=F8=BB=F9=A8=B3=B3t=A1A=C1Y=B5u=A6=A8=A5=E6=AE=C9=B6=A1=A1A=A8=C3=A6=DB=B0=CA=AB=D8=A5=DF=B8=DF=B3=F8=BB=F9=B0O=BF=FD=A1A=A5H=B3=C6=ACd=B8=DF=A1C

=A1C=A8M=B5=A6=A4=E4=B4=A9=A8t=B2=CE=A1G
     1.=20 =BA=F4=AF=B8=ACy=B6q=B2=CE=ADp=A1C
     2. =A5i=BA=CA=B4=FA=AB=C8=A4=E1=A6=DB=AD=FE=AD=D3=B7j=B4M=A4=DE=C0=BA=B6i=A8=D3=A5H=A4=CE=A9=D2=BF=E9=A4J=AA=BA=C3=F6=C1=E4=A6r=A1C
     3. =B2=CE=ADp=B2=A3=AB=7E=A4=CE=A5=D8=BF=FD=C2s=C4=FD=A6=B8=BC=C6=A1A=A7=40=AC=B0=A5=F8=B7=7E=B2=A3=AB=7E=AC=E3=B5o=A9=CE=C2X=AEi=A4=A7=A8M=B5=A6=A8=CC=BE=DA=A1C

=A1C=B2=A3=AB=7E=BA=DE=B2z=A8t=B2=CE=A1G
=20

     1.=20 =BB=B4=C3P=A4W=AC=5B=B2=A3=AB=7E=A1A=A7=40=AC=B0=A4=BA=B3=A1=B2=A3=AB=7E=AA=BA=BA=DE=B2z=B3n=C5=E9=A1A=B8=60=AC=D9=A5t=B6R=B6=C7=B2=CE=BA=DE=B2z=B3n=C5=E9
         =AA=BA=B6O=A5=CE=A1C
     2. =B3=E6=B6=B5=B2=A3=AB=7E=A5i=B8m=A9=F1=A6h=B1i=B9=CF=A4=F9=A1A=A8=C3=A4=E4=B4=A9=A6h=B4C=C5=E9=BCv=AD=B5=C0=C9=AB=F6=A1C


=A1C=A5=D8=BF=FD=A4U=B8=FC=BA=DE=B2z=A1G
     1.=20 =AB=C8=A4=E1=A6=DB=BA=F4=AF=B8=A5=DF=A7Y=A4U=B8=FC=A5=D8=BF=FD=C0=C9=AE=D7=C6=5B=AC=DD=A1A=C1Y=B5u=B5=A5=AD=D4=B6l=B1H=AE=C9=B6=A1=A1C
     2. =A4j=B4T=AD=B0=A7C=B6=C7=B2=CE=A5=AD=AD=B1=A5=D8=BF=FD=A6L=A8=EA=B6O=A4=CE=AE=FC=A4=BA=A5=7E=B6l=B8=EA=B6O=A5=CE=A1C

=B5L=BD=D7=B6Q=A4=BD=A5q=ACO=B8g=C0=E7=A4=BA=BEP=A8=C6=B7=7E=A1A=A9=DD=AEi=B0=EA=A4=BA=A6=E6=BEP=B3q=B8=F4=A1A=A9=CE=ACO=B8g=C0=E7=A5=7E=BEP=A8=C6=B7=7E=A1A=A9=DD=AEi=AE=FC=A5=7E=A5=AB=B3=F5=A1Ae-Builder105=B3=A3=AF=E0=AC=B0=B6Q=A4=BD=A5q=B3W=B9=BA=A5X=A6X=BEA=AA=BA=BA=F4=B8=F4=A4=C6=A4=E8=AE=D7=A1A=A8=C3=B4=A3=A8=D1=A7=B9=B5=BD=AA=BA=AB=D8=B8m=AAA=B0=C8=A1A=A7Q=A5=CE=BA=F4=BB=DA=BA=F4=B8=F4=AC=EC=A7=DE=A1A=A8=F3=A7U=A5=F8=B7=7E=B4=A3=B0=AA=A7=40=B7=7E=AE=C4=B2v=A1B=B4=EE=A4=D6=B8=EA=B7=BD=AE=F6=B6O=A1B=C2X=A4j=A6=E6=BEP=A1B=B4=A3=A4=C9=A6=A8=A5=E6=AE=C4=B2v=A9M=AB=7E=BD=E8=A1C


=20 =20 =20 =20 =20
-=20 =AA=D6 =BA=F4 =B8=EA =B0T =C0=B0 =B1z =A5=B4 =B3y =A5=F8 =B7=7E =BA=F4 =AF=B8 =B7s =A5=40 =AC=F6 -

B2B =A5=F8=B7=7E=BA=F4=AF=B8
=A5N=AA=ED=A9=CA=AB=C8=A4=E1=A1G

B2C =BA=F4=B8=F4=C1=CA=AA=AB=BA=F4=AF=B8
=A5N=AA=ED=A9=CA=AB=C8=A4=E1=A1G

=B6=AE=B8=A6=B4=B5=A5=F8=B7=7E=A6=B3=AD=AD=A4=BD=A5q
http://www.artam.com.tw

=A7=DE=C1p=B9q=A4l=A6=B3=AD=AD=A4=BD=A5q
http://www.my3c.net

=A8q=AAi=B9q=A4l(=AA=D1)=A4=BD=A5q
http://www.superrite.com

=C2=60=BCwMD=B1M=BD=E6
http://md-walkman.cannol.com

=ADs=ADi=B6T=A9=F6=A6=B3=AD=AD=A4=BD=A5q
http://chenhung.cannol.com

=20 =20 =20
-=20 =C5w =AA=EF =B8=D5 =A5=CE =A5=DC =BDd =BA=F4 =AF=B8 -

B2B =A5=F8=B7=7E=B1M=C4=DD=BA=F4=AF=B8 =20 =A5=DC=BDd=BA=F4=AF=B8=A1G

B2C =BA=F4=B8=F4=C1=CA=AA=AB=BA=F4=B0=D3=A9=B1 =A5=DC=BDd=BA=F4=AF=B8=A1G

=A5i=A6=DC=BA=F4=AF=B8=AB=E1=BA=DD=BA=DE=B2z=A8t=B2=CE=B8=D5=A5=CE
http://eb105tce.cannol.com

=A5i=A6=DC=BA=F4=AF=B8=AB=E1=BA=DD=BA=DE=B2z=A8t=B2=CE=B8=D5=A5=CE
http://funnygo.cannol.com

=C5w=AA=EF=A8=D3=B9q=AC=A2=B8=DF   =AA=D6=BA=F4=B8=EA=B0T   =BF=E0 =A4=E5=20 =B2W TEL=A1G(03)336-2208 or mail:service=40cannol.com


=B9D =BAp =B1=D2 =A5=DC =A1G=A6p=B6Q=A4=BD=A5q =A9=B9=AB=E1=A4=A3=B7Q=A6A=A6=AC=A8=EC=A5=BB=A4=BD=A5q=AA=BA=B0T=AE=A7=A7i=AA=BE=A1A=BD=D0 mail:newsletter=40cannol.com=20
=B3y=A6=A8=B1z=AA=BA=A4=A3=ABK=A1A=B7q=BD=D0=A8=A3=BD=CC=21=21

=20

--=_NextPart_2rfkindysadvnqw3nerasdf-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 5 14:49: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 4977937B40A; Wed, 5 Jun 2002 14:48:43 -0700 (PDT) Received: from hades.hell.gr (patr530-b140.otenet.gr [212.205.244.148]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g55Lmb7Y000151; Thu, 6 Jun 2002 00:48:38 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.3/8.12.3) with ESMTP id g55Lmaaq022348; Thu, 6 Jun 2002 00:48:36 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from charon@localhost) by hades.hell.gr (8.12.3/8.12.3/Submit) id g55LjC0S022295; Thu, 6 Jun 2002 00:45:13 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Thu, 6 Jun 2002 00:45:12 +0300 From: Giorgos Keramidas To: dougb@freebsd.org Cc: freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Subject: Removing perl usage from mergemaster Message-ID: <20020605214512.GA16384@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello dougb & all, Here's a patch that removes all trails of Perl usage from mergemaster. The parts that I want your careful scrutiny directed at are the new stat_mode() shell function, and the parts that I have touched lines removing Perl code. I have done some testing to the resulting mergemaster script, mostly by comparing the results of stat_mode() and the old Perl code (having them both run, and print their output, before mergemaster calls "exit 1"). If you find that you like the changes, then the recent mergemaster problems on CURRENT machines that have no perl port installed will go away ;) I have tried to keep the code of stat_mode() clean, despite the fact that it could possibly be written also as: # # Print in STDOUT the octal mode of a file and/or directory. # stat_mode () { echo $(( ~$(echo "obase=10; ibase=8; ${2}" | bc ) & $( echo "obase=10;ibase=8;07777" | bc ) & $( echo "obase=10; ibase=2; " \ $( ls -ld "${1}" | \ cut -c2-10 | \ sed -e '/^..[sS]/ s/^.*$/&+100000000000/' \ -e '/^.....[sS]/ s/^.*$/&+10000000000/' \ -e '/^........[tT]/ s/^.*$/&+1000000000/' | \ sed -e 's/[st]/x/g' -e 's/ST/-/g' | \ sed -e 's/[rwx]/1/g' | \ sed -e 's/[^1+]/0/g' ) \ | bc ) )) | awk '{printf "%04o\n", $0}' } The ls output parsing was inspired by an old post by Alfred Perlstein, and I have only added the proper sed-lines to convert it to a valid binary number. The rest, shell evaluations, substitutions and all is something you can safely blame me for. Until now, I have verified that this produces the same output, but it's admittedly harder to decipher than the one I have included in the diff below. It is still here, for us to use, if you all feel that it's better to avoid the use of variables in stat_mode(). Whatever you all feel better with... I think Doug's opinion as the maintainer of mergemaster is of the utmost importance here. Anyone else with a better idea for removing the dependency of mergemaster on Perl, is welcome to step up and offer us his assistance though :) Giorgos. --- patch begins --- Index: mergemaster.sh =================================================================== RCS file: /home/ncvs/src/usr.sbin/mergemaster/mergemaster.sh,v retrieving revision 1.31 diff -u -r1.31 mergemaster.sh --- mergemaster.sh 28 May 2002 07:25:44 -0000 1.31 +++ mergemaster.sh 5 Jun 2002 21:25:09 -0000 @@ -214,6 +214,28 @@ esac } +stat_mode () { + pathname="$1" + confirmed_umask="$2" + + decimal_umask=$( echo "obase=10; ibase=8; ${confirmed_umask}" | bc ) + binary_mode=$( ls -ld "${pathname}" | \ + cut -c2-10 | \ + sed -e '/^..[sS]/ s/^.*$/&+100000000000/' \ + -e '/^.....[sS]/ s/^.*$/&+10000000000/' \ + -e '/^........[tT]/ s/^.*$/&+1000000000/' | \ + sed -e 's/[st]/x/g' -e 's/ST/-/g' | \ + sed -e 's/[rwx]/1/g' | \ + sed -e 's/[^1+]/0/g' ) + decimal_mode=$( echo "obase=10; ibase=2; ${binary_mode}" | bc ) + mode_mask=$( echo "obase=10;ibase=8;07777" | bc ) + masked_mode=$(( ${mode_mask} & ${decimal_mode} )) + umasked_mode=$(( ${masked_mode} & ~${decimal_umask} )) + octal_mode=$( echo ${umasked_mode} | awk '{printf "%04o\n", $0}' ) + unset decimal_umask binary_mode decimal_mode mode_mask masked_mode umasked_mode + echo "${octal_mode}" +} + # Set the default path for the temporary root environment # TEMPROOT='/var/tmp/temproot' @@ -641,13 +663,11 @@ esac if [ -n "${DESTDIR}${INSTALL_DIR}" -a ! -d "${DESTDIR}${INSTALL_DIR}" ]; then - DIR_MODE=`perl -e 'printf "%04o\n", (((stat("$ARGV[0]"))[2] & 07777) &~ \ - oct("$ARGV[1]"))' "${TEMPROOT}/${INSTALL_DIR}" "${CONFIRMED_UMASK}"` + DIR_MODE=`stat_mode "${TEMPROOT}/${INSTALL_DIR}" "${CONFIRMED_UMASK}"` install -d -o root -g wheel -m "${DIR_MODE}" "${DESTDIR}${INSTALL_DIR}" fi - FILE_MODE=`perl -e 'printf "%04o\n", (((stat("$ARGV[0]"))[2] & 07777) &~ \ - oct("$ARGV[1]"))' "${1}" "${CONFIRMED_UMASK}"` + FILE_MODE=`stat_mode "${1}" "${CONFIRMED_UMASK}"` if [ ! -x "${1}" ]; then case "${1#.}" in --- patch ends --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 5 17:45:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by hub.freebsd.org (Postfix) with ESMTP id D629C37B977 for ; Wed, 5 Jun 2002 17:42:11 -0700 (PDT) Received: from isi.edu (k1tz81b3ksqps7lw@hbo.isi.edu [128.9.160.75]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id g560fYr25074 for ; Wed, 5 Jun 2002 17:41:34 -0700 (PDT) Message-ID: <3CFEAFBD.8090603@isi.edu> Date: Wed, 05 Jun 2002 17:41:33 -0700 From: Lars Eggert User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc3) Gecko/20020528 X-Accept-Language: en-us, de-de MIME-Version: 1.0 To: hackers@freebsd.org Subject: get/setuid used instead of get/seteuid? Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms030803020102090801020506" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a cryptographically signed message in MIME format. --------------ms030803020102090801020506 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, there's a large number of system programs that use get/setuid() to limit what a non-root user can do (route, killall, ping, etc.) This may be a really dumb question, but shouldn't they be using get/seteuid() instead, to base their decision on the effective uid? Otherwise setting the setuid flag on the binary has no effect. For example, setting the setuid flag on ping (so non-root users can use flood pings - I am aware of the security implications, this is for a prototype system that will never go live) does not work - ping checks the real uid instead. Or is this deliberate? If so, there's other system programs (e.g. reboot) that check the euid instead. (Or is the inconsistency deliberate?) Can someone shed some light on this? Thanks, Lars -- Lars Eggert USC Information Sciences Institute --------------ms030803020102090801020506 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIrjCC ArUwggIeoAMCAQICAwWBRzANBgkqhkiG9w0BAQIFADCBkjELMAkGA1UEBhMCWkExFTATBgNV BAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUx HTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVl bWFpbCBSU0EgMjAwMC44LjMwMB4XDTAxMDgyNDE2NDAwMFoXDTAyMDgyNDE2NDAwMFowVDEP MA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYDVQQDEwtMYXJzIEVnZ2VydDEc MBoGCSqGSIb3DQEJARYNbGFyc2VAaXNpLmVkdTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC gYEA0AvLBsD78nxcUHeHkaMgl3b4qYPnfgbf8Lh+HQP8RgGMRG/Yb+vTpkGezlwt9pkJxiD1 1uZDy4CNNJUu3gKxKSb+zRV70O+lkwwftuHoLHoH4xwo3LcQ2LGDpd+I95tUN4dfJ3TmeEcU SF50dC/SuUI4w8AlhXQ8IxrhgdayTpECAwEAAaNWMFQwKgYFK2UBBAEEITAfAgEAMBowGAIB BAQTTDJ1TXlmZkJOVWJOSkpjZFoyczAYBgNVHREEETAPgQ1sYXJzZUBpc2kuZWR1MAwGA1Ud EwEB/wQCMAAwDQYJKoZIhvcNAQECBQADgYEAheZhn0pQA8zI7U2K1ZIAl11j0a1DKxnp3GtT vOUrGRB3WvYxidvdZ1kizhEsWeXU81TkNDH0DaRqtOEeu6Q2OhB+jeKEqY7IDAJE4/fI0e+d 6PnG1hd+vEvYmsKHkmzBhPc94XUOKNWO+qVNP2NGyNI3QIDy5wX4fdcOo1S34r4wggK1MIIC HqADAgECAgMFgUcwDQYJKoZIhvcNAQECBQAwgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxX ZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYD VQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwg UlNBIDIwMDAuOC4zMDAeFw0wMTA4MjQxNjQwMDBaFw0wMjA4MjQxNjQwMDBaMFQxDzANBgNV BAQTBkVnZ2VydDENMAsGA1UEKhMETGFyczEUMBIGA1UEAxMLTGFycyBFZ2dlcnQxHDAaBgkq hkiG9w0BCQEWDWxhcnNlQGlzaS5lZHUwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANAL ywbA+/J8XFB3h5GjIJd2+KmD534G3/C4fh0D/EYBjERv2G/r06ZBns5cLfaZCcYg9dbmQ8uA jTSVLt4CsSkm/s0Ve9DvpZMMH7bh6Cx6B+McKNy3ENixg6XfiPebVDeHXyd05nhHFEhedHQv 0rlCOMPAJYV0PCMa4YHWsk6RAgMBAAGjVjBUMCoGBStlAQQBBCEwHwIBADAaMBgCAQQEE0wy dU15ZmZCTlViTkpKY2RaMnMwGAYDVR0RBBEwD4ENbGFyc2VAaXNpLmVkdTAMBgNVHRMBAf8E AjAAMA0GCSqGSIb3DQEBAgUAA4GBAIXmYZ9KUAPMyO1NitWSAJddY9GtQysZ6dxrU7zlKxkQ d1r2MYnb3WdZIs4RLFnl1PNU5DQx9A2karThHrukNjoQfo3ihKmOyAwCROP3yNHvnej5xtYX frxL2JrCh5JswYT3PeF1DijVjvqlTT9jRsjSN0CA8ucF+H3XDqNUt+K+MIIDODCCAqGgAwIB AgIQZkVyt8x09c9jdkWE0C6RATANBgkqhkiG9w0BAQQFADCB0TELMAkGA1UEBhMCWkExFTAT BgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMRowGAYDVQQKExFUaGF3 dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lv bjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENBMSswKQYJKoZIhvcNAQkB FhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTAwMDgzMDAwMDAwMFoXDTA0MDgy NzIzNTk1OVowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNV BAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBT ZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4zMDCBnzAN BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA3jMypmPHCSVFPtJueCdngcXaiBmClw7jRCmKYzUq bXA8+tyu9+50bzC8M5B/+TRxoKNtmPHDT6Jl2w36S/HW3WGl+YXNVZo1Gp2Sdagnrthy+boC 9tewkd4c6avgGAOofENCUFGHgzzwObSbVIoTh/+zm51JZgAtCYnslGvpoWkCAwEAAaNOMEww KQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDEtMjk3MBIGA1UdEwEB/wQI MAYBAf8CAQAwCwYDVR0PBAQDAgEGMA0GCSqGSIb3DQEBBAUAA4GBADGxS0dd+QFx5fVTbF15 1j2YwCYTYoEipxL4IpXoG0m3J3sEObr85vIk65H6vewNKjj3UFWobPcNrUwbvAP0teuiR59s ogxYjTFCCRFssBpp0SsSskBdavl50OouJd2K5PzbDR+dAvNa28o89kTqJmmHf0iezqWf54TY yWJirQXGMYICpjCCAqICAQEwgZowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJu IENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRD ZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIw MDAuOC4zMAIDBYFHMAkGBSsOAwIaBQCgggFhMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEw HAYJKoZIhvcNAQkFMQ8XDTAyMDYwNjAwNDEzM1owIwYJKoZIhvcNAQkEMRYEFNQj4uN6vJid f79QK+r49r8mqGEcMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwIC AgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGtBgsqhkiG9w0B CRACCzGBnaCBmjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAG A1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRl IFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwAgMF gUcwDQYJKoZIhvcNAQEBBQAEgYAMcmNYmJG4CMp1wL5hCkjut6i4bkqIinkl2C3nTyQlouX4 GO6ByWqZgapkvSgOR+r1tX2EVSK0I+J+Vgm+8GIntWj1aem3laaeuqrHAV9CL4H1UrRwjUa2 cKyXZbvClpQFz9lk2F36eWLcmVRBvOUrvryX8hzi5z1Q5+srlnwBegAAAAAAAA== --------------ms030803020102090801020506-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 5 19:15: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 03FC937B401 for ; Wed, 5 Jun 2002 19:15:04 -0700 (PDT) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.3/8.12.3) with SMTP id g562Edb5002202; Wed, 5 Jun 2002 22:14:39 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Wed, 5 Jun 2002 22:14:38 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Lars Eggert Cc: hackers@freebsd.org Subject: Re: get/setuid used instead of get/seteuid? In-Reply-To: <3CFEAFBD.8090603@isi.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 5 Jun 2002, Lars Eggert wrote: > there's a large number of system programs that use get/setuid() to limit > what a non-root user can do (route, killall, ping, etc.) > > This may be a really dumb question, but shouldn't they be using > get/seteuid() instead, to base their decision on the effective uid? > Otherwise setting the setuid flag on the binary has no effect. Setting the setuid bit on the binary results in the real uid being preserved, but the file's owner being adopted as the effective uid. When invoking one of the various set*uid()-related calls, the set of available uids to pick from is based on the real, saved, and effective uid. Programs that run with root privilege by virtue of the setuid bit on their binary will frequently call setuid(getuid()) to set all three uids to the real uid, reducing the privileges that they have access to (i.e., restoring aspects of the pre-exec() security environment). For example, ping will bind a raw socket which permits it to send ICMP, and monitor incoming ICMP, and then restore the original uid. This means that it will no longer be able to bind new raw sockets. The kernel will provide some additional protections for the process since the process may have cached privileged data, and we don't want other processes gaining access to that, or any other privileges (such as access to the raw socket), but the actual effective uid is reset. > For example, setting the setuid flag on ping (so non-root users can use > flood pings - I am aware of the security implications, this is for a > prototype system that will never go live) does not work - ping checks > the real uid instead. The setuid bit is set on the ping command by default so that non-root users can generate and monitor ICMP; you describe enabling that bit, but it's probably already enabled on your system if it's a default install. Removing the setuid bit will prevent non-root users from being able to use the command properly, as they won't have access to the raw socket that is needed for ping to operate properly in most of its operating modes. Setting the setuid bit does not permit non-root users to flood ping, since the getuid() call returns the real uid, which is not modified by the setuid bit on the binary. This is intentional. In order to permit non-root users to flood ping, you must remove the check from the binary. FWIW, I think that the flood ping check is a bit bogus :-). Users can generate floods of non-ICMP packets trivially using the normal application APIs. The current behavior is probably largely to prevent mostly clueless users from doing stupid things. > Or is this deliberate? If so, there's other system programs (e.g. > reboot) that check the euid instead. (Or is the inconsistency > deliberate?) It depends a lot on the context. Generally, applications should check the uid that is appropriate for what they want to do, and that can depend a lot on how the applicaton behaves. Applications may check the effective uid to *see* if they were run setuid, for example, and behave differently if they were (i.e., at start of execution, getuid() != geteuid() && geteuid() == 0). For example, they may generate an error if they believe they don't have the privilege they need to run properly. There are some decent arguments that that behavior is a bit flawed if you start to employ different privilege models, needless to say. > Can someone shed some light on this? Although I wouldn't preclude bugs existing in the handling of uid's and gid's across various applications, what you are describing is intentional. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Jun 5 21:57: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from sccmmhc01.mchsi.com (sccmmhc01.mchsi.com [204.127.203.183]) by hub.freebsd.org (Postfix) with ESMTP id 8F39137B401 for ; Wed, 5 Jun 2002 21:56:58 -0700 (PDT) Received: from math.missouri.edu ([12.216.240.219]) by sccmmhc01.mchsi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020606045657.IAXO2006.sccmmhc01.mchsi.com@math.missouri.edu> for ; Thu, 6 Jun 2002 04:56:57 +0000 Message-ID: <3CFEEB99.AEDC5DB9@math.missouri.edu> Date: Wed, 05 Jun 2002 23:56:57 -0500 From: Stephen Montgomery-Smith X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: allocating memory Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have access to a rather large computer (3GB of RAM) and I would like to write a program to access most of this memory. I find that I am unable to malloc more than about 0.5 GB of memory, even if I do it in small increments. Now I am trying mmap, and this lets me get to about 2.5 GB of memory (again I ask for the memory in small increments). What is it that causes these limitations? Here is the kind of program I used to find these limits: #include #include #include #include #include #define size 100000000 #define nr 100 main() { char *a[nr]; unsigned int i, j; for (j=0;j; Wed, 5 Jun 2002 23:16:24 -0700 (PDT) Received: from mail.ntua.gr (mail.ntua.gr [147.102.222.65]) by diomedes.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id g566GLA01196 for ; Thu, 6 Jun 2002 09:16:22 +0300 (EEST) Received: from erwin.gr (ppp235.dialup.ntua.gr [147.102.223.235]) by mail.ntua.gr (Netscape Messaging Server 4.15) with ESMTP id GX9TF800.Q07 for ; Thu, 6 Jun 2002 09:16:20 +0300 Content-Type: text/plain; charset="iso-8859-7" From: Aggelos Economopoulos Reply-To: aoiko@cc.ece.ntua.gr To: freebsd-hackers@FreeBSD.ORG Subject: Cannot access disk Date: Thu, 6 Jun 2002 09:15:45 +0300 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200206060907.02295.aoiko@cc.ece.ntua.gr> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG After adding a 40G ide disk(ad3) on my system, I 'ld like to devote some extra space to FreeBSD (there is already a linux installation on the 40G disk). However, after booting my -stable installation on the first disk(ad0), I get the error message "excessive recursion in search for slices" by the kernel on any attempt to access ad3 (mount a partition, fdisk -s /dev/ad3, or even a read() on ad3). Initially, I thought I had hit a bug in sys/kern/subr_diskmbr.c. Only, us= ing a userspace partition viewer (which understands the partition setup on ad= 3 when run under linux) I get simillar errors (ie infinite loop in the partition handling code). (it _seems_ that at somepoint in following the=20 extended partition tables chain, a read() returns sector 0 (the mbr of=20 ad3), but don't quote me on this) I therefore conclude that this is not a problem in the partition handling code and given my lack of familiarity with the kernel I cannot even guess at the cause. If it's any use, ->d_secperunit in the in-kernel disklabel is the same as the number of sectors reported by the linux kernel. Any ideas are _very_ welcome. PS: I do read -hackers, but please cc: me in any reply. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 2:13:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from goose.mail.pas.earthlink.net (goose.mail.pas.earthlink.net [207.217.120.18]) by hub.freebsd.org (Postfix) with ESMTP id D549C37B400 for ; Thu, 6 Jun 2002 02:13:12 -0700 (PDT) Received: from pool0027.cvx40-bradley.dialup.earthlink.net ([216.244.42.27] helo=mindspring.com) by goose.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 17FtKQ-000409-00; Thu, 06 Jun 2002 02:13:10 -0700 Message-ID: <3CFF2780.FAD81226@mindspring.com> Date: Thu, 06 Jun 2002 02:12:32 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Stephen Montgomery-Smith Cc: freebsd-hackers@freebsd.org Subject: Re: allocating memory References: <3CFEEB99.AEDC5DB9@math.missouri.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Stephen Montgomery-Smith wrote: > I have access to a rather large computer (3GB of RAM) and I would like > to write a program to access most of this memory. I find that I am > unable to malloc more than about 0.5 GB of memory, even if I do it in > small increments. Now I am trying mmap, and this lets me get to about > 2.5 GB of memory (again I ask for the memory in small increments). What > is it that causes these limitations? You never allocate physical memory, you only ever allocate virtual memory. The amount of memory is limited by your address space. For most machines, this is limited by the number of pins on the CPU to 32 bits. Since the kernel must be able to access both the process memory, and the kernel memory, at the same time, this means that the virtual address space is split between kernel memory and user memory (or the kernel would not be able to copy data between user buffers and those in the kernel). So the actual amount of virtual memory usable by a user program is: 4G - KVA space By default, in 4.x, the KVA space was 1G, which meant that use space programs were limited to 3G in size. It turns out that 1G is not enough KVA space for a 4G machine, since there is a lot of overhead associated with the VM system being able to manage 1M pages of memory. Some of that is in the overallocation of swap space (for any guve UVA space [process], you are limited to UVA = physical mappings + swap mappings). So in order to make sure that maxed-out (4G) machines even boot, the KVA space has to be increased. 3G is about the top of what you can have without this. Why doesn't malloc work to get all the memory it can? I don't know; you would have to petition PHK for an answer as to why, since he is the author of the malloc you are using. If it's not "pilot error", then it's probably something broken that he'll have to fix (no user serviceable parts). As for topping out at ~2.5G: yes: that's what's expected. If you really need more memory than that, you will need to drop ~US$10K on a 64 bit Itanium machine, and petition Peter Wemm for the correct dead chicken to wave over the thing. In general, I'd suggest that, unless it's for non-swappable kernel structures, you should just trust the system to Deal With The Memory and Do The Right Thing Automatically: only think in terms of the virtual memory, and ignore the physical. If you need a larger amount of memory in one program simultaneously, you should partition your problem so you can make do with less memory (e.g. if you are writing a linker-to-end-all-linkers, then consider not mapping all the object files simultaneously, and using an LRU and writing your own "as needed" mapping layer, instead, so you don't need it all simultaneously, and addresses can overlap). If you can't do that, and *must* have a larger amount of address space in your programs... welcome to the Itanium owners club of America. We meet once a month to race our machines in the big parking lot on Sundays; bring lots of water, a sack lunch, and orange cones, if you have them. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 3:27: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by hub.freebsd.org (Postfix) with ESMTP id 0C7D037B400 for ; Thu, 6 Jun 2002 03:27:03 -0700 (PDT) Received: by energyhq.homeip.net (Postfix, from userid 1001) id 373753FC58; Thu, 6 Jun 2002 12:27:02 +0200 (CEST) Date: Thu, 6 Jun 2002 12:27:02 +0200 From: Miguel Mendez To: Terry Lambert Cc: Stephen Montgomery-Smith , freebsd-hackers@freebsd.org Subject: Re: allocating memory Message-ID: <20020606122702.A81113@energyhq.homeip.net> Mail-Followup-To: Terry Lambert , Stephen Montgomery-Smith , freebsd-hackers@freebsd.org References: <3CFEEB99.AEDC5DB9@math.missouri.edu> <3CFF2780.FAD81226@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3CFF2780.FAD81226@mindspring.com>; from tlambert2@mindspring.com on Thu, Jun 06, 2002 at 02:12:32AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 06, 2002 at 02:12:32AM -0700, Terry Lambert wrote: > Why doesn't malloc work to get all the memory it can? I don't know; > you would have to petition PHK for an answer as to why, since he is I honestly doubt it's a problem in phkmalloc :) > As for topping out at ~2.5G: yes: that's what's expected. If you > really need more memory than that, you will need to drop ~US$10K > on a 64 bit Itanium machine, and petition Peter Wemm for the correct > dead chicken to wave over the thing. Just out of curiosity, why to you advocate the Itanium so much? It's, by far, the worst 64bit arch I've ever seen. Maybe in 3 years or so it will be used to serious work, until then, you're much better off with a POWER4= =20 or Sparc box, although newer Sun hardware seems to be pretty disappointing in the engineering department, so go IBM :) Or he could go the PAE way, and get an x86 box with 8 or 16GB of memory. However, I don't know how good the support for that in FreeBSD is. Cheers, --=20 Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8/zj1nLctrNyFFPERApisAJ4kHWUw4E6CAd/qBSH8Et40yf2OkwCgiTL0 YmrRRNWb+zXqC60WsSOWsyQ= =jYth -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 4: 4:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id 6631137B405; Thu, 6 Jun 2002 04:04:32 -0700 (PDT) Received: from kokeb.ambesa.net ([64.166.85.97]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GXA008J26RKSA@mta5.snfc21.pbi.net>; Thu, 06 Jun 2002 04:04:32 -0700 (PDT) Received: from kokeb.ambesa.net (dev1ant@localhost [127.0.0.1]) by kokeb.ambesa.net (8.12.3/8.12.3) with ESMTP id g56B9uvS070799; Thu, 06 Jun 2002 04:09:56 -0700 (PDT envelope-from mikem@kokeb.ambesa.net) Received: (from mikem@localhost) by kokeb.ambesa.net (8.12.3/8.12.3/Submit) id g56B9uIY070798; Thu, 06 Jun 2002 04:09:56 -0700 (PDT envelope-from mikem) Date: Thu, 06 Jun 2002 04:09:56 -0700 From: Mike Makonnen Subject: Re: rc.d boot scripts are ready In-reply-to: <1023361278.70629.12.camel@kokeb.ambesa.net> To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Message-id: <200206061109.g56B9uIY070798@kokeb.ambesa.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i386--freebsd5.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <1023361278.70629.12.camel@kokeb.ambesa.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [ forgive this breach of net-ettiquette, but this should probably be given a wider audience] On Thu, 06 Jun 2002 05:01:18 -0600 Mike Makonnen wrote: > > > Ok folks, > > I have our current rc.* scripts ported to the NetBSD framework. > Preliminary testing says it's good to go, so consider this an official > call for testers. Gordon has indicated he is ready to start committing > it soon. I ask that people start testing it out before he does so. That> will enable me to get any remaining bugs fixed before it hits the tree. > > Once you download and follow the directions at: > http://home.pacbell.net/makonnen/rcng.html > you can enable it by including rc_ng="YES" in your /etc/rc.conf. > > If you experience any breakage please let me know so I can fix it. > I'd appreciate it if people with the appropriate setups especially test> the following: > ATM > ipfilter > amd > > Any comments, constructive criticism welcome. > > Cheers, > Mike Makonnen > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 5: 6:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id D5FF037B40E for ; Thu, 6 Jun 2002 05:05:57 -0700 (PDT) Received: from pool0049.cvx40-bradley.dialup.earthlink.net ([216.244.42.49] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 17Fw1N-0006xR-00; Thu, 06 Jun 2002 05:05:41 -0700 Message-ID: <3CFF4FE8.86C44C31@mindspring.com> Date: Thu, 06 Jun 2002 05:04:56 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Miguel Mendez Cc: Stephen Montgomery-Smith , freebsd-hackers@freebsd.org Subject: Re: allocating memory References: <3CFEEB99.AEDC5DB9@math.missouri.edu> <3CFF2780.FAD81226@mindspring.com> <20020606122702.A81113@energyhq.homeip.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Miguel Mendez wrote: > > As for topping out at ~2.5G: yes: that's what's expected. If you > > really need more memory than that, you will need to drop ~US$10K > > on a 64 bit Itanium machine, and petition Peter Wemm for the correct > > dead chicken to wave over the thing. > > Just out of curiosity, why to you advocate the Itanium so much? Didn't think I was... telling someone that they would have to drop ~US$10K is hardly advocacy in my book. > It's, by far, the worst 64bit arch I've ever seen. Maybe in 3 years > or so it will be used to serious work, until then, you're much better > off with a POWER4 or Sparc box, although newer Sun hardware seems to > be pretty disappointing in the engineering department, so go IBM :) FreeBSD doesn't run on these boxes yet; there's a SPARC 64 bit port in progress, as well as a PPC port in progress (32 bit only, AFAIK). The SPARC 64 that's probably not going to see a lot of use until the number of 64 bit SPARC machines available second-hand comes anywhere close to 10% of the 32 bit SPARC machines that can be had out there; in terms of price/performance, they are still way too expensive. I guess if I didn't limit your remarks to FreeBSD, and included Solaris, AIX, or NetBSD as options, the field would be larger. You didn't mention the Alpha, but Alpha is end of life these days, now that HP owns what Intel didn't already own. The FreeBSD Alpha port (which *is* complete) unfortunately can't handle more than 2G of RAM (apparently, this has to do with the I/O architecture issues that have yet to be resolved completely, by way of code changes that *should* happen, but haven't, because the i386 doesn't need them to happen). > Or he could go the PAE way, and get an x86 box with 8 or 16GB of memory. > However, I don't know how good the support for that in FreeBSD is. It's not there; there would have been a big announcement, I think, like "Hyperthreading" (really, SMT). Peter Wemm was reported by Alfred Perlstein to have been working on it. If Peter is on it, it will happen eventually, but I don't think it will be useful unless your problem is swap-bound systems, not CPU or I/O bound systems; IMO, most systems end up I/O bound because of system clock halving... er... CPU clock doubling... er... whatever. Peter is with Yahoo, and Yahoo runs a lot of large user programs simultaneously on a given machine, so they actually have a real use for this. [ ...Skip to the end if you love PAE, and don't want to read anyone "insulting" it... ] Here's my unvarnished opinion of PAE: it sucks to the point of near non-utility. Here's why: The problem with PAE is that, while it extends the amount of physical RAM you can access, it doesn't extend the amount of physical RAM you can access *simultaneously*. It also doesn't increase your kernel or user virtual address space: the total of the two still can't exceed 4G, even when using PAE. It's basically the 32 bit version of the 16 bit bank selection in the Commodore64, or if you want to dig deeper, the bank selection that most of us eventually ran on our 8 bit SWTP 6800's or IMSAI 8080's, back in the mid 1970's, so we could cram more than 256b of RAM into our little S-100 bus boxes; those of us with infinitely deep wallets sometimes had up to an unbelievable 4K in the buggers... What do you get out of PAE? Faster, very low granularity swap, that eventually becomes much more expensive to LRU out to real swap, once it's all filled up (guaranteed: your least recently used data is not in the bank that's currently selected in!). In other words, if you need X G of RAM, then 4 times that much is not going to save you, and you need to reconsider your code. Unless, of course, you don't expect you business or application or data set to grow, over time, and your system load remains constant. You can't DMA into the thing. If you have a 64 bit PCI, and your motherboard is designed just right, you might be able to swing it; I've actually seen an Intel Server Products Division MB that would let you DMA into banked-out memory (but it still flushed your L2 and L1 at the memory location mod 4G, meaning you should limit yourself to Amiga-like "FastRAM", otherwise known as "bounce buffers"). Mostly, you have to pretend you are a DEC Alpha, and limit DMA buffers to the low 4G. That's mbufs, disk DMAs, everything. Cool. Start at 1G. Add 1G. Get more mbufs and buffer cache. Add 1G. Get more mbufs and buffer cache. Add 1G. Get more mbufs and buffer cache. Add 1G. Lose 2G worth of mbufs and buffer cache. There's also the VM problem. In a 4G system, you are likely to be able to only grab a random chunk of 2G -- half the RAM physically in the machine -- from the available "extra" memory. What this boils down to is that the physical RAM ends up getting used up for housekeeping of the physical RAM. You can push this up closer to 3G; but to do that, you have to make modifications to pmap.c and machdep.c. Adding PAE into the mix means you are probably going to spend, at a minimum, 1/4 of the physical RAM on housekeeping. For a 16G machine, that's 4G. And guess what? It can't all be in core (bank selected in) at the same time, or you end up having no KVA space left to bank-select in the RAM that it's the housekeeping for. So the only real approach is to got to a MIPS-like software lookaside (hierarchical) so that you can take each bank, and take the 1/4 out of the bank itself. This works, but it's incredibly expensive, overall. Basically ...the memory is only good for programs themselves, not for DMA, mmap'ed files, more mbufs... anything really useful. Now add in that most new, fast memory is actually limited to 2G in a system because of the memory modules being used (e.g. the new 450MHz memory busses can't handle more than 2G). [ ...You can stop skipping now... ] FreeBSD uses the standard recursive mapping, and it uses soft switching, which means that it has a small TSS profile (Intel processors are limited to 1024 of these, which is why Linux had to move to a similar model: before that, they were intrinsically limited to 1024 processes, as is any OS that uses one per process, per the Intel programming manual recommendations -- yet another glaring piece of evidence that software engineers are rarely consulted before hardware is designed). The easiest method of dealing with this would be to grab a group of these (FreeBSD uses only a few of them, and tends to use only one for all processes on the system, unless VM86 gets involved), and then map them up to the banks, so that when you do switching to a process, you can lazy-bind the PAE bank selection at the same time. Probably you would have to add in scheduler mojo (like Linux) so that given a list of equal priority processes, you prefer the ones that are in the same bank as the current process. Probably, you will want to end up double-caching things like code pages from Apache, or making sure that shared code pages end up outside the bank selection region, but if you are adding significant attribution to the VM system to handle PAE in the first place, then it's negligible additional overhead. [ ...Skip again, if you don't want a negative bottom line... ] The bottom line is that, in order to have a *usable* amount of physical RAM over 4G, you pretty much have to go to a 64 bit platform, and if you are a user, now that Alpha is dead and no one looks to be making quick progress on the Alpha 2G barrier, that pretty much means "Itanium". -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 5:38:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id E6FA037B448 for ; Thu, 6 Jun 2002 05:38:17 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id DABA1535E; Thu, 6 Jun 2002 14:38:15 +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: Stephen Montgomery-Smith Cc: freebsd-hackers@freebsd.org Subject: Re: allocating memory References: <3CFEEB99.AEDC5DB9@math.missouri.edu> From: Dag-Erling Smorgrav Date: 06 Jun 2002 14:38:15 +0200 In-Reply-To: <3CFEEB99.AEDC5DB9@math.missouri.edu> Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Stephen Montgomery-Smith writes: > I have access to a rather large computer (3GB of RAM) and I would like > to write a program to access most of this memory. I find that I am > unable to malloc more than about 0.5 GB of memory, even if I do it in > small increments. Now I am trying mmap, and this lets me get to about > 2.5 GB of memory (again I ask for the memory in small increments). What > is it that causes these limitations? man limits, and see MAX{DSIZ,SSIZ} in NOTES. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 6:20:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from bugz.infotecs.ru (bugz.infotecs.ru [195.210.139.22]) by hub.freebsd.org (Postfix) with ESMTP id 7361F37B408 for ; Thu, 6 Jun 2002 06:20:39 -0700 (PDT) Received: (from vel@localhost) by bugz.infotecs.ru (8.11.6/8.11.4) id g56DKLg25760; Thu, 6 Jun 2002 17:20:21 +0400 (MSD) (envelope-from vel) Date: Thu, 6 Jun 2002 17:20:20 +0400 From: "Eugene L. Vorokov " To: Stephen Montgomery-Smith Cc: freebsd-hackers@freebsd.org Subject: Re: allocating memory Message-ID: <20020606132020.GA25708@bugz.infotecs.ru> References: <3CFEEB99.AEDC5DB9@math.missouri.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline In-Reply-To: <3CFEEB99.AEDC5DB9@math.missouri.edu> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jun 05, 2002 at 11:56:57PM -0500, Stephen Montgomery-Smith wrote: > I have access to a rather large computer (3GB of RAM) and I would like > to write a program to access most of this memory. I find that I am > unable to malloc more than about 0.5 GB of memory, even if I do it in > small increments. Now I am trying mmap, and this lets me get to about > 2.5 GB of memory (again I ask for the memory in small increments). What > is it that causes these limitations? The 0.5G memory limit is most probably caused my your "datasize" limit, which you can see by typing "limits" on the shell. malloc() increases process heap size using sbrk() syscall, and datasize limit holds maximum heap size that can be set for a process that way. mmap() with MAP_ANON doesn't use sbrk() and allocates memory from global heap, so this way you can get as much memory as possble, AFAIK. However, don't forget that some memory is used by or reserved for the kernel. Regards, Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 6:25:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by hub.freebsd.org (Postfix) with ESMTP id BBF1437B403 for ; Thu, 6 Jun 2002 06:24:58 -0700 (PDT) Received: by energyhq.homeip.net (Postfix, from userid 1001) id C10CC3FC58; Thu, 6 Jun 2002 15:24:58 +0200 (CEST) Date: Thu, 6 Jun 2002 15:24:58 +0200 From: Miguel Mendez To: Terry Lambert Cc: freebsd-hackers@freebsd.org Subject: Re: allocating memory Message-ID: <20020606152458.A81446@energyhq.homeip.net> Mail-Followup-To: Terry Lambert , freebsd-hackers@freebsd.org References: <3CFEEB99.AEDC5DB9@math.missouri.edu> <3CFF2780.FAD81226@mindspring.com> <20020606122702.A81113@energyhq.homeip.net> <3CFF4FE8.86C44C31@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3CFF4FE8.86C44C31@mindspring.com>; from tlambert2@mindspring.com on Thu, Jun 06, 2002 at 05:04:56AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 06, 2002 at 05:04:56AM -0700, Terry Lambert wrote: Hi, > The SPARC 64 that's probably not going to see a lot of use until the > number of 64 bit SPARC machines available second-hand comes anywhere > close to 10% of the 32 bit SPARC machines that can be had out there; > in terms of price/performance, they are still way too expensive. I How come? A Sun Blade 100 is about $1,000. That's not what I call expensive. It's not an E4500, but not a bad box once you load it with a bit more RAM and a SCSI controller. You can get Ultra 10 boxen pretty cheap these days too. > guess if I didn't limit your remarks to FreeBSD, and included Solaris, > AIX, or NetBSD as options, the field would be larger. Yes, I'd include those OS, as FreeBSD is not, and won't be, production ready for a while for those platforms. > You didn't mention the Alpha, but Alpha is end of life these days, > now that HP owns what Intel didn't already own. The FreeBSD Alpha I didn't even consider the Alpha as a viable option. Compaq^WHP took care of killing it, and, it for any reason it survives, Fiorina will take care of it. It's sad, the Alpha is a very nice arch to work with. But in these days, I don't consider it anything more useful than my old Amiga 1200, nice box, but pretty much useless now. > port (which *is* complete) unfortunately can't handle more than 2G > of RAM (apparently, this has to do with the I/O architecture issues > that have yet to be resolved completely, by way of code changes > that *should* happen, but haven't, because the i386 doesn't need > them to happen). It seems to me most developers have lost interest in it and moved already towards more exciting targets, like the sparc port. > It's not there; there would have been a big announcement, I think, > like "Hyperthreading" (really, SMT). Peter Wemm was reported by > Alfred Perlstein to have been working on it. If Peter is on it, it Well, now *that* would be interesting to see, as a hacker exercise. > [ ...Skip to the end if you love PAE, and don't want to > read anyone "insulting" it... ] Not really, I don't like any more than the other gazillion kludges the PC arch is built upon :) > The problem with PAE is that, while it extends the amount of > physical RAM you can access, it doesn't extend the amount of > physical RAM you can access *simultaneously*. It also doesn't > increase your kernel or user virtual address space: the total > of the two still can't exceed 4G, even when using PAE. Agreed, more on that below. > It's basically the 32 bit version of the 16 bit bank selection > in the Commodore64, or if you want to dig deeper, the bank Well, you don't need to go that far in history, just boot your computer and enjoy a 500Mhz cpu with 64KB segments :) > What do you get out of PAE? Faster, very low granularity swap, > that eventually becomes much more expensive to LRU out to real > swap, once it's all filled up (guaranteed: your least recently > used data is not in the bank that's currently selected in!). Okay, this is where I wanted to get. First you need to do some hacking because pointers for Intel processors are 32 bits in size, so a possible solution could be: Assume a (software based) 64bit address space, by means of using long long for pointers. Of course you can only access a 4GB chunk at a time, but programs need not to know about that. Do they want to malloc or mmap 8GB? You let them. If the program is doing random access all the time, it will spend a lot of time in kernel, as not only pages, but segments have to be taken in account when accessing a memory location. It would work pretty well for programs doing consecutive accesses to their dataset (or within the 4GB boundary). Doing some MMU magic you can have a transparent system to allow programs use more than 4GB. Maybe if/when that hardware becomes affordable I'll try myself such a hack = :) > In other words, if you need X G of RAM, then 4 times that much > is not going to save you, and you need to reconsider your code. Databases for one love to have huge amounts of memory. It's not uncommon to have e.g. informix processes using 16GB of ram on Sun big iron. > You can't DMA into the thing. If you have a 64 bit PCI, and your IMHO not an issue. > What this boils down to is that the physical RAM ends up getting > used up for housekeeping of the physical RAM. You can push this > up closer to 3G; but to do that, you have to make modifications > to pmap.c and machdep.c. Such an enhancement needs a lot of modifications to the VM subsystem. > housekeeping for. So the only real approach is to got to a > MIPS-like software lookaside (hierarchical) so that you can > take each bank, and take the 1/4 out of the bank itself. This > works, but it's incredibly expensive, overall. Hmm, yes. So what does Windows 2000 Datacenter do wrt that problem? Waste memory like there's no tomorrow? > Basically ...the memory is only good for programs themselves, > not for DMA, mmap'ed files, more mbufs... anything really useful. Of course, it's the applications demanding memory we are talking about. For the OS itself, it's just a half assed solution, no practical at all. > Now add in that most new, fast memory is actually limited to > 2G in a system because of the memory modules being used (e.g. > the new 450MHz memory busses can't handle more than 2G). Add more memory buses :) > FreeBSD uses the standard recursive mapping, and it uses soft > switching, which means that it has a small TSS profile (Intel Yes, TSS is one of the many instructions that nobody uses. And looking at the poor register set in the x86 ISA, it's blatantly obvious they never asked a software engineer :-) > priority processes, you prefer the ones that are in the same > bank as the current process. I'd keep all .text pages in the low 4GB of the machine. The probability that a program's code is bigger than that is, imho, null. > The bottom line is that, in order to have a *usable* amount of > physical RAM over 4G, you pretty much have to go to a 64 bit > platform, and if you are a user, now that Alpha is dead and no > one looks to be making quick progress on the Alpha 2G barrier, > that pretty much means "Itanium". Except Itanium is nowhere production ready, so you probably need something else, e.g. sparc or ppc. Mips is also a nice arch to work with, btw, unfortunately SGI hardware is extremely expensive. Cheers, --=20 Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8/2KqnLctrNyFFPERAt24AKCuoD2UQ8LuTP0VkXIg3wNkFekwvgCgh4fT 0vu1L0SSBBUVMP77m+J8XBI= =WYs/ -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 6:27:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 0A89837B405 for ; Thu, 6 Jun 2002 06:27:27 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA26747; Thu, 6 Jun 2002 09:27:26 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g56DQuu03402; Thu, 6 Jun 2002 09:26:56 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15615.25376.119686.377821@grasshopper.cs.duke.edu> Date: Thu, 6 Jun 2002 09:26:56 -0400 (EDT) To: Stephen Montgomery-Smith Cc: freebsd-hackers@freebsd.org Subject: Re: allocating memory In-Reply-To: <3CFEEB99.AEDC5DB9@math.missouri.edu> References: <3CFEEB99.AEDC5DB9@math.missouri.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Stephen Montgomery-Smith writes: > I have access to a rather large computer (3GB of RAM) and I would like > to write a program to access most of this memory. I find that I am > unable to malloc more than about 0.5 GB of memory, even if I do it in Check your per-process limits. Also, rebuild your kernel after increasing MAXDSIZ: (from LINT) # # Certain applications can grow to be larger than the 128M limit # that FreeBSD initially imposes. Below are some options to # allow that limit to grow to 256MB, and can be increased further # with changing the parameters. MAXDSIZ is the maximum that the # limit can be set to, and the DFLDSIZ is the default value for # the limit. MAXSSIZ is the maximum that the stack limit can be # set to. You might want to set the default lower than the max, # and explicitly set the maximum with a shell command for processes # that regularly exceed the limit like INND. # options MAXDSIZ="(256*1024*1024)" options MAXSSIZ="(256*1024*1024)" options DFLDSIZ="(256*1024*1024)" Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 6:37:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 3ADEF37B404 for ; Thu, 6 Jun 2002 06:37:24 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA27032; Thu, 6 Jun 2002 09:37:23 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g56DarS03415; Thu, 6 Jun 2002 09:36:53 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15615.25973.556463.119216@grasshopper.cs.duke.edu> Date: Thu, 6 Jun 2002 09:36:53 -0400 (EDT) To: Terry Lambert Cc: freebsd-hackers@freebsd.org Subject: Re: allocating memory In-Reply-To: <3CFF4FE8.86C44C31@mindspring.com> References: <3CFEEB99.AEDC5DB9@math.missouri.edu> <3CFF2780.FAD81226@mindspring.com> <20020606122702.A81113@energyhq.homeip.net> <3CFF4FE8.86C44C31@mindspring.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert writes: > now that HP owns what Intel didn't already own. The FreeBSD Alpha > port (which *is* complete) unfortunately can't handle more than 2G > of RAM (apparently, this has to do with the I/O architecture issues > that have yet to be resolved completely, by way of code changes > that *should* happen, but haven't, because the i386 doesn't need > them to happen). The only known problem is nearly all PCI network drivers don't use busdma (disk controllers already use busdma). If you're willing to use a crappy ISA nic which either uses busdma or just does PIO, you should be fine. (newer alphas also have a "monster window" for 64-bit pci dma; we don't use this currently) I've never been motivated to work on this because none of the alphas in my care have ever had more memory than the direct mapped DMA window size. (2GB some places, 1GB other places). The sparc64 guys had the (good?) fortune of having to write a driver for the most common nic on their platform, so they did it right. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 7:41:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 28E9537B428 for ; Thu, 6 Jun 2002 07:39:31 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.12.2/8.12.3) id g56EdTxp046978; Thu, 6 Jun 2002 09:39:29 -0500 (CDT) (envelope-from dan) Date: Thu, 6 Jun 2002 09:39:29 -0500 From: Dan Nelson To: Andrew Gallatin Cc: Stephen Montgomery-Smith , freebsd-hackers@FreeBSD.ORG Subject: Re: allocating memory Message-ID: <20020606143929.GC43707@dan.emsphone.com> References: <3CFEEB99.AEDC5DB9@math.missouri.edu> <15615.25376.119686.377821@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15615.25376.119686.377821@grasshopper.cs.duke.edu> User-Agent: Mutt/1.3.99i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jun 06), Andrew Gallatin said: > Stephen Montgomery-Smith writes: > > I have access to a rather large computer (3GB of RAM) and I would > > like to write a program to access most of this memory. I find > > that I am unable to malloc more than about 0.5 GB of memory, even > > if I do it in > > Check your per-process limits. > > Also, rebuild your kernel after increasing MAXDSIZ: (from LINT) You don't even need to rebuild the kernel. Just add kern.maxdsiz=1073741824 to /etc/loader.conf and reboot (to raise the limit to 1gb, for example) -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 7:59:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by hub.freebsd.org (Postfix) with ESMTP id B233437B403 for ; Thu, 6 Jun 2002 07:58:46 -0700 (PDT) Received: from pool0178.cvx40-bradley.dialup.earthlink.net ([216.244.42.178] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17Fyih-0004ts-00; Thu, 06 Jun 2002 07:58:35 -0700 Message-ID: <3CFF7867.4F7193E2@mindspring.com> Date: Thu, 06 Jun 2002 07:57:43 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Miguel Mendez Cc: freebsd-hackers@freebsd.org Subject: Re: allocating memory References: <3CFEEB99.AEDC5DB9@math.missouri.edu> <3CFF2780.FAD81226@mindspring.com> <20020606122702.A81113@energyhq.homeip.net> <3CFF4FE8.86C44C31@mindspring.com> <20020606152458.A81446@energyhq.homeip.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Miguel Mendez wrote: > On Thu, Jun 06, 2002 at 05:04:56AM -0700, Terry Lambert wrote: > How come? A Sun Blade 100 is about $1,000. That's not what I call > expensive. It's not an E4500, but not a bad box once you load it with a > bit more RAM and a SCSI controller. You can get Ultra 10 boxen pretty > cheap these days too. A Sun Blade 100 is limited to 2G of RAM. A Sun Blade 2000 (limited to 8G of RAM) is ~US$10K The lowest cost Ultra workstation (the 60) is also limited to 2G, and costs ~US$7K. The V120 rack mount is ~US$2.5K; it's the lowest end system that can do 4G. To get to 8G, you need to go to the 280R; also ~US$10K. > > guess if I didn't limit your remarks to FreeBSD, and included Solaris, > > AIX, or NetBSD as options, the field would be larger. > > Yes, I'd include those OS, as FreeBSD is not, and won't be, production > ready for a while for those platforms. I guess you could post about that to the "solaris-hackers@sun.com" mailing list, if such a thing existed... ;^). > > port (which *is* complete) unfortunately can't handle more than 2G > > of RAM (apparently, this has to do with the I/O architecture issues > > that have yet to be resolved completely, by way of code changes > > that *should* happen, but haven't, because the i386 doesn't need > > them to happen). > > It seems to me most developers have lost interest in it and moved > already towards more exciting targets, like the sparc port. Uh, there are some things that are transportable like that, but most things aren't. "I used to hack Alpha assembly code, but now I think I will go hack SPARC 64 assembly code" doesn't really happen in the real world (unless you are this crazy guy I know). > > It's not there; there would have been a big announcement, I think, > > like "Hyperthreading" (really, SMT). Peter Wemm was reported by > > Alfred Perlstein to have been working on it. If Peter is on it, it > > Well, now *that* would be interesting to see, as a hacker exercise. Peter is a commercial, professional programmer. Not just a hacker. You don't get that kind of depth in efforts out of volunteers who are not nuts. 8-). > Assume a (software based) 64bit address space, by means of using long > long for pointers. Of course you can only access a 4GB chunk at a time, > but programs need not to know about that. Do they want to malloc or mmap > 8GB? You let them. If the program is doing random access all the time, > it will spend a lot of time in kernel, as not only pages, but segments > have to be taken in account when accessing a memory location. It would > work pretty well for programs doing consecutive accesses to their > dataset (or within the 4GB boundary). Doing some MMU magic you can have > a transparent system to allow programs use more than 4GB. Virtual addressing is handled in hardware, which is limited to 32 bits. To make this idea work, you would have to take a fault on every memory access, and then do a fixup that (maybe) included a bank selection process as well (similar to how write faults are emulated for i386 in supervisor mode, since they do not result in faults, and you want to avoid people using copy-on-write on a read to a bogus address to spam kernel memory as a means of hacking a higher priviledge level by reading, say, a uid of 0 into the current process's cred). Handling this would be so incredibly expensive that you might as well give up and just add swap to the system in question. Really, the only way to deal with it adequately is by abusing hardware, at a task granularity, where you have work to do at task management time, anyway, and it can be amortized over a lot of CPU time. > Maybe if/when that hardware becomes affordable I'll try myself such a hack :) You should (in theory, from the documentation -- I don't have a PAE board with 3G of RAM lying around to check) be able to bank select even without the extra hardware, as long as the PAE is supported in the processor. You just need enough RAM to be able to fit in the low granularity for two windows contents worth. > > In other words, if you need X G of RAM, then 4 times that much > > is not going to save you, and you need to reconsider your code. > > Databases for one love to have huge amounts of memory. It's not uncommon > to have e.g. informix processes using 16GB of ram on Sun big iron. Good reason to buy 64 bit iron, IMO, instead of trying to pretend by emulating your 1GHz pentium with 32M of ram on your PC-XT and swapping to the old ST506 to simulate RAM. > > What this boils down to is that the physical RAM ends up getting > > used up for housekeeping of the physical RAM. You can push this > > up closer to 3G; but to do that, you have to make modifications > > to pmap.c and machdep.c. > > Such an enhancement needs a lot of modifications to the VM subsystem. Not as many as you might think, actually. The PPC and Alpha memory management somewhat resemble the work necessary to be done in software. And the task switching has to happen anyway. Most of the problem is in the bank selection and limiting device drivers to not using banked memory. Even so, I don't think it's worthwhile. The modifications that *are* needed are fugly, and unlikely to be committed by anyone polite, IMO. > > housekeeping for. So the only real approach is to got to a > > MIPS-like software lookaside (hierarchical) so that you can > > take each bank, and take the 1/4 out of the bank itself. This > > works, but it's incredibly expensive, overall. > > Hmm, yes. So what does Windows 2000 Datacenter do wrt that problem? > Waste memory like there's no tomorrow? It's always fun to try to poke at Windows with a sharp stick, but I'll take your comment literally, instead of as a sideways jab at Windows: Actually, I have no idea. I know how I would do it in Windows 98 and in Windows NT 3.5 and 4.0 SP2, if it were my job to do, but as to what they actually do, and in a more "modern" version of Windows, I don't know, since I haven't had the pleasure of grovelling through the code of a more modern Windows. The closest I could come would be some educated guesses. There are at least three places you would have to hack in VMM32.VXD, and about six other places in the IFSmgr and networking code, and I'm probably forgetting some esoteric code path I never had to crawl through with WinICE. Probably, the MS people got some input into the design, so it's close enough to what they were already doing that their overhead would be lower. The Linux overhead is pretty low, too, since they do a lot of stuff in software that FreeBSD does in hardware, in their VM, in order to make it more naturally easy to port. The design is less Intel-centric, making it a bit slower on Intel than it could be, if they were running closer to the glass. > > Basically ...the memory is only good for programs themselves, > > not for DMA, mmap'ed files, more mbufs... anything really useful. > > Of course, it's the applications demanding memory we are talking about. > For the OS itself, it's just a half assed solution, no practical at all. I'd really have to go out of my way to design a real pig of an application in order to make it need this. Almost everything I do these days ends up I/O bound, where the ability to move data in and out of memory ends up being the bottleneck. With rare exceptions, even going Gigabit, I have a hard time pushing an 800MHz CPU over 60%. The PAE increases the amount of copying, and so it doesn't save me bus cycles off my memory bus. Even if all I did was use the memory as a soft "L3 cache", I've got a lot more copy overhead, which means that if my problem is my memory bus bandwidth, all I'm doing is shooting myself im my knee so as to avoid hitting my foot. I have applications that would really like the extra memory, but as they are all network applications, and I can't use the extra memory as mbufs because I can't DMA into or out of it without adding an extra copy in both directions, and I's have to add a copy, both in and out, in most cases where I don't have one today. So unless I did something dumb, like run a whole bunch of virtual servers (I'd be inclined to bank select between servers, and then time slice on the same boundary), I'd be hard pressed to find a situation where it was a win (dumb because I might as well build more 1U boxes: they're less expensive, faster, and one crashing doesn't kill everyone else). > > Now add in that most new, fast memory is actually limited to > > 2G in a system because of the memory modules being used (e.g. > > the new 450MHz memory busses can't handle more than 2G). > > Add more memory buses :) There is one motherboard that I know of with 2 (limit 4G). The problem is that there is good evidence that most people who build chipsets couldn't build one that could walk and chew gum at the same time without causing problems. I would have a very hard time tryusing something like that. The AMD Hammer stuff with the Hyperchannel, I think will be OK, if they ever start selling boxes this century. They are already 8 months behind their opriginal "tape out" date of last November. Right now, it's just so much vapor. > > priority processes, you prefer the ones that are in the same > > bank as the current process. > > I'd keep all .text pages in the low 4GB of the machine. The probability > that a program's code is bigger than that is, imho, null. At this point, you are redesigning it into an application specific OS, rather than a general purpose OS. If you do that, you really can't expect that anyone would be willing to accept the penalty or maintain the code, if they didn't. This might work well for your specific need (the ability to have up to 4 times the current memory limit without buying a 64 bit processor, at the expense of really expensive 32 bit hardware), but the marginal returns mean that the IRR on the investment is going to satisfy maybe 5% of people who need that much RAM, which I would argue are, at most, 5% of the users. That's just under 3 tenths of a percent, agregate, for the user base. No wonder it is not already supported. 8-). > > The bottom line is that, in order to have a *usable* amount of > > physical RAM over 4G, you pretty much have to go to a 64 bit > > platform, and if you are a user, now that Alpha is dead and no > > one looks to be making quick progress on the Alpha 2G barrier, > > that pretty much means "Itanium". > > Except Itanium is nowhere production ready, so you probably need > something else, e.g. sparc or ppc. Mips is also a nice arch to work > with, btw, unfortunately SGI hardware is extremely expensive. Production :== I can buy one at Fry's and load FreeBSD on it, and it will work. So it counts as "production", I think. If you want a MIPS box that supports a lot of RAM, buy a Sibytes card. Chris Dimetreau is one of the guys who worked on it, so it runs NetBSD, and plugs into a PCI slot. It's supposed to be a "network processor". Be warned that the CPU speed on the MIPS cores is pretty freakishly slow, compared to the original product announcement, but if you are willing to entertain the idea of PAE, then "freakishly slow" obviously doesn't bother you. ;^). Personally, I think that's a lot of effort, just to make political noises about Itanium. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 8: 4:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by hub.freebsd.org (Postfix) with ESMTP id E873537B400 for ; Thu, 6 Jun 2002 08:03:59 -0700 (PDT) Received: from pool0178.cvx40-bradley.dialup.earthlink.net ([216.244.42.178] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17Fynu-0004NR-00; Thu, 06 Jun 2002 08:03:58 -0700 Message-ID: <3CFF79AA.8D469BA0@mindspring.com> Date: Thu, 06 Jun 2002 08:03:06 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Andrew Gallatin Cc: freebsd-hackers@freebsd.org Subject: Re: allocating memory References: <3CFEEB99.AEDC5DB9@math.missouri.edu> <3CFF2780.FAD81226@mindspring.com> <20020606122702.A81113@energyhq.homeip.net> <3CFF4FE8.86C44C31@mindspring.com> <15615.25973.556463.119216@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andrew Gallatin wrote: [ ...Alpha 2G memory limit... ] > The only known problem is nearly all PCI network drivers don't use > busdma (disk controllers already use busdma). If you're willing to > use a crappy ISA nic which either uses busdma or just does PIO, you > should be fine. > > (newer alphas also have a "monster window" for 64-bit pci dma; we > don't use this currently) > > I've never been motivated to work on this because none of the alphas > in my care have ever had more memory than the direct mapped DMA window > size. (2GB some places, 1GB other places). Yep. That's the problem in a nutshell. I have the same lack of motivation (and significantly less memory, and only one Alpha box). I was unaware of the "monster window". It makes sense (like the Serverworks board that can do the DMA to banked PAE pages by using the physical address on the bus side of things). Unfortunately, Alpha has pretty much been murdered in the night by people who would rather kill it than keep up with it. 8-(. > The sparc64 guys had the (good?) fortune of having to write a driver > for the most common nic on their platform, so they did it right. Actually... You ought to post a "Junior Kernel Hacker Task". You might get a bite on it (you never know). There have to be universities with some aging Alpha hardware and some students who are there to actually learn, rather than just there to get their union card... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 9:49:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from search.sparks.net (d-207-5-180-136.gwi.net [207.5.180.136]) by hub.freebsd.org (Postfix) with ESMTP id 55FA037B401 for ; Thu, 6 Jun 2002 09:49:20 -0700 (PDT) Received: by search.sparks.net (Postfix, from userid 100) id AFE9CD983; Thu, 6 Jun 2002 12:42:03 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by search.sparks.net (Postfix) with ESMTP id A067AD982; Thu, 6 Jun 2002 12:42:03 -0400 (EDT) Date: Thu, 6 Jun 2002 12:42:03 -0400 (EDT) From: David Miller To: Miguel Mendez Cc: Terry Lambert , freebsd-hackers@freebsd.org Subject: Re: allocating memory In-Reply-To: <20020606152458.A81446@energyhq.homeip.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 6 Jun 2002, Miguel Mendez wrote: > Except Itanium is nowhere production ready, so you probably need > something else, e.g. sparc or ppc. Mips is also a nice arch to work > with, btw, unfortunately SGI hardware is extremely expensive. Are there any estimates of when freebsd will move to 64 bits on the upcoming sledgehammer CPU from AMD? It's my guess that it will be the first affordable, widely available, 64 bit system out there. The itanium certainly looks like it was a stillbirth, and rumors have Intel working on something more like the sledgehammer. Thanks, --- David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 10:47:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from out0.mx.nwbl.wi.voyager.net (out0.mx.nwbl.wi.voyager.net [169.207.3.118]) by hub.freebsd.org (Postfix) with ESMTP id 9C19937B400 for ; Thu, 6 Jun 2002 10:47:03 -0700 (PDT) Received: from pop2.nwbl.wi.voyager.net (pop2.nwbl.wi.voyager.net [169.207.3.115]) by out0.mx.nwbl.wi.voyager.net (8.12.3/8.11.4/1.7) with ESMTP id g56HknpH025434; Thu, 6 Jun 2002 12:46:49 -0500 Received: from [10.1.1.6] (d130.as26.nwbl0.wi.voyager.net [169.207.67.196]) by pop2.nwbl.wi.voyager.net (8.10.2/8.10.2) with ESMTP id g56Hklv57014; Thu, 6 Jun 2002 12:46:48 -0500 (CDT) Date: Thu, 6 Jun 2002 12:47:54 -0500 (CDT) From: Mike Silbersack To: David Miller Cc: Miguel Mendez , Terry Lambert , Subject: Re: allocating memory In-Reply-To: Message-ID: <20020606124324.X3036-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 6 Jun 2002, David Miller wrote: > Are there any estimates of when freebsd will move to 64 bits on the > upcoming sledgehammer CPU from AMD? Rumor has it that adding such support will be relatively easy once actual hammer hardware appears. I believe that a few people had been working on adding such support, but they became fed up with the slowness of emulation and decided to wait. See the paper on porting NetBSD to hammer that was presented at some recent usenix convention for more info. (I think it was usenix, but I'm not sure.) > It's my guess that it will be the first affordable, widely available, 64 > bit system out there. The itanium certainly looks like it was a > stillbirth, and rumors have Intel working on something more like the > sledgehammer. > > Thanks, > > --- David I wouldn't be so quick to say that... Itanium 2 is only a few months away now, and it's supposedly much better. It'll probably only be a year or two before Intel manages to make the architecture desireable to a large number of people. I doubt they'll ever quite match IBM's top chips in speed, but they'll probably produce 50x more chips at 10% of the price. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 12: 9:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from lerlaptop.iadfw.net (lerlaptop.iadfw.net [206.66.13.21]) by hub.freebsd.org (Postfix) with ESMTP id E1D7337B40C for ; Thu, 6 Jun 2002 12:09:11 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lerlaptop.iadfw.net (8.12.3/8.12.3) with ESMTP id g56J986x002592 for ; Thu, 6 Jun 2002 14:09:08 -0500 (CDT) (envelope-from ler@lerctr.org) Subject: USB: Anyone working on it? From: Larry Rosenman To: freebsd-hackers@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 06 Jun 2002 14:09:08 -0500 Message-Id: <1023390548.363.32.camel@lerlaptop> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is there anyone out there working on USB stuff? I reported kern/37624 a while back, and have heard nothing on it. It's an issue with the ICH3 USB (UHCI) driver. Thanks, LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 12:36:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 3619937B40C for ; Thu, 6 Jun 2002 12:36:30 -0700 (PDT) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.11.3/8.10.1) with ESMTP id g56JaPR56528; Thu, 6 Jun 2002 12:36:25 -0700 (PDT) Date: Thu, 6 Jun 2002 12:36:24 -0700 (PDT) From: Doug White To: Aggelos Economopoulos Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Cannot access disk In-Reply-To: <200206060907.02295.aoiko@cc.ece.ntua.gr> Message-ID: <20020606123539.K55995-100000@resnet.uoregon.edu> X-All-Your-Base: are belong to us MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 6 Jun 2002, Aggelos Economopoulos wrote: > After adding a 40G ide disk(ad3) on my system, I 'ld like to devote some > extra space to FreeBSD (there is already a linux installation on the 40G > disk). However, after booting my -stable installation on the first > disk(ad0), I get the error message "excessive recursion in search for > slices" by the kernel on any attempt to access ad3 (mount a partition, > fdisk -s /dev/ad3, or even a read() on ad3). Try zeroing off the beginning of the disk with dd; maybe there's a corrupt partition table there. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 14: 8:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from femme.listmistress.org (bgp01560565bgs.gambrl01.md.comcast.net [68.50.32.109]) by hub.freebsd.org (Postfix) with ESMTP id 8F4FD37B400 for ; Thu, 6 Jun 2002 14:08:39 -0700 (PDT) Received: from femme.listmistress.org (trish@localhost [127.0.0.1]) by femme.listmistress.org (8.12.3/8.12.1) with ESMTP id g56L8WMO002064 for ; Thu, 6 Jun 2002 17:08:35 -0400 (EDT) Received: from localhost (trish@localhost) by femme.listmistress.org (8.12.3/8.12.3/Submit) with ESMTP id g56L8P5n002061 for ; Thu, 6 Jun 2002 17:08:27 -0400 (EDT) X-Authentication-Warning: femme.listmistress.org: trish owned process doing -bs Date: Thu, 6 Jun 2002 17:08:25 -0400 (EDT) From: Trish Lynch X-X-Sender: To: Subject: projects that need to be done... Message-ID: <20020606170509.O403-100000@femme.listmistress.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Question: what types of things can be done by people who are generally just learning thier way around some of the code? is there anyone willing to patiently work with a fast learner (yes, honestly my biggest fear is since that I'm entirely self taught is that I have some bad habits, and someone must be willing to LART me at every opportunity on them until I learn) I take intruction well, and I am willing at admit I know NOTHING and am willing to learn. Someone need help on anything they see that I can help out with in my unemployed spare time? I'd even be willing to jump into the deep end if there's someone williong to teach me how to tread water. -Trish -- Trish Lynch trish@bsdunix.net FreeBSD The Power to Serve Ecartis Core Team trish@listmistress.org http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 15: 4:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from natto.numachi.com (natto.numachi.com [198.175.254.216]) by hub.freebsd.org (Postfix) with SMTP id 20B3837B419 for ; Thu, 6 Jun 2002 15:04:03 -0700 (PDT) Received: (qmail 3259 invoked by uid 1001); 6 Jun 2002 22:04:01 -0000 Date: Thu, 6 Jun 2002 18:04:01 -0400 From: Brian Reichert To: hackers@freebsd.org Subject: accessing data track of multimedia CD? Message-ID: <20020606180401.A3240@numachi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've been beating my head for hours against a wall trying to research this: Under FreeBSD (4.5-RELEASE), with an ATAPI device (/dev/acd0c), how can I mount, or otherwise access the data in a 'data track' of a 'multimedia CD'? cdda2wav shows me: % /usr/local/bin/cdda2wav -D /dev/cdrom -I cooked_ioctl -J -N -H -g -v 1 266240 bytes buffer memory requested, 4 buffers, 27 sectors #Cdda2wav version 1.10_freebsd_4.5-release_i386_i386 real time sched. soundcard support cannot read sector: Invalid argument cannot read sector: Invalid argument Tracks:11 61:19.31 CDINDEX discid: rXTo7Z0JXsSpUQDWb7Wgd0NaHqQ- CDDB discid: 0x830e5d0b CD-Text: not detected CD-Extra: detected Album title: '' from '' T01: 0 5:36.38 audio linear copydenied stereo title '' from '' T02: 25238 3:34.58 audio linear copydenied stereo title '' from '' T03: 41346 4:37.07 audio linear copydenied stereo title '' from '' T04: 62128 5:59.47 audio linear copydenied stereo title '' from '' T05: 89100 4:04.50 audio linear copydenied stereo title '' from '' T06: 107450 7:48.09 audio linear copydenied stereo title '' from '' T07: 142559 4:15.21 audio linear copydenied stereo title '' from '' T08: 161705 4:36.25 audio linear copydenied stereo title '' from '' T09: 182430 5:08.38 audio linear copydenied stereo title '' from '' T10: 205568 5:58.00 audio linear copydenied stereo title '' from '' T11: 243818 7:06.38 data uninterrupted copydenied N/A Leadout: 275806 This last track is the one I'm curious about. _What_ is it? I've tried to mount the disc as a CD-ROM, to no avail... I don't even know how to isolate that data; I've been losing a fight trying to find the right arguments to 'readcd'... I'd appreciate any advice... -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 15: 6:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id 073DA37B489 for ; Thu, 6 Jun 2002 15:05:48 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 17G5O6-000Mww-00 for freebsd-hackers@freebsd.org; Thu, 6 Jun 2002 23:05:46 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g56M5kf79106 for freebsd-hackers@freebsd.org; Thu, 6 Jun 2002 23:05:46 +0100 (BST) (envelope-from jcm) Date: Thu, 6 Jun 2002 23:05:45 +0100 From: j mckitrick To: freebsd-hackers@freebsd.org Subject: SMP/5.0 performance on single CPU? Message-ID: <20020606230545.A78993@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I'm sure the SMP features along with removal of the Big Giant Lock (TM) are designed to sacrifice as little performance as possible across the board. In practical terms, will a 5.0 kernel without SMP have any performance loss at all on a single CPU machine compared with the 4.x kernel we use now? I once read here on one of these lists that the Solaris fine-grained locking was great for SMP, but was a lot of overhead for single CPU machines (correct me if I misunderstood). If there's a discussion you can point me to that will save the trouble of explaining it (again) let me know. NOTE: Please CC me, as I am not currently subscribed. Thanks. jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 15:50:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by hub.freebsd.org (Postfix) with ESMTP id 911F537B405 for ; Thu, 6 Jun 2002 15:50:21 -0700 (PDT) Received: from mail.ntua.gr (mail.ntua.gr [147.102.222.65]) by diomedes.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id g56MoIA69760 for ; Fri, 7 Jun 2002 01:50:18 +0300 (EEST) Received: from erwin.gr (ppp163.dialup.ntua.gr [147.102.223.163]) by mail.ntua.gr (Netscape Messaging Server 4.15) with ESMTP id GXB3FT00.PZX; Fri, 7 Jun 2002 01:50:17 +0300 Content-Type: text/plain; charset="iso-8859-7" From: =?iso-8859-7?b?tuPj5evv8iDP6erv7e/s/PDv9evv8g==?= Reply-To: aoiko@cc.ece.ntua.gr To: Doug White Subject: Re: Cannot access disk Date: Fri, 7 Jun 2002 01:50:01 +0300 X-Mailer: KMail [version 1.4] Cc: freebsd-hackers@FreeBSD.ORG References: <20020606123539.K55995-100000@resnet.uoregon.edu> In-Reply-To: <20020606123539.K55995-100000@resnet.uoregon.edu> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200206070145.21754.aoiko@cc.ece.ntua.gr> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday 06 June 2002 22:36, Doug White wrote: > On Thu, 6 Jun 2002, Aggelos Economopoulos wrote: > > After adding a 40G ide disk(ad3) on my system, I 'ld like to devote > > some extra space to FreeBSD (there is already a linux installation on > > the 40G disk). However, after booting my -stable installation on the > > first disk(ad0), I get the error message "excessive recursion in sear= ch > > for slices" by the kernel on any attempt to access ad3 (mount a > > partition, fdisk -s /dev/ad3, or even a read() on ad3). > > Try zeroing off the beginning of the disk with dd; maybe there's a > corrupt partition table there. No, the partition table is _not_ corrupt. As I mentioned before, I have a= =20 working linux installation on said disk. Moreover, I can parse the=20 partition table chain under the linux kernel (using userspace tools) but=20 under freebsd I get the same error as the freebsd kernel partition handli= ng=20 code. I even read the mbr pt + extended pts with a hex editor, they are=20 just fine. I' ve spent about two weeks on the subject before ruling out a= ll=20 posibilities that this is a partition handling problem. This could only be a bug in the bio layer or some kernel quirk that I am = not=20 aware of. The only reason that I do not give any more information is that= I=20 don't have a clue about where to look myself. Thanks for trying to help. --=20 Use recursive procedures for recursively-defined data structures. - The Elements of Programming Style (Kernighan & Plaugher) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 16:10:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from femme.listmistress.org (bgp01560565bgs.gambrl01.md.comcast.net [68.50.32.109]) by hub.freebsd.org (Postfix) with ESMTP id DE80A37B40C for ; Thu, 6 Jun 2002 16:10:12 -0700 (PDT) Received: from femme.listmistress.org (trish@localhost [127.0.0.1]) by femme.listmistress.org (8.12.3/8.12.1) with ESMTP id g56NA7MO003168; Thu, 6 Jun 2002 19:10:09 -0400 (EDT) Received: from localhost (trish@localhost) by femme.listmistress.org (8.12.3/8.12.3/Submit) with ESMTP id g56NA5oV003165; Thu, 6 Jun 2002 19:10:06 -0400 (EDT) X-Authentication-Warning: femme.listmistress.org: trish owned process doing -bs Date: Thu, 6 Jun 2002 19:10:04 -0400 (EDT) From: Trish Lynch X-X-Sender: To: Trish Lynch Cc: Subject: Re: projects that need to be done... In-Reply-To: <20020606170509.O403-100000@femme.listmistress.org> Message-ID: <20020606190836.D403-100000@femme.listmistress.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Actually don;t worry about this Forget it, really, I was just hoping someone wouldn;t mind someone to "mold" into a generally decent workhorse. -Trish -- Trish Lynch trish@bsdunix.net FreeBSD The Power to Serve Ecartis Core Team trish@listmistress.org http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 16:29:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id 8969137B401 for ; Thu, 6 Jun 2002 16:29:25 -0700 (PDT) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id DD400A80A; Fri, 7 Jun 2002 09:29:23 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by starbug.ugh.net.au (Postfix) with ESMTP id D88C1542D; Fri, 7 Jun 2002 09:29:23 +1000 (EST) Date: Fri, 7 Jun 2002 09:29:23 +1000 (EST) From: Andrew To: Trish Lynch Cc: hackers@freebsd.org Subject: Re: projects that need to be done... In-Reply-To: <20020606170509.O403-100000@femme.listmistress.org> Message-ID: <20020607092615.B71955-100000@starbug.ugh.net.au> X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 6 Jun 2002, Trish Lynch wrote: > what types of things can be done by people who are generally just > learning thier way around some of the code? is there anyone willing to You could go through the PR database and see if there are any problems reported that you could solve. If you can't actually solve it it doesn't matter...you're further analysis may be enough to help someone else fix it...you could post your results to the mailing list...i.e I was looking at PR xxxxx and I found this, this and this. I think the problem is line x in x.c but I'm not sure what the correct solution is... Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 17: 2:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by hub.freebsd.org (Postfix) with ESMTP id 7867337B404 for ; Thu, 6 Jun 2002 17:02:26 -0700 (PDT) Received: (qmail 23759 invoked from network); 7 Jun 2002 00:02:25 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 7 Jun 2002 00:02:25 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g5702NF63163; Thu, 6 Jun 2002 20:02:23 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020606230545.A78993@dogma.freebsd-uk.eu.org> Date: Thu, 06 Jun 2002 20:02:22 -0400 (EDT) From: John Baldwin To: j mckitrick Subject: RE: SMP/5.0 performance on single CPU? Cc: freebsd-hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 06-Jun-2002 j mckitrick wrote: > > Hi all, > > I'm sure the SMP features along with removal of the Big Giant Lock (TM) > are designed to sacrifice as little performance as possible across the > board. In practical terms, will a 5.0 kernel without SMP have any > performance loss at all on a single CPU machine compared with the 4.x > kernel we use now? I once read here on one of these lists that the > Solaris fine-grained locking was great for SMP, but was a lot of > overhead for single CPU machines (correct me if I misunderstood). At the moment it is slower because interrupts are effectively blocked in almost all of the kernel. However, the SMP work is still in progress and it will get better as time goes on. One thing to note is that in 4.x, if we are in the networking code, for example, we block all network interrupts. When the more-finely grained locking is implemented in 5.x, if we are working on network card A, we won't be effectively blocking network interrupts on card B, while in 4.x we would be blocking interrupts on card B. However, most of the kernel is still under Giant and so this does not apply to 5.0 yet. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 17: 2:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by hub.freebsd.org (Postfix) with ESMTP id 58B4F37B401 for ; Thu, 6 Jun 2002 17:02:24 -0700 (PDT) Received: (qmail 26099 invoked from network); 7 Jun 2002 00:02:23 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 7 Jun 2002 00:02:23 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g5702MF63159; Thu, 6 Jun 2002 20:02:22 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020606170509.O403-100000@femme.listmistress.org> Date: Thu, 06 Jun 2002 20:02:21 -0400 (EDT) From: John Baldwin To: Trish Lynch Subject: Project: a benchmark utility Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 06-Jun-2002 Trish Lynch wrote: > > Question: > > what types of things can be done by people who are generally just > learning thier way around some of the code? is there anyone willing to > patiently work with a fast learner (yes, honestly my biggest fear is since > that I'm entirely self taught is that I have some bad habits, and someone > must be willing to LART me at every opportunity on them until I learn) > > I take intruction well, and I am willing at admit I know NOTHING > and am willing to learn. Someone need help on anything they see that I can > help out with in my unemployed spare time? > > I'd even be willing to jump into the deep end if there's someone > williong to teach me how to tread water. Actually, if there's a Perl/Tcl/Python/C/C++/shell hacker running around I could use a decent benchmarking tool to compare stable and current. Basically, what I would like is to be able to do the following: bench -n So for example: bench -n 20 buildworld -j4 To run my buildworld script 20 times (with -j4 passed in as an argument to buildworld). I would like the program/script/whatever to collect time -l stats for each iteration. It can simply spit the time -l output to a simple text file in a sensible format (one line per run, with a specific order of columns for example, just the numbers to make the file easier to parse). Once I have that, it would be nice to have a simple tool that would take one of these tabular files as input and spit out appropriate statistics about each column (mean, mode, median, stddev, highlight outliers, etc.). If some sensible (i.e. meaningful) graphs can be generated from this data using gnuplot or some such that would be nice, too. Any takers? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 17: 8:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from femme.listmistress.org (bgp01560565bgs.gambrl01.md.comcast.net [68.50.32.109]) by hub.freebsd.org (Postfix) with ESMTP id 7574337B446; Thu, 6 Jun 2002 17:06:53 -0700 (PDT) Received: from femme.listmistress.org (trish@localhost [127.0.0.1]) by femme.listmistress.org (8.12.3/8.12.1) with ESMTP id g5706lMO003755; Thu, 6 Jun 2002 20:06:49 -0400 (EDT) Received: from localhost (trish@localhost) by femme.listmistress.org (8.12.3/8.12.3/Submit) with ESMTP id g5706jOr003752; Thu, 6 Jun 2002 20:06:46 -0400 (EDT) X-Authentication-Warning: femme.listmistress.org: trish owned process doing -bs Date: Thu, 6 Jun 2002 20:06:45 -0400 (EDT) From: Trish Lynch X-X-Sender: To: John Baldwin Cc: Trish Lynch , Subject: Re: Project: a benchmark utility In-Reply-To: Message-ID: <20020606200607.R403-100000@femme.listmistress.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 6 Jun 2002, John Baldwin wrote: > > On 06-Jun-2002 Trish Lynch wrote: > > > > Question: > > > > what types of things can be done by people who are generally just > > learning thier way around some of the code? is there anyone willing to > > patiently work with a fast learner (yes, honestly my biggest fear is since > > that I'm entirely self taught is that I have some bad habits, and someone > > must be willing to LART me at every opportunity on them until I learn) > > > > I take intruction well, and I am willing at admit I know NOTHING > > and am willing to learn. Someone need help on anything they see that I can > > help out with in my unemployed spare time? > > > > I'd even be willing to jump into the deep end if there's someone > > williong to teach me how to tread water. > > Actually, if there's a Perl/Tcl/Python/C/C++/shell hacker running around I > could use a decent benchmarking tool to compare stable and current. Basically, > what I would like is to be able to do the following: > > bench -n > > So for example: > > bench -n 20 buildworld -j4 > > To run my buildworld script 20 times (with -j4 passed in as an argument to > buildworld). I would like the program/script/whatever to collect time -l > stats for each iteration. It can simply spit the time -l output to a simple > text file in a sensible format (one line per run, with a specific order of > columns for example, just the numbers to make the file easier to parse). > > Once I have that, it would be nice to have a simple tool that would take one > of these tabular files as input and spit out appropriate statistics about > each column (mean, mode, median, stddev, highlight outliers, etc.). If > some sensible (i.e. meaningful) graphs can be generated from this data using > gnuplot or some such that would be nice, too. Any takers? > oh one other thing, I won;t actually get to working on it til tomorrow morning, my SO has forcefully told me to take a break. -Trish -- Trish Lynch trish@bsdunix.net FreeBSD The Power to Serve Ecartis Core Team trish@listmistress.org http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 17: 8:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from patrocles.silby.com (d130.as26.nwbl0.wi.voyager.net [169.207.67.196]) by hub.freebsd.org (Postfix) with ESMTP id 0908237B495 for ; Thu, 6 Jun 2002 17:07:17 -0700 (PDT) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.3/8.12.3) with ESMTP id g5708I9I004727; Thu, 6 Jun 2002 19:08:18 -0500 (CDT) (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.3/8.12.3/Submit) with ESMTP id g5707pD0004717; Thu, 6 Jun 2002 19:07:57 -0500 (CDT) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Thu, 6 Jun 2002 19:07:51 -0500 (CDT) From: Mike Silbersack To: Andrew Cc: Trish Lynch , Subject: Re: projects that need to be done... In-Reply-To: <20020607092615.B71955-100000@starbug.ugh.net.au> Message-ID: <20020606190611.H3036-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 7 Jun 2002, Andrew wrote: > On Thu, 6 Jun 2002, Trish Lynch wrote: > > > what types of things can be done by people who are generally just > > learning thier way around some of the code? is there anyone willing to > > You could go through the PR database and see if there are any problems > reported that you could solve. If you can't actually solve it it doesn't > matter...you're further analysis may be enough to help someone else fix > it...you could post your results to the mailing list...i.e I was looking > at PR xxxxx and I found this, this and this. I think the problem is line x > in x.c but I'm not sure what the correct solution is... > > Andrew Or, if you're so inclined, start working on adding a feature that you find lacking in FreeBSD. Mentoring someone is a great idea, but it doesn't end up working too well in a volunteer project. Contribution works best when it's self motivated. If you can't think of anything to do, Andrew's suggestion of looking through the PR database is a good one. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 17:10:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from femme.listmistress.org (bgp01560565bgs.gambrl01.md.comcast.net [68.50.32.109]) by hub.freebsd.org (Postfix) with ESMTP id F2D9737B41F for ; Thu, 6 Jun 2002 17:09:57 -0700 (PDT) Received: from femme.listmistress.org (trish@localhost [127.0.0.1]) by femme.listmistress.org (8.12.3/8.12.1) with ESMTP id g5709rMO003788; Thu, 6 Jun 2002 20:09:55 -0400 (EDT) Received: from localhost (trish@localhost) by femme.listmistress.org (8.12.3/8.12.3/Submit) with ESMTP id g5709p9q003785; Thu, 6 Jun 2002 20:09:52 -0400 (EDT) X-Authentication-Warning: femme.listmistress.org: trish owned process doing -bs Date: Thu, 6 Jun 2002 20:09:51 -0400 (EDT) From: Trish Lynch X-X-Sender: To: Mike Silbersack Cc: Andrew , Trish Lynch , Subject: Re: projects that need to be done... In-Reply-To: <20020606190611.H3036-100000@patrocles.silby.com> Message-ID: <20020606200814.C403-100000@femme.listmistress.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 6 Jun 2002, Mike Silbersack wrote: > > Or, if you're so inclined, start working on adding a feature that you find > lacking in FreeBSD. Mentoring someone is a great idea, but it doesn't end > up working too well in a volunteer project. Contribution works best when > it's self motivated. > > If you can't think of anything to do, Andrew's suggestion of looking > through the PR database is a good one. > > Mike "Silby" Silbersack > Yeah, I was just hoping someone wouldn;t mind it, since I either work better with one person's input, having a type of high functioning autism, I have a difficult time trying to make sense out of 30 different people's 30 different ways of doing something, I was trying to find someone who wouldn;t mind trying to clone themselves in a sense. -Trish -- Trish Lynch trish@bsdunix.net FreeBSD The Power to Serve Ecartis Core Team trish@listmistress.org http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 17:11: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id C8F3037B4B9; Thu, 6 Jun 2002 17:10:42 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 17G7Kt-0006NU-00; Fri, 7 Jun 2002 01:10:35 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g570AZf79911; Fri, 7 Jun 2002 01:10:35 +0100 (BST) (envelope-from jcm) Date: Fri, 7 Jun 2002 01:10:35 +0100 From: j mckitrick To: John Baldwin Cc: freebsd-hackers@freebsd.org Subject: Re: SMP/5.0 performance on single CPU? Message-ID: <20020607011035.B79818@dogma.freebsd-uk.eu.org> References: <20020606230545.A78993@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from jhb@freebsd.org on Thu, Jun 06, 2002 at 08:02:22PM -0400 X-Scanner: exiscan *17G7Kt-0006NU-00*npqjfRsvzAE* (Manchester Computing, University of Manchester) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG | almost all of the kernel. However, the SMP work is still in progress and | it will get better as time goes on. One thing to note is that in 4.x, Well, I'm trying to decide if I should make the leap to 5.0 when it comes out (my early adopter side talking) or wait around for a rev or 2 (my -stable side talking). I'm leaning toward waiting, since I depend on my system for so much (it's my only box) and I also don't think I have the time to learn the new details of 5.0 just yet. Thanks for the comments, John. NOTE: Please CC me, as I am not currently subscribed. Thanks. jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 17:11:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from femme.listmistress.org (bgp01560565bgs.gambrl01.md.comcast.net [68.50.32.109]) by hub.freebsd.org (Postfix) with ESMTP id 48FEA37B40A for ; Thu, 6 Jun 2002 17:10:56 -0700 (PDT) Received: from femme.listmistress.org (trish@localhost [127.0.0.1]) by femme.listmistress.org (8.12.3/8.12.1) with ESMTP id g570AoMO003808 for ; Thu, 6 Jun 2002 20:10:52 -0400 (EDT) Received: from localhost (trish@localhost) by femme.listmistress.org (8.12.3/8.12.3/Submit) with ESMTP id g570AnE5003805 for ; Thu, 6 Jun 2002 20:10:50 -0400 (EDT) X-Authentication-Warning: femme.listmistress.org: trish owned process doing -bs Date: Thu, 6 Jun 2002 20:10:48 -0400 (EDT) From: Trish Lynch X-X-Sender: To: Subject: DAMMIT Message-ID: <20020606200957.U403-100000@femme.listmistress.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ok last two emails went to the list becaise I'm tired and craky and didn;t mean to disclose any of that information, but accidentally "replied to all" excuse me, I'll go crawl in a hole now. -Trish -- Trish Lynch trish@bsdunix.net FreeBSD The Power to Serve Ecartis Core Team trish@listmistress.org http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 17:20:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by hub.freebsd.org (Postfix) with ESMTP id A0F2537B405; Thu, 6 Jun 2002 17:20:13 -0700 (PDT) Received: from isi.edu (yurbjorsst6bl4hd@hbo.isi.edu [128.9.160.75]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id g570K2r11416; Thu, 6 Jun 2002 17:20:02 -0700 (PDT) Message-ID: <3CFFFC31.10405@isi.edu> Date: Thu, 06 Jun 2002 17:20:01 -0700 From: Lars Eggert User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc3) Gecko/20020528 X-Accept-Language: en-us, de-de MIME-Version: 1.0 To: John Baldwin Cc: Trish Lynch , hackers@freebsd.org Subject: Re: Project: a benchmark utility References: Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms030607040908050605000500" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a cryptographically signed message in MIME format. --------------ms030607040908050605000500 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit John Baldwin wrote: > Once I have that, it would be nice to have a simple tool that would > take one of these tabular files as input and spit out appropriate > statistics about each column (mean, mode, median, stddev, highlight > outliers, etc.). If some sensible (i.e. meaningful) graphs can be > generated from this data using gnuplot or some such that would be > nice, too. Any takers? You want John Heidemann's JDB! I'm using it for any number crunching I need to do for my benchmarks. http://www.isi.edu/~johnh/SOFTWARE/JDB/index.html Lars -- Lars Eggert USC Information Sciences Institute --------------ms030607040908050605000500 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIrjCC ArUwggIeoAMCAQICAwWBRzANBgkqhkiG9w0BAQIFADCBkjELMAkGA1UEBhMCWkExFTATBgNV BAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUx HTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVl bWFpbCBSU0EgMjAwMC44LjMwMB4XDTAxMDgyNDE2NDAwMFoXDTAyMDgyNDE2NDAwMFowVDEP MA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYDVQQDEwtMYXJzIEVnZ2VydDEc MBoGCSqGSIb3DQEJARYNbGFyc2VAaXNpLmVkdTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC gYEA0AvLBsD78nxcUHeHkaMgl3b4qYPnfgbf8Lh+HQP8RgGMRG/Yb+vTpkGezlwt9pkJxiD1 1uZDy4CNNJUu3gKxKSb+zRV70O+lkwwftuHoLHoH4xwo3LcQ2LGDpd+I95tUN4dfJ3TmeEcU SF50dC/SuUI4w8AlhXQ8IxrhgdayTpECAwEAAaNWMFQwKgYFK2UBBAEEITAfAgEAMBowGAIB BAQTTDJ1TXlmZkJOVWJOSkpjZFoyczAYBgNVHREEETAPgQ1sYXJzZUBpc2kuZWR1MAwGA1Ud EwEB/wQCMAAwDQYJKoZIhvcNAQECBQADgYEAheZhn0pQA8zI7U2K1ZIAl11j0a1DKxnp3GtT vOUrGRB3WvYxidvdZ1kizhEsWeXU81TkNDH0DaRqtOEeu6Q2OhB+jeKEqY7IDAJE4/fI0e+d 6PnG1hd+vEvYmsKHkmzBhPc94XUOKNWO+qVNP2NGyNI3QIDy5wX4fdcOo1S34r4wggK1MIIC HqADAgECAgMFgUcwDQYJKoZIhvcNAQECBQAwgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxX ZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYD VQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwg UlNBIDIwMDAuOC4zMDAeFw0wMTA4MjQxNjQwMDBaFw0wMjA4MjQxNjQwMDBaMFQxDzANBgNV BAQTBkVnZ2VydDENMAsGA1UEKhMETGFyczEUMBIGA1UEAxMLTGFycyBFZ2dlcnQxHDAaBgkq hkiG9w0BCQEWDWxhcnNlQGlzaS5lZHUwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANAL ywbA+/J8XFB3h5GjIJd2+KmD534G3/C4fh0D/EYBjERv2G/r06ZBns5cLfaZCcYg9dbmQ8uA jTSVLt4CsSkm/s0Ve9DvpZMMH7bh6Cx6B+McKNy3ENixg6XfiPebVDeHXyd05nhHFEhedHQv 0rlCOMPAJYV0PCMa4YHWsk6RAgMBAAGjVjBUMCoGBStlAQQBBCEwHwIBADAaMBgCAQQEE0wy dU15ZmZCTlViTkpKY2RaMnMwGAYDVR0RBBEwD4ENbGFyc2VAaXNpLmVkdTAMBgNVHRMBAf8E AjAAMA0GCSqGSIb3DQEBAgUAA4GBAIXmYZ9KUAPMyO1NitWSAJddY9GtQysZ6dxrU7zlKxkQ d1r2MYnb3WdZIs4RLFnl1PNU5DQx9A2karThHrukNjoQfo3ihKmOyAwCROP3yNHvnej5xtYX frxL2JrCh5JswYT3PeF1DijVjvqlTT9jRsjSN0CA8ucF+H3XDqNUt+K+MIIDODCCAqGgAwIB AgIQZkVyt8x09c9jdkWE0C6RATANBgkqhkiG9w0BAQQFADCB0TELMAkGA1UEBhMCWkExFTAT BgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMRowGAYDVQQKExFUaGF3 dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lv bjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENBMSswKQYJKoZIhvcNAQkB FhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTAwMDgzMDAwMDAwMFoXDTA0MDgy NzIzNTk1OVowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNV BAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBT ZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4zMDCBnzAN BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA3jMypmPHCSVFPtJueCdngcXaiBmClw7jRCmKYzUq bXA8+tyu9+50bzC8M5B/+TRxoKNtmPHDT6Jl2w36S/HW3WGl+YXNVZo1Gp2Sdagnrthy+boC 9tewkd4c6avgGAOofENCUFGHgzzwObSbVIoTh/+zm51JZgAtCYnslGvpoWkCAwEAAaNOMEww KQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDEtMjk3MBIGA1UdEwEB/wQI MAYBAf8CAQAwCwYDVR0PBAQDAgEGMA0GCSqGSIb3DQEBBAUAA4GBADGxS0dd+QFx5fVTbF15 1j2YwCYTYoEipxL4IpXoG0m3J3sEObr85vIk65H6vewNKjj3UFWobPcNrUwbvAP0teuiR59s ogxYjTFCCRFssBpp0SsSskBdavl50OouJd2K5PzbDR+dAvNa28o89kTqJmmHf0iezqWf54TY yWJirQXGMYICpjCCAqICAQEwgZowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJu IENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRD ZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIw MDAuOC4zMAIDBYFHMAkGBSsOAwIaBQCgggFhMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEw HAYJKoZIhvcNAQkFMQ8XDTAyMDYwNzAwMjAwMVowIwYJKoZIhvcNAQkEMRYEFE5TRcyONeoY i8MEXNir764XnqQaMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwIC AgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGtBgsqhkiG9w0B CRACCzGBnaCBmjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAG A1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRl IFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwAgMF gUcwDQYJKoZIhvcNAQEBBQAEgYCWEBNOyVpS8s6E8POt2SDvULDYchaOiCRpYGM01XxIkp7O HCT28M4rxoIeEIKadz9uPEhjST4iiho6+kptNhYqI+7NXBKu8SwzZhbCdtd528MzeqVTWZ03 RGnkz2nLwdk9e11PbG7FbMesXi+87oY6HK/iTDcdv6gU5k2ZAytZngAAAAAAAA== --------------ms030607040908050605000500-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 17:22:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 75A6A37B405 for ; Thu, 6 Jun 2002 17:22:24 -0700 (PDT) Received: (qmail 6563 invoked from network); 7 Jun 2002 00:22:23 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 7 Jun 2002 00:22:23 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g570MMF63337; Thu, 6 Jun 2002 20:22:23 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020607011035.B79818@dogma.freebsd-uk.eu.org> Date: Thu, 06 Jun 2002 20:22:22 -0400 (EDT) From: John Baldwin To: j mckitrick Subject: Re: SMP/5.0 performance on single CPU? Cc: freebsd-hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 07-Jun-2002 j mckitrick wrote: >| almost all of the kernel. However, the SMP work is still in progress and >| it will get better as time goes on. One thing to note is that in 4.x, > > Well, I'm trying to decide if I should make the leap to 5.0 when it > comes out (my early adopter side talking) or wait around for a rev or 2 > (my -stable side talking). I'm leaning toward waiting, since I depend > on my system for so much (it's my only box) and I also don't think I > have the time to learn the new details of 5.0 just yet. > > Thanks for the comments, John. > > NOTE: Please CC me, as I am not currently subscribed. Thanks. Well, if you have a test box available, your best bet is to try 5.0 out if you can and compare it to 4.x to see how they compare to each other in your specific situation. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 17:24:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from patrocles.silby.com (d130.as26.nwbl0.wi.voyager.net [169.207.67.196]) by hub.freebsd.org (Postfix) with ESMTP id E648D37B400; Thu, 6 Jun 2002 17:24:05 -0700 (PDT) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.3/8.12.3) with ESMTP id g570Nj9I004804; Thu, 6 Jun 2002 19:23:45 -0500 (CDT) (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.3/8.12.3/Submit) with ESMTP id g570NTn0004801; Thu, 6 Jun 2002 19:23:45 -0500 (CDT) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Thu, 6 Jun 2002 19:23:29 -0500 (CDT) From: Mike Silbersack To: j mckitrick Cc: John Baldwin , Subject: Re: SMP/5.0 performance on single CPU? In-Reply-To: <20020607011035.B79818@dogma.freebsd-uk.eu.org> Message-ID: <20020606191745.V3036-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 7 Jun 2002, j mckitrick wrote: > | almost all of the kernel. However, the SMP work is still in progress and > | it will get better as time goes on. One thing to note is that in 4.x, > > Well, I'm trying to decide if I should make the leap to 5.0 when it > comes out (my early adopter side talking) or wait around for a rev or 2 > (my -stable side talking). I'm leaning toward waiting, since I depend > on my system for so much (it's my only box) and I also don't think I > have the time to learn the new details of 5.0 just yet. > > Thanks for the comments, John. > > NOTE: Please CC me, as I am not currently subscribed. Thanks. > > jm To be honest, I don't think that SMP threading should be a consideration for anyone when 5.0-release rolls around. Yes, once it's fully fleshed out it will be a nice performance gain for SMP users. At the same time, I doubt that it will be much of slowdown for UP users, and I don't think that it will be any slower than 4.x SMP. On the other hand, there are numerous new features (GEOM, TrustedBSD, OpenPAM, Snapshots + background fsck, etc) being implemented in 5.x that will never be MFC'd to 4.x due to their complexity. These features (and whathever other ones pop up) are the ones you should evaulate the usefulness of 5.0 with. If none of the features are that useful to you, then by all means stick with 4.7 or whatever we're up to when 5.0-release comes out. I'm sure that the 4.x branch will continue to exist for a long while, and that you'll have plenty of company there. In reality, we don't know what 5.0 will look like come November. If you'd asked me back in January, I would have had a very pessimistic outlook. However, much work has been done in the last two months; if work continues at this rate, 5.0 will have significant advantages for many people. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 17:35:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 1067037B406; Thu, 6 Jun 2002 17:35:46 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 17G7j8-0006kX-00; Fri, 7 Jun 2002 01:35:38 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g570ZcB80110; Fri, 7 Jun 2002 01:35:38 +0100 (BST) (envelope-from jcm) Date: Fri, 7 Jun 2002 01:35:38 +0100 From: j mckitrick To: Mike Silbersack Cc: John Baldwin , freebsd-hackers@freebsd.org Subject: Re: SMP/5.0 performance on single CPU? Message-ID: <20020607013538.C79818@dogma.freebsd-uk.eu.org> References: <20020607011035.B79818@dogma.freebsd-uk.eu.org> <20020606191745.V3036-100000@patrocles.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20020606191745.V3036-100000@patrocles.silby.com>; from silby@silby.com on Thu, Jun 06, 2002 at 07:23:29PM -0500 X-Scanner: exiscan *17G7j8-0006kX-00*ymHO7c538hw* (Manchester Computing, University of Manchester) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG | If none of the features are that useful to you, then by all means stick | with 4.7 or whatever we're up to when 5.0-release comes out. I'm sure Well, I definitely plan to move to 5.x. The question is when. When it will be ready for general use, and when I will be able to learn all the new features I need to know about to use it. | will look like come November. If you'd asked me back in January, I would | have had a very pessimistic outlook. However, much work has been done in | the last two months; if work continues at this rate, 5.0 will have | significant advantages for many people. Well that's really good to hear. I had my concerns a year ago as well, especially when the 5.0 release was delayed a year, and more recently when the economy went south. Not to mention the fact that MS has continued its stranglehold on the industry and OSS hasn't led to the 'revolution' everyone was clamoring for. jm -- There are only 10 types of people in this world: those who understand binary, and those who don't. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 17:45:21 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 116B337B406; Thu, 6 Jun 2002 17:44:58 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.12.3) with ESMTP id g570hbCV001181; Thu, 6 Jun 2002 17:43:37 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g570hbhw001180; Thu, 6 Jun 2002 17:43:37 -0700 (PDT) (envelope-from dillon) Date: Thu, 6 Jun 2002 17:43:37 -0700 (PDT) From: Matthew Dillon Message-Id: <200206070043.g570hbhw001180@apollo.backplane.com> To: j mckitrick Cc: Mike Silbersack , John Baldwin , freebsd-hackers@FreeBSD.ORG Subject: Re: SMP/5.0 performance on single CPU? References: <20020607011035.B79818@dogma.freebsd-uk.eu.org> <20020606191745.V3036-100000@patrocles.silby.com> <20020607013538.C79818@dogma.freebsd-uk.eu.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :| If none of the features are that useful to you, then by all means stick :| with 4.7 or whatever we're up to when 5.0-release comes out. I'm sure : :Well, I definitely plan to move to 5.x. The question is when. When it :will be ready for general use, and when I will be able to learn all the :new features I need to know about to use it. I think a good point for developers not already testing 5.x to move to 5.x will be when the VM system, UFS64, and the new compiler are stabilized. People are working on all three of these problem areas now so my guess is that if we go with a new syscall vector to handle 64 bit entity changes things will be nicely stabilized in a month. My only big worry is how we deal with the 64 bit entity changes for things like time_t... e.g. use a new syscall vector or shove it into the old one. It will probably be at least 5.1 or even 5.2 before 5.x is useable in a production environment. My guess anyway. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 18:14: 8 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by hub.freebsd.org (Postfix) with ESMTP id D9F7D37B403 for ; Thu, 6 Jun 2002 18:14:01 -0700 (PDT) Received: from pool0280.cvx21-bradley.dialup.earthlink.net ([209.179.193.25] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17G8Jx-000740-00; Thu, 06 Jun 2002 18:13:41 -0700 Message-ID: <3D0008A0.C5389431@mindspring.com> Date: Thu, 06 Jun 2002 18:13:04 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Trish Lynch Cc: hackers@freebsd.org Subject: Re: projects that need to be done... References: <20020606170509.O403-100000@femme.listmistress.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Trish Lynch wrote: > Question: > > what types of things can be done by people who are generally just > learning thier way around some of the code? is there anyone willing to > patiently work with a fast learner (yes, honestly my biggest fear is since > that I'm entirely self taught is that I have some bad habits, and someone > must be willing to LART me at every opportunity on them until I learn) The easiest approach that a lot of people have taken (I heard the statistic that the majority of people with commit bits today had their start this way) is to start documenting anything you don't find self explanatory. In the process, you will learn a lot about it, and at the same time, you will machete some of the jungle to make a path for the people who will follow. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Jun 6 21: 5:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id 4F19837B405 for ; Thu, 6 Jun 2002 21:05:23 -0700 (PDT) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g5745Gp23906; Thu, 6 Jun 2002 21:05:16 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.6/8.11.0) id g5745Fg55004; Thu, 6 Jun 2002 21:05:15 -0700 (PDT) (envelope-from jdp) Date: Thu, 6 Jun 2002 21:05:15 -0700 (PDT) Message-Id: <200206070405.g5745Fg55004@vashon.polstra.com> To: hackers@freebsd.org From: John Polstra Cc: dan@langille.org Subject: Re: cvsup doesn't get me what I want In-Reply-To: <20020604222322.E371E3F3A@bast.unixathome.org> References: <20020604012638.7CCF63F3A@bast.unixathome.org> <20020604222322.E371E3F3A@bast.unixathome.org> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20020604222322.E371E3F3A@bast.unixathome.org>, Dan Langille wrote: > On 4 Jun 2002 at 8:37, John Polstra wrote: > > I'll help you figure this out if you'll send me the following > > information: > > Thanks John. > > > > > The cvsupd server config files for the collection ("releases" > > and the list file). > > [dan@xeon:/home/repositories/sup/freshports-phpAds] $ less list.cvs > upgrade phpPgAds > [dan@xeon:/home/repositories/sup/freshports-phpAds] $ less releases > cvs list=list.cvs prefix=/home/repositories/freebsddiary OK, this says the server is getting its files from "/home/repositories/freebsddiary". But ... > > The full pathname of the ChangeLog RCS file you used as your > > example, on the server machine. > > /home/repositories/freshports-1/phpPgAds/ChangeLog,v That is a different file! It's under "/home/repositories/freshports-1", which is not where the "releases" file tells the server to look. I think that's the problem. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Ch鐷yam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 7 0:35: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by hub.freebsd.org (Postfix) with ESMTP id 667F837B400 for ; Fri, 7 Jun 2002 00:34:56 -0700 (PDT) Received: from fwd05.sul.t-online.de by mailout10.sul.t-online.com with smtp id 17GEGq-0004gq-0C; Fri, 07 Jun 2002 09:34:52 +0200 Received: from pc5.abc (520067998749-0001@[217.233.87.171]) by fmrl05.sul.t-online.com with esmtp id 17GEGi-1vbRsuC; Fri, 7 Jun 2002 09:34:44 +0200 Received: (from nicolas@localhost) by pc5.abc (8.11.6/8.11.6) id g577Yh423825; Fri, 7 Jun 2002 09:34:43 +0200 (CEST) (envelope-from list@rachinsky.de) Date: Fri, 7 Jun 2002 09:34:43 +0200 From: Nicolas Rachinsky To: hackers@FreeBSD.ORG Cc: reichert@numachi.com Subject: Re: accessing data track of multimedia CD? Message-ID: <20020607073443.GA11391@pc5.abc> Mail-Followup-To: hackers@FreeBSD.ORG, reichert@numachi.com References: <20020606180401.A3240@numachi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020606180401.A3240@numachi.com> User-Agent: Mutt/1.3.28i X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: C11ABC0E X-PGP-Fingerprint: 19DB 8392 8FE0 814A 7362 EEBD A53B 526A C11A BC0E X-PGP-Key: http://www.rachinsky.de/nicolas/nicolas_rachinsky.asc X-Sender: 520067998749-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Brian Reichert [2002-06-06 18:04 -0400]: > I've been beating my head for hours against a wall trying to research > this: > > Under FreeBSD (4.5-RELEASE), with an ATAPI device (/dev/acd0c), how > can I mount, or otherwise access the data in a 'data track' of a > 'multimedia CD'? > > cdda2wav shows me: Look at the output of cdcontrol -f /dev/ Info instead. If there is a track with type data, you can try to mount this track with mount_cd9660 with parameter -s followed by the startsector of the data track (shown by cdcontrol). HTH Nicolas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 7 1:47:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes4.atos-group.com (hermes4.atos-group.com [160.92.18.11]) by hub.freebsd.org (Postfix) with ESMTP id BA68F37B403; Fri, 7 Jun 2002 01:47:46 -0700 (PDT) Received: from PickupDirectory by hermes4.atos-group.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id M3JXPCCV; Fri, 7 Jun 2002 10:51:26 +0200 Message-Id: <20020607084747.BA68F37B403@hub.freebsd.org> Date: Fri, 7 Jun 2002 01:47:47 -0700 (PDT) From: owner-freebsd-hackers@FreeBSD.ORG To: undisclosed-recipients:; Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ImCr(:5Re: Project: a benchmark utility<3CFFFC31.10405@isi.edu>c=fr;a= ;p=atos;l=HERMES30206070037MM696F9Cowner-freebsd-hackers@FreeBSD.ORGs 0澡玹宜P杹a@'SMTP:OWNER-FREEBSD-HACKERS@FREEBSD.ORG[@@9 ? ?q 鼲窀瀘P杹6  &  +`fpY  FRAtos?,$FR Atos/o=Atos/ou=SECLIN篇pProject: a benchmark utility@@G,c=fr;a= ;p=atos;l=HERMES30206070037MM696F9C@0 堪 (ENVELOPE.IPM.Note.SMIME.MultipartSigned5<3CFFFC31.10405@isi.edu> 4?7!Re: Project: a benchmark utility=Re:  J0Stephen Ombre  @:q:    >EwLsReceived: by hermes4.atos-group.com with Internet Mail Service (5.5.2653.19) id ; Fri, 7 Jun 2002 09:32:15 +0200 Received: from mx2.postwall.mm.fr.atosorigin.com (mx002.axime.com [160.92.18.152]) by hermes3.atos-group.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id MM696F9C; Fri, 7 Jun 2002 02:37:49 +0200 Received: from mx2.freebsd.org (mx2.FreeBSD.org [216.136.204.119]) by mx2.postwall.mm.fr.atosorigin.com (Postfix) with ESMTP id D9D37180B6 for ; Fri, 7 Jun 2002 02:05:31 +0200 (CEST) Received: from hub.freebsd.org (hub.FreeBSD.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 97529563AD; Thu, 6 Jun 2002 17:20:27 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: by hub.freebsd.org (Postfix, from userid 538) id 4D7A437B406; Thu, 6 Jun 2002 17:20:24 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id 8E2F62E8010; Thu, 6 Jun 2002 17:20:23 -0700 (PDT) Received: by hub.freebsd.org (bulk_mailer v1.12); Thu, 6 Jun 2002 17:20:23 -0700 Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by hub.freebsd.org (Postfix) with ESMTP id A0F2537B405; Thu, 6 Jun 2002 17:20:13 -0700 (PDT) Received: from isi.edu (yurbjorsst6bl4hd@hbo.isi.edu [128.9.160.75]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id g570K2r11416; Thu, 6 Jun 2002 17:20:02 -0700 (PDT) Delivered-To: freebsd-hackers@freebsd.org Message-ID: <3CFFFC31.10405@isi.edu> Date: Thu, 06 Jun 2002 17:20:01 -0700 From: Lars Eggert User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc3) Gecko/20020528 X-Accept-Language: en-us, de-de MIME-Version: 1.0 To: John Baldwin Cc: Trish Lynch , hackers@freebsd.org Subject: Re: Project: a benchmark utility References: Sender: owner-freebsd-hackers@FreeBSD.ORG List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Precedence: bulk Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms030607040908050605000500" This is a cryptographically signed message in MIME format. --------------ms030607040908050605000500 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit John Baldwin wrote: > Once I have that, it would be nice to have a simple tool that would > take one of these tabular files as input and spit out appropriate > statistics about each column (mean, mode, median, stddev, highlight > outliers, etc.). If some sensible (i.e. meaningful) graphs can be > generated from this data using gnuplot or some such that would be > nice, too. Any takers? You want John Heidemann's JDB! I'm using it for any number crunching I need to do for my benchmarks. http://www.isi.edu/~johnh/SOFTWARE/JDB/index.html Lars -- Lars Eggert USC Information Sciences Institute --------------ms030607040908050605000500 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIrjCC ArUwggIeoAMCAQICAwWBRzANBgkqhkiG9w0BAQIFADCBkjELMAkGA1UEBhMCWkExFTATBgNV BAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUx HTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVl bWFpbCBSU0EgMjAwMC44LjMwMB4XDTAxMDgyNDE2NDAwMFoXDTAyMDgyNDE2NDAwMFowVDEP MA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYDVQQDEwtMYXJzIEVnZ2VydDEc MBoGCSqGSIb3DQEJARYNbGFyc2VAaXNpLmVkdTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC gYEA0AvLBsD78nxcUHeHkaMgl3b4qYPnfgbf8Lh+HQP8RgGMRG/Yb+vTpkGezlwt9pkJxiD1 1uZDy4CNNJUu3gKxKSb+zRV70O+lkwwftuHoLHoH4xwo3LcQ2LGDpd+I95tUN4dfJ3TmeEcU SF50dC/SuUI4w8AlhXQ8IxrhgdayTpECAwEAAaNWMFQwKgYFK2UBBAEEITAfAgEAMBowGAIB BAQTTDJ1TXlmZkJOVWJOSkpjZFoyczAYBgNVHREEETAPgQ1sYXJzZUBpc2kuZWR1MAwGA1Ud EwEB/wQCMAAwDQYJKoZIhvcNAQECBQADgYEAheZhn0pQA8zI7U2K1ZIAl11j0a1DKxnp3GtT vOUrGRB3WvYxidvdZ1kizhEsWeXU81TkNDH0DaRqtOEeu6Q2OhB+jeKEqY7IDAJE4/fI0e+d 6PnG1hd+vEvYmsKHkmzBhPc94XUOKNWO+qVNP2NGyNI3QIDy5wX4fdcOo1S34r4wggK1MIIC HqADAgECAgMFgUcwDQYJKoZIhvcNAQECBQAwgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxX ZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYD VQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwg UlNBIDIwMDAuOC4zMDAeFw0wMTA4MjQxNjQwMDBaFw0wMjA4MjQxNjQwMDBaMFQxDzANBgNV BAQTBkVnZ2VydDENMAsGA1UEKhMETGFyczEUMBIGA1UEAxMLTGFycyBFZ2dlcnQxHDAaBgkq hkiG9w0BCQEWDWxhcnNlQGlzaS5lZHUwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANAL ywbA+/J8XFB3h5GjIJd2+KmD534G3/C4fh0D/EYBjERv2G/r06ZBns5cLfaZCcYg9dbmQ8uA jTSVLt4CsSkm/s0Ve9DvpZMMH7bh6Cx6B+McKNy3ENixg6XfiPebVDeHXyd05nhHFEhedHQv 0rlCOMPAJYV0PCMa4YHWsk6RAgMBAAGjVjBUMCoGBStlAQQBBCEwHwIBADAaMBgCAQQEE0wy dU15ZmZCTlViTkpKY2RaMnMwGAYDVR0RBBEwD4ENbGFyc2VAaXNpLmVkdTAMBgNVHRMBAf8E AjAAMA0GCSqGSIb3DQEBAgUAA4GBAIXmYZ9KUAPMyO1NitWSAJddY9GtQysZ6dxrU7zlKxkQ d1r2MYnb3WdZIs4RLFnl1PNU5DQx9A2karThHrukNjoQfo3ihKmOyAwCROP3yNHvnej5xtYX frxL2JrCh5JswYT3PeF1DijVjvqlTT9jRsjSN0CA8ucF+H3XDqNUt+K+MIIDODCCAqGgAwIB AgIQZkVyt8x09c9jdkWE0C6RATANBgkqhkiG9w0BAQQFADCB0TELMAkGA1UEBhMCWkExFTAT BgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMRowGAYDVQQKExFUaGF3 dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lv bjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENBMSswKQYJKoZIhvcNAQkB FhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTAwMDgzMDAwMDAwMFoXDTA0MDgy NzIzNTk1OVowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNV BAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBT ZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4zMDCBnzAN BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA3jMypmPHCSVFPtJueCdngcXaiBmClw7jRCmKYzUq bXA8+tyu9+50bzC8M5B/+TRxoKNtmPHDT6Jl2w36S/HW3WGl+YXNVZo1Gp2Sdagnrthy+boC 9tewkd4c6avgGAOofENCUFGHgzzwObSbVIoTh/+zm51JZgAtCYnslGvpoWkCAwEAAaNOMEww KQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDEtMjk3MBIGA1UdEwEB/wQI MAYBAf8CAQAwCwYDVR0PBAQDAgEGMA0GCSqGSIb3DQEBBAUAA4GBADGxS0dd+QFx5fVTbF15 1j2YwCYTYoEipxL4IpXoG0m3J3sEObr85vIk65H6vewNKjj3UFWobPcNrUwbvAP0teuiR59s ogxYjTFCCRFssBpp0SsSskBdavl50OouJd2K5PzbDR+dAvNa28o89kTqJmmHf0iezqWf54TY yWJirQXGMYICpjCCAqICAQEwgZowgZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJu IENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRD ZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIw MDAuOC4zMAIDBYFHMAkGBSsOAwIaBQCgggFhMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEw HAYJKoZIhvcNAQkFMQ8XDTAyMDYwNzAwMjAwMVowIwYJKoZIhvcNAQkEMRYEFE5TRcyONeoY i8MEXNir764XnqQaMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwIC AgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGtBgsqhkiG9w0B CRACCzGBnaCBmjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAG A1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRl IFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwAgMF gUcwDQYJKoZIhvcNAQEBBQAEgYCWEBNOyVpS8s6E8POt2SDvULDYchaOiCRpYGM01XxIkp7O HCT28M4rxoIeEIKadz9uPEhjST4iiho6+kptNhYqI+7NXBKu8SwzZhbCdtd528MzeqVTWZ03 RGnkz2nLwdk9e11PbG7FbMesXi+87oY6HK/iTDcdv6gU5k2ZAytZngAAAAAAAA== --------------ms030607040908050605000500-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 7 2:14:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from pqmail.cogeco.ca (mail.cgocable.ca [216.221.81.39]) by hub.freebsd.org (Postfix) with ESMTP id 1B7D737B401 for ; Fri, 7 Jun 2002 02:14:23 -0700 (PDT) Received: from ME (244-61.tr.cgocable.ca [24.226.244.61]) by pqmail.cogeco.ca (Postfix) with SMTP id 2D312EFCAB; Fri, 7 Jun 2002 05:13:20 -0400 (EDT) From: trish.tipperman@cgocable.com Subject:Re: Thanks for replying X-Priority: 1 (Highest) Reply-To: trish.tipperman@cgocable.com X-Mailer: Microsoft Outlook Express 5.00.2615.200 MIME-Version: 1.0 Content-type: multipart/mixed; boundary="#MYBOUNDARY#" Message-Id: <20020607091320.2D312EFCAB@pqmail.cogeco.ca> Date: Fri, 7 Jun 2002 05:13:20 -0400 (EDT) To: undisclosed-recipients: ; Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --#MYBOUNDARY# Content-Type: text/plain; charset=ansi Content-Transfer-Encoding: 8bit Hey, How is it going? Thanks for looking at my ad on yahoo. Here is the picture of me you were asking about. http://web.where.org/trish . I hope you understand the position I am in. Hope to hear from you soon. *hugz* Trishy --#MYBOUNDARY#-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 7 4:50:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 2A36E37B400; Fri, 7 Jun 2002 04:50:14 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 17GIFq-000Mbj-00; Fri, 7 Jun 2002 12:50:06 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g57Bo5083610; Fri, 7 Jun 2002 12:50:05 +0100 (BST) (envelope-from jcm) Date: Fri, 7 Jun 2002 12:50:04 +0100 From: j mckitrick To: Mike Silbersack Cc: John Baldwin , freebsd-hackers@freebsd.org Subject: Re: SMP/5.0 performance on single CPU? Message-ID: <20020607125004.A83543@dogma.freebsd-uk.eu.org> References: <20020607011035.B79818@dogma.freebsd-uk.eu.org> <20020606191745.V3036-100000@patrocles.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20020606191745.V3036-100000@patrocles.silby.com>; from silby@silby.com on Thu, Jun 06, 2002 at 07:23:29PM -0500 X-Scanner: exiscan *17GIFq-000Mbj-00*eV.pQ/0H2fU* (Manchester Computing, University of Manchester) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG | On the other hand, there are numerous new features (GEOM, TrustedBSD, | OpenPAM, Snapshots + background fsck, etc) being implemented in 5.x that It appears that most of these are features that are 'use as needed.' In other words, if I don't need them, I don't need to know about them. On the other hand, when moving to 4.0 there were issues with hardware (specifically PC-cards and sound) that gave me a hard time for quite a while. These were less about new features and more about underlying architecture and stability, and getting new code to work correctly. Other than devfs (which I haven't investigated yet) it seems most of these features are extras, not the basics, correct? Other than SMP, of course. jm -- There are only 10 types of people in this world: those who understand binary, and those who don't. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 7 5:47:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 3AF8537B401; Fri, 7 Jun 2002 05:47:06 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g57CiRBh012365; Fri, 7 Jun 2002 14:44:27 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: j mckitrick Cc: Mike Silbersack , John Baldwin , freebsd-hackers@FreeBSD.ORG Subject: Re: SMP/5.0 performance on single CPU? In-Reply-To: Your message of "Fri, 07 Jun 2002 12:50:04 BST." <20020607125004.A83543@dogma.freebsd-uk.eu.org> Date: Fri, 07 Jun 2002 14:44:27 +0200 Message-ID: <12364.1023453867@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020607125004.A83543@dogma.freebsd-uk.eu.org>, j mckitrick writes: >| On the other hand, there are numerous new features (GEOM, TrustedBSD, >| OpenPAM, Snapshots + background fsck, etc) being implemented in 5.x that > >Other than devfs (which I haven't investigated yet) it seems most of >these features are extras, not the basics, correct? Other than SMP, of >course. It is the intent that GEOM will be standard (or basics if you like). -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 7 6: 7:33 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by hub.freebsd.org (Postfix) with ESMTP id 6660237B403 for ; Fri, 7 Jun 2002 06:07:29 -0700 (PDT) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 17GJSW-0007dY-00 for freebsd-hackers@FreeBSD.ORG; Fri, 07 Jun 2002 20:07:16 +0700 Received: from uni.land3.nsu.ru ([193.124.213.230] helo=land3.nsu.ru) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 17GJSW-0007dA-00 for freebsd-hackers@FreeBSD.ORG; Fri, 07 Jun 2002 20:07:16 +0700 Received: from localhost (lucky@localhost) by land3.nsu.ru (8.11.6/8.11.6) with ESMTP id g57D7CU19497 for ; Fri, 7 Jun 2002 20:07:12 +0700 (NOVST) (envelope-from lucky@land3.nsu.ru) Date: Fri, 7 Jun 2002 20:07:12 +0700 (NOVST) From: Alexey Privalov To: freebsd-hackers@FreeBSD.ORG Subject: randompid Message-ID: <20020607200648.M19436-100000@land3.nsu.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Envelope-To: freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi all. i`m trying to set randompid: root@land3# sysctl kern.randompid=1 kern.randompid: 0 -> 0 what`s a need to set on? best regards, lucky. PS: `uname -a`: FreeBSD land3.nsu.ru 4.5-STABLE FreeBSD 4.5-STABLE #0: Tue Mar 12 20:09:17 NOVT i386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 7 6:12:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id AE6BF37B403; Fri, 7 Jun 2002 06:12:18 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 17GJXH-000Ol9-00; Fri, 7 Jun 2002 14:12:11 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g57DCAT84182; Fri, 7 Jun 2002 14:12:10 +0100 (BST) (envelope-from jcm) Date: Fri, 7 Jun 2002 14:12:10 +0100 From: j mckitrick To: Poul-Henning Kamp Cc: Mike Silbersack , John Baldwin , freebsd-hackers@FreeBSD.ORG Subject: Re: SMP/5.0 performance on single CPU? Message-ID: <20020607141209.A84104@dogma.freebsd-uk.eu.org> References: <20020607125004.A83543@dogma.freebsd-uk.eu.org> <12364.1023453867@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <12364.1023453867@critter.freebsd.dk>; from phk@critter.freebsd.dk on Fri, Jun 07, 2002 at 02:44:27PM +0200 X-Scanner: exiscan *17GJXH-000Ol9-00*HQ5NoSiJ.LY* (Manchester Computing, University of Manchester) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 07, 2002 at 02:44:27PM +0200, Poul-Henning Kamp wrote: | In message <20020607125004.A83543@dogma.freebsd-uk.eu.org>, j mckitrick writes: | >| On the other hand, there are numerous new features (GEOM, TrustedBSD, | >| OpenPAM, Snapshots + background fsck, etc) being implemented in 5.x that | > | | >Other than devfs (which I haven't investigated yet) it seems most of | >these features are extras, not the basics, correct? Other than SMP, of | >course. | | It is the intent that GEOM will be standard (or basics if you like). But this will be one of those transparent features, correct? NOTE: Please CC me, as I am not currently subscribed. Thanks. jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 7 6:13:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from bast.unixathome.org (bast.unixathome.org [216.187.105.150]) by hub.freebsd.org (Postfix) with ESMTP id 9B35037B404 for ; Fri, 7 Jun 2002 06:13:19 -0700 (PDT) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id DF0893F28; Fri, 7 Jun 2002 09:14:34 -0400 (EDT) From: "Dan Langille" Organization: DVL Software Limited To: John Polstra Date: Fri, 7 Jun 2002 09:13:34 -0400 MIME-Version: 1.0 Subject: Re: cvsup doesn't get me what I want Reply-To: dan@langille.org Cc: hackers@freebsd.org In-reply-to: <200206070405.g5745Fg55004@vashon.polstra.com> References: <20020604222322.E371E3F3A@bast.unixathome.org> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Message-Id: <20020607131434.DF0893F28@bast.unixathome.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 6 Jun 2002 at 21:05, John Polstra wrote: > In article <20020604222322.E371E3F3A@bast.unixathome.org>, > Dan Langille wrote: > > On 4 Jun 2002 at 8:37, John Polstra wrote: > > > I'll help you figure this out if you'll send me the following > > > information: > > > > Thanks John. > > > > > > > > The cvsupd server config files for the collection ("releases" > > > and the list file). > > > > [dan@xeon:/home/repositories/sup/freshports-phpAds] $ less list.cvs > > upgrade phpPgAds > > [dan@xeon:/home/repositories/sup/freshports-phpAds] $ less releases > > cvs list=list.cvs prefix=/home/repositories/freebsddiary > > OK, this says the server is getting its files from > "/home/repositories/freebsddiary". But ... That's the problem. That should be /home/repositories/freshports-1 > > > The full pathname of the ChangeLog RCS file you used as your > > > example, on the server machine. > > > > /home/repositories/freshports-1/phpPgAds/ChangeLog,v That's the wrong file I gave you, that should be this file: /home/repositories/freebsddiary/phpPgAds/ChangeLog,v > That is a different file! It's under "/home/repositories/freshports-1", > which is not where the "releases" file tells the server to look. Once I fixed the releases file to point to the correct repo (DOH!), both tags worked (. and FreshPorts2). That should have been my clue. The collection exists in both repos but with different tags (and different customizations for each website). Thank you John. :) -- Dan Langille To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 7 6:26:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id D7F9837B404 for ; Fri, 7 Jun 2002 06:26:43 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1920) id 9F948AE163; Fri, 7 Jun 2002 06:26:43 -0700 (PDT) Date: Fri, 7 Jun 2002 06:26:43 -0700 From: Maxime Henrion To: hackers@FreeBSD.org Cc: Alexey Privalov Subject: Re: randompid Message-ID: <20020607132643.GF85244@elvis.mu.org> References: <20020607200648.M19436-100000@land3.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020607200648.M19436-100000@land3.nsu.ru> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alexey Privalov wrote: > hi all. > > i`m trying to set randompid: > > root@land3# sysctl kern.randompid=1 > kern.randompid: 0 -> 0 > > what`s a need to set on? The value you give to this sysctl is not a boolean, it's a value used in the formula which computes the randompid. This value is sanity checked, that's why giving 1 doesn't do anything. Here is the code which is responsible for this : if (pid < 0 || pid > PID_MAX - 100) /* out of range */ pid = PID_MAX - 100; else if (pid < 2) /* NOP */ pid = 0; else if (pid < 100) /* Make it reasonable */ pid = 100; This should give you enough information to chose a good value. :-) Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 7 6:38:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id D72B037B405; Fri, 7 Jun 2002 06:38:45 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g57Da8Bh012858; Fri, 7 Jun 2002 15:36:08 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: j mckitrick Cc: Mike Silbersack , John Baldwin , freebsd-hackers@FreeBSD.org Subject: Re: SMP/5.0 performance on single CPU? In-Reply-To: Your message of "Fri, 07 Jun 2002 14:12:10 BST." <20020607141209.A84104@dogma.freebsd-uk.eu.org> Date: Fri, 07 Jun 2002 15:36:08 +0200 Message-ID: <12857.1023456968@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020607141209.A84104@dogma.freebsd-uk.eu.org>, j mckitrick writes: >On Fri, Jun 07, 2002 at 02:44:27PM +0200, Poul-Henning Kamp wrote: >| In message <20020607125004.A83543@dogma.freebsd-uk.eu.org>, j mckitrick writes: >| >| On the other hand, there are numerous new features (GEOM, TrustedBSD, >| >| OpenPAM, Snapshots + background fsck, etc) being implemented in 5.x that >| > >| >| >Other than devfs (which I haven't investigated yet) it seems most of >| >these features are extras, not the basics, correct? Other than SMP, of >| >course. >| >| It is the intent that GEOM will be standard (or basics if you like). > >But this will be one of those transparent features, correct? Hopefully. -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 7 6:43: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from clientmail.ehsrealtime.com (eris.ehsrealtime.com [213.52.146.130]) by hub.freebsd.org (Postfix) with ESMTP id 335DA37B405 for ; Fri, 7 Jun 2002 06:42:58 -0700 (PDT) Received: from pan.ehsrealtime.com ([213.52.146.196]) by clientmail.ehsrealtime.com with esmtp (Exim 3.33 #2) id 17GK0y-000Lp5-01 for freebsd-hackers@freebsd.org; Fri, 07 Jun 2002 14:42:52 +0100 Received: from byrons (helo=localhost) by pan.ehsrealtime.com with local-esmtp (Exim 3.35 #1) id 17GK0V-0000Z4-00 for freebsd-hackers@freebsd.org; Fri, 07 Jun 2002 14:42:23 +0100 Date: Fri, 7 Jun 2002 14:42:19 +0100 (BST) From: Byron Schlemmer To: freebsd-hackers@freebsd.org Subject: AMI Megaraid + Reboot problems Message-ID: <20020607144043.Y1989-100000@pan.ehsbrann.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi folks I have sent the following to freebsd-questions but maybe this is a better place to ask? I have a AMI MegaRaid controller : amr0: mem 0xffff0000-0xffffffff irq 11 at device 11.0 on pci0 amr0: Firmware E161, BIOS 3.13, 32MB RAM running on : $ uname -a FreeBSD machine 4.6-RC FreeBSD 4.6-RC #0: Tue May 28 15:35:17 BST 2002 root@machine:/usr/src/sys/compile/EHSB i386 Now the problem is whenever I reboot, or shutdown, the box seems to shutdown correctly, then I get a message saying : amr0 flushing cache ... done Rebooting... And the machine seems to hang there, never actually rebooting? Has anyone else experienced this? Any solutions to actually get the box to reboot? -byron -- "Those who do not understand Unix are condemned to reinvent it, poorly." -- Henry Spencer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Jun 7 9:33:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 27C7637B400; Fri, 7 Jun 2002 09:33:10 -0700 (PDT) Received: from realtime.exit.com (realtime [206.223.0.5]) by tinker.exit.com (8.12.3/8.12.3) with ESMTP id g57GWncn039525; Fri, 7 Jun 2002 09:32:51 -0700 (PDT) (envelope-from frank@exit.com) Received: from realtime.exit.com (localhost [127.0.0.1]) by realtime.exit.com (8.12.3/8.12.2) with ESMTP id g57GWng0099537; Fri, 7 Jun 2002 09:32:49 -0700 (PDT) (envelope-from frank@realtime.exit.com) Received: (from frank@localhost) by realtime.exit.com (8.12.3/8.12.3/Submit) id g57GWlFU099531; Fri, 7 Jun 2002 09:32:47 -0700 (PDT) From: Frank Mayhar Message-Id: <200206071632.g57GWlFU099531@realtime.exit.com> Subject: Re: Numerous hard hangs on TWO different ASUS P4T-E w/P4 1.6G In-Reply-To: <20020607180239.C5061@cscoms.net> To: stable@freebsd.org Date: Fri, 7 Jun 2002 09:32:47 -0700 (PDT) Cc: hackers@freebsd.org Reply-To: frank@exit.com X-Copyright0: Copyright 2002 Frank Mayhar. All Rights Reserved. X-Copyright1: Permission granted for electronic reproduction as Usenet News or email only. X-Mailer: ELM [version 2.4ME+ PL98b (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM1023467567-97776-0_ Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --ELM1023467567-97776-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII I'm experiencing hangs as well. At first I thought it was the fxp0/sym driver thing, but I've since changed hardware almost completely and the hangs persis. I'm now strongly suspecting some kind of interrupt problem. For the record, I've attached my dmesg output. This is a dual AMD MP 1900+ (1.6 GHz) Tyan 2466N-4M system. 3Com xl0 ethernet, Adaptec 39160 and 3940 SCSI, Creative Soundblaster Live! audio, Radeon 8500 128MB video (XFree86 4.2). 2GB DDR memory. I see very common short-term hangs, a few seconds to less than a minute. The mouse and keyboard stop responding, X stops updating and everything just pauses, the whole system (including the network). It then starts back up, often dropping keyboard or mouse data. Once in a while (not sure how often, but at least every couple of days) it hangs solid and never comes back. Totally unresponsive. This invariably requires a hard reset. This is a busy system. Near-constant load on the network (some 40-100KB/s), lots of disk accesses. Seems worse when network and/or SCSI load is high. Dmesg output follows. If there's anything I can do to help diagnose this problem, please let me know... -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ --ELM1023467567-97776-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain Content-Disposition: attachment; filename=dmesg.boot Content-Description: Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.6-RC #21: Thu May 23 15:24:24 PDT 2002 frank@realtime.exit.com:/usr/src/sys/compile/REALTIME Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) MP 1900+ (1600.07-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xc0480000<,AMIE,DSP,3DNow!> real memory = 2146959360 (2096640K bytes) config> q avail memory = 2086846464 (2037936K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040010, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc042a000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc042a09c. Preloaded elf module "umap.ko" at 0xc042a0ec. link_elf: symbol null_bypass undefined Pentium Pro MTRR support enabled Using $PIR table, 12 entries at 0xc00fdf00 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 5.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 chip1: at device 7.3 on pci0 ahc0: port 0x1000-0x10ff mem 0xc0000000-0xc0000fff irq 5 at device 9.0 on pci0 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0x1400-0x14ff mem 0xc0001000-0xc0001fff irq 11 at device 9.1 on pci0 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs pcib2: at device 16.0 on pci0 pci2: on pcib2 ohci0: mem 0xc0200000-0xc0200fff irq 10 at device 0.0 on pci2 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered pcib3: at device 6.0 on pci2 pci3: on pcib3 ahc2: port 0x4000-0x40ff mem 0xc0300000-0xc0300fff irq 11 at device 4.0 on pci3 aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs ahc3: port 0x4400-0x44ff mem 0xc0301000-0xc0301fff irq 10 at device 5.0 on pci3 aic7880: Ultra Wide Channel B, SCSI Id=7, 16/253 SCBs pcm0: port 0x3080-0x309f irq 10 at device 7.0 on pci2 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x3000-0x307f mem 0xc0201000-0xc020107f irq 10 at device 8.0 on pci2 xl0: Ethernet address: 00:e0:81:20:cc:de miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: