From owner-freebsd-hackers Sun Apr 22 6: 5: 6 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from out-mta3.plasa.com (out-mta3.plasa.com [202.134.0.195]) by hub.freebsd.org (Postfix) with ESMTP id 5481D37B423 for ; Sun, 22 Apr 2001 06:04:58 -0700 (PDT) (envelope-from q2001@plasa.com) Received: out-mta3.plasa.com; Sun, 22 Apr 2001 19:59:15 +0700 Received: from [192.168.19.56] (account ) by mail.plasa.com (CommuniGate Pro WebUser 3.4.4) with HTTP id 993271 for ; Sun, 22 Apr 2001 20:04:54 +0700 From: "q" Subject: Upgrading OpenSSL/OpenSSH To: freebsd-hackers@freebsd.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.4 Date: Sun, 22 Apr 2001 20:04:54 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Somebody can help me, how to upgrade OpenSSL/OpenSSH to latest version at FreeBSD 4.2 / 4.3 ? Thank's. Q ------------------------------------------------------------------ Email ini dikirim oleh PlasaCom : http://www.plasa.com Cepat di-download via TelkomNet Instan http://www.plasa.com/instan Rindukah Anda bertemu dengan ex teman-teman satu sekolah dulu ? Kunjungilah mereka (47.033 anggota) di KSI : http://ksi.plasa.com ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Apr 22 9: 3:41 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from peace.mahoroba.org (peace.calm.imasy.or.jp [202.227.26.34]) by hub.freebsd.org (Postfix) with ESMTP id C1DFA37B422 for ; Sun, 22 Apr 2001 09:03:34 -0700 (PDT) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:cS9aHaeFXCpI1HnAjjSmo+oT7ChEKjz+7Y8R0y6n8DewTpKXnlqi07YqcgUtZRv1@localhost [::1]) (authenticated as ume with CRAM-MD5) by peace.mahoroba.org (8.11.3/8.11.3/peace) with ESMTP/inet6 id f3MG2E203069; Mon, 23 Apr 2001 01:02:14 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Mon, 23 Apr 2001 01:02:10 +0900 (JST) Message-Id: <20010423.010210.59505381.ume@mahoroba.org> To: spidaman@arachna.com Cc: freebsd-hackers@freebsd.org Subject: Re: mozilla package dumps core From: Hajimu UMEMOTO In-Reply-To: References: X-Mailer: xcite1.38> Mew version 1.95b119 on Emacs 20.7 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-OS: FreeBSD 5.0-CURRENT Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> On Sat, 21 Apr 2001 18:25:04 -0700 (PDT) >>>>> Ian Kallen said: spidaman> Anyone noticed the mozilla-0.8.1 package core dumping on 4.2-RELEASE and spidaman> have a fix for it? You should upgrade your box to 4.3-RELEASE. -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Apr 22 9:46:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from introsearch.com (host213-123-28-135.btinternet.com [213.123.28.135]) by hub.freebsd.org (Postfix) with SMTP id EEE8D37B496 for ; Sun, 22 Apr 2001 09:46:36 -0700 (PDT) (envelope-from admin@introsearch.com) From: "Introsearch.Com" To: Subject: Click on to meet someone you Click with Mime-Version: 1.0 Content-Type: text/html; charset="ISO-8859-1" Date: Sun, 22 Apr 2001 17:46:33 +0100 Reply-To: "Introsearch.Com" Content-Transfer-Encoding: 8bit Message-Id: <20010422164637.EEE8D37B496@hub.freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Click on to meet someone you Click with

Introsearch.com
Click on to meet someone you Click with

Introsearch does not condone unsolicited Bulk Emailing - Our source email lists comprise only of email addresses which have been obtained through correct legal channels from users who have at some stage authorised third party organisations to contact them via email regarding products or services which the customer may find interesting.  To be removed from our mailing list, please send an email to remove@introsearch.com with the word 'remove' in the subject line

Introsearch.com is one of the fastest growing introduction systems on the Internet and you can join online now at a fraction of the cost. Are you looking for a change in your life, or just to busy to find the right person, Introsearch.com has all the answers. Take a look at some of the benefits below that are on offer to all our members.

  • Twelve months membership
  • Powerful matching system
  • For all age groups
  • Picture upload facility
  • Voice upload facility
  • Video upload facility
  • Members chat rooms
  • Members forums
  • Private emailing system
  • Local party nights
  • Members have complete control
  • Confidentiality assured

Join today for an annual membership of only £14:50 (21:00 us dollars) and receive all the benefits above and much much more with introsearch.com. Yes that's an amazing 28p per week.

This is a special promotional offer and valid from 2nd April 2001 to finish on or before the last day of June 2001. 
Click on the link below and start meeting new friends today.

http://www.introsearch.com

Click on to meet someone you Click with

Introsearch.com is a member of the Data Protection Act 1974 License Number Z4788975 (c) 2001 Introsearch. All Rights Reserved
If you have any further issues with our advertising policy, contact Introsearch at Tel: +44 (0)1772 798071 or by Post to: 
INTROSEARCH, ENGLAND  (Use Correct Postage - No letters or correspondence without postage affixed will be opened)
PLEASE NOTE: This address is a licensed Royal Mail Postage Address and WILL be received.

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Apr 22 9:47: 8 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from introsearch.com (host213-123-28-135.btinternet.com [213.123.28.135]) by hub.freebsd.org (Postfix) with SMTP id E9C7237B50E for ; Sun, 22 Apr 2001 09:46:37 -0700 (PDT) (envelope-from admin@introsearch.com) From: "Introsearch.Com" To: Subject: Click on to meet someone you Click with Mime-Version: 1.0 Content-Type: text/html; charset="ISO-8859-1" Date: Sun, 22 Apr 2001 17:46:34 +0100 Reply-To: "Introsearch.Com" Content-Transfer-Encoding: 8bit Message-Id: <20010422164637.E9C7237B50E@hub.freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Click on to meet someone you Click with

Introsearch.com
Click on to meet someone you Click with

Introsearch does not condone unsolicited Bulk Emailing - Our source email lists comprise only of email addresses which have been obtained through correct legal channels from users who have at some stage authorised third party organisations to contact them via email regarding products or services which the customer may find interesting.  To be removed from our mailing list, please send an email to remove@introsearch.com with the word 'remove' in the subject line

Introsearch.com is one of the fastest growing introduction systems on the Internet and you can join online now at a fraction of the cost. Are you looking for a change in your life, or just to busy to find the right person, Introsearch.com has all the answers. Take a look at some of the benefits below that are on offer to all our members.

  • Twelve months membership
  • Powerful matching system
  • For all age groups
  • Picture upload facility
  • Voice upload facility
  • Video upload facility
  • Members chat rooms
  • Members forums
  • Private emailing system
  • Local party nights
  • Members have complete control
  • Confidentiality assured

Join today for an annual membership of only £14:50 (21:00 us dollars) and receive all the benefits above and much much more with introsearch.com. Yes that's an amazing 28p per week.

This is a special promotional offer and valid from 2nd April 2001 to finish on or before the last day of June 2001. 
Click on the link below and start meeting new friends today.

http://www.introsearch.com

Click on to meet someone you Click with

Introsearch.com is a member of the Data Protection Act 1974 License Number Z4788975 (c) 2001 Introsearch. All Rights Reserved
If you have any further issues with our advertising policy, contact Introsearch at Tel: +44 (0)1772 798071 or by Post to: 
INTROSEARCH, ENGLAND  (Use Correct Postage - No letters or correspondence without postage affixed will be opened)
PLEASE NOTE: This address is a licensed Royal Mail Postage Address and WILL be received.

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Apr 22 14:25:14 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gradient.cis.upenn.edu (GRADIENT.CIS.UPENN.EDU [158.130.67.48]) by hub.freebsd.org (Postfix) with ESMTP id C2DA537B422 for ; Sun, 22 Apr 2001 14:25:12 -0700 (PDT) (envelope-from agoodloe@gradient.cis.upenn.edu) Received: from localhost (localhost [127.0.0.1]) by gradient.cis.upenn.edu (8.10.1/8.10.1) with ESMTP id f3MLPBp19714 for ; Sun, 22 Apr 2001 17:25:11 -0400 (EDT) Date: Sun, 22 Apr 2001 17:25:11 -0400 (EDT) From: Alwyn Goodloe To: freebsd-hackers@freebsd.org Subject: timmer for SYN Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just need to make sure that I understand the code correctly in the TCP stack. (We are trying to see how long the system waits before a SYN gets retransmitted.) When a SYN is sent, a keepalive timer is set with using the TCPTV_KEEPALIVEINTVL = 75hz (??ms - escapes me at the moment). So an ack must be received in this time frame??? This isnot the usual dynamic tretransmission timmer which might make sense for SYN packts. It seems like a retransmission timer should be set?? That's why I'm posing the question. Alwyn Goodloe agoodloe@gradient.cis.upenn.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Apr 22 17:11:27 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from a.mx.everquick.net (a.mx.everquick.net [216.89.137.3]) by hub.freebsd.org (Postfix) with ESMTP id 1872237B423; Sun, 22 Apr 2001 17:11:23 -0700 (PDT) (envelope-from eddy+public+spam@noc.everquick.net) Received: from localhost (eddy@localhost) by a.mx.everquick.net (8.10.2/8.10.2) with ESMTP id f3N0BHC21301; Mon, 23 Apr 2001 00:11:17 GMT X-EverQuick-No-Abuse: Report any e-mail abuse to Date: Mon, 23 Apr 2001 00:11:17 +0000 (GMT) From: "E.B. Dreger" To: hackers@freebsd.org, net@freebsd.org Subject: TCP intercept? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greetings all, I'm no kernel hacker, and trying to think of useful little projects to change that. ;-) AFAIK, FreeBSD lacks support for TCP intercept. Is anyone already working on this? Would it be of interest to anyone? My initial thoughts are that it should be implemented in the same neighborhood as stateful firewall code, as the two are rather closely related. Eddy --------------------------------------------------------------------------- Brotsman & Dreger, Inc. EverQuick Internet / EternalCommerce Division Phone: (316) 794-8922 --------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Apr 22 17:30:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f85.law9.hotmail.com [64.4.9.85]) by hub.freebsd.org (Postfix) with ESMTP id D564337B423; Sun, 22 Apr 2001 17:30:20 -0700 (PDT) (envelope-from gerald_stoller@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 22 Apr 2001 17:30:20 -0700 Received: from 63.210.222.35 by lw9fd.law9.hotmail.msn.com with HTTP; Mon, 23 Apr 2001 00:30:20 GMT X-Originating-IP: [63.210.222.35] From: "gerald stoller" To: bright@wintelcom.net, adrian@FreeBSD.ORG Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: adduser bikeshed Date: Sun, 22 Apr 2001 20:30:20 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 23 Apr 2001 00:30:20.0596 (UTC) FILETIME=[940AA740:01C0CB8C] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >From: Alfred Perlstein >To: Adrian Chadd >CC: freebsd-hackers@FreeBSD.ORG >Subject: Re: adduser bikeshed >Date: Fri, 20 Apr 2001 05:29:31 -0700 > >* Adrian Chadd [010420 05:22] wrote: > > > > http://www.freebsd.org/~adrian/adduser.patch > > > > It adds an option which enables the password that is created. > > "enabling" means "don't put a * in front". Its aimed for accounts > > which will use non-password authentication (eg RSA/DSA). > > Its also aimed at sysadmins who want to create accounts but have > > them automatically disabled (think university admins who create > > shell accounts for users but want them to do training BEFORE > > enabling said account..) > > > > Now, the bikeshed: what should the option be? > > "Enable account at creation" isn't very descriptive and can be > > confusing. > >I requested this feature and I'm thinking that the > "Use passwords (y/n) [y]: " > >should be changed to: > "Use password based authentication and enable account? (y/n)" > if "n" > "Do you wish to disallow password passed authentication? (y/n)" This sounds like just knowing the account ID is enough to get you into the computer. Why not ask (more positively) "Do you wish to use a query/response system?" or some such thing? > if "n" > "Use an empty password? (y/n)" > if "y" > "Are you damn sure you want to do that? (n/n)" > >heh, thanks for doing this btw. > > >-- >-Alfred Perlstein - [alfred@freebsd.org] >http://www.egr.unlv.edu/~slumos/on-netbsd.html > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Apr 22 17:43:49 2001 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 A445537B422; Sun, 22 Apr 2001 17:43:43 -0700 (PDT) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.11.3/8.11.3) with SMTP id f3N0aO390257; Sun, 22 Apr 2001 20:36:24 -0400 (EDT) (envelope-from arr@watson.org) Date: Sun, 22 Apr 2001 20:36:23 -0400 (EDT) From: "Andrew R. Reiter" To: "E.B. Dreger" Cc: hackers@FreeBSD.ORG, net@FreeBSD.ORG Subject: Re: TCP intercept? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What's TCP intercept? On Mon, 23 Apr 2001, E.B. Dreger wrote: > Greetings all, > > I'm no kernel hacker, and trying to think of useful little projects to > change that. ;-) > > AFAIK, FreeBSD lacks support for TCP intercept. Is anyone already working > on this? Would it be of interest to anyone? My initial thoughts are that > it should be implemented in the same neighborhood as stateful firewall > code, as the two are rather closely related. > > > Eddy > > --------------------------------------------------------------------------- > > Brotsman & Dreger, Inc. > EverQuick Internet / EternalCommerce Division > > Phone: (316) 794-8922 > > --------------------------------------------------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > *-------------................................................. | Andrew R. Reiter | arr@fledge.watson.org | "It requires a very unusual mind | to undertake the analysis of the obvious" -- A.N. Whitehead To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sun Apr 22 21:27: 1 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from spider.pilosoft.com (p55-222.acedsl.com [160.79.55.222]) by hub.freebsd.org (Postfix) with ESMTP id 56FD837B422; Sun, 22 Apr 2001 21:26:49 -0700 (PDT) (envelope-from alex@pilosoft.com) Received: from localhost (alexmail@localhost) by spider.pilosoft.com (8.9.3/8.9.3) with ESMTP id AAA08460; Mon, 23 Apr 2001 00:32:39 -0400 (EDT) Date: Mon, 23 Apr 2001 00:32:39 -0400 (EDT) From: Alex Pilosov To: "Andrew R. Reiter" Cc: "E.B. Dreger" , hackers@FreeBSD.ORG, net@FreeBSD.ORG Subject: Re: TCP intercept? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In cisco terminology, 'tcp intercept' is what the 'ip and tcp reassembly' part of ipnat does (without port/address rewriting). For example, a router in the middle which is doing the intercept will have to buffer/reassemble tcp stream and only forward packets after they are confirmed good. Example: packets with a wrong sequence number will be bounced at the router. On ciscos, tcp-intercept can also rate-limit syn packets... I'm not sure if it can be enabled in ipnat separately, but hell, if someone wants to do it... On Sun, 22 Apr 2001, Andrew R. Reiter wrote: > > What's TCP intercept? > > On Mon, 23 Apr 2001, E.B. Dreger wrote: > > > Greetings all, > > > > I'm no kernel hacker, and trying to think of useful little projects to > > change that. ;-) > > > > AFAIK, FreeBSD lacks support for TCP intercept. Is anyone already working > > on this? Would it be of interest to anyone? My initial thoughts are that > > it should be implemented in the same neighborhood as stateful firewall > > code, as the two are rather closely related. > > > > > > Eddy > > > > --------------------------------------------------------------------------- > > > > Brotsman & Dreger, Inc. > > EverQuick Internet / EternalCommerce Division > > > > Phone: (316) 794-8922 > > > > --------------------------------------------------------------------------- > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > > > *-------------................................................. > | Andrew R. Reiter > | arr@fledge.watson.org > | "It requires a very unusual mind > | to undertake the analysis of the obvious" -- A.N. Whitehead > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" 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 Apr 23 0:24:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id 927E337B424; Mon, 23 Apr 2001 00:24:37 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from localhost ([127.0.0.1] helo=softweyr.com ident=110f2ac2843a6763bde34ecfd84dab8d) by softweyr.com with esmtp (Exim 3.16 #1) id 14rahi-00023w-00; Mon, 23 Apr 2001 01:24:14 -0600 Message-ID: <3AE3D89D.9ABCA7B6@softweyr.com> Date: Mon, 23 Apr 2001 01:24:13 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: "E.B. Dreger" Cc: hackers@freebsd.org, net@freebsd.org Subject: Re: TCP intercept? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "E.B. Dreger" wrote: > > Greetings all, > > I'm no kernel hacker, and trying to think of useful little projects to > change that. ;-) > > AFAIK, FreeBSD lacks support for TCP intercept. Is anyone already working > on this? Would it be of interest to anyone? My initial thoughts are that > it should be implemented in the same neighborhood as stateful firewall > code, as the two are rather closely related. If you mean IP forwarding, you can do that with ipnat (part of ipfilter) or with natd. If you mean network interface monitoring, see the man page for bpf. Otherwise, you'll have to explain what you mean by "TCP intercept", it is not a terminology in common use. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 0:43:15 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from oceanus.host4u.net (oceanus.host4u.net [209.150.128.31]) by hub.freebsd.org (Postfix) with ESMTP id 58F1B37B424 for ; Mon, 23 Apr 2001 00:43:13 -0700 (PDT) (envelope-from ac@turdera.com.ar) Received: from terminus (h066060003200.isol.net.ar [66.60.3.200]) by oceanus.host4u.net (8.8.5/8.8.5) with SMTP id CAA28955 for ; Mon, 23 Apr 2001 02:10:26 -0500 Message-ID: <002b01c0cbc9$12cc0740$0100a8c0@terminus> From: "Alejandro Caabeiro" To: Subject: Date: Mon, 23 Apr 2001 04:43:06 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG help To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 4:42:39 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from wit379112.student.utwente.nl (wit379119.student.utwente.nl [130.89.232.129]) by hub.freebsd.org (Postfix) with ESMTP id 3F0CB37B424 for ; Mon, 23 Apr 2001 04:42:36 -0700 (PDT) (envelope-from niek@wit379112.student.utwente.nl) Received: by wit379112.student.utwente.nl (Postfix, from userid 1000) id A496C5D49; Mon, 23 Apr 2001 13:45:54 +0200 (CEST) Date: Mon, 23 Apr 2001 13:45:54 +0200 From: Niek Bergboer To: Alfred Perlstein Cc: freebsd-hackers@freebsd.org Subject: Re: UFS block size vs. write speed Message-ID: <20010423134554.A57241@wit379119.student.utwente.nl> Reply-To: niek@bergboer.net References: <20010420144543.F30241@wit379119.student.utwente.nl> <20010420055426.Q1790@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010420055426.Q1790@fw.wintelcom.net>; from bright@wintelcom.net on Fri, Apr 20, 2001 at 05:54:26AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 20, 2001 at 05:54:26AM -0700, Alfred Perlstein wrote: > > PS: The tests were already done with the fs mounted async. The > > drive in question communicates at UDMA/33 on a PIIX4 controller in > > an AMD K6/2 233 system. > It's funny, but you have the ideal system for an interesting > optimization I've always wanted to try. Since you seem to be > reading over the network, have you tried doing this, creating > the file and then using ftruncate on it to extend it, then use > mmap() and read directly from the socket into the mmap'd area. I've implemented a quick hack on the BSD ftp-client: in the original recv-file function data is read from a socket into a buffer, which is then written to a file. I've mmap-ed the file, and rather than reading from the socket into the buffer, I read directly from the socket into the mmaped region. I use the MAP_SHARED and MAP_NOSYNC flags, and especially the latter makes a huge difference. The files are read using FTP with a buffer size of 64 kb. They are read from a Linux 2.4 machine with cartloads of memory and I make sure the Linux box has the files cached in memory. The Linux machine is connected to the same 100 MBit/FDX switch and network congestion is virtually non-existant. Because the FreeBSD machine (the K6/2 233) only has 64 MB of RAM, I've made the files small (10 files of 4 MB each, and later 5 files of 8 MB each). The normal BSD ftp-client reads all the files a approx. 6.5 to 7 Mbyte/s and this speed is more or less constant for all the files. The mmap-ed version of the ftp-client reads the first few files at 8 to 8.5 MByte/s after which the throughput collapses due to the limited amount of memory available for caching. I've noticed that using madvise() with MADV_WILLNEED or MADV_SEQUENTIAL does not make that much of a difference. Conclusion: using the mmap trick, the box displays the ugly "all your system is one big write cache" Linux-behaviour ;) Until memory is full that is, after which throutput becomes lousy (4.5 Mbyte/s). > You may have to experiment with several different madvise() flags > to get optimal performance. Or you may discover that doing this > "trick" actually makes performance worse because of the way > the trick screws with what the vm system expects. > I think a combination of MADV_SEQUENTIAL and/or MADV_WILLNEED > could do the trick. See above. Niek -- Conscience doth make cowards of us all. -- Shakespeare To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 5:36:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sivka.carrier.kiev.ua (sivka.carrier.kiev.ua [193.193.193.101]) by hub.freebsd.org (Postfix) with ESMTP id A341537B423 for ; Mon, 23 Apr 2001 05:36:40 -0700 (PDT) (envelope-from diman@asd-g.com) Received: from core.is.kiev.ua (p187.is.kiev.ua [62.244.5.187] (may be forged)) by sivka.carrier.kiev.ua (8/Kilkenny_is_better) with ESMTP id POA95057 for ; Mon, 23 Apr 2001 15:36:26 +0300 (EEST) (envelope-from diman@asd-g.com) Received: from [10.203.1.10] ([10.203.1.10]) by core.is.kiev.ua (8.11.1/ASDG-2.3-NR) with ESMTP id f3NCaBQ38008 for ; Mon, 23 Apr 2001 15:36:25 +0300 (EEST) (envelope-from diman@asd-g.com) Date: Mon, 23 Apr 2001 13:31:01 +0000 (GMT) From: diman X-Sender: diman@portal.none.ua To: freebsd-hackers@freebsd.org Subject: ptrace(PTRACE_SYSCALL,... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, guys I'm porting ltrace to FreeBSD and have one little question. ltrace uses non-standard PTRACE_SYSCALL request, which tells the kernel to stop traced process on every syscall entry and notify the parent. It makes us possible to trace child's syscalls and *catch execve/xfork events* and many more. BTW, that request is non-standard and FreeBSD doesn't support it. So, guys, what is a right way for a parent to catch child making syscall under FreeBSD? I have dosen k-mode solutions but how to do that from user-space? Thanks you very much! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 8:11: 6 2001 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 B177037B422; Mon, 23 Apr 2001 08:10:58 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.11.3/8.11.3) id f3NFAlC07105; Mon, 23 Apr 2001 10:10:47 -0500 (CDT) (envelope-from dan) Date: Mon, 23 Apr 2001 10:10:47 -0500 From: Dan Nelson To: Wes Peters Cc: "E.B. Dreger" , hackers@FreeBSD.ORG, net@FreeBSD.ORG Subject: Re: TCP intercept? Message-ID: <20010423101046.A4880@dan.emsphone.com> References: <3AE3D89D.9ABCA7B6@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: <3AE3D89D.9ABCA7B6@softweyr.com>; from "Wes Peters" on Mon Apr 23 01:24:13 GMT 2001 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Apr 23), Wes Peters said: > > I'm no kernel hacker, and trying to think of useful little projects > > to change that. ;-) > > > > AFAIK, FreeBSD lacks support for TCP intercept. Is anyone already > > working on this? Would it be of interest to anyone? My initial > > thoughts are that it should be implemented in the same neighborhood > > as stateful firewall code, as the two are rather closely related. > > If you mean IP forwarding, you can do that with ipnat (part of > ipfilter) or with natd. If you mean network interface monitoring, > see the man page for bpf. Otherwise, you'll have to explain what you > mean by "TCP intercept", it is not a terminology in common use. It's a Cisco term. From what I can tell, it essentially proxies all TCP sessions, but solely to shorten the 3-way handshake timeout and trap SYN floods before the host sees them. It's useless for protecting modern systems, but if you have a lot of legacy OSes in your network, TCP Intercept will protect them all without forcing you to upgrade them. http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/secur_c/scprt3/scdenial.htm I don't trust a border router to proxy every TCP session going through it, though. Since the router doesn't know the capabilities of the 2nd host at the time it proxies the connection from the 1st, you can't negotiate any enhanced TCP features like SACK or rfc1323 (window scaling or timestamping). -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 9:27:58 2001 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 AC39E37B424; Mon, 23 Apr 2001 09:27:47 -0700 (PDT) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.11.3/8.11.3) with SMTP id f3NGS3o00935; Mon, 23 Apr 2001 12:28:03 -0400 (EDT) (envelope-from arr@watson.org) Date: Mon, 23 Apr 2001 12:28:02 -0400 (EDT) From: "Andrew R. Reiter" To: Alex Pilosov Cc: "E.B. Dreger" , hackers@FreeBSD.ORG, net@FreeBSD.ORG Subject: Re: TCP intercept? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In light of this, I would say that it would be cool to put into the ipfw or ipf code seeing as how there are already hooks into the network stack in the code. I am not sure how people will take the ipfw implementation soley because I know there was alot of "hacking" being done to it in the recent months (??). Im also not sure how well Darren would take the code written if it was done for ipf. Otherwise, you'll have to add some more hooks into the stack code (tcp_{input,output}.c and perhaps others) and then handle it that way. Im not really familiar with how (un)successful TCP intercept has been with Cisco, but I would find that as a cool option :-) Take it easy, Andrew On Mon, 23 Apr 2001, Alex Pilosov wrote: > In cisco terminology, 'tcp intercept' is what the 'ip and tcp reassembly' > part of ipnat does (without port/address rewriting). For example, a router > in the middle which is doing the intercept will have to buffer/reassemble > tcp stream and only forward packets after they are confirmed good. > > Example: packets with a wrong sequence number will be bounced at the > router. On ciscos, tcp-intercept can also rate-limit syn packets... > > I'm not sure if it can be enabled in ipnat separately, but hell, if > someone wants to do it... > > On Sun, 22 Apr 2001, Andrew R. Reiter wrote: > > > > > What's TCP intercept? > > > > On Mon, 23 Apr 2001, E.B. Dreger wrote: > > > > > Greetings all, > > > > > > I'm no kernel hacker, and trying to think of useful little projects to > > > change that. ;-) > > > > > > AFAIK, FreeBSD lacks support for TCP intercept. Is anyone already working > > > on this? Would it be of interest to anyone? My initial thoughts are that > > > it should be implemented in the same neighborhood as stateful firewall > > > code, as the two are rather closely related. > > > > > > > > > Eddy > > > > > > --------------------------------------------------------------------------- > > > > > > Brotsman & Dreger, Inc. > > > EverQuick Internet / EternalCommerce Division > > > > > > Phone: (316) 794-8922 > > > > > > --------------------------------------------------------------------------- > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-hackers" in the body of the message > > > > > > > *-------------................................................. > > | Andrew R. Reiter > > | arr@fledge.watson.org > > | "It requires a very unusual mind > > | to undertake the analysis of the obvious" -- A.N. Whitehead > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-net" in the body of the message > > > > > > *-------------................................................. | Andrew R. Reiter | arr@fledge.watson.org | "It requires a very unusual mind | to undertake the analysis of the obvious" -- A.N. Whitehead To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 10: 9:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from silby.com (adam042-060.resnet.wisc.edu [146.151.42.60]) by hub.freebsd.org (Postfix) with ESMTP id 35BA537B42C for ; Mon, 23 Apr 2001 10:09:44 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 1966 invoked by uid 1000); 23 Apr 2001 17:09:26 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 23 Apr 2001 17:09:26 -0000 Date: Mon, 23 Apr 2001 12:09:26 -0500 (CDT) From: Mike Silbersack To: Cc: Alfred Perlstein , Subject: Re: UFS block size vs. write speed In-Reply-To: <20010423134554.A57241@wit379119.student.utwente.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 23 Apr 2001, Niek Bergboer wrote: > I've implemented a quick hack on the BSD ftp-client: in the original > recv-file function data is read from a socket into a buffer, which is > then written to a file. I've mmap-ed the file, and rather than reading > from the socket into the buffer, I read directly from the socket into > the mmaped region. I use the MAP_SHARED and MAP_NOSYNC flags, and > especially the latter makes a huge difference. I seem to remember Matt Dillon saying that if you extend a file through mmap'd writes, it will become very fragmented. Check the archives for this mailing list during decemeber or so, I believe the thread had something to so with usenet servers. 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 Mon Apr 23 10:36:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ambrisko.com (adsl-216-103-208-74.dsl.snfc21.pacbell.net [216.103.208.74]) by hub.freebsd.org (Postfix) with ESMTP id B03B837B423 for ; Mon, 23 Apr 2001 10:36:15 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.11.3/8.11.2) id f3NHaDS15276 for freebsd-hackers@freebsd.org; Mon, 23 Apr 2001 10:36:13 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200104231736.f3NHaDS15276@ambrisko.com> Subject: Netboot FreeBSD on Apple Airport (port format) To: freebsd-hackers@freebsd.org Date: Mon, 23 Apr 2001 10:36:13 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I put together a port version of the code to boot FreeBSD on an Airport base station. I haven't polished it but it produces a functional image. Some code should be converted from nasm to gas but I just haven't had time to mess with that hopefully some else might. There is code to netboot over a Wavelan card but I haven't integrated that or included it in the port. Instead it is in raw.tgz. Till Straumann (Till.Straumann@TU-Berlin.de) did most of the work and I made is support FreeBSD. The code is at: http://www.ambrisko.com/doug/airport/ Please grab it and polish it. Thanks, Doug A. Hello, this is TillLoad, Copyright , 2001 (GPL) (Basemem: 0x027F00) run therboot or irport? >E ================================================================================ ROM segment 0x8000 length 0x40EA reloc 0x9800 Boot from (N)etwork or from (L)ocal? N Etherboot/32 version 4.6.12 (GPL) for [NE2100] Probing...[NE2100] PCnet/ISA+ 79C961A base 0x0300, DMA 5, addr 00:30:65:3A:59:5F Searching for server (DHCP)... Me: 192.168.2.194, Server: 192.168.2.254, Gateway 192.168.2.254 Loading /tftpboot/kernel.bsd (ELF/FreeBSD)0680- ================================================================================ Copyright (c) 1992-2001 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.3-BETA #9: Wed Mar 21 15:41:11 PST 2001 root@770z.whistle.com:/usr/src/sys/compile/AIRPORT Timecounter "i8254" frequency 1193182 Hz CPU: AMD Unknown (486-class CPU) Origin = "AuthenticAMD" Id = 0x4a4 Stepping = 4 Features=0x0 real memory = 4194304 (4096K bytes) avail memory = 1998848 (1952K bytes) Preloaded elf kernel "kernel" at 0xc025bb00. npx0: on motherboard npx0: 387 emulator isa0: on motherboard pcic0: at port 0x3e0 iomem 0xd0000 on isa0 pcic0: Polling mode pccard0: on pcic0 pccard1: on pcic0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x30 on isa0 sio0: type 16550A, console lnc0 at port 0x300-0x317 iomem 0xd0000-0xdffff irq 10 on isa0 lnc0: PCnet-ISA II address 00:30:65:3a:59:5f lnc0: driver is using old-style compatability shims RTC BIOS diagnostic error e4 pccard: card inserted, slot 0 Sending DHCP Discover packet from interface lnc0 (00:30:65:3a:59:5f) Received DHCP Offer packet on lnc0 from 192.168.2.254 (accepted) (no root path) Sending DHCP Request packet from interface lnc0 (00:30:65:3a:59:5f) Received DHCP Ack packet on lnc0 from 192.168.2.254 (accepted) (got root path) lnc0 at 192.168.2.194 server 192.168.2.254 boot file /tftpboot/kernel.bsd router 192.168.2.254 rootfs 192.168.2.254:/usr/home/ambrisko/netboot swapfs 192.168.2.254:/usr/work/netboot Adjusted interface lnc0 md_lookup_swap: Swap size is 262144 KB Mounting root from nfs: NFS ROOT: 192.168.2.254:/usr/home/ambrisko/netboot NFS SWAP: 192.168.2.254:/usr/work/ij3/netboot wi0: at port 0x240-0x27f irq 5 slot 0 on pccard0 wi0: Ethernet address: 00:02:2d:09:4b:f2 pccardd[40]: Assigning I/O window 0, start 0x240, size 0x40 flags 0x5 pccardd[40]: Assign wi0, io 0x240-0x27f, mem 0x0, 0 bytes, irq 5, flags 0 pccardd[40]: wi0: Lucent Technologies (WaveLAN/IEEE) inserted. dhclient: New IP Address(wi0): 207.76.207.134 dhclient: New Subnet Mask (wi0): 255.255.255.0 dhclient: New Broadcast Address(wi0): 207.76.207.255 dhclient: New Routers: 207.76.207.254 pccardd[40]: pccardd started login: ROOT LOGIN (root) ON ttyp0 FROM crab login: ROOT LOGIN (root) ON ttyp1 FROM 207.76.207.135 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 11:26: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from security.za.net (security.za.net [196.2.146.22]) by hub.freebsd.org (Postfix) with ESMTP id AB0F637B423 for ; Mon, 23 Apr 2001 11:26:01 -0700 (PDT) (envelope-from lists@security.za.net) Received: from localhost (lists@localhost) by security.za.net (8.9.3/8.9.3) with ESMTP id UAA25996 for ; Mon, 23 Apr 2001 20:25:56 +0200 (SAST) (envelope-from lists@security.za.net) Date: Mon, 23 Apr 2001 20:25:56 +0200 (SAST) From: Lists Account To: freebsd-hackers@freebsd.org Subject: PCI -> PCMCIA Bridge Adapter Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi All, I just was wondering if anyone out there knew of any drivers that support the pccard PCI -> PCMCIA bridge adapter, also made by pccard (see www.pccard.co.uk), similar to the ISA -> PCMICIA bridge adapter that is currently supported under FreeBSD If anyone knows of such a driver please let me know, any help on this one would be much appreciated Many Thanks Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 11:49:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 1385837B424 for ; Mon, 23 Apr 2001 11:49:20 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 19172 invoked by uid 1000); 23 Apr 2001 18:47:36 -0000 Date: Mon, 23 Apr 2001 21:47:36 +0300 From: Peter Pentchev To: Lists Account Cc: freebsd-hackers@freebsd.org Subject: Re: PCI -> PCMCIA Bridge Adapter Message-ID: <20010423214736.B1356@ringworld.oblivion.bg> Mail-Followup-To: Lists Account , freebsd-hackers@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from lists@security.za.net on Mon, Apr 23, 2001 at 08:25:56PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Apr 23, 2001 at 08:25:56PM +0200, Lists Account wrote: > Hi All, > > I just was wondering if anyone out there knew of any drivers that support > the pccard PCI -> PCMCIA bridge adapter, also made by pccard (see > www.pccard.co.uk), similar to the ISA -> PCMICIA bridge adapter that is > currently supported under FreeBSD > > If anyone knows of such a driver please let me know, any help on this one > would be much appreciated I think there was talk on -mobile about this recently, with someone (I can't remember who, but Warner Losch comes to mind) saying that this cannot be done in 4.x-stable at the moment, and it shall not be done in 4.x-stable ever. It's supposed to work in -current, due to the complete rewrite of the PCMCIA/CardBus code there. Sorry, but :( I myself was up against this problem, and I ended up getting a PCMCIA -> ISA bridge - it works flawlessly in -stable. G'luck, Peter -- No language can express every thought unambiguously, least of all this one. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 12:33:11 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 760DC37B424 for ; Mon, 23 Apr 2001 12:33:09 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from opal (cs.binghamton.edu [128.226.123.101]) by bingnet2.cc.binghamton.edu (8.11.2/8.11.2) with ESMTP id f3NJX5o03018 for ; Mon, 23 Apr 2001 15:33:05 -0400 (EDT) Date: Mon, 23 Apr 2001 15:33:04 -0400 (EDT) From: Zhihui Zhang X-Sender: zzhang@opal To: freebsd-hackers@freebsd.org Subject: cv_wait() or sv_wait() in FreeBSD Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Do we have conditional/synchronization variable support in FreeBSD? If not, is there any alternative mechanism to use in the kernel? Thanks. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 13:20:59 2001 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 ECFE637B422 for ; Mon, 23 Apr 2001 13:20:54 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.3/8.11.3) with SMTP id f3NKLBf04225; Mon, 23 Apr 2001 16:21:14 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Mon, 23 Apr 2001 16:21:11 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: diman Cc: freebsd-hackers@freebsd.org Subject: Re: ptrace(PTRACE_SYSCALL,... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sounds like this might also be useful to make a procfs-free truss Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Mon, 23 Apr 2001, diman wrote: > > Hello, guys > > I'm porting ltrace to FreeBSD and have one little question. > ltrace uses non-standard PTRACE_SYSCALL request, which tells > the kernel to stop traced process on every syscall entry > and notify the parent. > > It makes us possible to trace child's syscalls and *catch > execve/xfork events* and many more. BTW, that request > is non-standard and FreeBSD doesn't support it. > > So, guys, what is a right way for a parent to catch > child making syscall under FreeBSD? I have dosen > k-mode solutions but how to do that from user-space? > > Thanks you very much! > > > > 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 Apr 23 13:56:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 1D95737B422 for ; Mon, 23 Apr 2001 13:56:17 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3NKuCB09604; Mon, 23 Apr 2001 13:56:12 -0700 (PDT) Date: Mon, 23 Apr 2001 13:56:12 -0700 From: Alfred Perlstein To: Zhihui Zhang Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: cv_wait() or sv_wait() in FreeBSD Message-ID: <20010423135611.X1790@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from zzhang@cs.binghamton.edu on Mon, Apr 23, 2001 at 03:33:04PM -0400 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Zhihui Zhang [010423 12:33] wrote: > > Do we have conditional/synchronization variable support in FreeBSD? If > not, is there any alternative mechanism to use in the kernel? Thanks. FreeBSD Current has these, see the cv_wait manpage. FreeBSD stable doesn't and you can use the traditional tsleep/wakeup/wakeup_one mechanisms. -- -Alfred Perlstein - [alfred@freebsd.org] Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 13:56:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 6BCA637B422 for ; Mon, 23 Apr 2001 13:56:54 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f3NKuU875640; Mon, 23 Apr 2001 14:56:32 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200104232056.f3NKuU875640@harmony.village.org> To: Lists Account Subject: Re: PCI -> PCMCIA Bridge Adapter Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 23 Apr 2001 20:25:56 +0200." References: Date: Mon, 23 Apr 2001 14:56:30 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Lists Account writes: : I just was wondering if anyone out there knew of any drivers that support : the pccard PCI -> PCMCIA bridge adapter, also made by pccard (see : www.pccard.co.uk), similar to the ISA -> PCMICIA bridge adapter that is : currently supported under FreeBSD The simple PLX based bridges are supported for an and wi. More complete support for them may be forthcomign. The cardbus bridge chip on a pci card isn't (yet) supported by FreeBSD. I do have a contract to make them work, however. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 13:58:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id F2D8037B423 for ; Mon, 23 Apr 2001 13:58:34 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f3NKwD875703; Mon, 23 Apr 2001 14:58:13 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200104232058.f3NKwD875703@harmony.village.org> To: Peter Pentchev Subject: Re: PCI -> PCMCIA Bridge Adapter Cc: Lists Account , freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 23 Apr 2001 21:47:36 +0300." <20010423214736.B1356@ringworld.oblivion.bg> References: <20010423214736.B1356@ringworld.oblivion.bg> Date: Mon, 23 Apr 2001 14:58:13 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010423214736.B1356@ringworld.oblivion.bg> Peter Pentchev writes: : I think there was talk on -mobile about this recently, with someone : (I can't remember who, but Warner Losch comes to mind) saying that : this cannot be done in 4.x-stable at the moment, and it shall not : be done in 4.x-stable ever. It's supposed to work in -current, due : to the complete rewrite of the PCMCIA/CardBus code there. That's almost right. Someone has wave $$$ under my nose to make pci bridges work in -stable with OLDCARD. It doesn't yet work in -current for reasons unknown. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 15: 3:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 20B5E37B42C for ; Mon, 23 Apr 2001 15:03:24 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f3NM3FG38754; Mon, 23 Apr 2001 15:03:15 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 23 Apr 2001 15:02:39 -0700 (PDT) From: John Baldwin To: Zhihui Zhang Subject: RE: cv_wait() or sv_wait() in FreeBSD Cc: freebsd-hackers@FreeBSD.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 23-Apr-01 Zhihui Zhang wrote: > > Do we have conditional/synchronization variable support in FreeBSD? If > not, is there any alternative mechanism to use in the kernel? Thanks. There are cv's in -current. man 9 condvar > -Zhihui -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "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 Mon Apr 23 17: 7:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from darkstar.umd.edu (darkstar.umd.edu [128.8.215.163]) by hub.freebsd.org (Postfix) with ESMTP id 772C137B422 for ; Mon, 23 Apr 2001 17:07:44 -0700 (PDT) (envelope-from bfoz@glue.umd.edu) Received: from glue.umd.edu (localhost [127.0.0.1]) by darkstar.umd.edu (8.11.3/8.11.3) with ESMTP id f3O07hV05719 for ; Mon, 23 Apr 2001 20:07:43 -0400 (EDT) (envelope-from bfoz@glue.umd.edu) Message-ID: <3AE4C3CF.60F3BDFD@glue.umd.edu> Date: Mon, 23 Apr 2001 20:07:43 -0400 From: Brandon Fosdick X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Subject: Orinoco MiniPCI Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A search of the archives revealed that PCI adapters for orinoco cards don't work yet. So I guess there's no hope of getting the MiniPCI card working either? Does it work in -current? -Brandon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 17:16:34 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 4E12037B424 for ; Mon, 23 Apr 2001 17:16:31 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f3O0GTk21579; Mon, 23 Apr 2001 17:16:29 -0700 Date: Mon, 23 Apr 2001 17:16:29 -0700 From: Brooks Davis To: Brandon Fosdick Cc: hackers@FreeBSD.ORG Subject: Re: Orinoco MiniPCI Message-ID: <20010423171629.A19541@Odin.AC.HMC.Edu> References: <3AE4C3CF.60F3BDFD@glue.umd.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AE4C3CF.60F3BDFD@glue.umd.edu>; from bfoz@glue.umd.edu on Mon, Apr 23, 2001 at 08:07:43PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 23, 2001 at 08:07:43PM -0400, Brandon Fosdick wrote: > A search of the archives revealed that PCI adapters for orinoco cards > don't work yet. So I guess there's no hope of getting the MiniPCI card > working either? Actually, that should be a different problem. The Orinoco PCI adaptors don't work because they are PCI-CardBus bridges and have interrupt routing issues. (Warner said today that someone waved money at him to fix that so it should happen.) On the other hand, there are other PCI adaptors for other cards that work with wi that use an adaptor that presents a PCI bus interface to a PCCard. I would expect the MiniPCI cards will do something like that since it would be pretty stupid to do it the other way given the rather minimal available realestate on a MiniPCI card. It's probably just a matter of adding the right entry to the wi_pci_probe function in if_wi.c. PCI support for this was one of the first things merged after the 4.3 code freeze was lifted. > Does it work in -current? The bridges still don't work in current either. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE65MXWXY6L6fI4GtQRAoNHAJ9AFu2XBqJEsfyqjLLghG0fwKDygwCfb2/y xJk+r6rKWzLlu6tP7HUz8VA= =XSde -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 17:39:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from darkstar.umd.edu (darkstar.umd.edu [128.8.215.163]) by hub.freebsd.org (Postfix) with ESMTP id CCC2337B43C for ; Mon, 23 Apr 2001 17:39:40 -0700 (PDT) (envelope-from bfoz@glue.umd.edu) Received: from glue.umd.edu (localhost [127.0.0.1]) by darkstar.umd.edu (8.11.3/8.11.3) with ESMTP id f3O0dcV08998; Mon, 23 Apr 2001 20:39:38 -0400 (EDT) (envelope-from bfoz@glue.umd.edu) Message-ID: <3AE4CB4A.4954A4A@glue.umd.edu> Date: Mon, 23 Apr 2001 20:39:38 -0400 From: Brandon Fosdick X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Brooks Davis Cc: hackers@FreeBSD.ORG Subject: Re: Orinoco MiniPCI References: <3AE4C3CF.60F3BDFD@glue.umd.edu> <20010423171629.A19541@Odin.AC.HMC.Edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brooks Davis wrote: > > On Mon, Apr 23, 2001 at 08:07:43PM -0400, Brandon Fosdick wrote: > > A search of the archives revealed that PCI adapters for orinoco cards > > don't work yet. So I guess there's no hope of getting the MiniPCI card > > working either? > > Actually, that should be a different problem. The Orinoco PCI adaptors > don't work because they are PCI-CardBus bridges and have interrupt > routing issues. (Warner said today that someone waved money at him to > fix that so it should happen.) On the other hand, there are other PCI > adaptors for other cards that work with wi that use an adaptor that > presents a PCI bus interface to a PCCard. I would expect the MiniPCI > cards will do something like that since it would be pretty stupid to do > it the other way given the rather minimal available realestate on a > MiniPCI card. It's probably just a matter of adding the right entry to > the wi_pci_probe function in if_wi.c. PCI support for this was one of > the first things merged after the 4.3 code freeze was lifted. Ah, I installed 4.3-R. I'll try updating my sources. -Brandon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 19: 8:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from totem.fix.no (totem.fix.no [213.142.66.130]) by hub.freebsd.org (Postfix) with ESMTP id 42BCB37B423; Mon, 23 Apr 2001 19:08:56 -0700 (PDT) (envelope-from anders@totem.fix.no) Received: by totem.fix.no (Postfix, from userid 1000) id 3E7293CC8; Tue, 24 Apr 2001 04:08:55 +0200 (CEST) Date: Tue, 24 Apr 2001 04:08:55 +0200 From: Anders Nordby To: Kris Kennaway Cc: David O'Brien , Alfred Perlstein , hackers@FreeBSD.ORG Subject: Re: thttpd hack for sendfile and accept filters. Message-ID: <20010424040854.A60658@totem.fix.no> References: <20010420024700.E1790@fw.wintelcom.net> <20010420044402.L1790@fw.wintelcom.net> <20010421151901.D21322@xor.obsecurity.org> <20010421194226.A88152@dragon.nuxi.com> <20010421205555.A59042@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010421205555.A59042@xor.obsecurity.org>; from kris@obsecurity.org on Sat, Apr 21, 2001 at 08:55:55PM -0700 X-Operating-System: FreeBSD 4.1.1-STABLE X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Apr 21, 2001 at 08:55:55PM -0700, Kris Kennaway wrote: >>> http://people.freebsd.org/~kris/thttpd-2.19+kq.patch >> Commit them to the port! :-) > Yeah, I should. I should also submit them back to the author :-) And the poor port maintainer for review first please. :-) But anyway, thttpd 2.21 has kqueue and accept filtering support. I've tested it a little in 4.3-STABLE, and it seems fine. Except in -current, which I'm looking into. Cheers, -- Anders. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 19:51:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from stox.sa.enteract.com (stox.sa.enteract.com [207.229.132.161]) by hub.freebsd.org (Postfix) with ESMTP id 5476D37B423 for ; Mon, 23 Apr 2001 19:50:56 -0700 (PDT) (envelope-from stox@stox.sa.enteract.com) Received: (from stox@localhost) by stox.sa.enteract.com (8.11.3/8.11.3) id f3O2i5u10432; Mon, 23 Apr 2001 21:44:05 -0500 (CDT) (envelope-from stox) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3AE4C3CF.60F3BDFD@glue.umd.edu> Date: Mon, 23 Apr 2001 21:42:44 -0500 (CDT) Organization: Imaginary Landscape, LLC. From: "Kenneth P. Stox" To: Brandon Fosdick Subject: RE: Orinoco MiniPCI Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 24-Apr-01 Brandon Fosdick wrote: > A search of the archives revealed that PCI adapters for orinoco cards > don't work yet. So I guess there's no hope of getting the MiniPCI card > working either? > > Does it work in -current? There may be hope, if you're interested, I just spent a bit of time this weekend getting the Netgear MA-301 working. ( The MA-301 is a PLX based PCI bridge that an MA-401 PC card is inserted into ). All that I needed to do was change the following defines in src/sys/dev/wi/if_wireg.h: #define WI_PCI_VENDOR_EUMITCOM 0x1638 #define WI_PCI_DEVICE_PRISM2STA 0x1100 To: #define WI_PCI_VENDOR_EUMITCOM 0x1385 #define WI_PCI_DEVICE_PRISM2STA 0x4100 Admittedly, I have no clue what I'm doing, as I have never even looked at a data sheet for these critters, but, so far, it appears to work fine. ;-) If the MiniPCI card is based on the PLX, similar modifications may be all you need. If it is PLX based, boot with the verbose option and find the vendor and device codes for it. Season the above defines to taste, and voila! Once we have a clue as to the cards now coming onto the market, iterating through the various vendor and device codes in the wi driver should be pretty trivial. BTW, the MA-401 is a Prism2 based card, and works out of box on -current in a PC card slot. Sure beats running 300' of CAT5 into the backyard! My most humble thanks to Bill Paul for writing the wi driver and to all those who have maintained to it. ---------------------------------- E-Mail: Kenneth P. Stox Date: 23-Apr-01 Time: 21:23:59 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 22: 6: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 4222237B423 for ; Mon, 23 Apr 2001 22:06:06 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f3O55m879851; Mon, 23 Apr 2001 23:05:50 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200104240505.f3O55m879851@harmony.village.org> To: Brandon Fosdick Subject: Re: Orinoco MiniPCI Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 23 Apr 2001 20:07:43 EDT." <3AE4C3CF.60F3BDFD@glue.umd.edu> References: <3AE4C3CF.60F3BDFD@glue.umd.edu> Date: Mon, 23 Apr 2001 23:05:48 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <3AE4C3CF.60F3BDFD@glue.umd.edu> Brandon Fosdick writes: : A search of the archives revealed that PCI adapters for orinoco cards : don't work yet. So I guess there's no hope of getting the MiniPCI card : working either? Nope. : Does it work in -current? Nope. I'm working on it. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Mon Apr 23 22:29:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from idiom.com (idiom.com [216.240.32.1]) by hub.freebsd.org (Postfix) with ESMTP id 1AB7937B422 for ; Mon, 23 Apr 2001 22:29:38 -0700 (PDT) (envelope-from rdm@cfcl.com) Received: from cfcl.com (cpe-24-221-169-54.ca.sprintbbd.net [24.221.169.54]) by idiom.com (8.9.3/8.9.3) with ESMTP id WAA13483 for ; Mon, 23 Apr 2001 22:29:37 -0700 (PDT) Received: from [192.168.168.205] (cerberus [192.168.168.205]) by cfcl.com (8.11.1/8.11.1) with ESMTP id f3O5UmV48968 for ; Mon, 23 Apr 2001 22:30:48 -0700 (PDT) (envelope-from rdm@cfcl.com) Mime-Version: 1.0 Message-Id: Date: Mon, 23 Apr 2001 22:27:22 -0700 To: freebsd-hackers@FreeBSD.ORG From: Rich Morin Subject: automated checking of Security Advisories Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a partly-baked idea regarding the security advisories that I see on freebsd-announce. While I applaud the intent of these notices, I wonder if some sort of automation might not make them a bit more useful. Let's say we encoded the advisories in XML and put them up for HTTP access, encoding the version characterization information (e.g., Affects) in some mechanically-usable fashion. Then, a Perl script on the local machine could look up the advisories, run the tests, and report the results, all without compromising the privacy of the local system. I am quite willing to write a first cut at the client code, but I think I need to get some buy-in from the folks who are generating the advisories. Specifically, I need version characterization data in a form which can be reliably used by an automated script. Is this generally a feasible thing to provide? If so, the rest seems pretty simple. I can read the advisories as they come in over email, parse them and munge them into XML (with a bit of hand-work, if need be) and put them up for general access. -r -- http://www.cfcl.com/rdm - home page, resume, etc. http://www.cfcl.com/Meta/md_fb.html - The FreeBSD Browser email: rdm@cfcl.com; phone: +1 650-873-7841 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 0:44: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id F3FAC37B43C for ; Tue, 24 Apr 2001 00:43:56 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f3O7h2809740; Tue, 24 Apr 2001 01:43:38 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200104240743.f3O7h2809740@harmony.village.org> To: Rich Morin Subject: Re: automated checking of Security Advisories Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 23 Apr 2001 22:27:22 PDT." References: Date: Tue, 24 Apr 2001 01:43:01 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Rich Morin writes: : I am quite willing to write a first cut at the client code, but I : think I need to get some buy-in from the folks who are generating : the advisories. Specifically, I need version characterization data : in a form which can be reliably used by an automated script. Is : this generally a feasible thing to provide? As near as I can tell, NetBSD's /usr/pkgsrc stuff has this already. It would be cool if someone would port that to /usr/ports. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 2:32:13 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from wit379112.student.utwente.nl (wit379119.student.utwente.nl [130.89.232.129]) by hub.freebsd.org (Postfix) with ESMTP id 9DB5C37B422 for ; Tue, 24 Apr 2001 02:32:10 -0700 (PDT) (envelope-from niek@wit379112.student.utwente.nl) Received: by wit379112.student.utwente.nl (Postfix, from userid 1000) id EBF025D38; Tue, 24 Apr 2001 11:35:36 +0200 (CEST) Date: Tue, 24 Apr 2001 11:35:36 +0200 From: Niek Bergboer To: Mike Silbersack Cc: freebsd-hackers@freebsd.org Subject: Re: UFS block size vs. write speed Message-ID: <20010424113536.A61988@wit379119.student.utwente.nl> Reply-To: niek@bergboer.net References: <20010423134554.A57241@wit379119.student.utwente.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from silby@silby.com on Mon, Apr 23, 2001 at 12:09:26PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Apr 23, 2001 at 12:09:26PM -0500, Mike Silbersack wrote: > On Mon, 23 Apr 2001, Niek Bergboer wrote: > > I've implemented a quick hack on the BSD ftp-client: in the original > > recv-file function data is read from a socket into a buffer, which is > > then written to a file. I've mmap-ed the file, and rather than reading > > from the socket into the buffer, I read directly from the socket into > > the mmaped region. I use the MAP_SHARED and MAP_NOSYNC flags, and > > especially the latter makes a huge difference. > > I seem to remember Matt Dillon saying that if you extend a file through > mmap'd writes, it will become very fragmented. Check the archives for > this mailing list during decemeber or so, I believe the thread had > something to so with usenet servers. Yes, the file gets fragmented indeed because I first extend it using ftruncate() and then mmap() it. The fragmentation gets especially bad when the MAP_ASYNC flag is passed to mmap(). However, in order to get a "write-cache"-like system I need to use MAP_ASYNC. Now, what I'm wondering about is the following: when one uses ftruncate() to extend a file, _no_ blocks get allocated in the filesystem because all blocks are empty (it was nice to see that I was actually able to make a 800 GB "file" on a 15 GB harddisk). This non-allocation seems to be the problem: if more than one process is writing, the blocks will have to be allocated dynamically as one writes into the mmap()'ed area. So is it possible to _allocate_ the blocks without actually _writing_ them full of zeros? If ftruncate() can do this, you would only have to write a very small amount of meta-data to the filesystem in order to allocate a non-fragmented set of blocks. In fact, I couldn't care less if the allocated blocks contain random data (rather than zeros), since I'll be overwriting them immediately. > Mike "Silby" Silbersack Niek Bergboer -- Conscience doth make cowards of us all. -- Shakespeare To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 2:44: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gidgate.gid.co.uk (gid.co.uk [194.32.164.225]) by hub.freebsd.org (Postfix) with ESMTP id A0C9137B423 for ; Tue, 24 Apr 2001 02:44:00 -0700 (PDT) (envelope-from rb@gid.co.uk) Received: (from rb@localhost) by gidgate.gid.co.uk (8.9.3/8.9.3) id KAA48674; Tue, 24 Apr 2001 10:43:39 +0100 (BST) (envelope-from rb) Message-Id: <4.3.2.7.2.20010424103925.00a81ae0@gid.co.uk> X-Sender: rbmail@gid.co.uk X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 24 Apr 2001 10:43:29 +0100 To: niek@bergboer.net From: Bob Bishop Subject: Re: UFS block size vs. write speed Cc: freebsd-hackers@FreeBSD.ORG, Mike Silbersack In-Reply-To: <20010424113536.A61988@wit379119.student.utwente.nl> References: <20010423134554.A57241@wit379119.student.utwente.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, At 11:35 24/04/01 +0200, Niek Bergboer wrote: >[...] >In fact, I couldn't care less if the allocated blocks contain random >data (rather than zeros), since I'll be overwriting them immediately. You *should* care: the blocks are zeroed for security reasons. -- Bob Bishop +44 (0)118 977 4017 rb@gid.co.uk fax +44 (0)118 989 4254 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 2:50:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 1BDC037B423 for ; Tue, 24 Apr 2001 02:50:41 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 70623 invoked by uid 1000); 24 Apr 2001 09:48:58 -0000 Date: Tue, 24 Apr 2001 12:48:57 +0300 From: Peter Pentchev To: Bob Bishop Cc: niek@bergboer.net, freebsd-hackers@FreeBSD.ORG, Mike Silbersack Subject: Re: UFS block size vs. write speed Message-ID: <20010424124857.C22159@ringworld.oblivion.bg> Mail-Followup-To: Bob Bishop , niek@bergboer.net, freebsd-hackers@FreeBSD.ORG, Mike Silbersack References: <20010423134554.A57241@wit379119.student.utwente.nl> <20010424113536.A61988@wit379119.student.utwente.nl> <4.3.2.7.2.20010424103925.00a81ae0@gid.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <4.3.2.7.2.20010424103925.00a81ae0@gid.co.uk>; from rb@gid.co.uk on Tue, Apr 24, 2001 at 10:43:29AM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Apr 24, 2001 at 10:43:29AM +0100, Bob Bishop wrote: > Hi, > > At 11:35 24/04/01 +0200, Niek Bergboer wrote: > >[...] > >In fact, I couldn't care less if the allocated blocks contain random > >data (rather than zeros), since I'll be overwriting them immediately. > > You *should* care: the blocks are zeroed for security reasons. But he's only doing a speed test :) And besides, if the 'random data' that's in the blocks is only zeroed for security reasons, there's absolutely no point in zeroing it in the mmap().. If someone removed a file and wanted to make sure no one read his data, the blocks should have been *already* zeroed in the process of removal. (Which, as discussed on several mailing lists lately, cannot really be guaranteed with today's caching/remapping/virtual/whatnot FS's :) G'luck, Peter -- This sentence is false. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 4: 2:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from idiom.com (idiom.com [216.240.32.1]) by hub.freebsd.org (Postfix) with ESMTP id AF14E37B423 for ; Tue, 24 Apr 2001 04:02:48 -0700 (PDT) (envelope-from rdm@cfcl.com) Received: from cfcl.com (cpe-24-221-169-54.ca.sprintbbd.net [24.221.169.54]) by idiom.com (8.9.3/8.9.3) with ESMTP id EAA64866 for ; Tue, 24 Apr 2001 04:02:48 -0700 (PDT) Received: from [192.168.168.205] (cerberus [192.168.168.205]) by cfcl.com (8.11.1/8.11.1) with ESMTP id f3OB42V52817 for ; Tue, 24 Apr 2001 04:04:02 -0700 (PDT) (envelope-from rdm@cfcl.com) Mime-Version: 1.0 Message-Id: In-Reply-To: <200104240743.f3O7h2809740@harmony.village.org> References: <200104240743.f3O7h2809740@harmony.village.org> Date: Tue, 24 Apr 2001 04:00:20 -0700 To: freebsd-hackers@FreeBSD.ORG From: Rich Morin Subject: Re: automated checking of Security Advisories Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A private note inquired: >> Then, a Perl script on the local machine could look up the >> advisories, run the tests, and report the results > >What exactly does this buy me, other than additional delays, >over what I get now? Nothing in this proposal would supplant the advisories for those who prefer to get them directly. Thus, no delay need be involved. OTOH, a script can perform an automated check for all current advisories, in the context of the local system configuration. This could save a lot of manual checking, head-scratching, etc. At 1:43 AM -0600 4/24/01, Warner Losh wrote: >As near as I can tell, NetBSD's /usr/pkgsrc stuff has this already. >It would be cool if someone would port that to /usr/ports. The client script needs two kinds of information: * criteria that allows checking for the existence of a problem (e.g., which package(s) must be present and enabled, in which version(s), to allow the problem to manifest itself) The problem may only be relevant for particular versions of the base system, or even for certain combinations of a given base system with a given set of packages. Thus, the criteria must detail everything that the script needs to check. * local information against which the criteria can be checked (e.g., which packages are present and enabled, in which versions) The local system must supply (either explicitly or implicitly) enough information to allow a script to check the criteria. If /usr/pkgsrc supplies better local information for packages, that makes the script's job easier, but criteria are still needed. The current advisories are enough to allow a sysadmin to look at files, think about things, and make a determination. They aren't enough for a (simple :-) script to go by, however. This is somewhat analogous to the difference between a package's README file and the Ports Makefile for the same package. The first is a human-readable description; the second is a machine-interpretable recipe. -r -- http://www.cfcl.com/rdm - home page, resume, etc. http://www.cfcl.com/Meta/md_fb.html - The FreeBSD Browser email: rdm@cfcl.com; phone: +1 650-873-7841 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 5: 7:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from green.bikeshed.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 410C237B42C for ; Tue, 24 Apr 2001 05:07:16 -0700 (PDT) (envelope-from green@green.bikeshed.org) Received: from localhost (green@localhost) by green.bikeshed.org (8.11.2/8.11.1) with ESMTP id f3OC7F159738 for ; Tue, 24 Apr 2001 08:07:15 -0400 (EDT) (envelope-from green@green.bikeshed.org) Message-Id: <200104241207.f3OC7F159738@green.bikeshed.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: hackers@FreeBSD.org Subject: Anyone know of RFMEM vm/sysv_shm.c-related races? From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 24 Apr 2001 08:07:14 -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In some way, using Linux LinuxThreads programs that use shared memory, I've ended up with dozens of shared memory segments that reportedly still have 1 attachment (which I'm really darn certain is impossible since I've killed _everything_ in sight). I think something must have happened that for some reason shmexit() was not called on process exit, vm_shm refcnt was increased too many times, vm_shm refcnt was not decreased enough times... whatever the case, there may be an old vmspace just floating around stranded, or just a simple bug with vm_shm... Does anyone have any clues about races or weird issues in this area? It's pretty exasperating to not be able to figure this one out. I don't immediately see any obvious races after half an hour of searching (since it appears all calls that can modify vmspace directly require Giant being held). -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@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 Apr 24 5:14:13 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from waltz.SoftHome.net (waltz.SoftHome.net [204.144.231.7]) by hub.freebsd.org (Postfix) with SMTP id 9BBFC37B43C for ; Tue, 24 Apr 2001 05:14:11 -0700 (PDT) (envelope-from asr@softhome.net) Received: (qmail 28146 invoked by uid 417); 24 Apr 2001 12:12:31 -0000 Message-ID: <20010424121231.28145.qmail@softhome.net> From: asr@softhome.net To: freebsd-hackers@freebsd.org Subject: Kernel compilation problems Date: Tue, 24 Apr 2001 12:12:31 GMT Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Sender: asr@softhome.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I always get a "Fatal trap 12: page fault while in kernel mode ... Virtual addrees 0x0 .. blah blah ..." whenever I compile a new kernel. I have access to 7 machines, 2 of which are AMD-K6-2, and the others are PIII-666 Mhz machines, but all of them give me the same error. What could be my error ? I can provide you with my config file. Thanks -ASR To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 6: 9:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sivka.carrier.kiev.ua (sivka.carrier.kiev.ua [193.193.193.101]) by hub.freebsd.org (Postfix) with ESMTP id 582AF37B422; Tue, 24 Apr 2001 06:09:20 -0700 (PDT) (envelope-from diman@asd-g.com) Received: from core.is.kiev.ua (p187.is.kiev.ua [62.244.5.187] (may be forged)) by sivka.carrier.kiev.ua (8/Kilkenny_is_better) with ESMTP id QDO25212; Tue, 24 Apr 2001 16:09:14 +0300 (EEST) (envelope-from diman@asd-g.com) Received: from [10.203.1.10] ([10.203.1.10]) by core.is.kiev.ua (8.11.1/ASDG-2.3-NR) with ESMTP id f3OD9CQ45316; Tue, 24 Apr 2001 16:09:12 +0300 (EEST) (envelope-from diman@asd-g.com) Date: Tue, 24 Apr 2001 14:06:36 +0000 (GMT) From: diman X-Sender: diman@portal.none.ua To: Robert Watson Cc: freebsd-hackers@freebsd.org Subject: Re: ptrace(PTRACE_SYSCALL,... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thank you much, procfs events really helps ! To make truss work without procfs mounted, it's easy to cut 1 line of PIOCBIS procfs_ioctl() code and put it to a new PTRACE_SYSCALL ptrace() request - really it is a same things with different names. Then replace all open/read/write/close with respective ptrace() calls and umount /proc =) I want port to work on older FreeBSD systems too, so now I'll use fcntl.h. On Mon, 23 Apr 2001, Robert Watson wrote: > > Sounds like this might also be useful to make a procfs-free truss > > Robert N M Watson FreeBSD Core Team, TrustedBSD Project > robert@fledge.watson.org NAI Labs, Safeport Network Services > > On Mon, 23 Apr 2001, diman wrote: > > > > > Hello, guys > > > > I'm porting ltrace to FreeBSD and have one little question. > > ltrace uses non-standard PTRACE_SYSCALL request, which tells > > the kernel to stop traced process on every syscall entry > > and notify the parent. > > > > It makes us possible to trace child's syscalls and *catch > > execve/xfork events* and many more. BTW, that request > > is non-standard and FreeBSD doesn't support it. > > > > So, guys, what is a right way for a parent to catch > > child making syscall under FreeBSD? I have dosen > > k-mode solutions but how to do that from user-space? > > > > Thanks you very much! > > Thanks & Peace To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 6:23:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from security.za.net (security.za.net [196.2.146.22]) by hub.freebsd.org (Postfix) with ESMTP id 5681C37B42C for ; Tue, 24 Apr 2001 06:23:12 -0700 (PDT) (envelope-from lists@security.za.net) Received: from localhost (lists@localhost) by security.za.net (8.9.3/8.9.3) with ESMTP id PAA59870; Tue, 24 Apr 2001 15:22:07 +0200 (SAST) (envelope-from lists@security.za.net) Date: Tue, 24 Apr 2001 15:22:07 +0200 (SAST) From: Lists Account To: Warner Losh Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PCI -> PCMCIA Bridge Adapter In-Reply-To: <200104232056.f3NKuU875640@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi All pcic-pci1: at device 16.1 on pci0 pcic-pci1: TI12XX PCI Config Reg: [pwr save][pci only] Just to say, I seem to have fbsd recognizing my pci cardbus bridge in 4.3-RELEASE however, it doesnt pick up the orinoco card plugged into there, is this because of bugs mentioned on the list so far or is this for another reason? Thanks Andrew On Mon, 23 Apr 2001, Warner Losh wrote: > In message Lists Account writes: > : I just was wondering if anyone out there knew of any drivers that support > : the pccard PCI -> PCMCIA bridge adapter, also made by pccard (see > : www.pccard.co.uk), similar to the ISA -> PCMICIA bridge adapter that is > : currently supported under FreeBSD > > The simple PLX based bridges are supported for an and wi. More > complete support for them may be forthcomign. The cardbus bridge chip > on a pci card isn't (yet) supported by FreeBSD. I do have a contract > to make them work, however. > > Warner > > 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 Tue Apr 24 7: 5:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rafiu.psi-domain.co.uk (rafiu.psi-domain.co.uk [212.87.84.199]) by hub.freebsd.org (Postfix) with ESMTP id DE0E137B423 for ; Tue, 24 Apr 2001 07:05:15 -0700 (PDT) (envelope-from heckfordj@psi-domain.co.uk) Received: from smtp.psi-domain.co.uk (mail.trident-uk.co.uk [195.166.16.10]) by rafiu.psi-domain.co.uk (8.11.3/8.11.3) with SMTP id f3OE1eX35628 for ; Tue, 24 Apr 2001 15:01:45 +0100 (BST) Date: Tue, 24 Apr 2001 16:03:32 +0100 From: Jamie Heckford To: freebsd-hackers@freebsd.org Subject: login.c Message-ID: <20010424160332.C31354@storm.psi-domain.co.uk> Reply-To: heckfordj@psi-domain.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Balsa 1.1.1 Lines: 45 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Sorry - am slightly new to C programming, so I apologise of this is the wrong place. Having a bit of a hack at login.c, made a few custom mods for my company one of which being changing the login: and Password: prompts. Have succesfully changed the login: message to something else, but the Password: prompt seems to be unchangable. Noticed getpass() is in libc, is there a definition somewhere else that would prevent me from changing the Password: prompt? A kick in the right direction would be appreciated :) Thanks in Advance, -- Jamie Heckford Network Operations Manager Psi-Domain - Innovative Linux Solutions. Ask Us How. FreeBSD - The power to serve Join our mailing list and stay informed by emailing collective@psi-domain.co.uk ===================================== email: heckfordj@psi-domain.co.uk web: http://www.psi-domain.co.uk/ tel: +44 (0)1737 789 246 fax: +44 (0)1737 789 245 mobile: +44 (0)7866 724 224 ===================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 7:15:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from melusine.cuivre.fr.eu.org (ppp53-net1-idf3-bas1.isdnet.net [195.154.52.53]) by hub.freebsd.org (Postfix) with ESMTP id BB59F37B42C for ; Tue, 24 Apr 2001 07:15:07 -0700 (PDT) (envelope-from thomas@cuivre.fr.eu.org) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id C3FFC24D06; Tue, 24 Apr 2001 16:15:04 +0200 (CEST) Date: Tue, 24 Apr 2001 16:15:04 +0200 From: Thomas Quinot To: Jamie Heckford Cc: freebsd-hackers@freebsd.org Subject: Re: login.c Message-ID: <20010424161504.A58386@melusine.cuivre.fr.eu.org> Reply-To: thomas@cuivre.fr.eu.org References: <20010424160332.C31354@storm.psi-domain.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20010424160332.C31354@storm.psi-domain.co.uk>; from heckfordj@psi-domain.co.uk on Tue, Apr 24, 2001 at 04:03:32PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Le 2001-04-24, Jamie Heckford écrivait : > Noticed getpass() is in libc, is there a definition somewhere > else that would prevent me from changing the Password: prompt? Try /usr/src/lib/libpam/modules/pam_unix/pam_unix.c. Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 7:16: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 8070C37B422 for ; Tue, 24 Apr 2001 07:16:00 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 24 Apr 2001 15:15:59 +0100 (BST) Date: Tue, 24 Apr 2001 15:15:59 +0100 From: David Malone To: Jamie Heckford Cc: freebsd-hackers@freebsd.org Subject: Re: login.c Message-ID: <20010424151559.A8475@walton.maths.tcd.ie> References: <20010424160332.C31354@storm.psi-domain.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010424160332.C31354@storm.psi-domain.co.uk>; from heckfordj@psi-domain.co.uk on Tue, Apr 24, 2001 at 04:03:32PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Apr 24, 2001 at 04:03:32PM +0100, Jamie Heckford wrote: > Noticed getpass() is in libc, is there a definition somewhere > else that would prevent me from changing the Password: prompt? Login probably uses pam to get and check the password. You could try recompiling the pam_unix.c module after changing the PASSWORD_PROMPT at the top of the file. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 7:22:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rafiu.psi-domain.co.uk (rafiu.psi-domain.co.uk [212.87.84.199]) by hub.freebsd.org (Postfix) with ESMTP id B457A37B422 for ; Tue, 24 Apr 2001 07:22:42 -0700 (PDT) (envelope-from heckfordj@psi-domain.co.uk) Received: from smtp.psi-domain.co.uk (mail.trident-uk.co.uk [195.166.16.10]) by rafiu.psi-domain.co.uk (8.11.3/8.11.3) with SMTP id f3OEJ9X35744; Tue, 24 Apr 2001 15:19:09 +0100 (BST) Date: Tue, 24 Apr 2001 16:21:02 +0100 From: Jamie Heckford To: thomas@cuivre.fr.eu.org Cc: freebsd-hackers@freebsd.org Subject: Re: login.c Message-ID: <20010424162102.E31354@storm.psi-domain.co.uk> Reply-To: heckfordj@psi-domain.co.uk References: <20010424160332.C31354@storm.psi-domain.co.uk> <20010424161504.A58386@melusine.cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <20010424161504.A58386@melusine.cuivre.fr.eu.org>; from thomas@cuivre.fr.eu.org on Tue, Apr 24, 2001 at 15:15:04 +0100 X-Mailer: Balsa 1.1.1 Lines: 37 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for your help - worked a treat :) Jamie On 2001.04.24 15:15 Thomas Quinot wrote: > Le 2001-04-24, Jamie Heckford écrivait : > > > Noticed getpass() is in libc, is there a definition somewhere > > else that would prevent me from changing the Password: prompt? > > Try /usr/src/lib/libpam/modules/pam_unix/pam_unix.c. > > Thomas. > > -- > Thomas.Quinot@Cuivre.FR.EU.ORG > > -- Jamie Heckford Network Operations Manager Psi-Domain - Innovative Linux Solutions. Ask Us How. FreeBSD - The power to serve Join our mailing list and stay informed by emailing collective@psi-domain.co.uk ===================================== email: heckfordj@psi-domain.co.uk web: http://www.psi-domain.co.uk/ tel: +44 (0)1737 789 246 fax: +44 (0)1737 789 245 mobile: +44 (0)7866 724 224 ===================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 7:29:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from oe-mp1.bizmailsrvcs.net (oe-mp1pub.managedmail.com [206.46.164.22]) by hub.freebsd.org (Postfix) with ESMTP id 8ED6537B424 for ; Tue, 24 Apr 2001 07:29:22 -0700 (PDT) (envelope-from alan.tegel@openwave.com) Received: from oe-ismta1.bizmailsrvcs.net ([206.46.164.26]) by oe-mp1.bizmailsrvcs.net (InterMail vM.5.01.02.00 201-253-122-103-101-20001108) with ESMTP id <20010424142852.VQAB6169.oe-mp1.bizmailsrvcs.net@oe-ismta1.bizmailsrvcs.net>; Tue, 24 Apr 2001 09:28:52 -0500 Received: from tegela ([198.78.34.30]) by oe-ismta1.bizmailsrvcs.net (InterMail vM.5.01.02.00 201-253-122-103-101-20001108) with SMTP id <20010424142920.HKCR6281.oe-ismta1.bizmailsrvcs.net@tegela>; Tue, 24 Apr 2001 09:29:20 -0500 From: "Alan Tegel" To: Cc: "Alan Tegel" Subject: Question about Posix Threads Date: Tue, 24 Apr 2001 07:29:21 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How well does FreeBSD 4.3 do with Posix Threads? This is a question I posted to a news group. Hello. I work for a unix performance and capacity group. owever, we have had some dismal performance from RedHat 6.2. The question that I would like to know is how well does FreeBSD support Posix threads and is there any caveats in perfromance and stability? Note, we have the ability to push Unix (whatever version) to the extremes (very fun and very insane job).... Any comments would be helpful. +-ADT =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Alan Tegel Landline Phone: 650-817-7287 Yahoo IM:op_alan_tegel Performance Engineer iDEN/GSM Cell: 650-333-7307 800 Chesapeake Drive alan.tegel@openwave.com Analog/CDMA Cell:440-223-8879 Redwood City, CA 94063 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Privacy and Confidentiality Notice: The information contained in this electronic mail message is intended for the named recipient(s) only. It may contain privileged and confidential information. If you are not an intended recipient, you must not copy, forward, distribute, or take any action in reliance on it. If you have received this electronic mail message in error, please notify the sender immediately. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 7:34:32 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from darkstar.umd.edu (darkstar.umd.edu [128.8.215.163]) by hub.freebsd.org (Postfix) with ESMTP id 01E4F37B422 for ; Tue, 24 Apr 2001 07:34:30 -0700 (PDT) (envelope-from bfoz@glue.umd.edu) Received: from glue.umd.edu (localhost [127.0.0.1]) by darkstar.umd.edu (8.11.3/8.11.3) with ESMTP id f3OEXpV10235; Tue, 24 Apr 2001 10:33:51 -0400 (EDT) (envelope-from bfoz@glue.umd.edu) Message-ID: <3AE58ECF.D608F290@glue.umd.edu> Date: Tue, 24 Apr 2001 10:33:51 -0400 From: Brandon Fosdick X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Warner Losh Cc: hackers@FreeBSD.ORG Subject: Re: Orinoco MiniPCI References: <3AE4C3CF.60F3BDFD@glue.umd.edu> <200104240505.f3O55m879851@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > > In message <3AE4C3CF.60F3BDFD@glue.umd.edu> Brandon Fosdick writes: > : A search of the archives revealed that PCI adapters for orinoco cards > : don't work yet. So I guess there's no hope of getting the MiniPCI card > : working either? > > Nope. > > : Does it work in -current? > > Nope. > > I'm working on it. > > Warner I just booted that laptop into win2k and noticed that the card is listed as being at Carbus Slot 0. Now I know why it doesn't work. :) Anything I can do to help? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 8: 7:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from silby.com (adam042-060.resnet.wisc.edu [146.151.42.60]) by hub.freebsd.org (Postfix) with ESMTP id 84C4D37B423 for ; Tue, 24 Apr 2001 08:07:46 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 4393 invoked by uid 1000); 24 Apr 2001 15:07:42 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 24 Apr 2001 15:07:42 -0000 Date: Tue, 24 Apr 2001 10:07:42 -0500 (CDT) From: Mike Silbersack To: Cc: Subject: Re: UFS block size vs. write speed In-Reply-To: <20010424113536.A61988@wit379119.student.utwente.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 24 Apr 2001, Niek Bergboer wrote: > On Mon, Apr 23, 2001 at 12:09:26PM -0500, Mike Silbersack wrote: > > On Mon, 23 Apr 2001, Niek Bergboer wrote: > > > I've implemented a quick hack on the BSD ftp-client: in the original > > > recv-file function data is read from a socket into a buffer, which is > > > then written to a file. I've mmap-ed the file, and rather than reading > > > from the socket into the buffer, I read directly from the socket into > > > the mmaped region. I use the MAP_SHARED and MAP_NOSYNC flags, and > > > especially the latter makes a huge difference. > > > > I seem to remember Matt Dillon saying that if you extend a file through > > mmap'd writes, it will become very fragmented. Check the archives for > > this mailing list during decemeber or so, I believe the thread had > > something to so with usenet servers. > > Yes, the file gets fragmented indeed because I first extend it using > ftruncate() and then mmap() it. The fragmentation gets especially bad > when the MAP_ASYNC flag is passed to mmap(). However, in order to get > a "write-cache"-like system I need to use MAP_ASYNC. Hm... mmap sounds like it'd be the best performer here, but clearly fixing the fragmentation issue is beyond the scope of the ftp testing. Perhaps there's a way to improve the concurrency of the network and disk I/O without needing mmap, though. Have you tried making a large circular buffer, perhaps 256K in size or so, from which you use non-blocking socket I/O to fill it, and the aio_* functions to write to disk? It would probably be more work than adding the use of mmap was, but it would be interesting to see the results. 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 Apr 24 8:55:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 7526E37B422 for ; Tue, 24 Apr 2001 08:55:09 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f3OFsk812884; Tue, 24 Apr 2001 09:54:46 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200104241554.f3OFsk812884@harmony.village.org> To: Lists Account Subject: Re: PCI -> PCMCIA Bridge Adapter Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Tue, 24 Apr 2001 15:22:07 +0200." References: Date: Tue, 24 Apr 2001 09:54:46 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Lists Account writes: : Just to say, I seem to have fbsd recognizing my pci cardbus bridge in : 4.3-RELEASE however, it doesnt pick up the orinoco card plugged into : there, is this because of bugs mentioned on the list so far or is this for : another reason? The 4.x code assumes that it is connected to the isa bus, while a cardbus bridge in the pci cards on a pci bus isn't. So we recognize it, but program it wrong. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 9:16:52 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 4C99A37B422; Tue, 24 Apr 2001 09:16:50 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3OGGoi07288; Tue, 24 Apr 2001 09:16:50 -0700 (PDT) Date: Tue, 24 Apr 2001 09:16:50 -0700 From: Alfred Perlstein To: "Brian F. Feldman" Cc: hackers@FreeBSD.ORG Subject: Re: Anyone know of RFMEM vm/sysv_shm.c-related races? Message-ID: <20010424091650.L1790@fw.wintelcom.net> References: <200104241207.f3OC7F159738@green.bikeshed.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104241207.f3OC7F159738@green.bikeshed.org>; from green@FreeBSD.ORG on Tue, Apr 24, 2001 at 08:07:14AM -0400 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Brian F. Feldman [010424 05:07] wrote: > In some way, using Linux LinuxThreads programs that use shared memory, I've > ended up with dozens of shared memory segments that reportedly still have 1 > attachment (which I'm really darn certain is impossible since I've killed > _everything_ in sight). I think something must have happened that for some > reason shmexit() was not called on process exit, vm_shm refcnt was increased > too many times, vm_shm refcnt was not decreased enough times... whatever the > case, there may be an old vmspace just floating around stranded, or just a > simple bug with vm_shm... > > Does anyone have any clues about races or weird issues in this area? It's > pretty exasperating to not be able to figure this one out. I don't > immediately see any obvious races after half an hour of searching (since it > appears all calls that can modify vmspace directly require Giant being held). sysv_shm registers atexit and atfork handlers, perhaps you can stick some debugging code in there? -- -Alfred Perlstein - [alfred@freebsd.org] Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 9:23:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 1549F37B423 for ; Tue, 24 Apr 2001 09:23:48 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3OGNk107441; Tue, 24 Apr 2001 09:23:46 -0700 (PDT) Date: Tue, 24 Apr 2001 09:23:46 -0700 From: Alfred Perlstein To: Alan Tegel Cc: hackers@FreeBSD.ORG Subject: Re: Question about Posix Threads Message-ID: <20010424092346.M1790@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from alan.tegel@openwave.com on Tue, Apr 24, 2001 at 07:29:21AM -0700 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Alan Tegel [010424 07:29] wrote: > How well does FreeBSD 4.3 do with Posix Threads? > > This is a question I posted to a news group. > > Hello. I work for a unix performance and capacity group. owever, we have > had some dismal performance from RedHat 6.2. The question that I would > like to know is how well does FreeBSD support Posix threads and is there > any caveats in perfromance and stability? Note, we have the ability to > push Unix (whatever version) to the extremes (very fun and very insane > job).... > > Any comments would be helpful. How is performance dismal under redhat? FreeBSD should do a really good job of running thousands of threads as long as you don't have too much disk IO since all the threads are multiplexed into a single process, if you have an IO intensive program FreeBSD threads will probably not help you all that much. There are plans on replacing the FreeBSD threads library with a multiplexed userland<->kernel scheme in the near future. -- -Alfred Perlstein - [alfred@freebsd.org] Represent yourself, show up at BABUG http://www.babug.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 9:33:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from oe-mp1.bizmailsrvcs.net (oe-mp1pub.managedmail.com [206.46.164.22]) by hub.freebsd.org (Postfix) with ESMTP id B5BCF37B422 for ; Tue, 24 Apr 2001 09:33:41 -0700 (PDT) (envelope-from alan.tegel@openwave.com) Received: from oe-ismta1.bizmailsrvcs.net ([206.46.164.26]) by oe-mp1.bizmailsrvcs.net (InterMail vM.5.01.02.00 201-253-122-103-101-20001108) with ESMTP id <20010424163311.WYS6169.oe-mp1.bizmailsrvcs.net@oe-ismta1.bizmailsrvcs.net>; Tue, 24 Apr 2001 11:33:11 -0500 Received: from tegela ([198.78.34.30]) by oe-ismta1.bizmailsrvcs.net (InterMail vM.5.01.02.00 201-253-122-103-101-20001108) with SMTP id <20010424163339.HQFQ6281.oe-ismta1.bizmailsrvcs.net@tegela>; Tue, 24 Apr 2001 11:33:39 -0500 From: "Alan Tegel" To: "Alfred Perlstein" Cc: Subject: RE: Question about Posix Threads Date: Tue, 24 Apr 2001 09:33:40 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <20010424092346.M1790@fw.wintelcom.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How we got to this question: ---------------------------- We have been using 5 Compaq 8500's running NT 4.0 using Loadrunner (Mercury Interactive) to test the load. The Linux box was barely able to hold the load, but it's support tool sar, (vm|mp)stat left a fellow engineer to be disgusted. So, I recompiled Apache on Solaris 8 on a 420R and he didn't have a problem. Since we have 4 Compaq 5500's available, we were looking at alternatives to what was initially installed. Test load of 1200/1500 http connections/sec Other engineers in the group started to ask question about how well FreeBSD handled Posix threads and what the limitations were. Since I opened my mouth, I said I would ask a few questions. And being a FreeBSD fan, I decided to push you guys.... The other alternatives were Linux and Solaris x86.... +-ADT -----Original Message----- From: Alfred Perlstein [mailto:bright@wintelcom.net] Sent: Tuesday, April 24, 2001 9:24 AM To: Alan Tegel Cc: hackers@FreeBSD.ORG Subject: Re: Question about Posix Threads * Alan Tegel [010424 07:29] wrote: > How well does FreeBSD 4.3 do with Posix Threads? > > This is a question I posted to a news group. > > Hello. I work for a unix performance and capacity group. owever, we have > had some dismal performance from RedHat 6.2. The question that I would > like to know is how well does FreeBSD support Posix threads and is there > any caveats in perfromance and stability? Note, we have the ability to > push Unix (whatever version) to the extremes (very fun and very insane > job).... > > Any comments would be helpful. How is performance dismal under redhat? FreeBSD should do a really good job of running thousands of threads as long as you don't have too much disk IO since all the threads are multiplexed into a single process, if you have an IO intensive program FreeBSD threads will probably not help you all that much. There are plans on replacing the FreeBSD threads library with a multiplexed userland<->kernel scheme in the near future. -- -Alfred Perlstein - [alfred@freebsd.org] Represent yourself, show up at BABUG http://www.babug.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 9:48:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 5940937B423 for ; Tue, 24 Apr 2001 09:48:23 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3OGmME08134; Tue, 24 Apr 2001 09:48:22 -0700 (PDT) Date: Tue, 24 Apr 2001 09:48:22 -0700 From: Alfred Perlstein To: Alan Tegel Cc: hackers@FreeBSD.ORG Subject: Re: Question about Posix Threads Message-ID: <20010424094822.O1790@fw.wintelcom.net> References: <20010424092346.M1790@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from alan.tegel@openwave.com on Tue, Apr 24, 2001 at 09:33:40AM -0700 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Alan Tegel [010424 09:33] wrote: > How we got to this question: > ---------------------------- > We have been using 5 Compaq 8500's running NT 4.0 using Loadrunner > (Mercury Interactive) to test the load. The Linux box was barely > able to hold the load, but it's support tool sar, (vm|mp)stat left a > fellow engineer to be disgusted. So, I recompiled Apache on > Solaris 8 on a 420R and he didn't have a problem. Since we have 4 > Compaq 5500's available, we were looking at alternatives to what > was initially installed. Test load of 1200/1500 http connections/sec > > Other engineers in the group started to ask question about how > well FreeBSD handled Posix threads and what the limitations were. > Since I opened my mouth, I said I would ask a few questions. And > being a FreeBSD fan, I decided to push you guys.... The other > alternatives were Linux and Solaris x86.... What version of apache are you using? Only apache 2.x uses threads, are you using apache 2.x? Well anyhow, it'd be interesting to see what happens when you try FreeBSD, be sure to keep me in the loop, I may be able to assist with some performance tuning tricks as I doubt FreeBSD will be able to handle the kind of load you want to throw at it out of the box. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 10: 2:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from oe-mp1.bizmailsrvcs.net (oe-mp1pub.managedmail.com [206.46.164.22]) by hub.freebsd.org (Postfix) with ESMTP id 1589F37B423 for ; Tue, 24 Apr 2001 10:02:22 -0700 (PDT) (envelope-from alan.tegel@openwave.com) Received: from oe-ismta1.bizmailsrvcs.net ([206.46.164.26]) by oe-mp1.bizmailsrvcs.net (InterMail vM.5.01.02.00 201-253-122-103-101-20001108) with ESMTP id <20010424170152.CDLS6169.oe-mp1.bizmailsrvcs.net@oe-ismta1.bizmailsrvcs.net>; Tue, 24 Apr 2001 12:01:52 -0500 Received: from tegela ([198.78.34.30]) by oe-ismta1.bizmailsrvcs.net (InterMail vM.5.01.02.00 201-253-122-103-101-20001108) with SMTP id <20010424170219.HRSQ6281.oe-ismta1.bizmailsrvcs.net@tegela>; Tue, 24 Apr 2001 12:02:19 -0500 From: "Alan Tegel" To: "Alfred Perlstein" Cc: , "Alan Tegel" Subject: RE: Question about Posix Threads Date: Tue, 24 Apr 2001 10:02:20 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <20010424094822.O1790@fw.wintelcom.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Any tuning tips for FreeBSD would be great. Our initial connections per sec we are aiming for is 6,000/secs. We will be pushing it much harder. We have three different load balancers available Big/IP, Alteon, and Web Director, that we may use to "pile"'m up behind the farm... We were running Redhat 6.2, Linux Kernel 2.2.14 The question about Posix threads came from an engineer... The threaded application we are running is one of our companies in-house applications. The messaging product we sell, is very scalable.... The designed scalability and performance into the product from the beginning.... Again any tuning tips would be awesome. What irritates me whenever I read the reviews from Linux they always "tweak" their kernel and subsystems while the leave you out-of-the-box..... All I can do is scream "Apple to Apples people" .... Thanks again guys for any and all info. +-ADT -----Original Message----- From: Alfred Perlstein [mailto:bright@wintelcom.net] Sent: Tuesday, April 24, 2001 9:48 AM To: Alan Tegel Cc: hackers@FreeBSD.ORG Subject: Re: Question about Posix Threads * Alan Tegel [010424 09:33] wrote: > How we got to this question: > ---------------------------- > We have been using 5 Compaq 8500's running NT 4.0 using Loadrunner > (Mercury Interactive) to test the load. The Linux box was barely > able to hold the load, but it's support tool sar, (vm|mp)stat left a > fellow engineer to be disgusted. So, I recompiled Apache on > Solaris 8 on a 420R and he didn't have a problem. Since we have 4 > Compaq 5500's available, we were looking at alternatives to what > was initially installed. Test load of 1200/1500 http connections/sec > > Other engineers in the group started to ask question about how > well FreeBSD handled Posix threads and what the limitations were. > Since I opened my mouth, I said I would ask a few questions. And > being a FreeBSD fan, I decided to push you guys.... The other > alternatives were Linux and Solaris x86.... What version of apache are you using? Only apache 2.x uses threads, are you using apache 2.x? Well anyhow, it'd be interesting to see what happens when you try FreeBSD, be sure to keep me in the loop, I may be able to assist with some performance tuning tricks as I doubt FreeBSD will be able to handle the kind of load you want to throw at it out of the box. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 11:21:24 2001 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 D3FB837B422; Tue, 24 Apr 2001 11:21:21 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id f3OILGl79257; Tue, 24 Apr 2001 11:21:16 -0700 (PDT) Date: Tue, 24 Apr 2001 11:21:15 -0700 (PDT) From: Doug White To: "David O'Brien" Cc: John Baldwin , Andrew Gallatin , , Mike Silbersack Subject: Re: x86-64 Hammer and IA64 Itainium In-Reply-To: <20010420023356.E84772@dragon.nuxi.com> Message-ID: 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 X-Loop: FreeBSD.ORG On Fri, 20 Apr 2001, David O'Brien wrote: > On Wed, Apr 18, 2001 at 12:51:17PM -0700, Doug White wrote: > > (Yes I know the emulator is ass-slow and a gigantic beast, but it does > > work, right?) > > The public simulator took 12 hours to get to the twirler of our boot > loader. I guess it would have booted the i386 kernel I was feeding it in > just under 2 weeks. This was on a 950MHz Athlon. I'll accept that as "unacceptably slow." :) 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 Tue Apr 24 11:45:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id DD8F037B422 for ; Tue, 24 Apr 2001 11:45:51 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f3OIjiG70721; Tue, 24 Apr 2001 11:45:44 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010424121231.28145.qmail@softhome.net> Date: Tue, 24 Apr 2001 11:45:05 -0700 (PDT) From: John Baldwin To: asr@softhome.net Subject: RE: Kernel compilation problems Cc: freebsd-hackers@FreeBSD.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 24-Apr-01 asr@softhome.net wrote: > > Hi, > > I always get a "Fatal trap 12: page fault while in kernel mode ... Virtual > addrees 0x0 .. blah blah ..." whenever I compile a new kernel. I have > access to 7 machines, 2 of which are AMD-K6-2, and the others are PIII-666 > Mhz machines, but all of them give me the same error. > > What could be my error ? > I can provide you with my config file. It's a NULL pointer dereference from the sounds of it. Can you provide a backtrace from ddb? -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "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 Tue Apr 24 12:11:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-27.dsl.lsan03.pacbell.net [63.207.60.27]) by hub.freebsd.org (Postfix) with ESMTP id 691A137B422 for ; Tue, 24 Apr 2001 12:11:30 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 46DE466DF6; Tue, 24 Apr 2001 12:11:30 -0700 (PDT) Date: Tue, 24 Apr 2001 12:11:30 -0700 From: Kris Kennaway To: Rich Morin Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: automated checking of Security Advisories Message-ID: <20010424121130.C89819@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ZwgA9U+XZDXt4+m+" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rdm@cfcl.com on Mon, Apr 23, 2001 at 10:27:22PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --ZwgA9U+XZDXt4+m+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 23, 2001 at 10:27:22PM -0700, Rich Morin wrote: > I have a partly-baked idea regarding the security advisories that > I see on freebsd-announce. While I applaud the intent of these > notices, I wonder if some sort of automation might not make them a > bit more useful. >=20 > Let's say we encoded the advisories in XML and put them up for HTTP > access, encoding the version characterization information (e.g., > Affects) in some mechanically-usable fashion. Then, a Perl script > on the local machine could look up the advisories, run the tests, > and report the results, all without compromising the privacy of the > local system. Heh..I just sent off an email to someone on -stable suggesting this as a project. If you're interested you and he should work together; Roman Shterenzon was also looking at the project a while back but seems to have been sidetracked. My take on the problem is that XML is overkill and will only lead to tears: the problem we're trying to solve here is describing a range of affected package versions, which IMO can be done easily enough by just sticking a regex or glob in the advisory header and matching on that. pkg_version may be a logical place to stick this functionality since it already has code for parsing version numbers. Kris --ZwgA9U+XZDXt4+m+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE65c/hWry0BWjoQKURAlBaAKDN1DHGcl3a/4SZXEkbNBIjoToL/QCgxBpp 1PpZEOKDx97rWSSu6oezcNs= =KLZj -----END PGP SIGNATURE----- --ZwgA9U+XZDXt4+m+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 12:22:18 2001 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 3023237B423 for ; Tue, 24 Apr 2001 12:22:01 -0700 (PDT) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.11.3/8.11.3) with SMTP id f3OJM5w20392; Tue, 24 Apr 2001 15:22:09 -0400 (EDT) (envelope-from arr@watson.org) Date: Tue, 24 Apr 2001 15:22:05 -0400 (EDT) From: "Andrew R. Reiter" To: Kris Kennaway Cc: Rich Morin , freebsd-hackers@FreeBSD.ORG Subject: Re: automated checking of Security Advisories In-Reply-To: <20010424121130.C89819@xor.obsecurity.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 24 Apr 2001, Kris Kennaway wrote: > > pkg_version may be a logical place to stick this functionality since > it already has code for parsing version numbers. Ya... I think it would be wise to somehow include validating of the security advisories too when doing these checks. Im not sure how this tool will know which packages are vulnerable (Im assuming a config file of sorts), but it would be a smart thing to include some pgp key validation of each of the advisory vulns the tool is looking for. Just a small thing... :-) > > Kris > *-------------................................................. | Andrew R. Reiter | arr@fledge.watson.org | "It requires a very unusual mind | to undertake the analysis of the obvious" -- A.N. Whitehead To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 12:28: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-27.dsl.lsan03.pacbell.net [63.207.60.27]) by hub.freebsd.org (Postfix) with ESMTP id 039C737B422 for ; Tue, 24 Apr 2001 12:27:59 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 72CF366DF6; Tue, 24 Apr 2001 12:27:58 -0700 (PDT) Date: Tue, 24 Apr 2001 12:27:58 -0700 From: Kris Kennaway To: "Andrew R. Reiter" Cc: Kris Kennaway , Rich Morin , freebsd-hackers@FreeBSD.ORG Subject: Re: automated checking of Security Advisories Message-ID: <20010424122758.A90366@xor.obsecurity.org> References: <20010424121130.C89819@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from arr@watson.org on Tue, Apr 24, 2001 at 03:22:05PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 24, 2001 at 03:22:05PM -0400, Andrew R. Reiter wrote: > On Tue, 24 Apr 2001, Kris Kennaway wrote: >=20 > >=20 > > pkg_version may be a logical place to stick this functionality since > > it already has code for parsing version numbers. >=20 > Ya... I think it would be wise to somehow include validating of the > security advisories too when doing these checks. Im not sure how this > tool will know which packages are vulnerable (Im assuming a config file of > sorts), but it would be a smart thing to include some pgp key validation > of each of the advisory vulns the tool is looking for. Each of the security advisories is signed as they go out, so if the "affected versions" regexp is in the signed copy, they can just check the signature using whichever PGP utility the script knows about, which may be installed. This is another reason why having a third-party modifying the advisory to mark it up into XML is a bad idea; you lose the integrity protection from the PGP signature. Kris --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE65dO9Wry0BWjoQKURAgdzAJ4nJSUFcM89CBIzPvo92wbJRsrcuACfSjLE bKc+8RXO9nJ9FAOQf5nCatg= =faDI -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 13: 5:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id CDE4937B42C for ; Tue, 24 Apr 2001 13:05:46 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3OK5ks13732 for hackers@freebsd.org; Tue, 24 Apr 2001 13:05:46 -0700 (PDT) Date: Tue, 24 Apr 2001 13:05:46 -0700 From: Alfred Perlstein To: hackers@freebsd.org Subject: vmware on freebsd for fast booting for devel. Message-ID: <20010424130546.V1790@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG So I've got this really elite machinery here to test on, problem is that booting takes about 2 minutes each time I make a bad kernel, soooo... Anyone using anything like vmware in order to have a rapid reboot/test cycle for low level FreeBSD kernel coding? How fast is it to restart the vmware environent and do I stand a chance in hell of getting it working on FreeBSD-current? thanks, -- -Alfred Perlstein - [alfred@freebsd.org] Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 14:44: 5 2001 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 6CB1D37B422 for ; Tue, 24 Apr 2001 14:44:01 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) 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 RAA05893; Tue, 24 Apr 2001 17:43:58 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f3OLhSa34636; Tue, 24 Apr 2001 17:43:28 -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: <15077.62336.317751.756087@grasshopper.cs.duke.edu> Date: Tue, 24 Apr 2001 17:43:28 -0400 (EDT) To: Alfred Perlstein Cc: hackers@freebsd.org Subject: Re: vmware on freebsd for fast booting for devel. In-Reply-To: <20010424130546.V1790@fw.wintelcom.net> References: <20010424130546.V1790@fw.wintelcom.net> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein writes: > So I've got this really elite machinery here to test on, problem is that > booting takes about 2 minutes each time I make a bad kernel, soooo... Do you mean that vmware boots so slowly that the extra reboot cycle required to install the next test kernel is painfully slow? One thing to try to speedup vmware boots would be getting rid of the spinner in libstand -- vwware's dos-mode console i/o is painfully slow. The best way to cut the reboot wait time down is to network boot. Unfortunately, VMware's AMD PCInet card doesn't support PXE. Somebody here has been using something called "grub" (http://www.gnu.org/software/grub/) Grub doesn't support FreeBSD very well (eg, it can't set the root device, set hints, etc). I think he was hacking grub to add those features, but I don't know how far he got...BTW, grub has no spinner. > Anyone using anything like vmware in order to have a rapid reboot/test > cycle for low level FreeBSD kernel coding? How fast is it to I've actually found real hardware to be much faster than vmware in most cases. My dream quick-reboot box has no scsi disks, can skip the memory test, has a serial console & loads its kernels via pxe. Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 14:53:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 616A437B423 for ; Tue, 24 Apr 2001 14:53:21 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3OLrI616923; Tue, 24 Apr 2001 14:53:18 -0700 (PDT) Date: Tue, 24 Apr 2001 14:53:18 -0700 From: Alfred Perlstein To: Andrew Gallatin Cc: hackers@freebsd.org Subject: Re: vmware on freebsd for fast booting for devel. Message-ID: <20010424145318.Z1790@fw.wintelcom.net> References: <20010424130546.V1790@fw.wintelcom.net> <15077.62336.317751.756087@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15077.62336.317751.756087@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Tue, Apr 24, 2001 at 05:43:28PM -0400 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Andrew Gallatin [010424 14:44] wrote: > > Alfred Perlstein writes: > > So I've got this really elite machinery here to test on, problem is that > > booting takes about 2 minutes each time I make a bad kernel, soooo... > > Do you mean that vmware boots so slowly that the extra reboot cycle > required to install the next test kernel is painfully slow? I acutally haven't tried vmware yet, I was hoping to utilize the lists to find out others' experiences wrt using vmware like I wish to. > One thing to try to speedup vmware boots would be getting rid of the > spinner in libstand -- vwware's dos-mode console i/o is painfully > slow. > > The best way to cut the reboot wait time down is to network boot. > Unfortunately, VMware's AMD PCInet card doesn't support PXE. Somebody > here has been using something called "grub" > (http://www.gnu.org/software/grub/) > > Grub doesn't support FreeBSD very well (eg, it can't set the root > device, set hints, etc). I think he was hacking grub to add those > features, but I don't know how far he got...BTW, grub has no spinner. > > > Anyone using anything like vmware in order to have a rapid reboot/test > > cycle for low level FreeBSD kernel coding? How fast is it to > > I've actually found real hardware to be much faster than vmware in > most cases. My dream quick-reboot box has no scsi disks, can skip the > memory test, has a serial console & loads its kernels via pxe. Yeah, where do i buy one? :) -- -Alfred Perlstein - [alfred@freebsd.org] Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 15: 1: 0 2001 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 3A95037B423 for ; Tue, 24 Apr 2001 15:00:57 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) 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 SAA06278; Tue, 24 Apr 2001 18:00:53 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f3OM0Nk34672; Tue, 24 Apr 2001 18:00:23 -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: <15077.63351.26014.849385@grasshopper.cs.duke.edu> Date: Tue, 24 Apr 2001 18:00:23 -0400 (EDT) To: Alfred Perlstein Cc: hackers@freebsd.org Subject: Re: vmware on freebsd for fast booting for devel. In-Reply-To: <20010424145318.Z1790@fw.wintelcom.net> References: <20010424130546.V1790@fw.wintelcom.net> <15077.62336.317751.756087@grasshopper.cs.duke.edu> <20010424145318.Z1790@fw.wintelcom.net> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein writes: > * Andrew Gallatin [010424 14:44] wrote: > > > > Alfred Perlstein writes: > > > So I've got this really elite machinery here to test on, problem is that > > > booting takes about 2 minutes each time I make a bad kernel, soooo... > > > > Do you mean that vmware boots so slowly that the extra reboot cycle > > required to install the next test kernel is painfully slow? > > I acutally haven't tried vmware yet, I was hoping to utilize the > lists to find out others' experiences wrt using vmware like I > wish to. Ah.. the "2 minutes" above made it sound like you were already using it. If you do start to use it (running -current as a guest), make sure to use the i386 path for atomic_cmpset_int() unconditionally -- somehow the cmpxchgl is finding a very slow path through the emulator. > > One thing to try to speedup vmware boots would be getting rid of the > > spinner in libstand -- vwware's dos-mode console i/o is painfully > > slow. > > > > The best way to cut the reboot wait time down is to network boot. > > Unfortunately, VMware's AMD PCInet card doesn't support PXE. Somebody > > here has been using something called "grub" > > (http://www.gnu.org/software/grub/) > > > > Grub doesn't support FreeBSD very well (eg, it can't set the root > > device, set hints, etc). I think he was hacking grub to add those > > features, but I don't know how far he got...BTW, grub has no spinner. > > > > > Anyone using anything like vmware in order to have a rapid reboot/test > > > cycle for low level FreeBSD kernel coding? How fast is it to > > > > I've actually found real hardware to be much faster than vmware in > > most cases. My dream quick-reboot box has no scsi disks, can skip the > > memory test, has a serial console & loads its kernels via pxe. > > Yeah, where do i buy one? Heh. Most Dell i810 based Optiplexes boot quickly. You just need to throw an fxp in there for pxe. I'm sure other, cheaper, boxes do just as well. Compared to the full-price vmware, it would probably be quicker to buy a used p6.. Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 15: 2:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from oahu.WURLDLINK.NET (oahu.WURLDLINK.NET [216.235.52.1]) by hub.freebsd.org (Postfix) with ESMTP id 03DCB37B422 for ; Tue, 24 Apr 2001 15:02:42 -0700 (PDT) (envelope-from vince@oahu.WURLDLINK.NET) Received: from localhost (vince@localhost) by oahu.WURLDLINK.NET (8.9.3/8.9.3) with ESMTP id MAA42454; Tue, 24 Apr 2001 12:02:18 -1000 (HST) (envelope-from vince@oahu.WURLDLINK.NET) Date: Tue, 24 Apr 2001 12:02:18 -1000 (HST) From: Vincent Poy To: Andrew Gallatin Cc: Alfred Perlstein , Subject: Re: vmware on freebsd for fast booting for devel. In-Reply-To: <15077.63351.26014.849385@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Speaking about vmware, how much of the performance is a vm supposed to give compared to the actual processor in a stand-alone machine? Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 16: 0:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from jhs.muc.de (jhs.muc.de [193.149.49.84]) by hub.freebsd.org (Postfix) with ESMTP id D767337B422 for ; Tue, 24 Apr 2001 16:00:26 -0700 (PDT) (envelope-from jhs@jhs.muc.de) Received: (from jhs@localhost) by jhs.muc.de (8.11.0/8.11.0) id f3ON2Rp62280; Tue, 24 Apr 2001 23:02:27 GMT (envelope-from jhs) Date: Tue, 24 Apr 2001 23:02:27 GMT Message-Id: <200104242302.f3ON2Rp62280@jhs.muc.de> To: freebsd-hackers@freebsd.org Subject: no crypto from cvs export -r RELENG_4_3_0_RELEASE src From: "Julian Stacey" Organization: Vector Systems Ltd - Munich Unix & Internet consultancy X-Web: http://www.jhs.muc.de http://bim.bsn.com/~jhs/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Does the cvs tree need some tags added ? Or do I need a another cvs command ? Bug seen using a 4.2-RELEASE generic system: cat /usr/cvs/.ctm_status cvs-cur 7246 cvs export -r RELENG_4_3_0_RELEASE src cd /usr/src; make buildkernel [ or cd /usr/src/sys/i386/conf ; config GENERIC cd ../../compile/GENERIC ; make depend ] Fails with: perl5 /usr/src/sys/kern/makeops.pl -h /usr/src/sys/isa/isa_if.m make: don't know how to make /usr/src/sys/crypto/rc4/rc4.c. Stop Tried but no help: cvs -R export -r HEAD crypto find . -type d -name rc4 ./crypto/openssl/crypto/rc4 cd crypto/openssl ; mv crypto /usr/src/sys PS A friend running current from cvsup doesnt see this. - Julian Stacey Unix Consultant - Munich Germany http://bim.bsn.com/~jhs/ Like Linux ? Then also look at FreeBSD with its 5000+ packages ! Ihr Rauchen => mein allergischer Kopfschmerz ! Kau/Schnupftabak probieren ! Vintage Computer Fest Europa 28&9 Apr 2001 http://www.vcfe.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 17: 1:14 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from green.bikeshed.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id A675237B422; Tue, 24 Apr 2001 17:01:11 -0700 (PDT) (envelope-from green@green.bikeshed.org) Received: from localhost (green@localhost) by green.bikeshed.org (8.11.2/8.11.1) with ESMTP id f3P019i64830; Tue, 24 Apr 2001 20:01:10 -0400 (EDT) (envelope-from green@green.bikeshed.org) Message-Id: <200104250001.f3P019i64830@green.bikeshed.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Alfred Perlstein Cc: hackers@FreeBSD.ORG Subject: Re: Anyone know of RFMEM vm/sysv_shm.c-related races? In-Reply-To: Message from Alfred Perlstein of "Tue, 24 Apr 2001 09:16:50 PDT." <20010424091650.L1790@fw.wintelcom.net> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 24 Apr 2001 20:01:08 -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > * Brian F. Feldman [010424 05:07] wrote: > > In some way, using Linux LinuxThreads programs that use shared memory, I've > > ended up with dozens of shared memory segments that reportedly still have 1 > > attachment (which I'm really darn certain is impossible since I've killed > > _everything_ in sight). I think something must have happened that for some > > reason shmexit() was not called on process exit, vm_shm refcnt was increased > > too many times, vm_shm refcnt was not decreased enough times... whatever the > > case, there may be an old vmspace just floating around stranded, or just a > > simple bug with vm_shm... > > > > Does anyone have any clues about races or weird issues in this area? It's > > pretty exasperating to not be able to figure this one out. I don't > > immediately see any obvious races after half an hour of searching (since it > > appears all calls that can modify vmspace directly require Giant being held). > > sysv_shm registers atexit and atfork handlers, perhaps you can stick > some debugging code in there? BTW, it's easy enough to determine by a simple "cat /proc/*/map | grep [addr]" on the %p address from shmsegs[].shm_internal->'s object reference whether the segment is truly abandoned or not. I have a ton of these, which are absolutely certainly abandoned: m 15335469 0 --rwarwarwa green operator green operator 1 391168 37123 7674121:47:32 21:48:33 21:47:32 m 8060974 0 --rwarwarwa green operator green operator 1 483840 53214 7674122:16:44 22:17:46 22:16:44 m 4390959 0 --rwarwarwa green operator green operator 1 483840 53214 7674122:16:44 22:17:46 22:16:44 m 1441840 0 --rwarwarwa green operator green operator 1 483840 53214 7674122:16:44 22:17:46 22:16:44 etc. Has anyone else at least experienced this? I'm happy it's not a memory leak, but something definitely isn't calling shmexit() when it should be or calling shmfork() when it shouldn't be. -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@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 Apr 24 17:20:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dayspring.firedrake.org (dayspring.firedrake.org [195.82.105.251]) by hub.freebsd.org (Postfix) with ESMTP id BE5BD37B423; Tue, 24 Apr 2001 17:20:45 -0700 (PDT) (envelope-from float@firedrake.org) Received: from float by dayspring.firedrake.org with local (Exim 3.12 #1 (Debian)) id 14sD31-0001H3-00; Wed, 25 Apr 2001 01:20:47 +0100 Date: Wed, 25 Apr 2001 01:20:47 +0100 To: "Brian F. Feldman" Cc: Alfred Perlstein , hackers@FreeBSD.ORG Subject: Re: Anyone know of RFMEM vm/sysv_shm.c-related races? Message-ID: <20010425012047.A4841@firedrake.org> References: <200104250001.f3P019i64830@green.bikeshed.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104250001.f3P019i64830@green.bikeshed.org>; from green@FreeBSD.ORG on Tue, Apr 24, 2001 at 08:01:08PM -0400 From: void Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Apr 24, 2001 at 08:01:08PM -0400, Brian F. Feldman wrote: > > Has anyone else at least experienced this? I'm pretty sure I have, on 4.2-R or shortly later, but the fellow who was reporting it to me never bothered to pare his code down to a good test case, and I'm not at that job any more. (Anyway, the machines in question were since sold off along with the business unit they belonged to.) Not very useful, I'm afraid. Sorry. -- Ben "An art scene of delight I created this to be ..." -- Sun Ra To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 17:37: 2 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-27.dsl.lsan03.pacbell.net [63.207.60.27]) by hub.freebsd.org (Postfix) with ESMTP id 2D0B937B424 for ; Tue, 24 Apr 2001 17:36:58 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 935EB66DF6; Tue, 24 Apr 2001 17:36:57 -0700 (PDT) Date: Tue, 24 Apr 2001 17:36:57 -0700 From: Kris Kennaway To: Julian Stacey Cc: freebsd-hackers@freebsd.org Subject: Re: no crypto from cvs export -r RELENG_4_3_0_RELEASE src Message-ID: <20010424173657.A94868@xor.obsecurity.org> References: <200104242302.f3ON2Rp62280@jhs.muc.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104242302.f3ON2Rp62280@jhs.muc.de>; from jhs@jhs.muc.de on Tue, Apr 24, 2001 at 11:02:27PM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 24, 2001 at 11:02:27PM +0000, Julian Stacey wrote: > Does the cvs tree need some tags added ? Or do I need a another cvs comm= and ? >=20 > Bug seen using a 4.2-RELEASE generic system: > cat /usr/cvs/.ctm_status > cvs-cur 7246 > cvs export -r RELENG_4_3_0_RELEASE src > cd /usr/src; make buildkernel > [ or cd /usr/src/sys/i386/conf ; config GENERIC > cd ../../compile/GENERIC ; make depend ] > Fails with: > perl5 /usr/src/sys/kern/makeops.pl -h /usr/src/sys/isa/isa_if.m > make: don't know how to make /usr/src/sys/crypto/rc4/rc4.c. Stop I it looks like you're not starting from a repo which includes the equivalent of the src-sys-crypto cvsup collection (src/sys/crypto). I have no idea which CTM collection this is part of. Looks like this is required for GENERIC thesedays (but could easily be removed if you just comment out whatever device that is, probably a wireless ethernet card or something). Kris --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE65hwpWry0BWjoQKURAkloAKDNcQ4OV7J9hIIuovYU1Ghi8BAZ5wCffKG7 73wPY6KifdlTv6bjTJ1iv5g= =3ES7 -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 19: 3:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ambrisko.com (adsl-216-103-208-74.dsl.snfc21.pacbell.net [216.103.208.74]) by hub.freebsd.org (Postfix) with ESMTP id 3FC6937B422 for ; Tue, 24 Apr 2001 19:03:41 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.11.3/8.11.2) id f3P22xw25939; Tue, 24 Apr 2001 19:02:59 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200104250202.f3P22xw25939@ambrisko.com> Subject: Re: vmware on freebsd for fast booting for devel. In-Reply-To: <15077.62336.317751.756087@grasshopper.cs.duke.edu> "from Andrew Gallatin at Apr 24, 2001 05:43:28 pm" To: Andrew Gallatin Date: Tue, 24 Apr 2001 19:02:59 -0700 (PDT) Cc: Alfred Perlstein , hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andrew Gallatin writes: | | Alfred Perlstein writes: | > So I've got this really elite machinery here to test on, problem is that | > booting takes about 2 minutes each time I make a bad kernel, soooo... | | Do you mean that vmware boots so slowly that the extra reboot cycle | required to install the next test kernel is painfully slow? | | One thing to try to speedup vmware boots would be getting rid of the | spinner in libstand -- vwware's dos-mode console i/o is painfully | slow. | | The best way to cut the reboot wait time down is to network boot. | Unfortunately, VMware's AMD PCInet card doesn't support PXE. Somebody | here has been using something called "grub" | (http://www.gnu.org/software/grub/) | | Grub doesn't support FreeBSD very well (eg, it can't set the root | device, set hints, etc). I think he was hacking grub to add those | features, but I don't know how far he got...BTW, grub has no spinner. Why not just use EtherBoot? /usr/ports/net/etherboot It's supports the AMD chip and works with vmware. Use Julian nullmodem driver and connect up a serial console & kgdb session and you are all set. Blow kernel chunks and just reset vmware and away you go. I NFS mount the root filesystem. Actually what I do since sometimes I work on drivers is netboot a slow lunch box machine of my laptop and if it dies just press reset and netboot it again. I build the kernels on the laptop. Another feature of Etherboot is the built in menu capability so you can select from a list of kernels. BTW grub uses parts of Etherboot for their netbooting. Ironically Etherboot started from FreeBSD's netboot to boot Linux and then I added FreeBSD back in. If you want to try an Etherboot floppy image try http://rom-o-matic.net/ Just remember to go into Configure and enable IMAGE_FREEBSD & ELF_IMAGE You can select serial, vga or both consoles. Then point vmware at the floppy image and boot. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 19: 9:51 2001 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 7F4CB37B423 for ; Tue, 24 Apr 2001 19:09:48 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) 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 WAA10101; Tue, 24 Apr 2001 22:09:47 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f3P29HI34973; Tue, 24 Apr 2001 22:09:17 -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: <15078.12749.768216.453625@grasshopper.cs.duke.edu> Date: Tue, 24 Apr 2001 22:09:17 -0400 (EDT) To: Doug Ambrisko Cc: hackers@FreeBSD.ORG Subject: Re: vmware on freebsd for fast booting for devel. In-Reply-To: <200104250202.f3P22xw25939@ambrisko.com> References: <15077.62336.317751.756087@grasshopper.cs.duke.edu> <200104250202.f3P22xw25939@ambrisko.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Ambrisko writes: > | > | Grub doesn't support FreeBSD very well (eg, it can't set the root > | device, set hints, etc). I think he was hacking grub to add those > | features, but I don't know how far he got...BTW, grub has no spinner. > > Why not just use EtherBoot? Simple ignorance. I'll pass that pointer along to the person here who was hacking with VMware. Thanks! Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 19:20:58 2001 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 AF06737B423 for ; Tue, 24 Apr 2001 19:20:55 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) 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 WAA10282; Tue, 24 Apr 2001 22:20:54 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f3P2KO434995; Tue, 24 Apr 2001 22:20:24 -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: <15078.13416.797304.246030@grasshopper.cs.duke.edu> Date: Tue, 24 Apr 2001 22:20:24 -0400 (EDT) To: Vincent Poy Cc: Subject: Re: vmware on freebsd for fast booting for devel. In-Reply-To: References: <15077.63351.26014.849385@grasshopper.cs.duke.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Vincent Poy writes: > Speaking about vmware, how much of the performance is a vm > supposed to give compared to the actual processor in a stand-alone > machine? It depends on what metric one uses to measure performance. Boots (loading kernel) with a graphics console are painfully slow, like 5-10% of native speed. CPU bound programs run at near-native speeds. I/O bound jobs are much slower. Memory is a very important factor -- 128MB or less is too little to run VMware at a reasonable speed. And to conserve memory, it really helps to use a "plain" disk rather than using a disk file. This entails vmware doing I/O to a raw disk partition rather than to a file and reduces memory use by eliminating double caching of data by the host and guest OSes. FWIW, my old 300MHz PII (128MB ram, disk file) was nearly unusable. My wife's 400MHz laptop (192MB ram, plain disk) is fairly decent. My new 1.2GHz Tbird (1GB ram, plain disk) feels quite fast. This is for my workload, which is typically an occasional boot into Windows. Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 20:11:52 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ambrisko.com (adsl-216-103-208-74.dsl.snfc21.pacbell.net [216.103.208.74]) by hub.freebsd.org (Postfix) with ESMTP id 9963737B422 for ; Tue, 24 Apr 2001 20:11:50 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.11.3/8.11.2) id f3P3BJs26315; Tue, 24 Apr 2001 20:11:19 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200104250311.f3P3BJs26315@ambrisko.com> Subject: Re: vmware on freebsd for fast booting for devel. In-Reply-To: <15078.12749.768216.453625@grasshopper.cs.duke.edu> "from Andrew Gallatin at Apr 24, 2001 10:09:17 pm" To: Andrew Gallatin Date: Tue, 24 Apr 2001 20:11:19 -0700 (PDT) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andrew Gallatin writes: | | Doug Ambrisko writes: | > | | > | Grub doesn't support FreeBSD very well (eg, it can't set the root | > | device, set hints, etc). I think he was hacking grub to add those | > | features, but I don't know how far he got...BTW, grub has no spinner. | > | > Why not just use EtherBoot? | | Simple ignorance. | | I'll pass that pointer along to the person here who was hacking with | VMware. If they have any questions send me a note. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 21:41:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29]) by hub.freebsd.org (Postfix) with SMTP id 931EC37B422 for ; Tue, 24 Apr 2001 21:41:19 -0700 (PDT) (envelope-from julian@elischer.org) Received: (qmail 4346 invoked by uid 666); 25 Apr 2001 04:44:25 -0000 Received: from i188-063.nv.iinet.net.au (HELO elischer.org) (203.59.188.63) by mail.m.iinet.net.au with SMTP; 25 Apr 2001 04:44:25 -0000 Message-ID: <3AE65536.56502D52@elischer.org> Date: Tue, 24 Apr 2001 21:40:22 -0700 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Alfred Perlstein Cc: hackers@freebsd.org Subject: Re: vmware on freebsd for fast booting for devel. References: <20010424130546.V1790@fw.wintelcom.net> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > > So I've got this really elite machinery here to test on, problem is that > booting takes about 2 minutes each time I make a bad kernel, soooo... > > Anyone using anything like vmware in order to have a rapid reboot/test > cycle for low level FreeBSD kernel coding? How fast is it to > restart the vmware environent and do I stand a chance in hell of > getting it working on FreeBSD-current? I do this all the time. If you use the nmdm driver you can run the vm machine under gdb and single step it etc. however it is not very fast.. > > thanks, > -- > -Alfred Perlstein - [alfred@freebsd.org] > Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 21:47:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 1866E37B440 for ; Tue, 24 Apr 2001 21:47:32 -0700 (PDT) (envelope-from dima@unixfreak.org) Received: from spike.unixfreak.org (spike [63.198.170.139]) by bazooka.unixfreak.org (Postfix) with ESMTP id B0D7A3E2A for ; Tue, 24 Apr 2001 21:47:31 -0700 (PDT) To: hackers@freebsd.org Subject: allscreens_flags for kbdcontrol (patch) Date: Tue, 24 Apr 2001 21:47:31 -0700 From: Dima Dorfman Message-Id: <20010425044731.B0D7A3E2A@bazooka.unixfreak.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The attached patch adds an rc.conf option, allscreenskbd_flags, which does the same thing as allscreens_flags except it runs kbdcontrol instead of vidcontrol. I'm not really sure why these programs were separated, but that's another story. This patch allows one to stick 'allscreenskbd_flags="-h 200"' in rc.conf and automatically have the scrollback buffer size set to 200 lines for all the virtual terminals. Comments? Thanks, Dima Dorfman dima@unixfreak.org Index: rc.syscons =================================================================== RCS file: /st/src/FreeBSD/src/etc/rc.syscons,v retrieving revision 1.1 diff -u -r1.1 rc.syscons --- rc.syscons 2001/01/09 22:28:17 1.1 +++ rc.syscons 2001/04/25 03:55:46 @@ -173,4 +173,13 @@ done fi +# set this mode for all virtual screens, but use kbdcontrol +# +if [ -n "${allscreenskbd_flags}" ]; then + echo -n ' allscreenskbd' + for ttyv in /dev/ttyv*; do + kbdcontrol ${allscreenskbd_flags} < ${ttyv} > ${ttyv} 2>&1 + done +fi + echo '.' Index: defaults/rc.conf =================================================================== RCS file: /st/src/FreeBSD/src/etc/defaults/rc.conf,v retrieving revision 1.99 diff -u -r1.99 rc.conf --- defaults/rc.conf 2001/04/04 16:48:56 1.99 +++ defaults/rc.conf 2001/04/25 03:55:47 @@ -293,6 +293,7 @@ moused_port="/dev/psm0" # Set to your mouse port. moused_flags="" # Any additional flags to moused. allscreens_flags="" # Set this vidcontrol mode for all virtual screens +allscreenskbd_flags="" # Set this kbdcontrol mode for all virtual screens ############################################################## To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Tue Apr 24 22:52:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from security.za.net (security.za.net [196.2.146.22]) by hub.freebsd.org (Postfix) with ESMTP id 2775637B424 for ; Tue, 24 Apr 2001 22:52:22 -0700 (PDT) (envelope-from lists@security.za.net) Received: from localhost (lists@localhost) by security.za.net (8.9.3/8.9.3) with ESMTP id HAA88802 for ; Wed, 25 Apr 2001 07:52:13 +0200 (SAST) (envelope-from lists@security.za.net) Date: Wed, 25 Apr 2001 07:52:13 +0200 (SAST) From: Lists Account To: freebsd-hackers@freebsd.org Subject: No route to host problems on 5.0-CURRENT Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi All, Just hoping someone can help me out with a bit of a problem, I cvsupped one of my boxes from 4.3-RELEASE to 5.0-CURRENT last night in an effort to test some things under 5.0, and since then even with a straight GENERIC kernel build my machine gives me a no route to host error trying to access anything including my gateway, which is definatly up and functioning. And arp -a call shows that my gateway arp address is "incomplete", now Im wondering if there is something left out of my kernel build or if there is some other problem I can possibly resolve. Any help would be MUCH appreciated Many Thanks Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 0:14:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from onizuka.vmunix.org (onizuka.vmunix.org [194.221.152.19]) by hub.freebsd.org (Postfix) with ESMTP id 2701337B422 for ; Wed, 25 Apr 2001 00:14:31 -0700 (PDT) (envelope-from torstenb@vmunix.org) Received: from localhost (1072 bytes) by onizuka.vmunix.org via sendmail with stdio (sender: ) (ident using unix) id for ; Wed, 25 Apr 2001 09:14:31 +0200 (CEST) Message-Id: Subject: Re: no crypto from cvs export -r RELENG_4_3_0_RELEASE src In-Reply-To: <20010424173657.A94868@xor.obsecurity.org> "from Kris Kennaway at Apr 24, 2001 05:36:57 pm" To: Kris Kennaway Date: Wed, 25 Apr 2001 09:14:31 +0200 (CEST) Cc: Julian Stacey , freebsd-hackers@freebsd.org Reply-To: torstenb@vmunix.org From: torstenb@FreeBSD.org (Torsten Blum) X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kris Kennaway wrote: > I it looks like you're not starting from a repo which includes the > equivalent of the src-sys-crypto cvsup collection (src/sys/crypto). I > have no idea which CTM collection this is part of. It should be part of cvs-cur. It's always been part of it and it is included in the latest start delta (cvs-cur.7200xEmpty.gz). I've just been biten by this and send Chuck a mail - but no answer yet. -tb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 2: 2:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from oahu.WURLDLINK.NET (oahu.WURLDLINK.NET [216.235.52.1]) by hub.freebsd.org (Postfix) with ESMTP id E067337B42C for ; Wed, 25 Apr 2001 02:02:50 -0700 (PDT) (envelope-from vince@oahu.WURLDLINK.NET) Received: from localhost (vince@localhost) by oahu.WURLDLINK.NET (8.9.3/8.9.3) with ESMTP id XAA49778; Tue, 24 Apr 2001 23:02:44 -1000 (HST) (envelope-from vince@oahu.WURLDLINK.NET) Date: Tue, 24 Apr 2001 23:02:43 -1000 (HST) From: Vincent Poy To: Andrew Gallatin Cc: Subject: Re: vmware on freebsd for fast booting for devel. In-Reply-To: <15078.13416.797304.246030@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 24 Apr 2001, Andrew Gallatin wrote: > Vincent Poy writes: > > Speaking about vmware, how much of the performance is a vm > > supposed to give compared to the actual processor in a stand-alone > > machine? > > It depends on what metric one uses to measure performance. Boots > (loading kernel) with a graphics console are painfully slow, like > 5-10% of native speed. CPU bound programs run at near-native speeds. > I/O bound jobs are much slower. > > Memory is a very important factor -- 128MB or less is too little to > run VMware at a reasonable speed. And to conserve memory, it really > helps to use a "plain" disk rather than using a disk file. This > entails vmware doing I/O to a raw disk partition rather than to a file > and reduces memory use by eliminating double caching of data by the > host and guest OSes. > > FWIW, my old 300MHz PII (128MB ram, disk file) was nearly unusable. > My wife's 400MHz laptop (192MB ram, plain disk) is fairly decent. My > new 1.2GHz Tbird (1GB ram, plain disk) feels quite fast. This is for > my workload, which is typically an occasional boot into Windows. Interesting. What happens if it's like the reverse where one runs FreeBSD under vmware from Windows2000? Since 5-10% seems to be really slow. Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 2:10:39 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from riker.skynet.be (riker.skynet.be [195.238.3.132]) by hub.freebsd.org (Postfix) with ESMTP id 8185C37B422 for ; Wed, 25 Apr 2001 02:10:34 -0700 (PDT) (envelope-from sven.huster@mailsurf.com) Received: from hodge.skynet.be (hodge.skynet.be [195.238.2.35]) by riker.skynet.be (8.11.2/8.11.2/Skynet-OUT-2.11) with ESMTP id f3P9AQX20519; Wed, 25 Apr 2001 11:10:26 +0200 (MET DST) (envelope-from ) Received: from 07.mailsurf.com (194-78-218-7.pro.turboline.skynet.be [194.78.218.7]) by hodge.skynet.be (8.11.2/8.11.2/Skynet-SMARTRELAY-2.11) with ESMTP id f3P9AHK15467; Wed, 25 Apr 2001 11:10:17 +0200 (MET DST) (envelope-from ) Message-Id: <5.1.0.14.0.20010425110720.025d03a0@mx01.mailsurf.com> X-Sender: shu@mx01.mailsurf.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 25 Apr 2001 11:10:34 +0200 To: Andrew Gallatin , Alfred Perlstein From: Sven Huster Subject: Re: vmware on freebsd for fast booting for devel. Cc: hackers@freebsd.org In-Reply-To: <15077.63351.26014.849385@grasshopper.cs.duke.edu> References: <20010424145318.Z1790@fw.wintelcom.net> <20010424130546.V1790@fw.wintelcom.net> <15077.62336.317751.756087@grasshopper.cs.duke.edu> <20010424145318.Z1790@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > I've actually found real hardware to be much faster than vmware in > > > most cases. My dream quick-reboot box has no scsi disks, can skip the > > > memory test, has a serial console & loads its kernels via pxe. > > > > Yeah, where do i buy one? > >Heh. > >Most Dell i810 based Optiplexes boot quickly. You just need to throw >an fxp in there for pxe. I'm sure other, cheaper, boxes do just as well. >Compared to the full-price vmware, it would probably be quicker to buy >a used p6.. OT FYI: Check the ISP1100 from Intel if you like support for PIII up to 850 2GB RAM 2 x Intel Network onboard (includes pxe boot, possible on both) full serial console (even for access to bios setup) regards Sven Huster Senior IT Systems Administrator *BSD, Linux, Solaris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 4:38:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from security.za.net (security.za.net [196.2.146.22]) by hub.freebsd.org (Postfix) with ESMTP id 06FF137B423 for ; Wed, 25 Apr 2001 04:38:34 -0700 (PDT) (envelope-from lists@security.za.net) Received: from localhost (lists@localhost) by security.za.net (8.9.3/8.9.3) with ESMTP id NAA01491 for ; Wed, 25 Apr 2001 13:38:27 +0200 (SAST) (envelope-from lists@security.za.net) Date: Wed, 25 Apr 2001 13:38:27 +0200 (SAST) From: Lists Account To: freebsd-hackers@freebsd.org Subject: ISA_PNP_PROBE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi All Just wondered, is there an equivelant function to ISA_PNP_PROBE that works with PCI (for example PCI_PNP_PROBE), anyone know? Thanks Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 4:46:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtpg.casema.net (smtpg.casema.net [195.96.96.160]) by hub.freebsd.org (Postfix) with SMTP id 6F5D237B422 for ; Wed, 25 Apr 2001 04:46:30 -0700 (PDT) (envelope-from walter@binity.com) Received: (qmail 579 invoked by uid 0); 25 Apr 2001 11:46:28 -0000 Received: from unknown (HELO slash.b118.binity.net) (212.64.76.148) by smtpg.casema.net with SMTP; 25 Apr 2001 11:46:28 -0000 Received: from tsunami.b118.binity.net (tsunami.b118.binity.net [172.18.3.10]) by slash.b118.binity.net (Postfix) with ESMTP id CF813132 for ; Wed, 25 Apr 2001 13:45:15 +0200 (CEST) Received: from tsunami.b118.binity.net ([1.0.0.1]) by tsunami.b118.binity.net with Microsoft SMTPSVC(5.0.2195.1600); Wed, 25 Apr 2001 13:49:01 +0200 Date: Wed, 25 Apr 2001 13:49:00 +0200 From: Walter Hop X-Mailer: The Bat! (v1.51) Educational X-Priority: 3 (Normal) Message-ID: <14827294737.20010425134900@binity.com> To: Vincent Poy Cc: Andrew Gallatin , hackers@FreeBSD.ORG Subject: Re[2]: vmware on freebsd for fast booting for devel. In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Apr 2001 11:49:01.0127 (UTC) FILETIME=[B8321570:01C0CD7D] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [in reply to vince@oahu.WURLDLINK.NET, 25-04-2001] > Interesting. What happens if it's like the reverse where one runs > FreeBSD under vmware from Windows2000? Since 5-10% seems to be really > slow. I always try out new applications in a virtual machine running FreeBSD on my Windows workstation, it's lovely. I/O is painfully slow, but in normal situations performance is >10%... (PII-350, 256MB ram) -- Walter Hop | +31 6 24290808 | PGP key ID: 0x84813998 SPEAK! I DON'T GET IT! SHOULD I IGNORE THE FASHION OR GO BUY THE BOOK! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 6: 5:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.wuppy.net.ru (ns.WUPPY.NET.RU [212.30.189.130]) by hub.freebsd.org (Postfix) with ESMTP id 4D31F37B423 for ; Wed, 25 Apr 2001 06:05:45 -0700 (PDT) (envelope-from romanp@unshadow.net) Received: by ns.wuppy.net.ru (Postfix, from userid 66) id 557781DCD; Wed, 25 Apr 2001 17:05:32 +0400 (MSD) Received: from localhost (localhost [127.0.0.1]) by abyss.unshadow.net (8.12.0.Beta7/8.12.0.Beta5) with ESMTP id f3PD2H7S005443 for ; Wed, 25 Apr 2001 17:02:17 +0400 (MSD) Date: Wed, 25 Apr 2001 17:02:17 +0400 (MSD) From: "Roman V. Palagin" To: Subject: Implementation of PPPIOCSUNIT Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! About 2 years ago I make set of patches which introduces PPPIOCSUNIT and adds 'pppunit' option to pppd. This is usefull if (for variuos reason) you need to wire ppp interface number to some tty (i.e. you may want that pppd if started on /dev/cuaa3 always use ppp0 as its interface). Since than I receive many request about send this patch to FreeBSD and make it part of base system. But there is one showstoper - changes in kernel are incompatible with current scheme wich is used to access kernel-level ppp. With patched version you _MUST_ call PPPIOCSUNIT to attach ppp interface to tty. This is because some code moved from pppopen() to pppinit()/pppioctl() since at the moment of calling TCIOSETD we can't specifie interface number. So, you can't use stock pppd (patch to pppd included), also you must change any application which used kernel-level ppp (btw, is there are any other then pppd?) The question is: what you think is best way to incorporate this changes in FreeBSD? Or this is should left as separate patches? Current version of patches: ftp://room101.wuppy.net.ru/pppd - Roman --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 6:16: 4 2001 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 5A15137B43F for ; Wed, 25 Apr 2001 06:16:01 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) 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 JAA17924; Wed, 25 Apr 2001 09:15:56 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f3PDFQO36166; Wed, 25 Apr 2001 09:15:26 -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: <15078.52718.574546.451382@grasshopper.cs.duke.edu> Date: Wed, 25 Apr 2001 09:15:26 -0400 (EDT) To: Walter Hop Cc: Vincent Poy , hackers@FreeBSD.ORG Subject: Re: Re[2]: vmware on freebsd for fast booting for devel. In-Reply-To: <14827294737.20010425134900@binity.com> References: <14827294737.20010425134900@binity.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Walter Hop writes: > [in reply to vince@oahu.WURLDLINK.NET, 25-04-2001] > > > Interesting. What happens if it's like the reverse where one runs > > FreeBSD under vmware from Windows2000? Since 5-10% seems to be really > > slow. > > I always try out new applications in a virtual machine running FreeBSD > on my Windows workstation, it's lovely. I/O is painfully slow, but > in normal situations performance is >10%... (PII-350, 256MB ram) Note that the 5-10% I was talking about is just the tertiary bootloader (/boot/loader). I mentioned it because the original poster was primarily concerned about 'bootstones' -- in more normal situations (ie, once the kernel is loaded) I'd say performance is more like 40-80% of native. Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 6:39:26 2001 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 836D337B424 for ; Wed, 25 Apr 2001 06:39:22 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) 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 JAA18316; Wed, 25 Apr 2001 09:39:20 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f3PDcoR36251; Wed, 25 Apr 2001 09:38:50 -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: <15078.54122.763494.344212@grasshopper.cs.duke.edu> Date: Wed, 25 Apr 2001 09:38:50 -0400 (EDT) To: Sven Huster Cc: hackers@freebsd.org Subject: Re: vmware on freebsd for fast booting for devel. In-Reply-To: <5.1.0.14.0.20010425110720.025d03a0@mx01.mailsurf.com> References: <20010424145318.Z1790@fw.wintelcom.net> <20010424130546.V1790@fw.wintelcom.net> <15077.62336.317751.756087@grasshopper.cs.duke.edu> <5.1.0.14.0.20010425110720.025d03a0@mx01.mailsurf.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sven Huster writes: > OT FYI: > > Check the ISP1100 from Intel if you like > support for PIII up to 850 > 2GB RAM > 2 x Intel Network onboard (includes pxe boot, possible on both) > full serial console (even for access to bios setup) Hmm.. We have some Dell PowerEdge 1550s that do this (nice machines, but horribleb bootstones). But I've got a basic problem with console redirection on PCs that we don't see on Alphas or Suns. The problem is that I cannot figure out how in the hell to hit "F2" in my environment. My environment is essentially telnet'ing into a console server from an xterm. Hitting "Ctrl-A" for the scsi bios works just fine & dandy.. Anybody know how to make ansi function keys work from an xterm? Thanks, Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 7: 8:59 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mutare.noc.clara.net (mutare.noc.clara.net [195.8.70.94]) by hub.freebsd.org (Postfix) with ESMTP id 718BD37B423 for ; Wed, 25 Apr 2001 07:08:53 -0700 (PDT) (envelope-from ollie@mutare.noc.clara.net) Received: from ollie by mutare.noc.clara.net with local (Exim 3.22 #50) id 14sPyO-000A4i-00 for freebsd-hackers@freebsd.org; Wed, 25 Apr 2001 15:08:52 +0100 Date: Wed, 25 Apr 2001 15:08:52 +0100 From: Oliver Cook To: freebsd-hackers@freebsd.org Subject: open (vfs_syscalls.c:994) && NFS Message-ID: <20010425150852.B37512@mutare.noc.clara.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.2-RELEASE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A little bit of background: these systems are FreeBSD 3.x and 4.x installations running Apache 1.3.x serving webpages stored on a NetApp filer over NFS. One folder has a corrupt directory entry: /clara/htdocs/clara.net/k/o/m/komunikation/webspace/ Trying to 'cat', 'cp' etc any file in this directory results in a process locked in "D" disk wait. After about a week there are hundreds of stuck httpd processes in exactly this state. It is not possible to attach to them, but information can be gleaned from a kernel backtrace: hera[/]# ps aux|grep httpd|grep " D"|head 1 claranet 82569 0.0 0.0 2464 68 ?? D 6:47AM 0:00.01 /usr/local/apache/bin/httpd Broken pipe hera[/]# gdb -k /sys/compile/HERA/kernel.debug /dev/mem GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... IdlePTD 3080192 initial pcb at be17000 panic messages: --- --- #0 mi_switch () at ../../kern/kern_synch.c:859 859 if (switchtime.tv_sec == 0) (kgdb) proc 82569 (kgdb) bt #0 mi_switch () at ../../kern/kern_synch.c:859 #1 0xc01467e9 in tsleep (ident=0xe00a3aca, priority=18, wmesg=0xc024a79b "nfsvinval", timo=0) at ../../kern/kern_synch.c:468 #2 0xc01ad14f in nfs_vinvalbuf (vp=0xe0097b80, flags=1, cred=0xc691e800, p=0xe27c8220, intrflg=1) at ../../nfs/nfs_bio.c:1170 #3 0xc01d02a6 in nfs_open (ap=0xe2878e10) at ../../nfs/nfs_vnops.c:506 #4 0xc01736af in vn_open (ndp=0xe2878edc, fmode=1, cmode=420) at vnode_if.h:189 #5 0xc016f6a1 in open (p=0xe27c8220, uap=0xe2878f80) at ../../kern/vfs_syscalls.c:994 #6 0xc02238e6 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 4, tf_esi = 672559256, tf_ebp = -1077937648, tf_isp = -494432300, tf_ebx = 672502180, tf_edx = 672559256, tf_ecx = 15, tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip = 672418516, tf_cs = 31, tf_eflags = 659, tf_esp = -1077937692, tf_ss = 47}) at ../../i386/i386/trap.c:1073 #7 0xc0218be6 in Xint0x80_syscall () #8 0x8062fe0 in ?? () #9 0x806ccdd in ?? () #10 0x806618c in ?? () #11 0x80797f4 in ?? () #12 0x807985e in ?? () #13 0x8071027 in ?? () #14 0x80712ac in ?? () #15 0x807162c in ?? () #16 0x8071b41 in ?? () #17 0x8072144 in ?? () #18 0x804a159 in ?? () (kgdb) fr 5 #5 0xc016f6a1 in open (p=0xe27c8220, uap=0xe2878f80) at ../../kern/vfs_syscalls.c:994 994 error = vn_open(&nd, flags, cmode); (kgdb) print nd $1 = {ni_dirp = 0x80e6a64 "/clara/htdocs/clara.net/k/o/m/komunikation/webspace/mabel.xls", ni_segflg = UIO_USERSPACE, ni_startdir = 0x0, ni_rootdir = 0xdd196ec0, ni_topdir = 0x0, ni_vp = 0xe0097b80, ni_dvp = 0xe0097c20, ni_pathlen = 1, ni_next = 0xe0424036 "htm", ni_loopcnt = 1, ni_cnd = {cn_nameiop = 0, cn_flags = 49220, cn_proc = 0xe27c8220, cn_cred = 0xc691e800, cn_pnbuf = 0xe0424000 "", cn_nameptr = 0xe042402d "ce/n1nhs.htm", cn_namelen = 9, cn_consume = 0}} (kgdb) print nd->ni_cnd->cn_nameptr $2 = 0xe042402d "ce/n1nhs.htm" (kgdb) print nd->ni_cnd->cn_nameptr $3 = 0xe042402d "ce/n1nhs.htm" The pointer ni_dirp contains a reference to a file in the directory with the corrupt entry. This is true for ALL the processes that are stuck in 'D'. What does change is the pointer cn_nameptr, which changes for every web request. I would have thought that httpd would have alloc'ed memory for the open(), so I am at a loss at as to why the ni_dirp pointer contains the reference to the Excel spreadsheet in the directory with the corrupt entry. Why does this not change from request to request as more files are opened and closed over NFS? Can anybody explain what is going on with open()? Thanks. Ollie -- Oliver Cook Systems Administrator, ClaraNET ollie@uk.clara.net 020 7903 3000 ext. 291 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 7:28:36 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id E838C37B423 for ; Wed, 25 Apr 2001 07:28:32 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 25 Apr 2001 15:28:31 +0100 (BST) To: Oliver Cook Cc: freebsd-hackers@freebsd.org, iedowse@maths.tcd.ie Subject: Re: open (vfs_syscalls.c:994) && NFS In-Reply-To: Your message of "Wed, 25 Apr 2001 15:08:52 BST." <20010425150852.B37512@mutare.noc.clara.net> Date: Wed, 25 Apr 2001 15:28:31 +0100 From: Ian Dowse Message-ID: <200104251528.aa35127@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010425150852.B37512@mutare.noc.clara.net>, Oliver Cook writes: >After about a week there are hundreds of stuck >httpd processes in exactly this state. It is not >possible to attach to them, but information can >be gleaned from a kernel backtrace: Could you post the full output of "ps axl" on one of these machines? In this output, search for other odd process states, especially "vmopar", and include a gdb backtrace from these processes too. This sounds like a problem I described in http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=243599+249172+/usr/local/www/db/text/2000/freebsd-hackers/20001022.freebsd-hackers (split URL is http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=243599+249172+ /usr/local/www/db/text/2000/freebsd-hackers/20001022.freebsd-hackers in case the above doesn't work) Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 7:40:41 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mutare.noc.clara.net (mutare.noc.clara.net [195.8.70.94]) by hub.freebsd.org (Postfix) with ESMTP id C9A3937B422 for ; Wed, 25 Apr 2001 07:40:37 -0700 (PDT) (envelope-from ollie@mutare.noc.clara.net) Received: from ollie by mutare.noc.clara.net with local (Exim 3.22 #50) id 14sQT4-000A9Z-00; Wed, 25 Apr 2001 15:40:34 +0100 Date: Wed, 25 Apr 2001 15:40:34 +0100 From: Oliver Cook To: Ian Dowse Cc: freebsd-hackers@freebsd.org Subject: Re: open (vfs_syscalls.c:994) && NFS Message-ID: <20010425154034.A38996@mutare.noc.clara.net> References: <20010425150852.B37512@mutare.noc.clara.net> <200104251528.aa35127@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104251528.aa35127@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Wed, Apr 25, 2001 at 03:28:31PM +0100 X-Operating-System: FreeBSD 4.2-RELEASE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 25, 2001 at 03:28:31PM +0100, Ian Dowse wrote: > In message <20010425150852.B37512@mutare.noc.clara.net>, Oliver Cook writes: > >After about a week there are hundreds of stuck > >httpd processes in exactly this state. It is not > >possible to attach to them, but information can > >be gleaned from a kernel backtrace: > > Could you post the full output of "ps axl" on one of these machines? > In this output, search for other odd process states, especially > "vmopar", and include a gdb backtrace from these processes too. There are a lot of processes so I've included the ps -axl output at http://www.olliecook.clara.net/ps-axl.txt There are three processes stuck in vmopar. I include the backtrace of one of these below. Thanks very much for your reply to this! I'm glad we're not the first to have run into this problem! hera[/]# gdb -k /usr/src/sys/compile/HERA/kernel.debug /dev/mem GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... IdlePTD 3080192 initial pcb at fc02000 panic messages: --- --- #0 mi_switch () at ../../kern/kern_synch.c:859 859 if (switchtime.tv_sec == 0) p(kgdb) proc 90941 (kgdb) bt #0 mi_switch () at ../../kern/kern_synch.c:859 #1 0xc01467e9 in tsleep (ident=0xc0a3a060, priority=4, wmesg=0xc0251b11 "vmopar", timo=0) at ../../kern/kern_synch.c:468 #2 0xc01febeb in vm_object_page_remove (object=0xdffd0a80, start=0, end=729, clean_only=0) at ../../vm/vm_page.h:546 #3 0xc0202c69 in vnode_pager_setsize (vp=0xe0097b80, nsize=0) at ../../vm/vnode_pager.c:289 #4 0xc01cae87 in nfs_loadattrcache (vpp=0xe195fbfc, mdp=0xe195fc08, dposp=0xe195fc0c, vaper=0x0) at ../../nfs/nfs_subs.c:1335 #5 0xc01d3e0f in nfs_readrpc (vp=0xe0097b80, uiop=0xe195fc70, cred=0xc6939500) at ../../nfs/nfs_vnops.c:1102 #6 0xc01ab7f9 in nfs_getpages (ap=0xe195fca8) at ../../nfs/nfs_bio.c:153 #7 0xc0203216 in vnode_pager_getpages (object=0xdffd0a80, m=0xe195fd3c, count=2, reqpage=0) at vnode_if.h:1089 #8 0xc01f8102 in vm_fault (map=0xe115a8c0, vaddr=673517568, fault_type=1 '\001', fault_flags=0) at ../../vm/vm_pager.h:130 #9 0xc0223322 in trap_pfault (frame=0xe195fdec, usermode=0, eva=673517568) at ../../i386/i386/trap.c:797 #10 0xc0222f83 in trap (frame={tf_fs = -1072496624, tf_es = -1056112624, tf_ds = 16, tf_edi = -1050512140, tf_esi = 673517567, tf_ebp = -510263720, tf_isp = -510263784, tf_ebx = 2048, tf_edx = 673518347, tf_ecx = 195, tf_eax = -510271488, tf_trapno = 12, tf_err = 0, tf_eip = -1071504287, tf_cs = 8, tf_eflags = 66054, tf_esp = -510263572, tf_ss = -510263580}) at ../../i386/i386/trap.c:423 #11 0xc0222461 in generic_copyin () #12 0xc015e9a4 in sosend (so=0xd9da1540, addr=0x0, uio=0xe195feec, top=0x0, control=0x0, flags=0, p=0xe1951400) at ../../kern/uipc_socket.c:549 #13 0xc0153d54 in soo_write (fp=0xc67a6b40, uio=0xe195feec, cred=0xc6939500, flags=0, p=0xe1951400) at ../../kern/sys_socket.c:78 #14 0xc0150bdf in dofilewrite (p=0xe1951400, fp=0xc67a6b40, fd=6, buf=0x2824d858, nbyte=32768, offset=-1, flags=0) at ../../sys/file.h:156 #15 0xc0150ae3 in write (p=0xe1951400, uap=0xe195ff80) at ../../kern/sys_generic.c:298 #16 0xc02238e6 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 32768, tf_esi = 673503320, tf_ebp = -1077937872, tf_isp = -510263340, tf_ebx = 135028804, tf_edx = 6, tf_ecx = 37392, tf_eax = 4, tf_trapno = 7, tf_err = 2, tf_eip = 672462708, tf_cs = 31, tf_eflags = 663, tf_esp = -1077937916, tf_ss = 47}) at ../../i386/i386/trap.c:1073 #17 0xc0218be6 in Xint0x80_syscall () #18 0x806562d in ?? () #19 0x8064ab4 in ?? () #20 0x8064b8c in ?? () #21 0x8065048 in ?? () #22 0x807635b in ?? () #23 0x806d105 in ?? () #24 0x806618c in ?? () #25 0x80797f4 in ?? () #26 0x807985e in ?? () #27 0x8071027 in ?? () #28 0x80712ac in ?? () #29 0x807162c in ?? () #30 0x8071b41 in ?? () #31 0x8072144 in ?? () #32 0x804a159 in ?? () Ollie -- Oliver Cook Systems Administrator, ClaraNET ollie@uk.clara.net 020 7903 3000 ext. 291 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 7:48:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with SMTP id EE65A37B43C for ; Wed, 25 Apr 2001 07:48:05 -0700 (PDT) (envelope-from karsten@rohrbach.de) Received: (qmail 20218 invoked by uid 1000); 25 Apr 2001 14:48:27 -0000 Date: Wed, 25 Apr 2001 16:48:27 +0200 From: "Karsten W. Rohrbach" To: Kris Kennaway Cc: "Andrew R. Reiter" , Rich Morin , freebsd-hackers@FreeBSD.ORG Subject: Re: automated checking of Security Advisories Message-ID: <20010425164827.I17348@mail.webmonster.de> Mail-Followup-To: "Karsten W. Rohrbach" , Kris Kennaway , "Andrew R. Reiter" , Rich Morin , freebsd-hackers@FreeBSD.ORG References: <20010424121130.C89819@xor.obsecurity.org> <20010424122758.A90366@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010424122758.A90366@xor.obsecurity.org>; from kris@obsecurity.org on Tue, Apr 24, 2001 at 12:27:58PM -0700 X-Arbitrary-Number-Of-The-Day: 42 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kris Kennaway(kris@obsecurity.org)@2001.04.24 12:27:58 +0000: > This is another reason why having a third-party modifying the advisory > to mark it up into XML is a bad idea; you lose the integrity > protection from the PGP signature. that taken as a solid basis for authenticity and integrity of the advisories, how will the to-be-parsed section look like? -----BEGIN FREEBSD PORT UPGRADE INFO----- oldver: bind-8.2.2 newver: bind-8.2.3 repo: http://security.freebsd.org/updates/bind-8.2.3/@OSVER@/bind-8.2.3.pkg notes: http://security.freebsd.org/updates/bind-8.2.3/@OSVER@/relnotes.txt -----END FREEBSD PORT UPGRADE INFO----- in ports it would also be feasible to create an 'uninstall' target, so on could (cd /usr/ports && make update) and (cd /usr/ports/net/bind8 && make upgrade) where upgrade would be standard target (build i think), uninstall, reinstall and uninstall would remove the _older_ package, in this case 8.2.2. any ideas on how to implement this smoothly and safe? btw, why do the package versions have to be tracked in the directory name in /var/db/pkg? couldnt we just create a directory /var/db/pkg/PORTNAME (in this case /var/db/pkg/bind8) and put a VERSION file in there? automated upgrading would be much easier since we do not have to grok the names of the directories of the installed ports (which would be a point of unsafeness due to the port numbering/version scheme which has /var/db/pkg/pkg-1.0.3 and /var/db/pkg/pkg2-2.0.9 which are the same package but different major versions and we do not want to kill pkg1 when we upgrade pkg2, so filename parsing really gets a little complicated here...) does this make sense? /k -- > Hackers do it with bugs. KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de [Key] [KeyID---] [Created-] [Fingerprint-------------------------------------] GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 BF46 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 7:59:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 90C4C37B422 for ; Wed, 25 Apr 2001 07:59:36 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 25 Apr 2001 15:59:35 +0100 (BST) To: Oliver Cook Cc: Ian Dowse , freebsd-hackers@freebsd.org Subject: Re: open (vfs_syscalls.c:994) && NFS In-Reply-To: Your message of "Wed, 25 Apr 2001 15:40:34 BST." <20010425154034.A38996@mutare.noc.clara.net> Date: Wed, 25 Apr 2001 15:59:35 +0100 From: Ian Dowse Message-ID: <200104251559.aa44377@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010425154034.A38996@mutare.noc.clara.net>, Oliver Cook writes: >There are three processes stuck in vmopar. I include the backtrace >of one of these below. Thanks. That particular process is hanging because nfs_loadattrcache() has noticed that the file shrunk, but it is not safe in this context (from vm_fault) to do anything about it. A workaround for this problem went into 4-stable at the end of last October, so upgrading to a more recent -stable will stop these hangs. As noted in the archived -hackers message I mentioned, there is another related problem that still exists, but it seems to occur much less frequently. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 8: 6:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gradient.cis.upenn.edu (GRADIENT.CIS.UPENN.EDU [158.130.67.48]) by hub.freebsd.org (Postfix) with ESMTP id 3822B37B424; Wed, 25 Apr 2001 08:06:25 -0700 (PDT) (envelope-from agoodloe@gradient.cis.upenn.edu) Received: from localhost (localhost [127.0.0.1]) by gradient.cis.upenn.edu (8.10.1/8.10.1) with ESMTP id f3PF6Op15997; Wed, 25 Apr 2001 11:06:24 -0400 (EDT) Date: Wed, 25 Apr 2001 11:06:23 -0400 (EDT) From: Alwyn Goodloe To: freebsd-questions@FreeBSD.org, freebsd-hackers@FreeBSD.org Subject: TCP SYN retransmission time Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I got no response on a previous posting hope I second post will be luckier. -------------------- I just need to make sure that I understand the code correctly in the TCP stack. (We are trying to see how long the system waits before a SYN gets retransmitted.) When a SYN is sent, a keepalive timer is set with using the TCPTV_KEEPALIVEINTVL = 75hz (??ms - escapes me at the moment). So an ack must be received in this time frame??? This is not the usual dynamic tetransmission timer which might make sense for SYN packts. It seems like a retransmission timer should be set?? That's why I'm posing the question. Alwyn Goodloe agoodloe@gradient.cis.upenn.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 8: 7: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mutare.noc.clara.net (mutare.noc.clara.net [195.8.70.94]) by hub.freebsd.org (Postfix) with ESMTP id 7120237B424 for ; Wed, 25 Apr 2001 08:07:03 -0700 (PDT) (envelope-from ollie@mutare.noc.clara.net) Received: from ollie by mutare.noc.clara.net with local (Exim 3.22 #50) id 14sQsb-000ACK-00; Wed, 25 Apr 2001 16:06:57 +0100 Date: Wed, 25 Apr 2001 16:06:57 +0100 From: Oliver Cook To: Ian Dowse Cc: freebsd-hackers@freebsd.org Subject: Re: open (vfs_syscalls.c:994) && NFS Message-ID: <20010425160657.B38996@mutare.noc.clara.net> References: <20010425154034.A38996@mutare.noc.clara.net> <200104251559.aa44377@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104251559.aa44377@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Wed, Apr 25, 2001 at 03:59:35PM +0100 X-Operating-System: FreeBSD 4.2-RELEASE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 25, 2001 at 03:59:35PM +0100, Ian Dowse wrote: > In message <20010425154034.A38996@mutare.noc.clara.net>, Oliver Cook writes: > >There are three processes stuck in vmopar. I include the backtrace > >of one of these below. > A workaround for this problem went into 4-stable at the end of last > October, so upgrading to a more recent -stable will stop these > hangs. As noted in the archived -hackers message I mentioned, there > is another related problem that still exists, but it seems to occur > much less frequently. We shall have to look into upgrading to 4.2 or 4.3 in this case. The server that those traces were from is currently running 4.0 However, the more noticeable problem was the processes stuck in nfsvin because of the broken directory entry. Have you any ideas as to what would be causing that particular problem which is plaguing our servers more than the vmopar problem? Thanks for your assistance in this matter so far. Ollie -- Oliver Cook Systems Administrator, ClaraNET ollie@uk.clara.net 020 7903 3000 ext. 291 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 8:43:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id A0C3837B423 for ; Wed, 25 Apr 2001 08:43:32 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 25 Apr 2001 16:43:31 +0100 (BST) To: Oliver Cook Cc: Ian Dowse , freebsd-hackers@freebsd.org, iedowse@maths.tcd.ie Subject: Re: open (vfs_syscalls.c:994) && NFS In-Reply-To: Your message of "Wed, 25 Apr 2001 16:06:57 BST." <20010425160657.B38996@mutare.noc.clara.net> Date: Wed, 25 Apr 2001 16:43:31 +0100 From: Ian Dowse Message-ID: <200104251643.aa54332@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010425160657.B38996@mutare.noc.clara.net>, Oliver Cook writes: >However, the more noticeable problem was the processes stuck in >nfsvin because of the broken directory entry. Have you any ideas >as to what would be causing that particular problem which is >plaguing our servers more than the vmopar problem? The processes stuck in "nfsvinval" are just a side-effect of the vmopar problem; they should go away too when you upgrade. I forget the details, but I think the vmopar-hung process is holding some lock so any other processes that try to access the same file hang in nfsvinval. You can probably verify that every time there are processes stuck in "nfsvinval" there is at least one process stuck in "vmopar". I haven't seen any evidence of the broken directory entries you mention - maybe you're reading too far into the struct nameidata fields in "nd". It may be normal for some fields to be uninitialised or point at junk data. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 8:43:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from icon.bg (icon.bg [62.176.80.58]) by hub.freebsd.org (Postfix) with SMTP id 6315237B42C for ; Wed, 25 Apr 2001 08:43:35 -0700 (PDT) (envelope-from v0rbiz@icon.bg) Received: (qmail 20556 invoked by uid 1144); 25 Apr 2001 15:48:18 -0000 Date: Wed, 25 Apr 2001 18:48:18 +0300 From: Victor Ivanov To: freebsd-hackers@freebsd.org Cc: freebsd-isp@freebsd.org Subject: ppp showing radius message Message-ID: <20010425184818.A20522@icon.icon.bg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="R3G7APHDIzY6R/pk" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --R3G7APHDIzY6R/pk Content-Type: multipart/mixed; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I made a simple (and ugly) patch to ppp to show the radius message when a radius reject is received. It also saves it in struct authinfo so the au= th failure routine can pass it to the peer. The patch modifies pap.c to do th= is, but I don't know how to modify the other auth types (I'm using pap only her= e). Someone finds this useful (except me)? P.S. It's tested on the server side (with Windows client and a PicoBSD clie= nt for peers). --=20 Players win and winners play Have a lucky day --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ppp-message.patch" Content-Transfer-Encoding: quoted-printable --- auth.h.orig Wed Apr 25 18:13:13 2001 +++ auth.h Wed Apr 25 18:13:25 2001 @@ -42,6 +42,7 @@ struct { struct fsm_retry fsm; /* How often/frequently to resend requests */ } cfg; + char *fail_message; }; =20 #define auth_Failure(a) (*a->fn.failure)(a); --- pap.c.orig Wed Apr 25 18:13:43 2001 +++ pap.c Wed Apr 25 18:15:51 2001 @@ -149,7 +149,8 @@ static void pap_Failure(struct authinfo *authp) { - SendPapCode(authp, PAP_NAK, "Login incorrect"); + SendPapCode(authp, PAP_NAK, + (authp->fail_message ? authp->fail_message : "Login incorrect")); datalink_AuthNotOk(authp->physical->dl); } =20 --- radius.c.orig Wed Apr 25 18:15:55 2001 +++ radius.c Wed Apr 25 18:24:07 2001 @@ -83,6 +83,8 @@ #include "datalink.h" #include "bundle.h" =20 +static char fail_message[128]; + /* * rad_continue_send_request() has given us `got' (non-zero). Deal with i= t. */ @@ -111,10 +113,32 @@ break; =20 case RAD_ACCESS_REJECT: - log_Printf(LogPHASE, "Radius(%s): REJECT received\n", stype); - if (r->cx.auth) - auth_Failure(r->cx.auth); - rad_close(r->cx.rad); + { + int got2; + + nuke =3D NULL; + while (!nuke && ((got2 =3D rad_get_attr(r->cx.rad, &data, &len)) >= 0)) { + if (got2 =3D=3D RAD_REPLY_MESSAGE) { + if ((nuke =3D rad_cvt_string(data, len)) =3D=3D NULL) { + log_Printf(LogERROR, "rad_cvt_string: %s\n", rad_strerror(r->cx.rad= )); + rad_close(r->cx.rad); + return; + } + } + } + if (nuke) { + strlcpy(fail_message, nuke, sizeof(fail_message)); + free(nuke); + r->cx.auth->fail_message =3D fail_message; + log_Printf(LogPHASE, "Radius(%s): REJECT received (%s)\n", + stype, fail_message); + } else + log_Printf(LogPHASE, "Radius(%s): REJECT received\n", stype); + + if (r->cx.auth) + auth_Failure(r->cx.auth); + rad_close(r->cx.rad); + } return; =20 case RAD_ACCESS_CHALLENGE: --82I3+IH0IqGh5yIs-- --R3G7APHDIzY6R/pk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.1i iQCVAwUBOubxwPD9M5lef5W3AQH3vgQAjcmUOXh9w7seLaBhpEl4n8IZkgSCS1Z3 jzaNt3QMgfOGRz2zMubV0JyJxu2lgBoGn1+NnQ/wRJyzGQI9w8qkG9ZPzwnNN9Qu wlCksFfJ+WTaEpJYDeiqDuYSt+qQB+J2fCz0sINUg2yGIpB2CNgIIGo3qGK5KMzC Oon5YS8ZZV4= =9p7B -----END PGP SIGNATURE----- --R3G7APHDIzY6R/pk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 8:54:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from brolloks.trispen.com (brolloks.trispen.com [196.7.146.6]) by hub.freebsd.org (Postfix) with ESMTP id 9F5C537B422 for ; Wed, 25 Apr 2001 08:54:05 -0700 (PDT) (envelope-from jacques@brolloks.trispen.com) Received: (from jacques@localhost) by brolloks.trispen.com (8.9.3/8.9.3) id RAA15749 for freebsd-hackers@freebsd.org; Wed, 25 Apr 2001 17:53:01 +0200 (SAST) (envelope-from jacques) Date: Wed, 25 Apr 2001 17:53:00 +0200 From: Jacques Fourie To: freebsd-hackers@freebsd.org Subject: if_dc and bridging Message-ID: <20010425175300.A15616@brolloks.trispen.com> Reply-To: jf@trispen.com 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 X-Loop: FreeBSD.ORG When doing bridging (Luigi's standard bridging code) using two Davicom DM9102A NIC's, I am seeing some strange results. If I do a 'ping -s 8000' between two PC's sitting on either side of the bridge, I see a whole bunch of TX underrun errors on both NIC's of the bridge. Eventually both are put into store and forward mode. After this, I can hardly get any traffic through the bridge at all (maximum throughput I have seen is around 1kB/s). After a reboot, everything is OK again. Does anyone have any idea what is going on? (The bridge is running 4.2-RELEASE) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 9: 4:21 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dualcpus.com (dualcpus.com [65.160.20.195]) by hub.freebsd.org (Postfix) with SMTP id B1F3937B422 for ; Wed, 25 Apr 2001 09:04:19 -0700 (PDT) (envelope-from data@dualcpus.com) Received: (qmail 23683 invoked from network); 25 Apr 2001 16:04:16 -0000 Received: from sherline.cts.com (HELO britney) (204.216.163.132) by dualcpus.com with SMTP; 25 Apr 2001 16:04:16 -0000 Message-ID: <001701c0cda1$6c247050$015778d8@sherline.net> From: "Jeremiah Gowdy" To: , Subject: Sawfish package missing ? Date: Wed, 25 Apr 2001 09:04:28 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Has anyone noticed that the sawfish package is missing from 4.3-install.iso, thereby breaking the sysinstall option Gnome+Sawfish in Desktop ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 9:14:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id B392B37B423 for ; Wed, 25 Apr 2001 09:14:04 -0700 (PDT) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) id f3PGDxD11719 for freebsd-hackers@FreeBSD.ORG.AVP; Wed, 25 Apr 2001 18:13:59 +0200 (CEST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) with UUCP id f3PGDxF11705; Wed, 25 Apr 2001 18:13:59 +0200 (CEST) (envelope-from leifn@neland.dk) Received: from gina (gina.neland.dk [192.168.5.100] (may be forged)) by arnold.neland.dk (8.11.3/8.11.0) with SMTP id f3PGDjd47907; Wed, 25 Apr 2001 18:13:46 +0200 (CEST) (envelope-from leifn@neland.dk) Message-ID: <036201c0cda2$e2e18380$6405a8c0@neland.dk> From: "Leif Neland" To: "Victor Ivanov" , Cc: References: <20010425184818.A20522@icon.icon.bg> Subject: Re: ppp showing radius message Date: Wed, 25 Apr 2001 18:14:48 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by ns.internet.dk id f3PGDxF11705 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Victor Ivanov" To: Cc: Sent: Wednesday, April 25, 2001 5:48 PM Subject: ppp showing radius message Hi, > I made a simple (and ugly) patch to ppp to show the radius message when > a radius reject is received. Great idea. It annoys me our radiusserver can send messages like "You are already connected. Simultaneous connects not allowed" or "Access only allowed between 18:00 and 08:00", but M$ completely ignores it. So let's make Fbsd better in this respect too. Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 9:14:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from magellan.palisadesys.com (magellan.palisadesys.com [192.188.162.211]) by hub.freebsd.org (Postfix) with ESMTP id 91D2F37B423 for ; Wed, 25 Apr 2001 09:14:32 -0700 (PDT) (envelope-from ghelmer@palisadesys.com) Received: from CAPELLA (capella.palisadesys.com [192.188.162.112]) (authenticated (0 bits)) by magellan.palisadesys.com (8.11.2/8.11.2) with ESMTP id f3PGEGZ27313 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO); Wed, 25 Apr 2001 11:14:16 -0500 From: "Guy Helmer" To: , Subject: RE: if_dc and bridging Date: Wed, 25 Apr 2001 11:14:53 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20010425175300.A15616@brolloks.trispen.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG FWIW, we have seen similar problems (poor throughput, TX underrun, and watchdog timeouts) with plain TCP (not bridging) on systems with built-in Davicom DM9102 devices running FreeBSD 4.0 and 4.2. Reboot improves the performance for a while. There seems to be a few problems with the Davicom chip... Guy Helmer, Ph.D. http://www.palisadesys.com/~ghelmer/ Sr. Software Engineer, Palisade Systems ghelmer@palisadesys.com > -----Original Message----- > From: owner-freebsd-hackers@FreeBSD.ORG > [mailto:owner-freebsd-hackers@FreeBSD.ORG]On Behalf Of Jacques Fourie > Sent: Wednesday, April 25, 2001 10:53 AM > To: freebsd-hackers@FreeBSD.ORG > Subject: if_dc and bridging > > > When doing bridging (Luigi's standard bridging code) using two Davicom > DM9102A NIC's, I am seeing some strange results. > > If I do a 'ping -s 8000' between two PC's sitting on either side > of the bridge, > I see a whole bunch of TX underrun errors on both NIC's of the bridge. > Eventually both are put into store and forward mode. > After this, I can hardly get any traffic through the bridge at all > (maximum throughput I have seen is around 1kB/s). After a reboot, > everything > is OK again. > > Does anyone have any idea what is going on? (The bridge is running > 4.2-RELEASE) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 9:19: 6 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id A679837B423 for ; Wed, 25 Apr 2001 09:19:02 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <2TM2DL0X>; Wed, 25 Apr 2001 18:18:59 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9B83@l04.research.kpn.com> From: "Koster, K.J." To: 'Lists Account' Cc: freebsd-hackers@FreeBSD.ORG Subject: RE: No route to host problems on 5.0-CURRENT Date: Wed, 25 Apr 2001 18:18:52 +0100 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 X-Loop: FreeBSD.ORG Dear Andrew, > > And arp -a call shows that my gateway arp address is > "incomplete", now Im > wondering if there is something left out of my kernel build > or if there is > some other problem I can possibly resolve. > Just a stab in the dark: is your firewalling correctly configured? Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 9:43:39 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mutare.noc.clara.net (mutare.noc.clara.net [195.8.70.94]) by hub.freebsd.org (Postfix) with ESMTP id 9199B37B422 for ; Wed, 25 Apr 2001 09:43:36 -0700 (PDT) (envelope-from ollie@mutare.noc.clara.net) Received: from ollie by mutare.noc.clara.net with local (Exim 3.22 #50) id 14sSO6-000AMc-00; Wed, 25 Apr 2001 17:43:34 +0100 Date: Wed, 25 Apr 2001 17:43:34 +0100 From: Oliver Cook To: Ian Dowse Cc: freebsd-hackers@freebsd.org Subject: Re: open (vfs_syscalls.c:994) && NFS Message-ID: <20010425174333.D38996@mutare.noc.clara.net> References: <20010425160657.B38996@mutare.noc.clara.net> <200104251643.aa54332@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104251643.aa54332@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Wed, Apr 25, 2001 at 04:43:31PM +0100 X-Operating-System: FreeBSD 4.2-RELEASE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 25, 2001 at 04:43:31PM +0100, Ian Dowse wrote: > In message <20010425160657.B38996@mutare.noc.clara.net>, Oliver Cook writes: > >However, the more noticeable problem was the processes stuck in > >nfsvin because of the broken directory entry. Have you any ideas > >as to what would be causing that particular problem which is > >plaguing our servers more than the vmopar problem? > > The processes stuck in "nfsvinval" are just a side-effect of the > vmopar problem; they should go away too when you upgrade. I forget That's a relief to know! :) > I haven't seen any evidence of the broken directory entries you > mention - maybe you're reading too far into the struct nameidata > fields in "nd". It may be normal for some fields to be uninitialised > or point at junk data. There is no evidence; our first idea was that it was a broken directory entry, and after your subsequent revelation I still had it in my head that this was the problem! :) We have confirmed that this is not the case, thankfully! Thanks for your help. Ollie -- Oliver Cook Systems Administrator, ClaraNET ollie@uk.clara.net 020 7903 3000 ext. 291 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 10:19: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sdf.lonestar.org (t3-d-static-237.adsl.directlink.net [63.68.131.237]) by hub.freebsd.org (Postfix) with ESMTP id B7AC037B424; Wed, 25 Apr 2001 10:18:56 -0700 (PDT) (envelope-from brune@sdf.lonestar.org) Received: (from brune@localhost) by sdf.lonestar.org (8.11.0/8.11.0) id f3PHHv716968; Wed, 25 Apr 2001 17:17:57 GMT Message-Id: <200104251717.f3PHHv716968@sdf.lonestar.org> Subject: Re: TCP SYN retransmission time To: agoodloe@gradient.cis.upenn.edu (Alwyn Goodloe) Date: Wed, 25 Apr 2001 17:17:57 +0000 (GMT) From: "Corey Brune" Cc: freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG In-Reply-To: from "Alwyn Goodloe" at Apr 25, 2001 11:06:23 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 75 is the timeout. If the sending host does not receive a ACK before 75 seconds, then the host will receive an error. The retransmit times I believe are 3,11,30,60 seconds apart. I hope this answers your question. Corey Alwyn Goodloe > > I got no response on a previous posting hope I second post will be > luckier. > > -------------------- > > I just need to make sure that I understand the code correctly in the TCP > stack. (We are trying to see how long the system waits before a SYN gets > retransmitted.) > > When a SYN is sent, a keepalive timer is set with using the > TCPTV_KEEPALIVEINTVL = 75hz (??ms - escapes me at the moment). So an ack > must be received in this time frame??? > > This is not the usual dynamic tetransmission timer which might make > sense for SYN packts. > > It seems like a retransmission timer should be set?? That's why I'm > posing the question. > > Alwyn Goodloe > agoodloe@gradient.cis.upenn.edu > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" 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 Wed Apr 25 10:25: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from silby.com (adam042-060.resnet.wisc.edu [146.151.42.60]) by hub.freebsd.org (Postfix) with ESMTP id 7C0D137B424 for ; Wed, 25 Apr 2001 10:24:57 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 7147 invoked by uid 1000); 25 Apr 2001 17:24:47 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 25 Apr 2001 17:24:47 -0000 Date: Wed, 25 Apr 2001 12:24:47 -0500 (CDT) From: Mike Silbersack To: "Karsten W. Rohrbach" Cc: Kris Kennaway , "Andrew R. Reiter" , Rich Morin , Subject: Re: automated checking of Security Advisories In-Reply-To: <20010425164827.I17348@mail.webmonster.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 25 Apr 2001, Karsten W. Rohrbach wrote: > oldver: bind-8.2.2 > newver: bind-8.2.3 If we're going to flag insecure versions, I think a better way would be to list "minimum version", which would indicate the lowest numbered version you can safely run. This could also be incorporated into the Makefile for each port so that pkg_version could issue alerts even before security advisories are issued (or after, if you missed some advisories.) Of course, there's the issue of bind 8.x.x versus 9.x.x. I'm not sure how to resolve what minimum version would refer to. 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 Wed Apr 25 10:26:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from silby.com (adam042-060.resnet.wisc.edu [146.151.42.60]) by hub.freebsd.org (Postfix) with ESMTP id 0286D37B422 for ; Wed, 25 Apr 2001 10:26:48 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 7164 invoked by uid 1000); 25 Apr 2001 17:26:45 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 25 Apr 2001 17:26:45 -0000 Date: Wed, 25 Apr 2001 12:26:44 -0500 (CDT) From: Mike Silbersack To: Lists Account Cc: Subject: Re: No route to host problems on 5.0-CURRENT In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 25 Apr 2001, Lists Account wrote: > Hi All, > > Just hoping someone can help me out with a bit of a problem, I cvsupped > one of my boxes from 4.3-RELEASE to 5.0-CURRENT last night in an effort to > test some things under 5.0, and since then even with a straight GENERIC > kernel build my machine gives me a no route to host error trying to access > anything including my gateway, which is definatly up and functioning. Is userland in sync with the kernel? If route is out of sync with the kernel, it can't setup routes. 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 Wed Apr 25 10:41:22 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.121.49]) by hub.freebsd.org (Postfix) with ESMTP id 6C5C137B422 for ; Wed, 25 Apr 2001 10:41:19 -0700 (PDT) (envelope-from kway@overtone.org) Received: from bean.overtone.org (user-2inilne.dialup.mindspring.com [165.121.86.238]) by scaup.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id KAA06234; Wed, 25 Apr 2001 10:41:17 -0700 (PDT) Received: by bean.overtone.org (Postfix, from userid 1001) id 00E673212; Wed, 25 Apr 2001 13:31:38 -0400 (EDT) Date: Wed, 25 Apr 2001 13:31:38 -0400 From: Kevin Way To: Alfred Perlstein Cc: hackers@FreeBSD.ORG Subject: vmware borked for me Message-ID: <20010425133138.A49952@bean.overtone.org> References: <20010424130546.V1790@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010424130546.V1790@fw.wintelcom.net>; from bright@wintelcom.net on Tue, Apr 24, 2001 at 01:05:46PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I don't know if I'm alone in having this problem, but my machine has a=20 nasty habit of hanging solid while using vmware2 (can't drop to kernel debugger, no dump, nothing). If this problem doesn't hit you, then it might work nicely. The restart time is about 30 seconds or so, then you can assume the VM will run at about 50% speed, compared to native, in my experience. Kevin Way On Tue, Apr 24, 2001 at 01:05:46PM -0700, Alfred Perlstein wrote: > So I've got this really elite machinery here to test on, problem is that > booting takes about 2 minutes each time I make a bad kernel, soooo... >=20 > Anyone using anything like vmware in order to have a rapid reboot/test > cycle for low level FreeBSD kernel coding? How fast is it to > restart the vmware environent and do I stand a chance in hell of > getting it working on FreeBSD-current? >=20 > thanks, > --=20 > -Alfred Perlstein - [alfred@freebsd.org] > Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE65wn6KxA01iDoLN4RAmsrAJ9/kIMgcu5V/wtNfTl/YObftpTluACfRxHa nGlVBxQ5GgR9BmeOeka+Ma8= =43ys -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 10:44:41 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp1.pandora.be (hercules.telenet-ops.be [195.130.132.33]) by hub.freebsd.org (Postfix) with SMTP id 384ED37B423 for ; Wed, 25 Apr 2001 10:44:38 -0700 (PDT) (envelope-from Johan.DeMessemaeker@advalvas.be) Received: (qmail 1593 invoked from network); 25 Apr 2001 17:44:31 -0000 Received: from unknown (HELO D5763CD9.kabel.telenet.be) ([213.118.60.217]) (envelope-sender ) by hercules.telenet-ops.be (qmail-ldap-1.03) with SMTP for ; 25 Apr 2001 17:44:31 -0000 Date: Wed, 25 Apr 2001 19:48:08 +0200 (CEST) From: X-X-Sender: To: Lists Account Cc: Subject: Re: No route to host problems on 5.0-CURRENT In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 25 Apr 2001, Lists Account wrote: > Hi All, > > Just hoping someone can help me out with a bit of a problem, I cvsupped > one of my boxes from 4.3-RELEASE to 5.0-CURRENT last night in an effort to > test some things under 5.0, and since then even with a straight GENERIC > kernel build my machine gives me a no route to host error trying to access > anything including my gateway, which is definatly up and functioning. > > And arp -a call shows that my gateway arp address is "incomplete", now Im > wondering if there is something left out of my kernel build or if there is > some other problem I can possibly resolve. > > Any help would be MUCH appreciated I encountered this problem on my first try on FreeBSD. I compiled my kernel with firewall-support but 'forgot' to configure the firewall itself. I assume your firewall was working on 4.3-RELEASE. Did you compile the CURRENT-kernel with firewall-support ? Did the merge-master completed successfully (so that the firewall-rules are still in your config files) ? Regards, Johan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 10:47:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with ESMTP id A879037B423 for ; Wed, 25 Apr 2001 10:47:15 -0700 (PDT) (envelope-from karsten@rohrbach.de) Received: (qmail 39840 invoked by uid 1000); 25 Apr 2001 17:47:19 -0000 Date: Wed, 25 Apr 2001 19:47:19 +0200 From: "Karsten W. Rohrbach" To: Mike Silbersack Cc: Kris Kennaway , "Andrew R. Reiter" , Rich Morin , freebsd-hackers@FreeBSD.ORG Subject: Re: automated checking of Security Advisories Message-ID: <20010425194719.A39540@mail.webmonster.de> Mail-Followup-To: "Karsten W. Rohrbach" , Mike Silbersack , Kris Kennaway , "Andrew R. Reiter" , Rich Morin , freebsd-hackers@FreeBSD.ORG References: <20010425164827.I17348@mail.webmonster.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from silby@silby.com on Wed, Apr 25, 2001 at 12:24:47PM -0500 X-Arbitrary-Number-Of-The-Day: 42 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Silbersack(silby@silby.com)@2001.04.25 12:24:47 +0000: > > On Wed, 25 Apr 2001, Karsten W. Rohrbach wrote: > > > oldver: bind-8.2.2 > > newver: bind-8.2.3 > > If we're going to flag insecure versions, I think a better way would be to > list "minimum version", which would indicate the lowest numbered version > you can safely run. This could also be incorporated into the Makefile for > each port so that pkg_version could issue alerts even before security > advisories are issued (or after, if you missed some advisories.) oldver was meant to be the latest version containing the bug the SA is about. when i think about it, there should be a field for the urgency of the patch since some bugs are not as serious as other ones. based on that scheme one could put up a periodic check script which send messages above some urgency level to a centralized administrative email account. i think this is something, admins of bigger server farms would like to have. > > Of course, there's the issue of bind 8.x.x versus 9.x.x. I'm not sure how > to resolve what minimum version would refer to. bind8 and bind9 are different ports. package tracking has to flag them correctly when installing the port/package as /var/db/pkg/bind8 and /var/db/pkg/bind9. i assume that it would make more sense to put the version number (like i described in the original post) in /var/db/pkg/somepackage/VERSION so it is easier for the port management tools to track versioning because of the really hairy directory parsing someone would have to implement. > > Mike "Silby" Silbersack > -- > CS Students do it in the pool. KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de [Key] [KeyID---] [Created-] [Fingerprint-------------------------------------] GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 BF46 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 11: 4:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rafiu.psi-domain.co.uk (rafiu.psi-domain.co.uk [212.87.84.199]) by hub.freebsd.org (Postfix) with ESMTP id 0838937B43E for ; Wed, 25 Apr 2001 11:04:37 -0700 (PDT) (envelope-from heckfordj@psi-domain.co.uk) Received: from smtp.psi-domain.co.uk (mail.trident-uk.co.uk [195.166.16.10]) by rafiu.psi-domain.co.uk (8.11.3/8.11.3) with SMTP id f3PI15X39173; Wed, 25 Apr 2001 19:01:06 +0100 (BST) Date: Wed, 25 Apr 2001 20:03:03 +0100 From: Jamie Heckford To: "Karsten W . Rohrbach" Cc: freebsd-hackers@freebsd.org Subject: Re: pkg_version perl hacker project Message-ID: <20010425200303.O31916@storm.psi-domain.co.uk> Reply-To: heckfordj@psi-domain.co.uk References: <20010423231827.A19530@rand.tgd.net> <20010424142340.E5216@brel.com> <20010424014833.B19530@rand.tgd.net> <20010424120052.H89156@xor.obsecurity.org> <200104241907.f3OJ7u103414@bmah-freebsd-0.cisco.com> <20010424123517.A90547@xor.obsecurity.org> <20010424134637.A10180@rand.tgd.net> <20010425200136.B39540@mail.webmonster.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <20010425200136.B39540@mail.webmonster.de>; from karsten@rohrbach.de on Wed, Apr 25, 2001 at 19:01:36 +0100 X-Mailer: Balsa 1.1.1 Lines: 66 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I agree - HTTP is an excellent way to transfer *small* files. Jamie On 2001.04.25 19:01 Karsten W. Rohrbach wrote: > Sean Chittenden(sean@chittenden.org)@2001.04.24 13:46:37 +0000: > > My problem with FTP is as follows: > [...] > > 530 User anonymous access denied. > > ftp: Login failed. > > 421 Service not available, remote server has closed connection. > > ftp: Can't connect or login to host `ftp.freebsd.org' > > > > I get that quite often and have been for a few years. Are you > > sure that an HTTP method couldn't be made available? ftp is an > > expensive protocol because it's interactive, not to mention that the > > protocol designers didn't have firewalls in mind. HTTP, though less > > efficient in terms of data transfer for large files, is much easier to > > program, distribute, scale, etc. Thoughts? -sc > > for fetching files, http is the better and faster alternative imho. i > got the whole mirror on filepile.nacamar.net(ftp2.de.freebsd.org) > exported via http (the /pub path) so all i have to configure in my > make.conf for example is replacing the ftp:// with http:// in > MASTER_SITE_BACKUP. for quick and easy updates http is the way to go. > you can also do all sorts of selective statistics with standard common > logfile format access_logs better and faster with log analysis packages > (like for example selective access statistics based on the os release > when you push the binary packages into different basepaths). > > /k > > > > -- > > LET Jesus be YOUR anchor! When Satan rocks your boat, THROW Jesus > overboard! > KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de > [Key] [KeyID---] [Created-] [Fingerprint-------------------------------------] > GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 > BF46 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > > -- Jamie Heckford Network Operations Manager Psi-Domain - Innovative Linux Solutions. Ask Us How. FreeBSD - The power to serve Join our mailing list and stay informed by emailing majordomo@psi-domain.co.uk with the line: subscribe collective ===================================== email: heckfordj@psi-domain.co.uk web: http://www.psi-domain.co.uk/ tel: +44 (0)1737 789 246 fax: +44 (0)1737 789 245 mobile: +44 (0)7866 724 224 ===================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 12: 5:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id AE38337B422 for ; Wed, 25 Apr 2001 12:05:07 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.11.2) id f3PJ4xP41049; Wed, 25 Apr 2001 12:04:59 -0700 (PDT) (envelope-from dillon) Date: Wed, 25 Apr 2001 12:04:59 -0700 (PDT) From: Matt Dillon Message-Id: <200104251904.f3PJ4xP41049@earth.backplane.com> To: Poul-Henning Kamp Cc: hackers@freebsd.org Subject: Idea for additional feature for jail - jailed security level Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just had an idea... allow the kernel security level to be specified for a jailed environment. Add a 'securelevel' field to the jail structure and bump the API rev. The kernel uses the higher of the global securelevel and the securelevel defined by the jail when running system calls called from programs running in the jail. This way we can run at securelevel -1 outside the jail but enforce a higher securelevel inside the jail, thus enforcing chflags permissions (and other things) within the jail without having to enforce them outside. -- Idea #2: There are a number of sysctl's that effect jails globally, such as jail_sysvipc_allowed. Encapsulate these parameters in an internal named kernel structure and provide system calls to set and retrieve the parameters. e.g. int jail_param(int jailset, int cmd, int type, int value) cmd: JAIL_GET_PARAM or JAIL_SET_PARAM type: e.g. JAIL_TYPE_SYSVIPC_DISABLE value: e.g. 0 or 1 (if setting), unused if retrieving. Then allow the 'jailset' id to be specified in the jail() system call, allowing you to customize the sysctl parameters for any given jail. The least permissive of the global sysctl defaults and the jailset parameters would be used within the jail so you can still globally disable something in a running system. jail_param() would be disabled within a jail or when running at a securelevel other then -1. Combined with the first idea this would allow the system admin (outside the jail) to manipulate the jail parameters of jailed users running inside jails on the system. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 12:11:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-27.dsl.lsan03.pacbell.net [63.207.60.27]) by hub.freebsd.org (Postfix) with ESMTP id 5907237B422 for ; Wed, 25 Apr 2001 12:11:35 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A425266E09; Wed, 25 Apr 2001 12:11:34 -0700 (PDT) Date: Wed, 25 Apr 2001 12:11:34 -0700 From: Kris Kennaway To: "Karsten W. Rohrbach" , Kris Kennaway , "Andrew R. Reiter" , Rich Morin , freebsd-hackers@FreeBSD.ORG Subject: Re: automated checking of Security Advisories Message-ID: <20010425121134.A78153@xor.obsecurity.org> References: <20010424121130.C89819@xor.obsecurity.org> <20010424122758.A90366@xor.obsecurity.org> <20010425164827.I17348@mail.webmonster.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010425164827.I17348@mail.webmonster.de>; from karsten@rohrbach.de on Wed, Apr 25, 2001 at 04:48:27PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 25, 2001 at 04:48:27PM +0200, Karsten W. Rohrbach wrote: > Kris Kennaway(kris@obsecurity.org)@2001.04.24 12:27:58 +0000: > > This is another reason why having a third-party modifying the advisory > > to mark it up into XML is a bad idea; you lose the integrity > > protection from the PGP signature. > that taken as a solid basis for authenticity and integrity of the > advisories, how will the to-be-parsed section look like? >=20 > -----BEGIN FREEBSD PORT UPGRADE INFO----- > oldver: bind-8.2.2 > newver: bind-8.2.3 > repo: http://security.freebsd.org/updates/bind-8.2.3/@OSVER@/bind-8.2.3.p= kg > notes: http://security.freebsd.org/updates/bind-8.2.3/@OSVER@/relnotes.txt > -----END FREEBSD PORT UPGRADE INFO----- Versions affected: in ports it would also be feasible to create an 'uninstall' target, so > on could (cd /usr/ports && make update) and (cd /usr/ports/net/bind8 && > make upgrade) where upgrade would be standard target (build i think), > uninstall, reinstall and uninstall would remove the _older_ package, in > this case 8.2.2. any ideas on how to implement this smoothly and safe? This is a separate issue - possible, but nontrivial. > btw, why do the package versions have to be tracked in the directory > name in /var/db/pkg? couldnt we just create a directory > /var/db/pkg/PORTNAME (in this case /var/db/pkg/bind8) and put a VERSION > file in there? automated upgrading would be much easier since we do not > have to grok the names of the directories of the installed ports (which > would be a point of unsafeness due to the port numbering/version scheme > which has /var/db/pkg/pkg-1.0.3 and /var/db/pkg/pkg2-2.0.9 which are the > same package but different major versions and we do not want to kill > pkg1 when we upgrade pkg2, so filename parsing really gets a little > complicated here...) This is also a separate issue to the advisory parsing one. I suggest you search the -ports archive where it's come up before. In general we should be talking about this stuff over there anyway. Kris --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE65yFlWry0BWjoQKURAvH5AKCkPYaFfWHxMb7LXEmulAXbG0uZGwCg4r2n z50YNCbz0THz7y3/PZs+Fus= =QqbB -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 12:15:41 2001 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 1BC3C37B422 for ; Wed, 25 Apr 2001 12:15:38 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f3PJFKU74645; Wed, 25 Apr 2001 21:15:20 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Matt Dillon Cc: hackers@freebsd.org Subject: Re: Idea for additional feature for jail - jailed security level In-Reply-To: Your message of "Wed, 25 Apr 2001 12:04:59 PDT." <200104251904.f3PJ4xP41049@earth.backplane.com> Date: Wed, 25 Apr 2001 21:15:20 +0200 Message-ID: <74643.988226120@critter> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200104251904.f3PJ4xP41049@earth.backplane.com>, Matt Dillon writes: > I just had an idea... allow the kernel security level to be specified > for a jailed environment. Add a 'securelevel' field to the jail > structure and bump the API rev. That would be trivial to do, but I thought that securelevels were demed "nice proof of concept but not the right way" ? -- 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 Wed Apr 25 12:23:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id A44B537B422 for ; Wed, 25 Apr 2001 12:23:45 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.11.2) id f3PJNcD41451; Wed, 25 Apr 2001 12:23:38 -0700 (PDT) (envelope-from dillon) Date: Wed, 25 Apr 2001 12:23:38 -0700 (PDT) From: Matt Dillon Message-Id: <200104251923.f3PJNcD41451@earth.backplane.com> To: Poul-Henning Kamp Cc: hackers@freebsd.org Subject: Re: Idea for additional feature for jail - jailed security level References: <74643.988226120@critter> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : :In message <200104251904.f3PJ4xP41049@earth.backplane.com>, Matt Dillon writes: :> I just had an idea... allow the kernel security level to be specified :> for a jailed environment. Add a 'securelevel' field to the jail :> structure and bump the API rev. : :That would be trivial to do, but I thought that securelevels were :demed "nice proof of concept but not the right way" ? : :-- :Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 Here's my thinking: Right now we have this wonderful 'securelevel' feature which, if turned on, allows us to enforce chflags permissions. The only problem with it is that in order to make chflags permissions effective, we have to pretty much use them on every file in the system (not just 'strategic' files). This makes systems difficult to maintain without taking down. At BEST we tried to use securelevel and, in fact, did, but in order to change anything without taking the box down we had to break into DDB and turn it off temporarily, make the changes, then raise it again. At home and on Backplane machines it's just too inconvenient, yet I still would love most of the services and logins to those machines to run at a higher securelevel if I could. But if we have the ability to run at a higher securelevel inside a jail we can allow console-root logins to access the system at the global securelevel of -1 yet force every single other login to the system and *ALL* services to run inside a jail (chroot to "/" essentially) with a higher securelevel. Enforcing the securelevel combined with the use of chflags inside a prison, plus idea #2, gives us much more flexibility then the hardwired restrictions jail() currently employs. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 12:27:11 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 4F47037B43C for ; Wed, 25 Apr 2001 12:27:04 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.11.2) id f3PJQvM41527; Wed, 25 Apr 2001 12:26:57 -0700 (PDT) (envelope-from dillon) Date: Wed, 25 Apr 2001 12:26:57 -0700 (PDT) From: Matt Dillon Message-Id: <200104251926.f3PJQvM41527@earth.backplane.com> To: Poul-Henning Kamp Cc: hackers@freebsd.org Subject: Re: Idea for additional feature for jail - jailed security level References: <74643.988226120@critter> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : :In message <200104251904.f3PJ4xP41049@earth.backplane.com>, Matt Dillon writes: :> I just had an idea... allow the kernel security level to be specified :> for a jailed environment. Add a 'securelevel' field to the jail :> structure and bump the API rev. : :That would be trivial to do, but I thought that securelevels were :demed "nice proof of concept but not the right way" ? : :-- :Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 Oh, also we would enforce increasing the secure level only... so when you run a jail the minimum securelevel is the current securelevel. And the global sysctl securelevel would still exist and override everything, but now it is possible to leave it at -1 and run most system services (including sshd) at a higher secure level inside a jail, leaving only the init-run getty's running at securelevel -1. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 12:27:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id E88F137B43E for ; Wed, 25 Apr 2001 12:27:15 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3PJRDj29370; Wed, 25 Apr 2001 12:27:13 -0700 (PDT) Date: Wed, 25 Apr 2001 12:27:13 -0700 From: Alfred Perlstein To: Matt Dillon Cc: Poul-Henning Kamp , hackers@FreeBSD.ORG Subject: Re: Idea for additional feature for jail - jailed security level Message-ID: <20010425122712.P1790@fw.wintelcom.net> References: <74643.988226120@critter> <200104251923.f3PJNcD41451@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104251923.f3PJNcD41451@earth.backplane.com>; from dillon@earth.backplane.com on Wed, Apr 25, 2001 at 12:23:38PM -0700 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Matt Dillon [010425 12:24] wrote: > > But if we have the ability to run at a higher securelevel inside a jail > we can allow console-root logins to access the system at the global > securelevel of -1 yet force every single other login to the system and > *ALL* services to run inside a jail (chroot to "/" essentially) with > a higher securelevel. > > Enforcing the securelevel combined with the use of chflags inside > a prison, plus idea #2, gives us much more flexibility then the > hardwired restrictions jail() currently employs. That's a really cool idea, you should talk to Robert Watson who's working on "jailNG" though. -- -Alfred Perlstein - [alfred@freebsd.org] Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 12:33:13 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 48E1A37B422 for ; Wed, 25 Apr 2001 12:33:11 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.11.2) id f3PJX5D41622; Wed, 25 Apr 2001 12:33:05 -0700 (PDT) (envelope-from dillon) Date: Wed, 25 Apr 2001 12:33:05 -0700 (PDT) From: Matt Dillon Message-Id: <200104251933.f3PJX5D41622@earth.backplane.com> To: Alfred Perlstein Cc: Poul-Henning Kamp , hackers@FreeBSD.ORG Subject: Re: Idea for additional feature for jail - jailed security level References: <74643.988226120@critter> <200104251923.f3PJNcD41451@earth.backplane.com> <20010425122712.P1790@fw.wintelcom.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Another cool feature, which would be harder to implement, would be to have a secondary path for jail which specifies the path under which filesystem modifications can be made (create files, edit files, etc...), and outside of which only read access is permitted. This way you could create a jail with "/" as the chroot yet which still severely restricts the types of filesystem modifications that may be employed outside of some other directory. With a feature like that it would be fairly easy to run apache inside a jailed environment without having to spend a lot of effort creating the environment. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 13:26:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from silby.com (adam042-060.resnet.wisc.edu [146.151.42.60]) by hub.freebsd.org (Postfix) with ESMTP id 69C8337B423 for ; Wed, 25 Apr 2001 13:26:19 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 7458 invoked by uid 1000); 25 Apr 2001 20:26:18 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 25 Apr 2001 20:26:18 -0000 Date: Wed, 25 Apr 2001 15:26:18 -0500 (CDT) From: Mike Silbersack To: "Karsten W. Rohrbach" Cc: Kris Kennaway , "Andrew R. Reiter" , Rich Morin , Subject: Re: automated checking of Security Advisories In-Reply-To: <20010425194719.A39540@mail.webmonster.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 25 Apr 2001, Karsten W. Rohrbach wrote: > oldver was meant to be the latest version containing the bug the SA is > about. Ah, makes sense then. I originally thought it meant _just_ that version. > > Of course, there's the issue of bind 8.x.x versus 9.x.x. I'm not sure how > > to resolve what minimum version would refer to. > bind8 and bind9 are different ports. package tracking has to flag them > correctly when installing the port/package as /var/db/pkg/bind8 and True, and in actuality that's probably a rarity anyway. I guess it's not a worry. 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 Wed Apr 25 14: 0: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 1063637B423; Wed, 25 Apr 2001 13:59:47 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f3PKxZG15010; Wed, 25 Apr 2001 13:59:35 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Wed, 25 Apr 2001 13:58:55 -0700 (PDT) From: John Baldwin To: smp@FreeBSD.org Subject: SMP Patch Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ bcc'd to -hackers, followups to -smp please ] The last part of the alpha SMP support has actually grown into a rather large patch that does several things: - It splits the per-process portions of hardclock() and statclock() off into hardclock_process() and statclock_process() respectively. hardclock() and statclock() call the *_process() functions for the current process so that UP systems will run as before. For SMP systems, it is simply necessary to ensure that all other processors execute the *_process() functions when the main clock functions are triggered on one CPU by an interrupt. For the alpha 4100, clock interrupts are delievered in a staggered broadcast fashion, so we simply call hardclock/statclock on the boot CPU and call the *_process() functions on the secondaries. For x86, we call statclock and hardclock as usual and then call forward_hardclock/statclock in the MD code to send an IPI to cause the AP's to execute forwared_hardclock/statclock which then call the *_process() functions. - forward_signal() and forward_roundrobin() have been reworked to be MI and to involve less hackery. Now the cpu doing the forward sets any flags, etc. and sends a very simple IPI_AST to the other cpu(s). AST IPIs now just basically return so that they can execute ast() and don't bother with setting the astpending or needresched flags themselves. This also removes the loop in forward_signal() as sched_lock closes the race condition that the loop worked around. - need_resched(), resched_wanted() and clear_resched() have been changed to take a process to act on rather than assuming curproc so that they can be used to implement forward_roundrobin() as described above. - Various other SMP variables have been moved to a MI subr_smp.c and a new header sys/smp.h declares MI SMP variables and API's. The IPI API's from machine/ipl.h have moved to machine/smp.h which is included by sys/smp.h. - The globaldata_register() and globaldata_find() functions as well as the SLIST of globaldata structures has become MI and moved into subr_smp.c. Also, the globaldata list is only available if SMP support is compiled in. The patch can be found at http://www.FreeBSD.org/~jhb/patches/smp.patch Please review. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "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 Wed Apr 25 14: 9:11 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from oahu.WURLDLINK.NET (oahu.WURLDLINK.NET [216.235.52.1]) by hub.freebsd.org (Postfix) with ESMTP id AA53437B423 for ; Wed, 25 Apr 2001 14:09:08 -0700 (PDT) (envelope-from vince@oahu.WURLDLINK.NET) Received: from localhost (vince@localhost) by oahu.WURLDLINK.NET (8.9.3/8.9.3) with ESMTP id LAA60805; Wed, 25 Apr 2001 11:08:54 -1000 (HST) (envelope-from vince@oahu.WURLDLINK.NET) Date: Wed, 25 Apr 2001 11:08:54 -1000 (HST) From: Vincent Poy To: Walter Hop Cc: Andrew Gallatin , Subject: Re: Re[2]: vmware on freebsd for fast booting for devel. In-Reply-To: <14827294737.20010425134900@binity.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 25 Apr 2001, Walter Hop wrote: > [in reply to vince@oahu.WURLDLINK.NET, 25-04-2001] > > > Interesting. What happens if it's like the reverse where one runs > > FreeBSD under vmware from Windows2000? Since 5-10% seems to be really > > slow. > > I always try out new applications in a virtual machine running FreeBSD > on my Windows workstation, it's lovely. I/O is painfully slow, but > in normal situations performance is >10%... (PII-350, 256MB ram) I mean isn't 10% native performance or slightly more still painfully slow to run a virtual machine in... Atleast to the user, it will appear to be real slow.. like a 286 performance on a Pentium III 1 GIG. Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 14:22:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from oahu.WURLDLINK.NET (oahu.WURLDLINK.NET [216.235.52.1]) by hub.freebsd.org (Postfix) with ESMTP id 2C10A37B422 for ; Wed, 25 Apr 2001 14:22:17 -0700 (PDT) (envelope-from vince@oahu.WURLDLINK.NET) Received: from localhost (vince@localhost) by oahu.WURLDLINK.NET (8.9.3/8.9.3) with ESMTP id LAA61005; Wed, 25 Apr 2001 11:22:05 -1000 (HST) (envelope-from vince@oahu.WURLDLINK.NET) Date: Wed, 25 Apr 2001 11:22:05 -1000 (HST) From: Vincent Poy To: Andrew Gallatin Cc: Walter Hop , Subject: Re: Re[2]: vmware on freebsd for fast booting for devel. In-Reply-To: <15078.52718.574546.451382@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 25 Apr 2001, Andrew Gallatin wrote: > Walter Hop writes: > > [in reply to vince@oahu.WURLDLINK.NET, 25-04-2001] > > > > > Interesting. What happens if it's like the reverse where one runs > > > FreeBSD under vmware from Windows2000? Since 5-10% seems to be really > > > slow. > > > > I always try out new applications in a virtual machine running FreeBSD > > on my Windows workstation, it's lovely. I/O is painfully slow, but > > in normal situations performance is >10%... (PII-350, 256MB ram) > > Note that the 5-10% I was talking about is just the tertiary > bootloader (/boot/loader). I mentioned it because the original poster > was primarily concerned about 'bootstones' -- in more normal > situations (ie, once the kernel is loaded) I'd say performance is more > like 40-80% of native. Hmmm, 80% sounds more acceptable. 40% would seem weird since it'll be running the VM on like a 386 or something =) Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 14:33:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 0434637B423 for ; Wed, 25 Apr 2001 14:33:22 -0700 (PDT) (envelope-from babolo@links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id BAA05985; Thu, 26 Apr 2001 01:33:55 +0400 (MSD) Message-Id: <200104252133.BAA05985@aaz.links.ru> Subject: Re: Idea for additional feature for jail - jailed security level In-Reply-To: <200104251904.f3PJ4xP41049@earth.backplane.com> from "Matt Dillon" at "Apr 25, 1 12:04:59 pm" To: dillon@earth.backplane.com (Matt Dillon) Date: Thu, 26 Apr 2001 01:33:55 +0400 (MSD) Cc: phk@critter.freebsd.dk, hackers@FreeBSD.ORG From: .@babolo.ru MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matt Dillon writes: ..... > Idea #2: There are a number of sysctl's that effect jails globally, > such as jail_sysvipc_allowed. > > Encapsulate these parameters in an internal named kernel structure and > provide system calls to set and retrieve the parameters. e.g. > > int jail_param(int jailset, int cmd, int type, int value) > > cmd: JAIL_GET_PARAM or JAIL_SET_PARAM > type: e.g. JAIL_TYPE_SYSVIPC_DISABLE > value: e.g. 0 or 1 (if setting), unused if retrieving. > > Then allow the 'jailset' id to be specified in the jail() system call, > allowing you to customize the sysctl parameters for any given jail. > The least permissive of the global sysctl defaults and the jailset > parameters would be used within the jail so you can still globally > disable something in a running system. And add jailset column to ps(1) (-o ?) and programm, similar to kill(1) or killall(1) with jailset parameter. And, of cause, jail(1) must print off jailset > jail_param() would be disabled within a jail or when running at > a securelevel other then -1. Combined with the first idea this > would allow the system admin (outside the jail) to manipulate the > jail parameters of jailed users running inside jails on the system. -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 16:20:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id DF6A037B43C for ; Wed, 25 Apr 2001 16:20:35 -0700 (PDT) (envelope-from harry_n@t-online.de) Received: from fwd02.sul.t-online.com by mailout05.sul.t-online.com with smtp id 14sYaI-0005Zc-01; Thu, 26 Apr 2001 01:20:34 +0200 Received: from HN-MAIN (320059219908-0001@[62.224.94.245]) by fwd02.sul.t-online.com with esmtp id 14sYaI-102B4CC; Thu, 26 Apr 2001 01:20:34 +0200 Received: (from hn@localhost) by HN-MAIN (8.9.3/8.9.3/Debian 8.9.3-21) id BAA02884 for freebsd-hackers@FreeBSD.org; Thu, 26 Apr 2001 01:20:51 GMT From: harry_n@t-online.de (Harry Neufeld) Date: Thu, 26 Apr 2001 01:18:35 +0000 To: freebsd-hackers@FreeBSD.org Message-ID: <20010426011835.A2868@t-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Sender: 320059219908-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 16:56:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by hub.freebsd.org (Postfix) with ESMTP id 3977337B423 for ; Wed, 25 Apr 2001 16:56:23 -0700 (PDT) (envelope-from mike_makonnen@yahoo.com) Received: from blackbox.pacbell.net ([64.166.87.99]) by mta7.pltn13.pbi.net (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0GCD009KBGUSAS@mta7.pltn13.pbi.net> for freebsd-hackers@freebsd.org; Wed, 25 Apr 2001 16:49:41 -0700 (PDT) Received: (from mikem@localhost) by blackbox.pacbell.net (8.11.1/8.11.3) id f3PNrMf44942 for freebsd-hackers@freebsd.org; Wed, 25 Apr 2001 16:53:22 -0700 (PDT envelope-from mikem) Date: Wed, 25 Apr 2001 16:53:22 -0700 (PDT) From: mikem Subject: problems compiling sysinstall: dialog_noyes To: freebsd-hackers@freebsd.org Message-id: <200104252353.f3PNrMf44942@blackbox.pacbell.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I was trying to modify sysinstall.c, but I got a linker error saying that msg.o was referencing the undefined function dialog_noyes(). The ncurses library was correctly included in the compile command line, so I did a bit of searching and I couldn't find any references to a ncurses library function called dialog_noyes, but there is one called dialog_yesno. So, is the reference to dialog_noyes a typo or am I missing something. Also, along the same lines, there are two functions in msg.c: msgYesNo and msgNoYes which make use of dialog_yesno and dialog_noyes, respectively. The one line comment before each function is identical. Something along the lines of: this function returns true if YES is selected and false if NO is selected. However, from the function names I am thinking that msgYesNo returns true on YES and msgNoYes returns true on NO. The meaning of these two functions depends on whether dialog_noyes exists because both functions are identical, except that one calls dialog_yesno and the other one calls dialog_noyes. Thanks, Mike Makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 17:37:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 5FA4637B440 for ; Wed, 25 Apr 2001 17:37:20 -0700 (PDT) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (msmith@localhost [127.0.0.1]) by mass.dis.org (8.11.3/8.11.2) with ESMTP id f3Q0cwb19007; Wed, 25 Apr 2001 17:39:07 -0700 (PDT) (envelope-from msmith@mass.dis.org) Message-Id: <200104260039.f3Q0cwb19007@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Lists Account Cc: freebsd-hackers@freebsd.org Subject: Re: ISA_PNP_PROBE In-reply-to: Your message of "Wed, 25 Apr 2001 13:38:27 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 25 Apr 2001 17:38:58 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi All > > Just wondered, is there an equivelant function to ISA_PNP_PROBE that works > with PCI (for example PCI_PNP_PROBE), anyone know? There isn't one. Go look at a PCI driver to see why. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 19:34: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from cache2-boot.infase.es (cache2-boot.infase.es [212.87.192.194]) by hub.freebsd.org (Postfix) with ESMTP id 538B137B43C; Wed, 25 Apr 2001 19:33:54 -0700 (PDT) (envelope-from arnaiz@encomix.es) Received: from LAPTOP (dynamic.193.es.encomix.com [194.143.193.101]) by cache2-boot.infase.es (Postfix) with SMTP id 088A7FBCA; Thu, 26 Apr 2001 04:32:18 +0200 (CEST) From: =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= To: , Subject: VPN Date: Thu, 26 Apr 2001 04:35:40 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I want to set VPN on my system, I see there is many programs created to do it. Any advantages or disadvantages of using one or other?. What is better (is the first time I set VPN on a UNIX system).? Thanks in advance. -- Jesús Arnáiz 0z0ne Inc I+D/IT Manager http://www.0z0ne.com mailto:jesus@0z0ne.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 19:54:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from cache2-boot.infase.es (cache2-boot.infase.es [212.87.192.194]) by hub.freebsd.org (Postfix) with ESMTP id 1A4C137B422; Wed, 25 Apr 2001 19:54:14 -0700 (PDT) (envelope-from arnaiz@encomix.es) Received: from LAPTOP (dynamic.193.es.encomix.com [194.143.193.101]) by cache2-boot.infase.es (Postfix) with SMTP id BE5B6FC08; Thu, 26 Apr 2001 04:52:37 +0200 (CEST) From: =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= To: Cc: Subject: RV: VPN Date: Thu, 26 Apr 2001 04:56:00 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----Mensaje original----- De: Jesús Arnáiz [mailto:arnaiz@encomix.es] Enviado el: jueves, 26 de abril de 2001 4:36 Para: freebsd-questions@freebsd.org; freebsd-hackers@freebsd.org Asunto: VPN Hi! I want to set VPN on my system, I see there is many programs created to do it. Any advantages or disadvantages of using one or other?. What is better (is the first time I set VPN on a UNIX system).? Thanks in advance. -- Jesús Arnáiz 0z0ne Inc I+D/IT Manager http://www.0z0ne.com mailto:jesus@0z0ne.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 21: 0:15 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 47F9837B423; Wed, 25 Apr 2001 21:00:11 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f3Q407830072; Wed, 25 Apr 2001 22:00:07 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200104260400.f3Q407830072@harmony.village.org> To: Mike Smith Subject: Re: ISA_PNP_PROBE Cc: Lists Account , freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 25 Apr 2001 17:38:58 PDT." <200104260039.f3Q0cwb19007@mass.dis.org> References: <200104260039.f3Q0cwb19007@mass.dis.org> Date: Wed, 25 Apr 2001 22:00:07 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200104260039.f3Q0cwb19007@mass.dis.org> Mike Smith writes: : > Just wondered, is there an equivelant function to ISA_PNP_PROBE that works : > with PCI (for example PCI_PNP_PROBE), anyone know? : : There isn't one. Go look at a PCI driver to see why. Actually, I think he's asking for a convenience function that he can pass a table too and the for loop that is in many pci functions would be eliminated in favor of this lookup routine. But I could be wrong. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 21:12:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 6D69E37B424 for ; Wed, 25 Apr 2001 21:12:27 -0700 (PDT) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (msmith@localhost [127.0.0.1]) by mass.dis.org (8.11.3/8.11.2) with ESMTP id f3Q4FxL21359; Wed, 25 Apr 2001 21:15:59 -0700 (PDT) (envelope-from msmith@mass.dis.org) Message-Id: <200104260415.f3Q4FxL21359@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Warner Losh Cc: Lists Account , freebsd-hackers@FreeBSD.ORG Subject: Re: ISA_PNP_PROBE In-reply-to: Your message of "Wed, 25 Apr 2001 22:00:07 MDT." <200104260400.f3Q407830072@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 25 Apr 2001 21:15:59 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > In message <200104260039.f3Q0cwb19007@mass.dis.org> Mike Smith writes: > : > Just wondered, is there an equivelant function to ISA_PNP_PROBE that works > : > with PCI (for example PCI_PNP_PROBE), anyone know? > : > : There isn't one. Go look at a PCI driver to see why. > > Actually, I think he's asking for a convenience function that he can > pass a table too and the for loop that is in many pci functions would > be eliminated in favor of this lookup routine. But I could be wrong. If that's the case, he needs to look more carefully at some PCI drivers to see why. 8) For the original poster; the table that drives such a conveninence function would have to be very complex. Some drivers check the vendor ID, device ID, subvendor ID, subdevice ID, and also query extra device -specific registers, as well as deriving several side-effect values from the table index (see eg. the 'aac' driver for an example of most of this). -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 22:19:59 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from winston.osd.bsdi.com (adsl-64-173-15-98.dsl.sntc01.pacbell.net [64.173.15.98]) by hub.freebsd.org (Postfix) with ESMTP id 9D7D037B422 for ; Wed, 25 Apr 2001 22:19:55 -0700 (PDT) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.3/8.11.2) with ESMTP id f3Q5JXM96172; Wed, 25 Apr 2001 22:19:33 -0700 (PDT) (envelope-from jkh@osd.bsdi.com) To: mike_makonnen@yahoo.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: problems compiling sysinstall: dialog_noyes In-Reply-To: <200104252353.f3PNrMf44942@blackbox.pacbell.net> References: <200104252353.f3PNrMf44942@blackbox.pacbell.net> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010425221933O.jkh@osd.bsdi.com> Date: Wed, 25 Apr 2001 22:19:33 -0700 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 18 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: mikem Subject: problems compiling sysinstall: dialog_noyes Date: Wed, 25 Apr 2001 16:53:22 -0700 (PDT) > Hi, > > I was trying to modify sysinstall.c, but I got a linker error > saying that msg.o was referencing the undefined function > dialog_noyes(). The ncurses library was correctly included in the > compile command line, so I did a bit of searching and I couldn't find > any references to a ncurses library function called dialog_noyes, but > there is one called dialog_yesno. So, is the reference to dialog_noyes a > typo or am I missing something. You need to update your libdialog - this was a new function added to the dialog library. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Wed Apr 25 23:34:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id CE32837B423 for ; Wed, 25 Apr 2001 23:34:36 -0700 (PDT) (envelope-from dima@unixfreak.org) Received: from spike.unixfreak.org (spike [63.198.170.139]) by bazooka.unixfreak.org (Postfix) with ESMTP id 6654A3E2A for ; Wed, 25 Apr 2001 23:34:36 -0700 (PDT) To: hackers@freebsd.org Subject: Getting a list of users logged in at a certain time (patch) Date: Wed, 25 Apr 2001 23:34:36 -0700 From: Dima Dorfman Message-Id: <20010426063436.6654A3E2A@bazooka.unixfreak.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG OpenBSD's last(1) has a nice snapshot feature which allows one to get a list of users logged in at a certain date and time. This is very useful, e.g., for security auditing: you see a message in a log, and want to know who could've caused it. Assuming that it was something that must've been done locally, using this feature you can narrow the list down to a the users that were logged in. It isn't perfect, but it's a start. Attached is a patch which implements this feature in FreeBSD's last(1). I copied most of the "meat" from OpenBSD, but our last(1) still looks nothing like theirs, and the delta is larger than it should've been: surprisingly, our last(1) is quite a bit more mature (e.g., internationalization). Comments? Suggestions? Thanks, Dima Dorfman dima@unixfreak.org Index: last.1 =================================================================== RCS file: /home/ncvs/src/usr.bin/last/last.1,v retrieving revision 1.8 diff -u -r1.8 last.1 --- last.1 2001/04/26 06:10:46 1.8 +++ last.1 2001/04/26 06:21:14 @@ -41,6 +41,7 @@ .Sh SYNOPSIS .Nm .Op Fl Ns Ar n +.Op Fl d Ar [[CC]YY][MMDD]hhmm[.SS] .Op Fl f Ar file .Op Fl h Ar host .Op Fl s @@ -49,12 +50,13 @@ .Op user ... .Sh DESCRIPTION .Nm Last -will list the sessions of specified +will either list the sessions of specified .Ar users , .Ar ttys , and .Ar hosts , -in reverse time order. +in reverse time order, +or list the users logged in at a specified date and time. Each line of output contains the user name, the tty from which the session was conducted, any hostname, the start and stop times for the session, and the duration @@ -69,6 +71,60 @@ Limits the report to .Ar n lines. +.It Fl d Ar date +Specify the snapshot date and time. +All users logged in at the snapshot date and time will +be reported. +This may be used with the +.Fl f +option to derive the results from stored wtmp files. +When this argument is provided, all other options except for +.Fl f +and +.Fl Ar n +are ignored. +The argument should be in the form +.Dq [[CC]YY][MMDD]hhmm[.SS] +where each pair of letters represents the following: +.Pp +.Bl -tag -width Ds -compact -offset indent +.It Ar CC +The first two digits of the year (the century). +.It Ar YY +The second two digits of the year. +If +.Dq YY +is specified, but +.Dq CC +is not, a value for +.Dq YY +between 69 and 99 results in a +.Dq CC +value of 19. +Otherwise, a +.Dq CC +value of 20 is used. +.It Ar MM +Month of the year, from 1 to 12. +.It Ar DD +Day of the month, from 1 to 31. +.It Ar hh +Hour of the day, from 0 to 23. +.It Ar mm +Minute of the hour, from 0 to 59. +.It Ar SS +Second of the minute, from 0 to 61. +.El +.Pp +If the +.Dq CC +and +.Dq YY +letter pairs are not specified, the values default to the current +year. +If the +.Dq SS +letter pair is not specified, the value defaults to 0. .It Fl f Ar file .Nm Last reads the file @@ -94,8 +150,9 @@ default days, hours and minutes. .El .Pp -If -multiple arguments are given, the information which applies to any of the +If multiple arguments are given, +and a snapshot time is not specified, +the information which applies to any of the arguments is printed, e.g., .Dq Li "last root -t console" would list all of Index: last.c =================================================================== RCS file: /home/ncvs/src/usr.bin/last/last.c,v retrieving revision 1.16 diff -u -r1.16 last.c --- last.c 2001/03/21 19:08:01 1.16 +++ last.c 2001/04/26 06:21:15 @@ -62,6 +62,7 @@ #define NO 0 /* false/no */ #define YES 1 /* true/yes */ +#define ATOI2(ar) ((ar)[0] - '0') * 10 + ((ar)[1] - '0'); (ar) += 2; static struct utmp buf[1024]; /* utmp read buffer */ @@ -89,11 +90,16 @@ static int sflag = 0; /* show delta in seconds */ static int width = 5; /* show seconds in delta */ static int d_first; +static time_t snaptime; /* if != 0, we will only + * report users logged in + * at this snapshot time + */ void addarg __P((int, char *)); void hostconv __P((char *)); void onintr __P((int)); char *ttyconv __P((char *)); +time_t dateconv __P((char *)); int want __P((struct utmp *)); void wtmp __P((void)); @@ -117,7 +123,8 @@ d_first = (*nl_langinfo(D_MD_ORDER) == 'd'); maxrec = -1; - while ((ch = getopt(argc, argv, "0123456789f:h:st:w")) != -1) + snaptime = 0; + while ((ch = getopt(argc, argv, "0123456789d:f:h:st:w")) != -1) switch (ch) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': @@ -135,6 +142,9 @@ exit(0); } break; + case 'd': + snaptime = dateconv(optarg); + break; case 'f': file = optarg; break; @@ -189,6 +199,7 @@ char *crmsg; char ct[80]; struct tm *tm; + int snapfound = 0; /* found snapshot entry? */ LIST_INIT(&ttylist); @@ -220,7 +231,19 @@ currentout = -bp->ut_time; crmsg = strncmp(bp->ut_name, "shutdown", UT_NAMESIZE) ? "crash" : "shutdown"; - if (want(bp)) { + /* + * if we're in snapshop mode, we want to + * exit if this shutdown/reboot appears + * while we we are tracking the active + * range + */ + if (snaptime && snapfound) + return; + /* + * don't print shutdown/reboot entries + * unless flagged for + */ + if (!snaptime && want(bp)) { tm = localtime(&bp->ut_time); (void) strftime(ct, sizeof(ct), d_first ? "%a %e %b %R" : @@ -243,7 +266,7 @@ */ if ((bp->ut_line[0] == '{' || bp->ut_line[0] == '|') && !bp->ut_line[1]) { - if (want(bp)) { + if (want(bp) && !snaptime) { tm = localtime(&bp->ut_time); (void) strftime(ct, sizeof(ct), d_first ? "%a %e %b %R" : @@ -259,77 +282,82 @@ } continue; } - if (bp->ut_name[0] == '\0' || want(bp)) { - /* find associated tty */ - LIST_FOREACH(tt, &ttylist, list) - if (!strncmp(tt->tty, bp->ut_line, UT_LINESIZE)) - break; - - if (tt == NULL) { - /* add new one */ - tt = malloc(sizeof(struct ttytab)); - if (tt == NULL) - err(1, "malloc failure"); - tt->logout = currentout; - strncpy(tt->tty, bp->ut_line, UT_LINESIZE); - LIST_INSERT_HEAD(&ttylist, tt, list); - } - - if (bp->ut_name[0]) { - /* - * when uucp and ftp log in over a network, the entry in - * the utmp file is the name plus their process id. See - * etc/ftpd.c and usr.bin/uucp/uucpd.c for more information. - */ - if (!strncmp(bp->ut_line, "ftp", sizeof("ftp") - 1)) - bp->ut_line[3] = '\0'; - else if (!strncmp(bp->ut_line, "uucp", sizeof("uucp") - 1)) - bp->ut_line[4] = '\0'; - tm = localtime(&bp->ut_time); - (void) strftime(ct, sizeof(ct), - d_first ? "%a %e %b %R" : - "%a %b %e %R", - tm); - printf("%-*.*s %-*.*s %-*.*s %s ", - UT_NAMESIZE, UT_NAMESIZE, bp->ut_name, - UT_LINESIZE, UT_LINESIZE, bp->ut_line, - UT_HOSTSIZE, UT_HOSTSIZE, bp->ut_host, - ct); - if (!tt->logout) - puts(" still logged in"); + /* find associated tty */ + LIST_FOREACH(tt, &ttylist, list) + if (!strncmp(tt->tty, bp->ut_line, UT_LINESIZE)) + break; + + if (tt == NULL) { + /* add new one */ + tt = malloc(sizeof(struct ttytab)); + if (tt == NULL) + err(1, "malloc failure"); + tt->logout = currentout; + strncpy(tt->tty, bp->ut_line, UT_LINESIZE); + LIST_INSERT_HEAD(&ttylist, tt, list); + } + + /* + * print record if not in snapshot mode and wanted + * or in snapshot mode and in snapshot range + */ + if (bp->ut_name[0] && (want(bp) || + (bp->ut_time < snaptime && + (tt->logout > snaptime || tt->logout < 1)))) { + snapfound = 1; + /* + * when uucp and ftp log in over a network, the entry in + * the utmp file is the name plus their process id. See + * etc/ftpd.c and usr.bin/uucp/uucpd.c for more information. + */ + if (!strncmp(bp->ut_line, "ftp", sizeof("ftp") - 1)) + bp->ut_line[3] = '\0'; + else if (!strncmp(bp->ut_line, "uucp", sizeof("uucp") - 1)) + bp->ut_line[4] = '\0'; + tm = localtime(&bp->ut_time); + (void) strftime(ct, sizeof(ct), + d_first ? "%a %e %b %R" : + "%a %b %e %R", + tm); + printf("%-*.*s %-*.*s %-*.*s %s ", + UT_NAMESIZE, UT_NAMESIZE, bp->ut_name, + UT_LINESIZE, UT_LINESIZE, bp->ut_line, + UT_HOSTSIZE, UT_HOSTSIZE, bp->ut_host, + ct); + if (!tt->logout) + puts(" still logged in"); + else { + if (tt->logout < 0) { + tt->logout = -tt->logout; + printf("- %s", crmsg); + } else { - if (tt->logout < 0) { - tt->logout = -tt->logout; - printf("- %s", crmsg); - } - else { - tm = localtime(&tt->logout); - (void) strftime(ct, sizeof(ct), "%R", tm); - printf("- %s", ct); - } - delta = tt->logout - bp->ut_time; - if ( sflag ) { - printf(" (%8lu)\n", - delta); - } else { - tm = gmtime(&delta); - (void) strftime(ct, sizeof(ct), - width >= 8 ? "%T" : "%R", - tm); - if (delta < 86400) + tm = localtime(&tt->logout); + (void) strftime(ct, sizeof(ct), "%R", tm); + printf("- %s", ct); + } + delta = tt->logout - bp->ut_time; + if ( sflag ) { + printf(" (%8lu)\n", + delta); + } else { + tm = gmtime(&delta); + (void) strftime(ct, sizeof(ct), + width >= 8 ? "%T" : "%R", + tm); + if (delta < 86400) printf(" (%s)\n", ct); - else + else printf(" (%ld+%s)\n", delta / 86400, ct); - } } - LIST_REMOVE(tt, list); - free(tt); - if (maxrec != -1 && !--maxrec) - return; - } else { - tt->logout = bp->ut_time; } + LIST_REMOVE(tt, list); + free(tt); + if (maxrec != -1 && !--maxrec) + return; + } else { + tt->logout = bp->ut_time; } } } @@ -348,6 +376,9 @@ { ARG *step; + if (snaptime) + return (NO); + if (!arglist) return (YES); @@ -444,6 +475,80 @@ return (arg + 5); return (arg); } + +/* + * dateconv -- + * Convert the snapshot time in command line given in the format + * [[CC]YY]MMDDhhmm[.SS]] to a time_t. + * Derived from atime_arg1() in usr.bin/touch/touch.c + */ +time_t +dateconv(arg) + char *arg; +{ + time_t timet; + struct tm *t; + int yearset; + char *p; + + /* Start with the current time. */ + if (time(&timet) < 0) + err(1, "time"); + if ((t = localtime(&timet)) == NULL) + err(1, "localtime"); + + /* [[CC]YY]MMDDhhmm[.SS] */ + if ((p = strchr(arg, '.')) == NULL) + t->tm_sec = 0; /* Seconds defaults to 0. */ + else { + if (strlen(p + 1) != 2) + goto terr; + *p++ = '\0'; + t->tm_sec = ATOI2(p); + } + + yearset = 0; + switch (strlen(arg)) { + case 12: /* CCYYMMDDhhmm */ + t->tm_year = ATOI2(arg); + t->tm_year *= 100; + yearset = 1; + /* FALLTHOUGH */ + case 10: /* YYMMDDhhmm */ + if (yearset) { + yearset = ATOI2(arg); + t->tm_year += yearset; + } else { + yearset = ATOI2(arg); + if (yearset < 69) + t->tm_year = yearset + 2000; + else + t->tm_year = yearset + 1900; + } + t->tm_year -= 1900; /* Convert to UNIX time. */ + /* FALLTHROUGH */ + case 8: /* MMDDhhmm */ + t->tm_mon = ATOI2(arg); + --t->tm_mon; /* Convert from 01-12 to 00-11 */ + t->tm_mday = ATOI2(arg); + t->tm_hour = ATOI2(arg); + t->tm_min = ATOI2(arg); + break; + case 4: /* hhmm */ + t->tm_hour = ATOI2(arg); + t->tm_min = ATOI2(arg); + break; + default: + goto terr; + } + t->tm_isdst = -1; /* Figure out DST. */ + timet = mktime(t); + if (timet == -1) +terr: errx(1, + "out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS]"); + return timet; +} + /* * onintr -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 1: 1: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bryden.apana.org.au (bryden.apana.org.au [203.3.126.129]) by hub.freebsd.org (Postfix) with ESMTP id 7E1C337B422; Thu, 26 Apr 2001 01:00:52 -0700 (PDT) (envelope-from dougy@bryden.apana.org.au) Received: from oracle (CPE-61-9-143-80.vic.bigpond.net.au [61.9.143.80]) by bryden.apana.org.au (8.9.3/8.9.3) with SMTP id RAA10013; Thu, 26 Apr 2001 17:59:52 +1000 (EST) (envelope-from dougy@bryden.apana.org.au) Message-ID: <039501c0ce26$fccdaab0$0400a8c0@oracle> From: "Doug Young" To: =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= , Cc: References: Subject: Re: VPN Date: Thu, 26 Apr 2001 18:00:36 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've just been going through this stuff for the past week. None of the things come with adequate documentation so you need to rely heavily on mailing list support. Thankfully a few people have been giving me some assistance but looks like at least few days more messing around will be involved before its working.. There is a basic HOWTO on one application at freebsddiary, but its quite dated now. The only other apps I've been able to find are vtund & poptop (both from ports) Judging from feedback I received to a similar question, the few FreeBSD users who use VPN prefer vtund. I did look at poptop (which reportedly has some security "features") in the hope it might be more straightforward to configure. You need to hack the makefile (its flagged "forbidden") to install, then theres a few compatibility issues to contend with (due to the linux heritage) .... I gave up with it at that stage. I think there may be other applications available if you can compile support into the kernel .... thats not practical for my present situation as I can't take the server end offline in the immediate future. ----- Original Message ----- From: "Jesús Arnáiz" To: Cc: Sent: Thursday, April 26, 2001 12:56 PM Subject: RV: VPN > > > -----Mensaje original----- > De: Jesús Arnáiz [mailto:arnaiz@encomix.es] > Enviado el: jueves, 26 de abril de 2001 4:36 > Para: freebsd-questions@freebsd.org; freebsd-hackers@freebsd.org > Asunto: VPN > > > Hi! > > I want to set VPN on my system, I see there is many programs created to do it. > > Any advantages or disadvantages of using one or other?. What is better (is the first > time I set VPN on a UNIX system).? > > > Thanks in advance. > > > -- > Jesús Arnáiz > 0z0ne Inc I+D/IT Manager > http://www.0z0ne.com > mailto:jesus@0z0ne.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" 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 Apr 26 1: 6:28 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6170237B423; Thu, 26 Apr 2001 01:06:24 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3Q86Dd18550; Thu, 26 Apr 2001 01:06:13 -0700 (PDT) Date: Thu, 26 Apr 2001 01:06:13 -0700 From: Alfred Perlstein To: Doug Young Cc: =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= , questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: VPN Message-ID: <20010426010612.Y1790@fw.wintelcom.net> References: <039501c0ce26$fccdaab0$0400a8c0@oracle> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <039501c0ce26$fccdaab0$0400a8c0@oracle>; from dougy@bryden.apana.org.au on Thu, Apr 26, 2001 at 06:00:36PM +1000 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Doug Young [010426 01:01] wrote: > I've just been going through this stuff for the past week. > None of the things come with adequate documentation > so you need to rely heavily on mailing list support. > Thankfully a few people have been giving me > some assistance but looks like at least few days more > messing around will be involved before its working.. Actually ppp shouldn't be that hard to set up as a vpn server. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 1:16:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bryden.apana.org.au (bryden.apana.org.au [203.3.126.129]) by hub.freebsd.org (Postfix) with ESMTP id 75F9E37B424; Thu, 26 Apr 2001 01:16:42 -0700 (PDT) (envelope-from dougy@bryden.apana.org.au) Received: from oracle (CPE-61-9-143-80.vic.bigpond.net.au [61.9.143.80]) by bryden.apana.org.au (8.9.3/8.9.3) with SMTP id SAA10080; Thu, 26 Apr 2001 18:15:33 +1000 (EST) (envelope-from dougy@bryden.apana.org.au) Message-ID: <03b501c0ce29$2ce303b0$0400a8c0@oracle> From: "Doug Young" To: "Alfred Perlstein" Cc: =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= , , References: <039501c0ce26$fccdaab0$0400a8c0@oracle> <20010426010612.Y1790@fw.wintelcom.net> Subject: Re: VPN Date: Thu, 26 Apr 2001 18:16:16 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Actually ppp shouldn't be that hard to set up as a vpn server. exactly where to find config information suitable for a non-expert ?? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 1:42:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mime4.ccf.com (mail.ccf-sei.com [212.11.24.10]) by hub.freebsd.org (Postfix) with ESMTP id 0076737B423; Thu, 26 Apr 2001 01:42:44 -0700 (PDT) (envelope-from spetit@selectbourse.com) Received: from mime4.ccf.com (unverified) by mime4.ccf.com (Content Technologies SMTPRS 4.2.1) with SMTP id ; Wed, 25 Apr 2001 14:51:37 +0100 Received: from 10.44.201.51 by mime4.ccf.com (InterScan E-Mail VirusWall NT); Wed, 25 Apr 2001 14:51:36 +0100 (GMT Daylight Time) Received: by SBEXCHANGE with Internet Mail Service (5.5.2232.9) id ; Wed, 25 Apr 2001 14:44:55 +0200 Message-ID: From: PETIT Sebastien To: "'alfred@freebsd.org'" Cc: "'hackers@freebsd.org'" Subject: RE: Question about Posix Threads Date: Wed, 25 Apr 2001 14:44:54 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Is it the same limitation problem about the performance under mysql with a lot of IO ? I test FreeBSD-4.3 pthread and linux 2.2.16 pthread under same servers (ram, dd etc...) with mysql and same databases exactly. When I doing a request of about 57000 rows on a 4000000 rows database under linux I can have 1,70s of elapsed time and under FreeBSD, I have 2.89s for the same request. I see that Linux doing a lot of IO cache (buffered = 502556K and cached = 335160K, servers have 1 Go of memory) but FreeBSD limits to a little cache and 112 Mo buffered, the rest of memory is Free. I'm a FreeBSD fan, but I see that I cannot use FreeBSD for a mysql box production that do a lot of selects (index on memory doesn't change anything). I try to use softupdates but there is a little amelioration. Sinisa of mysql dev team says to me that reason lies in much more efficient context-switching, more efficient file system and much better buffering. So what is the difference about linux caching and FreeBSD ? is the vfs_bio architecure responsible of this lack of performance ? If someone can tell me how can I boost performance of caching under FreeBSD to have the same performance, please tell me :) If this problem is due to another problem and You know what is this problem tell me how too. I hope that FreeBSD can run mysql thread native as faster as possible in the future. Thank you for any clues. Regards, Sebastien Petit. -- spe@kestaklan.net > How is performance dismal under redhat? FreeBSD should do a really > good job of running thousands of threads as long as you don't have > too much disk IO since all the threads are multiplexed into a single > process, if you have an IO intensive program FreeBSD threads will > probably not help you all that much. There are plans on replacing > the FreeBSD threads library with a multiplexed userland<->kernel > scheme in the near future. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 1:47:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from melusine.cuivre.fr.eu.org (ppp55-net1-idf3-bas1.isdnet.net [195.154.52.55]) by hub.freebsd.org (Postfix) with ESMTP id 1CE2637B424; Thu, 26 Apr 2001 01:47:11 -0700 (PDT) (envelope-from thomas@cuivre.fr.eu.org) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id E44A024D03; Thu, 26 Apr 2001 10:47:08 +0200 (CEST) Date: Thu, 26 Apr 2001 10:47:08 +0200 From: Thomas Quinot To: =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= Cc: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: VPN Message-ID: <20010426104708.A80254@melusine.cuivre.fr.eu.org> Reply-To: thomas@cuivre.fr.eu.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from arnaiz@encomix.es on Thu, Apr 26, 2001 at 04:35:40AM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Le 2001-04-26, Jesús Arnáiz écrivait : > I want to set VPN on my system, I see there is many programs created to do it. > > Any advantages or disadvantages of using one or other?. What is better (is the first > time I set VPN on a UNIX system).? If your requirements are not too complicated, you can use pipsecd (from ports/net), which is an implementation of ipsec that requires only very limited setup. Besides, pipsecd has been successfully tested for interoperation with other ipsec products. Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 1:53:59 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 75C6E37B423; Thu, 26 Apr 2001 01:53:55 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <2TM2DPGS>; Thu, 26 Apr 2001 10:53:54 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9B89@l04.research.kpn.com> From: "Koster, K.J." To: "'thomas@cuivre.fr.eu.org'" Cc: freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: RE: VPN Date: Thu, 26 Apr 2001 10:53:54 +0100 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 X-Loop: FreeBSD.ORG Dear Thomas, > > > Any advantages or disadvantages of using one or other?. > > What is better (is the first > > time I set VPN on a UNIX system).? > > If your requirements are not too complicated, you can use pipsecd > (from ports/net), which is an implementation of ipsec that requires > only very limited setup. Besides, pipsecd has been successfully > tested for interoperation with other ipsec products. > Does "other ipsec products" include stuff from Microsoft? Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 2:12:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 684AE37B422 for ; Thu, 26 Apr 2001 02:12:51 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3Q9Cnh20226; Thu, 26 Apr 2001 02:12:49 -0700 (PDT) Date: Thu, 26 Apr 2001 02:12:49 -0700 From: "'alfred@freebsd.org'" To: PETIT Sebastien Cc: "'hackers@freebsd.org'" Subject: Re: Question about Posix Threads Message-ID: <20010426021249.B18676@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from spetit@selectbourse.com on Wed, Apr 25, 2001 at 02:44:54PM +0200 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * PETIT Sebastien [010426 01:43] wrote: > Hi, > > Is it the same limitation problem about the performance under mysql with a > lot of IO ? Yes, basically most of the performance problems you're seeing on FreeBSD should be because of the threads libraries, nothing else. You might want to see if you can link mysql against the linuxthreads port to gain more peformance wrt IO. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 2:54:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-27.dsl.lsan03.pacbell.net [63.207.60.27]) by hub.freebsd.org (Postfix) with ESMTP id 9765337B424; Thu, 26 Apr 2001 02:54:26 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EAFA166DF6; Thu, 26 Apr 2001 02:54:25 -0700 (PDT) Date: Thu, 26 Apr 2001 02:54:25 -0700 From: Kris Kennaway To: hackers@FreeBSD.org Cc: audit@FreeBSD.org Subject: pax(1) gzip functionality Message-ID: <20010426025425.A92262@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, Please review the following code from OpenBSD; it adds -z and -Z options to pax(1) to gzip(1) the archives created. Kris Index: ar_io.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/bin/pax/ar_io.c,v retrieving revision 1.14 diff -u -r1.14 ar_io.c --- ar_io.c 2001/04/26 09:22:27 1.14 +++ ar_io.c 2001/04/26 09:52:32 @@ -44,16 +44,18 @@ #endif /* not lint */ =20 #include -#include #include #include -#include -#include +#include +#include +#include +#include #include -#include +#include #include -#include +#include #include +#include #include "pax.h" #include "extern.h" =20 @@ -79,9 +81,12 @@ static int wr_trail =3D 1; /* trailer was rewritten in append */ static int can_unlnk =3D 0; /* do we unlink null archives? */ char *arcname; /* printable name of archive */ +const char *gzip_program; /* name of gzip program */ +static pid_t zpid =3D -1; /* pid of child process */ =20 static int get_phys __P((void)); extern sigset_t s_mask; +static void ar_start_gzip __P((int, const char *, int)); =20 /* * ar_open() @@ -121,6 +126,8 @@ arcname =3D STDN; } else if ((arfd =3D open(name, EXT_MODE, DMOD)) < 0) syswarn(0, errno, "Failed open to read on %s", name); + if (arfd !=3D -1 && gzip_program !=3D NULL) + ar_start_gzip(arfd, gzip_program, 0); break; case ARCHIVE: if (name =3D=3D NULL) { @@ -130,6 +137,8 @@ syswarn(0, errno, "Failed open to write on %s", name); else can_unlnk =3D 1; + if (arfd !=3D -1 && gzip_program !=3D NULL) + ar_start_gzip(arfd, gzip_program, 1); break; case APPND: if (name =3D=3D NULL) { @@ -335,6 +344,16 @@ can_unlnk =3D 0; } =20 + /* + * for a quick extract/list, pax frequently exits before the child + * process is done + */ + if ((act =3D=3D LIST || act =3D=3D EXTRACT) && nflag && zpid > 0) { + int status; + kill(zpid, SIGINT); + waitpid(zpid, &status, 0); + } + (void)close(arfd); =20 if (vflag && (artyp =3D=3D ISTAPE)) { @@ -1286,4 +1305,47 @@ continue; } return(0); +} + +/* + * ar_start_gzip() + * starts the gzip compression/decompression process as a child, using mag= ic + * to keep the fd the same in the calling function (parent). + */ +void +ar_start_gzip(int fd, const char *gzip_program, int wr) +{ + int fds[2]; + char *gzip_flags; + + if (pipe(fds) < 0) + err(1, "could not pipe"); + zpid =3D fork(); + if (zpid < 0) + err(1, "could not fork"); + + /* parent */ + if (zpid) { + if (wr) + dup2(fds[1], fd); + else + dup2(fds[0], fd); + close(fds[0]); + close(fds[1]); + } else { + if (wr) { + dup2(fds[0], STDIN_FILENO); + dup2(fd, STDOUT_FILENO); + gzip_flags =3D "-c"; + } else { + dup2(fds[1], STDOUT_FILENO); + dup2(fd, STDIN_FILENO); + gzip_flags =3D "-dc"; + } + close(fds[0]); + close(fds[1]); + if (execlp(gzip_program, gzip_program, gzip_flags, NULL) < 0) + err(1, "could not exec"); + /* NOTREACHED */ + } } Index: extern.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/bin/pax/extern.h,v retrieving revision 1.10 diff -u -r1.10 extern.h --- extern.h 2001/04/26 08:37:00 1.10 +++ extern.h 2001/04/26 09:52:32 @@ -48,6 +48,7 @@ * ar_io.c */ extern char *arcname; +extern const char *gzip_program; int ar_open __P((char *)); void ar_close __P((void)); void ar_drain __P((void)); Index: options.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/bin/pax/options.c,v retrieving revision 1.17 diff -u -r1.17 options.c --- options.c 2001/04/26 09:22:28 1.17 +++ options.c 2001/04/26 09:52:32 @@ -78,6 +78,9 @@ static void cpio_usage __P((void)); #endif =20 +#define GZIP_CMD "gzip" /* command to run as gzip */ +#define COMPRESS_CMD "compress" /* command to run as compress */ + /* * Format specific routine table - MUST BE IN SORTED ORDER BY NAME * (see pax.h for description of each function) @@ -192,7 +195,7 @@ /* * process option flags */ - while ((c=3Dgetopt(argc,argv,"ab:cdf:iklno:p:rs:tuvwx:B:DE:G:HLPT:U:XYZ")) + while ((c=3Dgetopt(argc,argv,"ab:cdf:iklno:p:rs:tuvwx:zB:DE:G:HLPT:U:XYZ"= )) !=3D -1) { switch (c) { case 'a': @@ -376,6 +379,12 @@ (void)fputs("\n\n", stderr); pax_usage(); break; + case 'z': + /* + * use gzip. Non standard option. + */ + gzip_program =3D GZIP_CMD; + break; case 'B': /* * non-standard option on number of bytes written on a @@ -694,6 +703,12 @@ */ act =3D EXTRACT; break; + case 'z': + /* + * use gzip. Non standard option. + */ + gzip_program =3D GZIP_CMD; + break; case 'B': /* * Nothing to do here, this is pax default @@ -723,6 +738,12 @@ */ Xflag =3D 1; break; + case 'Z': + /* + * use compress. + */ + gzip_program =3D COMPRESS_CMD; + break; case '0': arcname =3D DEV_0; break; @@ -1075,18 +1096,18 @@ pax_usage() #endif { - (void)fputs("usage: pax [-cdnv] [-E limit] [-f archive] ", stderr); + (void)fputs("usage: pax [-cdnvz] [-E limit] [-f archive] ", stderr); (void)fputs("[-s replstr] ... [-U user] ...", stderr); (void)fputs("\n [-G group] ... ", stderr); (void)fputs("[-T [from_date][,to_date]] ... ", stderr); (void)fputs("[pattern ...]\n", stderr); - (void)fputs(" pax -r [-cdiknuvDYZ] [-E limit] ", stderr); + (void)fputs(" pax -r [-cdiknuvzDYZ] [-E limit] ", stderr); (void)fputs("[-f archive] [-o options] ... \n", stderr); (void)fputs(" [-p string] ... [-s replstr] ... ", stderr); (void)fputs("[-U user] ... [-G group] ...\n ", stderr); (void)fputs("[-T [from_date][,to_date]] ... ", stderr); (void)fputs(" [pattern ...]\n", stderr); - (void)fputs(" pax -w [-dituvHLPX] [-b blocksize] ", stderr); + (void)fputs(" pax -w [-dituvzHLPX] [-b blocksize] ", stderr); (void)fputs("[ [-a] [-f archive] ] [-x format] \n", stderr); (void)fputs(" [-B bytes] [-s replstr] ... ", stderr); (void)fputs("[-o options] ... [-U user] ...", stderr); @@ -1114,7 +1135,7 @@ tar_usage() #endif { - (void)fputs("usage: tar -{txru}[cevfbmopwBHLPX014578] [tapefile] ", + (void)fputs("usage: tar -{txru}[cevfbmopwzBHLPXZ014578] [tapefile] ", stderr); (void)fputs("[blocksize] file1 file2...\n", stderr); exit(1); Index: pax.1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/bin/pax/pax.1,v retrieving revision 1.16 diff -u -r1.16 pax.1 --- pax.1 2001/02/13 09:50:27 1.16 +++ pax.1 2001/04/26 09:52:33 @@ -44,7 +44,7 @@ .Nd read and write file archives and copy directory hierarchies .Sh SYNOPSIS .Nm -.Op Fl cdnv +.Op Fl cdnvz .Bk -words .Op Fl f Ar archive .Ek @@ -71,7 +71,7 @@ .Op Ar pattern ...\& .Nm .Fl r -.Op Fl cdiknuvDYZ +.Op Fl cdiknuvzDYZ .Bk -words .Op Fl f Ar archive .Ek @@ -107,7 +107,7 @@ .Op Ar pattern ...\& .Nm .Fl w -.Op Fl dituvHLPX +.Op Fl dituvzHLPX .Bk -words .Op Fl b Ar blocksize .Ek @@ -756,6 +756,12 @@ The individual archive formats may impose additional restrictions on use. Typical archive format restrictions include (but are not limited to): file pathname length, file size, link pathname length and the type of the = file. +.It Fl z +Use +.Xr gzip 1 +to compress (decompress) the archive while writing (reading). +Incompatible with +.Fl a . .It Fl B Ar bytes Limit the number of bytes written to a single archive volume to .Ar bytes . Index: pax.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/bin/pax/pax.c,v retrieving revision 1.17 diff -u -r1.17 pax.c --- pax.c 2001/04/26 09:22:28 1.17 +++ pax.c 2001/04/26 09:52:33 @@ -53,6 +53,7 @@ #include #include #include +#include #include #include #include @@ -272,6 +273,8 @@ archive(); break; case APPND: + if (gzip_program !=3D NULL) + err(1, "can not gzip while appending"); append(); break; case COPY: --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE65/BRWry0BWjoQKURAnUYAJsGTDfFtQkbK0iWnjNZKh5Dkh9tDgCg0YfW wBpGzhlNrd6YPWTrApsQJWc= =ADf+ -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 4:44:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from tigerdyr.lyngbol.dk (tigerdyr.lyngbol.dk [193.162.142.120]) by hub.freebsd.org (Postfix) with ESMTP id C592337B422 for ; Thu, 26 Apr 2001 04:44:43 -0700 (PDT) (envelope-from lyngbol@tigerdyr.lyngbol.dk) Received: by tigerdyr.lyngbol.dk (Postfix, from userid 1001) id 91BAA9911; Thu, 26 Apr 2001 13:44:42 +0200 (CEST) Date: Thu, 26 Apr 2001 13:44:42 +0200 From: =?iso-8859-1?Q?Michael_Lyngb=F8l?= To: Dima Dorfman Cc: hackers@freebsd.org Subject: Re: Getting a list of users logged in at a certain time (patch) Message-ID: <20010426134442.E81341@tigerdyr.lyngbol.dk> References: <20010426063436.6654A3E2A@bazooka.unixfreak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010426063436.6654A3E2A@bazooka.unixfreak.org>; from dima@unixfreak.org on Wed, Apr 25, 2001 at 11:34:36PM -0700 X-Operating-System: FreeBSD/i386 4.2-STABLE X-PGP-Fingerprint: AA 2C 9C 13 97 C7 91 58 7E 6E 2A DC 11 E4 E7 F1 X-PGP-Public-Key: finger lyngbol@tigerdyr.lyngbol.dk Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 25.04.2001 23:34:36 +0000, Dima Dorfman wrote: > OpenBSD's last(1) has a nice snapshot feature which allows one to get > a list of users logged in at a certain date and time. This is very > useful, e.g., for security auditing: you see a message in a log, and > want to know who could've caused it. Assuming that it was something > that must've been done locally, using this feature you can narrow the > list down to a the users that were logged in. It isn't perfect, but > it's a start. > > Attached is a patch which implements this feature in FreeBSD's > last(1). I copied most of the "meat" from OpenBSD, but our last(1) > still looks nothing like theirs, and the delta is larger than it > should've been: surprisingly, our last(1) is quite a bit more mature > (e.g., internationalization). > > Comments? Suggestions? It's a feature I'd appriciate. I'm no C-meistro but it looks fine to me. Best regards /Michael To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 4:53:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id E806737B424; Thu, 26 Apr 2001 04:53:18 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f3QBqp318200; Thu, 26 Apr 2001 12:52:51 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f3QBs4M58341; Thu, 26 Apr 2001 12:54:04 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200104261154.f3QBs4M58341@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: "Doug Young" Cc: "Alfred Perlstein" , =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= , questions@FreeBSD.ORG, hackers@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: VPN In-Reply-To: Message from "Doug Young" of "Thu, 26 Apr 2001 18:16:16 +1000." <03b501c0ce29$2ce303b0$0400a8c0@oracle> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Apr 2001 12:54:04 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Actually ppp shouldn't be that hard to set up as a vpn server. > > exactly where to find config information suitable for a non-expert ?? /usr/share/examples/ppp - have a look at the vpn* and sloop* labels. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 4:58:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from totem.fix.no (totem.fix.no [213.142.66.130]) by hub.freebsd.org (Postfix) with ESMTP id 9707737B423; Thu, 26 Apr 2001 04:58:38 -0700 (PDT) (envelope-from anders@totem.fix.no) Received: by totem.fix.no (Postfix, from userid 1000) id 81BD33CCE; Thu, 26 Apr 2001 13:58:36 +0200 (CEST) Date: Thu, 26 Apr 2001 13:58:36 +0200 From: Anders Nordby To: Doug Young Cc: =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= , questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: VPN Message-ID: <20010426135836.B23193@totem.fix.no> References: <039501c0ce26$fccdaab0$0400a8c0@oracle> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <039501c0ce26$fccdaab0$0400a8c0@oracle>; from dougy@bryden.apana.org.au on Thu, Apr 26, 2001 at 06:00:36PM +1000 X-Operating-System: FreeBSD 4.1.1-STABLE X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 06:00:36PM +1000, Doug Young wrote: > There is a basic HOWTO on one application at > freebsddiary, but its quite dated now. The only other apps > I've been able to find are vtund & poptop (both from ports) > Judging from feedback I received to a similar question, the > few FreeBSD users who use VPN prefer vtund. There is also vpnd in ports now, which I maintain. It has worked quite stable for me, is easy to set up, has rather high performance, uses Blowfish, etc. Cheers, -- Anders. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 4:59:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bryden.apana.org.au (bryden.apana.org.au [203.3.126.129]) by hub.freebsd.org (Postfix) with ESMTP id B8AB537B423; Thu, 26 Apr 2001 04:59:45 -0700 (PDT) (envelope-from dougy@bryden.apana.org.au) Received: from oracle (CPE-61-9-143-80.vic.bigpond.net.au [61.9.143.80]) by bryden.apana.org.au (8.9.3/8.9.3) with SMTP id VAA10941; Thu, 26 Apr 2001 21:57:38 +1000 (EST) (envelope-from dougy@bryden.apana.org.au) Message-ID: <04d701c0ce48$3696bef0$0400a8c0@oracle> From: "Doug Young" To: "Brian Somers" Cc: "Alfred Perlstein" , =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= , , , References: <200104261154.f3QBs4M58341@hak.lan.Awfulhak.org> Subject: Re: VPN Date: Thu, 26 Apr 2001 21:58:22 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG no vpn or sloop labels in my 4.1 system ... when were they introduced ?? ----- Original Message ----- From: "Brian Somers" To: "Doug Young" Cc: "Alfred Perlstein" ; "Jesús Arnáiz" ; ; ; Sent: Thursday, April 26, 2001 9:54 PM Subject: Re: VPN > > > > > Actually ppp shouldn't be that hard to set up as a vpn server. > > > > exactly where to find config information suitable for a non-expert ?? > > /usr/share/examples/ppp - have a look at the vpn* and sloop* labels. > > -- > Brian > > Don't _EVER_ lose your sense of humour ! > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 5: 2:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from security.za.net (security.za.net [196.2.146.22]) by hub.freebsd.org (Postfix) with ESMTP id ACBAB37B423 for ; Thu, 26 Apr 2001 05:02:44 -0700 (PDT) (envelope-from lists@security.za.net) Received: from localhost (lists@localhost) by security.za.net (8.9.3/8.9.3) with ESMTP id OAA09276 for ; Thu, 26 Apr 2001 14:02:40 +0200 (SAST) (envelope-from lists@security.za.net) Date: Thu, 26 Apr 2001 14:02:40 +0200 (SAST) From: Lists Account To: freebsd-hackers@freebsd.org Subject: More PCI->PCMCIA bridge stuff Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi All Ok, the newcard stuff under version 5 picks up my bridge fine, and it finds my wi0 (orinoco gold card) perfectly, this is all great and I was rather ecstatic as I watched it boot and tell me all this... However the problem comes in the fact that it tries to probe pccard1 after finishing with pccard0, and the moment it does this (there is only one bridge, and only space for one card), it hangs the machine solid, not even a numlock, says something about printing cis tuplets and *boom* nothing left. Any suggestions? Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 5: 7:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 53F5837B422; Thu, 26 Apr 2001 05:07:40 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f3QC7P318263; Thu, 26 Apr 2001 13:07:25 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f3QC8bM58630; Thu, 26 Apr 2001 13:08:37 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200104261208.f3QC8bM58630@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: "Doug Young" Cc: "Brian Somers" , "Alfred Perlstein" , =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= , questions@FreeBSD.ORG, hackers@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: VPN In-Reply-To: Message from "Doug Young" of "Thu, 26 Apr 2001 21:58:22 +1000." <04d701c0ce48$3696bef0$0400a8c0@oracle> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Thu, 26 Apr 2001 13:08:37 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > no vpn or sloop labels in my 4.1 system ... when were they introduced ?= ? They were MFC'd on December 18 '00, 4.1 was released the August = before. -- = Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 5: 9:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bryden.apana.org.au (bryden.apana.org.au [203.3.126.129]) by hub.freebsd.org (Postfix) with ESMTP id A71B437B424; Thu, 26 Apr 2001 05:09:33 -0700 (PDT) (envelope-from dougy@bryden.apana.org.au) Received: from oracle (CPE-61-9-143-80.vic.bigpond.net.au [61.9.143.80]) by bryden.apana.org.au (8.9.3/8.9.3) with SMTP id WAA11010; Thu, 26 Apr 2001 22:08:23 +1000 (EST) (envelope-from dougy@bryden.apana.org.au) Message-ID: <04df01c0ce49$b4a2da80$0400a8c0@oracle> From: "Doug Young" To: "Anders Nordby" Cc: =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= , , References: <039501c0ce26$fccdaab0$0400a8c0@oracle> <20010426135836.B23193@totem.fix.no> Subject: Re: VPN Date: Thu, 26 Apr 2001 22:09:02 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > There is also vpnd in ports now, which I maintain. It has worked quite > stable for me, is easy to set up, has rather high performance, uses Blowfish, etc. I just found it in security (was looking in "net" previously where all the other VLAN / VPN applications seem to be) Is there anything in the way of documentation (always a major problem with open source software) ?? I'm trying to find config info at the homepage but nothing obvious To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 5:24: 1 2001 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 434EE37B422; Thu, 26 Apr 2001 05:23:50 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id OAA55972; Thu, 26 Apr 2001 14:23:51 +0200 (CEST) (envelope-from des@ofug.org) 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: hackers@freebsd.org Subject: gcc -O bug From: Dag-Erling Smorgrav Date: 26 Apr 2001 14:23:49 +0200 Message-ID: Lines: 126 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.4 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --=-=-= I ran into this bug while analyzing a customer's logs to determine the best time of day for an upgrade. The original script was in Perl, but I rewrote it in C because it was too slow. The C version produces incorrect results when compiled with -O. Note that the log starts at 16:27. The warning about "time" being possibly uninitialized is safe to ignore; this can only happen if the log is empty. The C source and a truncated log that reproduces the bug are attached at the end of this message. des@aes ~/ts/projects/MGW/misc% uname -a FreeBSD aes.thinksec.com 5.0-CURRENT FreeBSD 5.0-CURRENT #23: Fri Apr 13 00:35:50 CEST 2001 des@aes.thinksec.com:/usr/src/sys/compile/AES i386 des@aes ~/ts/projects/MGW/misc% gcc --version 2.95.3 des@aes ~/ts/projects/MGW/misc% cc -Wall -pedantic logalyze.c logalyze.c: In function `main': logalyze.c:28: warning: unused variable `j' des@aes ~/ts/projects/MGW/misc% head -10000 ../ldalog | ./a.out 9412 messages accepted, 588 rejected log spans 6.98 hours average throughput: 1347.73 msg/h Breakdown per hour: 00 | 0 01 | 0 02 | 0 03 | 0 04 | 0 05 | 0 06 | 0 07 | 0 08 | 0 09 | 0 10 | 0 11 | 0 12 | 0 13 | 0 14 | 0 15 | 0 16 |#################### 1009 17 |############################################### 2329 18 |########################## 1274 19 |############## 712 20 |################ 816 21 |################################################## 2446 22 |########## 500 23 |###### 326 des@aes ~/ts/projects/MGW/misc% cc -O -Wall -pedantic logalyze.c logalyze.c: In function `main': logalyze.c:28: warning: unused variable `j' logalyze.c:27: warning: `time' might be used uninitialized in this function des@aes ~/ts/projects/MGW/misc% head -10000 ../ldalog | ./a.out 9412 messages accepted, 588 rejected log spans 7.98 hours average throughput: 1178.92 msg/h Breakdown per hour: 00 | 0 01 | 0 02 | 0 03 | 0 04 | 0 05 | 0 06 | 0 07 | 0 08 | 0 09 | 0 10 | 0 11 | 0 12 | 0 13 | 0 14 | 0 15 | 1 16 |#################### 1008 17 |############################################### 2329 18 |########################## 1274 19 |############## 712 20 |################ 816 21 |################################################## 2446 22 |########## 500 23 |###### 326 des@aes ~/ts/projects/MGW/misc% head -10000 ../ldalog | ./logalyze.pl 9412 messages accepted, 588 rejected log spans 6.98 hours average throughput: 1347.73 msg/h Breakdown per hour: 00 | 0 01 | 0 02 | 0 03 | 0 04 | 0 05 | 0 06 | 0 07 | 0 08 | 0 09 | 0 10 | 0 11 | 0 12 | 0 13 | 0 14 | 0 15 | 0 16 |#################### 1009 17 |############################################### 2329 18 |########################## 1274 19 |############## 712 20 |################ 816 21 |################################################## 2446 22 |########## 500 23 |###### 326 DES -- Dag-Erling Smorgrav - des@ofug.org --=-=-= Content-Disposition: attachment; filename=logalyze.c Content-Description: C source code /* * Copyright (c) 2001 ThinkSec AS. All rights reserved. * * $ThinkSec$ */ #include #include #include #include static int accepted, rejected; static time_t first, last; static double duration; static int hour[24]; static int week[7][25]; static const char hashes[] = "##################################################!"; int main(void) { char *line; size_t len; struct tm tm; time_t time; int i, j, max; double scale; setbuf(stdout, NULL); while ((line = fgetln(stdin, &len)) != NULL) { if (len < 20 || line[4] != '-' || line[7] != '-' || line[10] != '-' || line[13] != ':' || line[16] != ':' || line[19] != ':') { warn("malformed line: %.*s\n", (int)len, line); continue; } if (line[20] == '-') { ++rejected; continue; } tm.tm_year = atoi(line) - 1900; tm.tm_mon = atoi(line + 5) - 1; tm.tm_mday = atoi(line + 8); tm.tm_hour = atoi(line + 11); tm.tm_min = atoi(line + 14); tm.tm_sec = atoi(line + 17); time = mktime(&tm); if (!first) first = time; ++hour[tm.tm_hour]; ++week[tm.tm_wday][tm.tm_hour]; ++week[tm.tm_wday][24]; if (++accepted % 1000 == 0) printf("\r%d", accepted); } last = time; printf("\r%d messages accepted, %d rejected\n", accepted, rejected); duration = (last - first + 1) / 3600.0; printf("log spans %.2f hours\n", duration); printf("average throughput: %.2f msg/h\n", accepted / duration); printf("\nBreakdown per hour:\n\n"); for (i = max = 0; i < 24; ++i) if (hour[i] > max) max = hour[i]; scale = max / 50.0; for (i = 0; i < 24; ++i) { printf("%02d |%.*s %d\n", i, (int)(hour[i] / scale), hashes, hour[i]); } exit(0); } --=-=-= Content-Disposition: attachment; filename=foolog Content-Description: log excerpt 2001-01-05-16:27:23:N 2001-01-05-16:27:24:N 2001-01-05-16:27:25:N 2001-01-05-16:27:25:N 2001-01-05-16:27:25:N 2001-01-05-16:27:26:N 2001-01-05-16:27:26:N 2001-01-05-16:27:26:N 2001-01-05-16:27:27:N 2001-01-05-16:27:28:N 2001-01-05-16:27:28:N 2001-01-05-16:27:29:N 2001-01-05-16:27:29:N 2001-01-05-16:27:29:N 2001-01-05-16:27:31:N 2001-01-05-16:27:32:N 2001-01-05-16:27:32:N 2001-01-05-16:27:32:N 2001-01-05-16:27:33:N 2001-01-05-16:27:33:N 2001-01-05-16:27:34:N 2001-01-05-16:27:34:N 2001-01-05-16:27:34:N 2001-01-05-16:27:35:N 2001-01-05-16:27:35:N 2001-01-05-16:27:35:N 2001-01-05-16:27:36:N 2001-01-05-16:27:37:N 2001-01-05-16:27:38:N 2001-01-05-16:27:39:N 2001-01-05-16:27:39:N 2001-01-05-16:27:39:N 2001-01-05-16:27:40:N 2001-01-05-16:27:41:-N 2001-01-05-16:27:41:N 2001-01-05-16:27:41:N 2001-01-05-16:27:41:-N 2001-01-05-16:27:42:-N 2001-01-05-16:27:43:N 2001-01-05-16:27:43:-N 2001-01-05-16:27:43:N 2001-01-05-16:27:44:-N 2001-01-05-16:27:44:-N 2001-01-05-16:27:45:N 2001-01-05-16:27:45:N 2001-01-05-16:27:47:N 2001-01-05-16:27:47:N 2001-01-05-16:27:48:N 2001-01-05-16:27:48:N 2001-01-05-16:27:49:N 2001-01-05-16:27:49:N 2001-01-05-16:27:50:N 2001-01-05-16:27:50:N 2001-01-05-16:27:50:N 2001-01-05-16:27:51:N 2001-01-05-16:27:52:-N 2001-01-05-16:27:52:N 2001-01-05-16:27:52:N 2001-01-05-16:27:52:N 2001-01-05-16:27:53:N 2001-01-05-16:27:53:N 2001-01-05-16:27:53:N 2001-01-05-16:27:54:-N 2001-01-05-16:27:55:N 2001-01-05-16:27:55:N 2001-01-05-16:27:55:-N 2001-01-05-16:27:56:N 2001-01-05-16:27:57:N 2001-01-05-16:27:58:-N 2001-01-05-16:27:58:N 2001-01-05-16:27:58:N 2001-01-05-16:27:59:N 2001-01-05-16:27:59:N 2001-01-05-16:27:59:N 2001-01-05-16:28:00:N 2001-01-05-16:28:00:N 2001-01-05-16:28:00:N 2001-01-05-16:28:01:N 2001-01-05-16:28:02:N 2001-01-05-16:28:02:N 2001-01-05-16:28:02:N 2001-01-05-16:28:03:N 2001-01-05-16:28:03:N 2001-01-05-16:28:04:N 2001-01-05-16:28:04:N 2001-01-05-16:28:04:N 2001-01-05-16:28:05:N 2001-01-05-16:28:05:N 2001-01-05-16:28:05:N 2001-01-05-16:28:06:-N 2001-01-05-16:28:06:N 2001-01-05-16:28:06:N 2001-01-05-16:28:07:-N 2001-01-05-16:28:07:N 2001-01-05-16:28:08:N 2001-01-05-16:28:08:N 2001-01-05-16:28:09:N 2001-01-05-16:28:09:N 2001-01-05-16:28:09:N 2001-01-05-16:28:10:N --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 5:48:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254]) by hub.freebsd.org (Postfix) with ESMTP id 5EE8137B424 for ; Thu, 26 Apr 2001 05:48:51 -0700 (PDT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 463B6546B; Thu, 26 Apr 2001 14:48:48 +0200 (CEST) Date: Thu, 26 Apr 2001 14:48:48 +0200 From: Anton Berezin To: Dag-Erling Smorgrav Cc: hackers@freebsd.org Subject: Re: gcc -O bug Message-ID: <20010426144848.B17373@heechee.tobez.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from des@ofug.org on Thu, Apr 26, 2001 at 02:23:49PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 02:23:49PM +0200, Dag-Erling Smorgrav wrote: > I ran into this bug while analyzing a customer's logs to determine the > best time of day for an upgrade. The original script was in Perl, but > I rewrote it in C because it was too slow. Could you provide the Perl script as well? I am quite sure it can be made to run faster. In fact, it is almost always possible in Perl to closely match the perfomance of a C program for this kind of application. Cheers, \Anton. -- May the tuna salad be with you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 5:54: 8 2001 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 A724037B423 for ; Thu, 26 Apr 2001 05:54:05 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id OAA56060; Thu, 26 Apr 2001 14:54:06 +0200 (CEST) (envelope-from des@ofug.org) 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: Anton Berezin Cc: hackers@freebsd.org Subject: Re: gcc -O bug References: <20010426144848.B17373@heechee.tobez.org> From: Dag-Erling Smorgrav Date: 26 Apr 2001 14:54:06 +0200 In-Reply-To: <20010426144848.B17373@heechee.tobez.org> Message-ID: Lines: 11 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Anton Berezin writes: > Could you provide the Perl script as well? I am quite sure it can be > made to run faster. In fact, it is almost always possible in Perl to > closely match the perfomance of a C program for this kind of > application. I doubt it - and in any case, this is irrelevant. 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 Apr 26 6: 0:32 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from maxim.gbch.net (gw.gbch.net [203.24.22.66]) by hub.freebsd.org (Postfix) with SMTP id 4C8EF37B423 for ; Thu, 26 Apr 2001 06:00:27 -0700 (PDT) (envelope-from gjb@gbch.net) Received: (qmail 71500 invoked by uid 1001); 26 Apr 2001 23:00:15 +1000 Message-ID: X-Posted-By: GJB-Post 2.18 25-Apr-2001 X-Operating-System: FreeBSD 4.2-RELEASE i386 X-Location: Brisbane, Australia; 27.49841S 152.98439E X-URL: http://www.gbch.net/gjb.html X-Image-URL: http://www.gbch.net/gjb/gjb-auug048.gif X-GPG-Fingerprint: EBB2 2A92 A79D 1533 AC00 3C46 5D83 B6FB 4B04 B7D6 X-PGP-Public-Keys: http://www.gbch.net/keys.html Date: Thu, 26 Apr 2001 23:00:15 +1000 From: Greg Black To: Anton Berezin Cc: hackers@freebsd.org Subject: Re: gcc -O bug References: <20010426144848.B17373@heechee.tobez.org> In-reply-to: <20010426144848.B17373@heechee.tobez.org> of Thu, 26 Apr 2001 14:48:48 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Anton Berezin wrote: | Could you provide the Perl script as well? That would be pointless. The issue is with the C ... | I am quite sure it can be | made to run faster. In fact, it is almost always possible in Perl to | closely match the perfomance of a C program for this kind of | application. Nonsense (unless the C program is written by an idiot). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 6:11:39 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254]) by hub.freebsd.org (Postfix) with ESMTP id 3565E37B423 for ; Thu, 26 Apr 2001 06:11:30 -0700 (PDT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id CE8F6547A; Thu, 26 Apr 2001 15:11:26 +0200 (CEST) Date: Thu, 26 Apr 2001 15:11:26 +0200 From: Anton Berezin To: Greg Black Cc: hackers@freebsd.org Subject: Re: gcc -O bug Message-ID: <20010426151126.E17373@heechee.tobez.org> References: <20010426144848.B17373@heechee.tobez.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gjb@gbch.net on Thu, Apr 26, 2001 at 11:00:15PM +1000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 11:00:15PM +1000, Greg Black wrote: > Anton Berezin wrote: > > | Could you provide the Perl script as well? > > That would be pointless. The issue is with the C ... I know that. > | I am quite sure it can be > | made to run faster. In fact, it is almost always possible in Perl to > | closely match the perfomance of a C program for this kind of > | application. > > Nonsense (unless the C program is written by an idiot). Nope. The real nonsense is what you say. Perl core is written in a highly optimized C using very polished algorithms. As long as the Perl script is written in such a way as to minimize the number of OPCODEs executed and maximize the time spent inside the OPCODE executor engine, it is not exactly trivial to beat it in C, unless you are willing to spent a considerable time polishing your code (which is not worth it for your typical log analyzer). Cheers, +Anton. -- May the tuna salad be with you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 6:45:31 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [128.29.154.90]) by hub.freebsd.org (Postfix) with ESMTP id 568F537B423 for ; Thu, 26 Apr 2001 06:45:28 -0700 (PDT) (envelope-from jandrese@mitre.org) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.9.3/8.9.3) with ESMTP id JAA13737; Thu, 26 Apr 2001 09:44:39 -0400 (EDT) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtpsrv2.mitre.org (8.9.3/8.9.3) with ESMTP id JAA09048; Thu, 26 Apr 2001 09:44:38 -0400 (EDT) Received: from dhcp-105-232.mitre.org (128.29.105.232) by mailhub2.mitre.org with SMTP id 6461375; Thu, 26 Apr 2001 09:44:36 -0400 Message-ID: <3AE82644.50ED4A0@mitre.org> Date: Thu, 26 Apr 2001 09:44:36 -0400 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.75 [en]C-20000818M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Dag-Erling Smorgrav Cc: hackers@freebsd.org Subject: Re: gcc -O bug References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > > I ran into this bug while analyzing a customer's logs to determine the > best time of day for an upgrade. The original script was in Perl, but > I rewrote it in C because it was too slow. The C version produces > incorrect results when compiled with -O. Note that the log starts at > 16:27. > > The warning about "time" being possibly uninitialized is safe to > ignore; this can only happen if the log is empty. > > The C source and a truncated log that reproduces the bug are attached > at the end of this message. Er, isn't this the kind of problem the GCC folks are more likly to be able to fix? At least in GCC 2.9.5 (not the latest mind you) this problem still exists. I'm sure the GNU project would love to hear about this bug, especially since it happens at such a low -O level (people expect bugs with -O2 or -O3, but -O bugs can be surprising to some). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 6:51:11 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id BA10737B43C for ; Thu, 26 Apr 2001 06:50:58 -0700 (PDT) (envelope-from roam@ringworld.nanolink.com) Received: (qmail 97894 invoked by uid 1000); 26 Apr 2001 13:49:01 -0000 Date: Thu, 26 Apr 2001 16:49:01 +0300 From: Peter Pentchev To: Lists Account Cc: freebsd-hackers@freebsd.org Subject: Re: More PCI->PCMCIA bridge stuff Message-ID: <20010426164901.B97626@ringworld.oblivion.bg> Mail-Followup-To: Lists Account , freebsd-hackers@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from lists@security.za.net on Thu, Apr 26, 2001 at 02:02:40PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 02:02:40PM +0200, Lists Account wrote: > Hi All > > Ok, the newcard stuff under version 5 picks up my bridge fine, and it > finds my wi0 (orinoco gold card) perfectly, this is all great and I was > rather ecstatic as I watched it boot and tell me all this... > > However the problem comes in the fact that it tries to probe pccard1 after > finishing with pccard0, and the moment it does this (there is only one > bridge, and only space for one card), it hangs the machine solid, not even > a numlock, says something about printing cis tuplets and *boom* nothing > left. Yes, I had the same problem with my PCMCIA->PCI bridge. I solved it with the following patch, which adds a new option to pccardd: -S maxslot. Then, add -S 1 to pccardd_flags in your /etc/rc.conf, and you're all set. The patch is against -current; I can provide one against -stable if somebody is interested. G'luck, Peter -- What would this sentence be like if pi were 3? Index: src/usr.sbin/pccard/pccardd/cardd.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/pccard/pccardd/cardd.c,v retrieving revision 1.65 diff -u -r1.65 cardd.c --- src/usr.sbin/pccard/pccardd/cardd.c 2000/12/24 15:30:36 1.65 +++ src/usr.sbin/pccard/pccardd/cardd.c 2001/04/26 13:47:46 @@ -51,6 +51,7 @@ static void read_ether_attr2(struct slot *sp); struct slot *slots; +int slot_max = MAXSLOT; /* * Dump configuration file data. @@ -112,7 +113,7 @@ struct slot *sp; slots = NULL; - for (i = 0; i < MAXSLOT; i++) { + for (i = 0; i < slot_max; i++) { sprintf(name, CARD_DEVICE, i); fd = open(name, O_RDWR); if (fd < 0) Index: src/usr.sbin/pccard/pccardd/cardd.h =================================================================== RCS file: /home/ncvs/src/usr.sbin/pccard/pccardd/cardd.h,v retrieving revision 1.27 diff -u -r1.27 cardd.h --- src/usr.sbin/pccard/pccardd/cardd.h 2000/10/20 13:08:18 1.27 +++ src/usr.sbin/pccard/pccardd/cardd.h 2001/04/26 13:47:46 @@ -141,6 +141,7 @@ EXTERN struct slot *slots, *current_slot; EXTERN int slen; +EXTERN int slot_max; EXTERN struct allocblk *pool_ioblks; /* I/O blocks in the pool */ EXTERN struct allocblk *pool_mem; /* Memory in the pool */ Index: src/usr.sbin/pccard/pccardd/pccardd.8 =================================================================== RCS file: /home/ncvs/src/usr.sbin/pccard/pccardd/pccardd.8,v retrieving revision 1.22 diff -u -r1.22 pccardd.8 --- src/usr.sbin/pccard/pccardd/pccardd.8 2000/12/27 15:30:15 1.22 +++ src/usr.sbin/pccard/pccardd/pccardd.8 2001/04/26 13:47:47 @@ -39,6 +39,7 @@ .Op Fl i Ar IRQ .Op Fl I .Op Fl f Ar configfile +.Op Fl S Ar maxslot .Sh DESCRIPTION .Nm Pccardd is normally started at boot time, and manages the insertion @@ -153,6 +154,12 @@ .Nm , and the kernel drivers and devices that are used to interface to the card. +.It Fl S Ar maxslot +Specifies the maximum number of slots to probe (default 16). +This may be useful with e.g. some PCMCIA->PCI bridges, when probing +the second slot causes +.Nm +to enter an infinite loop. .El .Sh FILES .Bl -tag -width /etc/defaults/pccard.conf -compact Index: src/usr.sbin/pccard/pccardd/pccardd.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/pccard/pccardd/pccardd.c,v retrieving revision 1.12 diff -u -r1.12 pccardd.c --- src/usr.sbin/pccard/pccardd/pccardd.c 2000/10/20 13:08:18 1.12 +++ src/usr.sbin/pccard/pccardd/pccardd.c 2001/04/26 13:47:47 @@ -161,7 +161,7 @@ int irq_specified = 0; int i; struct sockaddr_un sun; -#define COM_OPTS ":Idvf:s:i:z" +#define COM_OPTS ":Idvf:S:s:i:z" bzero(irq_arg, sizeof(irq_arg)); use_kern_irq = 1; @@ -192,6 +192,13 @@ } irq_arg[i] = 1; irq_specified = 1; + break; + case 'S': + if (sscanf(optarg, "%d", &i) != 1) { + fprintf(stderr, "%s: -S number\n", argv[0]); + exit(1); + } + slot_max = i; break; case 's': sock = optarg; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 6:53:21 2001 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 3778537B422 for ; Thu, 26 Apr 2001 06:53:17 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id PAA56274; Thu, 26 Apr 2001 15:53:10 +0200 (CEST) (envelope-from des@ofug.org) 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: Jason Andresen Cc: hackers@freebsd.org Subject: Re: gcc -O bug References: <3AE82644.50ED4A0@mitre.org> From: Dag-Erling Smorgrav Date: 26 Apr 2001 15:53:10 +0200 In-Reply-To: <3AE82644.50ED4A0@mitre.org> Message-ID: Lines: 19 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jason Andresen writes: > Dag-Erling Smorgrav wrote: > > I ran into this bug while analyzing a customer's logs to determine the > > best time of day for an upgrade. The original script was in Perl, but > > I rewrote it in C because it was too slow. The C version produces > > incorrect results when compiled with -O. Note that the log starts at > > 16:27. > Er, isn't this the kind of problem the GCC folks are more likly to be > able to fix? Sure, but I thought people on this list (especially David O'Brien) might have some insights. Anyway, I found the bug - it's not a compiler bug, it's simply a matter of passing a partially uninitialized struct tm to mktime(). 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 Apr 26 7:21:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from riker.skynet.be (riker.skynet.be [195.238.3.132]) by hub.freebsd.org (Postfix) with ESMTP id 4278437B423 for ; Thu, 26 Apr 2001 07:21:48 -0700 (PDT) (envelope-from sven.huster@mailsurf.com) Received: from hodge.skynet.be (hodge.skynet.be [195.238.2.35]) by riker.skynet.be (8.11.2/8.11.2/Skynet-OUT-2.11) with ESMTP id f3QELgX14355; Thu, 26 Apr 2001 16:21:42 +0200 (MET DST) (envelope-from ) Received: from 07.mailsurf.com (194-78-218-7.pro.turboline.skynet.be [194.78.218.7]) by hodge.skynet.be (8.11.2/8.11.2/Skynet-SMARTRELAY-2.11) with ESMTP id f3QELRK03244; Thu, 26 Apr 2001 16:21:27 +0200 (MET DST) (envelope-from ) Message-Id: <5.1.0.14.0.20010426162030.00a32670@mx01.mailsurf.com> X-Sender: shu@mx01.mailsurf.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 26 Apr 2001 16:21:45 +0200 To: Andrew Gallatin From: Sven Huster Subject: Re: vmware on freebsd for fast booting for devel. Cc: hackers@freebsd.org In-Reply-To: <15078.54122.763494.344212@grasshopper.cs.duke.edu> References: <5.1.0.14.0.20010425110720.025d03a0@mx01.mailsurf.com> <20010424145318.Z1790@fw.wintelcom.net> <20010424130546.V1790@fw.wintelcom.net> <15077.62336.317751.756087@grasshopper.cs.duke.edu> <5.1.0.14.0.20010425110720.025d03a0@mx01.mailsurf.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 03:38 PM 4/25/01, Andrew Gallatin wrote: >*This message was transferred with a trial version of CommuniGate(tm) Pro* > >Sven Huster writes: > > > OT FYI: > > > > Check the ISP1100 from Intel if you like > > support for PIII up to 850 > > 2GB RAM > > 2 x Intel Network onboard (includes pxe boot, possible on both) > > full serial console (even for access to bios setup) > >Hmm.. We have some Dell PowerEdge 1550s that do this (nice machines, >but horribleb bootstones). But I've got a basic problem with console >redirection on PCs that we don't see on Alphas or Suns. > >The problem is that I cannot figure out how in the hell to hit "F2" in >my environment. My environment is essentially telnet'ing into a >console server from an xterm. Hitting "Ctrl-A" for the scsi bios >works just fine & dandy.. > >Anybody know how to make ansi function keys work from an xterm? As far as i remember: Worked for me with the ISP1100 with xterm. Also TERM set to xterm. Sven Huster Senior IT Systems Administrator *BSD, Linux, Solaris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 8:20:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id A637637B422 for ; Thu, 26 Apr 2001 08:20:15 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f3QFJss73048; Thu, 26 Apr 2001 08:19:54 -0700 (PDT) (envelope-from obrien) Date: Thu, 26 Apr 2001 08:19:54 -0700 From: "David O'Brien" To: Jason Andresen Cc: Dag-Erling Smorgrav , hackers@freebsd.org Subject: Re: gcc -O bug Message-ID: <20010426081954.A72609@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <3AE82644.50ED4A0@mitre.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AE82644.50ED4A0@mitre.org>; from jandrese@mitre.org on Thu, Apr 26, 2001 at 09:44:36AM -0400 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 09:44:36AM -0400, Jason Andresen wrote: > Er, isn't this the kind of problem the GCC folks are more likly to be > able to fix? In general yes. But it doesn't hurt to double check here to make sure you your ducks in row before going to the GCC lists. I see later in this thread DES found it was a coding problem, not GCC optimizer problem. > At least in GCC 2.9.5 (not the latest mind you) this problem still ^^^^^ 2.95[.3] -- -- David (obrien@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 Apr 26 8:21:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 95BB237B422; Thu, 26 Apr 2001 08:21:52 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f3QFLY473071; Thu, 26 Apr 2001 08:21:34 -0700 (PDT) (envelope-from obrien) Date: Thu, 26 Apr 2001 08:21:33 -0700 From: "David O'Brien" To: Kris Kennaway Cc: hackers@FreeBSD.org, audit@FreeBSD.org Subject: Re: pax(1) gzip functionality Message-ID: <20010426082133.B72609@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <20010426025425.A92262@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010426025425.A92262@xor.obsecurity.org>; from kris@obsecurity.org on Thu, Apr 26, 2001 at 02:54:25AM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 02:54:25AM -0700, Kris Kennaway wrote: > Please review the following code from OpenBSD; it adds -z and -Z > options to pax(1) to gzip(1) the archives created. Sigh. They could have generalized this just a little and supported Bzip2 at the same time. Please let me know after you commit this so I can do this. -- -- David (obrien@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 Apr 26 8:41:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id E102B37B423; Thu, 26 Apr 2001 08:41:52 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f3QFfY319403; Thu, 26 Apr 2001 16:41:34 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f3QFgiM61575; Thu, 26 Apr 2001 16:42:44 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200104261542.f3QFgiM61575@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: obrien@FreeBSD.ORG Cc: Kris Kennaway , hackers@FreeBSD.ORG, audit@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: pax(1) gzip functionality In-Reply-To: Message from "David O'Brien" of "Thu, 26 Apr 2001 08:21:33 PDT." <20010426082133.B72609@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Apr 2001 16:42:44 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Thu, Apr 26, 2001 at 02:54:25AM -0700, Kris Kennaway wrote: > > Please review the following code from OpenBSD; it adds -z and -Z > > options to pax(1) to gzip(1) the archives created. > > Sigh. They could have generalized this just a little and supported Bzip2 > at the same time. Please let me know after you commit this so I can do > this. Is this necessary ? What's the problem with using a pipe ? Isn't this the same argument as the xargs one we've just gotten through ? Maybe I'm missing something... > -- > -- David (obrien@FreeBSD.org) -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 9:16:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 2A1C437B423; Thu, 26 Apr 2001 09:16:43 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3QGG5p00403; Thu, 26 Apr 2001 09:16:05 -0700 (PDT) Date: Thu, 26 Apr 2001 09:16:05 -0700 From: Alfred Perlstein To: Doug Young Cc: Brian Somers , =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= , questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: VPN Message-ID: <20010426091604.G18676@fw.wintelcom.net> References: <200104261154.f3QBs4M58341@hak.lan.Awfulhak.org> <04d701c0ce48$3696bef0$0400a8c0@oracle> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <04d701c0ce48$3696bef0$0400a8c0@oracle>; from dougy@bryden.apana.org.au on Thu, Apr 26, 2001 at 09:58:22PM +1000 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > Actually ppp shouldn't be that hard to set up as a vpn server. > > > > > > exactly where to find config information suitable for a non-expert ?? > > > > /usr/share/examples/ppp - have a look at the vpn* and sloop* labels. * Doug Young [010426 04:59] wrote: > no vpn or sloop labels in my 4.1 system ... when were they introduced ?? you can use cvsweb to read the most recent versions: http://www.freebsd.org/cgi/cvsweb.cgi/src/share/examples/ppp btw, can you fix or get your mailer to quote messages properly? -- -Alfred Perlstein - [alfred@freebsd.org] http://www.egr.unlv.edu/~slumos/on-netbsd.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 9:32:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dualcpus.com (dualcpus.com [65.160.20.195]) by hub.freebsd.org (Postfix) with SMTP id 460BC37B424 for ; Thu, 26 Apr 2001 09:32:54 -0700 (PDT) (envelope-from data@dualcpus.com) Received: (qmail 30378 invoked from network); 26 Apr 2001 16:32:51 -0000 Received: from sherline.cts.com (HELO britney) (204.216.163.132) by dualcpus.com with SMTP; 26 Apr 2001 16:32:51 -0000 Message-ID: <001d01c0ce6e$8b47b230$015778d8@sherline.net> From: "Jeremiah Gowdy" To: , Subject: Unixgamers.com Date: Thu, 26 Apr 2001 09:32:49 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Our site, unixgamers.com will hopefully be launching soon. As I've mentioned before, we will be giving full instructions on how to setup Linux compatible games under BSD and any other Unix-like operating system. We need contributors with experience on how to setup FreeBSD to run games via Linux compatibility mode with OpenGL or DirectX via Wine emulation. We need URLs, Howtos, FAQs, etc. We need your help to promote the gaming scene on FreeBSD. With Loki Games recent commitment to FreeBSD compatibility, it makes us believe our site really will have a place in the BSD/Linux Gaming community. If you have any good links, please mail them to me. If you are interested in writing an article for our site, either about playing games or serving games under FreeBSD (or even Linux or any other Unix-like OS), please do so and contact me. Unixgamers.com is going to be a community site and therefore we need community support to make this happen. Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 10: 1:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 05CC337B422; Thu, 26 Apr 2001 10:01:32 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f3QH0bw89420; Thu, 26 Apr 2001 10:00:37 -0700 (PDT) (envelope-from obrien) Date: Thu, 26 Apr 2001 10:00:37 -0700 From: "David O'Brien" To: Brian Somers Cc: Kris Kennaway , hackers@FreeBSD.ORG, audit@FreeBSD.ORG Subject: Re: pax(1) gzip functionality Message-ID: <20010426100037.C84210@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <200104261542.f3QFgiM61575@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104261542.f3QFgiM61575@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Thu, Apr 26, 2001 at 04:42:44PM +0100 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 04:42:44PM +0100, Brian Somers wrote: > > On Thu, Apr 26, 2001 at 02:54:25AM -0700, Kris Kennaway wrote: > > > Please review the following code from OpenBSD; it adds -z and -Z > > > options to pax(1) to gzip(1) the archives created. > > > > Sigh. They could have generalized this just a little and supported Bzip2 > > at the same time. Please let me know after you commit this so I can do > > this. > > Is this necessary ? What's the problem with using a pipe ? Isn't > this the same argument as the xargs one we've just gotten through ? What's wrong with: tar cf - foo | gzip >foo.tar.gz gzip -dc foo.tar.gz | tar xf - Someone deemed them too inconvient for the number of times they are invoked. I'm not going to enter that discussion, but _if_ gzip support is added, I feel bzip2 support should be added to be orthogonal with today's uses. -- -- David (obrien@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 Apr 26 10:19:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailin10.bigpond.com (juicer35.bigpond.com [139.134.6.87]) by hub.freebsd.org (Postfix) with ESMTP id 58BF637B424; Thu, 26 Apr 2001 10:19:48 -0700 (PDT) (envelope-from sldwyer@bigpond.com) Received: from bigpond.com ([139.134.4.53]) by mailin10.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GCETOO00.I0X; Fri, 27 Apr 2001 03:24:24 +1000 Received: from WEBH-T-008-p-156-220.tmns.net.au ([203.54.156.220]) by mail0.bigpond.com (Claudes-Chaotic-MailRouter V2.9b 13/1602454); 27 Apr 2001 03:19:03 Message-ID: <3AE85967.D47E7A0C@bigpond.com> Date: Fri, 27 Apr 2001 01:22:47 +0800 From: Shaun Dwyer X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Cc: tdwyer@bigpond.com Subject: LCD driver port (Linux -> FreeBSD) needed for car-mp3 player Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi everyone.. I have a PC in the boot of my car running Linux (yuck!!!!) to play mp3s. I would love to use FreeBSD instead of Linux for many reasons. The only thing stopping me using FreeBSD is the lack of a driver in the style implemented for Linux (provides a /dev/lcd that u just throw data at). The reason I need this driver to be ported is so I can use Cajun (cajun.sourceforge.net) with little or no modifications on FreeBSD. If I knew C, i would port the driver myself, and If i knew perl, I would mod cajun to use /usr/share/examples/ppi/ppilcd.c's stuff. The linux driver is available at: http://www4.infi.net/~cpinkham/cajun/code/lcd-0.2c.tar.gz If you want to see some photos and a bit of a description of my mp3 player, goto http://members.nbci.com/mp3zeus/ BTW, please email me directly, as I am not subscribed to the mailing list. Thanks in advance, Shaun -- ---------------------- Shaun Dwyer sldwyer@bigpond.com ---------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 11:13: 6 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id B795037B422 for ; Thu, 26 Apr 2001 11:13:02 -0700 (PDT) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id OAA62698; Thu, 26 Apr 2001 14:13:34 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.2.1.0.20010426133342.032c48f0@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 26 Apr 2001 13:36:02 -0400 To: Anton Berezin From: Dennis Subject: Re: gcc -O bug Cc: hackers@FreeBSD.ORG In-Reply-To: <20010426151126.E17373@heechee.tobez.org> References: <20010426144848.B17373@heechee.tobez.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 09:11 AM 04/26/2001, you wrote: >On Thu, Apr 26, 2001 at 11:00:15PM +1000, Greg Black wrote: > > Anton Berezin wrote: > > > > | Could you provide the Perl script as well? > > > > That would be pointless. The issue is with the C ... > >I know that. > > > | I am quite sure it can be > > | made to run faster. In fact, it is almost always possible in Perl to > > | closely match the perfomance of a C program for this kind of > > | application. > > > > Nonsense (unless the C program is written by an idiot). > >Nope. The real nonsense is what you say. Perl core is written in a >highly optimized C using very polished algorithms. As long as the Perl >script is written in such a way as to minimize the number of OPCODEs >executed and maximize the time spent inside the OPCODE executor engine, >it is not exactly trivial to beat it in C, unless you are willing to >spent a considerable time polishing your code (which is not worth it for >your typical log analyzer). Don't try to argue this ridiculous point on this list. You are badly overmatched. You are so wrong that its not worthy of debate. Dennis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 11:22:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id A531137B424; Thu, 26 Apr 2001 11:22:42 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f3QIML324417; Thu, 26 Apr 2001 19:22:21 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f3QINUM63571; Thu, 26 Apr 2001 19:23:30 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200104261823.f3QINUM63571@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: obrien@FreeBSD.ORG Cc: Brian Somers , Kris Kennaway , hackers@FreeBSD.ORG, audit@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: pax(1) gzip functionality In-Reply-To: Message from "David O'Brien" of "Thu, 26 Apr 2001 10:00:37 PDT." <20010426100037.C84210@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Apr 2001 19:23:30 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Thu, Apr 26, 2001 at 04:42:44PM +0100, Brian Somers wrote: > > > On Thu, Apr 26, 2001 at 02:54:25AM -0700, Kris Kennaway wrote: > > > > Please review the following code from OpenBSD; it adds -z and -Z > > > > options to pax(1) to gzip(1) the archives created. > > > > > > Sigh. They could have generalized this just a little and supported Bzip2 > > > at the same time. Please let me know after you commit this so I can do > > > this. > > > > Is this necessary ? What's the problem with using a pipe ? Isn't > > this the same argument as the xargs one we've just gotten through ? > > What's wrong with: > tar cf - foo | gzip >foo.tar.gz > gzip -dc foo.tar.gz | tar xf - > > Someone deemed them too inconvient for the number of times they are > invoked. I'm not going to enter that discussion, but _if_ gzip support > is added, I feel bzip2 support should be added to be orthogonal with > today's uses. Agreed. > -- > -- David (obrien@FreeBSD.org) -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 11:33: 2 2001 Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 9F6C737B422; Thu, 26 Apr 2001 11:32:54 -0700 (PDT) Subject: Re: Is 3COM 3C996-T supported via Alteon Driver? In-Reply-To: <200104242028.QAA07738@taurus.cs.albany.edu> from "William A. Maniatty" at "Apr 24, 2001 04:24:01 pm" To: maniatty@cs.albany.edu (William A. Maniatty) Date: Thu, 26 Apr 2001 11:32:54 -0700 (PDT) Cc: freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20010426183254.9F6C737B422@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Hello All: > > > > I'm in the process of configuring a cluster and noticed that 3COM > > had recently purchased Alteon and was making a 3C996-T 10/100/1000 BaseT > > cards. Can the Alteon Tigon drivers support this card? > > After a bit of poking around, and discussion with 3Com's tech support, > they have confirmed that this card is NOT Alteon based. In fact, > most of the current crop of 10/100/1000 BaseT cards are based on > broadcom's recent chipset, (I'm not sure which chip, possibly > the BMC5401 or the BMC5402). I don't think that there are FreeBSD > drivers for these cards (due in some part to reasons discussed below). > > Other FreeBSD friendly vendors (I'm not sure if I'm allowed to give names > here) have confirmed that they too are preparing cards with the same > technology. I've heard rumors that the chip supplies are currently limited, > so that card availability might be limited until late May. The 3c996 uses the Broadcom BCM5700, also known as the Tigon 3. Apparently, Alteon 'outsourced' the development of the Tigon 3 to Broadcom, and 3Com has some right to it now that they own Alteon's NIC division. The BCM5400 and 5401 are PHY (transceiver) chips, not MACs. I have been trying to get Broadcom to give me a copy of the BCM5700 programming manual, but have been left somewhat out if left field. My last contact with them was a few weeks ago, when they told me they needed approval from yet another management droid of some kind, who hasn't responded to either my phone messages or my e-mail. The Tigon 3 doesn't look *too* different from the Tigon 2, based on what I've seen in the Linux driver. (Yes, they wrote a Linux driver, but not a BSD driver.) One major difference is that the firmware seems to now reside in the chip itself, which saves you from having to load it from the driver. In the meantime, I'm currently working on drivers for the National Semiconductor DP83820 and Level 1 LXT1001 gigabig MAC chips. The Level 1 part can be found on the D-Link DGE-500SX and a couple of SMC cards. The NatSemi chip is being used on cards by D-Link (DGE-500T), Asante and Addtron. Getting the DP83820 manual was easy (it's on National's web site). Getting the LXT1001 manual took some arm twisting, but Intel (who now owns Level 1) finally agreed to let D-Link release it to me without NDA. Unfortunately, the BSDi/Wind River deal still hasn't quite closed yet, which is preventing me from ordering hardware. I'm doing as much of the gruntwork as I can, but I can't do actual testing until I can get some sample NICs. Everyone will know once I'm done. -Bill ============================================================================= -Bill Paul (925) 691-2800 | Systems Programmer, Master of Unix-Fu wpaul@osd.bsdi.com | BSDi Open Source Solutions ============================================================================= "I like zees guys. Zey are fonny guys. Just keel one of zem." -- The 3 Amigos ============================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 12:29:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [128.29.154.90]) by hub.freebsd.org (Postfix) with ESMTP id 7E62237B422 for ; Thu, 26 Apr 2001 12:29:48 -0700 (PDT) (envelope-from jandrese@mitre.org) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.9.3/8.9.3) with ESMTP id PAA02783; Thu, 26 Apr 2001 15:29:10 -0400 (EDT) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtpsrv2.mitre.org (8.9.3/8.9.3) with ESMTP id PAA18278; Thu, 26 Apr 2001 15:29:09 -0400 (EDT) Received: from dhcp-105-232.mitre.org (128.29.105.232) by mailhub2.mitre.org with SMTP id 6467384; Thu, 26 Apr 2001 15:29:07 -0400 Message-ID: <3AE87703.69273C08@mitre.org> Date: Thu, 26 Apr 2001 15:29:07 -0400 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.75 [en]C-20000818M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Dennis Cc: Anton Berezin , hackers@freebsd.org Subject: Re: gcc -O bug References: <20010426144848.B17373@heechee.tobez.org> <5.0.2.1.0.20010426133342.032c48f0@mail.etinc.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dennis wrote: > > At 09:11 AM 04/26/2001, you wrote: > >On Thu, Apr 26, 2001 at 11:00:15PM +1000, Greg Black wrote: > >Nope. The real nonsense is what you say. Perl core is written in a > >highly optimized C using very polished algorithms. As long as the Perl > >script is written in such a way as to minimize the number of OPCODEs > >executed and maximize the time spent inside the OPCODE executor engine, > >it is not exactly trivial to beat it in C, unless you are willing to > >spent a considerable time polishing your code (which is not worth it for > >your typical log analyzer). > > Don't try to argue this ridiculous point on this list. You are badly > overmatched. You are so wrong that its not worthy of debate. Youch! I think most people on this list can see where this is going. Please take this thread to email before it becomes a full fledged inferno. Remember kids: Only YOU can prevent troll fires. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 13:18:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sapphire.alisa.org (h2.i-legal.cc [63.228.91.108]) by hub.freebsd.org (Postfix) with ESMTP id 7D5A537B42C; Thu, 26 Apr 2001 13:18:09 -0700 (PDT) (envelope-from jjr@alisa.org) Received: from snow.alisa.org (snow [65.6.105.253]) by sapphire.alisa.org (8.9.3/8.9.3) with SMTP id OAA03868; Thu, 26 Apr 2001 14:16:40 -0600 (MDT) (envelope-from jjr@alisa.org) From: "John J. Rushford Jr" Reply-To: jjr@alisa.org To: "Doug Young" Subject: Re: VPN Date: Thu, 26 Apr 2001 14:14:52 -0600 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain; charset="iso-8859-1" References: <039501c0ce26$fccdaab0$0400a8c0@oracle> In-Reply-To: <039501c0ce26$fccdaab0$0400a8c0@oracle> Cc: hackers@freebsd.org, questions@freebsd.org MIME-Version: 1.0 Message-Id: <01042614164000.27989@snow.alisa.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 26 Apr 2001, you wrote: > I've just been going through this stuff for the past week. > None of the things come with adequate documentation > so you need to rely heavily on mailing list support. > Thankfully a few people have been giving me > some assistance but looks like at least few days more > messing around will be involved before its working.. > > There is a basic HOWTO on one application at > freebsddiary, but its quite dated now. The only other apps > I've been able to find are vtund & poptop (both from ports) > Judging from feedback I received to a similar question, the > few FreeBSD users who use VPN prefer vtund. > > I did look at poptop (which reportedly has some security > "features") in the hope it might be more straightforward to > configure. You need to hack the makefile (its flagged > "forbidden") to install, then theres a few compatibility issues > to contend with (due to the linux heritage) .... I gave up with > it at that stage. > > I think there may be other applications available if you can > compile support into the kernel .... thats not practical for my > present situation as I can't take the server end offline in the > immediate future. > Greetings, I just recently setup a vpn between two sites and have documented my work at http://www.alisa.org/~jjr/vpn Have a look at it, I hope this proves useful to others -- John J. Rushford jjr@alisa.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 13:22: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-27.dsl.lsan03.pacbell.net [63.207.60.27]) by hub.freebsd.org (Postfix) with ESMTP id 2695937B422; Thu, 26 Apr 2001 13:21:56 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 82FE766DF6; Thu, 26 Apr 2001 13:21:55 -0700 (PDT) Date: Thu, 26 Apr 2001 13:21:55 -0700 From: Kris Kennaway To: Brian Somers Cc: obrien@FreeBSD.ORG, Kris Kennaway , hackers@FreeBSD.ORG, audit@FreeBSD.ORG Subject: Re: pax(1) gzip functionality Message-ID: <20010426132155.C2224@xor.obsecurity.org> References: <200104261823.f3QINUM63571@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ghzN8eJ9Qlbqn3iT" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104261823.f3QINUM63571@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Thu, Apr 26, 2001 at 07:23:30PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --ghzN8eJ9Qlbqn3iT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 26, 2001 at 07:23:30PM +0100, Brian Somers wrote: > > On Thu, Apr 26, 2001 at 04:42:44PM +0100, Brian Somers wrote: > > > > On Thu, Apr 26, 2001 at 02:54:25AM -0700, Kris Kennaway wrote: > > > > > Please review the following code from OpenBSD; it adds -z and -Z > > > > > options to pax(1) to gzip(1) the archives created. > > > >=20 > > > > Sigh. They could have generalized this just a little and supported= Bzip2 > > > > at the same time. Please let me know after you commit this so I ca= n do > > > > this. > > >=20 > > > Is this necessary ? What's the problem with using a pipe ? Isn't=20 > > > this the same argument as the xargs one we've just gotten through ? > >=20 > > What's wrong with: > > tar cf - foo | gzip >foo.tar.gz > > gzip -dc foo.tar.gz | tar xf - > >=20 > > Someone deemed them too inconvient for the number of times they are > > invoked. I'm not going to enter that discussion, but _if_ gzip support > > is added, I feel bzip2 support should be added to be orthogonal with > > today's uses. >=20 > Agreed. Fair enough; would be a trivial thing to do. Increased compatibility with tar and cpio seems to have been one of the goals of OpenBSD's work on pax(1); I'm intending to go through and pull over the other bugfixes and extensions too. Kris --ghzN8eJ9Qlbqn3iT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE66INjWry0BWjoQKURAiDNAJ9AzIjMFxEnsv7uRkby+i6nUhGRWgCg5Ykz CrkVQsXGP8XVmWm+Y5NBtgM= =EeAs -----END PGP SIGNATURE----- --ghzN8eJ9Qlbqn3iT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 13:24:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-27.dsl.lsan03.pacbell.net [63.207.60.27]) by hub.freebsd.org (Postfix) with ESMTP id B88BE37B422; Thu, 26 Apr 2001 13:24:47 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7060B66E8E; Thu, 26 Apr 2001 13:24:47 -0700 (PDT) Date: Thu, 26 Apr 2001 13:24:47 -0700 From: Kris Kennaway To: Brian Somers Cc: obrien@FreeBSD.ORG, Kris Kennaway , hackers@FreeBSD.ORG, audit@FreeBSD.ORG Subject: Re: pax(1) gzip functionality Message-ID: <20010426132447.F2224@xor.obsecurity.org> References: <200104261542.f3QFgiM61575@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="yH1ZJFh+qWm+VodA" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104261542.f3QFgiM61575@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Thu, Apr 26, 2001 at 04:42:44PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --yH1ZJFh+qWm+VodA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 26, 2001 at 04:42:44PM +0100, Brian Somers wrote: > > On Thu, Apr 26, 2001 at 02:54:25AM -0700, Kris Kennaway wrote: > > > Please review the following code from OpenBSD; it adds -z and -Z > > > options to pax(1) to gzip(1) the archives created. > >=20 > > Sigh. They could have generalized this just a little and supported Bzi= p2 > > at the same time. Please let me know after you commit this so I can do > > this. >=20 > Is this necessary ? What's the problem with using a pipe ? Isn't=20 > this the same argument as the xargs one we've just gotten through ? >=20 > Maybe I'm missing something... This is useful in tar compatibility mode, and therefore it may as well be used for pax mode too. Kris --yH1ZJFh+qWm+VodA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE66IQOWry0BWjoQKURApMAAJ0b2gV50V8vZE+CXNL61eMPbvoGXgCg4NdA ZWJBYg4lt4z8wTFXsa9T8fU= =HTGZ -----END PGP SIGNATURE----- --yH1ZJFh+qWm+VodA-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 13:51: 0 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bryden.apana.org.au (bryden.apana.org.au [203.3.126.129]) by hub.freebsd.org (Postfix) with ESMTP id D841437B422; Thu, 26 Apr 2001 13:50:52 -0700 (PDT) (envelope-from dougy@bryden.apana.org.au) Received: from oracle (CPE-61-9-143-80.vic.bigpond.net.au [61.9.143.80]) by bryden.apana.org.au (8.9.3/8.9.3) with SMTP id GAA13117; Fri, 27 Apr 2001 06:48:49 +1000 (EST) (envelope-from dougy@bryden.apana.org.au) Message-ID: <05e701c0ce92$6824e790$0400a8c0@oracle> From: "Doug Young" To: "Alfred Perlstein" Cc: "Brian Somers" , =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= , , References: <200104261154.f3QBs4M58341@hak.lan.Awfulhak.org> <04d701c0ce48$3696bef0$0400a8c0@oracle> <20010426091604.G18676@fw.wintelcom.net> Subject: Re: VPN Date: Fri, 27 Apr 2001 06:49:34 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > * Doug Young [010426 04:59] wrote: > > no vpn or sloop labels in my 4.1 system ... when were they introduced ?? > > you can use cvsweb to read the most recent versions: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/share/examples/ppp OK thanks Alfred. I wasn't aware of that as I haven't used CVS anything fo rsome time (gave more "features" than leaving the system alone between RELEASE versions, but at least being able to read the example files would help > > btw, can you fix or get your mailer to quote messages properly? probably not ..... its already got the "correct" settings but I dunno that OE has ever observed "correct". To make matters worse its OE6b that got installed automatically when I wasn't here (hmmmm) I think I've got pine to work with this stupid Tel$tra / ADSL routing so maybe that will make a few people happy :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 14:25:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns1.coastsight.com (ns1.coastsight.com [208.46.230.17]) by hub.freebsd.org (Postfix) with ESMTP id 9A5E437B424; Thu, 26 Apr 2001 14:25:44 -0700 (PDT) (envelope-from maillist@coastsight.com) Received: from ns1.coastsight.com ([208.46.230.17]) by ns1.coastsight.com with esmtp (Exim 2.05 #1) id 14stGS-0009VL-00; Thu, 26 Apr 2001 14:25:28 -0700 Date: Thu, 26 Apr 2001 14:25:28 -0700 (PDT) From: Rick Duvall To: "John J. Rushford Jr" Cc: Doug Young , hackers@freebsd.org, questions@freebsd.org Subject: Re: VPN In-Reply-To: <01042614164000.27989@snow.alisa.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is cool! Now, is there a way to use MS_DUN VPN support to dial into such a private network made with FreeBSD so that people can telecommute? On Thu, 26 Apr 2001, John J. Rushford Jr wrote: > On Thu, 26 Apr 2001, you wrote: > > I've just been going through this stuff for the past week. > > None of the things come with adequate documentation > > so you need to rely heavily on mailing list support. > > Thankfully a few people have been giving me > > some assistance but looks like at least few days more > > messing around will be involved before its working.. > > > > There is a basic HOWTO on one application at > > freebsddiary, but its quite dated now. The only other apps > > I've been able to find are vtund & poptop (both from ports) > > Judging from feedback I received to a similar question, the > > few FreeBSD users who use VPN prefer vtund. > > > > I did look at poptop (which reportedly has some security > > "features") in the hope it might be more straightforward to > > configure. You need to hack the makefile (its flagged > > "forbidden") to install, then theres a few compatibility issues > > to contend with (due to the linux heritage) .... I gave up with > > it at that stage. > > > > I think there may be other applications available if you can > > compile support into the kernel .... thats not practical for my > > present situation as I can't take the server end offline in the > > immediate future. > > > > Greetings, > > I just recently setup a vpn between two sites and have documented > my work at http://www.alisa.org/~jjr/vpn > > Have a look at it, I hope this proves useful to others > -- > John J. Rushford > jjr@alisa.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" 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 Apr 26 14:51:52 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from guild.plethora.net (guild.plethora.net [205.166.146.8]) by hub.freebsd.org (Postfix) with ESMTP id 6FD1E37B423 for ; Thu, 26 Apr 2001 14:51:43 -0700 (PDT) (envelope-from seebs@guild.plethora.net) Received: from guild.plethora.net (seebs@localhost.plethora.net [127.0.0.1]) by guild.plethora.net (8.10.1/8.10.1) with ESMTP id f3QLpdN29451 for ; Thu, 26 Apr 2001 16:51:40 -0500 (CDT) Message-Id: <200104262151.f3QLpdN29451@guild.plethora.net> From: seebs@plethora.net (Peter Seebach) Reply-To: seebs@plethora.net (Peter Seebach) To: hackers@freebsd.org Subject: Re: gcc -O bug In-reply-to: Your message of "Thu, 26 Apr 2001 13:36:02 EDT." <5.0.2.1.0.20010426133342.032c48f0@mail.etinc.com> Date: Thu, 26 Apr 2001 16:51:38 -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <5.0.2.1.0.20010426133342.032c48f0@mail.etinc.com>, Dennis writes: >Don't try to argue this ridiculous point on this list. You are badly >overmatched. You are so wrong that its not worthy of debate. Which is presumably why you offered no arguments. Actually, this is a fairly well-demonstrated result. Anything that depends mostly on the operation of, say, regexp code, and doesn't spend most of its time doing flow control will be fairly comparable in C and perl. Slower? Quite possibly. *much* slower? Not normally. I think the standing estimate is that competently-written perl will take no more than three times as long as carefully-written C for most perl-ish tasks. Matrix multiplies are an obvious exception. In practice, perl is likely to beat C substantially on most exrpession-matching code, because most C programmers write very inefficient matching code, and perl is good at it. (Go ahead, dismiss me as being unfairly biased against C.) -s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 15: 6:14 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from 0z0ne.com (www.0z0ne.com [194.143.192.23]) by hub.freebsd.org (Postfix) with SMTP id 4CB2637B424 for ; Thu, 26 Apr 2001 15:06:07 -0700 (PDT) (envelope-from jesus@pasapues.com) Received: (qmail 91938 invoked by uid 1005); 26 Apr 2001 22:04:45 -0000 Received: from dynamic.193.es.encomix.com (HELO LAPTOP) (194.143.193.161) by www.0z0ne.com with SMTP; 26 Apr 2001 22:04:45 -0000 From: =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= To: , Subject: NAT and IPFiltering Date: Fri, 27 Apr 2001 00:07:47 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I'm configuring a server able to do NAT and IP FILTERING (IPF). What are the required options that I should set to the kernel? I have this: -- options IPFILTER options IPFILTER_LOG options IPFIREWALL options IPDIVERT --- but I'm not sure if IPFIREWALLING should be (I'm not going to use ipfw). On the other hand, I put this lines in /etc/rc.conf -- firewall_type="open" firewall_enable="NO" -- But everytime I boot I have to do: # ipfw -f flush # ipfw add pass all from any to any if I want to see other machines of my net. As I say, I wan to use IPFILTER but not ipfw, so what I'm supposed to do? Thanks in advance! -- Jesús Arnáiz 0z0ne Inc I+D/IT Manager http://www.0z0ne.com mailto:jesus@0z0ne.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 15: 9:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id A2B0037B422 for ; Thu, 26 Apr 2001 15:09:50 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f3QM9A837993; Thu, 26 Apr 2001 16:09:23 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200104262209.f3QM9A837993@harmony.village.org> To: Lists Account Subject: Re: More PCI->PCMCIA bridge stuff Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Thu, 26 Apr 2001 14:02:40 +0200." References: Date: Thu, 26 Apr 2001 16:09:10 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Lists Account writes: : Any suggestions? Be patient. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 15:59:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id 4A64E37B422 for ; Thu, 26 Apr 2001 15:59:38 -0700 (PDT) (envelope-from keichii@peorth.iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id B66C359483; Thu, 26 Apr 2001 17:59:06 -0500 (CDT) Date: Thu, 26 Apr 2001 17:59:06 -0500 From: "Michael C . Wu" To: Jeremiah Gowdy Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: x86-64 Hammer and IA64 Itainium Message-ID: <20010426175906.B88522@peorth.iteration.net> Reply-To: "Michael C . Wu" Mail-Followup-To: "Michael C . Wu" , Jeremiah Gowdy , freebsd-hackers@FreeBSD.ORG References: <200104171836.LAA06378@akira.lanfear.com> <000001c0c777$f9529b30$215778d8@cx443070b> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000001c0c777$f9529b30$215778d8@cx443070b>; from jgowdy@home.com on Tue, Apr 17, 2001 at 12:49:04PM -0700 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Apr 17, 2001 at 12:49:04PM -0700, Jeremiah Gowdy scribbled: | I'd like to know if anyone's considering support for the new AMD | Sledgehammer/Clawhammer/*hammer with x86-64 architecture. I know the new | hammer cpus will run as _very_ fast x86-32 processors, and FreeBSD would run | happily under that, however, the x86-64 architecture offers major advantages | over the 32bit architecture. More than simply 64bit integers. Like the | Itainium, the Hammer has more registers. Not as many as Itainium's 128 | 64bit general purpose registers, but a good 16 64bit registers rather than | I'm studying the AMD architecture in an effort to port my x86 assembly | skills to x86-64. Learning IA64 assembly seems pointless since they want With the branch prediction, cache tracing, and EPIC instructions, you really want to use an ILP compiler. Without a compiler that can decide on good ways to output binaries that run with all the IA-64 innovations^Wreinvention-of-the-wheels. I will reserve my opinions on whether Intel will succeed in implementing the EPIC stuff well. ;-) IIRC, KA-64 does not even have an emulator yet. Rest assured that there will be a lot of people in and out of this project interested in supporting a KA-64 port of FreeBSD. | everything done with an ILP capable compiler for maximum performance. | Although my kernel programming skills are in their infancy, I am a good C | and assembly language programmer. Perhaps I could contribute to the FreeBSD | x86-64 project, if and when there was one. When Sledgehammer comes out, we will see what we can do. :) -- +-----------------------------------------------------------+ | keichii@iteration.net | keichii@freebsd.org | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +-----------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 16: 8:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id E918A37B422 for ; Thu, 26 Apr 2001 16:08:37 -0700 (PDT) (envelope-from keichii@peorth.iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id DACBC59483; Thu, 26 Apr 2001 18:08:36 -0500 (CDT) Date: Thu, 26 Apr 2001 18:08:36 -0500 From: "Michael C . Wu" To: Remy Nonnenmacher Cc: ajh3@chmod.ath.cx, jgowdy@home.com, freebsd-hackers@FreeBSD.ORG Subject: Re: x86-64 Hammer and IA64 Itainium Message-ID: <20010426180836.C88522@peorth.iteration.net> Reply-To: "Michael C . Wu" Mail-Followup-To: "Michael C . Wu" , Remy Nonnenmacher , ajh3@chmod.ath.cx, jgowdy@home.com, freebsd-hackers@FreeBSD.ORG References: <20010417205711.C64757@cec.wustl.edu> <200104181422.f3IELwC11439@luxren2.boostworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104181422.f3IELwC11439@luxren2.boostworks.com>; from remy@boostworks.com on Wed, Apr 18, 2001 at 04:24:18PM +0200 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 18, 2001 at 04:24:18PM +0200, Remy Nonnenmacher scribbled: | On 17 Apr, Andrew Hesford wrote: | > On Tue, Apr 17, 2001 at 12:49:04PM -0700, Jeremiah Gowdy wrote: | For sure. Look at how it's pretty more easy to use an ARM or MIPS core | to handle gluelessly the PCI, SDRAM, Flash etc... and just add specific | components for the analogic interface side. And what happens to the overhead of intercommunication between these devices? :) ... Infiniband ... PCI-X Btw, we already use ARM/MIPS stuff in many PCI applications... NIC chipsets are essentially specialized processors. Think about about the new Intel NIC's with i960 built-in | X86 (and -64) is going to be just die hard PC and workstations where | deadly wrong past must be taken into account at the price of wasted | power. Futur is more than probably Itanium and alike for servers CPUs And what's so deadly wrong about all the new features of Itanium and KA-64? | and a bunch of ARMs for low-level I/O tasks. Back to imagination. (Take | a look at 0.15um copper process FPGAs with embeded ARM at Altera, for | example, and you will see why no one, in the futur, will never ever need | a proprietary and undocumented 'server class' SCSI or network card). Please make Altera/Xilinx make their FPGA programming software freely available. | It would be really interesting to have a server-class FreeBSD SMPng | version and, in conjonction, an highly portable and small Pico-bsd like | one to animate the embeded processors. Please define "server-class" SMPng :) You do realize that, in the embedded systems world, sometimes we use SMP, right? For example, multiple DSP ASIC's in the same router..... -- +-----------------------------------------------------------+ | keichii@iteration.net | keichii@freebsd.org | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +-----------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 16:21:52 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 065A937B43E for ; Thu, 26 Apr 2001 16:21:47 -0700 (PDT) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id TAA00470; Thu, 26 Apr 2001 19:22:11 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.2.1.0.20010426184129.034e8090@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 26 Apr 2001 18:44:46 -0400 To: seebs@plethora.net (Peter Seebach), hackers@FreeBSD.ORG From: Dennis Subject: Re: gcc -O bug In-Reply-To: <200104262151.f3QLpdN29451@guild.plethora.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 05:51 PM 04/26/2001, Peter Seebach wrote: >In message <5.0.2.1.0.20010426133342.032c48f0@mail.etinc.com>, Dennis writes: > >Don't try to argue this ridiculous point on this list. You are badly > >overmatched. You are so wrong that its not worthy of debate. > >Which is presumably why you offered no arguments. > >Actually, this is a fairly well-demonstrated result. Anything that depends >mostly on the operation of, say, regexp code, and doesn't spend most of its >time doing flow control will be fairly comparable in C and perl. Slower? >Quite possibly. *much* slower? Not normally. I think the standing estimate >is that competently-written perl will take no more than three times as long as >carefully-written C for most perl-ish tasks. Matrix multiplies are an obvious >exception. > >In practice, perl is likely to beat C substantially on most >exrpession-matching code, because most C programmers write very inefficient >matching code, and perl is good at it. > >(Go ahead, dismiss me as being unfairly biased against C.) Done. Like I said, its not worthy of debate. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 16:22:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id BBB8A37B43C; Thu, 26 Apr 2001 16:22:31 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.11.2) id f3QNLpx61257; Thu, 26 Apr 2001 16:21:51 -0700 (PDT) (envelope-from dillon) Date: Thu, 26 Apr 2001 16:21:51 -0700 (PDT) From: Matt Dillon Message-Id: <200104262321.f3QNLpx61257@earth.backplane.com> To: =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= Cc: , Subject: Re: NAT and IPFiltering References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :Hi! : :I'm configuring a server able to do NAT and IP FILTERING (IPF). : :What are the required options that I should set to the kernel? : :I have this: :... :Jesús Arnáiz I think all you need is: options IPFIREWALL options IPDIVERT I usually also have (because it is useful): options IPFILTER options IPFIREWALL_FORWARD -- For my firewall configuration firewall_enable="YES" firewall_type="/etc/ipfw.conf" ip_portrange_first=4000 ip_portrange_last=5000 My /etc/ipfw.conf file contains: # do not allow an outside entity to spoof our internal network # IPs add 00300 deny all from 10.0.0.0/8 in via fxp0 # NATD diversions # add 00400 divert 8668 ip from 10.0.0.0/8 to not 10.0.0.0/8 add 00400 divert 8668 ip from not 10.0.0.0/8 to 208.161.114.67 # allow data related to already-established TCP connections # (near the top of the ruleset to packet switch efficiently) # add 01000 allow tcp from any to any established # all all outgoing packets # add 01001 allow all from any to any out via fxp0 add 01001 allow all from any to any out via fxp1 # allow all strictly internal network traffic add 01010 allow all from 10.0.0.0/8 to 10.0.0.0/8 # allow temporary ports and specific UDP services # add 02000 allow udp from any to any 4000-65535,domain,ntalk,ntp add 02500 allow udp from any to any frag # allow temporary ports and specific TCP services. Note that # TCP packet fragments are not allowed. # add 03000 allow tcp from any to any http,https add 03000 allow tcp from any to any 4000-65535,ssh,smtp,domain,ntalk add 03000 allow tcp from any to any auth,pop3,ftp,ftp-data # allow certain icmp types through for ping, routing errors, and # tcp mtu path negotiation. # add 04000 allow icmp from any to any icmptypes 0,3,5,8,11,12,13,14 # log any remaining fragments that get through and deny the rest # add 05000 deny log ip from any to any frag add 65000 deny ip from any to any The rc.conf setup for my ethernet port is roughly: # Exposed network # ifconfig_fxp0="inet 208.161.114.65 netmask 255.255.255.192" # Exposed for NAT # ifconfig_fxp0_alias1="inet 208.161.114.67 netmask 255.255.255.192" # Internal network # ifconfig_fxp1="inet 10.0.0.2 netmask 255.255.255.0" And I run natd from /etc/rc.local using: natd -s -u -a 208.161.114.67 *ALL* exposed services run from this machine are tied to the machine's exposed IP address, in my case 208.161.114.65. It requires some work in named, sendmail.cf, and so forth to the services bound to the correct IP address (you don't want to bind services to your NAT address). The .67 address in my case is only used for NAT traffic. The 4000-65535 junk is only really necessary for programs which use UDP (like DNS) and expect replies via UDP. I don't run any internal TCP or UDP services on higher numbered ports but I like having the flexibility. With some care and hardwiring of UDP ports for the services that need them, you can rip out the 4000-65535 stuff entirely. I use it because it's reasonably secure and a 'file and forget' type of setup. If you are using NAT, your internal network should be in the 10.x.x.x space, and your external network should of course be in your internet-visible space. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 16:40:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 86B4637B423 for ; Thu, 26 Apr 2001 16:40:42 -0700 (PDT) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id TAA00538 for ; Thu, 26 Apr 2001 19:41:10 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 26 Apr 2001 19:03:47 -0400 To: hackers@FreeBSD.ORG From: Dennis Subject: BSDI and Marketing 101 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I saw BSDIs retail product of FreeBSD in a local bookstore the other day, and it became sadly clear why LINUX, although highly inferior, is so much more widely used. Right next to Freebsd (priced at $129.95) was Mandrake LINUX for $29.95. What they dont seem to realize is that people who know its worth more than linux also know they dont have to pay $129. for free software with fancy packaging and paid support. Of course they are building systems now...... db To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 16:49:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by hub.freebsd.org (Postfix) with ESMTP id 3151237B42C for ; Thu, 26 Apr 2001 16:49:23 -0700 (PDT) (envelope-from greid@FreeBSD.org) Received: from sobek.openirc.co.uk ([62.252.8.33]) by mta07-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010426234921.FPVV285.mta07-svc.ntlworld.com@sobek.openirc.co.uk>; Fri, 27 Apr 2001 00:49:21 +0100 Date: Fri, 27 Apr 2001 00:49:19 +0100 (BST) From: George Reid X-Sender: greid@sobek.openirc.co.uk To: Dennis Cc: hackers@FreeBSD.ORG Subject: Re: BSDI and Marketing 101 In-Reply-To: <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 26 Apr 2001, Dennis wrote: > What they dont seem to realize is that people who know its worth more than > linux also know they dont have to pay $129. for free software with fancy > packaging and paid support. This is relevant to -hackers in what way? greid To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 17:13:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 4D59B37B424 for ; Thu, 26 Apr 2001 17:13:08 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f3R0Cth13229; Thu, 26 Apr 2001 17:12:55 -0700 (PDT) (envelope-from obrien) Date: Thu, 26 Apr 2001 17:12:55 -0700 From: "David O'Brien" To: Dennis Cc: hackers@FreeBSD.ORG Subject: Re: BSDI and Marketing 101 Message-ID: <20010426171255.A13209@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com>; from dennis@etinc.com on Thu, Apr 26, 2001 at 07:03:47PM -0400 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 07:03:47PM -0400, Dennis wrote: > I saw BSDIs retail product of FreeBSD in a local bookstore the other day, > and it became sadly clear why LINUX, although highly inferior, is so much > more widely used. Right next to Freebsd (priced at $129.95) was Mandrake > LINUX for $29.95. I should use your quote from this morning... but I won't. You don't understand channel marketing. And I'll just leave it at that. -- -- David (obrien@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 Apr 26 17:24:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from chmod.ath.cx (CC2-861.charter-stl.com [24.217.115.99]) by hub.freebsd.org (Postfix) with ESMTP id E768C37B422 for ; Thu, 26 Apr 2001 17:24:42 -0700 (PDT) (envelope-from ajh3@chmod.ath.cx) Received: by chmod.ath.cx (Postfix, from userid 1001) id 31E9BA8DD; Thu, 26 Apr 2001 19:23:52 -0500 (CDT) Date: Thu, 26 Apr 2001 19:23:52 -0500 From: Andrew Hesford To: "Michael C . Wu" , Remy Nonnenmacher , ajh3@chmod.ath.cx, jgowdy@home.com, freebsd-hackers@FreeBSD.ORG Subject: Re: x86-64 Hammer and IA64 Itainium Message-ID: <20010426192352.A2341@cec.wustl.edu> References: <20010417205711.C64757@cec.wustl.edu> <200104181422.f3IELwC11439@luxren2.boostworks.com> <20010426180836.C88522@peorth.iteration.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010426180836.C88522@peorth.iteration.net>; from keichii@iteration.net on Thu, Apr 26, 2001 at 06:08:36PM -0500 X-Loop: Andrew Hesford Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 06:08:36PM -0500, Michael C . Wu wrote: > | and a bunch of ARMs for low-level I/O tasks. Back to imagination. (Take > | a look at 0.15um copper process FPGAs with embeded ARM at Altera, for > | example, and you will see why no one, in the futur, will never ever need > | a proprietary and undocumented 'server class' SCSI or network card). Do you mean to say that, in the future, we will all blow our own FPGAs at home? That to get the next processor upgrade, you download the schematics and use Xilinx Foundation Series to build a chip? FPGAs are not the answer... they can never be as fast as custom-fab chips. It may be, in the future, we get circuits to run fast enough that we wouldn't notice given today's speeds, but remember, if FPGAs get that fast, custom-fab chips will be even faster. The future isn't FPGAs; it's GaAs BJT circuitry, designed and built by the guys who have money to set up a fab and roll out millions of chips. It will be a long, long time before anything changes about how we get our chips; the only thing that will change is how they are made. > Please make Altera/Xilinx make their FPGA programming software > freely available. Ugh. I think we need a better solution than the Xilinx software. It's absolutely horrible. They should stick to electronics and leave the software design to those who know what they're doing. -- Andrew Hesford ajh3@chmod.ath.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 17:37:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 951DB37B422; Thu, 26 Apr 2001 17:37:30 -0700 (PDT) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id UAA00756; Thu, 26 Apr 2001 20:37:59 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.2.1.0.20010426195703.03222e50@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 26 Apr 2001 20:00:35 -0400 To: obrien@FreeBSD.ORG From: Dennis Subject: Re: BSDI and Marketing 101 Cc: hackers@FreeBSD.ORG In-Reply-To: <20010426171255.A13209@dragon.nuxi.com> References: <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 08:12 PM 04/26/2001, David O'Brien wrote: >On Thu, Apr 26, 2001 at 07:03:47PM -0400, Dennis wrote: > > I saw BSDIs retail product of FreeBSD in a local bookstore the other day, > > and it became sadly clear why LINUX, although highly inferior, is so much > > more widely used. Right next to Freebsd (priced at $129.95) was Mandrake > > LINUX for $29.95. > >I should use your quote from this morning... but I won't. >You don't understand channel marketing. And I'll just leave it at that. Actually I do. Channel marketing requires a marketing base, which they dont have. You have to establish a base before you can gouge. I know that 0 X 129. < anything X 29. do you? DB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 17:41: 1 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 7F68737B423; Thu, 26 Apr 2001 17:40:58 -0700 (PDT) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id UAA00769; Thu, 26 Apr 2001 20:41:27 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.2.1.0.20010426200046.03222350@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 26 Apr 2001 20:04:04 -0400 To: George Reid From: Dennis Subject: Re: BSDI and Marketing 101 Cc: hackers@FreeBSD.org In-Reply-To: References: <5.0.2.1.0.20010426192834.03a546f0@mail.etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 08:24 PM 04/26/2001, George Reid wrote: >On Thu, 26 Apr 2001, Dennis wrote: > > > >This is relevant to -hackers in what way? > > > > > > well you copied hackers, so you either think so also or you are just an > > ass. Learn to ignore things you dont care about, you'll live longer. > >I "either think so" w.r.t what? I didn't make a definite statement. > >Learn to read properly, you'll make yourself look like less of a dickhead. You asked if it was relevent, and I said you much think so also. Its not brain surgery Your need to continuously criticize me no matter how trivial the subject is very satisfying to me. Makes you look like even more of a loser than you are. db To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 17:48:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by hub.freebsd.org (Postfix) with ESMTP id A3AAB37B423 for ; Thu, 26 Apr 2001 17:48:54 -0700 (PDT) (envelope-from greid@FreeBSD.org) Received: from sobek.openirc.co.uk ([62.252.8.33]) by mta05-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010427004853.WTWX272.mta05-svc.ntlworld.com@sobek.openirc.co.uk>; Fri, 27 Apr 2001 01:48:53 +0100 Date: Fri, 27 Apr 2001 01:48:52 +0100 (BST) From: George Reid X-Sender: greid@sobek.openirc.co.uk To: Dennis Cc: hackers@FreeBSD.org Subject: Re: BSDI and Marketing 101 In-Reply-To: <5.0.2.1.0.20010426200046.03222350@mail.etinc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 26 Apr 2001, Dennis wrote: > Your need to continuously criticize me no matter how trivial the subject is > very satisfying to me. Makes you look like even more of a loser than you are. Actually, it's the first time I've replied to one of your troll posts before. Seeing (from both current and previous postings) that you're clearly not capable of holding a reasonable discussion, it'll be the last. Further messages on the subject will be ignored by me, but I expect you'll post them to bolster your own ego anyway. greid To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 17:50:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 62C7637B424 for ; Thu, 26 Apr 2001 17:50:43 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f3R0ofa27445; Thu, 26 Apr 2001 17:50:41 -0700 (PDT) (envelope-from obrien) Date: Thu, 26 Apr 2001 17:50:41 -0700 From: "David O'Brien" To: Dennis Cc: hackers@FreeBSD.ORG Subject: Re: BSDI and Marketing 101 Message-ID: <20010426175041.C19809@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> <20010426171255.A13209@dragon.nuxi.com> <5.0.2.1.0.20010426195703.03222e50@mail.etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.2.1.0.20010426195703.03222e50@mail.etinc.com>; from dennis@etinc.com on Thu, Apr 26, 2001 at 08:00:35PM -0400 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 08:00:35PM -0400, Dennis wrote: > At 08:12 PM 04/26/2001, David O'Brien wrote: > >On Thu, Apr 26, 2001 at 07:03:47PM -0400, Dennis wrote: > > > I saw BSDIs retail product of FreeBSD in a local bookstore the other day, > > > and it became sadly clear why LINUX, although highly inferior, is so much > > > more widely used. Right next to Freebsd (priced at $129.95) was Mandrake > > > LINUX for $29.95. > > > >I should use your quote from this morning... but I won't. > >You don't understand channel marketing. And I'll just leave it at that. > > Actually I do. Channel marketing requires a marketing base, which they dont > have. You have to establish a base before you can gouge. What you fail to realize is computer stores and bookstores *want* and have requested the $129.95 product. They want even more expensive ones than that. The really don't care for $29.95 products as the margins are too low for their liking -- unless they feel the product is a "leader" one. -- -- David (obrien@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 Apr 26 18:38:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from revolt.poohsticks.org (revolt.poohsticks.org [63.227.60.74]) by hub.freebsd.org (Postfix) with ESMTP id B58F337B422 for ; Thu, 26 Apr 2001 18:38:34 -0700 (PDT) (envelope-from drew@revolt.poohsticks.org) Received: from revolt.poohsticks.org (localhost [127.0.0.1]) by revolt.poohsticks.org (8.11.3/8.11.3) with ESMTP id f3R1cUU23561 for ; Thu, 26 Apr 2001 19:38:34 -0600 (MDT) (envelope-from drew@revolt.poohsticks.org) Message-Id: <200104270138.f3R1cUU23561@revolt.poohsticks.org> To: hackers@FreeBSD.ORG Subject: Re: BSDI and Marketing 101 In-reply-to: Your message of "Thu, 26 Apr 2001 19:03:47 EDT." <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23557.988335509.1@revolt.poohsticks.org> Date: Thu, 26 Apr 2001 19:38:29 -0600 From: Drew Eckhardt Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com>, dennis@etinc.com writes: > >I saw BSDIs retail product of FreeBSD in a local bookstore the other day, >and it became sadly clear why LINUX, although highly inferior, is so much >more widely used. Linux was much more widely used because the Jolitzes felt their i86 unix port was a "research system" which didn't need to run on arbitrary hardware or do what people wanted while Linus was initially working on a Minix clone that would run on his hardware and maintained that "practical" attitude throughout the project. Linux also provided substantially better interactive performance under load, which was the normal operating state for starving students. Who in turn wrote drivers. Finally, Linux was not endangered by the AT&T lawsuit. Combine these factors, and Linux was more rapidly accepted by starving hackers, enough of whom contributed drivers for their hardware rather than buying something which would work. The larger hacker community rubbed off on more hobbiests than the smaller in BSD. More hobbiests could actually run linux on their systems because of both hardware support and Wintel coexistance (things like non-destructive repartitioning, the unix semantics on msdos file systems, etc. really helped). IOW, Linux was useful to more people sooner. Even if BSD can match Linux's growth rate, that head start means BSD won't catch up in numbers. Of course, this is irrelevant. I run BSD on my black (actually, they're purple) boxes and servers. I can get jobs doing BSD professionally. If people want to use Linux where BSD works better, that's their perogative as long as I don't have to hold their hand or clean up after them. >What they dont seem to realize is that people who know its worth more than >linux also know they dont have to pay $129. for free software with fancy >packaging and paid support. Joe Average (where the numbers come from and perhaps venture capital) is going to go with Linux because of name recognition, it works well enough (which is even better than BSD) for his purposes (Installing some Linux binaries on BSD requires finding the corresponding Linux libraries, which is easier said than done. Installing them on Linux just works. Linux also has more complete driver support. It can coexist easier with Wintel.). Personally, I'm now running BSD exclusively because it was more flood resistant than Linux (my Linux mail server & DNS machine did not survive the catastrophic water heater failure, while the robust BSD box was more water tight). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 18:51:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 0959C37B423 for ; Thu, 26 Apr 2001 18:51:46 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f3R1pR538447; Thu, 26 Apr 2001 18:51:27 -0700 (PDT) (envelope-from obrien) Date: Thu, 26 Apr 2001 18:51:27 -0700 From: "David O'Brien" To: "Michael C . Wu" Cc: Jeremiah Gowdy , freebsd-hackers@FreeBSD.ORG Subject: Re: x86-64 Hammer and IA64 Itainium Message-ID: <20010426185127.A38407@dragon.nuxi.com> Reply-To: freebsd-hackers@FreeBSD.ORG References: <200104171836.LAA06378@akira.lanfear.com> <000001c0c777$f9529b30$215778d8@cx443070b> <20010426175906.B88522@peorth.iteration.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010426175906.B88522@peorth.iteration.net>; from keichii@iteration.net on Thu, Apr 26, 2001 at 05:59:06PM -0500 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 05:59:06PM -0500, Michael C . Wu wrote: > IIRC, KA-64 does not even have an emulator yet. Are you making a distinction between emulator and simulator? Such that SimNow! and VirtuHammer don't fall into what you are speaking of? -- -- David (obrien@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 Apr 26 19:11:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id CDC4F37B422 for ; Thu, 26 Apr 2001 19:10:30 -0700 (PDT) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net (client-151-198-117-21.nnj.dialup.bellatlantic.net [151.198.117.21]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id WAA00570; Thu, 26 Apr 2001 22:09:47 -0400 (EDT) Message-ID: <3AE8D4DC.E0E35042@bellatlantic.net> Date: Thu, 26 Apr 2001 22:09:32 -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: "Michael C . Wu" Cc: Jeremiah Gowdy , freebsd-hackers@FreeBSD.ORG Subject: Re: x86-64 Hammer and IA64 Itainium References: <200104171836.LAA06378@akira.lanfear.com> <000001c0c777$f9529b30$215778d8@cx443070b> <20010426175906.B88522@peorth.iteration.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Michael C . Wu" wrote: > > With the branch prediction, cache tracing, and EPIC instructions, > you really want to use an ILP compiler. Without a compiler that > can decide on good ways to output binaries that run with all the IA-64 > innovations^Wreinvention-of-the-wheels. Anothing interesting point is that the optimisation for IA-64 seems to be highly processor-specific: the code optimized for Itanium won't be optimal for McKinley and vice versa. I've heard an estimation of about 1.5 times speed increase due to the model-specific optimisation. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 20: 8:52 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dualcpus.com (dualcpus.com [65.160.20.195]) by hub.freebsd.org (Postfix) with SMTP id 41DB137B422 for ; Thu, 26 Apr 2001 20:08:50 -0700 (PDT) (envelope-from jgowdy@home.com) Received: (qmail 33375 invoked from network); 27 Apr 2001 03:08:49 -0000 Received: from cx443070-b.vista1.sdca.home.com (HELO cx443070b) (24.0.36.170) by dualcpus.com with SMTP; 27 Apr 2001 03:08:49 -0000 Message-ID: <003101c0cec7$61695280$aa240018@cx443070b> From: "Jeremiah Gowdy" To: "Michael C . Wu" Cc: References: <200104171836.LAA06378@akira.lanfear.com> <000001c0c777$f9529b30$215778d8@cx443070b> <20010426175906.B88522@peorth.iteration.net> Subject: Re: x86-64 Hammer and IA64 Itainium Date: Thu, 26 Apr 2001 20:08:48 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > IIRC, KA-64 does not even have an emulator yet. Rest assured that > there will be a lot of people in and out of this project interested > in supporting a KA-64 port of FreeBSD. What's KA-64 ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 20:17:13 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.kornet.net (mail.kornet.net [168.126.72.70]) by hub.freebsd.org (Postfix) with ESMTP id A423A37B424 for ; Thu, 26 Apr 2001 20:17:09 -0700 (PDT) (envelope-from vivi@vivi.co.kr) Received: from t2e6r4 ([211.227.89.132]) by mail.kornet.net (8.9.3+Sun/8.9.1) with SMTP id MAA02743 for ; Fri, 27 Apr 2001 12:17:05 +0900 (KST) Message-Id: <200104270317.MAA02743@mail.kornet.net> Date: Fri, 27 Apr 2001 11:47:07 +0900 From: "kim" To: freebsd-hackers@freebsd.org Subject: °í±Þ¾×¼¼¼­¸®¸¦ Á¤¸» ±âºÐÁÁÀº °¡°Ý¿¡ X-AD2000-Serial: 0 X-AD2000-Register: µ¥¸ð¹öÀü MIME-Version: 1.0 Content-Type: text/html Content-Transfer-Encoding: base64 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG PEhUTUw+DQo8SEVBRD4NCjxNRVRBIE5BTUU9IkdFTkVSQVRPUiIgQ29udGVudD0iTWljcm9z b2Z0IERIVE1MIEVkaXRpbmcgQ29udHJvbCI+DQo8VElUTEU+PC9USVRMRT4NCjwvSEVBRD4N CjxCT0RZPg0KPFA+PEZPTlQgZmFjZT2xvLiyw7wgc2l6ZT0yPjxGT05UIGZhY2U9IlRpbWVz IE5ldyBSb21hbiIgc2l6ZT0zPiZuYnNwOzwvRk9OVD48L1A+DQo8UD48Qj48Rk9OVCBmYWNl PbnZxcEgY29sb3I9Ymx1ZSBzaXplPTI+PFNQQU4gDQpzdHlsZT0iRk9OVC1XRUlHSFQ6IGJv bGQ7IEZPTlQtU0laRTogMTBwdDsgQ09MT1I6IGJsdWUiPsfjtvS++MDMILjewM/AuyC15bfB IMHLvNvH1bTPtNk8U1BBTiANCmxhbmc9RU4tVVM+LjwvU1BBTj48L1NQQU4+PC9GT05UPjwv Qj48L1A+DQo8UD48Rk9OVCBmYWNlPbW4v/LDvCBjb2xvcj0jZmYwMDAwPjxCPrDtsd6+17y8 vK24rrimIMGkuLsgseK60MHBwLogsKGw3b+hILD4wOW/obytIMH3waIgDQrGx7jFx9W0z7TZ LjwvQj48L0ZPTlQ+PC9QPg0KPFA+PEI+PEZPTlQgZmFjZT21uL/yw7wgY29sb3I9IzAwODA4 MD6407iux8ksuPGwycDMLMbIwu617iAxMDC/qbChwfYgwMy788DHILyxuO3H0SC758H4sPog w9bA+iANCrChsN3HpTwvRk9OVD48L0I+PC9QPg0KPFA+PEEgaHJlZj0iaHR0cDovL3d3dy52 aXZpLmNvLmtyLyI+PEI+PEk+PEZPTlQgY29sb3I9IzAwODA4MCANCnNpemU9NT5odHRwOi8v d3d3LnZpdmkuY28ua3IvPC9GT05UPjwvST48L0I+PC9BPjwvUD4NCjxQPqGhKiogMTAuMDAw v/ggwMy78yCxuLjFvcMgvLG5sMC7ILXru9IgteW4s7TPtNkuPC9QPg0KPFA+PEI+PEZPTlQg ZmFjZT252cXBIGNvbG9yPWZ1Y2hzaWEgc2l6ZT0zPjxTUEFOIA0Kc3R5bGU9IkZPTlQtV0VJ R0hUOiBib2xkOyBGT05ULVNJWkU6IDEycHQ7IENPTE9SOiBmdWNoc2lhIj4mbmJzcDsgvcPB 38bHuMWwocDHIA0Kud2wqjwvU1BBTj48U1BBTiBsYW5nPUVOLVVTIA0Kc3R5bGU9IkZPTlQt V0VJR0hUOiBib2xkOyBGT05ULVNJWkU6IDEycHQ7IENPTE9SOiBmdWNoc2lhIj5+PC9TUEFO PjxTUEFOIA0KbGFuZz1FTi1VUyBzdHlsZT0iRk9OVC1XRUlHSFQ6IGJvbGQ7IEZPTlQtU0la RTogMTJwdDsgQ09MT1I6IGZ1Y2hzaWEiPjMwJSANCrChsN3A1LTPtNkuPC9TUEFOPjwvRk9O VD48L0I+PC9QPg0KPFAgYWxpZ249Y2VudGVyPrvnwfjAuyDFrLivx8+8vL/kPC9QPg0KPFAg YWxpZ249Y2VudGVyPqGhPC9QPg0KPFA+DQo8VEFCTEUgd2lkdGg9IjEwMCUiIGJvcmRlcj0x Pg0KICA8VEJPRFk+DQogIDxUUj4NCiAgICA8VEQgd2lkdGg9IjUwJSI+DQogICAgICA8UCBh bGlnbj1jZW50ZXI+PEEgaHJlZj0iaHR0cDovL3d3dy52aXZpLmNvLmtyL2tvL2NuYy1iYXJy ZXR0ZXMyLmh0bSI+PElNRyANCiAgICAgIGhlaWdodD0xMTUgYWx0PWJhcnJldHRlMS5KUEco Mzg3MTG52cDMxq4pIA0KICAgICAgc3JjPSJodHRwOi8vd3d3LnZpdmkuY28ua3Iva28vaGFp ciBpbWFnZS9iYXJyZXR0ZTFfc21hbGwuSlBHIiB3aWR0aD0zMDAgDQogICAgICBib3JkZXI9 Mj48L0E+PC9QPjwvVEQ+DQogICAgPFREIHdpZHRoPSI1MCUiPg0KICAgICAgPFAgYWxpZ249 Y2VudGVyPjxBIGhyZWY9Imh0dHA6Ly93d3cudml2aS5jby5rci9rby9jbmMtYmFycmV0dGVz Mi5odG0iPjxJTUcgDQogICAgICBoZWlnaHQ9MTI5IGFsdD1iYXJyZXR0ZTYuSlBHKDQwNDcz udnAzMauKSANCiAgICAgIHNyYz0iaHR0cDovL3d3dy52aXZpLmNvLmtyL2tvL2hhaXIgaW1h Z2UvYmFycmV0dGU2X3NtYWxsLkpQRyIgd2lkdGg9MzAwIA0KICAgICAgYm9yZGVyPTI+PC9B PjwvUD48L1REPjwvVFI+DQogIDxUUj4NCiAgICA8VEQgYWxpZ249bWlkZGxlIHdpZHRoPSI1 MCUiPjxCPjxGT05UIA0KICAgICAgY29sb3I9IzAwODA4MD4zMDAxLTc3MDC/+Ci827fhxvfH 1Ck8L0ZPTlQ+PC9CPjwvVEQ+DQogICAgPFREIGFsaWduPW1pZGRsZSB3aWR0aD0iNTAlIj48 Qj48Rk9OVCANCiAgICAgIGNvbG9yPSMwMDgwODA+MzAwNi04NTAwv/govNu34cb3x9QpPC9G T05UPjwvQj48L1REPjwvVFI+DQogIDxUUj4NCiAgICA8VEQgYWxpZ249bWlkZGxlIHdpZHRo PSI1MCUiPjxBIA0KICAgICAgaHJlZj0iaHR0cDovL3d3dy52aXZpLmNvLmtyL2tvL2NuYy1i YXJyZXR0ZXMxLmh0bSI+PElNRyBoZWlnaHQ9MTkyIA0KICAgICAgYWx0PWJlYXJjbGF3Mi5K UEcoNDcxMTa52cDMxq4pIA0KICAgICAgc3JjPSJodHRwOi8vd3d3LnZpdmkuY28ua3Iva28v aGFpciBpbWFnZS9iZWFyY2xhdzJfc21hbGwuSlBHIiB3aWR0aD0zMDAgDQogICAgICBib3Jk ZXI9Mj48L0E+PC9URD4NCiAgICA8VEQgYWxpZ249bWlkZGxlIHdpZHRoPSI1MCUiPjxBIA0K ICAgICAgaHJlZj0iaHR0cDovL3d3dy52aXZpLmNvLmtyL2tvL2NuYy1iYXJyZXR0ZXM1Lmh0 bSI+PElNRyBoZWlnaHQ9MzAwIA0KICAgICAgYWx0PXBvbnl0YWlsOC5KUEcoMzI4NTK52cDM xq4pIA0KICAgICAgc3JjPSJodHRwOi8vd3d3LnZpdmkuY28ua3Iva28vaGFpciBpbWFnZS9w b255dGFpbDhfc21hbGwuSlBHIiB3aWR0aD0yMDAgDQogICAgICBib3JkZXI9Mj48L0E+PC9U RD48L1RSPg0KICA8VFI+DQogICAgPFREIGFsaWduPW1pZGRsZSB3aWR0aD0iNTAlIj48Qj48 Rk9OVCANCiAgICAgIGNvbG9yPSMwMDgwODA+MjAwMy0xNTAwML/4KLzbt+HG98fUKTwvRk9O VD48L0I+PC9URD4NCiAgICA8VEQgYWxpZ249bWlkZGxlIHdpZHRoPSI1MCUiPjxCPjxGT05U IA0KICAgICAgY29sb3I9IzAwODA4MD40MDEwLTM3MDC/+Ci827fhxvfH1Ck8L0ZPTlQ+PC9C PjwvVEQ+PC9UUj4NCiAgPFRSPg0KICAgIDxURCBhbGlnbj1taWRkbGUgd2lkdGg9IjUwJSI+ PEEgDQogICAgICBocmVmPSJodHRwOi8vd3d3LnZpdmkuY28ua3Iva28vZHVtcGluZ25lY2ts YWNlNC5odG0iPjxJTUcgaGVpZ2h0PTE2MyANCiAgICAgIGFsdD04MDI0LmpwZyg3MjM0udnA zMauKSANCiAgICAgIHNyYz0iaHR0cDovL3d3dy52aXZpLmNvLmtyL2hhaXJhY2MvaGFpcmlt YWdlcy84MDI0X3NtYWxsLmpwZyIgd2lkdGg9MzAwIA0KICAgICAgYm9yZGVyPTI+PC9BPjwv VEQ+DQogICAgPFREIGFsaWduPW1pZGRsZSB3aWR0aD0iNTAlIj48QSANCiAgICAgIGhyZWY9 Imh0dHA6Ly93d3cudml2aS5jby5rci9rby9kdW1waW5nbmVja2xhY2U1Lmh0bSI+PElNRyBo ZWlnaHQ9MzAwIA0KICAgICAgYWx0PTIwLmpwZygyMjIyObnZwMzGrikgDQogICAgICBzcmM9 Imh0dHA6Ly93d3cudml2aS5jby5rci9rby9oYWlyIGltYWdlLzIwX3NtYWxsLmpwZyIgd2lk dGg9MjE5IA0KICAgICAgYm9yZGVyPTI+PC9BPjwvVEQ+PC9UUj4NCiAgPFRSPg0KICAgIDxU RCBhbGlnbj1taWRkbGUgd2lkdGg9IjUwJSI+PEI+PEZPTlQgDQogICAgICBjb2xvcj0jMDA4 MDgwPjgwMjQtNjAwML/4KLzbt+HG98fUKTwvRk9OVD48L0I+PC9URD4NCiAgICA8VEQgYWxp Z249bWlkZGxlIHdpZHRoPSI1MCUiPjxCPjxGT05UIA0KICAgICAgY29sb3I9IzAwODA4MD44 MDM5LTMwMDC/+Ci827fhxvfH1Ck8L0ZPTlQ+PC9CPjwvVEQ+PC9UUj48L1RCT0RZPjwvVEFC TEU+PC9QPg0KPFAgYWxpZ249Y2VudGVyPjxCPr/AvbrGrriuvsYgvPbA1CC288DOvbrF5sC7 ILvnv+vH1bTPtNkuPC9CPjwvUD4NCjxQIGFsaWduPWNlbnRlcj48Qj48Rk9OVCBjb2xvcj0j MDBmZmZmIHNpemU9Mz48QSANCmhyZWY9Im1haWx0bzp2aXZpQHZpdmkuY28ua3IiPsDMLbje wM88L0E+PC9GT05UPjwvQj48L1A+DQo8UCBhbGlnbj1jZW50ZXI+PEI+PEZPTlQgc2l6ZT0y Prq7u+cssPjA5SA6ILDmseK1tSDG98O1sbogsKG76rjpILCovs+4riA1MTUtMTwvRk9OVD48 L0I+PC9QPg0KPFAgYWxpZ249Y2VudGVyPjxCPjxGT05UIHNpemU9Mj7A/MitOiAwMzEtNTM1 LTY5OTU8L0ZPTlQ+PC9CPjwvUD4NCjxQIGFsaWduPWNlbnRlcj48Qj48Rk9OVCBzaXplPTI+ xtG9ujogMDMxLTUzNS02OTk0PC9GT05UPjwvQj48L1A+DQo8UCBhbGlnbj1jZW50ZXI+PEI+ PEZPTlQgc2l6ZT0yPrvnvvfA2rXut8+5+MijOiANCjExMi0wMy0yMzgwMjwvRk9OVD48L0I+ PC9QPjwvRk9OVD4NCjwvQk9EWT4NCjwvSFRNTD4NCg== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 21:48:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29]) by hub.freebsd.org (Postfix) with SMTP id 5682937B424 for ; Thu, 26 Apr 2001 21:48:55 -0700 (PDT) (envelope-from julian@elischer.org) Received: (qmail 16385 invoked by uid 666); 27 Apr 2001 04:52:05 -0000 Received: from i177-040.nv.iinet.net.au (HELO elischer.org) (203.59.177.40) by mail.m.iinet.net.au with SMTP; 27 Apr 2001 04:52:05 -0000 Message-ID: <3AE8F9F8.72FF174F@elischer.org> Date: Thu, 26 Apr 2001 21:47:52 -0700 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Dennis Cc: obrien@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: BSDI and Marketing 101 References: <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> <5.0.2.1.0.20010426195703.03222e50@mail.etinc.com> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dennis wrote: > > At 08:12 PM 04/26/2001, David O'Brien wrote: > >On Thu, Apr 26, 2001 at 07:03:47PM -0400, Dennis wrote: > > > I saw BSDIs retail product of FreeBSD in a local bookstore the other day, > > > and it became sadly clear why LINUX, although highly inferior, is so much > > > more widely used. Right next to Freebsd (priced at $129.95) was Mandrake > > > LINUX for $29.95. > > > >I should use your quote from this morning... but I won't. > >You don't understand channel marketing. And I'll just leave it at that. > > Actually I do. Channel marketing requires a marketing base, which they dont > have. You have to establish a base before you can gouge. > > I know that 0 X 129. < anything X 29. Denis is certainly right about this.. -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 22: 5:31 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from xyzzy.intranet.snsonline.net (dhcp.looksmart.com.au [202.53.47.178]) by hub.freebsd.org (Postfix) with ESMTP id 7E47837B423; Thu, 26 Apr 2001 22:05:27 -0700 (PDT) (envelope-from msergeant@snsonline.net) Received: from xyzzy.intranet.snsonline.net (localhost [127.0.0.1]) by xyzzy.intranet.snsonline.net (8.11.3/8.11.3) with SMTP id f3R565X02949; Fri, 27 Apr 2001 15:06:07 +1000 (EST) (envelope-from msergeant@snsonline.net) Message-Id: <200104270506.f3R565X02949@xyzzy.intranet.snsonline.net> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: "Mark Sergeant" To: Julian Elischer , Dennis Cc: obrien@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: BSDI and Marketing 101 X-Mailer: Pronto v2.2.5 On freebsd/mysql Date: 27 Apr 2001 00:06:03 EST Reply-To: "Mark Sergeant" In-Reply-To: <3AE8F9F8.72FF174F@elischer.org> References: <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com><5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> <5.0.2.1.0.20010426195703.03222e50@mail.etinc.com> <3AE8F9F8.72FF174F@elischer.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Then again you could also download an iso of 4.3 for free, go to BSD Mall and get a 4 CD set for 39.95 etc. The thing you pay for when you are buying these box sets is usually the manual, some also include a certain amount of telephone support etc. So while one may be 29.95 and the other another 100 dollars more you may not get a book / as good a book with the 29.95 version. Also you may or may not get phone support etc with the one you pay 100 for, I know many companies that would pay 129.95 for an OS that you get a book, support n cd's for, hell I know companies that buy Windows 98 / 2000 :P Cheers, Mark On Thu, 26 Apr 2001 21:47:52 -0700, Julian Elischer said: :: Dennis wrote: :: > :: > At 08:12 PM 04/26/2001, David O'Brien wrote: :: > >On Thu, Apr 26, 2001 at 07:03:47PM -0400, Dennis wrote: :: > > > I saw BSDIs retail product of FreeBSD in a local bookstore the other day, :: > > > and it became sadly clear why LINUX, although highly inferior, is so much :: > > > more widely used. Right next to Freebsd (priced at $129.95) was Mandrake :: > > > LINUX for $29.95. :: > > :: > >I should use your quote from this morning... but I won't. :: > >You don't understand channel marketing. And I'll just leave it at that. :: > :: > Actually I do. Channel marketing requires a marketing base, which they dont :: > have. You have to establish a base before you can gouge. :: > :: > I know that 0 X 129. < anything X 29. :: :: Denis is certainly right about this.. :: -- Mark Sergeant Unix Systems Administrator Fortune follows... Don't believe everything you hear or anything you say. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 22:27:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from viking.dhs.org (k9k203-3.kam.afb.lu.se [130.235.56.194]) by hub.freebsd.org (Postfix) with ESMTP id 6C0E837B422; Thu, 26 Apr 2001 22:27:13 -0700 (PDT) (envelope-from sverre@viking.dhs.org) Received: from gollum.k9k203-3.kam.afb.lu.se (gollum [192.168.0.2]) by viking.dhs.org (Postfix) with ESMTP id 7C2705AB8; Fri, 27 Apr 2001 07:31:46 +0200 (CEST) Received: by gollum.k9k203-3.kam.afb.lu.se (Postfix, from userid 1001) id 08E6D497; Fri, 27 Apr 2001 07:25:46 +0200 (CEST) Date: Fri, 27 Apr 2001 07:25:45 +0200 From: Sverre Valgeirsson To: =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= Cc: questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: NAT and IPFiltering Message-ID: <20010427072545.A98676@viking.dhs.org> Reply-To: e96sv@efd.lth.se References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from jesus@pasapues.com on Fri, Apr 27, 2001 at 12:07:47AM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 27, 2001 at 12:07:47AM +0200, Jesús Arnáiz wrote: > Hi! > > I'm configuring a server able to do NAT and IP FILTERING (IPF). > What are the required options that I should set to the kernel? > > I have this: > > -- > options IPFILTER > options IPFILTER_LOG > options IPFIREWALL > options IPDIVERT > --- > > but I'm not sure if IPFIREWALLING should be (I'm not going to use ipfw). If you just want IPFILTER then you can skip the IPFIREWALL and IPDIVERT. /sverre -- If you're happy, you're successful. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 22:36:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 2C43137B422 for ; Thu, 26 Apr 2001 22:36:13 -0700 (PDT) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) id f3R5a5O95169 for freebsd-hackers@FreeBSD.ORG.AVP; Fri, 27 Apr 2001 07:36:05 +0200 (CEST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) with UUCP id f3R5a5O95163 for freebsd-hackers@FreeBSD.ORG; Fri, 27 Apr 2001 07:36:05 +0200 (CEST) (envelope-from leifn@neland.dk) Received: from gina (gina.neland.dk [192.168.5.100] (may be forged)) by arnold.neland.dk (8.11.3/8.11.0) with SMTP id f3R5Zwd71095 for ; Fri, 27 Apr 2001 07:35:59 +0200 (CEST) (envelope-from leifn@neland.dk) Message-ID: <00d701c0cedc$1ee190c0$6405a8c0@neland.dk> From: "Leif Neland" Cc: References: <200104171836.LAA06378@akira.lanfear.com> <000001c0c777$f9529b30$215778d8@cx443070b> <20010426175906.B88522@peorth.iteration.net> <3AE8D4DC.E0E35042@bellatlantic.net> Subject: Re: x86-64 Hammer and IA64 Itainium Date: Fri, 27 Apr 2001 07:37:15 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by ns.internet.dk id f3R5a5O95163 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Sergey Babkin" To: "Michael C . Wu" Cc: "Jeremiah Gowdy" ; Sent: Friday, April 27, 2001 4:09 AM Subject: Re: x86-64 Hammer and IA64 Itainium > Anothing interesting point is that the optimisation for IA-64 > seems to be highly processor-specific: the code optimized for > Itanium won't be optimal for McKinley and vice versa. I've heard > an estimation of about 1.5 times speed increase due to the > model-specific optimisation. > Perhaps commercial software will need to come in (encrypted) source and be compiled to the the current processor... Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Thu Apr 26 23:13:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id D298F37B424 for ; Thu, 26 Apr 2001 23:13:52 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f3R6DGR02287; Fri, 27 Apr 2001 00:13:21 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200104270613.f3R6DGR02287@harmony.village.org> To: Peter Pentchev Subject: Re: More PCI->PCMCIA bridge stuff Cc: Lists Account , freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Thu, 26 Apr 2001 16:49:01 +0300." <20010426164901.B97626@ringworld.oblivion.bg> References: <20010426164901.B97626@ringworld.oblivion.bg> Date: Fri, 27 Apr 2001 00:13:15 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010426164901.B97626@ringworld.oblivion.bg> Peter Pentchev writes: : Yes, I had the same problem with my PCMCIA->PCI bridge. I solved it with : the following patch, which adds a new option to pccardd: -S maxslot. : Then, add -S 1 to pccardd_flags in your /etc/rc.conf, and you're all set. On current, without any patches, I hang just when I go to try to mount /. So changes to userland won't help much :-) I have some patches that should help, but I'm not quite ready to commit them. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 4:28:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from luxren2.boostworks.com (luxren2.boostworks.com [194.167.81.214]) by hub.freebsd.org (Postfix) with ESMTP id AC8F037B43C for ; Fri, 27 Apr 2001 04:27:58 -0700 (PDT) (envelope-from root@boostworks.com) Received: from boostworks.com (root@oldrn.lxlun.boostworks.com [192.168.8.101]) by luxren2.boostworks.com (8.11.3/8.11.3) with ESMTP id f3RB81C63528; Fri, 27 Apr 2001 13:08:02 +0200 (CEST) Message-Id: <200104271108.f3RB81C63528@luxren2.boostworks.com> Date: Fri, 27 Apr 2001 13:10:21 +0200 (CEST) From: Remy Nonnenmacher Reply-To: remy@boostworks.com Subject: Re: x86-64 Hammer and IA64 Itainium To: keichii@peorth.iteration.net Cc: keichii@iteration.net, ajh3@chmod.ath.cx, jgowdy@home.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <20010426180836.C88522@peorth.iteration.net> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 26 Apr, Michael C . Wu wrote: > On Wed, Apr 18, 2001 at 04:24:18PM +0200, Remy Nonnenmacher scribbled: > | On 17 Apr, Andrew Hesford wrote: > | > On Tue, Apr 17, 2001 at 12:49:04PM -0700, Jeremiah Gowdy wrote: > | For sure. Look at how it's pretty more easy to use an ARM or MIPS core > | to handle gluelessly the PCI, SDRAM, Flash etc... and just add specific > | components for the analogic interface side. > > And what happens to the overhead of intercommunication between these > devices? :) > > ... > Infiniband > ... > PCI-X > > Btw, we already use ARM/MIPS stuff in many PCI applications... > NIC chipsets are essentially specialized processors. > Think about about the new Intel NIC's with i960 built-in > > | X86 (and -64) is going to be just die hard PC and workstations where > | deadly wrong past must be taken into account at the price of wasted > | power. Futur is more than probably Itanium and alike for servers CPUs > > And what's so deadly wrong about all the new features of Itanium > and KA-64? > I do not doubt that IA64 will be a great think. by 'x86' I meant the current Pentium architecture that embbed (and is slowed down by) tons of gates just to handle old 8086 binary compatibility. IA64 do not need to. > | and a bunch of ARMs for low-level I/O tasks. Back to imagination. (Take > | a look at 0.15um copper process FPGAs with embeded ARM at Altera, for > | example, and you will see why no one, in the futur, will never ever need > | a proprietary and undocumented 'server class' SCSI or network card). > > Please make Altera/Xilinx make their FPGA programming software > freely available. > I do not know about Xilinx but Altera does (to the extension that you get stuck with their components). Even evaluation boards are getting cheaper and cheaper. My point is that system software is getting close to it's maximum efficiency with existing hardware. Each performance step will require bigger and bigger rework of the whole code. In the mean time, either we sit down and wait for better CPUs or hope that a electronic design engineer read the code and start designing really helpfull devices (remember: Digital is dead!), either we (as software writers) start entering the programmable hardware world. Take a look at device drivers in the kernel. You will find a lot of pesting in the comments about this or that that require copying, zeroing, duplicating, aligning, etc... All this resulting in CPU correcting ill behaviors. Now imagine you get a fully programmable add-on card. If something get wrong, the device driver writer can fix it and not just put hacks to handle this or this revision of a chip. Even further, computation part of the DD can be pushed onto the card. Imagine a NIC pushing you mbufs, pcb entries, etc... You will also not have to wait for the good willing of XYZ company to release documentation or seeing a version of a chip being phased out in favor of the new super-one released only with an opaque Windows driver. > | It would be really interesting to have a server-class FreeBSD SMPng > | version and, in conjonction, an highly portable and small Pico-bsd like > | one to animate the embeded processors. > > Please define "server-class" SMPng :) "An SMP version having a computational power curve as close as possible of the Y=X line, where X is the number of processors" (Note that it is easier (to some limits) as the number of process increases but is really difficult when not.) > You do realize that, in the embedded systems world, sometimes > we use SMP, right? For example, multiple DSP ASIC's in the same > router..... Hum... "Symetric" MP ? You sure ? ;). RN. IeM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 4:41:32 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from luxren2.boostworks.com (luxren2.boostworks.com [194.167.81.214]) by hub.freebsd.org (Postfix) with ESMTP id 4F61C37B424 for ; Fri, 27 Apr 2001 04:41:20 -0700 (PDT) (envelope-from root@boostworks.com) Received: from boostworks.com (root@oldrn.lxlun.boostworks.com [192.168.8.101]) by luxren2.boostworks.com (8.11.3/8.11.3) with ESMTP id f3RBdNC63674; Fri, 27 Apr 2001 13:39:24 +0200 (CEST) Message-Id: <200104271139.f3RBdNC63674@luxren2.boostworks.com> Date: Fri, 27 Apr 2001 13:41:43 +0200 (CEST) From: Remy Nonnenmacher Reply-To: remy@boostworks.com Subject: Re: x86-64 Hammer and IA64 Itainium To: ajh3@chmod.ath.cx Cc: keichii@iteration.net, jgowdy@home.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <20010426192352.A2341@cec.wustl.edu> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 26 Apr, Andrew Hesford wrote: > On Thu, Apr 26, 2001 at 06:08:36PM -0500, Michael C . Wu wrote: >> | and a bunch of ARMs for low-level I/O tasks. Back to imagination. (Take >> | a look at 0.15um copper process FPGAs with embeded ARM at Altera, for >> | example, and you will see why no one, in the futur, will never ever need >> | a proprietary and undocumented 'server class' SCSI or network card). > > Do you mean to say that, in the future, we will all blow our own FPGAs > at home? That to get the next processor upgrade, you download the > schematics and use Xilinx Foundation Series to build a chip? FPGAs are > not the answer... they can never be as fast as custom-fab chips. It may > be, in the future, we get circuits to run fast enough that we wouldn't > notice given today's speeds, but remember, if FPGAs get that fast, > custom-fab chips will be even faster. > In fact, the move is to hardwire some core functions (CPU, PCI, RAM/SDRAM controllers). Here you get a 'fab' speed. Then you have a programmable area to specialize the whole stuff. All this in one chip. Fastest chips are needed by very few peoples for very specific needs. I'm talking of daily needs: Audio, LAN, WAN, SCSI.. Areas where existing FPGA's speed can match for 50-100$. > The future isn't FPGAs; it's GaAs BJT circuitry, designed and built by > the guys who have money to set up a fab and roll out millions of chips. > It will be a long, long time before anything changes about how we get > our chips; the only thing that will change is how they are made. > Futur can be GaAs, copper or whatever you want. The fact remains that these fab guys (and anyway _who_ setup a fab, by now ?) will build a chip for their own needs and we (if we can access the product) will have to deal with stupid behaviors and write more code to adapt things... just to see, sooner or later, the chip disapear from world's surface for any good reason they will have. This is more a philosophical issue than a practical, technical, one: Chip makers do not care at all of code writers needs. FPGAs give us a chance to escape from dependancy in a lot of domains (not CPU, anyway) and push a little further in their influence sphere. From my experience, the only two words that make your fab guys become very attentive are: "no thanks". RN. IeM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 5: 8:27 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id E7C8737B423 for ; Fri, 27 Apr 2001 05:08:22 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f3RC8Jx74696; Fri, 27 Apr 2001 05:08:19 -0700 (PDT) (envelope-from obrien) Date: Fri, 27 Apr 2001 05:08:18 -0700 From: "David O'Brien" To: Jeremiah Gowdy Cc: "Michael C . Wu" , freebsd-hackers@FreeBSD.ORG Subject: Re: x86-64 Hammer and IA64 Itainium Message-ID: <20010427050818.A74678@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <200104171836.LAA06378@akira.lanfear.com> <000001c0c777$f9529b30$215778d8@cx443070b> <20010426175906.B88522@peorth.iteration.net> <003101c0cec7$61695280$aa240018@cx443070b> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <003101c0cec7$61695280$aa240018@cx443070b>; from jgowdy@home.com on Thu, Apr 26, 2001 at 08:08:48PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 08:08:48PM -0700, Jeremiah Gowdy wrote: > > What's KA-64 ? AMD internal name for the x86-64. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 6:52:36 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from tango.entreri.com (tango.entreri.com [205.219.158.250]) by hub.freebsd.org (Postfix) with ESMTP id 1CA6237B424 for ; Fri, 27 Apr 2001 06:52:28 -0700 (PDT) (envelope-from dp@penix.org) Received: from penix.org (Toronto-ppp220856.sympatico.ca [64.228.103.181]) by tango.entreri.com (8.10.2/8.9.1) with ESMTP id f3RDqgU14041 for ; Fri, 27 Apr 2001 08:52:43 -0500 Message-ID: <3AE97C93.1E18434F@penix.org> Date: Fri, 27 Apr 2001 10:05:07 -0400 From: Paul Halliday X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-RC i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: hi. Content-Type: multipart/mixed; boundary="------------34C5FC0818788A40CBD56F0D" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------34C5FC0818788A40CBD56F0D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am working on a little program and I am kinda stuck. I have attached it just in case what I say isn't clear. Basically I am having problems with the while loop in _monitor_state (line 129). For now I am using "trap _menu_state INT" which is most likely not right. I want to exit this function and enter _menu_state yet keep it running as a background process so that it is still recording data. What would be the proper way to access _menu_state, while not terminating the while loop in _monitor state? just a little push in the right direction would be appreciated. -- Paul Halliday Carpenter, Electrician. http://dp.penix.org Lesson of the week: dropping your PDA on a concrete floor is a bad thing. --------------34C5FC0818788A40CBD56F0D Content-Type: text/plain; charset=us-ascii; name="spike" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="spike" #!/usr/local/bin/bash # Lets begin.. # Initial system check. Take some records. What will we watch? for now lets # examine filesystem structure and sizes and monitor memory and cpu usage. We # will also determine how many users their is, what terminal they are on, and # what they are up to. Note: this is designed for smaller system setups. # Most of the checks that are performed will take far too much time and resources # to be practical on larger systems. ie. raid arrays, terabytes of # disk space etc. #---------------------------------------# _clean_up () { echo echo 'Caught SIGnal.. Exiting cleanly..' echo exit 1 # add stuff in here to cleanup working dirs. } trap _clean_up TERM #----------------------------------------# _first_state () { start=$date clear; echo "[ spike v.01b ]" echo echo "The first time this program is run it must aquire a fingerprint" echo "of the filesystem, this process will take about 5-10 minutes." echo "A full system fingerprint like this will be taken once every" echo -n "24 hours. " check=1 while [ $check = 1 ]; do echo -n "Do you wish to continue? [y/n]: " read comply case $comply in [Nn]) echo Quit!;exit 1;; [Yy]) check=2;; *) echo;echo -n "** Invalid entry! **"; sleep 1;_first_state;; esac done; _init_state } #---------------------------------------------------------------------# # somehow break down the fs into smaller chunks! _init_state () { echo -n "=> checking filesystem.. " echo "##### Archived: `/bin/date` #####" >spike.init /bin/ls -aliTR /root >>spike.init && chmod 600 spike.init && chflags schg spike.init; echo -n "done!" _usr_state } #----------------------------------------# _usr_state () { trap _menu_state INT echo "##### Archived: `/bin/date` #####" > $usf0 /usr/bin/who >>$usf0 echo " ">>$usf0 /bin/ps -aurx >>$usf0 && chmod 600 $usf0 _sys_state } #----------------------------------------# _sys_state () { echo "##### Archived: `/bin/date` #####" > $ssfwb; upt=(`/usr/bin/top -d 1 | sed -n 1p | tr -d ,`); echo "Load:${upt[5]} ${upt[6]} ${upt[7]}" >>$ssfwb; /usr/bin/top -d 3 0 | sed -n 18,20p >>$ssfwb; /bin/df -k >>$ssfwb; # check to see how many fs's are mounted and grab a cumlative total of free. # blocks. Ideally I would like to break it up for local and nfs but not now. hdf=(`/bin/df -k`); let hdc="${hdf[10]}"+"${hdf[16]}"+"${hdf[22]}"; echo "Blocks Available: $hdc" >>$ssfwb && chmod 600 $ssfwb; if [ $test -eq "0" ]; then cp $ssfwb $ssss && chmod 600 $ssss && chflags schg $ssss; test=1; fi; _cycle_state; } #----------------------------------------# _cycle_state () { # This gives us our intial numbers and keeps/logs them. Test will # return to its "0" state whenever records are sent out. if [ $test0 -eq "0" ]; then load[2]=`sed -n 2p $ssss| awk '{print $2}'`; cpu[2]=`grep CPU $ssss| awk '{print $11}'`; #mem[2]=`grep Mem $ssss| awk '{print $11}'`; hd[2]=`grep Available $ssss | awk '{print $3}'`; test0=1; fi # This parses the files created by the other functions and cycles them. load[1]=${load[0]} load[0]=`sed -n 2p $ssfwb | awk '{print $2}'` load[3]=$tload cpu[1]=${cpu[0]} cpu[0]=`grep CPU $ssfwb | awk '{print $11}'` cpu[3]=$tcpu # check to see if we are grabbing the right thing. checkmem=(`grep Mem $ssfwb`) ct=${#checkmem[*]} let trumem=$ct-2 mem[0]=${checkmem[$trumem]} mem[1]=${mem[0]} mem[3]=$tmem hd[1]=${hd[0]} hd[0]=`grep Available $ssfwb| awk '{print $3}'` hd[3]=$thd _monitor_state } #---------------------------------------------------------------------# # GUI! <- well not really _monitor_state () { quit=0; roll=`/bin/date "+%y.%m.%d% %H:%M:%S"` yu=("[current]" "[last]" "[start]" "[threshold]") while [ $quit=0 ]; do clear; echo " =====================================================[ Spike V0.1b ]====== Program start: $date Last refreshed: $roll =========================================================================== ${yu[0]} ${yu[1]} ${yu[2]} ${yu[3]} --------------------------------------------------------------------------- System load: ${load[0]} ${load[1]} ${load[2]} ${load[3]} CPU(idle): ${cpu[0]} ${cpu[1]} ${cpu[2]} ${cpu[3]} Memory(free): ${mem[0]} ${mem[1]} ${mem[2]} ${mem[3]} FS(free blks): ${hd[0]} ${hd[1]} ${hd[2]} ${hd[3]} Active users and process distribution: ---------------------------------------------------------------------------" echo -n "(^C for options - ^X to exit)" _usr_state done; } #---------------------------------------------------------------------# # Called by trap. Breaks while loop in _monitor_state. _menu_state () { clear; echo "-------(Options)------" echo echo "1) Mail Current record" echo "2) Modify thresholds" echo "3) Details on users" echo "4) Manage processes" echo "5) Return to output" echo "6) Leave Program" echo -n "=> " read opt case $opt in 5) echo "Returning to output..";; 6) echo "Exiting!"; exit 1;; *) echo "Invalid";; esac } ######################################### # Main # ######################################### # Check config file and setup variables. tload=50% tcpu=60% tmem=50% thd=10% # Resets test=0 test0=0 ssfwb=spike.dcm ssss=spike.start usf0=spike.user date=`/bin/date "+%y.%m.%d% %H:%M:%S"` echo "Please Wait.." _usr_state --------------34C5FC0818788A40CBD56F0D-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 8:12:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from merchandisewholesale.com (ci392057-b.ruthfd1.tn.home.com [24.15.72.99]) by hub.freebsd.org (Postfix) with SMTP id EA88337B622 for ; Fri, 27 Apr 2001 08:12:18 -0700 (PDT) (envelope-from cs@merchandisewholesale.com) From: "Merchandise WholeSale" To: Subject: Grand Opening Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Date: Fri, 27 Apr 2001 10:06:51 -0700 Reply-To: "Merchandise WholeSale" Content-Transfer-Encoding: 8bit Message-Id: <20010427151218.EA88337B622@hub.freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG First off I would like to Thank You for taking time to read this letter. Second of all your e-mail address was pulled from an on-line source. This is the only & last message you'll receive from us, so you don't have to worry about an unsubscribe list or spam. Nor will we give your e-mail out to any one else. I'd like to stop, and tell you about a new ON-LINE Retail store. Merchandise Wholesale, a retail store that has over 2,000 products for home,travel,jewelry,personal needs etc... Please take time out when you have it to browse our ON-LINE directory at http://www.merchandisewholesale.com Click on any images of the item to enlarge. Our site is always under constant change for the better. Thanks for your precious time, HTTP://MERCHANDISEWHOLESALE.COM promotions@merchandisewholesale.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 8:26:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id 2409E37B422 for ; Fri, 27 Apr 2001 08:26:25 -0700 (PDT) (envelope-from keichii@peorth.iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id 46277594B5; Fri, 27 Apr 2001 10:26:23 -0500 (CDT) Date: Fri, 27 Apr 2001 10:26:23 -0500 From: "Michael C . Wu" To: Andrew Hesford Cc: "Michael C . Wu" , Remy Nonnenmacher , jgowdy@home.com, freebsd-hackers@FreeBSD.ORG Subject: Re: x86-64 Hammer and IA64 Itainium Message-ID: <20010427102622.D88522@peorth.iteration.net> Reply-To: "Michael C . Wu" Mail-Followup-To: "Michael C . Wu" , Andrew Hesford , Remy Nonnenmacher , jgowdy@home.com, freebsd-hackers@FreeBSD.ORG References: <20010417205711.C64757@cec.wustl.edu> <200104181422.f3IELwC11439@luxren2.boostworks.com> <20010426180836.C88522@peorth.iteration.net> <20010426192352.A2341@cec.wustl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010426192352.A2341@cec.wustl.edu>; from ajh3@chmod.ath.cx on Thu, Apr 26, 2001 at 07:23:52PM -0500 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 07:23:52PM -0500, Andrew Hesford scribbled: | On Thu, Apr 26, 2001 at 06:08:36PM -0500, Michael C . Wu wrote: | The future isn't FPGAs; it's GaAs BJT circuitry, designed and built by | the guys who have money to set up a fab and roll out millions of chips. | It will be a long, long time before anything changes about how we get | our chips; the only thing that will change is how they are made. I have been hearing about GaAs since the beginning of my college career. One chemistry professor put it rather well, "Gallium Arsenide based semiconductors are considered the future of semiconductors, and always will be the future of semiconductors." | > Please make Altera/Xilinx make their FPGA programming software | > freely available. | Ugh. I think we need a better solution than the Xilinx software. It's | absolutely horrible. They should stick to electronics and leave the | software design to those who know what they're doing. Hahahaha....:) -- +-----------------------------------------------------------+ | keichii@iteration.net | keichii@freebsd.org | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +-----------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 8:29:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id 00CCD37B422 for ; Fri, 27 Apr 2001 08:29:45 -0700 (PDT) (envelope-from keichii@peorth.iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id 1C394594B5; Fri, 27 Apr 2001 10:29:43 -0500 (CDT) Date: Fri, 27 Apr 2001 10:29:42 -0500 From: "Michael C . Wu" To: freebsd-hackers@FreeBSD.ORG Cc: Jeremiah Gowdy Subject: Re: x86-64 Hammer and IA64 Itainium Message-ID: <20010427102942.E88522@peorth.iteration.net> Reply-To: "Michael C . Wu" Mail-Followup-To: "Michael C . Wu" , freebsd-hackers@FreeBSD.ORG, Jeremiah Gowdy References: <200104171836.LAA06378@akira.lanfear.com> <000001c0c777$f9529b30$215778d8@cx443070b> <20010426175906.B88522@peorth.iteration.net> <20010426185127.A38407@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010426185127.A38407@dragon.nuxi.com>; from TrimYourCc@NUXI.com on Thu, Apr 26, 2001 at 06:51:27PM -0700 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 06:51:27PM -0700, David O'Brien scribbled: | On Thu, Apr 26, 2001 at 05:59:06PM -0500, Michael C . Wu wrote: | > IIRC, KA-64 does not even have an emulator yet. | | Are you making a distinction between emulator and simulator? Such that | SimNow! and VirtuHammer don't fall into what you are speaking of? Yes, in some parts of the industry, we distinguish it based upon how much of the processor it emulates/simulates. One is considered to only do parts of the CPU, the other being what you have right now. -- +-----------------------------------------------------------+ | keichii@iteration.net | keichii@freebsd.org | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +-----------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 8:32:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id 8ABE937B422 for ; Fri, 27 Apr 2001 08:32:54 -0700 (PDT) (envelope-from keichii@peorth.iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id BCC7E594B5; Fri, 27 Apr 2001 10:32:52 -0500 (CDT) Date: Fri, 27 Apr 2001 10:32:52 -0500 From: "Michael C . Wu" To: Sergey Babkin Cc: Jeremiah Gowdy , freebsd-hackers@FreeBSD.ORG Subject: Re: x86-64 Hammer and IA64 Itainium Message-ID: <20010427103252.F88522@peorth.iteration.net> Reply-To: "Michael C . Wu" Mail-Followup-To: "Michael C . Wu" , Sergey Babkin , Jeremiah Gowdy , freebsd-hackers@FreeBSD.ORG References: <200104171836.LAA06378@akira.lanfear.com> <000001c0c777$f9529b30$215778d8@cx443070b> <20010426175906.B88522@peorth.iteration.net> <3AE8D4DC.E0E35042@bellatlantic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AE8D4DC.E0E35042@bellatlantic.net>; from babkin@bellatlantic.net on Thu, Apr 26, 2001 at 10:09:32PM -0400 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 10:09:32PM -0400, Sergey Babkin scribbled: | "Michael C . Wu" wrote: | > | > With the branch prediction, cache tracing, and EPIC instructions, | > you really want to use an ILP compiler. Without a compiler that | > can decide on good ways to output binaries that run with all the IA-64 | > innovations^Wreinvention-of-the-wheels. Correcting my unclear and grammatrical incorrect sentence: "Without a compiler that can decide on better ways to output binaries using all of the features of IA-64 CPU's, you really miss the point of using IA-64." | Anothing interesting point is that the optimisation for IA-64 | seems to be highly processor-specific: the code optimized for | Itanium won't be optimal for McKinley and vice versa. I've heard | an estimation of about 1.5 times speed increase due to the | model-specific optimisation. You are asking a *lot* from the computer architects. :) If we can solve the issue of compatibility without inhibiting performance, we'd be REALLY rich now..... -- +-----------------------------------------------------------+ | keichii@iteration.net | keichii@freebsd.org | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +-----------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 8:47:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id 266B837B423 for ; Fri, 27 Apr 2001 08:47:11 -0700 (PDT) (envelope-from keichii@peorth.iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id 1211C594B5; Fri, 27 Apr 2001 10:47:03 -0500 (CDT) Date: Fri, 27 Apr 2001 10:47:03 -0500 From: "Michael C . Wu" To: Remy Nonnenmacher Cc: keichii@iteration.net, ajh3@chmod.ath.cx, jgowdy@home.com, freebsd-hackers@FreeBSD.ORG Subject: Re: x86-64 Hammer and IA64 Itainium Message-ID: <20010427104703.G88522@peorth.iteration.net> Reply-To: "Michael C . Wu" Mail-Followup-To: "Michael C . Wu" , Remy Nonnenmacher , ajh3@chmod.ath.cx, jgowdy@home.com, freebsd-hackers@FreeBSD.ORG References: <20010426180836.C88522@peorth.iteration.net> <200104271108.f3RB81C63528@luxren2.boostworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104271108.f3RB81C63528@luxren2.boostworks.com>; from remy@boostworks.com on Fri, Apr 27, 2001 at 01:10:21PM +0200 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 27, 2001 at 01:10:21PM +0200, Remy Nonnenmacher scribbled: | On 26 Apr, Michael C . Wu wrote: | > On Wed, Apr 18, 2001 at 04:24:18PM +0200, Remy Nonnenmacher scribbled: | > | On 17 Apr, Andrew Hesford wrote: | > | > On Tue, Apr 17, 2001 at 12:49:04PM -0700, Jeremiah Gowdy wrote: | I do not doubt that IA64 will be a great think. by 'x86' I meant the | current Pentium architecture that embbed (and is slowed down by) tons of | gates just to handle old 8086 binary compatibility. IA64 do not need to. I can picture this feeding another generation of programmers all porting x86 software to IA-64........ | > | and a bunch of ARMs for low-level I/O tasks. Back to imagination. (Take | > | a look at 0.15um copper process FPGAs with embeded ARM at Altera, for | > | example, and you will see why no one, in the futur, will never ever need | > | a proprietary and undocumented 'server class' SCSI or network card). | > | > Please make Altera/Xilinx make their FPGA programming software | > freely available. | > | | I do not know about Xilinx but Altera does (to the extension that you | get stuck with their components). Even evaluation boards are getting | cheaper and cheaper. My point is that system software is getting close | to it's maximum efficiency with existing hardware. Each performance | step will require bigger and bigger rework of the whole code. In the | mean time, either we sit down and wait for better CPUs or hope that a | electronic design engineer read the code and start designing | really helpfull devices (remember: Digital is dead!), either we (as | software writers) start entering the programmable hardware world. .... You've just ruined any real reason for me to continue my education as a computer architecture student.... :P "Let all the computer scientists design the CPU and hope that they take into account the electromagnetic effects!!" | Take a look at device drivers in the kernel. You will find a lot of | pesting in the comments about this or that that require copying, | zeroing, duplicating, aligning, etc... All this resulting in CPU | correcting ill behaviors. | | Now imagine you get a fully programmable add-on card. If something get | wrong, the device driver writer can fix it and not just put hacks to | handle this or this revision of a chip. Even further, computation part | of the DD can be pushed onto the card. Imagine a NIC pushing you mbufs, | pcb entries, etc... You will also not have to wait for the good willing | of XYZ company to release documentation or seeing a version of a chip | being phased out in favor of the new super-one released only with an | opaque Windows driver. Can you picture the difficulty of writing drivers for these devices that do so many specific things? I am sure Bill Paul, Mike Smith, et al. will be so thrilled to read thousands of pages of documentation to write one driver..... Engineering is about K.I.S.S., not making it very complicated for everyone involved. | > | It would be really interesting to have a server-class FreeBSD SMPng | > | version and, in conjonction, an highly portable and small Pico-bsd like | > | one to animate the embeded processors. | > | > Please define "server-class" SMPng :) | | "An SMP version having a computational power curve as close as possible | of the Y=X line, where X is the number of processors" | | (Note that it is easier (to some limits) as the number of process | increases but is really difficult when not.) | | > You do realize that, in the embedded systems world, sometimes | > we use SMP, right? For example, multiple DSP ASIC's in the same | > router..... | | Hum... "Symetric" MP ? You sure ? ;). Yes, we use Symmetric MP in DSP applications like sonar signal processing. There is no reason that a core router at MAE-West cannot have SMP DSP chips doing any given single fiberoptic line. -- +-----------------------------------------------------------+ | keichii@iteration.net | keichii@freebsd.org | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +-----------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 10:36:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dualcpus.com (dualcpus.com [65.160.20.195]) by hub.freebsd.org (Postfix) with SMTP id 6D35137B422 for ; Fri, 27 Apr 2001 10:36:15 -0700 (PDT) (envelope-from jgowdy@home.com) Received: (qmail 37204 invoked from network); 27 Apr 2001 17:36:08 -0000 Received: from sherline.cts.com (HELO britney) (204.216.163.132) by dualcpus.com with SMTP; 27 Apr 2001 17:36:08 -0000 Message-ID: <001301c0cf40$8a492580$015778d8@sherline.net> From: "Jeremiah Gowdy" To: Cc: "Michael C . Wu" , References: <200104171836.LAA06378@akira.lanfear.com> <000001c0c777$f9529b30$215778d8@cx443070b> <20010426175906.B88522@peorth.iteration.net> <003101c0cec7$61695280$aa240018@cx443070b> <20010427050818.A74678@dragon.nuxi.com> Subject: Re: x86-64 Hammer and IA64 Itainium Date: Fri, 27 Apr 2001 10:36:05 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: "David O'Brien" To: "Jeremiah Gowdy" Cc: "Michael C . Wu" ; Sent: Friday, April 27, 2001 5:08 AM Subject: Re: x86-64 Hammer and IA64 Itainium > On Thu, Apr 26, 2001 at 08:08:48PM -0700, Jeremiah Gowdy wrote: > > > > What's KA-64 ? > > AMD internal name for the x86-64. > Cool. /me updates his vocab. /me realizes he's not on IRC. > -- > -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 11: 3:32 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sabre.velocet.net (sabre.velocet.net [198.96.118.66]) by hub.freebsd.org (Postfix) with ESMTP id 3D07337B423; Fri, 27 Apr 2001 11:03:27 -0700 (PDT) (envelope-from dgilbert@office.tor.velocet.net) Received: from office.tor.velocet.net (trooper.velocet.net [204.138.45.2]) by sabre.velocet.net (Postfix) with ESMTP id 1D6D9137F29; Fri, 27 Apr 2001 14:03:23 -0400 (EDT) Received: (from dgilbert@localhost) by office.tor.velocet.net (8.11.2/8.9.3) id f3RI3ML78519; Fri, 27 Apr 2001 14:03:22 -0400 (EDT) (envelope-from dgilbert) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15081.46186.369522.57295@trooper.velocet.net> Date: Fri, 27 Apr 2001 14:03:22 -0400 (EDT) To: freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Subject: State of apm, etc? X-Mailer: VM 6.75 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Under 4.3, apm works ... after a fashion on my Fujitsu lifebook. Suspend and resume work and the battery status is available. I also find that the non-cardbus pccards work, after a fashion. There are interactions, though. One particularly gnawing one is that pccards cease to work after a resume. This is regardless of their state beforehand. I can, for instance, boot the computer, suspend, resume and then insert a pccard... and it will not work. Its as if the interrupts are not connected. I recently upgraded the laptop to current using an extra disk I had laying around. This was somewhat of an adventure, but I have nothing particularly to complain about ... since the hint of using make -k a few times gets me there eventually. We all understand that this is not supposed to be clean. However, there is a significant degradation in the performance of pccards. Like before, pccards don't work after a suspend. They get recognised and added post-resume, but traffic doesn't appear to flow. This is true both for my ethernet (3com 3cxfe57) and my compact flash (San disk). The sound card also doesn't seem to work after a resume ... which is similar to 4.3. This is all after enabling apm in /boot/kernel.hints Unlike before, ejecting the 3com card locks up the system reliably. Inserting the 3com card can lock up the system, but sometimes reinserting it will unwedge things. I'm willing to track this down, but don't know where to start on apm issues. Is one of you significantly versed on apm to give me some starting points? Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 13:38:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.musha.org (daemon.musha.org [61.122.44.178]) by hub.freebsd.org (Postfix) with ESMTP id C353D37B422 for ; Fri, 27 Apr 2001 13:38:21 -0700 (PDT) (envelope-from knu@iDaemons.org) Received: from archon.local.idaemons.org (archon.local.idaemons.org [192.168.1.32]) by mail.musha.org (Postfix) with ESMTP id 8A95E4DF22 for ; Sat, 28 Apr 2001 05:38:20 +0900 (JST) Date: Sat, 28 Apr 2001 05:38:20 +0900 Message-ID: <86zod213k3.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: hackers@FreeBSD.org Subject: kern/26705 In-Reply-To: <200104191453.f3JErb999480@freefall.freebsd.org> References: <200104191453.f3JErb999480@freefall.freebsd.org> User-Agent: Wanderlust/2.5.4 (Smooth) SEMI/1.14.2 (=?ISO-8859-1?Q?Daish=F2?= =?ISO-8859-1?Q?ji?=) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.2 - =?ISO-8859-1?Q?=22Daish=F2ji=22?=) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Please review the following patch. The previous fix against uthread_fork.c, pointed out by PR#25110, fixed the P_ALTSTACK problem, but it was not quite correct. The originator of PR#26705 claims that the problem is rooted in a bug of fork(2) regarding the alternate signal stack. See those PR's and follow the links in them for details. I'm really happy with the patch and have seen no problem yet, so I'd like to commit it unless someone finds any problem. Regards, Index: lib/libc_r/uthread/uthread_fork.c =================================================================== RCS file: /home/ncvs/src/lib/libc_r/uthread/uthread_fork.c,v retrieving revision 1.24 diff -u -r1.24 uthread_fork.c --- lib/libc_r/uthread/uthread_fork.c 2001/04/18 12:40:30 1.24 +++ lib/libc_r/uthread/uthread_fork.c 2001/04/19 12:01:42 @@ -32,7 +32,6 @@ * $FreeBSD: src/lib/libc_r/uthread/uthread_fork.c,v 1.24 2001/04/18 12:40:30 deischen Exp $ */ #include -#include #include #include #include @@ -113,16 +112,7 @@ else if (_pq_init(&_readyq) != 0) { /* Abort this application: */ PANIC("Cannot initialize priority ready queue."); - } else if ((_thread_sigstack.ss_sp == NULL) && - ((_thread_sigstack.ss_sp = malloc(SIGSTKSZ)) == NULL)) - PANIC("Unable to allocate alternate signal stack"); - else { - /* Install the alternate signal stack: */ - _thread_sigstack.ss_size = SIGSTKSZ; - _thread_sigstack.ss_flags = 0; - if (__sys_sigaltstack(&_thread_sigstack, NULL) != 0) - PANIC("Unable to install alternate signal stack"); - + } else { /* * Enter a loop to remove all threads other than * the running thread from the thread list: Index: sys/kern/kern_fork.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_fork.c,v retrieving revision 1.110 diff -u -r1.110 kern_fork.c --- sys/kern/kern_fork.c 2001/03/28 11:52:53 1.110 +++ sys/kern/kern_fork.c 2001/04/19 10:50:35 @@ -495,7 +495,7 @@ * Preserve some more flags in subprocess. PS_PROFIL has already * been preserved. */ - p2->p_flag |= p1->p_flag & P_SUGID; + p2->p_flag |= p1->p_flag & (P_SUGID | P_ALTSTACK); if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT) p2->p_flag |= P_CONTROLT; if (flags & RFPPWAIT) Index: sys/kern/kern_sig.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_sig.c,v retrieving revision 1.115 diff -u -r1.115 kern_sig.c --- sys/kern/kern_sig.c 2001/04/12 02:38:07 1.115 +++ sys/kern/kern_sig.c 2001/04/19 10:50:35 @@ -464,6 +464,7 @@ p->p_sigstk.ss_flags = SS_DISABLE; p->p_sigstk.ss_size = 0; p->p_sigstk.ss_sp = 0; + p->p_flag &= ~P_ALTSTACK; /* * Reset no zombies if child dies flag as Solaris does. */ -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Freeze this moment a little bit longer, make each impression a little bit stronger.. Experience slips away -- Time stand still" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 14:23:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from guild.plethora.net (guild.plethora.net [205.166.146.8]) by hub.freebsd.org (Postfix) with ESMTP id F2C9E37B422 for ; Fri, 27 Apr 2001 14:23:41 -0700 (PDT) (envelope-from seebs@guild.plethora.net) Received: from guild.plethora.net (seebs@localhost.plethora.net [127.0.0.1]) by guild.plethora.net (8.10.1/8.10.1) with ESMTP id f3RLNYN02117 for ; Fri, 27 Apr 2001 16:23:35 -0500 (CDT) Message-Id: <200104272123.f3RLNYN02117@guild.plethora.net> From: seebs@plethora.net (Peter Seebach) Reply-To: seebs@plethora.net (Peter Seebach) To: hackers@freebsd.org Subject: Re: gcc -O bug In-reply-to: Your message of "Thu, 26 Apr 2001 18:44:46 EDT." <5.0.2.1.0.20010426184129.034e8090@mail.etinc.com> Date: Fri, 27 Apr 2001 16:23:34 -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <5.0.2.1.0.20010426184129.034e8090@mail.etinc.com>, Dennis writes: >At 05:51 PM 04/26/2001, Peter Seebach wrote: >>(Go ahead, dismiss me as being unfairly biased against C.) >Done. Like I said, its not worthy of debate. Wow. I think that pretty much summarizes your knowledge of the situation. :) -s p.s.: If you don't know why this is funny, go ahead and ask. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 15: 4:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from softweyr.com (mail.dobox.com [208.187.122.44]) by hub.freebsd.org (Postfix) with ESMTP id DE07437B423; Fri, 27 Apr 2001 15:04:40 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from localhost ([127.0.0.1] helo=softweyr.com ident=c53d3939349e544b6195ceda84bd7a6b) by softweyr.com with esmtp (Exim 3.16 #1) id 14soUS-0000V3-00; Thu, 26 Apr 2001 10:19:36 -0600 Message-ID: <3AE84A97.AFC183EB@softweyr.com> Date: Thu, 26 Apr 2001 10:19:36 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Doug Young Cc: =?iso-8859-1?Q?Jes=FAs=20Arn=E1iz?= , questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: VPN References: <039501c0ce26$fccdaab0$0400a8c0@oracle> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Young wrote: > > I've just been going through this stuff for the past week. > None of the things come with adequate documentation > so you need to rely heavily on mailing list support. > Thankfully a few people have been giving me > some assistance but looks like at least few days more > messing around will be involved before its working.. I certainly hope you're keeping careful notes, preparing to write that FreeBSD Handbook section once you're done. Hint hint. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 15:24: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from p.intothewind.cx (adsl-141-157-91-97.baltmd.adsl.bellatlantic.net [141.157.91.97]) by hub.freebsd.org (Postfix) with ESMTP id 4AD8937B423; Fri, 27 Apr 2001 15:23:53 -0700 (PDT) (envelope-from patrick@p.intothewind.cx) Received: (from patrick@localhost) by p.intothewind.cx (8.11.3/8.11.3) id f3RL4Af35057; Fri, 27 Apr 2001 17:04:10 -0400 (EDT) (envelope-from patrick) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3AE85967.D47E7A0C@bigpond.com> Date: Fri, 27 Apr 2001 17:04:09 -0400 (EDT) From: "Patrick S. Gardella" To: Shaun Dwyer Subject: RE: LCD driver port (Linux -> FreeBSD) needed for car-mp3 player Cc: tdwyer@bigpond.com, freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Shaun, I looked at the Cajun pages. Very nice little box! As far as the LCD, you don't need a "driver" for it, since it uses either a serial port interface or and i2c interface. For the serial port, you can use whatever language you want to connect to it and talk to it. (Assuming you are referring to the Matrix Orbital LCDs mentioned on that page.) Patrick On 26-Apr-01 Shaun Dwyer wrote: > Hi everyone.. > > I have a PC in the boot of my car running Linux (yuck!!!!) to play mp3s. > I would love to use FreeBSD instead of Linux for many reasons. > The only thing stopping me using FreeBSD is the lack of a driver in the > style > implemented for Linux (provides a /dev/lcd that u just throw data at). > > The reason I need this driver to be ported is so I can use Cajun > (cajun.sourceforge.net) > with little or no modifications on FreeBSD. > > If I knew C, i would port the driver myself, and If i knew perl, I would > mod > cajun to use /usr/share/examples/ppi/ppilcd.c's stuff. > > The linux driver is available at: > http://www4.infi.net/~cpinkham/cajun/code/lcd-0.2c.tar.gz > > If you want to see some photos and a bit of a description of my mp3 > player, goto > http://members.nbci.com/mp3zeus/ > > BTW, please email me directly, as I am not subscribed to the mailing > list. > > Thanks in advance, > > Shaun > > > -- > ---------------------- > Shaun Dwyer > sldwyer@bigpond.com > ---------------------- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message Patrick ---------- Patrick Gardella patrick@freebsd.org The Power to Serve shall not be infringed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 15:27:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 1C05837B422; Fri, 27 Apr 2001 15:27:09 -0700 (PDT) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id SAA05075; Fri, 27 Apr 2001 18:27:42 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.2.1.0.20010427174630.031a1450@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Fri, 27 Apr 2001 17:50:01 -0400 To: "Mark Sergeant" , Julian Elischer From: Dennis Subject: Re: BSDI and Marketing 101 Cc: obrien@FreeBSD.ORG, hackers@FreeBSD.ORG In-Reply-To: <200104270506.f3R565X02949@xyzzy.intranet.snsonline.net> References: <3AE8F9F8.72FF174F@elischer.org> <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> <5.0.2.1.0.20010426195703.03222e50@mail.etinc.com> <3AE8F9F8.72FF174F@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 01:06 AM 04/27/2001, Mark Sergeant wrote: >Then again you could also download an iso of 4.3 for free, go to BSD Mall and >get a 4 CD set for 39.95 etc. The thing you pay for when you are buying these >box sets is usually the manual, some also include a certain amount of >telephone >support etc. So while one may be 29.95 and the other another 100 dollars more >you may not get a book / as good a book with the 29.95 version. Also you >may or >may not get phone support etc with the one you pay 100 for, I know many >companies that would pay 129.95 for an OS that you get a book, support n cd's >for, hell I know companies that buy Windows 98 / 2000 :P I guess you missed the POINT, which was that mandrake was selling the same LINUX functionality for < $30.??? You dont get your foot in the door for $129. All you get is a return from the bookstore in 6 months. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 15:30:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id E4C3337B423; Fri, 27 Apr 2001 15:30:41 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3RMUaW10678; Fri, 27 Apr 2001 15:30:36 -0700 (PDT) Date: Fri, 27 Apr 2001 15:30:35 -0700 From: Alfred Perlstein To: Dennis Cc: Mark Sergeant , Julian Elischer , obrien@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: this thread is offtopic (was Re: BSDI and Marketing 101) Message-ID: <20010427153033.I18676@fw.wintelcom.net> References: <3AE8F9F8.72FF174F@elischer.org> <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> <5.0.2.1.0.20010426195703.03222e50@mail.etinc.com> <3AE8F9F8.72FF174F@elischer.org> <200104270506.f3R565X02949@xyzzy.intranet.snsonline.net> <5.0.2.1.0.20010427174630.031a1450@mail.etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.2.1.0.20010427174630.031a1450@mail.etinc.com>; from dennis@etinc.com on Fri, Apr 27, 2001 at 05:50:01PM -0400 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Dennis [010427 15:27] wrote: > At 01:06 AM 04/27/2001, Mark Sergeant wrote: > >Then again you could also download an iso of 4.3 for free, go to BSD Mall and > >get a 4 CD set for 39.95 etc. The thing you pay for when you are buying these > >box sets is usually the manual, some also include a certain amount of > >telephone > >support etc. So while one may be 29.95 and the other another 100 dollars more > >you may not get a book / as good a book with the 29.95 version. Also you > >may or > >may not get phone support etc with the one you pay 100 for, I know many > >companies that would pay 129.95 for an OS that you get a book, support n cd's > >for, hell I know companies that buy Windows 98 / 2000 :P > > I guess you missed the POINT, which was that mandrake was selling the same > LINUX functionality for < $30.??? You dont get your foot in the door for > $129. All you get is a return from the bookstore in 6 months. This doesn't belong on -hackers. Please take this discussion elsewhere. -- -Alfred Perlstein - [alfred@freebsd.org] Represent yourself, show up at BABUG http://www.babug.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 15:31: 2 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from et-gw.etinc.com (et-gw.etinc.com [207.252.1.2]) by hub.freebsd.org (Postfix) with ESMTP id C070A37B424 for ; Fri, 27 Apr 2001 15:30:57 -0700 (PDT) (envelope-from dennis@etinc.com) Received: from dbsys.etinc.com (dbsys.etinc.com [207.252.1.18]) by et-gw.etinc.com (8.9.3/8.9.3) with ESMTP id SAA05110; Fri, 27 Apr 2001 18:31:36 GMT (envelope-from dennis@etinc.com) Message-Id: <5.0.2.1.0.20010427174126.0319c890@mail.etinc.com> X-Sender: dennis@mail.etinc.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Fri, 27 Apr 2001 17:53:56 -0400 To: seebs@plethora.net (Peter Seebach) From: Dennis Subject: Re: gcc -O bug Cc: hackers@FreeBSD.ORG In-Reply-To: <200104272123.f3RLNYN02117@guild.plethora.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 05:23 PM 04/27/2001, you wrote: >In message <5.0.2.1.0.20010426184129.034e8090@mail.etinc.com>, Dennis writes: > >At 05:51 PM 04/26/2001, Peter Seebach wrote: > >>(Go ahead, dismiss me as being unfairly biased against C.) > > >Done. Like I said, its not worthy of debate. > >Wow. I think that pretty much summarizes your knowledge of the situation. > >:) Retards often have silly grins... Shall we debate that the Ford Taurus is better than an S500 next? Some things you dont need to justify. If you dont know it, you are just a dope. DB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 15:40:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from roma.coe.ufrj.br (roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (Postfix) with ESMTP id F387037B423; Fri, 27 Apr 2001 15:40:29 -0700 (PDT) (envelope-from jonny@jonny.eng.br) Received: (from jonny@localhost) by roma.coe.ufrj.br (8.11.3/8.11.3) id f3RMeNe18795; Fri, 27 Apr 2001 19:40:23 -0300 (BRT) (envelope-from jonny) From: Joao Carlos Mendes Luis Date: Fri, 27 Apr 2001 19:40:22 -0300 To: hackers@freebsd.org, stable@freebsd.org Subject: Trouble with 4.3-RELEASE compiler Message-ID: <20010427194022.A18639@roma.coe.ufrj.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i X-Quote: What are you looking for in my mail headers ? X-Operating-System: FreeBSD X-URL: http://www.jonny.eng.br Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I was installing a squid server with 4.3-RELEASE, and found that FreeBSD has now a bug in the compiler that affects squid. The default compilation of squid is with CFLAGS=-g -O2 -Wall, and this setup triggers the bug. I've left a trimmed down copy of the problem files at ftp://ftp.jonny.eng.br/hidden/jonny/trouble.tgz, compile it with gcc -g -O2 -Wall teste.c rfc1035.c, and see the bug happening. Remove the -O2 or change it for -O, and see it going away. Should this be a reason to roll back the compiler to version 2.95.2, as it was before Tue Apr 10 19:23:19 2001 UTC, when it changed to 2.95.3? What to do with the upcoming CDs? Jonny -- João Carlos Mendes Luís jonny@jonny.eng.br Networking Engineer jcml@ieee.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 17:13:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id BCAEE37B422 for ; Fri, 27 Apr 2001 17:13:53 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f3S0DpL15587; Fri, 27 Apr 2001 17:13:51 -0700 (PDT) (envelope-from obrien) Date: Fri, 27 Apr 2001 17:13:50 -0700 From: "David O'Brien" To: Dennis Cc: hackers@FreeBSD.ORG Subject: Re: BSDI and Marketing 101 Message-ID: <20010427171350.A15541@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <3AE8F9F8.72FF174F@elischer.org> <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> <5.0.2.1.0.20010426185733.023fbec0@mail.etinc.com> <5.0.2.1.0.20010426195703.03222e50@mail.etinc.com> <3AE8F9F8.72FF174F@elischer.org> <200104270506.f3R565X02949@xyzzy.intranet.snsonline.net> <5.0.2.1.0.20010427174630.031a1450@mail.etinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.2.1.0.20010427174630.031a1450@mail.etinc.com>; from dennis@etinc.com on Fri, Apr 27, 2001 at 05:50:01PM -0400 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 27, 2001 at 05:50:01PM -0400, Dennis wrote: > I guess you missed the POINT, which was that mandrake was selling the same I guess you missed the POINT. I see you are conveniently totally ignoring the fact that the channel wants $129 items. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 17:16:11 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 7B09737B423; Fri, 27 Apr 2001 17:16:07 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f3S0FVT15601; Fri, 27 Apr 2001 17:15:31 -0700 (PDT) (envelope-from obrien) Date: Fri, 27 Apr 2001 17:15:31 -0700 From: "David O'Brien" To: Joao Carlos Mendes Luis Cc: hackers@freebsd.org, stable@freebsd.org Subject: Re: Trouble with 4.3-RELEASE compiler Message-ID: <20010427171531.B15541@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20010427194022.A18639@roma.coe.ufrj.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010427194022.A18639@roma.coe.ufrj.br>; from jonny@jonny.eng.br on Fri, Apr 27, 2001 at 07:40:22PM -0300 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 27, 2001 at 07:40:22PM -0300, Joao Carlos Mendes Luis wrote: > I was installing a squid server with 4.3-RELEASE, and found that > FreeBSD has now a bug in the compiler that affects squid. The default > compilation of squid is with CFLAGS=-g -O2 -Wall, and this setup > triggers the bug. ... > Should this be a reason to roll back the compiler to version > 2.95.2, as it was before Tue Apr 10 19:23:19 2001 UTC, when it > changed to 2.95.3? What to do with the upcoming CDs? No. It means the squid maintainer didn't do a proper job and make it so that the system CFLAGS were used. Granted most don't know to export CFLAGS to GNU configure when they run the configure script. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Fri Apr 27 22:35:39 2001 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 51F0D37B42C; Fri, 27 Apr 2001 22:35:36 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f3S5Z1U22529; Sat, 28 Apr 2001 07:35:01 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Dennis Cc: "Mark Sergeant" , Julian Elischer , obrien@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: BSDI and Marketing 101 In-Reply-To: Your message of "Fri, 27 Apr 2001 17:50:01 EDT." <5.0.2.1.0.20010427174630.031a1450@mail.etinc.com> Date: Sat, 28 Apr 2001 07:35:01 +0200 Message-ID: <22527.988436101@critter> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <5.0.2.1.0.20010427174630.031a1450@mail.etinc.com>, Dennis writes: >At 01:06 AM 04/27/2001, Mark Sergeant wrote: >I guess you missed the POINT, [...] And I have to hand that to you Dennis: when it comes to missing points you are the master... -- 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 Sat Apr 28 0:33:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 5FEF437B424 for ; Sat, 28 Apr 2001 00:33:11 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 984 invoked by uid 1000); 28 Apr 2001 07:31:21 -0000 Date: Sat, 28 Apr 2001 10:31:21 +0300 From: Peter Pentchev To: Joao Carlos Mendes Luis Cc: David O'Brien , hackers@freebsd.org, stable@freebsd.org Subject: Re: Trouble with 4.3-RELEASE compiler Message-ID: <20010428103121.D415@ringworld.oblivion.bg> Mail-Followup-To: Joao Carlos Mendes Luis , David O'Brien , hackers@freebsd.org, stable@freebsd.org References: <20010427194022.A18639@roma.coe.ufrj.br> <20010427171531.B15541@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010427171531.B15541@dragon.nuxi.com>; from obrien@freebsd.org on Fri, Apr 27, 2001 at 05:15:31PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 27, 2001 at 05:15:31PM -0700, David O'Brien wrote: > On Fri, Apr 27, 2001 at 07:40:22PM -0300, Joao Carlos Mendes Luis wrote: > > I was installing a squid server with 4.3-RELEASE, and found that > > FreeBSD has now a bug in the compiler that affects squid. The default > > compilation of squid is with CFLAGS=-g -O2 -Wall, and this setup > > triggers the bug. > ... > > Should this be a reason to roll back the compiler to version > > 2.95.2, as it was before Tue Apr 10 19:23:19 2001 UTC, when it > > changed to 2.95.3? What to do with the upcoming CDs? > > No. It means the squid maintainer didn't do a proper job and make it so > that the system CFLAGS were used. Granted most don't know to export > CFLAGS to GNU configure when they run the configure script. (directed more at the original poster, despite replying to David) The www/squid* ports do a great job of using the system CFLAGS. And yes, there is an explicit warning in /etc/defaults/make.conf (which you should read, before setting your system-wide CFLAGS in /etc/make.conf) that using -O2 can trigger bugs. So.. why did you not use the port? :) And yes, -O2 bugs in gcc are a known issue.. :( G'luck, Peter -- This sentence claims to be an Epimenides paradox, but it is lying. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Apr 28 7:42:28 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from w2xo.pgh.pa.us (18.gibs5.xdsl.nauticom.net [209.195.184.19]) by hub.freebsd.org (Postfix) with ESMTP id 6299037B424; Sat, 28 Apr 2001 07:42:12 -0700 (PDT) (envelope-from durham@w2xo.pgh.pa.us) Received: from shazam (shazam [192.168.5.3]) by w2xo.pgh.pa.us (8.11.2/8.9.3) with ESMTP id f3SEdlb11045; Sat, 28 Apr 2001 14:39:51 GMT (envelope-from durham@w2xo.pgh.pa.us) Date: Sat, 28 Apr 2001 10:47:18 -0400 (EDT) From: Jim Durham X-Sender: durham@shazam.int To: =?iso-8859-1?Q?Jes=FAs_Arn=E1iz?= Cc: questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: RV: VPN In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 26 Apr 2001, [iso-8859-1] Jes=FAs Arn=E1iz wrote: >=20 > I want to set VPN on my system, I see there is many programs created to d= o it. >=20 > Any advantages or disadvantages of using one or other?. What is better (i= s the first > time I set VPN on a UNIX system).? >=20 >=20 I am using two VPN systems. For GRE (Windows clients to a LAN), and one from LAN-to-LAN. LAN-to-LAN, vtund running PPP over it works fairly well. About the only shortcoming is that the "persist" option to re-establish connection in case of network failure gets confused in the face of many interruptions too close together. vtund is fairly well documented, so I won't include a config file example, but I can supply one if asked. I have found mpd to work very well for GRE. It uses the netgraph interface and this is automatically loaded as a kernel module. Here is a a config file example: Note that "pptp2, pptp3" , etc entries are necessary. You need as many "pptpx" entries in the config file as the number of simultaneous connections you allow. Note the only differences in the entries are the label, the address, and the logging line. ************************************************************************* default: =09load pptp1 =09load pptp2 =09load pptp3 pptp1: =09new -i ng0 pptp1 pptp1 =09set iface disable on-demand =09set iface enable proxy-arp =09set iface idle 1800 =09set bundle disable multilink =09set link yes acfcomp protocomp =09set link no pap chap =09set link enable chap =09set link keep-alive 10 60 =09set ipcp yes vjcomp =09set ipcp ranges 192.168.0.200/32 192.168.0.220/32 =09set ipcp dns 192.168.0.240 =09set ipcp nbns 192.168.0.244 =09log +pptp +pptp2 # If you wanted MPPE encryption and had ng_mppc(8)... =09set bundle enable compression =09set ccp yes mppc =09set ccp yes mpp-e40 =09set ccp yes mpp-e128 =09set bundle enable crypt-reqd =09set ccp yes mpp-stateless The changes for the second entry are only to these lines: pptp2: =09new -i ng1 pptp2 pptp2 =09set ipcp ranges 192.168.0.200/32 192.168.0.221/32 =09log +pptp +pptp2 hope this helps.. Jim Durham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Apr 28 8:17:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gradient.cis.upenn.edu (GRADIENT.CIS.UPENN.EDU [158.130.67.48]) by hub.freebsd.org (Postfix) with ESMTP id D8BB037B424; Sat, 28 Apr 2001 08:17:19 -0700 (PDT) (envelope-from agoodloe@gradient.cis.upenn.edu) Received: from localhost (localhost [127.0.0.1]) by gradient.cis.upenn.edu (8.10.1/8.10.1) with ESMTP id f3SFHIp16445; Sat, 28 Apr 2001 11:17:18 -0400 (EDT) Date: Sat, 28 Apr 2001 11:17:18 -0400 (EDT) From: Alwyn Goodloe To: freebsd-hackers@FreeBSD.org, freebs-questions@FreeBSD.org Subject: ftime & libcompat Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am porting an aplication to 4.1 that uses ftime. According to man I should be able to link with libcompat and get the library. For somereason this doesn't seem to work is the manual wrong. Alwyn Goodloe agoodloe@gradient.cis.upenn.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Apr 28 12:47:54 2001 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 39DEE37B422; Sat, 28 Apr 2001 12:47:51 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.11.3/8.11.3) id f3SJlmP22647; Sat, 28 Apr 2001 14:47:48 -0500 (CDT) (envelope-from dan) Date: Sat, 28 Apr 2001 14:47:48 -0500 From: Dan Nelson To: Alwyn Goodloe Cc: freebsd-hackers@FreeBSD.ORG, freebs-questions@FreeBSD.ORG Subject: Re: ftime & libcompat Message-ID: <20010428144747.B5802@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: ; from "Alwyn Goodloe" on Sat Apr 28 11:17:18 GMT 2001 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Apr 28), Alwyn Goodloe said: > I am porting an aplication to 4.1 that uses ftime. According to man I > should be able to link with libcompat and get the library. For somereason > this doesn't seem to work is the manual wrong. The manual is right: $nm /usr/lib/libcompat.a | grep ftime ftime.o: 00000000 T ftime "for some reason" you forgot to include your compile line and the error message you got. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Apr 28 21:18:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (w250.z064001178.sjc-ca.dsl.cnc.net [64.1.178.250]) by hub.freebsd.org (Postfix) with SMTP id C9E3C37B423 for ; Sat, 28 Apr 2001 21:18:30 -0700 (PDT) (envelope-from josb@cncdsl.com) Received: (qmail 65267 invoked by uid 1000); 29 Apr 2001 04:18:14 -0000 Date: Sat, 28 Apr 2001 21:17:52 -0700 From: Jos Backus To: freebsd-hackers@freebsd.org Subject: Port-related C++ question Message-ID: <20010428211752.E6731@lizzy.bugworks.com> Reply-To: Jos Backus Mail-Followup-To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Apologies if this is the wrong list for this type of question.] I am trying to create a port for a commandline-accessible database tool, but I am running into the following problem (on RELENG_4 as of today): ===> Building for dbtool-1.3 c++ -DPACKAGE=\"dbtool\" -DVERSION=\"1.3\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_LIBPCRE=1 -DHAVE_GETOPT=1 -DHAVE_FDOPEN=1 -DHAVE_FGETC=1 -DHAVE_GETENV=1 -DHAVE_BERKELEY=1 -I. -I. -I/usr/local/include/db3 -Wall -Wstrict-prototypes -O2 -c cmd.cc In file included from cmd.cc:22: dbtool.h:99: declaration of `__sF' as array of references gmake: *** [cmd.o] Error 1 *** Error code 2 /* * The Engine class will do all gdbm related stuff, i.e. * insert, search, create, remove and so on. * methods defined in engine.cc */ class Engine { private: void init(const Config& config); /* init() will be called from every member once */ #ifdef HAVE_BERKELEY Db *db; #else GDBM_FILE db; #endif string pkg; public: Engine() {;;}; void insert(const Config& config); void update(const Config& config); void remove(const Config& config); void select(const Config& config); void stdin(const Config& config); <-=== line 99 void dump(const Config& config); void regexp(const Config& config); }; Anyone have any ideas on how to fix this? Thanks, -- Jos Backus _/ _/_/_/ "Modularity is not a hack." _/ _/ _/ -- D. J. Bernstein _/ _/_/_/ _/ _/ _/ _/ josb@cncdsl.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 Sat Apr 28 21:33:15 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 1AE5B37B423 for ; Sat, 28 Apr 2001 21:33:14 -0700 (PDT) (envelope-from dima@unixfreak.org) Received: from spike.unixfreak.org (spike [63.198.170.139]) by bazooka.unixfreak.org (Postfix) with ESMTP id C81EF3E0B; Sat, 28 Apr 2001 21:33:13 -0700 (PDT) To: Jos Backus Cc: freebsd-hackers@freebsd.org Subject: Re: Port-related C++ question In-Reply-To: <20010428211752.E6731@lizzy.bugworks.com>; from josb@cncdsl.com on "Sat, 28 Apr 2001 21:17:52 -0700" Date: Sat, 28 Apr 2001 21:33:13 -0700 From: Dima Dorfman Message-Id: <20010429043313.C81EF3E0B@bazooka.unixfreak.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jos Backus writes: > void stdin(const Config& config); <-=== line 99 `stdin' is a global variable which, surprisingly enough, refers to the standard input stream. Don't name a function after it and your problem should go away. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Apr 28 23:15:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id BE3E337B424 for ; Sat, 28 Apr 2001 23:15:43 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f3T6FcR27799; Sun, 29 Apr 2001 00:15:39 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200104290615.f3T6FcR27799@harmony.village.org> To: Jos Backus Subject: Re: Port-related C++ question Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Sat, 28 Apr 2001 21:17:52 PDT." <20010428211752.E6731@lizzy.bugworks.com> References: <20010428211752.E6731@lizzy.bugworks.com> Date: Sun, 29 Apr 2001 00:15:38 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010428211752.E6731@lizzy.bugworks.com> Jos Backus writes: : dbtool.h:99: declaration of `__sF' as array of references : void stdin(const Config& config); <-=== line 99 stdin is #defined to be __sF[0]. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message From owner-freebsd-hackers Sat Apr 28 23:18:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (w250.z064001178.sjc-ca.dsl.cnc.net [64.1.178.250]) by hub.freebsd.org (Postfix) with SMTP id F402B37B423 for ; Sat, 28 Apr 2001 23:18:44 -0700 (PDT) (envelope-from josb@cncdsl.com) Received: (qmail 65839 invoked by uid 1000); 29 Apr 2001 06:18:29 -0000 Date: Sat, 28 Apr 2001 23:18:07 -0700 From: Jos Backus To: freebsd-hackers@freebsd.org Subject: Re: Port-related C++ question Message-ID: <20010428231807.G6731@lizzy.bugworks.com> Reply-To: Jos Backus Mail-Followup-To: freebsd-hackers@freebsd.org References: <20010428211752.E6731@lizzy.bugworks.com> <20010429043313.C81EF3E0B@bazooka.unixfreak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010429043313.C81EF3E0B@bazooka.unixfreak.org>; from dima@unixfreak.org on Sat, Apr 28, 2001 at 09:32:51PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Apr 28, 2001 at 09:32:51PM -0700, Dima Dorfman wrote: > Jos Backus writes: > > void stdin(const Config& config); <-=== line 99 > > `stdin' is a global variable which, surprisingly enough, refers to the > standard input stream. Don't name a function after it and your > problem should go away. Yeah, I am just puzzled as to how this can build at all on other platforms (Linux?), unless they don't define this variable. Thanks, -- Jos Backus _/ _/_/_/ "Modularity is not a hack." _/ _/ _/ -- D. J. Bernstein _/ _/_/_/ _/ _/ _/ _/ josb@cncdsl.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 Sat Apr 28 23:36:28 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 0E21537B422 for ; Sat, 28 Apr 2001 23:36:26 -0700 (PDT) (envelope-from dima@unixfreak.org) Received: from spike.unixfreak.org (spike [63.198.170.139]) by bazooka.unixfreak.org (Postfix) with ESMTP id 90F783E0B; Sat, 28 Apr 2001 23:36:25 -0700 (PDT) To: Jos Backus Cc: freebsd-hackers@freebsd.org Subject: Re: Port-related C++ question In-Reply-To: <20010428231807.G6731@lizzy.bugworks.com>; from josb@cncdsl.com on "Sat, 28 Apr 2001 23:18:07 -0700" Date: Sat, 28 Apr 2001 23:36:25 -0700 From: Dima Dorfman Message-Id: <20010429063625.90F783E0B@bazooka.unixfreak.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jos Backus writes: > On Sat, Apr 28, 2001 at 09:32:51PM -0700, Dima Dorfman wrote: > > Jos Backus writes: > > > void stdin(const Config& config); <-=== line 99 > > > > `stdin' is a global variable which, surprisingly enough, refers to the > > standard input stream. Don't name a function after it and your > > problem should go away. > > Yeah, I am just puzzled as to how this can build at all on other platforms > (Linux?), unless they don't define this variable. I don't know how other systems do it, but I can imagine that they could define `stdin' as a real global variable--as compared to a #define in FreeBSD. Then the above just spams over the symbol. I don't know the details of C's scoping rules to know if that would work as they want it, but I guess it's possible. > > Thanks, > -- > Jos Backus _/ _/_/_/ "Modularity is not a hack." > _/ _/ _/ -- D. J. Bernstein > _/ _/_/_/ > _/ _/ _/ _/ > josb@cncdsl.com _/_/ _/_/_/ use Std::Disclaimer; > > 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