From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 00:08:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76D1E106568F for ; Sun, 6 Sep 2009 00:08:02 +0000 (UTC) (envelope-from kalle.moller@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 25B718FC1D for ; Sun, 6 Sep 2009 00:08:01 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so451137qwe.7 for ; Sat, 05 Sep 2009 17:08:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=Un9C29p/QMzOy7EXBQlF9DEXWhl+Q2jf7t8NaNo50Hg=; b=ThW215AOqs7jrJ5uh05ykpoyvnvwXb1bkDRd5Zs059g6ZcaVCe88sMp5BYIK40sOYM 8I4sXzM1wHXBsCk13AKyHN+TlQiWZDJGmgU6ZpRmV2ktYhBAtHO3upZ+4X9x0kv1eHGs DMJVBYRqThup/7WrQ9UiJjTFxLwct3pvVQyeA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=aGoSsuHgrapwjtfgDIEA8iNo+k+R3JFyZq16JYXM5lfnSETqWq1llBZuYPUErIyiRp 9cKUmgcU3/4KVtgkPaDFsMkPaa5LQ8Zumsw/egMbnTaGcJYQ5jRWJzNZCJI/wfkL/pbt ckayFResexuAc75g2yPw0YxxqAivNfTo5/A18= MIME-Version: 1.0 Sender: kalle.moller@gmail.com Received: by 10.224.81.138 with SMTP id x10mr8303356qak.299.1252195681013; Sat, 05 Sep 2009 17:08:01 -0700 (PDT) In-Reply-To: <159f04570909031625t16245fb9se24ee023566870c1@mail.gmail.com> References: <159f04570909031625t16245fb9se24ee023566870c1@mail.gmail.com> Date: Sun, 6 Sep 2009 02:08:00 +0200 X-Google-Sender-Auth: db0b3b549566e9fb Message-ID: <8250ac3f0909051708yb690270j9755f4b9d72b8241@mail.gmail.com> From: =?ISO-8859-1?Q?Kalle_M=F8ller?= To: Alan Shearer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Logging failed attempts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 00:08:02 -0000 About the SSH.. Have a look in /var/log/auth.log looks like what your looking for On Fri, Sep 4, 2009 at 1:25 AM, Alan Shearer wrote: > Howdy, > > I was curious if there was a way to setup logging of *failed* attempts to > login to a PPTP Server hosted on freebsd 7? I can only see successful > logins. > > On a similar note is there a way to log successful and failed attempts to > SSH into freebsd? > > Thanks for the help! > Alan > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > --=20 Med Venlig Hilsen Kalle R. M=F8ller From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 00:21:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F99E106566B for ; Sun, 6 Sep 2009 00:21:22 +0000 (UTC) (envelope-from lumiwa@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 21D1A8FC15 for ; Sun, 6 Sep 2009 00:21:21 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so452057qwe.7 for ; Sat, 05 Sep 2009 17:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=QLbZTIgNXNxNQwyZyp9zNY19YbQyHytg5A1xnS06daI=; b=Lcb6kt6hEuRcv+1CoaB94vHWx8SQ5vuFE5pA3OHh2N00tdPNMBlCszOlTea+M958ij XT9ywGF1bnNklDHBBF/b+UsbqjaOIAetbnumsQxf5u1sdbMWmIggPqrDxrZDqTG0ejMW FQkqeQkN8w25X6XVf+e9vjI//rMmJgWOyHNZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=L4FzBWLaBY6bVWLOY9EoLqupKxy+nlm0lP1okOfFuoM/7v2Z0MOqIAEpxzKMmH0sD8 Zu87f/9O4ZvKOaqtfFbixZ72oBrHdM2uCnxOoQdCUWJmb7agwStkojiXbWSVnyhIeeAw Z6iUOobOEGEjzBwjLF4sbgy5ienvPVCjVDdts= Received: by 10.224.117.208 with SMTP id s16mr8163492qaq.39.1252196481416; Sat, 05 Sep 2009 17:21:21 -0700 (PDT) Received: from ?192.168.0.100? (CPE-65-29-54-222.wi.res.rr.com [65.29.54.222]) by mx.google.com with ESMTPS id 20sm1591967qyk.9.2009.09.05.17.21.20 (version=SSLv3 cipher=RC4-MD5); Sat, 05 Sep 2009 17:21:20 -0700 (PDT) From: ajtiM To: freebsd-questions@freebsd.org Date: Sat, 5 Sep 2009 19:21:12 -0500 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909051921.12759.lumiwa@gmail.com> Subject: portmaster --check-depends X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 00:21:22 -0000 When I run portmaster --check-depends I got: Checking kde-3.5.10_2 ===>>> @pkgdep wavpack-4.50.1 is listed as a dependency ===>>> but there is no installed version ===>>> Delete this dependency data? [n] Checking kdegraphics-3.5.10_4 ===>>> @pkgdep portaudio-18.1_2 is listed as a dependency ===>>> but there is no installed version ===>>> Delete this dependency data? [n] Checking kmplayer-0.10.0c_3,2 ===>>> @pkgdep lirc-0.8.0_2 is listed as a dependency ===>>> but there is no installed version ===>>> Delete this dependency data? [n] Checking mencoder-0.99.11_4 ===>>> @pkgdep lirc-0.8.0_2 is listed as a dependency ===>>> but there is no installed version ===>>> Delete this dependency data? [n] mplayerplug-in-3.55_3 ===>>> @pkgdep lirc-0.8.0_2 is listed as a dependency ===>>> but there is no installed version ===>>> Delete this dependency data? [n] I have all three ports installed and I reinstalled them again but the problem is here still. What is wrong, please? Thanks. -- Mitja ----- http://starikarp.redbubble.com From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 00:36:59 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 749781065692 for ; Sun, 6 Sep 2009 00:36:59 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 366628FC21 for ; Sun, 6 Sep 2009 00:36:59 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n860aE1j059394 for ; Sat, 5 Sep 2009 17:36:14 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 5 Sep 2009 17:36:54 -0700 (PDT) Date: Sat, 5 Sep 2009 17:36:54 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20090906003651.GA7388@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: is there a way of usinf greo to find 3 or 4 blank lines? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 00:36:59 -0000 in my manuscript, i have many places where i'ved used several newlines to indicate a jump in time, or topic, or mood, or <>. i have lost these vertical spacing in all but my original draft. can i use grep somehow to find these extra newlines? if not grep, then sed, ed, or what?! tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 01:21:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07535106568F for ; Sun, 6 Sep 2009 01:21:41 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id A15888FC14 for ; Sun, 6 Sep 2009 01:21:40 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.13.8/8.13.8/Debian-3) with ESMTP id n861LcXB022935 for ; Sat, 5 Sep 2009 21:21:38 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.13.8/8.13.8/Submit) id n861LcIE022934; Sat, 5 Sep 2009 21:21:38 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id CA0BDB7DD; Sat, 5 Sep 2009 21:12:15 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: (message from John W on Wed, 26 Aug 2009 21:54:02 -0700) Organization: Oasis Systems Inc. X-Disclaimer: I don't speak for the USAF or Oasis. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 Message-Id: <20090906011215.CA0BDB7DD@kev.msw.wpafb.af.mil> Date: Sat, 5 Sep 2009 21:12:15 -0400 (EDT) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: Can anyone reproduce this Samba problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 01:21:41 -0000 >> On Wed, 26 Aug 2009 21:54:02 -0700, >> John W said: J> I have been trying to set up a 'dropbox' Samba share on FreeBSD, but am J> not having luck. I went back and forth on the Samba ML for a bit, and J> now I'm trying to determine if I am seeing FreeBSD-specific bad J> behavior. http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/ has some suggestions that might help. -- Karl Vogel I don't speak for the USAF or my company :-{8 Person who is unhappy with the results of her breast-enlargement surgery. --Dave Barry's emoticons From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 01:21:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B4481065692 for ; Sun, 6 Sep 2009 01:21:41 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id D4CF98FC19 for ; Sun, 6 Sep 2009 01:21:40 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.13.8/8.13.8/Debian-3) with ESMTP id n861Le30022943 for ; Sat, 5 Sep 2009 21:21:40 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.13.8/8.13.8/Submit) id n861LegG022942; Sat, 5 Sep 2009 21:21:40 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id E2731B7DD; Sat, 5 Sep 2009 21:21:07 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: <64c038660909050933h25a91edcw56688993f5557ad2@mail.gmail.com> (message from Modulok on Sat, 5 Sep 2009 10:33:03 -0600) Organization: Oasis Systems Inc. X-Disclaimer: I don't speak for the USAF or Oasis. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 Message-Id: <20090906012107.E2731B7DD@kev.msw.wpafb.af.mil> Date: Sat, 5 Sep 2009 21:21:07 -0400 (EDT) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: Is there such thing as a 'soft checksum' tool? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 01:21:41 -0000 >> On Sat, 5 Sep 2009 10:33:03 -0600, >> Modulok said: M> I'm looking for a pseudo-checksum tool for use with cataloging images. M> For example, a strict checksum algorithm, like the sha family, will M> produce a dramatically different checksum for two files which differ by M> only a single bit. I'm looking for something where two images, which M> are similar, get a proportionally similar checksum. This works pretty well with text, but I don't know about images. http://ixazon.dynip.com/~cmeclax/nilsimsa.html What's a nilsimsa code? A nilsimsa code is something like a hash, but unlike hashes, a small change in the message results in a small change in the nilsimsa code. Such a function is called a locality-sensitive hash. -- Karl Vogel I don't speak for the USAF or my company Garlic gum is not funny. --written on blackboard by Bart Simpson From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 02:34:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC988106566B for ; Sun, 6 Sep 2009 02:34:21 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 891868FC0A for ; Sun, 6 Sep 2009 02:34:21 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Mk7a8-00066Y-Qt for freebsd-questions@freebsd.org; Sat, 05 Sep 2009 19:34:20 -0700 Message-ID: <25314145.post@talk.nabble.com> Date: Sat, 5 Sep 2009 19:34:20 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com Subject: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 02:34:21 -0000 I apparently have open file handles in my / partitions. It was partitioned at 512 Mb size, used about 150Mb df shows Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 496M 492M -36M 108% / alert condition output /: write failed, filesystem is full and a constant stream of error messages to console ______ I ran lsof which produced a list of 2083 files Randomly selected portions produced the composite below COMMAND PID USER FD TYPE DEVICE SIZE/OFF NLINK NODE NAME init 1 root cwd VDIR 0,96 1024 2 / init 1 root txt VREG 0,96 474576 41282 /sbin/init adjkerntz 147 root cwd VDIR 0,96 1024 2 / adjkerntz 147 root rtd VDIR 0,96 1024 2 / adjkerntz 147 root 0u VBAD (revoked) adjkerntz 147 root 1u VBAD (revoked) devd 254 root txt VREG 0,96 262516 41258 /sbin/devd devd 254 root 0u VCHR 0,24 0t0 24 /dev/null syslogd 292 root txt VREG 0,96 41908 231 /lib/libutil.so.5 syslogd 292 root txt VREG 0,96 877604 236 /lib/libc.so.6 amd 413 root txt VREG 0,96 136984 808 /libexec/ld-elf.so.1 amd 413 root txt VREG 0,96 877604 236 /lib/libc.so.6 amd 413 root 0u VCHR 0,24 0t0 24 /dev/null nfsd 457 root txt VREG 0,96 877604 236 /lib/libc.so.6 nfsd 457 root 0u VCHR 0,24 0t0 24 /dev/null usbd 484 root txt VREG 0,101 14964 3653493 /usr/sbin/usbd smbd 500 root txt VREG 0,101 121414 1941471 /usr/local/lib/libcups.so.2 smbd 500 root txt VREG 0,101 445658 3535409 /usr/local/lib/compat/pkg/libgnutls.so.12 nmbd 502 root txt VREG 0,101 445658 3535409 /usr/local/lib/compat/pkg/libgnutls.so.12 nmbd 502 root txt VREG 0,101 340795 1941251 /usr/local/lib/libgcrypt.so.13 httpd 504 root txt VREG 0,96 28676 225 /lib/libcrypt.so.3 httpd 504 root txt VREG 0,96 877604 236 /lib/libc.so.6 httpd 508 nobody 15w VREG 0,101 1272700 2340767 /usr/local/apache/logs/error_log httpd 512 root txt VREG 0,101 952544 966860 /usr/local/apache2/bin/httpd httpd 512 root txt VREG 0,96 136984 808 /libexec/ld-elf.so.1 httpd 512 root txt VREG 0,96 98120 227 /lib/libm.so.4 httpd 512 root txt VREG 0,101 280725 966866 /usr/local/apache2/lib/libaprutil-1.so.3 httpd 512 root txt VREG 0,101 157398 1942626 /usr/local/lib/libexpat.so.6 httpd 512 root txt VREG 0,101 423490 966861 /usr/local/apache2/lib/libapr-1.so.3 httpd 512 root txt VREG 0,96 28676 225 /lib/libcrypt.so.3 httpd 512 root txt VREG 0,101 140112 3653763 /usr/lib/libpthread.so.2 httpd 512 root txt VREG 0,96 877604 236 /lib/libc.so.6 httpd 512 root txt VREG 0,101 355787 1941402 /usr/local/lib/libapr-1.so.0 httpd 512 root txt VREG 0,101 22323 966665 /usr/local/apache2/modules/mod_authn_file.so httpd 512 root txt VREG 0,101 22612 966666 /usr/local/apache2/modules/mod_authn_dbm.so httpd 512 root 20w VREG 0,101 274254 966466 /usr/local/apache2/logs/error_log rwhod 548 daemon txt VREG 0,101 10912 3653467 /usr/sbin/rwhod rwhod 548 daemon txt VREG 0,96 136984 808 /libexec/ld-elf.so.1 httpd 570 nobody txt VREG 0,101 23956 966670 /usr/local/apache2/modules/mod_authz_host.so httpd 570 nobody txt VREG 0,101 26206 966671 /usr/local/apache2/modules/mod_authz_groupfile.so httpd 570 nobody txt VREG 0,101 20770 966672 /usr/local/apache2/modules/mod_authz_user.so sshd 586 root txt VREG 0,101 168488 3651348 /usr/sbin/sshd sshd 586 root txt VREG 0,96 136984 808 /libexec/ld-elf.so.1 sendmail 591 root txt VREG 0,101 27812 3653790 /usr/lib/libwrap.so.4 sendmail 591 root txt VREG 0,101 184752 3653852 /usr/lib/libssl.so.4 cron 614 root txt VREG 0,101 30748 3653316 /usr/sbin/cron cron 614 root txt VREG 0,96 136984 808 /libexec/ld-elf.so.1 moused 717 root txt VREG 0,101 32480 3653390 /usr/sbin/moused moused 717 root txt VREG 0,96 136984 808 /libexec/ld-elf.so.1 inetd 739 root rtd VDIR 0,96 1024 2 / inetd 739 root txt VREG 0,101 37744 3653353 /usr/sbin/inetd login 755 root rtd VDIR 0,96 1024 2 / login 755 root txt VREG 0,101 17616 3654261 /usr/bin/login login 755 root 1u VCHR 0,57 0t142402 57 /dev/ttyv0 login 755 root 2u VCHR 0,57 0t142402 57 /dev/ttyv0 getty 759 root rtd VDIR 0,96 1024 2 / getty 759 root txt VREG 0,101 20160 3653523 /usr/libexec/getty csh 769 root txt VREG 0,96 280512 263 /bin/tcsh csh 769 root txt VREG 0,96 136984 808 /libexec/ld-elf.so.1 httpd 18932 nobody 2w VREG 0,101 1272700 2340767 /usr/local/apache/logs/error_log httpd 18932 nobody 3 0xc27cd1f8 file struct, ty=0, op=0xc08bfbe0 httpd 18932 nobody 15w VREG 0,101 1272700 2340767 /usr/local/apache/logs/error_log sshd 19204 root txt VREG 0,96 60672 247 /lib/libz.so.3 sshd 19204 root txt VREG 0,101 27812 3653790 /usr/lib/libwrap.so.4 csh 19206 root txt VREG 0,96 280512 263 /bin/tcsh csh 19206 root txt VREG 0,96 136984 808 /libexec/ld-elf.so.1 httpd 19551 nobody 1w VCHR 0,24 0t0 24 /dev/null httpd 19551 nobody 2w VREG 0,101 1272700 2340767 /usr/local/apache/logs/error_log httpd 19551 nobody 3 0xc2823af8 file struct, ty=0, op=0xc08bfbe0 httpd 19551 nobody 15w VREG 0,101 1272700 2340767 /usr/local/apache/logs/error_log sendmail 31437 root cwd VDIR 0,96 512 3439 /var/spool/mqueue sendmail 31437 root rtd VDIR 0,96 1024 2 / lsof 32545 root txt VREG 0,96 877604 236 /lib/libc.so.6 lsof 32545 root 0u VCHR 0,90 0t173796 90 /dev/ttyp0 lsof 32545 root 1u VCHR 0,90 0t173796 90 /dev/ttyp0 lsof 32545 root 2u VCHR 0,90 0t173796 90 /dev/ttyp0 lsof 32545 root 3r VCHR 0,22 0t0 22 /dev/mem lsof 32545 root 6u PIPE 0xc25b18b0 0 ->0xc25b17f8 lsof 32545 root 7u PIPE 0xc25b14c8 16384 ->0xc25b1580 Can't really identify lines I can say does not belong so I don't have any rational basis to kill any process. All seems legit! Rebooting does not correct the descrepancy What should I do to proceed cron is set to rotatate log files # lsof +L1 => COMMAND PID USER FD TYPE DEVICE SIZE/OFF NLINK NODE NAME syslogd 290 root 13w VREG 0,96 61 0 3491 / (/dev/ad0s1a) syslogd 290 root 14w VREG 0,96 1487 0 3482 / (/dev/ad0s1a) syslogd 290 root 16w VREG 0,96 61 0 3487 / (/dev/ad0s1a) syslogd 290 root 17w VREG 0,96 61 0 3493 / (/dev/ad0s1a) syslogd 290 root 19w VREG 0,96 61 0 3486 / (/dev/ad0s1a) syslogd 290 root 20w VREG 0,96 61 0 3492 / (/dev/ad0s1a) syslogd 290 root 21w VREG 0,96 61 0 3490 / (/dev/ad0s1a) smbd 498 root txt-r VREG 0,96 696 0 3511 / (/dev/ad0s1a) smbd 498 root 6ww VREG 0,96 20 0 3505 / (/dev/ad0s1a) smbd 498 root 7ur VREG 0,96 696 0 3511 / (/dev/ad0s1a) smbd 498 root 8ur VREG 0,96 696 0 3512 / (/dev/ad0s1a) nmbd 500 root txt-r VREG 0,96 696 0 3511 / (/dev/ad0s1a) nmbd 500 root 3w VREG 0,96 4092 0 3513 / (/dev/ad0s1a) nmbd 500 root 4ww VREG 0,96 20 0 3506 / (/dev/ad0s1a) nmbd 500 root 5ur VREG 0,96 696 0 3511 / (/dev/ad0s1a) nmbd 500 root 12ur VREG 0,96 696 0 3515 / (/dev/ad0s1a) sendmail 589 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 589 root 7wW VREG 0,96 43 0 3518 / (/dev/ad0s1a) sendmail 593 smmsp cwd VDIR 0,96 0 0 3442 / (/dev/ad0s1a) sendmail 593 smmsp 4wW VREG 0,96 0 0 3538 / (/dev/ad0s1a) sendmail 22547 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 22771 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 23316 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 28813 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 29319 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 30746 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 31123 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 32645 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 34334 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 35676 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 36103 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 36618 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 37766 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 37963 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 38061 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 38390 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 38407 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 38472 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 38542 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 38689 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 39727 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) sendmail 39738 root cwd VDIR 0,96 0 0 3439 / (/dev/ad0s1a) var is a soft link to /usr/var, /tmp has it own partition I am at wits end in knowing what to remove to solve this problem Thanks for any suggestions -- View this message in context: http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25314145.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 04:57:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D8A8106568D for ; Sun, 6 Sep 2009 04:57:49 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 67E278FC08 for ; Sun, 6 Sep 2009 04:57:49 +0000 (UTC) Received: from [10.0.10.3] ([202.69.172.215]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 5 Sep 2009 21:57:38 -0700 Message-ID: <4AA3413E.60506@a1poweruser.com> Date: Sun, 06 Sep 2009 12:57:34 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= References: <4AA09809.1050402@a1poweruser.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 06 Sep 2009 04:57:38.0453 (UTC) FILETIME=[8E90EC50:01CA2EAE] X-Sender: fbsd1@a1poweruser.com Cc: FreeBSD Questions Subject: Re: Making bootable USB keys X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 04:57:49 -0000 Samuel Martín Moro wrote: > In fact, we provide the servers and the keys. > So we're sure everything will work. > > And also, our install CD is already able to create this kind of USB stick. I am just curious. What manufacture / model and GB size of USB stick are you using? When you plug the USB stick into a FreeBSD system what version of the USB standard is used in the firmware on the USB stick (1.0, 2.0 or 2.2)? The firmware USB version standard used by the stick is displayed when the stick is first plugged into a Freebsd release 7.2 From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 08:05:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 305341065672 for ; Sun, 6 Sep 2009 08:05:43 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id E98B18FC17 for ; Sun, 6 Sep 2009 08:05:41 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id F36887E818; Sun, 6 Sep 2009 00:05:50 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sun, 6 Sep 2009 09:58:10 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <25314145.post@talk.nabble.com> In-Reply-To: <25314145.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909060958.11114.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: jaymax Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 08:05:43 -0000 On Sunday 06 September 2009 04:34:20 jaymax wrote: > I apparently have open file handles in my / partitions. > It was partitioned at 512 Mb size, used about 150Mb > df shows > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 496M 492M -36M 108% / > adjkerntz 147 root 0u VBAD > (revoked) adjkerntz 147 root 1u VBAD > Can't really identify lines I can say does not belong so I don't have any > rational basis to kill any process. All seems legit! > > Rebooting does not correct the descrepancy For one, you could've used fstat -f / to reduce the noise. Secondly, since rebooting does not help, open files are not the cause. Rather the VBAD up there. Do an fsck -y. Chances are your file system got filled, a hardware write error occurred and the kernel could therefore not return the space to the disk. If you still have logs, I would grep for WRITE_DMA in /var/log/messages. -- Mel From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 10:18:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2F57106566B for ; Sun, 6 Sep 2009 10:18:00 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 863F08FC16 for ; Sun, 6 Sep 2009 10:18:00 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MkEop-0001uZ-Sp for freebsd-questions@freebsd.org; Sun, 06 Sep 2009 03:17:59 -0700 Message-ID: <25316313.post@talk.nabble.com> Date: Sun, 6 Sep 2009 03:17:59 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <200909060958.11114.mel.flynn+fbsd.questions@mailing.thruhere.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com References: <25314145.post@talk.nabble.com> <200909060958.11114.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 10:18:00 -0000 Mel Flynn-2 wrote: > > On Sunday 06 September 2009 04:34:20 jaymax wrote: >> I apparently have open file handles in my / partitions. >> It was partitioned at 512 Mb size, used about 150Mb >> df shows >> Filesystem Size Used Avail Capacity Mounted on >> /dev/ad0s1a 496M 492M -36M 108% / > >> adjkerntz 147 root 0u VBAD >> (revoked) adjkerntz 147 root 1u VBAD > > >> Can't really identify lines I can say does not belong so I don't have any >> rational basis to kill any process. All seems legit! >> >> Rebooting does not correct the descrepancy > > For one, you could've used fstat -f / to reduce the noise. Secondly, since You were correct fstat -f / showed no open files handles rebooting does not help, open files are not the cause. Rather the VBAD up > there. Do an fsck -y. Chances are your file system got filled, a hardware > write error occurred and the kernel could therefore not return the space > to > the disk. > If you still have logs, I would grep for WRITE_DMA in > ran fsck on / mounted partition, is that reasonable or possible, since it is / or do I have to use a livefs disk like Fixit or Frenzy for this # fsck -vy -B /dev/ad0s1a start / wait fsck_ufs -y -F /dev/ad0s1a start / wait fsck_ufs -y -B /dev/ad0s1a /: write failed, filesystem is full CANNOT CREATE SNAPSHOT //.snap/fsck_snapshot: No space left on device ** /dev/ad0s1a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=3417 OWNER=root MODE=100400 SIZE=0 MTIME=Sep 6 02:41 2009 RECONNECT? no CLEAR? no UNREF FILE I=3495 OWNER=root MODE=140666 SIZE=0 MTIME=Sep 5 01:17 2009 CLEAR? no UNREF FILE I=3524 OWNER=root MODE=100644 SIZE=154 MTIME=Sep 5 01:23 2009 RECONNECT? no CLEAR? no ** Phase 5 - Check Cyl groups FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? no 16849 files, 251849 used, 1966 free (1966 frags, 0 blocks, 0.8% fragmentation) ----- # grep -in WRITE_DMA /var/log/messages Yielded nothing either Rebooted - came back up with the same condition. On rebooting, doesn't the system run fsck -y before mounting the disks Still stuck, at least we have eliminated the "open file handler" belief Thanks -- View this message in context: http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25316313.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 10:38:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 624571065670 for ; Sun, 6 Sep 2009 10:38:38 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1B2F08FC18 for ; Sun, 6 Sep 2009 10:38:37 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id BBC167E818; Sun, 6 Sep 2009 02:38:47 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sun, 6 Sep 2009 12:38:32 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <25314145.post@talk.nabble.com> <200909060958.11114.mel.flynn+fbsd.questions@mailing.thruhere.net> <25316313.post@talk.nabble.com> In-Reply-To: <25316313.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909061238.32832.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: jaymax Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 10:38:38 -0000 On Sunday 06 September 2009 12:17:59 jaymax wrote: > ran fsck on / mounted partition, is that reasonable or possible, since it > is / or do I have to use a livefs disk like Fixit or Frenzy for this No, single user mode. Root partition in single user mode can be fsck'd and repaired if mounted ro in single user. The system does fsck -p by default, which skips partitions marked clean. Since you can shutdown cleanly, nothing will happen. Have a look at /etc/defaults/rc.conf for setting different behaviors by overriding the defaults in /etc/rc.conf. -- Mel From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 13:37:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64C55106566B for ; Sun, 6 Sep 2009 13:37:59 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id D83508FC12 for ; Sun, 6 Sep 2009 13:37:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id n86DbuEE090108; Sun, 6 Sep 2009 23:37:56 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 6 Sep 2009 23:37:56 +1000 (EST) From: Ian Smith To: kes-kes@yandex.ru In-Reply-To: <20090905120021.9BA271065816@hub.freebsd.org> Message-ID: <20090906232257.N89278@sola.nimnet.asn.au> References: <20090905120021.9BA271065816@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: How to correct *Failed sysctlbyname("net.inet.ip.fw.tables_max")* X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 13:37:59 -0000 In freebsd-questions Digest, Vol 274, Issue 12, Message 18 On Sat, 5 Sep 2009 12:57:46 +0300 ??????? ??????? wrote: > vpn# ipfw table 12 list > ipfw: Failed sysctlbyname("net.inet.ip.fw.tables_max") > vpn# sysctl -a | grep net.inet.ip.fw > net.inet.ip.fw.dyn_keepalive: 1 > net.inet.ip.fw.dyn_short_lifetime: 5 > net.inet.ip.fw.dyn_udp_lifetime: 10 > net.inet.ip.fw.dyn_rst_lifetime: 1 > net.inet.ip.fw.dyn_fin_lifetime: 1 > net.inet.ip.fw.dyn_syn_lifetime: 20 > net.inet.ip.fw.dyn_ack_lifetime: 300 > net.inet.ip.fw.static_count: 46 > net.inet.ip.fw.dyn_max: 4096 > net.inet.ip.fw.dyn_count: 0 > net.inet.ip.fw.curr_dyn_buckets: 256 > net.inet.ip.fw.dyn_buckets: 256 > net.inet.ip.fw.default_rule: 65535 > net.inet.ip.fw.verbose_limit: 0 > net.inet.ip.fw.verbose: 1 > net.inet.ip.fw.debug: 1 > net.inet.ip.fw.one_pass: 0 > net.inet.ip.fw.autoinc_step: 100 > net.inet.ip.fw.enable: 1 > vpn# uname -a > FreeBSD vpn.in 7.1-RELEASE-p7 FreeBSD 7.1-RELEASE-p7 #1: Sat Sep 5 00:26:18 EEST 2009 kes@vpn.in:/usr/obj/usr/src/sys/KES_KERN_v71 i386 > > I just upgrade from 7.0. > Sources are RELENG_7_1 Kes, perhaps your kernel and userland sources may be out of synch? I haven't hunted through CVS, but located a message in ipfw@ from Ganbold with a patch proposing to add that very sysctl to ip_fw2.c dated 1st September 2008 .. was that before or after 7.1-RELEASE? Happy hunting, Ian From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 14:11:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7F0A106566C for ; Sun, 6 Sep 2009 14:11:14 +0000 (UTC) (envelope-from hsmtkk@gmail.com) Received: from mail-qy0-f183.google.com (mail-qy0-f183.google.com [209.85.221.183]) by mx1.freebsd.org (Postfix) with ESMTP id 6D0878FC1D for ; Sun, 6 Sep 2009 14:11:14 +0000 (UTC) Received: by qyk13 with SMTP id 13so1539069qyk.3 for ; Sun, 06 Sep 2009 07:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=kIlpWr4Y+osOikQrDMrU5qK45w7l/24qJ9jMBCCjgJE=; b=kY3f7Wjy6Wx8lwhdLjy+Ia48ONzIA/ItYE/OT2ynScqRxtPwIV+mj0NWfOhbI7Zmrg U+ciEnHM91AgLvCmyt7BBl64wHoUSdsdqp0jx8bR1mhpY8yEZxCE2U8urbh5L1fqXvNN vx39R7oEj9MQXxpr1grD9z0e8LJoaox6J73J0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=e2rIQUYGC4CMPeIlvNRyzVeXwr7FEzlo8/FzuMJY+AI61Vogaio26GzUfKsQyAjKZ9 aAgnW2mviRUj3v8rV1bUfyHrnYHEHnZ509kALSxjTn31kkNwxMN45AcoptpxBRhWguhh hfwc2Ec3ExsfxFMc7s2c7P7kVNZPpKq1n9YUQ= MIME-Version: 1.0 Received: by 10.229.33.15 with SMTP id f15mr3404749qcd.59.1252246273383; Sun, 06 Sep 2009 07:11:13 -0700 (PDT) Date: Sun, 6 Sep 2009 23:11:13 +0900 Message-ID: <6bae2c430909060711m3c57adfej33014f84cb23874@mail.gmail.com> From: Hashimoto To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Clock delays in FreeBSD guest VM on VirtualBox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 14:11:14 -0000 Hello. I am running several FreeBSD(8.0-BETA3) guest VMs on VirtualBox on OpenSolaris. On all hosts, I am configuring & running ntpd. However, only one host (naming HostX) can sync the clock. All hosts except for HostX cannot sync the clock. (The time delays about 10 minutes in an hour.) What's the cause of this problem? Regards. /etc/rc.conf ntpd_enable="YES" ntpd_sync_on_start="YES" /etc/ntp.conf (default config file) server 0.freebsd.pool.ntp.org iburst maxpoll 9 server 1.freebsd.pool.ntp.org iburst maxpoll 9 server 2.freebsd.pool.ntp.org iburst maxpoll 9 -- Kouki Hashimoto hsmtkk@gmail.com From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 15:19:05 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98290106566B for ; Sun, 6 Sep 2009 15:19:05 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from april.london.02.net (april.london.02.net [87.194.255.143]) by mx1.freebsd.org (Postfix) with ESMTP id 61A0B8FC15 for ; Sun, 6 Sep 2009 15:19:05 +0000 (UTC) Received: from eco.config (93.97.24.219) by april.london.02.net (8.5.016.1) id 4A23ECF804D7350D for questions@freebsd.org; Sun, 6 Sep 2009 16:19:04 +0100 Message-ID: <4AA3D2E7.9070409@onetel.com> Date: Sun, 06 Sep 2009 16:19:03 +0100 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.21 (X11/20090614) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: how to display pkg-message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 15:19:05 -0000 Hello Could someone remind of the make target for showing messages which are displayed when installing ports please. I thought it was some variant of make showinfo but I can't find one that works. I am assuming that if /files/pkg-message.in exists the this make target would show a result. thanks Chris From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 15:59:39 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01CCE1065670 for ; Sun, 6 Sep 2009 15:59:39 +0000 (UTC) (envelope-from kalle.moller@gmail.com) Received: from mail-qy0-f183.google.com (mail-qy0-f183.google.com [209.85.221.183]) by mx1.freebsd.org (Postfix) with ESMTP id 9AB078FC0A for ; Sun, 6 Sep 2009 15:59:38 +0000 (UTC) Received: by qyk13 with SMTP id 13so1564530qyk.3 for ; Sun, 06 Sep 2009 08:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=1zNoYgtkKPn2JQ7P87AFCffWyB9s8Dglp8fh4Gjui8A=; b=YllFmcr/n+GzhCCzwsszKrCr3tPji2JzRpvvNEMj67bUPdIkcsHwKNhMBk9oZf1hBH noEJ1rvB9ZAR5lfglqvsk+NWXypJRZLNyfOUKvVJlrio393aFtd+A4mBvQUnsjVn4DDF MCrVjQ6YJVRo2DVGrEtryBL+pNed8Fl6NI4cg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=SJWFSNk3pj2hvg2cTCeVcp/RzvN9CCUzTjKkqS7sAAI/ViEckRIBpmABkC9upUnWW6 0zA1TgT+3xgZz9DDFBPOdnt15LFZWoLoZIZC8S127ptPEnneiLl0YNu4ADrhu+us9iXV 3YnRYz6AUxqMm4a8LNqGuJ1d75DWYblWDizHA= MIME-Version: 1.0 Sender: kalle.moller@gmail.com Received: by 10.224.33.199 with SMTP id i7mr8669018qad.125.1252250993154; Sun, 06 Sep 2009 08:29:53 -0700 (PDT) In-Reply-To: <4AA3D2E7.9070409@onetel.com> References: <4AA3D2E7.9070409@onetel.com> Date: Sun, 6 Sep 2009 17:29:53 +0200 X-Google-Sender-Auth: bf78e6501accde49 Message-ID: <8250ac3f0909060829j8b47ca9t72fdd3cf5820635a@mail.gmail.com> From: =?ISO-8859-1?Q?Kalle_M=F8ller?= To: Chris Whitehouse Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: how to display pkg-message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 15:59:39 -0000 Looking for that feature to :) On Sun, Sep 6, 2009 at 5:19 PM, Chris Whitehouse wrote= : > Hello > > Could someone remind of the make target for showing messages which are > displayed when installing ports please. I thought it was some variant of > make showinfo but I can't find one that works. I am assuming that if > /files/pkg-message.in exists the this make target would show a > result. > > thanks > > Chris > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > --=20 Med Venlig Hilsen Kalle R. M=F8ller From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 17:25:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3D18106568B for ; Sun, 6 Sep 2009 17:25:58 +0000 (UTC) (envelope-from randy.belk@gmail.com) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id ABED88FC17 for ; Sun, 6 Sep 2009 17:25:58 +0000 (UTC) Received: by yxe2 with SMTP id 2so4429700yxe.3 for ; Sun, 06 Sep 2009 10:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=R7w4i/s+92v5G1XsIeMg8/G+nR8OAsJkLokoicRhcug=; b=KviHqMFII6W9seHHT3D3b540l9qjrEXxUhrqf6sgoJHQFaPLIwPyVy/TKLnU/At+FT spKR6HBI6xtqtsKBk2HQDU90RYqkPKJz6waaGsSSFVEf5bKbfWCjef41nuAk+NUkiKuo W1oN1KPgGgqxsLvxWdvPWKdtuxrIS+cch7voU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=IpoiQZdEnIGvQg9eyCU1OPFsMEGR5zzpEPneqg6Bv59qyBVhsgQtNdrSbkBmHRh6Qm n0rOBMihD0IN0awQgCOhbowOOI/JFNrLfXxu01WW9hw1Ku9VtZFRCi0J4+iCaSzsYynP X0GBqvvH+8dHIn/ccoVLlpVJepjEHqblNxfUg= MIME-Version: 1.0 Received: by 10.150.142.13 with SMTP id p13mr22466576ybd.25.1252257958080; Sun, 06 Sep 2009 10:25:58 -0700 (PDT) In-Reply-To: <946140ad0909061021g1d0ca8daie78502f71c009ddf@mail.gmail.com> References: <4AA3D2E7.9070409@onetel.com> <8250ac3f0909060829j8b47ca9t72fdd3cf5820635a@mail.gmail.com> <946140ad0909061021g1d0ca8daie78502f71c009ddf@mail.gmail.com> From: Randy Belk Date: Sun, 6 Sep 2009 12:25:38 -0500 Message-ID: <946140ad0909061025j4c4763afm5b389d8fcafe81af@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: how to display pkg-message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 17:25:59 -0000 On Sun, Sep 6, 2009 at 12:21 PM, Randy Belk wrote: > On Sun, Sep 6, 2009 at 10:29 AM, Kalle > M=F8ller wrote: >> Looking for that feature to :) >> >> On Sun, Sep 6, 2009 at 5:19 PM, Chris Whitehouse wr= ote: >> >>> Hello >>> >>> Could someone remind of the make target for showing messages which are >>> displayed when installing ports please. I thought it was some variant o= f >>> make showinfo but I can't find one that works. I am assuming that if >>> /files/pkg-message.in exists the this make target would show a >>> result. >>> >>> thanks >>> >>> Chris >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe@freebsd.org" >>> >> >> >> >> -- >> >> Med Venlig Hilsen >> >> Kalle R. M=F8ller >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.= org" >> This is explained in the pkg_info man page. To Show the install-message file for the installed package postfix-2.6.3,1 you would enter "pkg_info -D -x postfix | less" Please read the man page! Also install ports-mgmt/bpkg, it's an awsome uti= lity -- - Amiga, The Computer for the creative Mind! - UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - People who hate Microsoft Windows use Linux but people who love UNIX use= BSD. --=20 - Amiga, The Computer for the creative Mind! - UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - People who hate Microsoft Windows use Linux but people who love UNIX use = BSD. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 17:27:44 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A68C106566C for ; Sun, 6 Sep 2009 17:27:44 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E46438FC20 for ; Sun, 6 Sep 2009 17:27:43 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n86HRWXq029603; Sun, 6 Sep 2009 18:27:38 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n86HRWXq029603 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1252258058; bh=tonvq+F8vH5q9TRaw8qV1DkkvH2vdP5wqZgP4PSxiZw=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AA3F0FE.2060806@infracaninophile.co.uk>|Date:=20S un,=2006=20Sep=202009=2018:27:26=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20Chris=20Whitehouse=20|CC:=20F reeBSD=20Questions=20|Subject:=20Re:=20how= 20to=20display=20pkg-message|References:=20<4AA3D2E7.9070409@onete l.com>|In-Reply-To:=20<4AA3D2E7.9070409@onetel.com>|X-Enigmail-Ver sion:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp- sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A= 20boundary=3D"------------enig929BF4A1E55385CDFA257DAA"; b=e7pDYZIpguAuIyfs4boFlC0eNY0Wr1kylV8OuaE7CIQCU7lG0qD5kjk+9CyCmHWfg 6uUFL+t6owh4Rpa4u/h6QwBkfQlcbGFiGJNIcUXmxsKwVnCE1iuhoL0qFwy3SIXLk3 o1wrtzxlkmxWtJ1nJh4U4dIwKi6YrLfySrOttWHk= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AA3F0FE.2060806@infracaninophile.co.uk> Date: Sun, 06 Sep 2009 18:27:26 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: Chris Whitehouse References: <4AA3D2E7.9070409@onetel.com> In-Reply-To: <4AA3D2E7.9070409@onetel.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig929BF4A1E55385CDFA257DAA" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: FreeBSD Questions Subject: Re: how to display pkg-message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 17:27:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig929BF4A1E55385CDFA257DAA Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Chris Whitehouse wrote: > Could someone remind of the make target for showing messages which are = > displayed when installing ports please. I thought it was some variant o= f=20 > make showinfo but I can't find one that works. I am assuming that if=20 > /files/pkg-message.in exists the this make target would show a=20 > result. Once the port is installed, you can do: % pkg_info -Dx portname What is probably less known is that if you have the package tarball, you = can run pkg_info on it *without* it being installed: % pkg_info -D ./portname.tbz=20 There isn't a specific make target for displaying pkg-message -- it's=20 generally done as part of the post-install: target, but that target also typically runs any of the scripts that should be bundled with the pkg. That's things like creating a UID to own files or processes, which is not= necessarily something you would want to happen when just trying to see some messages. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig929BF4A1E55385CDFA257DAA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkqj8QQACgkQ8Mjk52CukIwdxgCfaW5mE29WZ8P1c70REub2kZkO uf0AnR9Gt1hJrZjJxio56/dngf00kGKf =oD3O -----END PGP SIGNATURE----- --------------enig929BF4A1E55385CDFA257DAA-- From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 17:34:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BE1410656C2 for ; Sun, 6 Sep 2009 17:34:25 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id 3374F8FC22 for ; Sun, 6 Sep 2009 17:34:25 +0000 (UTC) Received: (qmail 8883 invoked from network); 6 Sep 2009 17:34:24 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 6 Sep 2009 17:34:24 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 1A67F50837 for ; Sun, 6 Sep 2009 13:34:18 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 984B91CC5D; Sun, 6 Sep 2009 13:34:17 -0400 (EDT) To: freebsd-questions@freebsd.org References: <64c038660909050933h25a91edcw56688993f5557ad2@mail.gmail.com> From: Lowell Gilbert Date: Sun, 06 Sep 2009 13:34:17 -0400 In-Reply-To: <64c038660909050933h25a91edcw56688993f5557ad2@mail.gmail.com> (modulok@gmail.com's message of "Sat\, 5 Sep 2009 10\:33\:03 -0600") Message-ID: <44skf0c6zq.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Is there such thing as a 'soft checksum' tool? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 17:34:25 -0000 Modulok writes: > I'm not even sure such a tool exists, but it's worth asking: > > I'm looking for a pseudo-checksum tool for use with catalogging > images. For example, a strict checksum algorithm, like the sha family, > will produce a dramatically different checksum for two files which > differ by only a single bit. I'm looking for something where two > images images, which are similar, get a proportionally similar > checksum. When I speak of similarities I'm referring to their image > patterns. i.e two images of differing sizes, which are otherwise > identical, would produce very similar checksums. So the closer the > checksums are, the more similar two given images are. > > Does anyone know of anything like this? It turns out this is a remarkably hard problem. You can look at p5-Image-Compare, but be prepared to experiment before trusting the results. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 17:44:12 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A476B106566B for ; Sun, 6 Sep 2009 17:44:12 +0000 (UTC) (envelope-from randy.belk@gmail.com) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 5BD918FC0A for ; Sun, 6 Sep 2009 17:44:11 +0000 (UTC) Received: by yxe2 with SMTP id 2so4438764yxe.3 for ; Sun, 06 Sep 2009 10:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=3ZWzfZgY1VmnIBTDOdRhQ7uixPW/ThR7aCgHTPx+A2U=; b=uSLVt2hm3Rd4B1iqFV6aX2hCB5WSd73Bw4RPAxUOamJjDYALu2X1v3D+7YT56N+ZAQ Dd1ixJpLdVdRO+hKRklR5R3QMB259roKTd5I8vEg1NedVmi+HAXHqNDttk2FpyZN2CDc iyGJYA50+C+1DekWXcL5yspNVoCEJsZ1ANf+E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=MtpASxbKatYlwEd8yrcLpKYxPPZ6pvbxHVegzvSCK0YyZJ21oFoCgPvfqGazDh98PS oYPkSeWcc9gBXJXImXkr3JelQb1dL5tVBE8AF47YJ8CVA11w+Y1kwvnu1nuIh9V6jGtH PzpwoQFIRudwOxOzDPHbABXQ8akIkGqIK8BF8= MIME-Version: 1.0 Received: by 10.150.29.4 with SMTP id c4mr22351641ybc.123.1252257723131; Sun, 06 Sep 2009 10:22:03 -0700 (PDT) In-Reply-To: <8250ac3f0909060829j8b47ca9t72fdd3cf5820635a@mail.gmail.com> References: <4AA3D2E7.9070409@onetel.com> <8250ac3f0909060829j8b47ca9t72fdd3cf5820635a@mail.gmail.com> From: Randy Belk Date: Sun, 6 Sep 2009 12:21:43 -0500 Message-ID: <946140ad0909061021g1d0ca8daie78502f71c009ddf@mail.gmail.com> To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: how to display pkg-message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 17:44:12 -0000 On Sun, Sep 6, 2009 at 10:29 AM, Kalle M=F8ller wrote: > Looking for that feature to :) > > On Sun, Sep 6, 2009 at 5:19 PM, Chris Whitehouse wro= te: > >> Hello >> >> Could someone remind of the make target for showing messages which are >> displayed when installing ports please. I thought it was some variant of >> make showinfo but I can't find one that works. I am assuming that if >> /files/pkg-message.in exists the this make target would show a >> result. >> >> thanks >> >> Chris >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > > > -- > > Med Venlig Hilsen > > Kalle R. M=F8ller > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > This is explained in the pkg_info man page. To Show the install-message file for the installed package postfix-2.6.3,1 you would enter "pkg_info -D -x postfix | less" Please read the man page! Also install ports-mgmt/bpkg, it's an awsome util= ity --=20 - Amiga, The Computer for the creative Mind! - UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - People who hate Microsoft Windows use Linux but people who love UNIX use = BSD. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 18:18:41 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68CC9106566B for ; Sun, 6 Sep 2009 18:18:41 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from honeysuckle.london.02.net (honeysuckle.london.02.net [87.194.255.144]) by mx1.freebsd.org (Postfix) with ESMTP id 083A08FC1B for ; Sun, 6 Sep 2009 18:18:40 +0000 (UTC) Received: from eco.config (93.97.24.219) by honeysuckle.london.02.net (8.5.016.1) id 4A23EDE60480BA04; Sun, 6 Sep 2009 19:18:39 +0100 Message-ID: <4AA3FCFE.7000008@onetel.com> Date: Sun, 06 Sep 2009 19:18:38 +0100 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.21 (X11/20090614) MIME-Version: 1.0 To: Randy Belk References: <4AA3D2E7.9070409@onetel.com> <8250ac3f0909060829j8b47ca9t72fdd3cf5820635a@mail.gmail.com> <946140ad0909061021g1d0ca8daie78502f71c009ddf@mail.gmail.com> In-Reply-To: <946140ad0909061021g1d0ca8daie78502f71c009ddf@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: questions@freebsd.org Subject: Re: how to display pkg-message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 18:18:41 -0000 Randy Belk wrote: > On Sun, Sep 6, 2009 at 10:29 AM, Kalle > Møller wrote: >> Looking for that feature to :) >> >> On Sun, Sep 6, 2009 at 5:19 PM, Chris Whitehouse wrote: >> >>> Hello >>> >>> Could someone remind of the make target for showing messages which are >>> displayed when installing ports please. I thought it was some variant of >>> make showinfo but I can't find one that works. I am assuming that if >>> /files/pkg-message.in exists the this make target would show a >>> result. >>> >>> thanks >>> >>> Chris >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe@freebsd.org" >>> >> >> >> -- >> >> Med Venlig Hilsen >> >> Kalle R. Møller >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > > This is explained in the pkg_info man page. > > To Show the install-message file for the installed package > postfix-2.6.3,1 you would enter "pkg_info -D -x postfix | less" > > Please read the man page! Also install ports-mgmt/bpkg, it's an awsome utility > > Thanks for the info. I read man ports, quite a lot of bsd.ports.mk plus list archives and google but because I was so convinced it was a make target I didn't think of pkg_info. It all makes sense now. What's more next time I forget I will be able to look up my own post :) Thanks Matthew S for the tip about tarballs too. cheers Chris From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 18:55:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C68E5106566B for ; Sun, 6 Sep 2009 18:55:36 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 87E418FC08 for ; Sun, 6 Sep 2009 18:55:36 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 09BF07E818 for ; Sun, 6 Sep 2009 10:55:46 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sun, 6 Sep 2009 20:55:30 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <4AA3D2E7.9070409@onetel.com> <946140ad0909061021g1d0ca8daie78502f71c009ddf@mail.gmail.com> <4AA3FCFE.7000008@onetel.com> In-Reply-To: <4AA3FCFE.7000008@onetel.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909062055.31041.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: how to display pkg-message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 18:55:36 -0000 On Sunday 06 September 2009 20:18:38 Chris Whitehouse wrote: > Thanks for the info. I read man ports, quite a lot of bsd.ports.mk plus > list archives If you want to see the dynamically generated pkg-message of a *port*, before building/installing it (f.e. to identify what gotchas there are), use the following: make -C /usr/ports/category/portname WRKDIR=/tmp apply-slist && cat /tmp/pkg- message -- Mel From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 20:40:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB36F1065670 for ; Sun, 6 Sep 2009 20:40:07 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 86D5A8FC0C for ; Sun, 6 Sep 2009 20:40:07 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MkOWq-0008Uo-1x for freebsd-questions@freebsd.org; Sun, 06 Sep 2009 22:40:04 +0200 Received: from 78-105-124-69.zone3.bethere.co.uk ([78.105.124.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Sep 2009 22:40:04 +0200 Received: from cdr.nil by 78-105-124-69.zone3.bethere.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Sep 2009 22:40:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Mark Willson Date: Sun, 06 Sep 2009 20:11:48 +0100 Lines: 40 Message-ID: References: <20090906003651.GA7388@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-105-124-69.zone3.bethere.co.uk User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <20090906003651.GA7388@thought.org> Sender: news Subject: Re: is there a way of usinf greo to find 3 or 4 blank lines? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 20:40:07 -0000 Gary Kline wrote: > in my manuscript, i have many places where i'ved used several > newlines to indicate a jump in time, or topic, or mood, or > <>. i have lost these vertical spacing in all but my > original draft. can i use grep somehow to find these extra newlines? > > > if not grep, then sed, ed, or what?! > > tia, > > gary > > > Gary, If I understand your question correctly (by no means certain), the following may help. This is an awk script, which will print out the lines in the source file at which it finds more than three consecutive empty lines. BEGIN { ncnt = 0 } /^ *$/ { ncnt++; if (ncnt > 3) {print "Emphasis at: " NR; ncnt = 0;} next; } {ncnt = 0;} You can invoke this (assuming the awk source in is a file called "em.awk" and your original manuscript is in a file called "manuscript") by: $ awk -f em.awk manuscript -mark From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 20:44:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC65C1065676 for ; Sun, 6 Sep 2009 20:44:13 +0000 (UTC) (envelope-from mak@kolybabi.com) Received: from mail.nepharia.org (mail.nepharia.org [209.44.104.71]) by mx1.freebsd.org (Postfix) with ESMTP id C5DD08FC15 for ; Sun, 6 Sep 2009 20:44:13 +0000 (UTC) Received: from brisbane.nepharia.org (wnpgmb0807w-ad02-161-57-125.dynamic.mts.net [207.161.57.125]) by mail.nepharia.org (Postfix) with ESMTPSA id 349CD3E8D53; Sun, 6 Sep 2009 15:44:12 -0500 (CDT) Received: by brisbane.nepharia.org (nbSMTP-1.00) for uid 1000 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) mak@kolybabi.com; Sun, 6 Sep 2009 15:44:14 -0500 (CDT) Date: Sun, 6 Sep 2009 15:44:13 -0500 From: Mak Kolybabi To: Gary Kline Message-ID: <20090906204412.GA28721@brisbane.nepharia.org> References: <20090906003651.GA7388@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20090906003651.GA7388@thought.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: is there a way of usinf greo to find 3 or 4 blank lines? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 20:44:14 -0000 On 2009-09-05 17:36, Gary Kline wrote: > in my manuscript, i have many places where i'ved used several newlines to > indicate a jump in time, or topic, or mood, or <>. i have lost these > vertical spacing in all but my original draft. can i use grep somehow to find > these extra newlines? > > if not grep, then sed, ed, or what?! Sed has the ability to pull into the current line the next line, appended and separated by a "\n" character. It's hard to use correctly, I've found, and my simple demo: sed -e '/^$/{N;N;N; s/^\n\n\n$/===4 blank lines==/; }' Does not quite work as I'd hoped. But hopefully it's enough to get you started. -- Matthew Anthony Kolybabi (Mak) () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 21:13:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F113B106566C for ; Sun, 6 Sep 2009 21:13:34 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from april.london.02.net (april.london.02.net [87.194.255.143]) by mx1.freebsd.org (Postfix) with ESMTP id B6B428FC17 for ; Sun, 6 Sep 2009 21:13:34 +0000 (UTC) Received: from eco.config (93.97.24.219) by april.london.02.net (8.5.016.1) id 4A23ECF804D823DE; Sun, 6 Sep 2009 22:13:26 +0100 Message-ID: <4AA425F6.9020508@onetel.com> Date: Sun, 06 Sep 2009 22:13:26 +0100 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.21 (X11/20090614) MIME-Version: 1.0 To: Mel Flynn References: <4AA3D2E7.9070409@onetel.com> <946140ad0909061021g1d0ca8daie78502f71c009ddf@mail.gmail.com> <4AA3FCFE.7000008@onetel.com> <200909062055.31041.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: <200909062055.31041.mel.flynn+fbsd.questions@mailing.thruhere.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: how to display pkg-message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 21:13:35 -0000 Mel Flynn wrote: > On Sunday 06 September 2009 20:18:38 Chris Whitehouse wrote: > >> Thanks for the info. I read man ports, quite a lot of bsd.ports.mk plus >> list archives > > If you want to see the dynamically generated pkg-message of a *port*, before > building/installing it (f.e. to identify what gotchas there are), use the > following: > > make -C /usr/ports/category/portname WRKDIR=/tmp apply-slist && cat /tmp/pkg- > message That's exactly what I was trying to do though the other replies gave me an alternative way. thanks very much Chris From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 23:23:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6198106566C for ; Sun, 6 Sep 2009 23:23:06 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 697018FC0A for ; Sun, 6 Sep 2009 23:23:06 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n86NMIL3072020; Sun, 6 Sep 2009 16:22:18 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 6 Sep 2009 16:23:01 -0700 (PDT) Date: Sun, 6 Sep 2009 16:23:01 -0700 From: Gary Kline To: Mark Willson Message-ID: <20090906232300.GA11209@thought.org> References: <20090906003651.GA7388@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: is there a way of usinf greo to find 3 or 4 blank lines? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 23:23:06 -0000 On Sun, Sep 06, 2009 at 08:11:48PM +0100, Mark Willson wrote: > Gary Kline wrote: > >in my manuscript, i have many places where i'ved used several > >newlines to indicate a jump in time, or topic, or mood, or > ><>. i have lost these vertical spacing in all but my > >original draft. can i use grep somehow to find these extra newlines? > > > > > >if not grep, then sed, ed, or what?! > > > >tia, > > > >gary > > > > > > > Gary, > > If I understand your question correctly (by no means certain), the > following may help. This is an awk script, which will print out the > lines in the source file at which it finds more than three consecutive > empty lines. > > BEGIN { > ncnt = 0 > } > /^ *$/ { > ncnt++; > if (ncnt > 3) > {print "Emphasis at: " NR; > ncnt = 0;} > next; > } > {ncnt = 0;} > > You can invoke this (assuming the awk source in is a file called > "em.awk" and your original manuscript is in a file called "manuscript") by: > > $ awk -f em.awk manuscript > > -mark Yes, this works just fine. I findthat there are about 130 places that I need to track... --yeah, i did over-do it in the time-breaks in my story. Is there a way of printing the string/line in the `manuscript' file along with the line number? I'm well into a copyedit of the manuscript and would rather not start over! thanks for this. gary > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 23:33:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94557106566B for ; Sun, 6 Sep 2009 23:33:42 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 522DB8FC13 for ; Sun, 6 Sep 2009 23:33:42 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n86NWqqC072070; Sun, 6 Sep 2009 16:32:52 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 6 Sep 2009 16:33:35 -0700 (PDT) Date: Sun, 6 Sep 2009 16:33:35 -0700 From: Gary Kline To: Mak Kolybabi Message-ID: <20090906233335.GB11209@thought.org> References: <20090906003651.GA7388@thought.org> <20090906204412.GA28721@brisbane.nepharia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090906204412.GA28721@brisbane.nepharia.org> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: is there a way of usinf greo to find 3 or 4 blank lines? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 23:33:42 -0000 On Sun, Sep 06, 2009 at 03:44:13PM -0500, Mak Kolybabi wrote: > On 2009-09-05 17:36, Gary Kline wrote: > > in my manuscript, i have many places where i'ved used several newlines to > > indicate a jump in time, or topic, or mood, or <>. i have lost these > > vertical spacing in all but my original draft. can i use grep somehow to find > > these extra newlines? > > > > if not grep, then sed, ed, or what?! > > Sed has the ability to pull into the current line the next line, appended and > separated by a "\n" character. It's hard to use correctly, I've found, and my > simple demo: > > sed -e '/^$/{N;N;N; s/^\n\n\n$/===4 blank lines==/; }' > > Does not quite work as I'd hoped. But hopefully it's enough to get you started. > Thanks, Mak. iT really *is* more difficult that grep can handle. I could catch the three newlines in C, but the string/line above the break would be painful unless i kept a linked list of linenumbers. too much like work:-) gary > -- > Matthew Anthony Kolybabi (Mak) > > > () ASCII Ribbon Campaign | Against HTML e-mail > /\ www.asciiribbon.org | Against proprietary extensions > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 00:27:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BB6F1065670 for ; Mon, 7 Sep 2009 00:27:09 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f183.google.com (mail-qy0-f183.google.com [209.85.221.183]) by mx1.freebsd.org (Postfix) with ESMTP id 4C1AF8FC15 for ; Mon, 7 Sep 2009 00:27:09 +0000 (UTC) Received: by qyk13 with SMTP id 13so1671534qyk.3 for ; Sun, 06 Sep 2009 17:27:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=cni6vz5IeJGQ0P2H3k53gGY2k6u44R+LBKEKuRVlL8Y=; b=eNZiVPyaJZ42a5G4qyTG5sbTLgPLEI3rNjyjO9x7T58h6f5n71tbDs9IrirZkqXpAu XiGNUV4BkT+EfcYVzd7a9XlZG0wRBWRWi0AhNktwDUMlrC3YQXEpfBYri8Vj5wl5O75e 2NPmMWC+SSefAGKj1IAY8JUT79g6dG/5gWL8c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NOOvSVaPJKhK4OWxyg6CDep865p8jpvZ2fwtSFFO3pTj07SG6IYISYOg9eDYWhnlTG w38i6S9i/5EE3jnsgvQWTnr3syJ2VOoQ1RUgawcg+5VKHqJrCuXEL2SsvZDjz8Q4h4fz aTMVU6gblM7YdOrxskYrb32pJn61fq9mBJiuo= MIME-Version: 1.0 Received: by 10.229.12.212 with SMTP id y20mr3678801qcy.16.1252283228561; Sun, 06 Sep 2009 17:27:08 -0700 (PDT) Date: Sun, 6 Sep 2009 17:27:04 -0700 Message-ID: <560f92640909061727o5e8ce3b2k9248e28fe878f58a@mail.gmail.com> From: Nerius Landys To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: wireless: host access point w/ WAP help! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 00:27:09 -0000 I am following the Handbook instructions for setting up a FreeBSD wireless host access point: http://www.freebsd.org/doc/en/books/handbook/network-wireless.html root@speedy# dmesg | grep ath ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) ath0: mem 0xff8f0000-0xff8fffff irq 21 at device 0.0 on pci1 ath0: [ITHREAD] ath0: WARNING: using obsoleted if_watchdog interface ath0: Ethernet address: 00:02:6f:61:e6:7d ath0: mac 7.9 phy 4.5 radio 5.6 ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x490 hal flags 0x150), hal status 12 root@speedy# ifconfig ath0 list caps ath0=6783edcf I am able to set up an access point with no authentication or encryption. I verified this by connecting to my FreeBSD router from a Windows [wireless] laptop computer over SSH. It seems that the minute I try to turn WAP on (based on the instructions in the Handbook), things stop working. The steps I follow to enable WAP (after verifying that the host access point is working without encryption) are based on the instructions in the Handbook, and are as follows: 1. Create /etc/hostapd.conf: interface=ath0 debug=1 ctrl_interface=/var/run/hostapd ctrl_interface_group=wheel ssid=speedy.i wpa=1 wpa_passphrase=xxx3xxx3 wpa_key_mgmt=WPA-PSK wpa_pairwise=CCMP TKIP 2. Add this line to /etc/rc.conf: hostapd_enable="YES" 3. Execute "/etc/rc.d/hostapd forcestart". I realize this is only needed for changes to take effect before rebooting the system. I also tried rebooting (with the line in rc.conf) but the results are the same. With WAP "enabled" (following the three steps above), my Windows laptop does not scan to find the "speedy.i" access point. Also, here are some things output by "ifconfig ath0" before and after I follow these steps to enable WAP: BEFORE ENABLING WAP (without hostapd): nlandys@speedy# ifconfig ath0 ath0: flags=8843 metric 0 mtu 1500 ether 00:02:6f:61:e6:7d inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated ssid speedy.i channel 1 (2412 Mhz 11g) bssid 00:02:6f:61:e6:7d authmode OPEN privacy OFF txpower 31.5 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode CTS burst dtimperiod 1 AFTER ENABLING WAP (with hostapd): root@speedy# ifconfig ath0 ath0: flags=8802 metric 0 mtu 1500 ether 00:02:6f:61:e6:7d inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: no carrier ssid speedy.i channel 1 (2412 Mhz 11g) authmode AUTO privacy OFF txpower 31.5 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode CTS burst dtimperiod 1 The output from "ifconfig ath0" above after WAP has been enabled differs significantly from the sample output in the Handbook. One more important thing. I look at processes from top and I see nothing running that corresponds to hostapd. Is this a daemon? I also did the following: root@speedy# find /var | grep -i hostapd And it returns nothing. Does /var/run/hostapd need to exist as a directory for things to work? From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 00:42:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1D52106566C for ; Mon, 7 Sep 2009 00:42:19 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 7B1F48FC14 for ; Mon, 7 Sep 2009 00:42:18 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so544858qwe.7 for ; Sun, 06 Sep 2009 17:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=rlbzN4Hd5GjA1waXNGhLVOzDYztea43EFRxSUvyuMsU=; b=G0Z9K51q2bqt45Xlgb2t22lfNJyb3hsPlgwdK/y5GXbqJaMD9Ns3ye0gUkCPR3LoWe wrOJTPJcRFJ3AypbTYTPsZvzylnOEyhY61NjNPlf14EVxE6n6plkOWw4OtyNZP5Tkmgs egO4rYRJb7dmAW8jX/lQ+ziN1ZFvm1+tbZBu0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=aBMFEe07i4khu4SmKzT+C/NJOcy0wCj1Y1co7nVn3kSFuCJNod0epJN18Z0HR/Nsky ZSi/X0wOQH2eWRx6n4wKcIjnagx+nJIIbp3u+y3HQiWfLEghYnnhmRPS0NdRmy45K13x UbALaFR8msBJLVVh8Rwwt1oVn7XtoEOMKQTTU= MIME-Version: 1.0 Received: by 10.229.118.6 with SMTP id t6mr3699456qcq.39.1252284138473; Sun, 06 Sep 2009 17:42:18 -0700 (PDT) In-Reply-To: <560f92640909061727o5e8ce3b2k9248e28fe878f58a@mail.gmail.com> References: <560f92640909061727o5e8ce3b2k9248e28fe878f58a@mail.gmail.com> Date: Sun, 6 Sep 2009 17:42:18 -0700 Message-ID: <560f92640909061742ve9eb6eoa06eed3332b329df@mail.gmail.com> From: Nerius Landys To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: wireless: host access point w/ WAP help! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 00:42:19 -0000 I was brave enough to find out that logging on hostapd was going to /var/log/messages. I see this there after trying to start hostapd using the /etc/rc.d/ script: Sep 6 17:39:12 speedy kernel: ieee80211_load_module: load the wlan_xauth module by hand for now. Sep 6 17:39:12 speedy hostapd: ath0: DRIVER Error enabling WPA/802.1X! Am looking into it now, doing google searches. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 00:51:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 311E61065672 for ; Mon, 7 Sep 2009 00:51:33 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f183.google.com (mail-qy0-f183.google.com [209.85.221.183]) by mx1.freebsd.org (Postfix) with ESMTP id D60BC8FC08 for ; Mon, 7 Sep 2009 00:51:32 +0000 (UTC) Received: by qyk13 with SMTP id 13so1677247qyk.3 for ; Sun, 06 Sep 2009 17:51:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=fU1dC7Y5pRAQuHnnL0E/qF5Gxlfp8w1ezhJrFRqTS5A=; b=yGkb814Q5ZxY+QVp0a4p/xkiRcdqeVhXRAR4eCkxpJMW8HOjGEeqr/Q7XeOmgtSIMC ONc1jdDZ6g1ntiUZGDrE+yfHO5XmHo/Gm8BDmNGI3Q469XS6eKDeJtY5+ahl3zOoUJfT 45SR8ddi7cJqoiQa149fWaSYVk60q0If7C0Ss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gWjAeWv3fOfcmYZn8eERwmNS5DbNEqPW7BZjKbMf3d+QofP6TDsmPTjb5USvOpUyh7 /nNbjaytJqI3j77MqVKxfGqnbQbEXuklHU2QlhVASZIbQIYS4mldbFJyhDIYtFRPANPs nIpCKbi3ENnuP1iLpL+hp4LiR2imel5DX24sc= MIME-Version: 1.0 Received: by 10.229.118.6 with SMTP id t6mr3700348qcq.39.1252284691927; Sun, 06 Sep 2009 17:51:31 -0700 (PDT) In-Reply-To: <560f92640909061742ve9eb6eoa06eed3332b329df@mail.gmail.com> References: <560f92640909061727o5e8ce3b2k9248e28fe878f58a@mail.gmail.com> <560f92640909061742ve9eb6eoa06eed3332b329df@mail.gmail.com> Date: Sun, 6 Sep 2009 17:51:31 -0700 Message-ID: <560f92640909061751v7533810ckb1df17a3dfcea5d5@mail.gmail.com> From: Nerius Landys To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: wireless: host access point w/ WAP help! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 00:51:33 -0000 I added this to /boot/loader.conf: wlan_xauth_load="YES" After a complete reboot of my system I get this line in /var/log/messages: Sep 6 17:46:47 speedy kernel: ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x490 hal flags 0x150), hal status 12 Not sure if this is something to worry about. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 01:06:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C1AF1065672 for ; Mon, 7 Sep 2009 01:06:09 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id A22638FC17 for ; Mon, 7 Sep 2009 01:06:08 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n8715Jl4073055; Sun, 6 Sep 2009 18:05:20 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 6 Sep 2009 18:06:02 -0700 (PDT) Date: Sun, 6 Sep 2009 18:06:02 -0700 From: Gary Kline To: Mark Willson Message-ID: <20090907010602.GA11657@thought.org> References: <20090906003651.GA7388@thought.org> <20090906232300.GA11209@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090906232300.GA11209@thought.org> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: is there a way of usinf greo to find 3 or 4 blank lines? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 01:06:09 -0000 On Sun, Sep 06, 2009 at 04:23:01PM -0700, Gary Kline wrote: > On Sun, Sep 06, 2009 at 08:11:48PM +0100, Mark Willson wrote: > > Gary Kline wrote: > > >in my manuscript, i have many places where i'ved used several > > >newlines to indicate a jump in time, or topic, or mood, or > > ><>. i have lost these vertical spacing in all but my > > >original draft. can i use grep somehow to find these extra newlines? > > > > > > > > >if not grep, then sed, ed, or what?! > > > > > >tia, > > > > > >gary > > > > > > > > > > > Gary, > > > > If I understand your question correctly (by no means certain), the > > following may help. This is an awk script, which will print out the > > lines in the source file at which it finds more than three consecutive > > empty lines. > > > > BEGIN { > > ncnt = 0 > > } > > /^ *$/ { > > ncnt++; > > if (ncnt > 3) > > {print "Emphasis at: " NR; > > ncnt = 0;} > > next; > > } > > {ncnt = 0;} > > > > You can invoke this (assuming the awk source in is a file called > > "em.awk" and your original manuscript is in a file called "manuscript") by: > > > > $ awk -f em.awk manuscript > > > > -mark > > > Yes, this works just fine. I findthat there are about 130 places that I need to > track... --yeah, i did over-do it in the time-breaks in my story. > > Is there a way of printing the string/line in the `manuscript' file along with the line > number? I'm well into a copyedit of the manuscript and would rather not start over! > > thanks for this. > :wq Sorry:: sounds a bit moronic:: not print the blank line/newline! but print the NR-1-th line. > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 02:12:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4792C1065670 for ; Mon, 7 Sep 2009 02:12:46 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 035B38FC24 for ; Mon, 7 Sep 2009 02:12:45 +0000 (UTC) Received: by yxe2 with SMTP id 2so4704802yxe.3 for ; Sun, 06 Sep 2009 19:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=0A8hzZp5pcJp4S3C2xO0TW/xDpR2b7E/VQ7HPBF+URU=; b=d78zeV9ovC+XdkmpyxZJWa+jT806j0kRqQ2jgxb/qIU7+UIJ5EurP6KZhw5uC+Tofc MlRcYhK11CMRp/VkhDFhmSZr22YJhK5YSO+yf+lBSgf76asowdhnJG5WOw1OSNi5npcs 1m9Wd92WJgBSmt3B2N6s/F9lGvEEqvK3g3pYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=IzcLPDkLaZR/kXo1s3U61giTd03zDIR/hpck2z9ex7MkB7UVPj1mRyKMtepRcSwSpI Ps7Mu7C8hN324CDeS+CjZ5m3L2HboYsUKdzMy//tm023uxdpuZwTh/8upzmAOLl62gfF VD4gumyTGJpp9AdcowhwdcGVDjzVv6PJCNeKc= MIME-Version: 1.0 Received: by 10.100.74.13 with SMTP id w13mr14769070ana.168.1252289565357; Sun, 06 Sep 2009 19:12:45 -0700 (PDT) In-Reply-To: <6bae2c430909060711m3c57adfej33014f84cb23874@mail.gmail.com> References: <6bae2c430909060711m3c57adfej33014f84cb23874@mail.gmail.com> Date: Sun, 6 Sep 2009 20:12:45 -0600 Message-ID: From: Tim Judd To: Hashimoto Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Clock delays in FreeBSD guest VM on VirtualBox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 02:12:46 -0000 On 9/6/09, Hashimoto wrote: > Hello. > > I am running several FreeBSD(8.0-BETA3) guest VMs > on VirtualBox on OpenSolaris. > On all hosts, I am configuring & running ntpd. > > However, only one host (naming HostX) can sync the clock. > All hosts except for HostX cannot sync the clock. > (The time delays about 10 minutes in an hour.) > What's the cause of this problem? > Regards. > > /etc/rc.conf > ntpd_enable="YES" > ntpd_sync_on_start="YES" > > /etc/ntp.conf (default config file) > server 0.freebsd.pool.ntp.org iburst maxpoll 9 > server 1.freebsd.pool.ntp.org iburst maxpoll 9 > server 2.freebsd.pool.ntp.org iburst maxpoll 9 > > -- > Kouki Hashimoto > hsmtkk@gmail.com Timing problems can be due to kern.hz The older kern.hz was set to 100, and now it's set at 1000 The hardware clock may need adjusting, see sysctl kern.timecounter.choice Only one that seems relatively current is installing the vmtools with vmware hypervisor. Said tools even support guest shutdown and the rest. I would say without tools support, you have slim possible chances to synchronize timings, and timing problems will keep you guessing. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 02:24:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31C751065676 for ; Mon, 7 Sep 2009 02:24:08 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id E73C78FC0C for ; Mon, 7 Sep 2009 02:24:07 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MkTtn-0007Pc-3E for freebsd-questions@freebsd.org; Sun, 06 Sep 2009 19:24:07 -0700 Message-ID: <25324178.post@talk.nabble.com> Date: Sun, 6 Sep 2009 19:24:07 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <200909061238.32832.mel.flynn+fbsd.questions@mailing.thruhere.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com References: <25314145.post@talk.nabble.com> <200909060958.11114.mel.flynn+fbsd.questions@mailing.thruhere.net> <25316313.post@talk.nabble.com> <200909061238.32832.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 02:24:08 -0000 Mel Flynn-2 wrote: > > > No, single user mode. Root partition in single user mode can be fsck'd and > repaired if mounted ro in single user. The system does fsck -p by default, > which skips partitions marked clean. Since you can shutdown cleanly, > nothing > will happen. > Have a look at /etc/defaults/rc.conf for setting different behaviors by > overriding the defaults in /etc/rc.conf. > In single user mode I ran fsck -vy / there were a few Salvages along the way Rebooted but the condition remained unchanged. rebooted again in single user mode ran fsck -vy /dev/ad0s1a everything seemed clear - no salvage operation Normal reboot, but discrepancy still persits Hope we have not reached a checkmate! from the logs the only things discernable, were dmesg => > ad0: 39083MB at ata0-master UDMA100 > ad1: 76345MB at ata0-slave UDMA100 > acd0: CDROM at ata1-master UDMA33 > acd1: DVDR at ata1-slave UDMA33 > ad4: 381554MB at ata2-master UDMA100 > Trying to mount root from ufs:/dev/ad0s1a > WARNING: /usr was not properly dismounted > WARNING: /disk02 was not properly dismounted > WARNING: /disk03 was not properly dismounted > from /var/all.log the record for today Earlier mount attempt # grep -in ad0s1a all.log 143:Sep 6 02:23:41 mach_1 kernel: Trying to mount root from ufs:/dev/ad0s1a 158:Sep 6 02:23:41 mach_1 kernel: /dev/ad0s1a: DEFER FOR BACKGROUND CHECKING 472:Sep 6 02:25:02 mach_1 fsck: /dev/ad0s1a: CANNOT CREATE SNAPSHOT //.snap/fsck_snapshot: No space left on device 474:Sep 6 02:25:02 mach_1 fsck: /dev/ad0s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. 985:Sep 6 03:11:21 mach_1 kernel: Trying to mount root from ufs:/dev/ad0s1a 1000:Sep 6 03:11:21 mach_1 kernel: /dev/ad0s1a: DEFER FOR BACKGROUND CHECKING 1315:Sep 6 03:13:08 mach_1 fsck: /dev/ad0s1a: CANNOT CREATE SNAPSHOT //.snap/fsck_snapshot: No space left on device 1317:Sep 6 03:13:08 mach_1 fsck: /dev/ad0s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. last mount 6311:Sep 6 17:39:33 mach_1 kernel: Trying to mount root from ufs:/dev/ad0s1a 6325:Sep 6 17:39:33 mach_1 kernel: /dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS 6326:Sep 6 17:39:33 mach_1 kernel: /dev/ad0s1a: clean, 1982 free (1966 frags, 2 blocks, 0.8% fragmentation) 6772:Sep 6 17:51:19 mach_1 kernel: Trying to mount root from ufs:/dev/ad0s1a 6786:Sep 6 17:51:19 mach_1 kernel: /dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS 6787:Sep 6 17:51:19 mach_1 kernel: /dev/ad0s1a: clean, 1968 free (1968 frags, 0 blocks, 0.8% fragmentation) and df -k => df -k Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 507630 503694 -36674 108% / Don't know if the above can show anything Could this be a kernel issue, tuning etc? Thanks! -- View this message in context: http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25324178.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 03:08:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2C74106566B for ; Mon, 7 Sep 2009 03:08:53 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 7C3EF8FC1F for ; Mon, 7 Sep 2009 03:08:53 +0000 (UTC) Received: by yxe2 with SMTP id 2so4738346yxe.3 for ; Sun, 06 Sep 2009 20:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=S06VSD/to5HQtTHYsOi1nr0BjF6JRtq3bD2ZrDyPSeQ=; b=MvBLmX1BzoSOg2ZyhcQ6edH1d+jV5INcKWyDpwMqDCilf9o/XH4oQjEgv/BLNi/HoY FtsJOQOwOvZETQFBQQWxFnc3QG9vQVSoMd1kMlD7zvbdxV3EbsMjKu+Kv47YOtLvqcyz JGHAHIMlzdmuIX5Eb3tZ56M+SLQ5iYaPkExCM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=QCHaYE/tR4cKfbvjT1MwoDIvXq+lg/7qw36k3jm17W6Dc2HEkUCfBm9mKZqP81WIIZ hZ0lYICuHgq10WsVP+KucU8MpxB+lxeQj1i0VOMrC1DZJoTb+gXnSV0fewiQbFMVM6wC RwN6ftEcb4ZDZ4QJ05gbhaG46mbXZ7I+PhuI4= MIME-Version: 1.0 Received: by 10.150.1.18 with SMTP id 18mr21692457yba.156.1252292932533; Sun, 06 Sep 2009 20:08:52 -0700 (PDT) In-Reply-To: <25324178.post@talk.nabble.com> References: <25314145.post@talk.nabble.com> <200909060958.11114.mel.flynn+fbsd.questions@mailing.thruhere.net> <25316313.post@talk.nabble.com> <200909061238.32832.mel.flynn+fbsd.questions@mailing.thruhere.net> <25324178.post@talk.nabble.com> Date: Sun, 6 Sep 2009 22:08:52 -0500 Message-ID: <6201873e0909062008y4624d3d4y5eca6e21c82f4624@mail.gmail.com> From: Adam Vande More To: jaymax Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 03:08:53 -0000 Sun, Sep 6, 2009 at 9:24 PM, jaymax wrote: > > > > Mel Flynn-2 wrote: > > > > > > No, single user mode. Root partition in single user mode can be fsck'd > and > > repaired if mounted ro in single user. The system does fsck -p by > default, > > which skips partitions marked clean. Since you can shutdown cleanly, > > nothing > > will happen. > > Have a look at /etc/defaults/rc.conf for setting different behaviors by > > overriding the defaults in /etc/rc.conf. > > > > In single user mode I ran fsck -vy / > there were a few Salvages along the way > Rebooted but the condition remained unchanged. > rebooted again in single user mode ran fsck -vy /dev/ad0s1a > everything seemed clear - no salvage operation > Normal reboot, but discrepancy still persits > > Hope we have not reached a checkmate! > > from the logs the only things discernable, were > dmesg => > > > > ad0: 39083MB at ata0-master UDMA100 > > ad1: 76345MB at ata0-slave UDMA100 > > acd0: CDROM at ata1-master UDMA33 > > acd1: DVDR at ata1-slave UDMA33 > > ad4: 381554MB at ata2-master UDMA100 > > Trying to mount root from ufs:/dev/ad0s1a > > WARNING: /usr was not properly dismounted > > WARNING: /disk02 was not properly dismounted > > WARNING: /disk03 was not properly dismounted > > > > from /var/all.log the record for today > > Earlier mount attempt > > # grep -in ad0s1a all.log > 143:Sep 6 02:23:41 mach_1 kernel: Trying to mount root from > ufs:/dev/ad0s1a > 158:Sep 6 02:23:41 mach_1 kernel: /dev/ad0s1a: DEFER FOR BACKGROUND > CHECKING > 472:Sep 6 02:25:02 mach_1 fsck: /dev/ad0s1a: CANNOT CREATE SNAPSHOT > //.snap/fsck_snapshot: No space left on device > 474:Sep 6 02:25:02 mach_1 fsck: /dev/ad0s1a: UNEXPECTED INCONSISTENCY; RUN > fsck MANUALLY. > 985:Sep 6 03:11:21 mach_1 kernel: Trying to mount root from > ufs:/dev/ad0s1a > 1000:Sep 6 03:11:21 mach_1 kernel: /dev/ad0s1a: DEFER FOR BACKGROUND > CHECKING > 1315:Sep 6 03:13:08 mach_1 fsck: /dev/ad0s1a: CANNOT CREATE SNAPSHOT > //.snap/fsck_snapshot: No space left on device > 1317:Sep 6 03:13:08 mach_1 fsck: /dev/ad0s1a: UNEXPECTED INCONSISTENCY; > RUN > fsck MANUALLY. > > > last mount > > > 6311:Sep 6 17:39:33 mach_1 kernel: Trying to mount root from > ufs:/dev/ad0s1a > 6325:Sep 6 17:39:33 mach_1 kernel: /dev/ad0s1a: FILE SYSTEM CLEAN; > SKIPPING > CHECKS > 6326:Sep 6 17:39:33 mach_1 kernel: /dev/ad0s1a: clean, 1982 free (1966 > frags, 2 blocks, 0.8% fragmentation) > 6772:Sep 6 17:51:19 mach_1 kernel: Trying to mount root from > ufs:/dev/ad0s1a > 6786:Sep 6 17:51:19 mach_1 kernel: /dev/ad0s1a: FILE SYSTEM CLEAN; > SKIPPING > CHECKS > 6787:Sep 6 17:51:19 mach_1 kernel: /dev/ad0s1a: clean, 1968 free (1968 > frags, 0 blocks, 0.8% fragmentation) > > > and > df -k => > df -k > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 507630 503694 -36674 108% / > > Don't know if the above can show anything > Could this be a kernel issue, tuning etc? > > Thanks! > -- > > ufs by default keeps a certain portion in reserve for use by root. 8% is the standard amount I believe so that capacity reading is technically valid. On rare occasion, I've had to run fsck multiple times. you may wish to try this also, w/ no reboot in between. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 03:09:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E3211065670 for ; Mon, 7 Sep 2009 03:09:57 +0000 (UTC) (envelope-from mdc@prgmr.com) Received: from mail.prgmr.com (mail.prgmr.com [64.62.173.114]) by mx1.freebsd.org (Postfix) with ESMTP id 8CC168FC17 for ; Mon, 7 Sep 2009 03:09:57 +0000 (UTC) Received: from frylock.local (c-71-202-68-54.hsd1.ca.comcast.net [71.202.68.54]) by mail.prgmr.com (Postfix) with ESMTP id 5609D68B5B for ; Sun, 6 Sep 2009 20:12:46 -0700 (PDT) Message-ID: <4AA47981.1090103@prgmr.com> Date: Sun, 06 Sep 2009 20:09:53 -0700 From: Michael David Crawford Organization: Prgmr.com User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <20090906012107.E2731B7DD@kev.msw.wpafb.af.mil> In-Reply-To: <20090906012107.E2731B7DD@kev.msw.wpafb.af.mil> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Is there such thing as a 'soft checksum' tool? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 03:09:57 -0000 > M> I'm looking for a pseudo-checksum tool for use with cataloging images. I've seen such tools advertised, but they were proprietary products and only worked on windows. One way you could approach it might be to use a blur filter to blur each of your images, and then to compare the blurred images. Small differences in individual pixels would be blurred away. Mike -- Michael David Crawford mdc@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 06:10:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AE57106566C for ; Mon, 7 Sep 2009 06:10:56 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id E5DC48FC1A for ; Mon, 7 Sep 2009 06:10:55 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MkXRH-0005SD-5Z for freebsd-questions@freebsd.org; Sun, 06 Sep 2009 23:10:55 -0700 Message-ID: <25325443.post@talk.nabble.com> Date: Sun, 6 Sep 2009 23:10:55 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <6201873e0909062008y4624d3d4y5eca6e21c82f4624@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com References: <25314145.post@talk.nabble.com> <200909060958.11114.mel.flynn+fbsd.questions@mailing.thruhere.net> <25316313.post@talk.nabble.com> <200909061238.32832.mel.flynn+fbsd.questions@mailing.thruhere.net> <25324178.post@talk.nabble.com> <6201873e0909062008y4624d3d4y5eca6e21c82f4624@mail.gmail.com> Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 06:10:56 -0000 Galactic_Dominator wrote: > > Sun, Sep 6, 2009 at 9:24 PM, jaymax wrote: > > >> >> Mel Flynn-2 wrote: >> > > > -- >> >> ufs by default keeps a certain portion in reserve for use by root. 8% is > the standard amount I believe so that capacity reading is technically > valid. On rare occasion, I've had to run fsck multiple times. you may > wish > to try this also, w/ no reboot in between. > > > I ran fsck -vy 10 times, status unchanged > > Is there somewhere I can find a listing of files and directories that are > supposed to be at the / level? if there is perchance some bizarre file, > that du is not accounting for. > > Thanks! > > -- > Adam Vande More > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25325443.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 06:12:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1299106566C for ; Mon, 7 Sep 2009 06:12:07 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 7D4198FC27 for ; Mon, 7 Sep 2009 06:12:07 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MkXSR-0005Tv-4y for freebsd-questions@freebsd.org; Sun, 06 Sep 2009 23:12:07 -0700 Message-ID: <25325443.post@talk.nabble.com> Date: Sun, 6 Sep 2009 23:12:07 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 06:12:07 -0000 Galactic_Dominator wrote: > > Sun, Sep 6, 2009 at 9:24 PM, jaymax wrote: > > >> >> Mel Flynn-2 wrote: >> > > > -- >> >> ufs by default keeps a certain portion in reserve for use by root. 8% is > the standard amount I believe so that capacity reading is technically > valid. On rare occasion, I've had to run fsck multiple times. you may > wish > to try this also, w/ no reboot in between. > I ran fsck -vy 10 times, status unchanged Is there somewhere I can find a listing of files and directories that are supposed to be at the / level? if there is perchance some bizarre file, that du is not accounting for. Thanks! -- Adam Vande More _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- View this message in context: http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25325443.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 06:55:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDB0A106566C for ; Mon, 7 Sep 2009 06:55:45 +0000 (UTC) (envelope-from kalle.moller@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 70E238FC0A for ; Mon, 7 Sep 2009 06:55:45 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so574318qwe.7 for ; Sun, 06 Sep 2009 23:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=ntoX5PvODhp12o6T5VvkNs+/mTMpQ3EV+L6qS8z4bc0=; b=gjN8zkcFFNca7miM1zrfeFohDx4VEjvq+7S3zGBytU1Zh48gzmtX9rytRI5NIz9LrT U9/qhMLHiCSTzLqaR2pzrzSVABY++EpRBc8YVcN83s2sWoP0aKnnLyWuU9sLSMYYaiqt aaAvZV+Uu1ZIXwfMTFnarTBaLjIpfjA9zq73I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=PYSi40hBJa+19+oyEqXlkMXrSpBLnlmUE8/EAMuV/5GLnJYi7mfd8v8LX2I94I1uRb yqMb8Wdl+Av0pkgiqOVZxZySZeXiGPbm2c5YFH0LyITkdqOXStoQonZ0sHvkGDOqY34T UsKawq4gi5n7kKCERXid5yZvPEXjx2Grx//qc= MIME-Version: 1.0 Sender: kalle.moller@gmail.com Received: by 10.224.33.199 with SMTP id i7mr8965098qad.125.1252306544680; Sun, 06 Sep 2009 23:55:44 -0700 (PDT) In-Reply-To: <20090906003651.GA7388@thought.org> References: <20090906003651.GA7388@thought.org> Date: Mon, 7 Sep 2009 08:55:44 +0200 X-Google-Sender-Auth: 4242a106437be3f3 Message-ID: <8250ac3f0909062355g69a1cf5cj847e84aaee79b0c2@mail.gmail.com> From: =?ISO-8859-1?Q?Kalle_M=F8ller?= To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: is there a way of usinf greo to find 3 or 4 blank lines? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 06:55:45 -0000 I know its not in commandline, but in vim (maybe even vi) you could just /\n\n\n This would find new lines... And you could jump between them with n.. and :set ruler so you can find linenumber On Sun, Sep 6, 2009 at 2:36 AM, Gary Kline wrote: > > in my manuscript, i have many places where i'ved used several > newlines to indicate a > jump in time, or topic, or mood, or <>. i have lost the= se > vertical spacing > in all but my original draft. can i use grep somehow to find thes= e > extra newlines? > > if not grep, then sed, ed, or what?! > > tia, > > gary > > > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service > Unix > http://jottings.thought.org http://transfinite.thought.org > The 5.67a release of Jottings: http://jottings.thought.org/index.php > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > --=20 Med Venlig Hilsen Kalle R. M=F8ller From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 07:07:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFA12106566B for ; Mon, 7 Sep 2009 07:07:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 89ED58FC0A for ; Mon, 7 Sep 2009 07:07:03 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MkYJZ-0000cs-GK for freebsd-questions@freebsd.org; Mon, 07 Sep 2009 09:07:01 +0200 Received: from 78-105-124-69.zone3.bethere.co.uk ([78.105.124.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Sep 2009 09:07:01 +0200 Received: from cdr.nil by 78-105-124-69.zone3.bethere.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Sep 2009 09:07:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Mark Willson Date: Mon, 07 Sep 2009 08:06:51 +0100 Lines: 34 Message-ID: References: <20090906003651.GA7388@thought.org> <20090906232300.GA11209@thought.org> <20090907010602.GA11657@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-105-124-69.zone3.bethere.co.uk User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <20090907010602.GA11657@thought.org> Sender: news Subject: Re: is there a way of usinf greo to find 3 or 4 blank lines? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 07:07:03 -0000 Gary Kline wrote: >> Yes, this works just fine. I findthat there are about 130 places that I need to >> track... --yeah, i did over-do it in the time-breaks in my story. >> >> Is there a way of printing the string/line in the `manuscript' file along with the line >> number? I'm well into a copyedit of the manuscript and would rather not start over! >> >> thanks for this. >> > :wq > > Sorry:: sounds a bit moronic:: not print the blank line/newline! but print the > NR-1-th line. Gary, The following version should do what you want: BEGIN { ncnt = 0 prev = "BOF" } /^ *$/ { ncnt++; if (ncnt > 3) { print "Emphasis at " NR ": " prev; prev = "-multiple-" ncnt = 0; } next; } {ncnt = 0; prev = $0} -mark From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 07:14:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CABA106568D for ; Mon, 7 Sep 2009 07:14:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id D206C8FC0C for ; Mon, 7 Sep 2009 07:14:44 +0000 (UTC) Received: from r55.edvax.de (port-92-195-27-155.dynamic.qsc.de [92.195.27.155]) by mx01.qsc.de (Postfix) with ESMTP id 0430D3C4AE; Mon, 7 Sep 2009 09:14:43 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n877EgvB001903; Mon, 7 Sep 2009 09:14:42 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 7 Sep 2009 09:14:42 +0200 From: Polytropon To: jaymax Message-Id: <20090907091442.f011d137.freebsd@edvax.de> In-Reply-To: <25325443.post@talk.nabble.com> References: <25325443.post@talk.nabble.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 07:14:45 -0000 On Sun, 6 Sep 2009 23:12:07 -0700 (PDT), jaymax wrote: > Is there somewhere I can find a listing of files and directories that are > supposed to be at the / level? if there is perchance some bizarre file, that > du is not accounting for. You can of course read "man hier" to obtain information about the file system hierarchy. In settings where partitions are used to separate functional parts of the hierarchy, there's often not much stuff that goes into /, because / is primarily reserved for the basic system and the mountpoints; things like /tmp, /var, /usr and /home go to different partitions. Check the content of /boot. Maybe you have more than one kernel image and module files in there. You can as well use # du -sch / with only / mounted to get a first impression which subtrees do occupy how much disk space. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 08:28:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43A98106566B for ; Mon, 7 Sep 2009 08:28:46 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.125]) by mx1.freebsd.org (Postfix) with ESMTP id B9EC08FC14 for ; Mon, 7 Sep 2009 08:28:45 +0000 (UTC) Received: from localhost.hawaii.res.rr.com ([98.150.187.245]) by hrndva-omta02.mail.rr.com with ESMTP id <20090907082844800.OSRB28062@hrndva-omta02.mail.rr.com>; Mon, 7 Sep 2009 08:28:44 +0000 Received: from holstein.holy.cow (localhost [127.0.0.1]) by localhost.hawaii.res.rr.com (Postfix) with ESMTP id 9CC473403; Sun, 6 Sep 2009 22:31:13 -1000 (HST) Received: (from parv@localhost) by holstein.holy.cow (8.13.8/8.13.8/Submit) id n878VCLD002920; Sun, 6 Sep 2009 22:31:12 -1000 (HST) (envelope-from parv@pair.com) X-Authentication-Warning: holstein.holy.cow: parv set sender to parv@pair.com using -f Date: Sun, 6 Sep 2009 22:31:12 -1000 From: parv@pair.com To: modulok@gmail.com Message-ID: <20090907083112.GA2787@holstein.holy.cow> Mail-Followup-To: modulok@gmail.com, Lowell Gilbert , freebsd-questions@freebsd.org References: <64c038660909050933h25a91edcw56688993f5557ad2@mail.gmail.com> <44skf0c6zq.fsf@lowell-desk.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44skf0c6zq.fsf@lowell-desk.lan> Cc: Lowell Gilbert , freebsd-questions@freebsd.org Subject: Re: Is there such thing as a 'soft checksum' tool? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 08:28:46 -0000 in message <44skf0c6zq.fsf@lowell-desk.lan>, wrote Lowell Gilbert thusly... > > Modulok writes: (I am replyin to Lowell's reply for I do not have OP.) > > I'm not even sure such a tool exists, but it's worth asking: > > > > I'm looking for a pseudo-checksum tool for use with catalogging > > images. For example, a strict checksum algorithm, like the sha > > family, will produce a dramatically different checksum for two > > files which differ by only a single bit. I'm looking for > > something where two images images, which are similar, get a > > proportionally similar checksum. When I speak of similarities > > I'm referring to their image patterns. i.e two images of > > differing sizes, which are otherwise identical, would produce > > very similar checksums. So the closer the checksums are, the > > more similar two given images are. > > > > Does anyone know of anything like this? See if this ... http://www.stonehenge.com/merlyn/LinuxMag/col50.html ... fits. - parv -- From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 08:40:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 833D2106566C for ; Mon, 7 Sep 2009 08:40:09 +0000 (UTC) (envelope-from daniel@toomuchdata.se) Received: from pne-smtpout1-sn1.fre.skanova.net (pne-smtpout1-sn1.fre.skanova.net [81.228.11.98]) by mx1.freebsd.org (Postfix) with ESMTP id 42E398FC16 for ; Mon, 7 Sep 2009 08:40:09 +0000 (UTC) Received: from royal64.emp.zapto.org (195.198.193.168) by pne-smtpout1-sn1.fre.skanova.net (7.3.140.3) (authenticated as u35605266) id 4A9EEF8D00074F18; Mon, 7 Sep 2009 10:40:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5.7235.2 Date: Mon, 7 Sep 2009 10:40:06 +0200 Message-ID: <4F9C9299A10AE74E89EA580D14AA10A635E9C8@royal64.emp.zapto.org> In-Reply-To: <4A9F8F96.3090806@mapper.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ZFS and DMA read error Thread-Index: AcosevKatDhX6yWPRKmUOsgXRMwgtwDGuLVQ References: <4A9B731E.9050400@mapper.nl> <4A9CBDBB.3060403@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> <4A9F8F96.3090806@mapper.nl> From: "Daniel Eriksson" To: Cc: Mark Stapper Subject: RE: ZFS and DMA read error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 08:40:09 -0000 Mark Stapper wrote: > Yeah, i did the long SMART selftest three times now, each of which it > failed on the same LBA address. I assume 'smartctl -a /dev/adX' reports that the read test failed at LBA XXX something? > Why would I want to clear my driver before I run these tests? In this case it's not really clearing the drive you are aiming for, it is to write to every sector. If you have a failed sector (which you do), writing to it will force the drive firmware to remap the sector. As far as I know, most drives will not remap an unreadable sector until it is written to. /Daniel Eriksson From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 08:44:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 425F9106566B for ; Mon, 7 Sep 2009 08:44:56 +0000 (UTC) (envelope-from tmende@optusnet.com.au) Received: from mail06.syd.optusnet.com.au (mail06.syd.optusnet.com.au [211.29.132.187]) by mx1.freebsd.org (Postfix) with ESMTP id BF2238FC1A for ; Mon, 7 Sep 2009 08:44:55 +0000 (UTC) Received: from dell.mende.net.au (c122-106-179-66.belrs3.nsw.optusnet.com.au [122.106.179.66]) by mail06.syd.optusnet.com.au (8.13.1/8.13.1) with SMTP id n878ioGM009444 for ; Mon, 7 Sep 2009 18:44:52 +1000 Date: Mon, 7 Sep 2009 18:44:54 +1000 From: Tom Mende To: freebsd-questions@freebsd.org Message-Id: <20090907184454.fa9c4d99.tmende@optusnet.com.au> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Opera 10.00 (native) & flash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 08:44:56 -0000 Running on 7.2-RELEASE, Opera 10.00 build 4585 (native) and would like to view flash enabled websites. Anyone with a howto? Have googled extensively and followed a variety of methods all unsuccessful to date. Like to here from someone who has it running? Cheers, -- Tom Mende From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 10:41:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BD361065670 for ; Mon, 7 Sep 2009 10:41:08 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id BD0378FC17 for ; Mon, 7 Sep 2009 10:41:07 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1Mkbek-0000KU-Eh; Mon, 07 Sep 2009 12:41:06 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mkah2-0007cp-Gy; Mon, 07 Sep 2009 11:39:24 +0200 Message-ID: <4AA4D4C9.3050707@mapper.nl> Date: Mon, 07 Sep 2009 11:39:21 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Daniel Eriksson References: <4A9B731E.9050400@mapper.nl> <4A9CBDBB.3060403@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> <4A9F8F96.3090806@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C8@royal64.emp.zapto.org> In-Reply-To: <4F9C9299A10AE74E89EA580D14AA10A635E9C8@royal64.emp.zapto.org> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0EB84AD1B4167D94962A5224" Cc: freebsd-questions@freebsd.org Subject: Re: ZFS and DMA read error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 10:41:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0EB84AD1B4167D94962A5224 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Daniel Eriksson wrote: > Mark Stapper wrote: > > =20 >> Yeah, i did the long SMART selftest three times now, each of which it >> failed on the same LBA address. >> =20 > > I assume 'smartctl -a /dev/adX' reports that the read test failed at LB= A > XXX something? > =20 Indeed it does. Always with the same LBA code/sector/address or whichever= =2E > =20 >> Why would I want to clear my driver before I run these tests? >> =20 > > In this case it's not really clearing the drive you are aiming for, it > is to write to every sector. If you have a failed sector (which you do)= , > writing to it will force the drive firmware to remap the sector. As far= > as I know, most drives will not remap an unreadable sector until it is > written to. > =20 So I see. Could this be why I haven't had any read errors anymore? (After the zpool scrub that is) > /Daniel Eriksson > =20 --------------enig0EB84AD1B4167D94962A5224 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqk1MwACgkQN9xNqOOVnWAL3ACgjOp533CzWDX6JEN4jlc+zegf xIMAn2TvwObkK5ohE3H2VfhJmzwqN5O0 =n8a0 -----END PGP SIGNATURE----- --------------enig0EB84AD1B4167D94962A5224-- From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 10:45:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F81A106566B for ; Mon, 7 Sep 2009 10:45:27 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id D03C48FC13 for ; Mon, 7 Sep 2009 10:45:26 +0000 (UTC) Received: by fxm6 with SMTP id 6so1831393fxm.43 for ; Mon, 07 Sep 2009 03:45:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:mail-followup-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-operating-system; bh=9WoOMGbOFpx5K3ExZHw5254lmrtGnWbFtughFoxuyKQ=; b=OKQfokmUZ3Htdnojc5SlwgzZ5laNyjNyA7dsSUM/WD3EFKdO+67ifahaRZJEbhiULC hj+yZsy3aTsdwl+1sf4dduAT4qItAvn7WvJXYdo/lZBVkjhxwNh3sOjcFbQ1jZPMUHBX yNOzAhk6pn1ZQWjiumnzrw/+IndJHA/GChhiU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-operating-system; b=jfseMXBagi0aj6G1UleB57azxiJh9sy66rNN6YgPxFY9f3IAnVdr4j2KQ9uCofCSO+ zCbrEEbKzNbU6KBAktbGYRJKjgo7vLepXGDFaUEWapRJHdA+/v5T5a2Ln/s82dX4WJ/M L0GpSK/hnBmw4oQGuC+SWRe0mekMPkdc0UGQM= Received: by 10.204.154.135 with SMTP id o7mr11837992bkw.201.1252320325737; Mon, 07 Sep 2009 03:45:25 -0700 (PDT) Received: from aperture_lab ([77.66.145.99]) by mx.google.com with ESMTPS id 2sm7007567fks.33.2009.09.07.03.45.24 (version=SSLv3 cipher=RC4-MD5); Mon, 07 Sep 2009 03:45:25 -0700 (PDT) Received: by aperture_lab (sSMTP sendmail emulation); Mon, 7 Sep 2009 14:45:18 +0400 Date: Mon, 7 Sep 2009 14:45:18 +0400 From: Jeff Laine To: Tom Mende Message-ID: <20090907104518.GA38234@free.bsd.loc> Mail-Followup-To: Jeff Laine , Tom Mende , freebsd-questions@freebsd.org References: <20090907184454.fa9c4d99.tmende@optusnet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090907184454.fa9c4d99.tmende@optusnet.com.au> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-BETA2 i386 Cc: freebsd-questions@freebsd.org Subject: Re: Opera 10.00 (native) & flash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 10:45:27 -0000 On Mon,07-09-2009 [18:44:54], Tom Mende wrote: > Running on 7.2-RELEASE, Opera 10.00 build 4585 (native) and would like to view flash enabled websites. Anyone with a howto? Have googled extensively and followed a variety of methods all unsuccessful to date. Like to here from someone who has it running? > > Cheers, > -- > Tom Mende > _______________________________________________ Hi, I'm using graphics/gnash. It works good enough to watch youtube clips at least. Ok for both ffox and opera. -- Best regards, Jeff | "Nobody wants to say how this works. | | Maybe nobody knows ..." | | Xorg.conf(5) | From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 11:02:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAF41106568B for ; Mon, 7 Sep 2009 11:02:37 +0000 (UTC) (envelope-from daniel@toomuchdata.se) Received: from pne-smtpout2-sn1.fre.skanova.net (pne-smtpout2-sn1.fre.skanova.net [81.228.11.159]) by mx1.freebsd.org (Postfix) with ESMTP id 8941F8FC19 for ; Mon, 7 Sep 2009 11:02:37 +0000 (UTC) Received: from royal64.emp.zapto.org (195.198.193.168) by pne-smtpout2-sn1.fre.skanova.net (7.3.140.3) (authenticated as u35605266) id 4A2D61FD0084332A; Mon, 7 Sep 2009 13:02:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5.7235.2 Date: Mon, 7 Sep 2009 13:02:35 +0200 Message-ID: <4F9C9299A10AE74E89EA580D14AA10A635E9C9@royal64.emp.zapto.org> In-Reply-To: <4AA4D4C9.3050707@mapper.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ZFS and DMA read error Thread-Index: Acovp7Sy0hvnoC9cTDi7mjxOpljDlQAAtEeQ References: <4A9B731E.9050400@mapper.nl> <4A9CBDBB.3060403@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> <4A9F8F96.3090806@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C8@royal64.emp.zapto.org> <4AA4D4C9.3050707@mapper.nl> From: "Daniel Eriksson" To: Cc: Mark Stapper Subject: RE: ZFS and DMA read error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 11:02:37 -0000 Mark Stapper wrote: > So I see. Could this be why I haven't had any read errors anymore? > (After the zpool scrub that is) Possibly, but in that case the SMART selftest should pass also. Have you tried a selftest after you did the scrub? /Daniel Eriksson From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 11:14:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0764B1065679 for ; Mon, 7 Sep 2009 11:14:31 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp109.prem.mail.ac4.yahoo.com (smtp109.prem.mail.ac4.yahoo.com [76.13.13.92]) by mx1.freebsd.org (Postfix) with SMTP id A7F1C8FC13 for ; Mon, 7 Sep 2009 11:14:30 +0000 (UTC) Received: (qmail 28545 invoked from network); 7 Sep 2009 11:14:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=M66Oe9Z5tAli4H7gqdyrDKKhoFGMK7pKbqvofz/2/F+djtNZk8nqkdzkrKb2LxA0Bd3/ykeAKIFXkXwBse7An4X8jjTsdcaQIJpBz3iLn1383Dx+M9usCN/vABBXTngQjr0jxcpFG/03dJ2fLeWNISECe8P+sCpscPRIsbwsJco= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp109.prem.mail.ac4.yahoo.com with SMTP; 07 Sep 2009 04:14:29 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: QzrIIsoVM1nuRld1k4.yK3FJYeUykb6Ew7dvXM0lOC.mGJz7O9qTujFUwZT5WgxNcKr2vGQIbdCboy9.xQ2cXlrpiAh_uAj.QSY6r2DfACagwdbROiF58htQNzhmt51TnbKogHzHTqboMDcCNhhIHKyUw4AIg0w7UzAAB5AfjKpOHTEM.vowsa9e4fP_awsYrTH6pHDjI5s83UtOg45avYktevktCuYICFHMTJPmmImrpI4qhDGKJeZh2OdB2uO81cKCotZeKHHjhstd4xRAjDjHpOmIHwnbzeMMXdaCIdqHr0..C0q6BZ6jnhb4EDX.IbQtRiUBuQ-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id 66D722282C for ; Mon, 7 Sep 2009 07:14:29 -0400 (EDT) Date: Mon, 7 Sep 2009 07:14:29 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090907071429.59cab032@scorpio.seibercom.net> In-Reply-To: <20090907104518.GA38234@free.bsd.loc> References: <20090907184454.fa9c4d99.tmende@optusnet.com.au> <20090907104518.GA38234@free.bsd.loc> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Opera 10.00 (native) & flash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 11:14:31 -0000 On Mon, 7 Sep 2009 14:45:18 +0400 Jeff Laine wrote: > On Mon,07-09-2009 [18:44:54], Tom Mende wrote: > > Running on 7.2-RELEASE, Opera 10.00 build 4585 (native) and would > > like to view flash enabled websites. Anyone with a howto? Have > > googled extensively and followed a variety of methods all > > unsuccessful to date. Like to here from someone who has it running? > > I'm using graphics/gnash. It works good enough to watch youtube clips > at least. Ok for both ffox and opera. I don't think that readily addresses the OP's question. I personally have never gotten 'flash', or most other add-ons to work Opera. It is one of the main reasons that I discourage others from using it. It suffers even worse on a Windows machine. RoboForm does not work with the Opera browser. Opera has a closed architecture that does not allow third party browser extensions. I would strongly advocate the use of another browser. -- Jerry gesbbb@yahoo.com Necessity has no law. St. Augustine From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 11:16:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D3791065676 for ; Mon, 7 Sep 2009 11:16:04 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 041568FC35 for ; Mon, 7 Sep 2009 11:16:03 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so1328078eyf.9 for ; Mon, 07 Sep 2009 04:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=14vSXM8GLXfRgOAGMBzhxVQNxi0FHr6GI12wX/4H7Aw=; b=hCpmHFxbAse2a1H+2bE8WPwKjL+L0ljgaBgj2x5X8pbV7ya291mmmJsfaxRifYmG7g CZJkyz0cG3M3aO/2jxNxnPWRT7anlQhHAf8DW2NBVS1u+qUV59nGXOZFOsKGQCd0c+by PFG4opyRz8lDrju4rJpSXaI+EW9x7OEBsyM0c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=g0ohVRexWJUDxw1KNwVAcus8rU8I20W+3R2PSdm15TRWnTndLE8McXxXzvEmYs1N2n GixBeqQ21GX8TXnYHlOpbsGKUBwafFPkAfbTExFZbelqRNh/XZP5mnVExWTvmcyqE9c5 E/C3ki57+SKtUcFN3OMPdXg/yRMKsvTCvrm5U= MIME-Version: 1.0 Received: by 10.211.145.15 with SMTP id x15mr16035088ebn.6.1252322162735; Mon, 07 Sep 2009 04:16:02 -0700 (PDT) In-Reply-To: <20090907083112.GA2787@holstein.holy.cow> References: <64c038660909050933h25a91edcw56688993f5557ad2@mail.gmail.com> <44skf0c6zq.fsf@lowell-desk.lan> <20090907083112.GA2787@holstein.holy.cow> Date: Mon, 7 Sep 2009 05:16:02 -0600 Message-ID: <64c038660909070416y285e0fddv42a43a7c127d4a74@mail.gmail.com> From: Modulok To: "parv@pair.com" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Is there such thing as a 'soft checksum' tool? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 11:16:04 -0000 >> Modulok writes: >> > I'm not even sure such a tool exists, but it's worth asking: >> > >> > I'm looking for a pseudo-checksum tool for use with catalogging >> > images. For example, a strict checksum algorithm, like the sha >> > family, will produce a dramatically different checksum for two >> > files which differ by only a single bit. I'm looking for >> > something where two images images, which are similar, get a >> > proportionally similar checksum. When I speak of similarities >> > I'm referring to their image patterns. i.e two images of >> > differing sizes, which are otherwise identical, would produce >> > very similar checksums. So the closer the checksums are, the >> > more similar two given images are. >> > >> > Does anyone know of anything like this? > > See if this ... > > http://www.stonehenge.com/merlyn/LinuxMag/col50.html > > > ... fits. > > > - parv *laughs* It makes me feel pretty good after reading how Mr.Schwartz went about it. Before I got any replies I started to think about how I'd do it and began to sketch out an algorithm on the kitchen floor. (Largest black-board in my house.) The general approach was pretty much the same; Recursive bucketing of pixels and generating averaged values down to a user-defined finite limit. Thanks to all who have replied thus far! -Modulok- From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 11:29:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 763481065670 for ; Mon, 7 Sep 2009 11:29:34 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp103.prem.mail.ac4.yahoo.com (smtp103.prem.mail.ac4.yahoo.com [76.13.13.42]) by mx1.freebsd.org (Postfix) with SMTP id 0E3D68FC15 for ; Mon, 7 Sep 2009 11:29:33 +0000 (UTC) Received: (qmail 23541 invoked from network); 7 Sep 2009 11:29:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=eEa93LVw6VgCdHSryUuw9d2P8ViiIT+jTyVeaH3alEYaMGHpAOCZwYpwlacFR8b+VJ8WcfwH7s3KN5T729W7lEC9VGkzjU45wyWx9wcbngfyUdTC/p3IEDoS6YSaO2P5XBdnd21kuzCXPr7ttHF8zDq6dRlhu9EH/t6AY5oIJUY= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp103.prem.mail.ac4.yahoo.com with SMTP; 07 Sep 2009 04:29:33 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: _gNWx_QVM1koHH.L2mjmeI6sdybTNBHfz4hB0tECLmCoXJiCWHSHo7v0Z9T6nzywLzcJRy41sS7YdLP3UUn7JOKPDgwUeTuE9AdPV5VyclxAx5Z1TuhFZwSmRgwycDkZj88rRrTfufvBLOJDlRZYwnY6xBvcLTzjdswCYx1LM7YtjuSxXyJKzkky13xwqU0HssSW5tmzo2iRaQmMBAGNiy2C1QB11gWEmH7JkG5q1Ft0M8.JFN6cXZF74PpQsrop3mCxsLYI9oUxV4HEjx5pzYOZ14fgLrmTInafIUZQkPyoTLBiPFh9UNN.nPfbFuNvzOvTUJJdFA-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id DBBE12282C for ; Mon, 7 Sep 2009 07:29:32 -0400 (EDT) Date: Mon, 7 Sep 2009 07:29:32 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090907072932.6cc2e4d2@scorpio.seibercom.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Replacing linux_base-fc-4_14 with linux_base-f10-10_1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 11:29:34 -0000 I presently have linux_base-fc-4_14 installed on a FreeBSD-7.2 machine. Would there be any benefit installing linux_base-f10-10_1 instead? I believe I have to remove the linux_base-fc-4_14 installation first. Are there any pitfalls, etc? I assume I would have to rebuild any ports that depended on the older version after installing the newer one. What version is the default for FreeBSD-8.0 that will soon be released? -- Jerry gesbbb@yahoo.com In time, every post tends to be occupied by an employee who is incompetent to carry out its duties. Dr. L. J. Peter From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 11:59:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 756D71065692 for ; Mon, 7 Sep 2009 11:59:29 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 32EB98FC13 for ; Mon, 7 Sep 2009 11:59:28 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1MkcsZ-000HbJ-P7 for freebsd-questions@freebsd.org; Mon, 07 Sep 2009 15:59:27 +0400 From: Boris Samorodov To: freebsd-questions@freebsd.org References: <20090907072932.6cc2e4d2@scorpio.seibercom.net> Date: Mon, 07 Sep 2009 15:59:27 +0400 In-Reply-To: <20090907072932.6cc2e4d2@scorpio.seibercom.net> (Jerry's message of "Mon, 7 Sep 2009 07:29:32 -0400") Message-ID: <67796224@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Replacing linux_base-fc-4_14 with linux_base-f10-10_1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 11:59:29 -0000 On Mon, 7 Sep 2009 07:29:32 -0400 Jerry wrote: > I presently have linux_base-fc-4_14 installed on a FreeBSD-7.2 machine. > Would there be any benefit installing linux_base-f10-10_1 instead? I If it works for you, don't touch it. ;-) As for benefits: . use supported linux distributions (with security updates, etc.); . hardware acceleration _may_ work (strange but at some cases it works but not at others: googleearth works for me but has been reported by someone not to work). > believe I have to remove the linux_base-fc-4_14 installation first. Are > there any pitfalls, etc? I assume I would have to rebuild any ports > that depended on the older version after installing the newer one. There is some info at /usr/ports/UPDATING. > What version is the default for FreeBSD-8.0 that will soon be released? FreeBSD-8 uses linux -f10- infrastructure ports. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 12:16:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60F36106566B for ; Mon, 7 Sep 2009 12:16:43 +0000 (UTC) (envelope-from roys1012@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id DEF118FC1E for ; Mon, 7 Sep 2009 12:16:42 +0000 (UTC) Received: by fxm6 with SMTP id 6so1874935fxm.43 for ; Mon, 07 Sep 2009 05:16:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=xHtf4UtoH3JHHZ/z9LtSKkhRodzS2b7VizHF7IBHI2Y=; b=SWm8qrYdyVeyPkTTjo7ocPsy4qW/bvT2WwYA5Fn/cN8fQHM03PBRKUjaWYoVXB6M34 lnxoMzK/SXT2bYkJqMAmjdl4vNE/3vxIUdG78iuqLArARVaPegGXGkaga3OTNUEFV68H Q+tfKyNJhkqHOen/BFCZoWrp4ebu8hLlpF/Js= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=AzHlYfbsjGrDj/2iCwMvkFrbkI5k7LKU5wJsYie70f7DE6HfxUF5EOtgPGM3fcEQXZ 6HKSqHRkJnXy2RGpKrYxv0J0adFg6vhrvCtvOzGwkYqgXz9N8XX8Id0WrPrnXa7Ajdgf CeP2jh6CnDMeiYbiKqf77Lu1Y8EGl+NgzSfl0= Received: by 10.103.86.34 with SMTP id o34mr6098074mul.118.1252325801814; Mon, 07 Sep 2009 05:16:41 -0700 (PDT) Received: from ?192.168.1.125? (ip193-123-210-87.adsl2.static.versatel.nl [87.210.123.193]) by mx.google.com with ESMTPS id g1sm10857536muf.59.2009.09.07.05.16.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Sep 2009 05:16:41 -0700 (PDT) From: Roy Stuivenberg To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Mon, 07 Sep 2009 14:15:13 +0200 Message-Id: <1252325713.1219.8.camel@rs-unix.roycs.nl> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: language dutch spell check evolution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 12:16:43 -0000 Hello, Does anyone have a clue how I can change language to dutch in Evolution for spelling check? Default is now English, and that's my only option so it seems --> (7.2-stable & gnome2, English) Regards, Roy Stuivenberg. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 12:41:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 463D4106566B for ; Mon, 7 Sep 2009 12:41:55 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id EF0BB8FC15 for ; Mon, 7 Sep 2009 12:41:54 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 260977E853; Mon, 7 Sep 2009 04:42:05 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 7 Sep 2009 14:41:49 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <25314145.post@talk.nabble.com> <200909061238.32832.mel.flynn+fbsd.questions@mailing.thruhere.net> <25324178.post@talk.nabble.com> In-Reply-To: <25324178.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909071441.49763.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: jaymax Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 12:41:55 -0000 On Monday 07 September 2009 04:24:07 jaymax wrote: > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 507630 503694 -36674 108% / > > Don't know if the above can show anything It is of course entirely possible at this point, that the disk *is* full. Could you show: du -sxh / from single user mode, without anything mounted? That would ensure that the offending file is not hiding behind a mountpoint. Like: /usr/hiding_here. -- Mel From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 12:51:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A48A4106568D for ; Mon, 7 Sep 2009 12:51:28 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 615B78FC0A for ; Mon, 7 Sep 2009 12:51:27 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 2BFDF7E853; Mon, 7 Sep 2009 04:51:39 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 7 Sep 2009 14:51:23 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <20090906012107.E2731B7DD@kev.msw.wpafb.af.mil> <4AA47981.1090103@prgmr.com> In-Reply-To: <4AA47981.1090103@prgmr.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909071451.24123.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Michael David Crawford Subject: Re: Is there such thing as a 'soft checksum' tool? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 12:51:28 -0000 On Monday 07 September 2009 05:09:53 Michael David Crawford wrote: > > M> I'm looking for a pseudo-checksum tool for use with cataloging images. > > I've seen such tools advertised, but they were proprietary products and > only worked on windows. > > One way you could approach it might be to use a blur filter to blur each > of your images, and then to compare the blurred images. Small > differences in individual pixels would be blurred away. Did you guys miss Charlie Kester's message? And the above does not work, because of compression anyway. Just because you think of an image as a bitmap, does not mean it's stored as such. -- Mel From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 13:03:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB4061065672 for ; Mon, 7 Sep 2009 13:03:14 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9E6CB8FC08 for ; Mon, 7 Sep 2009 13:03:14 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id C93807E853; Mon, 7 Sep 2009 05:03:25 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 7 Sep 2009 15:03:10 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <560f92640909061727o5e8ce3b2k9248e28fe878f58a@mail.gmail.com> In-Reply-To: <560f92640909061727o5e8ce3b2k9248e28fe878f58a@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909071503.10989.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Nerius Landys Subject: Re: wireless: host access point w/ WAP help! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 13:03:16 -0000 Hi, 0) Always mention OS version, bonus points for uname -a. On Monday 07 September 2009 02:27:04 Nerius Landys wrote: > I am following the Handbook instructions for setting up a FreeBSD > wireless host access point: > http://www.freebsd.org/doc/en/books/handbook/network-wireless.html > > root@speedy# dmesg | grep ath > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > ath0: mem 0xff8f0000-0xff8fffff irq 21 at device 0.0 on pci1 > ath0: [ITHREAD] > ath0: WARNING: using obsoleted if_watchdog interface > ath0: Ethernet address: 00:02:6f:61:e6:7d > ath0: mac 7.9 phy 4.5 radio 5.6 > ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x490 > hal flags 0x150), hal status 12 I read you got it working so far, but if you want this resolved or diagnosed, the uname -a is mandatory and an ident /boot/kernel/if_ath.ko as well. -- Mel From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 13:15:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF5281065672 for ; Mon, 7 Sep 2009 13:15:08 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 98C1F8FC20 for ; Mon, 7 Sep 2009 13:15:08 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 46D7E7E854; Mon, 7 Sep 2009 05:15:19 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 7 Sep 2009 15:15:02 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <20090907184454.fa9c4d99.tmende@optusnet.com.au> <20090907104518.GA38234@free.bsd.loc> <20090907071429.59cab032@scorpio.seibercom.net> In-Reply-To: <20090907071429.59cab032@scorpio.seibercom.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909071515.03658.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Subject: Re: Opera 10.00 (native) & flash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 13:15:09 -0000 On Monday 07 September 2009 13:14:29 Jerry wrote: > Opera has a closed architecture that does not allow > third party browser extensions. For one, there are widgets. For two, it still supports the nsplugin interface. For three, some people argue that allowing extensions access to local disk, network threads and pretty much everything in the browser, including the ability to fight wars with competing products[1], is less preferable. [1] -- Mel From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 13:48:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21CCE1065670 for ; Mon, 7 Sep 2009 13:48:15 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out2.tiscali.nl (smtp-out2.tiscali.nl [195.241.79.177]) by mx1.freebsd.org (Postfix) with ESMTP id D24338FC0A for ; Mon, 7 Sep 2009 13:48:14 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out2.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MkeZp-0006LA-O1; Mon, 07 Sep 2009 15:48:13 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MkeZX-00080R-K3; Mon, 07 Sep 2009 15:47:55 +0200 Message-ID: <4AA50F08.3060200@mapper.nl> Date: Mon, 07 Sep 2009 15:47:52 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Daniel Eriksson References: <4A9B731E.9050400@mapper.nl> <4A9CBDBB.3060403@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> <4A9F8F96.3090806@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C8@royal64.emp.zapto.org> <4AA4D4C9.3050707@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C9@royal64.emp.zapto.org> In-Reply-To: <4F9C9299A10AE74E89EA580D14AA10A635E9C9@royal64.emp.zapto.org> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig02DBA636E139D4088E072D00" Cc: freebsd-questions@freebsd.org Subject: Re: ZFS and DMA read error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 13:48:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig02DBA636E139D4088E072D00 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Daniel Eriksson wrote: > Mark Stapper wrote: > > =20 >> So I see. Could this be why I haven't had any read errors anymore? >> (After the zpool scrub that is) >> =20 > > Possibly, but in that case the SMART selftest should pass also. Have yo= u > tried a selftest after you did the scrub? > > /Daniel Eriksson > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg" > =20 multiple times --------------enig02DBA636E139D4088E072D00 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqlDwsACgkQN9xNqOOVnWAH2ACghjLhx0Tfr6FNQQaxLDJrIfCU cVYAniBrEXz1vQSIPnLpXi2cyFtGBTFa =kpie -----END PGP SIGNATURE----- --------------enig02DBA636E139D4088E072D00-- From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 13:53:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBCEF1065672 for ; Mon, 7 Sep 2009 13:53:39 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out3.tiscali.nl (smtp-out3.tiscali.nl [195.241.79.178]) by mx1.freebsd.org (Postfix) with ESMTP id 8CCDF8FC1F for ; Mon, 7 Sep 2009 13:53:39 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out3.tiscali.nl with esmtp (Exim) (envelope-from ) id 1Mkef4-00085K-3t; Mon, 07 Sep 2009 15:53:38 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mkeem-00081F-0r; Mon, 07 Sep 2009 15:53:20 +0200 Message-ID: <4AA5104C.6090904@mapper.nl> Date: Mon, 07 Sep 2009 15:53:16 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Roy Stuivenberg References: <1252325713.1219.8.camel@rs-unix.roycs.nl> In-Reply-To: <1252325713.1219.8.camel@rs-unix.roycs.nl> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE977A290A734C45CECA5EF9F" Cc: freebsd-questions@freebsd.org Subject: Re: language dutch spell check evolution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 13:53:39 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE977A290A734C45CECA5EF9F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Roy Stuivenberg wrote: > Hello, > > Does anyone have a clue how I can change language to dutch in Evolution= > for spelling check? Default is now English, and that's my only option > so it seems --> (7.2-stable & gnome2, English) > > Regards, > > Roy Stuivenberg. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg" > =20 You should install the dutch aspell dictionary: textproc/nl-aspell Groeten, Mark --------------enigE977A290A734C45CECA5EF9F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqlEE8ACgkQN9xNqOOVnWD26QCfZ+3gvl/Vt5odGuo1POJ0blcd 7hsAn0ECsnkhE3HfpL+CMlIUuedWcBSg =UNCn -----END PGP SIGNATURE----- --------------enigE977A290A734C45CECA5EF9F-- From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 13:54:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C608D106566B for ; Mon, 7 Sep 2009 13:54:29 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp105.prem.mail.ac4.yahoo.com (smtp105.prem.mail.ac4.yahoo.com [76.13.13.44]) by mx1.freebsd.org (Postfix) with SMTP id 6A5F58FC12 for ; Mon, 7 Sep 2009 13:54:29 +0000 (UTC) Received: (qmail 9325 invoked from network); 7 Sep 2009 13:54:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=ArzHnjaWAns7O2ae6gWzKxW4FIRh3VYdKoiIpljropYwB0Ar4uMQK3lpGcTtZywHLo3Z2AIMlG2tNLFj1La/qoKRMA0n3aM6tjg2UtFxyXAhyraADIP1yPHDQ67fQgCJ0M72Slyjt5lHTgk0RYRnuOhtFqaiK5XnSag5uDXxaiw= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp105.prem.mail.ac4.yahoo.com with SMTP; 07 Sep 2009 06:54:28 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: ciC6meQVM1ngm2QJm9o9KInNia6ubRSzHadpb2PHQVId2Sz.DAZSNnEpj4GMOTbnortUMIeIvZwU.lmiqYnsm5KbrGedx7FpG1r9qlgpj9iY_uVZBnLgj2iBd8KoTZ9iz2gPTe5pdFPEIbHa9etpBov9wcQGu_Ahe8OeBCkX4k3XNQN41IZryaC9K38471gN1bjU.I9H60ie5_pbtzgXz0hJYIQKdbMojfUhN72lDpVUkcHkwS71RLh_0w.0dVHbayRmxQ_vDFhAKH4pE6L0u_Ci9ZcsvVCvfJaBvaPVW.RC1ZxS6umGW07x.MgYs.J9L5q6CA1FSsXDO3Z0zSNEMregyURtsg1sVdCdGWgCzbEypQKBYYspSnlOVQ-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id E542C2280B for ; Mon, 7 Sep 2009 09:54:27 -0400 (EDT) Date: Mon, 7 Sep 2009 09:54:27 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090907095427.3055470f@scorpio.seibercom.net> In-Reply-To: <200909071515.03658.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <20090907184454.fa9c4d99.tmende@optusnet.com.au> <20090907104518.GA38234@free.bsd.loc> <20090907071429.59cab032@scorpio.seibercom.net> <200909071515.03658.mel.flynn+fbsd.questions@mailing.thruhere.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Opera 10.00 (native) & flash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 13:54:30 -0000 On Mon, 7 Sep 2009 15:15:02 +0200 Mel Flynn wrote: > For one, there are widgets. For two, it still supports > the nsplugin interface. For three, some people argue > that allowing extensions access to local disk, network > threads and pretty much everything in the browser, > including the ability to fight wars with competing > products[1], is less preferable. Then again, there are those who are not as paranoid as others. In any case, Opera (and I have not tried the 10 version) is IMHO, not as serviceable as many competing alternative browsers. However, if it meets your needs, then so be it. Please, do not CC me as I am subscribed to this list. I don't need two copies of the same post. -- Jerry gesbbb@yahoo.com If you're constantly being mistreated, you're cooperating with the treatment. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 14:15:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14037106566C for ; Mon, 7 Sep 2009 14:15:57 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id C3D4B8FC14 for ; Mon, 7 Sep 2009 14:15:56 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1Mkf0J-0004B5-Sy for freebsd-questions@freebsd.org; Mon, 07 Sep 2009 15:15:55 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1Mkf0J-0001F7-5q for freebsd-questions@freebsd.org; Mon, 07 Sep 2009 15:15:35 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id n87EFYpq076291 for ; Mon, 7 Sep 2009 15:15:34 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id n87EFYvS076290 for freebsd-questions@freebsd.org; Mon, 7 Sep 2009 15:15:34 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 7 Sep 2009 15:15:34 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20090907141534.GA76273@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.2 X-Spam-Level: ---- Subject: xorg: (EE) XKB: No components provided for device Virtual core keyboard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 14:15:57 -0000 This has probably been discussed many times already, but I just cannot find any relevant advice on the net. On 8.0-beta2 i386 with intel 845M chip and xf86-video-intel-2.7.1 when I try to login into xdm login prompt, the login and passwd are accepted, I get a black screen for a second and then I get back again to the xdm login prompt. In /var/log/xdm.log I get (EE) XKB: No components provided for device Virtual core keyboard I've updated to full x11/xorg port. All my ports are up to date. My xorg.conf is below. Please advise many thanks ################################################# > cat /etc/X11/xorg.conf Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 Option "DontZap" "false" EndSection #Section "Module" # Load "freetype" #EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" FontPath "/usr/local/lib/X11/fonts/cyrillic/" EndSection Section "Monitor" Identifier "Monitor0" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [] #Option "SWcursor" # [] #Option "ColorKey" # #Option "CacheLines" # #Option "Dac6Bit" # [] #Option "DRI" # [] #Option "NoDDC" # [] #Option "ShowCache" # [] #Option "XvMCSurfaces" # #Option "PageFlip" # [] #Option "AccelMethod" "UXA" Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 32 EndSubSection EndSection -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 331 5924 From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 07:38:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9CF11065672 for ; Mon, 7 Sep 2009 07:38:09 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 45F058FC0C for ; Mon, 7 Sep 2009 07:38:09 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n877brsF021089; Mon, 7 Sep 2009 09:37:54 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n877bqAG021088; Mon, 7 Sep 2009 09:37:52 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Mon, 7 Sep 2009 09:37:51 +0200 From: Ruben de Groot To: Olivier Nicole Message-ID: <20090907073751.GA21033@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Olivier Nicole , ruel.freebsd@gmail.com, Johan@double-l.nl, freebsd@edvax.de, freebsd-questions@freebsd.org References: <20090720105553.a665479b.freebsd@edvax.de> <200907201017.n6KAHBmE003738@banyan.cs.ait.ac.th> <20090720105128.GA88495@ei.bzerk.org> <200909040743.n847h0n4030375@banyan.cs.ait.ac.th> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200909040743.n847h0n4030375@banyan.cs.ait.ac.th> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_66 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Mon, 07 Sep 2009 09:37:57 +0200 (CEST) X-Mailman-Approved-At: Mon, 07 Sep 2009 14:54:58 +0000 Cc: ruel.freebsd@gmail.com, Johan@double-l.nl, freebsd@edvax.de, mail25@bzerk.org, freebsd-questions@freebsd.org Subject: Re: Samba PDC with LDAP backend X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 07:38:09 -0000 On Fri, Sep 04, 2009 at 02:43:00PM +0700, Olivier Nicole typed: > Hi Ruel, > > > But, I have one question left.. > > How do you join the Windows xp client on the domain? Is there another tweak > > must be done? > > The same way a PC would join any samba domain. > > The PC joining Samba does not know that Samba is using LDAP or > anything else for authentication, so the PC talks to Samba the way it > always does/did. > > (I managed, with some effort, to replace one Samba server > authenticating to Unix /etc/passwd, by a Samba server authenticating > with LDAP, without the XP clients noticing, that is nothing at all to > be done on XP). Yes, I have a script that does precisely this (read master.passwd, smbpasswd and group and create an LDIF to import into LDAP. This is now being used for the migration of 1200 samba servers from backend=smbpasswd to backend=ldapsam. Most important things is preserving the SID's (net getlocalsid) and group mappings (net groupmap list). Windows clients will not notice any difference. Ruben From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 16:12:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23DDA106566B for ; Mon, 7 Sep 2009 16:12:06 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward6.yandex.ru (forward6.yandex.ru [77.88.60.125]) by mx1.freebsd.org (Postfix) with ESMTP id CB4168FC12 for ; Mon, 7 Sep 2009 16:12:05 +0000 (UTC) Received: from smtp6.yandex.ru (smtp6.yandex.ru [77.88.61.56]) by forward6.yandex.ru (Yandex) with ESMTP id EF616DC818C; Mon, 7 Sep 2009 20:12:03 +0400 (MSD) Received: from HOMEUSER (unknown [77.93.42.18]) by smtp6.yandex.ru (Yandex) with ESMTPA id 164A614C8062; Mon, 7 Sep 2009 20:11:55 +0400 (MSD) X-Nat-Received: from [192.168.9.80]:1490 [ident-empty] by SPAM FILTER: with TPROXY id 1252339980.24614 abuse-to kes-kes@yandex.ru Date: Mon, 7 Sep 2009 19:11:59 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <917946712.20090907191159@yandex.ru> To: Ian Smith In-Reply-To: <20090906232257.N89278@sola.nimnet.asn.au> References: <20090905120021.9BA271065816@hub.freebsd.org> <20090906232257.N89278@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1252339923 X-Yandex-Spam: 1 X-Yandex-Front: smtp6.yandex.ru Cc: freebsd-questions@freebsd.org Subject: Re[2]: How to correct *Failed sysctlbyname("net.inet.ip.fw.tables_max")* X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 16:12:06 -0000 Çäðàâñòâóéòå, Ian. Âû ïèñàëè 6 ñåíòÿáðÿ 2009 ã., 16:37:56: IS> In freebsd-questions Digest, Vol 274, Issue 12, Message 18 IS> On Sat, 5 Sep 2009 12:57:46 +0300 ??????? ??????? wrote: >> vpn# ipfw table 12 list >> ipfw: Failed sysctlbyname("net.inet.ip.fw.tables_max") >> vpn# sysctl -a | grep net.inet.ip.fw >> net.inet.ip.fw.dyn_keepalive: 1 >> net.inet.ip.fw.dyn_short_lifetime: 5 >> net.inet.ip.fw.dyn_udp_lifetime: 10 >> net.inet.ip.fw.dyn_rst_lifetime: 1 >> net.inet.ip.fw.dyn_fin_lifetime: 1 >> net.inet.ip.fw.dyn_syn_lifetime: 20 >> net.inet.ip.fw.dyn_ack_lifetime: 300 >> net.inet.ip.fw.static_count: 46 >> net.inet.ip.fw.dyn_max: 4096 >> net.inet.ip.fw.dyn_count: 0 >> net.inet.ip.fw.curr_dyn_buckets: 256 >> net.inet.ip.fw.dyn_buckets: 256 >> net.inet.ip.fw.default_rule: 65535 >> net.inet.ip.fw.verbose_limit: 0 >> net.inet.ip.fw.verbose: 1 >> net.inet.ip.fw.debug: 1 >> net.inet.ip.fw.one_pass: 0 >> net.inet.ip.fw.autoinc_step: 100 >> net.inet.ip.fw.enable: 1 >> vpn# uname -a >> FreeBSD vpn.in 7.1-RELEASE-p7 FreeBSD 7.1-RELEASE-p7 #1: Sat Sep 5 00:26:18 EEST 2009 kes@vpn.in:/usr/obj/usr/src/sys/KES_KERN_v71 i386 >> >> I just upgrade from 7.0. >> Sources are RELENG_7_1 IS> Kes, perhaps your kernel and userland sources may be out of synch? IS> I haven't hunted through CVS, but located a message in ipfw@ from IS> Ganbold with a patch proposing to add that very sysctl to ip_fw2.c IS> dated 1st September 2008 .. was that before or after 7.1-RELEASE? IS> Happy hunting, Ian I have just updated: kes# cat cvsup-src.conf *default host=cvsup7.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7_1 *default delete use-rel-suffix *default compress src-all #cvsup -g -L 2 /usr/local/etc/cvsup/cvsup-src.conf Then make buildkernel KERNCONF=KES_KERN_v71 make installkernel KERNCONF=KES_KERN_v71 -- Ñ óâàæåíèåì, Êîíüêîâ mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 18:50:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CEB8106566B for ; Mon, 7 Sep 2009 18:50:49 +0000 (UTC) (envelope-from freminlins@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 8E7238FC0A for ; Mon, 7 Sep 2009 18:50:48 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so1403638eyf.9 for ; Mon, 07 Sep 2009 11:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=eiGYKdFhEnmmXW2RQfkgQ6S1bn9od2ZDcEY8dUW/DWM=; b=lI33QmJCnCi5bq7kpamNKY1ize8WtvYS/6XMu4OOUJluMQl+9x7YI6zNeXUzNwegaW 0a54Vzx4c9UYr2twtmCZwKP8aMc8B0BnNcDlBsU8u32Il0opKy0Nf3z0K8Xf6uJxNB8w XdfTubMrBo2WUp0lJcT++t0lDCuCZivVr6uZ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=g1/TTBLS6Df75iOFsQVoGElpwiBOIaBj76aSK8pT1XP53jTs2Y4VhxqRKNqIE3mFP/ TAVf+giPR03e/j+5DlnXlNzRLU7efg0v4NXRzrDPrLhKEnw8ts7F6TQgBiarWvbWqW5E MJwdK790EzmAPMwnqXkfyYElEphAbpj6pxJvY= MIME-Version: 1.0 Received: by 10.211.159.3 with SMTP id l3mr2106196ebo.37.1252349447354; Mon, 07 Sep 2009 11:50:47 -0700 (PDT) In-Reply-To: <20090907071429.59cab032@scorpio.seibercom.net> References: <20090907184454.fa9c4d99.tmende@optusnet.com.au> <20090907104518.GA38234@free.bsd.loc> <20090907071429.59cab032@scorpio.seibercom.net> Date: Mon, 7 Sep 2009 19:50:47 +0100 Message-ID: From: Freminlins To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Opera 10.00 (native) & flash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 18:50:49 -0000 2009/9/7 Jerry > I don't think that readily addresses the OP's question. I personally > have never gotten 'flash', or most other add-ons to work Opera. It is > one of the main reasons that I discourage others from using it. It > suffers even worse on a Windows machine. RoboForm does not work with > the Opera browser. Opera has a closed architecture that does not allow > third party browser extensions > Sorry, but that is just bollocks. Opera and Flash work perfectly well on Windows and Solaris (yep, there's a native plugin). And Flash is a third party plugin, i.e. it is not provided by Opera. If Adobe doesn't provide a native Flash plugin for FreeBSD that is not Opera's fault. > I would strongly advocate the use of another browser. And still there is no native FreeBSD plugin. If you can't get it to work you should ask for some help. Jerry > gesbbb@yahoo.com > MF. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 18:54:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5273106568B for ; Mon, 7 Sep 2009 18:54:52 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 94FED8FC13 for ; Mon, 7 Sep 2009 18:54:52 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MkjMZ-0007k2-TH for freebsd-questions@freebsd.org; Mon, 07 Sep 2009 11:54:51 -0700 Message-ID: <25334820.post@talk.nabble.com> Date: Mon, 7 Sep 2009 11:54:51 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <20090907091442.f011d137.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com References: <25314145.post@talk.nabble.com> <200909060958.11114.mel.flynn+fbsd.questions@mailing.thruhere.net> <25316313.post@talk.nabble.com> <200909061238.32832.mel.flynn+fbsd.questions@mailing.thruhere.net> <25324178.post@talk.nabble.com> <6201873e0909062008y4624d3d4y5eca6e21c82f4624@mail.gmail.com> <25325443.post@talk.nabble.com> <20090907091442.f011d137.freebsd@edvax.de> Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 18:54:52 -0000 Polytropon wrote: > > > You can of course read "man hier" to obtain information about > the file system hierarchy. In settings where partitions are > used to separate functional parts of the hierarchy, there's > often not much stuff that goes into /, because / is primarily > reserved for the basic system and the mountpoints; things > like /tmp, /var, /usr and /home go to different partitions. > > Check the content of /boot. Maybe you have more than one > kernel image and module files in there. You can as well use > > # du -sch / > > with only / mounted to get a first impression which subtrees > do occupy how much disk space. > > mach_1# df -k > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 507630 407384 59636 87% / > devfs 1 1 0 100% /dev > /dev/ad0s1e 505646 14212 450984 3% /tmp > /dev/ad0s1f 36205990 25759138 7550374 77% /usr > /dev/ad1s1e 74696394 9836586 58884098 14% /disk02 > /dev/ad4s1d 376405390 252115006 94177954 73% /disk03 > devfs 1 1 0 100% /usr/var/named/dev > mach_1# cd / > mach_1# du -xhc > 2.0K ./.snap > 2.0K ./disk02 > 2.0K ./disk03 > 2.0K ./tmp > 2.0K ./usr > 512B ./dev > 2.0K ./cdrom1 > 2.1M ./stand > 3.1M ./etc > 2.0K ./cdrom > 902K ./bin > 21M ./boot > 3.2M ./lib > 270K ./libexec > 2.0K ./mnt > 2.0K ./proc > 2.0K ./dist > 7.8M ./root > 3.3M ./sbin > 2.0K ./.mozilla > 2.0K ./net > 2.0K ./WARD2V1 > 2.0K ./ORIN > 2.0K ./WARA > 2.0K ./ORNUSR > 2.0K ./WARD3V1 > 2.0K ./ORND02 > 2.0K ./WARUSR > 1.2M ./package > 2.0K ./service > 4.0K ./lost+found > 43M . > 43M total > Do these look normal or average, compare total with df - k output of /dev/ad0s1a I don't quite know what next to do -- View this message in context: http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25334820.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 19:12:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 289701065670 for ; Mon, 7 Sep 2009 19:12:32 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id EC7888FC0C for ; Mon, 7 Sep 2009 19:12:31 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id BF9A77E854 for ; Mon, 7 Sep 2009 11:12:43 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 7 Sep 2009 21:12:13 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA4; KDE/4.2.4; i386; ; ) References: <25314145.post@talk.nabble.com> <20090907091442.f011d137.freebsd@edvax.de> <25334820.post@talk.nabble.com> In-Reply-To: <25334820.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909072112.14374.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 19:12:32 -0000 On Monday 07 September 2009 20:54:51 jaymax wrote: > > mach_1# df -k > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/ad0s1a 507630 407384 59636 87% / > > devfs 1 1 0 100% /dev > > /dev/ad0s1e 505646 14212 450984 3% /tmp > > /dev/ad0s1f 36205990 25759138 7550374 77% /usr > > /dev/ad1s1e 74696394 9836586 58884098 14% /disk02 > > /dev/ad4s1d 376405390 252115006 94177954 73% /disk03 > > devfs 1 1 0 100% /usr/var/named/dev > > mach_1# cd / > > mach_1# du -xhc > > 43M total > > Do these look normal or average, compare total with df - k output of > /dev/ad0s1a > I don't quite know what next to do Did you do the du without anything mounted? Cause you have the df output with mounts. If you can't find the missing space, then I suggest making a backup of / with dump(8), booting from livefs and restoring the dump. The dump should not be in the 390M range, rather in the 40-50M range. -- Mel From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 19:49:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4512F1065679 for ; Mon, 7 Sep 2009 19:49:46 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0D87E8FC1D for ; Mon, 7 Sep 2009 19:49:46 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id 3A5A634D442; Mon, 7 Sep 2009 20:49:42 +0100 (BST) From: David Southwell Organization: Voice & Vision To: freebsd-questions@freebsd.org Date: Mon, 7 Sep 2009 20:49:42 +0100 User-Agent: KMail/1.12.1 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.1; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200909072049.42122.david@vizion2000.net> Subject: "turn authentication on" -- a simple how to please!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 19:49:46 -0000 My mailserver uses postfix and has a number of virtual domains. I am getting the following difficulties on delivery of legitimate emails to remote addresses failing with a request to tun authentication on. I am comparatively new to managing mailservers. Could someone please tell me what I need to do. My searches on google seem to give me long explanations of what is meant to happen but I cannot find simple instructions on how to fulfill the requirements!! dns1# fgrep abc /var/log/maillog Sep 7 17:01:59 dns1 postfix/smtp[86489]: 179BE34D41D: to=, relay=mail.abc.org.uk[xxx.xxx.xxx.xxx]:25, delay=2.2, delays=2/0/0.15/0.03, dsn=5.0.0, status=bounced (host mail.abc.org.uk[xxx.xxx.xxx.xxx] said: 550 Please turn authentication on (in reply to RCPT TO command)) dns1# Thanks in advance david From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 19:58:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 252DB106566C for ; Mon, 7 Sep 2009 19:58:28 +0000 (UTC) (envelope-from frank.wissmann41@web.de) Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by mx1.freebsd.org (Postfix) with ESMTP id DD9468FC1A for ; Mon, 7 Sep 2009 19:58:27 +0000 (UTC) Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id 78D5511376CFE for ; Mon, 7 Sep 2009 21:58:26 +0200 (CEST) Received: from [77.134.94.8] (helo=grissom.einundvierzig.org) by smtp08.web.de with asmtp (WEB.DE 4.110 #314) id 1MkkJn-0001Ci-00 for freebsd-questions@freebsd.org; Mon, 07 Sep 2009 21:56:03 +0200 Message-ID: <4AA56577.7050608@web.de> Date: Mon, 07 Sep 2009 21:56:39 +0200 From: Frank Wissmann User-Agent: Thunderbird 2.0.0.21 (X11/20090421) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: frank.wissmann41@web.de X-Sender: X-Provags-ID: Subject: Problems with module cx88 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 19:58:28 -0000 Hi, folks! Having installed a TV-card (WinTV HVR-1100) I now want to use it. there are currently two problems: 1. When I boot into KDE 3.5.10, my artsd is not starting giving the message: "Can't open /dev/dsp - operation not permitted" This is happening till I installed and loaded (via /boot/loader.conf) the modules under /usr/ports/multimedia/cx88. Are there any conflicts known which can be solved? 2. When I try to capture a video from my old tape-recorder with the command cx88 -d /dev/cx88video0 -f name_of_movie.m2t -x /home/frank/cx88.xml I get the following message: [cx88] Warning: the -f option is deprecated; please instead use -u with a file:// URL prefix [cx88] Unable to create cx88 video driver What does that mean? I thought I had installed the drivers with the port. Can anybody point me to any web resource? I still found http://corona.homeunix.net/cx88wiki but it doesn't seem to fit my needs. Greetings Frank From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 20:12:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A010A1065676 for ; Mon, 7 Sep 2009 20:12:08 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 6EEA98FC0C for ; Mon, 7 Sep 2009 20:12:08 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 4468C7E818; Mon, 7 Sep 2009 12:12:19 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 7 Sep 2009 22:12:03 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA4; KDE/4.2.4; i386; ; ) References: <200909072049.42122.david@vizion2000.net> In-Reply-To: <200909072049.42122.david@vizion2000.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909072212.04284.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: David Southwell Subject: Re: "turn authentication on" -- a simple how to please!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 20:12:08 -0000 On Monday 07 September 2009 21:49:42 David Southwell wrote: > My mailserver uses postfix and has a number of virtual domains. I am > getting the following difficulties on delivery of legitimate emails to > remote addresses failing with a request to tun authentication on. Normally this shouldn't occur if you are relaying yourself. Remote mail servers should not have authentication on for outside mail. This would only be the case if the remote postmaster considers his mailserver private and does not want to receive mail from unknown people. Therefore, this should only happen if your relay via your ISP using the relay_host parameter in main.cf. > I am > comparatively new to managing mailservers. Could someone please tell me > what I need to do. My searches on google seem to give me long explanations > of what is meant to happen but I cannot find simple instructions on how to > fulfill the requirements!! > > dns1# fgrep abc /var/log/maillog > Sep 7 17:01:59 dns1 postfix/smtp[86489]: 179BE34D41D: > to=, > relay=mail.abc.org.uk[xxx.xxx.xxx.xxx]:25, delay=2.2, delays=2/0/0.15/0.03, > dsn=5.0.0, status=bounced (host mail.abc.org.uk[xxx.xxx.xxx.xxx] said: 550 > Please turn authentication on (in reply to RCPT TO command)) > dns1# Let us know what's not simple about this: http://www.postfix.org/SASL_README.html#client_sasl -- Mel From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 20:39:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AE2B106568D for ; Mon, 7 Sep 2009 20:39:22 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp105.prem.mail.ac4.yahoo.com (smtp105.prem.mail.ac4.yahoo.com [76.13.13.44]) by mx1.freebsd.org (Postfix) with SMTP id B36A48FC14 for ; Mon, 7 Sep 2009 20:39:21 +0000 (UTC) Received: (qmail 35802 invoked from network); 7 Sep 2009 20:39:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=xS8jXtzFYIJ61PmypUnvIPJRcb0UZuQe6rUT2K7DNsy5jbI/Bt6EuiOYptCXuwqNxTEOpOCsCULhZTke/RAXF2s7pOlzkRw/8X9O/SqTihrKJ6YHpNejzNsOBPQZDykZ2lMhJ4rNBp6TUCnIR9kMu0phVuYZo90ehH2bGVXoMbA= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp105.prem.mail.ac4.yahoo.com with SMTP; 07 Sep 2009 13:39:20 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: RSO6gQQVM1nWA.5cpfnEz19nJInZv9p6RUOg5WvwpK_FMfKlG5dg3D8DxCWxUXN288hYLDS3zhUi7qcbbypOIxqBIxi8H0NzN2Exqh_2M4UCju4HGF9NV.1qkk.s7Azk7MxK_55XW9DeqtFjC4o3ZyzpfxKBUQYAETxaDlbM44xmY1mLZlB90fQklVUZoBdoyb2C0LcZDrHZ7uKLj79v6aTY868QH3.EKFEx_TFvDte_U5AVHB.xUICGuCzWhf5zv6ie_ma7GaVSiP1mTq46CRVtlSkiuLdxicaWgldVGNdhmxOAWyx9CQn8eNekZSihxV.SB3YxGS4- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id 92F722280B for ; Mon, 7 Sep 2009 16:39:20 -0400 (EDT) Date: Mon, 7 Sep 2009 16:39:20 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090907163920.149f1b17@scorpio.seibercom.net> In-Reply-To: <200909072049.42122.david@vizion2000.net> References: <200909072049.42122.david@vizion2000.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: "turn authentication on" -- a simple how to please!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 20:39:22 -0000 On Mon, 7 Sep 2009 20:49:42 +0100 David Southwell wrote: > My mailserver uses postfix and has a number of virtual domains. I am > getting the following difficulties on delivery of legitimate emails > to remote addresses failing with a request to tun authentication on. > I am comparatively new to managing mailservers. Could someone please > tell me what I need to do. My searches on google seem to give me long > explanations of what is meant to happen but I cannot find simple > instructions on how to fulfill the requirements!! > > dns1# fgrep abc /var/log/maillog > Sep 7 17:01:59 dns1 postfix/smtp[86489]: 179BE34D41D: > to=, > relay=mail.abc.org.uk[xxx.xxx.xxx.xxx]:25, delay=2.2, > delays=2/0/0.15/0.03, dsn=5.0.0, status=bounced (host > mail.abc.org.uk[xxx.xxx.xxx.xxx] said: 550 Please turn authentication > on (in reply to RCPT TO command)) dns1# You question is probably better suited for the Postfix forum: http://www.postfix.com/ In any case, you will need to post the output of: postconf -n Alternately, you can use: postfinger, available at: http://ftp.wl0.org/SOURCES/postfinger You could also try reading the information at: http://www.postfix.com/DEBUG_README.html -- Jerry gesbbb@yahoo.com As well look for a needle in a bottle of hay. Miguel de Cervantes From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 21:14:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BADCB1065672 for ; Mon, 7 Sep 2009 21:14:38 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id 7BEA58FC1D for ; Mon, 7 Sep 2009 21:14:38 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so1144970and.13 for ; Mon, 07 Sep 2009 14:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=0o95YxtI3CsUwlDa2dQ0y0qwopm82YqmVXrUA2qrG0Q=; b=i9g1LZ4/E4Rtb/w/uV5b/yTlN9mXQ4d4b366C1qF5ZQVezmLH5gmsBk3C1YFUi1pNK fqeiW26tj7p3fkfh1EYG+nRvdPmIipgXquBx2mdhJNZxhPHCygPhqwmUAb9F30B3D9tu u7YVDDpEIAC4iFog2tDFF3tsTebwguNhPcQ4A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MmJOMxsgK3XHUQslTDNPalWII/N8iIybi0GttQjLZjp4b85/jr6lEyqCb+DI4/zWMc sIRMj9b7WEshcW+P/qotjRYJTA9boo8x4ycO7UJC3WuBqCDCoNj/vYke6E1m13pmfz3i itGFC1JBqAEav+Vljr4ryWUJfawq5DSVPpiPo= MIME-Version: 1.0 Received: by 10.101.152.13 with SMTP id e13mr16079949ano.107.1252358077686; Mon, 07 Sep 2009 14:14:37 -0700 (PDT) Date: Mon, 7 Sep 2009 21:14:37 +0000 Message-ID: From: Eitan Adler To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: ACPI - works for wireless fails for mouse X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 21:14:38 -0000 On my laptop when I boot with ACPI enabled my wireless card works but my mouse fails a few seconds after starting moused or X. If I boot without ACPI my mouse works but the wireless card fails. Is it possible to disable ACPI for the mouse and only the mouse (/dev/psm0, IRQ 12, glidepoint type)? OS == FreeBSD 8.0 BETA2 I'm currently stuck with a sub-par internet connection so if this has been covered by the handbook or google I appologize. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 21:47:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99E411065752 for ; Mon, 7 Sep 2009 21:47:16 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from smtp124.iad.emailsrvr.com (smtp124.iad.emailsrvr.com [207.97.245.124]) by mx1.freebsd.org (Postfix) with ESMTP id 7190D8FC24 for ; Mon, 7 Sep 2009 21:47:16 +0000 (UTC) Received: from relay2.r2.iad.emailsrvr.com (localhost [127.0.0.1]) by relay2.r2.iad.emailsrvr.com (SMTP Server) with ESMTP id B8C3A44C03B for ; Mon, 7 Sep 2009 17:47:15 -0400 (EDT) Received: by relay2.r2.iad.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 9762544C00C for ; Mon, 7 Sep 2009 17:47:15 -0400 (EDT) User-Agent: Microsoft-Entourage/12.10.0.080409 Date: Mon, 07 Sep 2009 17:47:12 -0400 From: Tom Worster To: Message-ID: Thread-Topic: "me" in ipfw rules - does it include aliases? Thread-Index: AcowBMGg4cVIRZVVhkSX1ecdYOZ8/A== Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: "me" in ipfw rules - does it include aliases? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 21:47:16 -0000 the ipfw man page says: me matches any IP address configured on an interface in the system. which suggests that if i code my rules using "me" then when i add an alias ip address to an interface with ifconfig, these "me" rules will immediately work for the newly added address as they do for other addresses. is that correct? - tom From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 23:05:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DA011065670 for ; Mon, 7 Sep 2009 23:05:54 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 595298FC14 for ; Mon, 7 Sep 2009 23:05:54 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n87N54u6084648; Mon, 7 Sep 2009 16:05:04 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 7 Sep 2009 16:05:49 -0700 (PDT) Date: Mon, 7 Sep 2009 16:05:48 -0700 From: Gary Kline To: Mark Willson Message-ID: <20090907230548.GA15330@thought.org> References: <20090906003651.GA7388@thought.org> <20090906232300.GA11209@thought.org> <20090907010602.GA11657@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: is there a way of usinf greo to find 3 or 4 blank lines? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 23:05:54 -0000 On Mon, Sep 07, 2009 at 08:06:51AM +0100, Mark Willson wrote: > Gary Kline wrote: > >> Yes, this works just fine. I findthat there are about 130 places > >> that I need to > >> track... --yeah, i did over-do it in the time-breaks in my story. > >> > >> Is there a way of printing the string/line in the `manuscript' file > >> along with the line > >> number? I'm well into a copyedit of the manuscript and would rather > >> not start over! > >> > >> thanks for this. > >> > >:wq > > > > Sorry:: sounds a bit moronic:: not print the blank line/newline! > > but print the > > NR-1-th line. > > Gary, > > The following version should do what you want: > > BEGIN { > ncnt = 0 > prev = "BOF" > } > /^ *$/ { > ncnt++; > if (ncnt > 3) { > print "Emphasis at " NR ": " prev; > prev = "-multiple-" > ncnt = 0; > } > next; > } > {ncnt = 0; prev = $0} > > -mark It does! outstanding.... thanks again, gary > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 23:06:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F35FE10656C6 for ; Mon, 7 Sep 2009 23:06:20 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id C80888FC14 for ; Mon, 7 Sep 2009 23:06:20 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MknHw-0007yw-2b for freebsd-questions@freebsd.org; Mon, 07 Sep 2009 16:06:20 -0700 Message-ID: <25337689.post@talk.nabble.com> Date: Mon, 7 Sep 2009 16:06:20 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <200909072112.14374.mel.flynn+fbsd.questions@mailing.thruhere.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com References: <25314145.post@talk.nabble.com> <200909060958.11114.mel.flynn+fbsd.questions@mailing.thruhere.net> <25316313.post@talk.nabble.com> <200909061238.32832.mel.flynn+fbsd.questions@mailing.thruhere.net> <25324178.post@talk.nabble.com> <6201873e0909062008y4624d3d4y5eca6e21c82f4624@mail.gmail.com> <25325443.post@talk.nabble.com> <20090907091442.f011d137.freebsd@edvax.de> <25334820.post@talk.nabble.com> <200909072112.14374.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 23:06:21 -0000 Mel Flynn-2 wrote: > > On Monday 07 September 2009 20:54:51 jaymax wrote: > Thanks, will do a new dump, one question - how can one determine that the dumpfile produced is good? -- View this message in context: http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25337689.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 7 23:15:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46F12106566C for ; Mon, 7 Sep 2009 23:15:39 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id DBE6A8FC08 for ; Mon, 7 Sep 2009 23:15:38 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n87NEn3h084731; Mon, 7 Sep 2009 16:14:49 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 7 Sep 2009 16:15:34 -0700 (PDT) Date: Mon, 7 Sep 2009 16:15:33 -0700 From: Gary Kline To: Kalle =?iso-8859-15?Q?M=F8ller?= Message-ID: <20090907231533.GB15330@thought.org> References: <20090906003651.GA7388@thought.org> <8250ac3f0909062355g69a1cf5cj847e84aaee79b0c2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8250ac3f0909062355g69a1cf5cj847e84aaee79b0c2@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: is there a way of usinf greo to find 3 or 4 blank lines? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 23:15:39 -0000 On Mon, Sep 07, 2009 at 08:55:44AM +0200, Kalle M?ller wrote: > I know its not in commandline, but in vim (maybe even vi) you could just > /\n\n\n > > This would find new lines... And you could jump between them with n.. > > and :set ruler so you can find linenumber > DIdn't think of this, but it doesn't seem to work in vi or vim. i think i've got vim set to vi-mode. anyway, the awk script that mark willson posted works. next time i'll put in something like XXXXXBREAKXXXXX for my v-breaks. gary > On Sun, Sep 6, 2009 at 2:36 AM, Gary Kline wrote: > > > > > in my manuscript, i have many places where i'ved used several > > newlines to indicate a > > jump in time, or topic, or mood, or <>. i have lost these > > vertical spacing > > in all but my original draft. can i use grep somehow to find these > > extra newlines? > > > > if not grep, then sed, ed, or what?! > > > > tia, > > > > gary > > > > > > > > -- > > Gary Kline kline@thought.org http://www.thought.org Public Service > > Unix > > http://jottings.thought.org http://transfinite.thought.org > > The 5.67a release of Jottings: http://jottings.thought.org/index.php > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > > > > -- > > Med Venlig Hilsen > > Kalle R. Møller -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 00:13:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E45E7106568F for ; Tue, 8 Sep 2009 00:13:44 +0000 (UTC) (envelope-from mahlerrd@yahoo.com) Received: from web51007.mail.re2.yahoo.com (web51007.mail.re2.yahoo.com [206.190.38.138]) by mx1.freebsd.org (Postfix) with SMTP id 9C8C08FC0C for ; Tue, 8 Sep 2009 00:13:44 +0000 (UTC) Received: (qmail 79074 invoked by uid 60001); 8 Sep 2009 00:13:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1252368823; bh=qoOYoC4/pz8jMGlgKS02c9epuEYXAp83T3nGL+QPxg8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=J5slLyDaMjxP078c2lenyop+E2vQ3YkvKiwZ5XNoJAwK0zUbyc7YBw9MdisGtHB85Rwu/zs7gq/ePuC2TK9N2tnEzmUKDJNcg1KfFgK0MVqtDRZZZnpXGpEo71R8KFib6BtiA8OM6I9OnfjlsJXoMQf4YBsSiqkHmMK3+F62qBw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=YxxcndbhV+2f59xihNwaryrlRhScD2e0l+rztmB2m4FXRv8kD12X1eiOnFffY1WjWpuQV9T04gsPgC6QnYI5yVlxIrianuaQH7gO4WC5deDg3TcONgaZBjzfa4ACP6nICH8bnKnA60m//n2HX2u2skwISOxijupfdjPdescPYvQ=; Message-ID: <676868.78379.qm@web51007.mail.re2.yahoo.com> X-YMail-OSG: Ep0k5VgVM1lcrsuhHgUcujk_pjScjlcaj.j5PmYb5kW2xq74hVqAWiLc_g.YZDJNMs0CYLZ.XhgolvhGntSmVEHuML4aHofxcRmI5VTcBkev.3GLoihxw0f_JypTUX4GBb8gUaLepEIQjWw8gpBvXRD.lcyhvwrYNfmWppwjTQR7ICWCdBu9UUrdQc..UOHPDvBPd4ZiRWiK3Bw4tj9dBqZumrw5ZkWpu7Ii3np4ifvYsG_40i57rtAFVYzWIMULXoblSC4p.tJxe7r_YlBfedcntij83.5x1uENIahet7HmaegBH5TADnerWL9jzlUmTOJlKZPgPIv6qau1ytdgSvl4cWb9wHtUbkVesT7mg3GrAj4VByc0o1lPpeyz57o0vzbh2g-- Received: from [74.40.57.42] by web51007.mail.re2.yahoo.com via HTTP; Mon, 07 Sep 2009 17:13:43 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.347.2 Date: Mon, 7 Sep 2009 17:13:43 -0700 (PDT) From: Richard Mahlerwein To: FreeBSD-Questions In-Reply-To: <25337689.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mahlerrd@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 00:13:45 -0000 --- On Mon, 9/7/09, jaymax wrote: >From: jaymax >Subject: Re: Inconsistency in root partition size >To: freebsd-questions@freebsd.org >Date: Monday, September 7, 2009, 7:06 PM > >Mel Flynn-2 wrote: >>=20 >> On Monday 07 September 2009 20:54:51 jaymax wrote: >>=20 > >Thanks, will do a new dump, one question - how can one determine that the >dumpfile produced is good? >--=20 I've always found a test restore works wonders for the peace of my mind. =0A =0ATwo types: =0A =0Acd =0Arestore -Nrf =0A =0ATo test that it all "appears" it ought to restore.=A0 Then,=20 =0A cd =0Arestore -if =20 =0A =0ATo confirm a few files restore properly completely. =0AYMMV, and obviously check man restore! =0A =0A-Rich =0A =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 00:49:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE99B106566B for ; Tue, 8 Sep 2009 00:49:14 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 74C6C8FC0A for ; Tue, 8 Sep 2009 00:49:14 +0000 (UTC) Received: by bwz2 with SMTP id 2so641087bwz.43 for ; Mon, 07 Sep 2009 17:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=YrN3ysDBCwpPefgOpmtAFpfp2RBxo2lKGSEUwL5mxYw=; b=XPHsj34kARb61xdFcePfZPdRvwj2ovGUPrYFSSRHG6+m1I9sO+aifOSQeeUaFg119i HzTrAPkrnuZstFKd/y5mYbVRqUvsOUUZV7KMw6welRLIA01sYlKEP5S7JjSV61+8WeTH ESfvBTMsDRkZ9dbWwq3jiKXtlA4fMh/LIwN1I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=amNrv+odg4PliGeUbkJECvg/qoSA8YtaIRYDPwJ3cDkCQLGVF07kf6fg+En4RqVB0N N+d1gJXZd/iXdCkfXBx6iTS5x4Caqr8S3DSIZv41hXb0fqAQV3mgE9XjVlcpAtALDhsE FHdc68Nr0lnISD0/NANo3mxqLz+Xg+b0YA4tY= Received: by 10.204.34.5 with SMTP id j5mr12690321bkd.5.1252370953405; Mon, 07 Sep 2009 17:49:13 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id d13sm7948442fka.2.2009.09.07.17.49.10 (version=SSLv3 cipher=RC4-MD5); Mon, 07 Sep 2009 17:49:11 -0700 (PDT) Date: Tue, 8 Sep 2009 01:49:07 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090908014907.271dd347@gumby.homeunix.com> In-Reply-To: References: <20090902160336.70d2a4c4@scorpio.seibercom.net> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Error compiling KDE 3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 00:49:15 -0000 On Wed, 2 Sep 2009 20:08:26 -0500 Andrew Gould wrote: > On Wed, Sep 2, 2009 at 3:03 PM, Jerry wrote: > > cd /usr/ports/security/gnutls > > make deinstall && make reinstall && make distclean > > cd - > > make install > > > > -- > > Jerry > > gesbbb@yahoo.com > > > > The package list may have changed between version 2.6.4 and 2.8.3. I > would recommend replacing "make deinstall", above, with: > > pkg_delete gnutls-2.6.4 There's no significant difference between "make deinstall" and pkg_delete - the last time I checked there was only one port that didn't use the default "make deinstall" target, which calls "pkg_delete -f". Usually this kind of thing happens because files moved between ports, and the best thing is to remove all of the affected ports before upgrading. Normally there's an UPDATING entry advising this. The FORCE_PKG_REGISTER method is a bit of cludge, but I gather it also works for this kind of build problem. I guess it allows a repeat install when a package has lost files due to a transient conflict. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 00:56:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DD8C106566B for ; Tue, 8 Sep 2009 00:56:17 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id AB48C8FC1C for ; Tue, 8 Sep 2009 00:56:16 +0000 (UTC) Received: by bwz2 with SMTP id 2so642836bwz.43 for ; Mon, 07 Sep 2009 17:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=XN31Xl7nkBfjOaU43EX8Jm+kb5fZHFaE+Uo7WLiiam8=; b=JCRlued1mt5porB/JDGPVtSQfBKQwgfiSUsteGc1txzs9Hu5WtXO9nYG+eDy7UpiBP lytwy9YjWQjRO157r+rUjq7sXu0U02v31/t+tUmOxD5Ko354/sEngXc99nDD18ql+6Wp zuqqlXhzTCAbPG78nGNtNgAxa+LKyTEpMFm/k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=Edsy+RQz59hiZMElrSbQSY5r+TjHlBpdJixZ537uVrTRZtH+T6IOEUXA+gXLdBrUXo 74yW73K3UpqfWIyGEKeoGTdDYYB+CClQ6BTPc4GfJQwInjfBkry6fL/7vmCC5sRreO8J 6iGIZ2JRIOFEYAhAdUgTVqnJa9HI4m8GIYsBE= Received: by 10.204.34.13 with SMTP id j13mr12624288bkd.32.1252371375638; Mon, 07 Sep 2009 17:56:15 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 13sm7955335fks.56.2009.09.07.17.56.14 (version=SSLv3 cipher=RC4-MD5); Mon, 07 Sep 2009 17:56:14 -0700 (PDT) Date: Tue, 8 Sep 2009 01:56:12 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090908015612.778b4b1a@gumby.homeunix.com> In-Reply-To: <20090902234324.GA1735@thought.org> References: <20090902234324.GA1735@thought.org> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: difficult-to-phrase question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 00:56:17 -0000 On Wed, 2 Sep 2009 16:43:30 -0700 Gary Kline wrote: > > i can use grep to find "S" and grep gives me the file[s] that > have the string. now, is there any easy way of reading that > file, or deleting or otherwise munging that file? > > nutshell is that every time i reboot (into kde), kde wastes > time/cpu spawning unwanted whatever: versions of konqueror, > kttsd, ksayit, Wouldn't you be better-off just turning-off session management, and using autostart instead From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 01:34:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFDA3106566B for ; Tue, 8 Sep 2009 01:34:20 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 7DCA88FC0A for ; Tue, 8 Sep 2009 01:34:20 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n881XUal085984; Mon, 7 Sep 2009 18:33:30 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 7 Sep 2009 18:34:15 -0700 (PDT) Date: Mon, 7 Sep 2009 18:34:15 -0700 From: Gary Kline To: RW Message-ID: <20090908013414.GE15330@thought.org> References: <20090902234324.GA1735@thought.org> <20090908015612.778b4b1a@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090908015612.778b4b1a@gumby.homeunix.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: difficult-to-phrase question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 01:34:20 -0000 On Tue, Sep 08, 2009 at 01:56:12AM +0100, RW wrote: > On Wed, 2 Sep 2009 16:43:30 -0700 > Gary Kline wrote: > > > > > i can use grep to find "S" and grep gives me the file[s] that > > have the string. now, is there any easy way of reading that > > file, or deleting or otherwise munging that file? > > > > nutshell is that every time i reboot (into kde), kde wastes > > time/cpu spawning unwanted whatever: versions of konqueror, > > kttsd, ksayit, > > Wouldn't you be better-off just turning-off session management, and > using autostart instead sounds like a good idea; how do i accomplish this? also, what if i have a konqueror running and sites running and the power goes out. sometimes i want the apps to restart, not usually. is it possible to save Some programs state and let others go? gary ps: i'm new to kde/gnome, but here on tao [freebsd] have mostly kde[3] going. some cli tools, like mutt, are almost sacred. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 01:48:13 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48A591065672 for ; Tue, 8 Sep 2009 01:48:13 +0000 (UTC) (envelope-from mikel.king@olivent.com) Received: from mail.olivent.com (mail.olivent.com [69.31.85.206]) by mx1.freebsd.org (Postfix) with ESMTP id D96C88FC16 for ; Tue, 8 Sep 2009 01:48:12 +0000 (UTC) Received: from [172.16.1.8] ([68.195.158.255]) (authenticated user mikel@olivent.com) by mail.olivent.com (Kerio MailServer 6.7.1) (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)) for questions@freebsd.org; Mon, 7 Sep 2009 21:48:11 -0400 Message-Id: <884E4535-42B4-4038-88D9-0DDDBE9BBF72@olivent.com> From: Mikel King To: freebsd-questions Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 7 Sep 2009 21:48:10 -0400 X-Mailer: Apple Mail (2.936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: beta-testers needed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 01:48:13 -0000 Looking for a few volunteers to help test drive the BSD News Networks' new site. If you are interested in becoming a beta-tester and helping out please email me directly off list. Regards, Mikel King CEO, Olivent Technologies Senior Editor, Daemon News Columnist, BSD Magazine 6 Alpine Court, Medford, NY 11763 skype:mikel.king http://olivent.com http://mikelking.com http://twitter.com/mikelking From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 02:14:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 053CA1065672 for ; Tue, 8 Sep 2009 02:14:56 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id CD5868FC13 for ; Tue, 8 Sep 2009 02:14:55 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MkqER-0004gO-2H for freebsd-questions@freebsd.org; Mon, 07 Sep 2009 19:14:55 -0700 Message-ID: <25338956.post@talk.nabble.com> Date: Mon, 7 Sep 2009 19:14:55 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <200909072112.14374.mel.flynn+fbsd.questions@mailing.thruhere.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com References: <25314145.post@talk.nabble.com> <200909060958.11114.mel.flynn+fbsd.questions@mailing.thruhere.net> <25316313.post@talk.nabble.com> <200909061238.32832.mel.flynn+fbsd.questions@mailing.thruhere.net> <25324178.post@talk.nabble.com> <6201873e0909062008y4624d3d4y5eca6e21c82f4624@mail.gmail.com> <25325443.post@talk.nabble.com> <20090907091442.f011d137.freebsd@edvax.de> <25334820.post@talk.nabble.com> <200909072112.14374.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 02:14:56 -0000 Mel Flynn-2 wrote: > > On Monday 07 September 2009 20:54:51 jaymax wrote: > > Did you do the du without anything mounted? Cause you have the df output > with > mounts. > If you can't find the missing space, then I suggest making a backup of / > with > dump(8), booting from livefs and restoring the dump. The dump should not > be in > the 390M range, rather in the 40-50M range. > Disconnected my drives, except for system root, then du is not found mach_1# whereis du > du: /usr/bin/du /usr/share/man/man1/du.1.gz /usr/src/usr.bin/du > could have done a 'umount' but results would have been the same, so I think. Did a backup (dump) of /, file produced in 400Mb range dump -0Lauf /disk03/dump/root2.dump /dev/ad0s1a dumpfile size > mach_1# ls -l /disk03/dump/root2.dump > -rw-r--r-- 1 root wheel 426956800 Sep 7 16:31 /disk03/dump/root2.dump > > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 507630 407754 59266 87% / > Compared with > du -xhc / > 44M total > So I decided to do a listing of files in the dump > restore -tf /disk03/dump/root2.dump > rootrestore-0.lst > To my surprise rootrestore-0.lst contains a whole listings of ./usr/ files ex. > 2926 ./usr/include/bsnmp/snmpmod.h > 2927 ./usr/include/bsnmp/snmp_atm.h > Now /usr is on a separate and distinct partition > /dev/ad0s1f 36205990 25765232 7544280 77% /usr > Hope someone can make some sense of this. -- View this message in context: http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25338956.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 03:18:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CADF106566C for ; Tue, 8 Sep 2009 03:18:54 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f197.google.com (mail-qy0-f197.google.com [209.85.221.197]) by mx1.freebsd.org (Postfix) with ESMTP id BBEBB8FC0A for ; Tue, 8 Sep 2009 03:18:53 +0000 (UTC) Received: by qyk35 with SMTP id 35so2244611qyk.14 for ; Mon, 07 Sep 2009 20:18:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=79bl1OBUtq5BcxbvllRclx+HsagKtj/3gZSO8nrmARk=; b=UkC33zTAKJwoZ1v3St5xd+CUSsgkyOm+OvwLPhiH+oF0b1aWXPQpANzSep0FJvruwQ HxfRFWd3Ci9PB2tY5hou5bcr0frsEw+QxHCB/2jfgrAuOui6XBJPD2z6IDVr5RG3NW6f Jp5xwp1kLbkSdwPz1uF8m8Q6oTrVoNjLxMJFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HTbzMewxl/qjIxgwgzzb7anIhbRd9iYehlYfHGY6WsFMyY81ffRw2zuRHMljS7zvAI oBgU392SLEWFm/lfyi/pKbVl/nFI221JkxNumyr2rPf3wCPzE0h7S6qij/No9l3XVmFU MRa4W+5FuzOGitfKDpT7twNDPUXRCV1SBxO1s= MIME-Version: 1.0 Received: by 10.229.12.212 with SMTP id y20mr3848336qcy.16.1252379933278; Mon, 07 Sep 2009 20:18:53 -0700 (PDT) In-Reply-To: <200909071503.10989.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <560f92640909061727o5e8ce3b2k9248e28fe878f58a@mail.gmail.com> <200909071503.10989.mel.flynn+fbsd.questions@mailing.thruhere.net> Date: Mon, 7 Sep 2009 20:18:53 -0700 Message-ID: <560f92640909072018t1c5a614fy9c0292e8383b83d9@mail.gmail.com> From: Nerius Landys To: Mel Flynn Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: wireless: host access point w/ WAP help! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 03:18:54 -0000 > 0) Always mention OS version, bonus points for uname -a. nlandys@speedy# uname -a FreeBSD speedy.i 7.1-RELEASE-p7 FreeBSD 7.1-RELEASE-p7 #0: Thu Aug 6 06:05:47 PDT 2009 root@speedy.i:/usr/obj/usr/src/sys/GENERIC i386 >> root@speedy# dmesg | grep ath >> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) >> ath0: mem 0xff8f0000-0xff8fffff irq 21 at device 0.0 on pci1 >> ath0: [ITHREAD] >> ath0: WARNING: using obsoleted if_watchdog interface >> ath0: Ethernet address: 00:02:6f:61:e6:7d >> ath0: mac 7.9 phy 4.5 radio 5.6 >> ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x490 >> hal flags 0x150), hal status 12 > > I read you got it working so far, but if you want this resolved or diagnosed, > the uname -a is mandatory and an ident /boot/kernel/if_ath.ko as well. nlandys@speedy# ident /boot/kernel/if_ath.ko /boot/kernel/if_ath.ko: $FreeBSD: src/sys/dev/ath/if_ath.c,v 1.177.2.2.2.1 2008/11/25 02:59:29 kensmith Exp $ $FreeBSD: src/sys/dev/ath/if_ath_pci.c,v 1.19.6.1 2008/11/25 02:59:29 kensmith Exp $ I guess the only real problem remaining is this message in /var/log/messages: Sep 6 17:46:47 speedy kernel: ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x490 hal flags 0x150), hal status 12 Everything is working though. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 04:52:10 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 509C81065670 for ; Tue, 8 Sep 2009 04:52:10 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 136448FC12 for ; Tue, 8 Sep 2009 04:52:09 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n884pKBQ087695 for ; Mon, 7 Sep 2009 21:51:20 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 7 Sep 2009 21:52:05 -0700 (PDT) Date: Mon, 7 Sep 2009 21:52:05 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20090908045202.GA16556@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: how to get rid of a character, 0x80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 04:52:10 -0000 anybody know why getchar() doesn't see 0x80 == 0200? if getchar() is limited to 7-bit characters, what then? % od -c file shows me that every character fits into 8 bits, so getwchar() is the next thing. but doesn't getwchar grab wide-chars only: 16 bits? tia, guys, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 05:46:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55EAE106566B for ; Tue, 8 Sep 2009 05:46:35 +0000 (UTC) (envelope-from alydiomc@yahoo.com) Received: from web52206.mail.re2.yahoo.com (web52206.mail.re2.yahoo.com [206.190.48.129]) by mx1.freebsd.org (Postfix) with SMTP id 02EDD8FC0A for ; Tue, 8 Sep 2009 05:46:34 +0000 (UTC) Received: (qmail 24012 invoked by uid 60001); 8 Sep 2009 05:19:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1252387193; bh=ZekwmH7uMAMlg516yPLBgl3TrBvxgP7uN2AzSBUjH+Y=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=SZBNIQvEmcjuMr4ZusNC+rOoLviHWKQnrBceUb0mGHsAX8ufyQvEvVTiE3E9ho/CeTtgjuzXoOwGiCTacoQt8tn3GneRz//KcuE5ND6XzR+EUMyLMsUbkeiADsfUOK3z8r7J+MSuj0PmX2tMD23wrixP1rSkXVyIs3ni38LALpc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=Da3qbMO8TgWg6AdnTldryccwNO8cPhda4ASvzEbHkiFDoJlMRDJCZq15H1+cWWdxKFl6d/ojISe2UumI5AwV/peEmipyQIWODBrn90V5VYbI2Vx5L9N1bn79wt/g2TP/NMginyBsJjU0jHjcbNelucBijfv9wFyYMBq9P0AhhGU=; Message-ID: <894509.23736.qm@web52206.mail.re2.yahoo.com> X-YMail-OSG: 7WmrxkkVM1mv47BAIeMJ7eYehdKG2mDytIAO0.5VnIGhYNuIKUb6AA8oWmgQ2zN7mviN8.lh_jlHe6uQQxVL2sjToANN_qM0Rxgl1Yb5BvWIEVhxkCBzZshQAQ6NscghIaJSWAy.CcBbxDGBlWiXQoRatKd022DSoxak1q9kAZFNZqCq.qPBkeFsPAWZzD1RLf6NyFFhFeWfRJmuHHGHGGX0q2.Nb2AopFNeCEqR7GADsCHIXMy0An7Xsp3I6AwhFDp2OlncaGUY3BHNW9lqkI_4yuvKlQaEVO1.15KmkJtDgGb5WrRag_he2flWhQyPBymjw1YBs9H4WwyIDAaKo5jww02lKzS0ORYlwKwbp372ilJimcNu8l_3FGlXtnOwndhtDj9gRmI- Received: from [202.175.250.14] by web52206.mail.re2.yahoo.com via HTTP; Tue, 08 Sep 2009 05:19:53 GMT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 Date: Tue, 8 Sep 2009 05:19:53 +0000 (GMT) From: lyd mc To: Andre Albsmeier In-Reply-To: <20090904184321.GA5684@curry.mchp.siemens.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd Built-in vacation program does not auto reply X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 05:46:35 -0000 Hi Andre, I haven't solve it yet. I use the one in the ports tree (/usr/ports/mail/va= cation) as my work around. Now I use sieve script for vacation notice. Do you have a patch? May be I can use it in the future... Thanks. Best Regards, alyd --- On Sat, 9/5/09, Andre Albsmeier wrote: From: Andre Albsmeier Subject: Re: Freebsd Built-in vacation program does not auto reply To: "lyd mc" Cc: freebsd-questions@freebsd.org Date: Saturday, September 5, 2009, 2:43 AM On Thu, 16-Apr-2009 at 18:00:26 +0000, lyd mc wrote: > Hi guys, >=20 > Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto r= eply? >=20 > I am using fresh installed Freebsd7.0 and 7.1. here is my configs. Did you solve the problem already? I had a similar issue and tracked it down to a really strange compiler bug... =A0=A0=A0 -Andre >=20 > Under the home directory of the user (alydio.mc) >=20 > .forward > ??? \alydio.mc, "|/usr/bin/vacation alydio.mc" >=20 > .vacation.msg > ?? Subject: On vacation message > ?? From: alydio.mc@mydomain.com > ?? I'm on vacation and will not be reading my mail for a while. > ? Your mail will be dealt with when I return. > . > from postfix/sendmail logs: >=20 > ...sniff > ?(delivered to command: /usr/bin/vacation alydio.mc) >=20 > after this nothing will happened... no errors.... no warnings...?=20 >=20 > However the one I installed from ports (/usr/local/bin/vacation) works fi= ne. >=20 >=20 > I want to use the freebsd base vacation program.?=20 >=20 > Please help. >=20 > Thank you, > alydiomc >=20 >=20 >=A0 =A0 =A0=A0=A0 --=20 Micro$oft: When will your system crash today? =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 05:48:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 325F3106566C for ; Tue, 8 Sep 2009 05:48:46 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.freebsd.org (Postfix) with ESMTP id BBCA58FC22 for ; Tue, 8 Sep 2009 05:48:45 +0000 (UTC) Received: from mail2.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.12.11.20060308/8.12.11) with ESMTP id n885miex025904; Tue, 8 Sep 2009 07:48:44 +0200 Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.40.130]) by mail2.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id n885mixd020058; Tue, 8 Sep 2009 07:48:44 +0200 Received: (from localhost) by curry.mchp.siemens.de (8.14.3/8.14.3) id n885miTx018499; Date: Tue, 8 Sep 2009 07:48:44 +0200 From: Andre Albsmeier To: lyd mc Message-ID: <20090908054844.GA37983@curry.mchp.siemens.de> References: <20090904184321.GA5684@curry.mchp.siemens.de> <894509.23736.qm@web52206.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <894509.23736.qm@web52206.mail.re2.yahoo.com> X-Echelon: X-Advice: Drop that crappy M$-Outlook, I'm tired of your viruses! User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org, Andre Albsmeier Subject: Re: Freebsd Built-in vacation program does not auto reply X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 05:48:46 -0000 [Please do not topquote] On Tue, 08-Sep-2009 at 05:19:53 +0000, lyd mc wrote: > Hi Andre, > > I haven't solve it yet. I use the one in the ports tree (/usr/ports/mail/vacation) as my work around. > > Now I use sieve script for vacation notice. > > Do you have a patch? May be I can use it in the future... Thanks. No, I have a workaround. Do you have the sources to compile vacation yourself? Can you recompile it without -O2 -fno-strict-aliasing and try again? And then recompile it with -O2 and try this again? -Andre > > Best Regards, > > alyd > > --- On Sat, 9/5/09, Andre Albsmeier wrote: > > From: Andre Albsmeier > Subject: Re: Freebsd Built-in vacation program does not auto reply > To: "lyd mc" > Cc: freebsd-questions@freebsd.org > Date: Saturday, September 5, 2009, 2:43 AM > > On Thu, 16-Apr-2009 at 18:00:26 +0000, lyd mc wrote: > > Hi guys, > > > > Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto reply? > > > > I am using fresh installed Freebsd7.0 and 7.1. here is my configs. > > Did you solve the problem already? I had a similar issue and > tracked it down to a really strange compiler bug... > >     -Andre > > > > > Under the home directory of the user (alydio.mc) > > > > .forward > > ??? \alydio.mc, "|/usr/bin/vacation alydio.mc" > > > > .vacation.msg > > ?? Subject: On vacation message > > ?? From: alydio.mc@mydomain.com > > ?? I'm on vacation and will not be reading my mail for a while. > > ? Your mail will be dealt with when I return. > > . > > from postfix/sendmail logs: > > > > ...sniff > > ?(delivered to command: /usr/bin/vacation alydio.mc) > > > > after this nothing will happened... no errors.... no warnings...? > > > > However the one I installed from ports (/usr/local/bin/vacation) works fine. > > > > > > I want to use the freebsd base vacation program.? > > > > Please help. > > > > Thank you, > > alydiomc > > > > > >        > > -- > Micro$oft: When will your system crash today? > > > > -- Linux is only free if your time is worthless. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 06:00:36 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8560E106566C for ; Tue, 8 Sep 2009 06:00:36 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out3.tiscali.nl (smtp-out3.tiscali.nl [195.241.79.178]) by mx1.freebsd.org (Postfix) with ESMTP id 464B38FC12 for ; Tue, 8 Sep 2009 06:00:35 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out3.tiscali.nl with esmtp (Exim) (envelope-from ) id 1Mktko-0008HQ-T7; Tue, 08 Sep 2009 08:00:34 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mktkj-0009Q9-PT; Tue, 08 Sep 2009 08:00:29 +0200 Message-ID: <4AA5F2FB.8080006@mapper.nl> Date: Tue, 08 Sep 2009 08:00:27 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Gary Kline References: <20090908045202.GA16556@thought.org> In-Reply-To: <20090908045202.GA16556@thought.org> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4D9B447E5D8A59D8C145AE86" Cc: FreeBSD Mailing List Subject: Re: how to get rid of a character, 0x80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 06:00:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4D9B447E5D8A59D8C145AE86 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Gary Kline wrote: > anybody know why getchar() doesn't see 0x80 =3D=3D 0200? if getchar()= > is limited to 7-bit characters, what then? > > % od -c file=20 > > shows me that every character fits into 8 bits, so getwchar() is the n= ext thing. > but doesn't getwchar grab wide-chars only: 16 bits? > > tia, guys, > > gary > > > > =20 Hello, First of, this isn't really a BSD question. Second, if you have an example code we might be able to help. Presumably, you want to read a capital C with cedille? (0x80 128 =C7) Example from: http://www.cplusplus.com/reference/clibrary/cstdio/getchar/= compiled on FreeBSD 7.2 with gcc 4.2.1 output: " Enter text. Include a dot ('.') in a sentence to exit: sfeo sfeo =C7sdfa =C7sdfa " besides.. 0x80!=3D0200 it's 0200 octal which is 128 decimal... Might be why it doesn't work for you. Greetz, Mark --------------enig4D9B447E5D8A59D8C145AE86 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkql8v0ACgkQN9xNqOOVnWBUFgCfZJz2JbaWsrpJhSa6vZ4SeNjm v00AoIIHVdzWb2PHDb26KDq2dQ22wLMd =D+QA -----END PGP SIGNATURE----- --------------enig4D9B447E5D8A59D8C145AE86-- From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 06:59:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FE1F1065679 for ; Tue, 8 Sep 2009 06:59:06 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 5B8518FC18 for ; Tue, 8 Sep 2009 06:59:05 +0000 (UTC) Received: (qmail invoked by alias); 08 Sep 2009 06:59:03 -0000 Received: from adsl-233.79.107.87.tellas.gr (EHLO [169.254.0.100]) [79.107.87.233] by mail.gmx.com (mp-eu005) with SMTP; 08 Sep 2009 08:59:03 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX19EuAAXQg1EMCjdRR9myEZHl/TVcc9aU7d8uwc+SY LCoHDc3s3gC+ED Message-ID: <4AA600AF.9030701@gmx.com> Date: Tue, 08 Sep 2009 09:58:55 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tom Worster References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 Cc: freebsd-questions@freebsd.org Subject: Re: "me" in ipfw rules - does it include aliases? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 06:59:06 -0000 Tom Worster wrote: > the ipfw man page says: > > me matches any IP address configured on an interface in the system. > > which suggests that if i code my rules using "me" then when i add an alias > ip address to an interface with ifconfig, these "me" rules will immediately > work for the newly added address as they do for other addresses. > is that correct? Yes, the "me" keyword is expanded to whatever IP address is assigned on any interface in the system. It's updated whenever an IP address is added to or removed from an interface. Use the simple ruleset bellow to test it yourself: lab# ipfw list 00100 allow ip from me to me 65535 deny ip from any to any add alias & ping alias => success remove alias & ping alias => failure It's a really useful keyword, yet it's not panacea. When using it, one has to think the possibility of an attacker who uses "me" addresses. Use some interface checking as well in your ruleset... Nikos From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 08:11:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45511106568F for ; Tue, 8 Sep 2009 08:11:08 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 1E46E8FC1D for ; Tue, 8 Sep 2009 08:11:08 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id n888B7i3075164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 8 Sep 2009 01:11:07 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id n888B7ko075163; Tue, 8 Sep 2009 01:11:07 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA14937; Tue, 8 Sep 09 01:01:23 PDT Date: Tue, 08 Sep 2009 01:04:30 -0700 From: perryh@pluto.rain.com To: mel.flynn+fbsd.questions@mailing.thruhere.net Message-Id: <4aa6100e.tHFPjmIiNAiRpJ+f%perryh@pluto.rain.com> References: <20090906012107.E2731B7DD@kev.msw.wpafb.af.mil> <4AA47981.1090103@prgmr.com> <200909071451.24123.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: <200909071451.24123.mel.flynn+fbsd.questions@mailing.thruhere.net> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, mdc@prgmr.com Subject: Re: Is there such thing as a 'soft checksum' tool? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 08:11:08 -0000 Mel Flynn wrote: > On Monday 07 September 2009 05:09:53 Michael David Crawford wrote: > > > M> I'm looking for a pseudo-checksum tool for use with > > > M> cataloging images. > > One way you could approach it might be to use a blur filter ... > > Small differences in individual pixels would be blurred away. > ... the above does not work, because of compression anyway. > Just because you think of an image as a bitmap, does not mean > it's stored as such. Certainly it is the decompressed payloads of the JPEG etc. files that are to be compared, rather than the files themselves. It would never have occurred to me that anyone participating in the discussion might have thought otherwise. However, thinking about this inquiry and JPEG in the same sentence has given me an idea that might help the OP: JPEG is a "lossy" compression, with the degree of loss related to the chosen image quality, so two "similar" images might become identical -- or at least more similar -- if compressed to a sufficiently low quality using the JPEG algorithm. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 08:48:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7794C1065676 for ; Tue, 8 Sep 2009 08:48:29 +0000 (UTC) (envelope-from "") Received: from inter11.unsl.edu.ar (inter11-tel.unsl.edu.ar [190.3.93.143]) by mx1.freebsd.org (Postfix) with ESMTP id 991298FC1B for ; Tue, 8 Sep 2009 08:48:28 +0000 (UTC) Received: (qmail 1745 invoked by uid 7794); 8 Sep 2009 04:21:47 -0400 Date: 8 Sep 2009 04:21:47 -0400 From: "System Anti-Virus Administrator" To: freebsd-questions@freebsd.org Message-ID: Auto-Submitted: auto-replied In-Reply-To: <12523981047911386@inter11> References: <12523981047911386@inter11> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit Subject: policy-violation found in sent message "" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 08:48:29 -0000 Attention: freebsd-questions@freebsd.org A policy-violation was found in an Email message you sent. This Email scanner intercepted it and stopped the entire message reaching its destination. The policy-violation was reported to be: SCR files not allowed per Company security policy Please contact your IT support personnel with any queries regarding this policy. Your message was sent with the following envelope: MAIL FROM: freebsd-questions@freebsd.org RCPT TO: gifavier@unsl.edu.ar ... and with the following headers: --- MAILFROM: freebsd-questions@freebsd.org RCPTTO: gifavier@unsl.edu.ar IP-Addr: 113.22.65.102 Received: from unknown (HELO freebsd.org) (113.22.65.102) by inter11.unsl.edu.ar with SMTP; 8 Sep 2009 04:21:44 -0400 From: freebsd-questions@freebsd.org To: gifavier@unsl.edu.ar Subject: Date: Tue, 8 Sep 2009 15:21:37 +0700 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0011_C7647978.0EBC1B21" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 --- From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 09:06:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92763106566B for ; Tue, 8 Sep 2009 09:06:28 +0000 (UTC) (envelope-from alydiomc@yahoo.com) Received: from web52201.mail.re2.yahoo.com (web52201.mail.re2.yahoo.com [206.190.48.124]) by mx1.freebsd.org (Postfix) with SMTP id 388E78FC25 for ; Tue, 8 Sep 2009 09:06:27 +0000 (UTC) Received: (qmail 26250 invoked by uid 60001); 8 Sep 2009 09:06:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1252400787; bh=QGbfZJ+HpA9JeiI5ZsztCagT4aGivHoGzQf+rVeFx08=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=2AMbIFrXIraURTEehrIM9hcK16CyfwrtTMxzZ1hfgRB2wZPdHfpXAp83Xk0a8oiVHeyLw8/e994c7mMbey51K45mQLsqxVdvvnxV70bpB+50LFbW9Iz2cdc9QYXFK3nmDjGo1tGL8USXSo2qtyUZ2V155yKInwdG0dJTASbW1Og= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=dADnt8bvKzr6sh2nMw/qEVzA/kmClsOTpAww8rQs6UH8lvPxNSLWRky90V25glX9656RNJ2PejzZaACySQo930f1fYpadJNSKoUf+6ONfQES4F7+94aODAgpJJvtfieqM5+HXNpvjiEeoqWrVxIIw7aAgpp57SIz7lXHPz9uGfg=; Message-ID: <523914.26215.qm@web52201.mail.re2.yahoo.com> X-YMail-OSG: hko.jIwVM1nfHJmbVTNuMxtjmnvFrE5MfEQmzPwpM3rCh9oguPkIg_nHTvyMNgYx7DnoSswIF9aE2jmXv2JB9dkKBn01QMI.2San6RUmltAErvNL2KepFA6k3njsBSuMBI_7HIGHk_3vl_YYdOILIzxSHVPJlRtb.tEEZdX2n1LnjyFH.Tjmoucae6m321xY.4sPb6knf3B6wbHokoVPRPf.QR6x8XPdO8snUrKtdcDiz5fJmTU4jY1jbwWAzDkrZbjKQUx7LTNQvCmRim1G9vUVHVCpfKySk39Q1P.JRcgYpJpw2pFVvdWyp2ojzL80MGaiG2VNGZlp_b6sSZGcu1v_v7fdTfD7caO_Hc4ZUQEoMq9Cub983Eo_HTeJGA-- Received: from [202.175.250.14] by web52201.mail.re2.yahoo.com via HTTP; Tue, 08 Sep 2009 02:06:26 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 Date: Tue, 8 Sep 2009 02:06:26 -0700 (PDT) From: lyd mc To: Andre Albsmeier In-Reply-To: <20090908085427.GA41575@curry.mchp.siemens.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd Built-in vacation program does not auto reply X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 09:06:28 -0000 Hi Andre, I use CFLAGS=3D-O2.=20 Best regards, Alyd --- On Tue, 9/8/09, Andre Albsmeier wrote: From: Andre Albsmeier Subject: Re: Freebsd Built-in vacation program does not auto reply To: "lyd mc" Cc: "Andre Albsmeier" Date: Tuesday, September 8, 2009, 4:54 PM On Tue, 08-Sep-2009 at 01:49:18 -0700, lyd mc wrote: > Hi Andre, Hi, >=20 > WOW! Its working now! Great. What CFLAGS line have you got now? -O2 or nothing? Would you mind posting a short note to freebsd-questions regarding this? My intention is to make a bug report but people will probably laugh at me if I haven't at least another person to confirm this. =A0=A0=A0 -Andre >=20 > Here is my logs... >=20 > Sep=A0 8 16:35:07 MAIL postfix/pickup[60602]: C6147BDC6D: uid=3D2003 from= =3D > Sep=A0 8 16:35:07 MAIL postfix/cleanup[60710]: C6147BDC6D: message-id=3D<= 20090908083507.C6147BDC6D@mail.xxxxxxxx.com> > Sep=A0 8 16:35:07 MAIL postfix/qmgr[60603]: C6147BDC6D: from=3D, size=3D347, nrcpt=3D1 (queue active) > Sep=A0 8 16:35:07 MAIL postfix/local[60712]: C6147BDC6D: to=3D, orig_to=3D, relay=3Dlocal, delay=3D0.03, delays= =3D0.02/0.01/0/0, dsn=3D2.0.0, status=3Dsent (delivered to maildir) > Sep=A0 8 16:35:07 MAIL postfix/pickup[60602]: D02A5BDC70: uid=3D1001 from= =3D > Sep=A0 8 16:35:07 MAIL postfix/cleanup[60710]: D02A5BDC70: message-id=3D<= 20090908083507.D02A5BDC70@mail.xxxxxxxx.com> >=20 > Postfix deliver to vacation >=20 > Sep=A0 8 16:35:07 MAIL postfix/local[60712]: C6147BDC6D: to=3D, orig_to=3D, relay=3Dlocal, delay=3D0.05, delays= =3D0.02/0.01/0/0.02, dsn=3D2.0.0, status=3Dsent (delivered to command: /usr= /bin/vacation alyd.mc) > Sep=A0 8 16:35:07 MAIL postfix/qmgr[60603]: C6147BDC6D: removed >=20 > vacation send back notification >=20 > Sep=A0 8 16:35:07 MAIL postfix/qmgr[60603]: D02A5BDC70: from=3D, size=3D475, nrcpt=3D1 (queue active) > Sep=A0 8 16:35:07 MAIL postfix/local[60712]: D02A5BDC70: to=3D, relay=3Dlocal, delay=3D0.01, delays=3D0/0/0/0, dsn=3D2.= 0.0, status=3Dsent (delivered to maildir) > Sep=A0 8 16:35:07 MAIL postfix/qmgr[60603]: D02A5BDC70: removed >=20 > Thank you very much! >=20 > Alyd >=20 >=20 >=20 >=20 >=A0 =A0 =A0=A0=A0 =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 09:34:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E79ED1065676 for ; Tue, 8 Sep 2009 09:34:32 +0000 (UTC) (envelope-from michaelgrunewald@yahoo.fr) Received: from mx2.mpim-bonn.mpg.de (mx2.mpim-bonn.mpg.de [195.37.209.170]) by mx1.freebsd.org (Postfix) with ESMTP id 793348FC2A for ; Tue, 8 Sep 2009 09:34:31 +0000 (UTC) X-IronPort-AV: E=McAfee;i="5300,2777,5734"; a="290377" X-IronPort-AV: E=Sophos;i="4.44,351,1249250400"; d="scan'208";a="290377" Received: from mailout.mpim-bonn.mpg.de (HELO ismene.mpim-bonn.mpg.de) ([192.168.42.38]) by mx2.mpim-bonn.mpg.de with ESMTP; 08 Sep 2009 11:04:33 +0200 Received: from [192.68.254.7] (aeria.mpim-bonn.mpg.de [192.68.254.7]) by ismene.mpim-bonn.mpg.de (8.13.8/8.13.8) with ESMTP id n8894UcA020140; Tue, 8 Sep 2009 11:04:31 +0200 (CEST) Message-ID: <4AA61E1D.6070807@yahoo.fr> Date: Tue, 08 Sep 2009 11:04:29 +0200 From: =?ISO-8859-1?Q?Micha=EBl_Gr=FCnewald?= User-Agent: Thunderbird 2.0.0.21 (X11/20090311) MIME-Version: 1.0 To: perryh@pluto.rain.com References: <20090906012107.E2731B7DD@kev.msw.wpafb.af.mil> <4AA47981.1090103@prgmr.com> <200909071451.24123.mel.flynn+fbsd.questions@mailing.thruhere.net> <4aa6100e.tHFPjmIiNAiRpJ+f%perryh@pluto.rain.com> In-Reply-To: <4aa6100e.tHFPjmIiNAiRpJ+f%perryh@pluto.rain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: mdc@prgmr.com, freebsd-questions@freebsd.org Subject: Re: Is there such thing as a 'soft checksum' tool? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 09:34:33 -0000 perryh@pluto.rain.com wrote: > Mel Flynn wrote: > > However, thinking about this inquiry and JPEG in the same sentence > has given me an idea that might help the OP: JPEG is a "lossy" > compression, with the degree of loss related to the chosen image > quality, so two "similar" images might become identical -- or at > least more similar -- if compressed to a sufficiently low quality > using the JPEG algorithm. This seems to be an excellent idea. A similar approach can (successfully) be used to let a computer recognize songs through a micrOphone: the incoming signal is transformmed to MP3 at a rather low quality, which provides a sort of fingerprint of the input. The quality factors shall be adujsted adequately for this application: there is a tradeoff between stability (noise insensitivity) and separation to find. The case of images is much more complicated if one wishes to recognize the same image at two different scales. -- Cheers, Michaël From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 12:06:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6D7D106566C for ; Tue, 8 Sep 2009 12:06:58 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mx1.freebsd.org (Postfix) with ESMTP id 5BC5C8FC0C for ; Tue, 8 Sep 2009 12:06:58 +0000 (UTC) Received: from bs.l (e180034209.adsl.alicedsl.de [85.180.34.209]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MKsym-1MkzTL076S-000lY1; Tue, 08 Sep 2009 14:06:55 +0200 Received: from bsch by bs.l with local (Exim 4.69) (envelope-from ) id 1MkzTK-0004rm-He for freebsd-questions@freebsd.org; Tue, 08 Sep 2009 14:06:54 +0200 Date: Tue, 8 Sep 2009 14:06:54 +0200 From: Bertram Scharpf To: freebsd-questions@freebsd.org Message-ID: <20090908120654.GB18404@marge.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <20090908045202.GA16556@thought.org> <4AA5F2FB.8080006@mapper.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <4AA5F2FB.8080006@mapper.nl> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: Bertram Scharpf X-Provags-ID: V01U2FsdGVkX18ExhnsUhg5T/hb9Zz3e0syE92uku/odFrFWIQ Vjd2KXMjuvFtR/XWFmDLShPIGCt3Z4+EBjsL49yRvJXfxY/6P0 2PixVWE+WHADOP5VLADJXbQb/pHeq2sNKBKdyBiK9o= Subject: Re: how to get rid of a character, 0x80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 12:06:58 -0000 Hi, Am Dienstag, 08. Sep 2009, 08:00:27 +0200 schrieb Mark Stapper: > Gary Kline wrote: > > anybody know why getchar() doesn't see 0x80 =3D=3D 0200? >=20 > Presumably, you want to read a capital C with cedille? (0x80 128 =C7) "\x80" is a nonbreakable space in iso8859-1/-15. (And a Euro sign in Windows-1252). Who uses cp437/cp850 on BSD? > besides.. 0x80!=3D0200 $ ruby -e 'puts 0x80, 0200' 128 128 Bertram --=20 Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 12:17:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C51C11065672 for ; Tue, 8 Sep 2009 12:17:10 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7E9188FC0C for ; Tue, 8 Sep 2009 12:17:10 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MkzdF-000282-02 for freebsd-questions@freebsd.org; Tue, 08 Sep 2009 14:17:09 +0200 Received: from 78-105-124-69.zone3.bethere.co.uk ([78.105.124.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Sep 2009 14:17:08 +0200 Received: from cdr.nil by 78-105-124-69.zone3.bethere.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Sep 2009 14:17:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Mark Willson Date: Tue, 08 Sep 2009 13:17:04 +0100 Lines: 33 Message-ID: References: <20090906003651.GA7388@thought.org> <20090906232300.GA11209@thought.org> <20090907010602.GA11657@thought.org> <20090907230548.GA15330@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-105-124-69.zone3.bethere.co.uk User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <20090907230548.GA15330@thought.org> Sender: news Subject: Re: is there a way of usinf greo to find 3 or 4 blank lines? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 12:17:10 -0000 Gary Kline wrote: > On Mon, Sep 07, 2009 at 08:06:51AM +0100, Mark Willson wrote: >> The following version should do what you want: >> >> BEGIN { >> ncnt = 0 >> prev = "BOF" >> } >> /^ *$/ { >> ncnt++; >> if (ncnt > 3) { >> print "Emphasis at " NR ": " prev; >> prev = "-multiple-" >> ncnt = 0; >> } >> next; >> } >> {ncnt = 0; prev = $0} >> >> -mark > > > It does! outstanding.... > > thanks again, > > gary > Gary, No problem. Glad I could help. -mark From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 12:25:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10B73106568B for ; Tue, 8 Sep 2009 12:25:42 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from goliath.siemens.de (goliath.siemens.de [192.35.17.28]) by mx1.freebsd.org (Postfix) with ESMTP id 80BFD8FC0C for ; Tue, 8 Sep 2009 12:25:41 +0000 (UTC) Received: from mail2.siemens.de (localhost [127.0.0.1]) by goliath.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id n88CF0S3014690; Tue, 8 Sep 2009 14:15:00 +0200 Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.40.130]) by mail2.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id n88CF0Cg003966; Tue, 8 Sep 2009 14:15:00 +0200 Received: (from localhost) by curry.mchp.siemens.de (8.14.3/8.14.3) id n88CF0XR020085; Date: Tue, 8 Sep 2009 14:15:00 +0200 From: Andre Albsmeier To: Andre Albsmeier Message-ID: <20090908121500.GA43979@curry.mchp.siemens.de> References: <490628.66452.qm@web52201.mail.re2.yahoo.com> <20090904184321.GA5684@curry.mchp.siemens.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090904184321.GA5684@curry.mchp.siemens.de> X-Echelon: X-Advice: Drop that crappy M$-Outlook, I'm tired of your viruses! User-Agent: Mutt/1.5.20 (2009-06-14) Cc: lyd mc , freebsd-questions@freebsd.org Subject: Re: Freebsd Built-in vacation program does not auto reply X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 12:25:42 -0000 On Fri, 04-Sep-2009 at 20:43:21 +0200, Andre Albsmeier wrote: > On Thu, 16-Apr-2009 at 18:00:26 +0000, lyd mc wrote: > > Hi guys, > > > > Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto reply? > > > > I am using fresh installed Freebsd7.0 and 7.1. here is my configs. > > Did you solve the problem already? I had a similar issue and > tracked it down to a really strange compiler bug... In fact it's no compiler bug (I only discovered it by changing the compiler options) but a problem in vacation.c. -Andre From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 12:43:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB74E1065679 for ; Tue, 8 Sep 2009 12:43:59 +0000 (UTC) (envelope-from jon@radel.com) Received: from wave.radel.com (wave.radel.com [216.143.151.4]) by mx1.freebsd.org (Postfix) with ESMTP id 90FEB8FC1B for ; Tue, 8 Sep 2009 12:43:59 +0000 (UTC) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 8975997; Tue, 08 Sep 2009 08:43:58 -0400 Received: from [192.168.43.221] (account jon@radel.com HELO braeburn.local) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP-TLS id 8975995; Tue, 08 Sep 2009 08:43:46 -0400 Message-ID: <4AA65182.6020200@radel.com> Date: Tue, 08 Sep 2009 08:43:46 -0400 From: Jon Radel User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Mark Stapper References: <20090908045202.GA16556@thought.org> <4AA5F2FB.8080006@mapper.nl> In-Reply-To: <4AA5F2FB.8080006@mapper.nl> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms060102070806090405040805" X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer Cc: Gary Kline , FreeBSD Mailing List Subject: Re: how to get rid of a character, 0x80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 12:43:59 -0000 This is a cryptographically signed message in MIME format. --------------ms060102070806090405040805 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mark Stapper wrote: > besides.. 0x80!=0200 > it's 0200 octal which is 128 decimal... > Might be why it doesn't work for you. Don't mess with his head. ;-) 0200 = 0x80 = 128 200 octal = 80 hex = 128 decimal -- --Jon Radel jon@radel.com --------------ms060102070806090405040805 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJMTCC AvMwggJcoAMCAQICEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDIyNTA0MTMyNloX DTEwMDIyNTA0MTMyNlowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9tYXMx GTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRlbC5j b20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDeT7qtj+euqWr2wXM7OnwrXJe9 Jlc0CGaM69AcTWOFakRY7MUXrqcmF5WjrqrMoagfGjS362eb6787x313ZdLoGuQPh/o2Mqp4 BbSgcnGZRj82SxkUmSN6+2q5ZOOYA6JmfvJwmBuRQ8sHki4GnoSwbIc11a70/z4at5qRi8bb /RtmJYewnpwXErfuuq0hhVSsYKFPXELzSahlpyC+lUfIdgvLJGxc7eU5QuvtYmuohNjn4k9C SJinvfjFbkvgbIgtvZxxmcE74NsKTeW2bEwgoCjZlcAD/QMgLE9KGSVn4/LzC/OZwkPKcWKO CPTNIZK1P+HxaIW4BvvYtjLu2Qx5AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRlbC5j b20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQBT+qFXV8sexrNOJuK8rhVpnCNF iFslD9Kelhon5Tt1tlTsw+B9F9B8ys9tfV559tzVqE+ULcqnjX2rsaJCwFmn6gyucCN0yGML h1O4ddsNQmoTOILyBCv/rkfO4tbXJM3si2JDNPZnL/0Rf3FpDTc3U3SnAdqE1a/8PGBTTmay VDCCAvMwggJcoAMCAQICEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEFBQAwYjELMAkG A1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNV BAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDIyNTA0MTMy NloXDTEwMDIyNTA0MTMyNlowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9t YXMxGTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRl bC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDeT7qtj+euqWr2wXM7Onwr XJe9Jlc0CGaM69AcTWOFakRY7MUXrqcmF5WjrqrMoagfGjS362eb6787x313ZdLoGuQPh/o2 Mqp4BbSgcnGZRj82SxkUmSN6+2q5ZOOYA6JmfvJwmBuRQ8sHki4GnoSwbIc11a70/z4at5qR i8bb/RtmJYewnpwXErfuuq0hhVSsYKFPXELzSahlpyC+lUfIdgvLJGxc7eU5QuvtYmuohNjn 4k9CSJinvfjFbkvgbIgtvZxxmcE74NsKTeW2bEwgoCjZlcAD/QMgLE9KGSVn4/LzC/OZwkPK cWKOCPTNIZK1P+HxaIW4BvvYtjLu2Qx5AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRl bC5jb20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQBT+qFXV8sexrNOJuK8rhVp nCNFiFslD9Kelhon5Tt1tlTsw+B9F9B8ys9tfV559tzVqE+ULcqnjX2rsaJCwFmn6gyucCN0 yGMLh1O4ddsNQmoTOILyBCv/rkfO4tbXJM3si2JDNPZnL/0Rf3FpDTc3U3SnAdqE1a/8PGBT TmayVDCCAz8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhh d3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNp b24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJ ARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3 MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAo UHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBD QTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me 7L3N9VvyGna9fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQq E88r1fOCdz0Dviv+uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEA AaOBlDCBkTASBgNVHRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9j cmwudGhhd3RlLmNvbS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIB BjApBgNVHREEIjAgpB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcN AQEFBQADgYEASIzRUIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNw PP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq72 6jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8xggNkMIIDYAIBATB2MGIxCzAJBgNVBAYT AlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNU aGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQHV4N5VjGEA7f3M4SceIBvDAJ BgUrDgMCGgUAoIIBwzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEP Fw0wOTA5MDgxMjQzNDZaMCMGCSqGSIb3DQEJBDEWBBQJGaQ8ROJowNXBqUc+kROHROnPNDBS BgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0D AgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEB1eDeVYxhAO39zOEnHi AbwwgYcGCyqGSIb3DQEJEAILMXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEBBQAEggEAqk+N v8ehl90WP7gYDyEwN9C0ulMwldvdiOPOEZx3LW4vn/dnlSh/WRCzQ4t4jROjAUediTpwXg9z JvklIwH30hb78bnc4MRx2LL7eYHes277+8+gFuGkzec6Jz9E+y1roKAjjoiWG8kLzuxFhZ+G QSCTg0VXGZEIQB1pVUBNWNkf1qjqIbxQXSCzHBKbLC+fPsr0/k/MSloXPa+jpHvIj3wPcftr dNlj41L5cX3K8VUIswnEeOOrz2CRCrzoL5Wou4y1XDmV4tgyV72gIhadKeyRhAzJ3oe4/pMd oK839KGtdj2dnyeifqRiuch+c8epNxcljDwQMGyyMro4FU8uJAAAAAAAAA== --------------ms060102070806090405040805-- From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 13:00:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5E0F1065679 for ; Tue, 8 Sep 2009 13:00:28 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 5A72F8FC1D for ; Tue, 8 Sep 2009 13:00:28 +0000 (UTC) Received: by bwz2 with SMTP id 2so924137bwz.43 for ; Tue, 08 Sep 2009 06:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=9d9K1iSvl+JZsjeDdLJbwB2v+B6CZBiYB7eTVX6TaxI=; b=Ud9ysxrIA6AZYHx4BPTy+6zQZp5sXIv6MCRiV1rplOANaToS3llGCU2zrluPaDUzZl lIUIkfonlLOxmHBdY5Pp9A5D004NinH1fvrUWTY2dSplZlDZ+3qG2z+OHf492fGwBf1u 15gCecrUEUoIa/B1SYlskxot6Zv4vQPS/QaTQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=es02ppawMrfn/MhYTThESeGXmu0dZhigdCI0tYmpPKORObBXzwi0uNeiWknpKiHv6I 39313JB7gWcfp3wJ/Jsh7uDsaFd3Xs8RAK1FpFHMMpWPA/SHA1vWunFY0J1alFgW2K4V QUxYyLe/dP5VdgUNDpPkeMCSdbTWCZI7F2pnE= Received: by 10.103.126.33 with SMTP id d33mr6668029mun.109.1252414827114; Tue, 08 Sep 2009 06:00:27 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 23sm365756mum.19.2009.09.08.06.00.25 (version=SSLv3 cipher=RC4-MD5); Tue, 08 Sep 2009 06:00:26 -0700 (PDT) Date: Tue, 8 Sep 2009 14:00:23 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090908140023.2820c507@gumby.homeunix.com> In-Reply-To: <20090908013414.GE15330@thought.org> References: <20090902234324.GA1735@thought.org> <20090908015612.778b4b1a@gumby.homeunix.com> <20090908013414.GE15330@thought.org> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: difficult-to-phrase question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 13:00:28 -0000 On Mon, 7 Sep 2009 18:34:15 -0700 Gary Kline wrote: > On Tue, Sep 08, 2009 at 01:56:12AM +0100, RW wrote: > > Wouldn't you be better-off just turning-off session management, and > > using autostart instead > > > > sounds like a good idea; how do i accomplish this? The Session Manager in "Control Center" lets you turn it off, and you can drag application icons into ~/.kde/Autostart to have them autostart instead. > also, > what if i have a konqueror running and sites running and the power > goes out. sometimes i want the apps to restart, not usually. is it > possible to save Some programs state and let others go? The Session Manager lets you exempt applications, but I'm not sure if you can distinguish konqueror browsers from file managers though. In other browsers crash recovery works independently of session management, I think you probably do need it with konqueror but I'm not sure. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 13:05:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5752106566B for ; Tue, 8 Sep 2009 13:05:39 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.freebsd.org (Postfix) with ESMTP id 92D058FC23 for ; Tue, 8 Sep 2009 13:05:39 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id BD9EB1F088; Tue, 8 Sep 2009 09:05:38 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 8D3A2348BE; Tue, 8 Sep 2009 09:05:38 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1Ml0O9-0004jg-00; Tue, 08 Sep 2009 09:05:37 -0400 Date: Tue, 8 Sep 2009 09:05:37 -0400 From: stan To: Mel Flynn Message-ID: <20090908130537.GA18048@teddy.fas.com> Mail-Followup-To: Mel Flynn , freebsd-questions@freebsd.org References: <20090903114857.GA635@teddy.fas.com> <200909032341.28748.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090904142807.GA5339@teddy.fas.com> <200909041704.19865.mel.flynn+fbsd.questions@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200909041704.19865.mel.flynn+fbsd.questions@mailing.thruhere.net> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 08:59:14 up 38 days, 14:01, 1 user, load average: 0.22, 0.17, 0.13 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: freebsd-questions@freebsd.org Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 13:05:40 -0000 On Fri, Sep 04, 2009 at 05:04:19PM +0200, Mel Flynn wrote: > On Friday 04 September 2009 16:28:07 stan wrote: > > On Thu, Sep 03, 2009 at 11:41:28PM +0200, Mel Flynn wrote: > > > On Thursday 03 September 2009 22:23:47 stan wrote: > > > > On Thu, Sep 03, 2009 at 10:10:13PM +0200, Mel Flynn wrote: > > > > > On Thursday 03 September 2009 21:02:41 stan wrote: > > > > > > pnoc# cat collect-subtrees > > > > > > #!/bin/sh > > > > > > > > > > > > echo STARTED >> /tmp/stan > > > > > > which perl >> /tmp/stan > > > > > > /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan > > > > > > echo Done >> /tmp/stan > > > > > > > > > > > > /tmp stan contains: > > > > > > > > > > > > pnoc# cat /tmp/stan > > > > > > STARTED > > > > > > /usr/bin/perl > > > > > > Done > > > > > > STARTED > > > > > > /usr/bin/perl > > > > > > Done > > > > > > > > > > > > So, cron is invoking the correct command, and perl can be found, > > > > > > but the original collect_subtrees perl script silently dies. > > > > > > > > > > > > I am convinced it's an environemt probkl`lem, I am just uncertain > > > > > > how to determine what. > > > > > > > > > > I'm not anymore. I'm putting 1 cent on a broken /usr/bin/perl symlink > > > > > (perl upgrade gone bonkers, f.e. done with ro mounted /usr) and > > > > > another cent on the perl script using system() function, with > > > > > pathless commands (that is environment). > > > > > > Ok, one liner: > > > su -m cricket env -i HOME=/usr/local/cricket PATH=/bin:/usr/bin \ > > > /usr/local/cricket/cricket/collect-subtrees.pl normal > > > > > > I've downloaded the 1.0.5 version, but can't quickly see where that would > > > go wrong with this script. touch is in /usr/bin, so that should work. Any > > > cron messages in /var/mail/cricket? > > > > I am away from work today, and won't be back till Tuesday. I can't access > > this from home. > > > > I will try your test then. The only messages that are getting to > > /var/log/cron is just the one saying that the task was executed. > Yea, the error messages end up in /var/mail/$USER or MAILTO variable if set in > crontab. /var/log/maillog should have some tell tales. That turned out to be the information I needed to solve theproblem. I had told my contractor to put a .forward in every non user uer'es account (such as Cricket), and he had not done that. had he done that I would have gotten the needed inforamtion, when I first brought the system abck up. Turns out there was a lockfile, and Cricket was emailing me, asking me to remove it if it was satle :-( Removing it solved the mystery. Thanks for all the help, everyone!! Subtree normal is currently being processed. If this is a mistake, use "rm /tmp/cricket-subtree-normal" to unlock it. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 13:34:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 569ED106566B for ; Tue, 8 Sep 2009 13:34:28 +0000 (UTC) (envelope-from spamchannel@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0CFED8FC0A for ; Tue, 8 Sep 2009 13:34:27 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so785240qwe.7 for ; Tue, 08 Sep 2009 06:34:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ok0qGA74qsDM0/jWfMAWCa7ij0F3ESMwkO0VzlCxhwU=; b=aka/JUIiJDNYXXTLnqMImQwbqVwXjLJvTPr3ICV7zVz+pAy37JPdHFhMR6FaiSK5ir ghv0fdlo/uLJwHKfpBstnGgVbgncP23Lp0UxVfRFdAhEoiJlNHLJyq4L1+8alFO+e6bN Fph+sRvZdcxXgeLAjIyHsw9MJ319Otug83Q6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=m4Wd++02N7TDQhrkxS78j4C/7diuOBQt34vbtDTeTas48JmEs44eIXA1G3ruJWbh6r rrd2a5Uq423DEQb1iG9eLXVpwgwvcVJDklSGri4IcN4f+0q0bVpr/zNPELvb8YYRsaPV uizMPUr7FHfYhM2aik9le4IgaeK3uHsofwJoY= MIME-Version: 1.0 Received: by 10.229.119.152 with SMTP id z24mr3946460qcq.97.1252414926472; Tue, 08 Sep 2009 06:02:06 -0700 (PDT) In-Reply-To: <4AA65182.6020200@radel.com> References: <20090908045202.GA16556@thought.org> <4AA5F2FB.8080006@mapper.nl> <4AA65182.6020200@radel.com> Date: Tue, 8 Sep 2009 08:02:06 -0500 Message-ID: <9ca8670b0909080602ud2e4c0bq819251db916b6d3b@mail.gmail.com> From: Jim White To: Jon Radel Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Gary Kline , Mark Stapper , FreeBSD Mailing List Subject: Re: how to get rid of a character, 0x80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 13:34:28 -0000 On Tue, Sep 8, 2009 at 7:43 AM, Jon Radel wrote: > Mark Stapper wrote: > > besides.. 0x80!=0200 >> it's 0200 octal which is 128 decimal... >> Might be why it doesn't work for you. >> > > Don't mess with his head. ;-) > > 0200 = 0x80 = 128 > > 200 octal = 80 hex = 128 decimal > > -- > > --Jon Radel > jon@radel.com > You may want to check if your char type is signed. If it is (and it just happens to be 8 bits wide), (char)128 is a negative value. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 14:15:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E437C1065692 for ; Tue, 8 Sep 2009 14:15:39 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from smtp114.iad.emailsrvr.com (smtp114.iad.emailsrvr.com [207.97.245.114]) by mx1.freebsd.org (Postfix) with ESMTP id BA7938FC19 for ; Tue, 8 Sep 2009 14:15:39 +0000 (UTC) Received: from relay21.relay.iad.mlsrvr.com (localhost [127.0.0.1]) by relay21.relay.iad.mlsrvr.com (SMTP Server) with ESMTP id 1373E1B404E; Tue, 8 Sep 2009 10:15:39 -0400 (EDT) Received: by relay21.relay.iad.mlsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 02B4B1B431A; Tue, 8 Sep 2009 10:15:37 -0400 (EDT) User-Agent: Microsoft-Entourage/12.10.0.080409 Date: Tue, 08 Sep 2009 10:15:36 -0400 From: Tom Worster To: Nikos Vassiliadis Message-ID: Thread-Topic: "me" in ipfw rules - does it include aliases? Thread-Index: AcowjtWQ1iOfgpxd1EetYy9rLWbEwg== In-Reply-To: <4AA600AF.9030701@gmx.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: "me" in ipfw rules - does it include aliases? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 14:15:40 -0000 On 9/8/09 2:58 AM, "Nikos Vassiliadis" wrote: > Tom Worster wrote: >> the ipfw man page says: >> >> me matches any IP address configured on an interface in the system. >> >> which suggests that if i code my rules using "me" then when i add an alias >> ip address to an interface with ifconfig, these "me" rules will immediately >> work for the newly added address as they do for other addresses. > >> is that correct? > > Yes, the "me" keyword is expanded to whatever IP address is > assigned on any interface in the system. It's updated whenever > an IP address is added to or removed from an interface. Use the > simple ruleset bellow to test it yourself: > > lab# ipfw list > 00100 allow ip from me to me > 65535 deny ip from any to any > > add alias & ping alias => success > remove alias & ping alias => failure > > It's a really useful keyword, yet it's not panacea. When > using it, one has to think the possibility of an attacker > who uses "me" addresses. Use some interface checking as > well in your ruleset... > > Nikos thanks, nikos. my rules were all written with "me" and my apache config didn't mention any ip addresses so i went ahead and cut over service from a primary server to its hot standby by removing the external ip address on the primary and adding it as an alias to the standby's external interface. both servers are attached to the same upstream ethernet bridge (not necessarily the most reliable network config, i know) and it worked well. i'm interested in your other comment about the risks of using "me". for the best possible security, i'll post my ruleset here for y'all to review ... or maybe not :-) From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 15:13:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A97E106566C for ; Tue, 8 Sep 2009 15:13:05 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id E49188FC1C for ; Tue, 8 Sep 2009 15:13:04 +0000 (UTC) Received: (qmail invoked by alias); 08 Sep 2009 15:13:03 -0000 Received: from adsl-233.79.107.87.tellas.gr (EHLO [169.254.0.100]) [79.107.87.233] by mail.gmx.com (mp-eu001) with SMTP; 08 Sep 2009 17:13:03 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX19EUooZqslEDvUiUPW0uTGDoPK/nWT643twvn8soX z+z9iXHqWFav5C Message-ID: <4AA67477.2030902@gmx.com> Date: Tue, 08 Sep 2009 18:12:55 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tom Worster References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 Cc: freebsd-questions@freebsd.org Subject: Re: "me" in ipfw rules - does it include aliases? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 15:13:05 -0000 Tom Worster wrote: > > thanks, nikos. > You're welcome. > > i'm interested in your other comment about the risks of using "me". All I am saying is that you have to take care of "attacks" which use "me" addresses. Packets with source address a "me" address coming from a network interface, AKA spoofed packets. Apparently a "me" source address cannot come from a wire[1], right? It's not a great risk, but you better filter them out. Also, it is very possible that such attacks are not applicable to your network. Or not. I am just pointing the possible false sense of security when using rules which match "me" addresses. Just be sure that "me" is really your firewall and not somebody else... for the > best possible security, i'll post my ruleset here for y'all to review ... or > maybe not :-) You better not:) [1] by the word wire, I mean every non-loopback interface Nikos From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 16:44:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D74F010657A3 for ; Tue, 8 Sep 2009 16:44:30 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from smtp244.iad.emailsrvr.com (smtp244.iad.emailsrvr.com [207.97.245.244]) by mx1.freebsd.org (Postfix) with ESMTP id AE8F68FC1C for ; Tue, 8 Sep 2009 16:44:30 +0000 (UTC) Received: from relay14.relay.iad.mlsrvr.com (localhost [127.0.0.1]) by relay14.relay.iad.mlsrvr.com (SMTP Server) with ESMTP id 1F84223684D for ; Tue, 8 Sep 2009 12:44:30 -0400 (EDT) Received: by relay14.relay.iad.mlsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 60331236838 for ; Tue, 8 Sep 2009 12:44:27 -0400 (EDT) User-Agent: Microsoft-Entourage/12.10.0.080409 Date: Tue, 08 Sep 2009 12:44:24 -0400 From: Tom Worster To: "freebsd-questions@freebsd.org" Message-ID: Thread-Topic: GEOM: the secondary GPT table is corrupt Thread-Index: Acowo58R7dxgNbFlZ0atixpMsPLzyA== Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: GEOM: the secondary GPT table is corrupt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 16:44:30 -0000 i'm using gmirror on a server box here at home without understanding how geom works in any detail. i probably followed the handbook chapter 19.4 but it was a while ago. i'm wondering if there's a way to clear these warnings in boot logs: ad4: 715404MB at ata2-master SATA150 GEOM: ad4: the secondary GPT table is corrupt or invalid. GEOM: ad4: using the primary only -- recovery suggested. ad6: 715404MB at ata3-master SATA150 GEOM: ad6: the secondary GPT table is corrupt or invalid. GEOM: ad6: using the primary only -- recovery suggested. GEOM_MIRROR: Device mirror/gm0 launched (2/2). GEOM: mirror/gm0: the secondary GPT table is corrupt or invalid. GEOM: mirror/gm0: using the primary only -- recovery suggested. GEOM_LABEL: Label for provider mirror/gm0p1 is msdosfs/EFI. Trying to mount root from ufs:/dev/mirror/gm0s1a GEOM_LABEL: Label msdosfs/EFI removed. the array seems to be fine, according to gmirror status. googling around, it seems these warnings indicate shoddy initial setup of the disks and there's no clear answer how to sort these matters out. any advice? -tom From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 18:44:28 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 642B0106566B for ; Tue, 8 Sep 2009 18:44:28 +0000 (UTC) (envelope-from mikel.king@olivent.com) Received: from mail.olivent.com (mail.olivent.com [69.31.85.206]) by mx1.freebsd.org (Postfix) with ESMTP id 007F48FC0C for ; Tue, 8 Sep 2009 18:44:27 +0000 (UTC) Received: from [172.16.1.8] ([68.195.158.255]) (authenticated user mikel@olivent.com) by mail.olivent.com (Kerio MailServer 6.7.1) (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)) for questions@freebsd.org; Tue, 8 Sep 2009 14:44:26 -0400 Message-Id: From: Mikel King To: freebsd-questions Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 8 Sep 2009 14:44:25 -0400 X-Mailer: Apple Mail (2.936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Invitation to help test the BSD News Network... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 18:44:28 -0000 Although I have received a very good response, I am still looking for a handful of beta testers as well as some volunteers to help tweak the installation. If you are interested in helping build the BSD News Network then contact me directly off list. Regards, Mikel King CEO, Olivent Technologies Senior Editor, Daemon News Columnist, BSD Magazine 6 Alpine Court, Medford, NY 11763 o: 631.627.3055 skype:mikel.king http://olivent.com http://mikelking.com http://twitter.com/mikelking From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 19:21:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39F921065676 for ; Tue, 8 Sep 2009 19:21:45 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id CD9E08FC08 for ; Tue, 8 Sep 2009 19:21:44 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n88JKqlM095631; Tue, 8 Sep 2009 12:20:52 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 8 Sep 2009 12:21:40 -0700 (PDT) Date: Tue, 8 Sep 2009 12:21:38 -0700 From: Gary Kline To: Jim White Message-ID: <20090908192138.GA19288@thought.org> References: <20090908045202.GA16556@thought.org> <4AA5F2FB.8080006@mapper.nl> <4AA65182.6020200@radel.com> <9ca8670b0909080602ud2e4c0bq819251db916b6d3b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9ca8670b0909080602ud2e4c0bq819251db916b6d3b@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List , Mark Stapper , Jon Radel Subject: Re: how to get rid of a character, 0x80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 19:21:45 -0000 On Tue, Sep 08, 2009 at 08:02:06AM -0500, Jim White wrote: > On Tue, Sep 8, 2009 at 7:43 AM, Jon Radel wrote: > > > Mark Stapper wrote: > > > > besides.. 0x80!=0200 > >> it's 0200 octal which is 128 decimal... > >> Might be why it doesn't work for you. > >> > > > > Don't mess with his head. ;-) > > > > 0200 = 0x80 = 128 > > > > 200 octal = 80 hex = 128 decimal > > Yup :-) > > > > --Jon Radel > > jon@radel.com > > > > You may want to check if your char type is signed. If it is (and it just > happens to be 8 bits wide), (char)128 is a negative value. I used int ch, not char ch; Also, just found some throwaway code that [of course] never gets pitched, and found the for chars >= 128, it's a wide character. while (( ch = getwc(stdin)) != WEOF) { if (ch == L'\xe2') { if ((ch1 = getwc(stdin)) == L'\x80') { printf("'"); /* check for and swallow last of the trio */ if ((ch2 = getwc(stdin)) == L'\x90') { continue; } } } else { putchar (ch); } } I wrote the above to get rid of openoffice TXT that was still cluttered with the trio of wide characters that output one apostrophe. Last night I used pdftotext to translate a pdf file; it was cluttered with a slew of ^L's, which == '\014', and wound up with a greater slew of in more [less] and vi. Nutshell, the file was fubar'd. gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 19:50:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 329871065672 for ; Tue, 8 Sep 2009 19:50:11 +0000 (UTC) (envelope-from herbs@langhans.com.pl) Received: from langhans.com.pl (host-194126238033.net-serwis.pl [194.126.238.33]) by mx1.freebsd.org (Postfix) with ESMTP id E4EE38FC1B for ; Tue, 8 Sep 2009 19:50:10 +0000 (UTC) Received: by langhans.com.pl (Postfix, from userid 1000) id CE39C1B9B37; Tue, 8 Sep 2009 21:55:16 +0200 (CEST) Date: Tue, 8 Sep 2009 21:55:16 +0200 From: herbs To: Sergey Vinogradov , freebsd-current@freebsd.org, freebsd-questions@freebsd.org Message-ID: <20090908195516.GA8398@greencat.langhans.com.pl> References: <4AA65ABE.4000207@lazybytes.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AA65ABE.4000207@lazybytes.org> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: ath(4) Atheros AR9285 support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 19:50:11 -0000 I had serious problems using the port hal in combination with an Atheros WiFi card. Maybe disable hal and try again? Cheers herb langhans On Tue, Sep 08, 2009 at 05:23:10PM +0400, Sergey Vinogradov wrote: > Hi, > Just wanted to know, if there will be any Atheros AR9285 support in > ath(4) driver in nearest future? I've got my ASUS Eee 1005HA with one of > these wireless adapters, and it doesn't seem to be working. > > -- > wbr, > Boo > -- ******* Herbert Langhans, Warschau ******* Sprachtraining Langhans ******* http://www.langhans.com.pl ******* herbert at langhans.com.pl ******* NIP 526-229-61-51 ******* Regon 014911759 ******* Tel. 603 341 441 From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 20:20:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EA101065696 for ; Tue, 8 Sep 2009 20:20:19 +0000 (UTC) (envelope-from boogie@lazybytes.org) Received: from mail.lazybytes.org (odin.rinet.ru [195.54.209.3]) by mx1.freebsd.org (Postfix) with ESMTP id EAC198FC14 for ; Tue, 8 Sep 2009 20:20:18 +0000 (UTC) Received: from [192.168.13.148] (broadband-77-37-224-248.nationalcablenetworks.ru [77.37.224.248]) by mail.lazybytes.org (Postfix) with ESMTPSA id D4E3114035C9; Wed, 9 Sep 2009 00:01:36 +0400 (MSD) Message-ID: <4AA6B894.5090904@lazybytes.org> Date: Wed, 09 Sep 2009 00:03:32 +0400 From: Sergey Vinogradov User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: herbs References: <4AA65ABE.4000207@lazybytes.org> <20090908195516.GA8398@greencat.langhans.com.pl> In-Reply-To: <20090908195516.GA8398@greencat.langhans.com.pl> X-Enigmail-Version: 0.96.0 OpenPGP: url=http://lazybytes.org/people/boogie/pubkey.gpg Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE8BD6177E190EE06D3197356" Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: ath(4) Atheros AR9285 support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 20:20:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE8BD6177E190EE06D3197356 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable herbs wrote: > I had serious problems using the port hal in combination with an Athero= s > WiFi card. Maybe disable hal and try again? >=20 > Cheers > herb langhans > =20 > On Tue, Sep 08, 2009 at 05:23:10PM +0400, Sergey Vinogradov wrote: >> Hi, >> Just wanted to know, if there will be any Atheros AR9285 support in >> ath(4) driver in nearest future? I've got my ASUS Eee 1005HA with one = of >> these wireless adapters, and it doesn't seem to be working. >> >> --=20 >> wbr, >> Boo >> >=20 >=20 >=20 It's a fresh install, nothing but base system and GENERIC kernel installe= d. --=20 wbr, Boo --------------enigE8BD6177E190EE06D3197356 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqmuJkACgkQCt8hfbw1GpZf+wCePbwODfj5DKWqKDR2Nwb7Cd8S zkkAnjmrNQX/hsfqgCXRFP5TA/lKwDGQ =OhpA -----END PGP SIGNATURE----- --------------enigE8BD6177E190EE06D3197356-- From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 20:38:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB4F41065672 for ; Tue, 8 Sep 2009 20:38:25 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id BBF0A8FC15 for ; Tue, 8 Sep 2009 20:38:25 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 65FD57E818; Tue, 8 Sep 2009 12:38:37 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Tue, 8 Sep 2009 22:38:22 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA4; KDE/4.2.4; i386; ; ) References: <25314145.post@talk.nabble.com> <200909072112.14374.mel.flynn+fbsd.questions@mailing.thruhere.net> <25338956.post@talk.nabble.com> In-Reply-To: <25338956.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909082238.22862.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: jaymax Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 20:38:26 -0000 On Tuesday 08 September 2009 04:14:55 jaymax wrote: > > restore -tf /disk03/dump/root2.dump > rootrestore-0.lst > > To my surprise rootrestore-0.lst contains a whole listings of ./usr/ files > ex. > > > 2926 ./usr/include/bsnmp/snmpmod.h > > 2927 ./usr/include/bsnmp/snmp_atm.h > > Now /usr is on a separate and distinct partition > > > /dev/ad0s1f 36205990 25765232 7544280 77% /usr > > Hope someone can make some sense of this. This is exactly what I figured. Some files are hiding behind a mount point. The got there most likely, cause you did make installworld without /usr mounted, which would happen if you have the FreeBSD source tree on a different location, reboot into single user mode, only mount the source tree and do installworld. To repair, reboot into single user. Run the following commands: fsck -y / mount -u -o rw / rm -rf /usr/* exit This should delete the offending files. -- Mel From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 21:17:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF5DC1065676 for ; Tue, 8 Sep 2009 21:17:25 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from mail-ew0-f221.google.com (mail-ew0-f221.google.com [209.85.219.221]) by mx1.freebsd.org (Postfix) with ESMTP id 8A93E8FC18 for ; Tue, 8 Sep 2009 21:17:25 +0000 (UTC) Received: by ewy21 with SMTP id 21so389863ewy.8 for ; Tue, 08 Sep 2009 14:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=PGQoDCc7rtNII+zgJvGvBD3bxSB9rTkHFHbCXmWu4cE=; b=GTEqmZ2w0VlmT22U+/A8DTGeyCl+6wIaoVfii7MCwdGHaei/gIH6FxYBRY82gl3VDK tYByJm6tAhEPbvFQlFGDBcIPNgMW+izWI/fi2SBaXOAnLBWj3tMgeKwvYKApCVPa7Nlc 0oopqMIYIUZ53+esbTWoJ01TwEVq3J2PaOt3Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fa8Ie1Did+LHUfloR+JGAtPEf1xqORkGf+PP47GLEmf3Orp2ar412zuTRbecPszq2i IDDg6FcB5Vv3jEp3XU4Hj0r7NYkH3jIZYBIcxF5N6gOQKZILrtYiA4yL1bdB5/6HPfEE l7L1BYlt9TSsp1btPfvPbOl0iZi8Zlgfs6s8o= MIME-Version: 1.0 Received: by 10.211.145.8 with SMTP id x8mr3682323ebn.67.1252444644249; Tue, 08 Sep 2009 14:17:24 -0700 (PDT) In-Reply-To: <200909051903.29244.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200909040212.44397.mel.flynn+fbsd.questions@mailing.thruhere.net> <200909051903.29244.mel.flynn+fbsd.questions@mailing.thruhere.net> Date: Tue, 8 Sep 2009 18:17:24 -0300 Message-ID: From: Agus To: Mel Flynn Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Reverse Proxy /Proxy Pass X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 21:17:27 -0000 2009/9/5 Mel Flynn : > On Saturday 05 September 2009 09:55:54 Agus wrote: >> 2009/9/3 Mel Flynn : >> > On Friday 04 September 2009 01:20:46 Agus wrote: >> >> What server, application do u know/recommend me for using as a >> >> ProxyPass / Reverse Proxy... >> >> >> >> The idea is to forward all requests to port 80 to this server and then >> >> from here according to the vhost send it to the actual server... For >> >> now i only need proxying.. dont think cacheing will be possible so im >> >> just looking for a pretty fast, light and stable app to do this on a >> >> freebsd 7... >> >> >> >> Thanks and ihope to hear some cool recommendations.. hehe >> > >> > If lightweight, go with www/nginx. Features, go with www/squid or >> > apache+mod_proxy. >> > -- >> > Mel >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to >> > "freebsd-questions-unsubscribe@freebsd.org" >> >> Thanks Mel... Now i've been reading a little and found that cherokee >> maybe a very good alternative also.... I also found that the >> performance will variate according to the syscall the server uses... i >> read about poll,etc.... how to know which syscalls does the servers >> support and which one is better/fastest? > > kqueue is preferred on *BSD, since it's able to aggregate multiple filter > matches into one event if they happen to occur in a close time frame. This > reduces copyout from kernel to userland. It also used to be true that poll is > a busywait, but I think that has been corrected. > > If you're interested, the original design document for kqueue is available > here: > http://people.freebsd.org/~jlemon/papers/kqueue.pdf > -- > Mel > Greatt.. sorry for the late response.. i was on vacations in a place with no internet... hehe... on the second day i was cryinggg.. haha thanks so much for the explanation and link... will read that and try to understand a bit ... hehe Cheers, AR From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 22:42:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D94451065672 for ; Tue, 8 Sep 2009 22:42:19 +0000 (UTC) (envelope-from miklosovic.freebsd@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 736E78FC16 for ; Tue, 8 Sep 2009 22:42:19 +0000 (UTC) Received: by fxm6 with SMTP id 6so2867978fxm.43 for ; Tue, 08 Sep 2009 15:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=mZfSeBf84fiE6IUJkyvomzDQ2pTCoR7gx+dViN5I9gk=; b=s3CQ9ixyzOZQCFct8EDpiXCRWUkBfIkzRxujPoBWPnA7HLKoQqespS9z0ihxDkKrPK 6MLNEe/sUJoZI0PrHv6LFOGmAGjSe9XM2PDswCsTmXpQ3XRuyNZFec3FlCI+S2OS7vjN YQgFO+kPF8RjRU5R48TZW60Oqqo2hULqM3HT4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VcOvJqvY3ZyuxnZLvAXR6X/Mz8y+Ne+lZeRqChlII5WNWkrvAZfAKGwnXruhKdCAvo Y7XZwGedr2uneXbpX5Mn9bBsV1ui9C45a4bEco8nVbA+16/M8bsejifYvEAr+ewG7ZQC ei7PB8BFpi5N/0Jm7OQ7Qy6SU1KgHv2Di5BxI= MIME-Version: 1.0 Received: by 10.103.78.22 with SMTP id f22mr7003302mul.14.1252449738057; Tue, 08 Sep 2009 15:42:18 -0700 (PDT) Date: Wed, 9 Sep 2009 00:42:18 +0200 Message-ID: From: Stefan Miklosovic To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: setquota + geli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 22:42:19 -0000 hi, I would like to set some quotas with setquota on crypted disk with geli, but if I want to do so -> /etc/fstab /dev/ad0s2f.eli /home ufs rw,noatime,userquota,groupquota 2 2 /etc/rc.conf enable_quotas="YES" I can edit quotas by edquota, but with setquota command it is impossible ~# setquota -u -f /dev/ad0s2f.eli -bh10000 stewe setquota : /dev/ad0s2f.eli is not a valid filesystem. does setquota support encrypted disks? what should I do? thank you From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 22:51:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6C221065672 for ; Tue, 8 Sep 2009 22:51:29 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505e.appriver.com [98.129.35.9]) by mx1.freebsd.org (Postfix) with ESMTP id A0B598FC13 for ; Tue, 8 Sep 2009 22:51:29 +0000 (UTC) X-Policy: GLOBAL - maxiscale.com X-Primary: psteele@maxiscale.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: psteele@maxiscale.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.23.15 X-Note-Reverse-DNS: ht02.exg5.exghost.com X-Note-WHTLIST: psteele@maxiscale.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 111 112 113 114 118 119 130 214 X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.23.15] (HELO ht02.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.2.14) with ESMTPS id 8969700 for freebsd-questions@freebsd.org; Tue, 08 Sep 2009 16:51:26 -0500 Received: from mbx03.exg5.exghost.com ([169.254.1.239]) by ht02.exg5.exghost.com ([98.129.23.15]) with mapi; Tue, 8 Sep 2009 16:51:26 -0500 From: Peter Steele To: "'freebsd-questions@freebsd.org'" Date: Tue, 8 Sep 2009 16:51:20 -0500 Thread-Topic: Using mdconfig for swap space Thread-Index: Acowzn6Wqp+6PpLAQv2DX0xbhI05pw== Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 22:51:30 -0000 Are there any advantages to using mdconfig and creating a virtual disk for = swap space as opposed to having a designated swap partition? For example, I= could do something like this: mdconfig -a -t swap -f /var/swap0 -s 4g swapon -a /dev/md0 to add 4G to the system swap space backed by the file /var/swap0. How would= this compare to repartitioning my hard drive and adding a new 4GB swap par= tition? From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 23:00:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 971F81065679 for ; Tue, 8 Sep 2009 23:00:27 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout019.mac.com (asmtpout019.mac.com [17.148.16.94]) by mx1.freebsd.org (Postfix) with ESMTP id 84D108FC12 for ; Tue, 8 Sep 2009 23:00:27 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp019.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KPO00LDFD8J9M20@asmtp019.mac.com> for freebsd-questions@freebsd.org; Tue, 08 Sep 2009 16:00:19 -0700 (PDT) Message-id: <7EDDD18F-A0BA-4BFF-8C98-FC6D38187B9E@mac.com> From: Chuck Swiger To: Peter Steele In-reply-to: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> Date: Tue, 08 Sep 2009 16:00:19 -0700 References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> X-Mailer: Apple Mail (2.936) Cc: "'freebsd-questions@freebsd.org'" Subject: Re: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 23:00:27 -0000 Hi, Peter-- On Sep 8, 2009, at 2:51 PM, Peter Steele wrote: > Are there any advantages to using mdconfig and creating a virtual > disk for swap space as opposed to having a designated swap > partition? For example, I could do something like this: > > mdconfig -a -t swap -f /var/swap0 -s 4g > swapon -a /dev/md0 > > to add 4G to the system swap space backed by the file /var/swap0. > How would this compare to repartitioning my hard drive and adding a > new 4GB swap partition? First, using -f means using -t vnode. Secondly, swapping directly to a swap partition is mildly faster than having to navigate through the filesystem layers to do swapfile based swapping. Other platforms have chosen to go with the dynamically created and deleted swapfiles (under /var/vm/swapfile0, 1, etc for example) to allow the system to adjust the amount of disk used for swapspace dynamically. With disk space costing a matter of a few cents per gigabyte nowadays, setting up a dedicated swap partition and just letting it do it's thing is much easier than trying to fiddle around with alternatives, IMHO, but you're welcome to experiment and see whether you end up with something which is actually better for your circumstances.... Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 23:02:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CB2D1065670 for ; Tue, 8 Sep 2009 23:02:37 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id 2319A8FC08 for ; Tue, 8 Sep 2009 23:02:37 +0000 (UTC) Received: by ywh35 with SMTP id 35so4324379ywh.28 for ; Tue, 08 Sep 2009 16:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=StfpX/6Wg3FHr8n5JRt+D37p5lE/PAJ+TlcvV5Hdwn8=; b=vg3ORN7CrU+1hGPlZqYwie5JtCWRHktOY1I1XNSxaWV8p8hQN7CrUASpp4jDARmy30 0+vRGLEU+w9MQSOLS8LTuuFBp2QS0wAKVwo86uDL6vCm7a8rclE+BnycE8WkypbaOf6g gxyuKP17OEcpWJ4r9RFf1AD5qFI4HZbPG//b0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=j5Jj4yS4h4VPqei/ZBG0q1aqtxgPaAIhkpcwV6A2ze6NcH0UOKtbAVSKejToAgkk95 zYqlt6ygNH6aaqnDpXhiDGrtlEZuxaeKXPg8MNWT37lUHKUlY1tfJ7sEruySfxxmAEyu mMWJxdoJFqkBTY4Xnz+0MfHdjb51SACYkbzVM= MIME-Version: 1.0 Received: by 10.150.194.20 with SMTP id r20mr25806679ybf.340.1252450956595; Tue, 08 Sep 2009 16:02:36 -0700 (PDT) In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> Date: Tue, 8 Sep 2009 18:02:36 -0500 Message-ID: <6201873e0909081602r4f8620a7jcab70703977d5ee9@mail.gmail.com> From: Adam Vande More To: Peter Steele Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd.org" Subject: Re: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 23:02:37 -0000 On Tue, Sep 8, 2009 at 4:51 PM, Peter Steele wrote: > Are there any advantages to using mdconfig and creating a virtual disk for > swap space as opposed to having a designated swap partition? For example, I > could do something like this: > > mdconfig -a -t swap -f /var/swap0 -s 4g > swapon -a /dev/md0 > > to add 4G to the system swap space backed by the file /var/swap0. How would > this compare to repartitioning my hard drive and adding a new 4GB swap > partition? > > In general, this is not a good idea. Your system will ideally not use swap space at all, and if it's using it a lot then it could sure use the extra ram consumed by the md drive instead of in swap. Most likely to slow your system down, not speed it up. If you're going to do anything, it's best to keep swap on a separate disk, or on the outer part of disk. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 23:57:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59BE51065679 for ; Tue, 8 Sep 2009 23:57:17 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6448FC18 for ; Tue, 8 Sep 2009 23:57:16 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n88NqxwN019606; Tue, 8 Sep 2009 19:52:59 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n88NqxAp019605; Tue, 8 Sep 2009 19:52:59 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 8 Sep 2009 19:52:59 -0400 From: Jerry McAllister To: Peter Steele Message-ID: <20090908235259.GB19173@gizmo.acns.msu.edu> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> User-Agent: Mutt/1.4.2.2i Cc: "'freebsd-questions@freebsd.org'" Subject: Re: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 23:57:17 -0000 On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: > Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: Unless I am missing something basic here, it seems like a bad idea to me - to carve out and use up some memory to use as extra storage for processes that need more memory that you have taken away to give to swap. That is self defeating. In addition, one use of swap is to write dumps to if there is a crash. If you put it in memory, it is gone when you reboot. ////jerry > > mdconfig -a -t swap -f /var/swap0 -s 4g > swapon -a /dev/md0 > > to add 4G to the system swap space backed by the file /var/swap0. How would this compare to repartitioning my hard drive and adding a new 4GB swap partition? > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 00:03:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA7701065692 for ; Wed, 9 Sep 2009 00:03:33 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 64B768FC16 for ; Wed, 9 Sep 2009 00:03:33 +0000 (UTC) Received: by bwz2 with SMTP id 2so1338677bwz.43 for ; Tue, 08 Sep 2009 17:03:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=Ty4rZFEr3adjh2dyKEDsehUakOBfDsj+7fctXwUT/c8=; b=u9cdhZboqf0JsDty+nEavLmpst0BDXsMTiYK3/0GnepmB0V3kObgA9gEvBDR2KxB/M vq/N+ANJMR5WX4l6V9uBPQHpmcjRsRibKgO5/ZMYCvIOmyuJYt+47hdxDouMgDlyri7N azUVrC7kmP365D9gte8hOhnB+dCF+7Yi40K1w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=Vd2Z37GVfQ0OpI45bqw77vV4bMkJfN5YcOE5GGzMe643iaFX0jMPRGf1FeQjv6cc6l wlG6R9I9JfbV+tFgh8f14SBpt/ryygr8KFHfRc9M7mrvQTEmirq33jQaMfWDz94usKdW xbG7jBYgMvgGSxr6DbKVh6w2id1/CQqVbLEMo= Received: by 10.204.136.220 with SMTP id s28mr1379016bkt.207.1252454612137; Tue, 08 Sep 2009 17:03:32 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 1sm584543fks.35.2009.09.08.17.03.29 (version=SSLv3 cipher=RC4-MD5); Tue, 08 Sep 2009 17:03:31 -0700 (PDT) Date: Wed, 9 Sep 2009 01:03:23 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090909010323.29631089@gumby.homeunix.com> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 00:03:33 -0000 On Tue, 8 Sep 2009 16:51:20 -0500 Peter Steele wrote: > Are there any advantages to using mdconfig and creating a virtual > disk for swap space as opposed to having a designated swap partition? > For example, I could do something like this: > > mdconfig -a -t swap -f /var/swap0 -s 4g > swapon -a /dev/md0 FWIW that's already supported by adding swapfile="/var/swap0" to rc.conf Your arguments are wrong BTW "-t swap" creates a device *backed* by swap. And the size comes from the size of the supplied file - which you typically create with dd. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 00:24:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 835EC106566B for ; Wed, 9 Sep 2009 00:24:43 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 56EC98FC13 for ; Wed, 9 Sep 2009 00:24:43 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MlAzK-00039Z-Qs for freebsd-questions@freebsd.org; Tue, 08 Sep 2009 17:24:42 -0700 Message-ID: <25356456.post@talk.nabble.com> Date: Tue, 8 Sep 2009 17:24:42 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <200909082238.22862.mel.flynn+fbsd.questions@mailing.thruhere.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com References: <25314145.post@talk.nabble.com> <200909060958.11114.mel.flynn+fbsd.questions@mailing.thruhere.net> <25316313.post@talk.nabble.com> <200909061238.32832.mel.flynn+fbsd.questions@mailing.thruhere.net> <25324178.post@talk.nabble.com> <6201873e0909062008y4624d3d4y5eca6e21c82f4624@mail.gmail.com> <25325443.post@talk.nabble.com> <20090907091442.f011d137.freebsd@edvax.de> <25334820.post@talk.nabble.com> <200909072112.14374.mel.flynn+fbsd.questions@mailing.thruhere.net> <25338956.post@talk.nabble.com> <200909082238.22862.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: Inconsistency in root partition size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 00:24:43 -0000 Mel Flynn-2 wrote: > > > This is exactly what I figured. Some files are hiding behind a mount > point. > The got there most likely, cause you did make installworld without /usr > mounted, which would happen if you have the FreeBSD source tree on a > different > location, reboot into single user mode, only mount the source tree and do > installworld. > > To repair, reboot into single user. Run the following commands: > fsck -y / > mount -u -o rw / > rm -rf /usr/* > exit > > This should delete the offending files. > Thanks, you have been a tremendous help That was precisely the problem and solution, the capacity from df-k is back down to 10% thanks again with your permission I'd like to post your advise on the FreeBSD Forum, of course with credits =) -- View this message in context: http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25356456.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 05:26:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2DE1106566B for ; Wed, 9 Sep 2009 05:26:14 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id 908ED8FC15 for ; Wed, 9 Sep 2009 05:26:14 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so1613018and.13 for ; Tue, 08 Sep 2009 22:26:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=0LTaEShETpk3kCiMrYzrHKeqzCpS3G0oOdtPEvX3470=; b=ioGU5+CRqKkUOEdx4OHsdmQMHLCOecXe5lb5Ij8Rcz3cLmcyBLF2AsE7DQIpWN4y1m OeMa8x/ZsuILHSOpZ/8C8VoiSBuLoP1OTFxPGvyCsbOZQol0Bhvxf8GJo1w22GsswRQ8 t6Dwq6FBHvDMYe8mDUOfJMpdhPEomq5HINdpc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=q5f9bugbHFkUoW5GgJ+qwCEsJdXwQ4YgzatCbWpXDSfvoUI8LbZicuaGE2ggM02Tef wkWL0BaVyF/icFMwuiqarAC8/Z/juqfwGAC9ipCCMBQLHAjGQk31tYeWxwd+biF36uR6 0OtCdqX0dPsAnEOmkiL/EWGpA9+ANpVT2XqB0= MIME-Version: 1.0 Received: by 10.100.55.18 with SMTP id d18mr18104366ana.80.1252473973824; Tue, 08 Sep 2009 22:26:13 -0700 (PDT) Date: Wed, 9 Sep 2009 05:26:13 +0000 Message-ID: From: Eitan Adler To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: metadata is incorrect - freebsd-update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 05:26:14 -0000 When I try to update to 8.0-BETA3 using freebsd-update I get a gunzip problem like: metadata iscorrupt I tried to remove /var/db/freebsd-update/files/* but I get the same error message Is this a client side problem or a server problem? If the former how do I fix it? From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 06:07:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF1F0106566C for ; Wed, 9 Sep 2009 06:07:49 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 40D7D8FC16 for ; Wed, 9 Sep 2009 06:07:48 +0000 (UTC) Received: (qmail invoked by alias); 09 Sep 2009 06:07:47 -0000 Received: from pD952D7F4.dip0.t-ipconnect.de (EHLO core2duo.local) [217.82.215.244] by mail.gmx.net (mp029) with SMTP; 09 Sep 2009 08:07:47 +0200 X-Authenticated: #4870692 X-Provags-ID: V01U2FsdGVkX1+94eNw7j29DTP6q+mIe9wbofu0nGWtiVfAYO9sFg XADthGHDk2Y+Oa Date: Wed, 9 Sep 2009 08:07:43 +0200 From: Andreas Rudisch To: Eitan Adler Message-Id: <20090909080743.cef775fb.cyb.@gmx.net> In-Reply-To: References: X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Wed__9_Sep_2009_08_07_43_+0200_DTe2zc82/0ajgfaw" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.72 Cc: freebsd-questions@freebsd.org Subject: Re: metadata is incorrect - freebsd-update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 06:07:50 -0000 --Signature=_Wed__9_Sep_2009_08_07_43_+0200_DTe2zc82/0ajgfaw Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 9 Sep 2009 05:26:13 +0000 Eitan Adler wrote: > When I try to update to 8.0-BETA3 Try Beta4 instead. http://lists.freebsd.org/pipermail/freebsd-stable/2009-September/051801.html Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 --Signature=_Wed__9_Sep_2009_08_07_43_+0200_DTe2zc82/0ajgfaw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqnRjIACgkQ8P3NNypXNWXFkACeJxJicbgYXCYUn5ZtCuGXtNts NAsAn02hoJpT77hDUKOm1C3Am+amx0iq =/t7p -----END PGP SIGNATURE----- --Signature=_Wed__9_Sep_2009_08_07_43_+0200_DTe2zc82/0ajgfaw-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 06:47:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBAB31065672 for ; Wed, 9 Sep 2009 06:47:14 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id 768D18FC12 for ; Wed, 9 Sep 2009 06:47:14 +0000 (UTC) Received: by ywh35 with SMTP id 35so4718864ywh.28 for ; Tue, 08 Sep 2009 23:47:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=5YDspttNbLCgU+vKZj7nTxpt1y/JF2cwHiQx6eSNJ1c=; b=EMxsZvz9TjUSiRIjPBBmYwOEu8a7c0c5AkpHw0Zr98aSCxj53ZwcRnJxxM3/xPSYQ9 Ndc1LrIKIfrBUrrfzoGNedpwOEpgNTmiCH9AtmqsLaO3L356nuO1Fy3/BbjONyVYG25p /WaO3p7lCYeITgez2EHXO3d0cCcfOzwFXYwBo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=xnalQ/8JlO6OWe9qqN+H6AueVBO7jyOyXfwB2UsChBD39IHR4w1zWbZbRpn0EUEYYC jYRbVPfJSc5gMaEGgySe2HDpZs70Qs7JPBxqKFlXa/B1SLPxYimjiY0lIz3iAsejW/zY y+P3pTtkXdsM6eL3yEr+lwDPipvWQtFf66zX0= MIME-Version: 1.0 Received: by 10.101.63.5 with SMTP id q5mr5452182ank.82.1252478833279; Tue, 08 Sep 2009 23:47:13 -0700 (PDT) Date: Wed, 9 Sep 2009 00:47:13 -0600 Message-ID: From: Tim Judd To: manolis@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions Subject: Custom ISOs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 06:47:14 -0000 I'm not sure if this is normal or not, but I'm getting <5.0KB/sec for two separate downloads each download speed for both the XFCE and Gnome DVD ISOs. I am aware that the site is sitting on wikidot.com, and not on dev-urandom.com anymore, I was wondering if there's a better place I can grab them from. I have someone interested in BSD, and was trying to download all options and let him pick. With this download, it'll take a day or more to download it, then the time to meet up with this guy. Any light shed on the slow downloads? Thanks again, Manolis for ALL your hard work, it is very much appreciated. --Tim From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 06:55:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D49471065694 for ; Wed, 9 Sep 2009 06:55:19 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id 40CB08FC1D for ; Wed, 9 Sep 2009 06:55:18 +0000 (UTC) Received: from pulstar.local (athedsl-4469150.home.otenet.gr [94.71.113.142]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n896tGt0002358; Wed, 9 Sep 2009 09:55:17 +0300 Message-ID: <4AA75154.4080206@otenet.gr> Date: Wed, 09 Sep 2009 09:55:16 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Tim Judd References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Custom ISOs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 06:55:19 -0000 Tim Judd wrote: > I'm not sure if this is normal or not, but I'm getting <5.0KB/sec for > two separate downloads each download speed for both the XFCE and Gnome > DVD ISOs. > > Weird... > I am aware that the site is sitting on wikidot.com, and not on > dev-urandom.com anymore, I was wondering if there's a better place I > can grab them from. I have someone interested in BSD, and was trying > to download all options and let him pick. > > Not really. Only the web pages are on wikidot, the files are still hosted in dev-urandom.com > With this download, it'll take a day or more to download it, then > the time to meet up with this guy. > > > Any light shed on the slow downloads? > > Don't know, but if it is not resolved I'll ping Glen Barber who owns this space. I can't test the speed right now myself but will do later and report back. I do have some alternate space as well, so if the worse comes to the worst, I could upload one of the ISOs there. It is currently mostly full but I believe I can trash some things. > Thanks again, Manolis for ALL your hard work, it is very much appreciated. > > Thanks Tim, I thoroughly enjoyed creating this stuff. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 10:57:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC853106568B for ; Wed, 9 Sep 2009 10:57:33 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by mx1.freebsd.org (Postfix) with ESMTP id 63D978FC12 for ; Wed, 9 Sep 2009 10:57:32 +0000 (UTC) Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090909105717.VUKO6611.mtaout02-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Wed, 9 Sep 2009 11:57:17 +0100 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout01-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090909105717.ZKZJ13254.aamtaout01-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Wed, 9 Sep 2009 11:57:17 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 11F9C617B; Wed, 9 Sep 2009 11:57:09 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id 5ACE16152 for ; Wed, 9 Sep 2009 11:57:08 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Wed, 9 Sep 2009 11:57:07 +0100 From: "Daniel Bye" Date: Wed, 9 Sep 2009 11:57:07 +0100 To: "'freebsd-questions@freebsd.org'" Message-ID: <20090909105707.GA27941@torus.slightlystrange.org> Mail-Followup-To: "'freebsd-questions@freebsd.org'" References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> <20090908235259.GB19173@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <20090908235259.GB19173@gizmo.acns.msu.edu> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 8.0-BETA4 i386 X-Cloudmark-Analysis: v=1.0 c=1 a=ehNlctqhnw0A:10 a=CspJsIRI_-C7ASGyT64A:9 a=v_JfURHijJ5JW0LJEn-3mxcJYX4A:4 a=ClWeB_Km5PYH4RUm7SwA:9 a=xyqU_REo74_bgfD5x8ER10A2TfgA:4 Subject: Re: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 10:57:34 -0000 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: > On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: >=20 > > Are there any advantages to using mdconfig and creating a virtual disk = for swap space as opposed to having a designated swap partition? For exampl= e, I could do something like this: >=20 > Unless I am missing something basic here, it seems like a bad idea to=20 > me - to carve out and use up some memory to use as extra storage for=20 > processes that need more memory that you have taken away to give to swap.= =20 > That is self defeating. >=20 > In addition, one use of swap is to write dumps to if there is a crash.=20 > If you put it in memory, it is gone when you reboot. He's talking about using a swap file, rather than a dedicated partition on= =20 the disk, not in RAM! Although it is slightly slower, as Chuck has already= =20 pointed out, it might, in certain circumstances, be a somewhat more=20 convenient solution than repartitioning/reinstalling the whole system. And as RW has said, the facility already exists and can be enabled with a couple of knobs in /etc/rc.conf. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkqnigMACgkQixf5fBYiFmonGwCfTsw7EGwXBs8rocUgC4hW5dWk OxwAoIVE0vCsYLGDaNmaxXVS+/QmykDU =zEZw -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 12:47:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EB69106566B for ; Wed, 9 Sep 2009 12:47:50 +0000 (UTC) (envelope-from no-spam@people.net.au) Received: from extmail-01.people.net.au (extmail-01.people.net.au [202.154.123.98]) by mx1.freebsd.org (Postfix) with SMTP id 080208FC16 for ; Wed, 9 Sep 2009 12:47:49 +0000 (UTC) Received: (qmail 24083 invoked from network); 9 Sep 2009 12:22:50 -0000 Received: from unknown (HELO bigblack) (218.215.237.98) by extmail-01.people.net.au with SMTP; 9 Sep 2009 12:22:50 -0000 From: Ian To: freebsd-questions@freebsd.org Date: Wed, 9 Sep 2009 21:51:00 +0930 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1332482.NsYqZbeV4A"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200909092151.07703.no-spam@people.net.au> Subject: Error building net-snmp port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 12:47:50 -0000 --nextPart1332482.NsYqZbeV4A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I've been building a new 7.2-RELEASE server, putting it into service on=20 =46riday. I did a portsnap & updated all the ports to the latest version, b= ut=20 was unable to upgrade /usr/ports/net-mgmt/net-snmp - see below for output: =3D=3D=3D> Building for net-snmp-5.4.2.1_5 making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/help= ers making all=20 in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/mibgroup /bin/sh ../../libtool --mode=3Dcompile=20 cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmpli= b -O -pipe -Ufreebsd7 -Dfreebsd7=3Dfreebsd7 -DAPPLLIB_EXP=3D"/usr/local/= lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-a= liasing -pipe -I/usr/local/include -I/usr/local/lib/perl5/5.8.9/mach/CORE = =2Dc -o=20 mibII/tcpTable.lo mibII/tcpTable.c =20 cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib= -O -pipe -Ufreebsd7 -Dfreebsd7=3Dfreebsd7 -DAPPLLIB_EXP=3D/usr/local/lib/p= erl5/5.8.9/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasin= g -pipe -I/usr/local/include -I/usr/local/lib/perl5/5.8.9/mach/CORE -c=20 mibII/tcpTable.c -fPIC -DPIC -o mibII/.libs/tcpTable.o mibII/tcpTable.c: In function 'tcpTable_load': mibII/tcpTable.c:748: error: dereferencing pointer to incomplete type mibII/tcpTable.c:750: error: dereferencing pointer to incomplete type mibII/tcpTable.c:750: error: invalid application of 'sizeof' to incomplete= =20 type 'struct xinpgen' mibII/tcpTable.c:754: error: dereferencing pointer to incomplete type mibII/tcpTable.c:758: error: dereferencing pointer to incomplete type mibII/tcpTable.c:763: error: dereferencing pointer to incomplete type *** Error code 1 Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/mibgroup. *** Error code 1 I tried everything I could think of to fix it - removed CPUTYPE=20 from /etc/make.conf, ran make config & de-selected IPV6 support, did a make= =20 dist clean and let it fetch the source file again, did a make deinstall but= =20 it still stopped at the same point. It was installed as a dependency of nut. Any idea how to fix this? Cheers, Ian =2D-=20 gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc --nextPart1332482.NsYqZbeV4A Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkqnnbMACgkQPUlnmbKkJ6CrEwCgib/30exVdR8hEdoYENO+4lCA Ic0AnRjc/7drEBt3hhkSxpYJGgjKVJeU =+Hae -----END PGP SIGNATURE----- --nextPart1332482.NsYqZbeV4A-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 13:07:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CAFB106566B for ; Wed, 9 Sep 2009 13:07:52 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505c.appriver.com [98.129.35.7]) by mx1.freebsd.org (Postfix) with ESMTP id D84BC8FC1E for ; Wed, 9 Sep 2009 13:07:51 +0000 (UTC) X-Policy: GLOBAL - maxiscale.com X-Policy: GLOBAL - maxiscale.com X-Primary: psteele@maxiscale.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: psteele@maxiscale.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.23.14 X-Note-Reverse-DNS: ht01.exg5.exghost.com X-Note-WHTLIST: psteele@maxiscale.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 111 112 113 114 118 119 130 214 X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.23.14] (HELO ht01.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.2.14) with ESMTPS id 11116362; Wed, 09 Sep 2009 08:07:50 -0500 Received: from mbx03.exg5.exghost.com ([169.254.1.239]) by ht01.exg5.exghost.com ([98.129.23.14]) with mapi; Wed, 9 Sep 2009 08:07:50 -0500 From: Peter Steele To: 'Daniel Bye' , "'freebsd-questions@freebsd.org'" Date: Wed, 9 Sep 2009 08:07:37 -0500 Thread-Topic: Using mdconfig for swap space Thread-Index: AcoxPHlfP6oC6NR0R+GpOUVZ8YzcvgAETUgw Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EC0A@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> <20090908235259.GB19173@gizmo.acns.msu.edu> <20090909105707.GA27941@torus.slightlystrange.org> In-Reply-To: <20090909105707.GA27941@torus.slightlystrange.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: RE: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 13:07:52 -0000 Thanks for the responses. The reason I'm looking at doing this is that we h= ave increased memory on our platform from 4GB to 8GB and therefore have to = increase swap space from 8GB to 16GB. We have enough space in our /var part= ition that we could add a swap file there and not have to touch the existin= g partition layout. I like the simplicity of the swap file approach, but we= have an application that is very sensitive to I/O performance and I'm a li= ttle wary what this could mean. QA I know would have a field day in trying = to pound the system with all sorts of stress tests. I think a dedicated swa= p partition is probably a safer option. Peter -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@f= reebsd.org] On Behalf Of Daniel Bye Sent: Wednesday, September 09, 2009 3:57 AM To: 'freebsd-questions@freebsd.org' Subject: Re: Using mdconfig for swap space On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: > On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: >=20 > > Are there any advantages to using mdconfig and creating a virtual disk = for swap space as opposed to having a designated swap partition? For exampl= e, I could do something like this: >=20 > Unless I am missing something basic here, it seems like a bad idea to=20 > me - to carve out and use up some memory to use as extra storage for=20 > processes that need more memory that you have taken away to give to swap. > That is self defeating. >=20 > In addition, one use of swap is to write dumps to if there is a crash.=20 > If you put it in memory, it is gone when you reboot. He's talking about using a swap file, rather than a dedicated partition on = the disk, not in RAM! Although it is slightly slower, as Chuck has already = pointed out, it might, in certain circumstances, be a somewhat more conveni= ent solution than repartitioning/reinstalling the whole system. And as RW has said, the facility already exists and can be enabled with a c= ouple of knobs in /etc/rc.conf. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 14:37:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54DE61065670 for ; Wed, 9 Sep 2009 14:37:35 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 20EE78FC19 for ; Wed, 9 Sep 2009 14:37:34 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 8811E7E818 for ; Wed, 9 Sep 2009 06:37:46 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Wed, 9 Sep 2009 16:37:31 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA4; KDE/4.2.4; i386; ; ) References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> <20090909105707.GA27941@torus.slightlystrange.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EC0A@MBX03.exg5.exghost.com> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EC0A@MBX03.exg5.exghost.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909091637.32031.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 14:37:35 -0000 On Wednesday 09 September 2009 15:07:37 Peter Steele wrote: > Thanks for the responses. The reason I'm looking at doing this is that we > have increased memory on our platform from 4GB to 8GB and therefore have to > increase swap space from 8GB to 16GB. No you don't. It's advised, but not mandatory. > We have enough space in our /var > partition that we could add a swap file there and not have to touch the > existing partition layout. I like the simplicity of the swap file approach, > but we have an application that is very sensitive to I/O performance and > I'm a little wary what this could mean. QA I know would have a field day in > trying to pound the system with all sorts of stress tests. I think a > dedicated swap partition is probably a safer option. Any I/O bound application suffers from any kind of swap. You would do better to first establish how this application suffers once you start swapping. If your machine needs more then or even close to 8GB of swap, I doubt the applications are responsive to begin with. With 8GB of memory, it's probably better to have 2GB of swap, so that offending applications are killed off sooner and the machine is able to recover sooner. But - I'm assuming this is a server, for a multimedia machine - editing large images or videos - more swap is beneficial as inactive images/videos can be swapped out. -- Mel From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 14:58:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E67AF106568D for ; Wed, 9 Sep 2009 14:58:17 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505c.appriver.com [98.129.35.7]) by mx1.freebsd.org (Postfix) with ESMTP id ABA518FC15 for ; Wed, 9 Sep 2009 14:58:17 +0000 (UTC) X-Policy: GLOBAL - maxiscale.com X-Policy: GLOBAL - maxiscale.com X-Policy: GLOBAL - maxiscale.com X-Primary: psteele@maxiscale.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: psteele@maxiscale.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.23.14 X-Note-Reverse-DNS: ht01.exg5.exghost.com X-Note-WHTLIST: psteele@maxiscale.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 111 112 113 114 118 119 130 214 X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.23.14] (HELO ht01.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.2.14) with ESMTPS id 11124339; Wed, 09 Sep 2009 09:58:15 -0500 Received: from mbx03.exg5.exghost.com ([169.254.1.239]) by ht01.exg5.exghost.com ([98.129.23.14]) with mapi; Wed, 9 Sep 2009 09:58:16 -0500 From: Peter Steele To: 'Maciej Suszko' Date: Wed, 9 Sep 2009 09:58:09 -0500 Thread-Topic: Using mdconfig for swap space Thread-Index: AcoxXPBjbCnCTOXCTZ6FQsCz1MRkzwAAHjmQ Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EC62@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> <20090908235259.GB19173@gizmo.acns.msu.edu> <20090909105707.GA27941@torus.slightlystrange.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EC0A@MBX03.exg5.exghost.com> <20090909165005.089ae704@suszko.eu> In-Reply-To: <20090909165005.089ae704@suszko.eu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: 'Daniel Bye' , "'freebsd-questions@freebsd.org'" Subject: RE: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 14:58:18 -0000 >Nowadays having swap twice as RAM is not necessary. If your system wasn't = swapping much in the past you can safely stay with 4G in my opinion... exte= nding it to 16G >would be waste of space :) I won't bore you with the details but in fact our application *does* requir= e this much swap space, but not for the typical reasons. It's a side effect= of how our application works and we thought we could make use of an image = file for the extra swap rather than repartitioning, but I've read too many = warnings against going this route so I've decided to stick with increasing = the size of the swap partition. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 15:03:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B143106568B for ; Wed, 9 Sep 2009 15:03:42 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 3444A8FC08 for ; Wed, 9 Sep 2009 15:03:41 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n89ExNvV022343 for ; Wed, 9 Sep 2009 10:59:23 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n89ExNq7022342 for freebsd-questions@freebsd.org; Wed, 9 Sep 2009 10:59:23 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 9 Sep 2009 10:59:23 -0400 From: Jerry McAllister To: "'freebsd-questions@freebsd.org'" Message-ID: <20090909145922.GB22253@gizmo.acns.msu.edu> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> <20090908235259.GB19173@gizmo.acns.msu.edu> <20090909105707.GA27941@torus.slightlystrange.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090909105707.GA27941@torus.slightlystrange.org> User-Agent: Mutt/1.4.2.2i Subject: Re: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 15:03:42 -0000 On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote: > On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: > > On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: > > > > > Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: > > > > Unless I am missing something basic here, it seems like a bad idea to > > me - to carve out and use up some memory to use as extra storage for > > processes that need more memory that you have taken away to give to swap. > > That is self defeating. > > > > In addition, one use of swap is to write dumps to if there is a crash. > > If you put it in memory, it is gone when you reboot. > > He's talking about using a swap file, rather than a dedicated partition on > the disk, not in RAM! Although it is slightly slower, as Chuck has already > pointed out, it might, in certain circumstances, be a somewhat more > convenient solution than repartitioning/reinstalling the whole system. > > And as RW has said, the facility already exists and can be enabled with a > couple of knobs in /etc/rc.conf. I understand using a file and making it in to swapspace. I have used that a couple of times when I needed to add some swap space temporarily. But isn't the command he is trying to use (mdconfig) for creating a memory filesystem - eg use a chunk of memory and make a file from it (then use it for swap or whatever)? That is in RAM. ////jerry > > Dan > > -- > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 15:11:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7DEE1065676 for ; Wed, 9 Sep 2009 15:11:44 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id 6B3238FC17 for ; Wed, 9 Sep 2009 15:11:44 +0000 (UTC) Received: (qmail 15395 invoked from network); 9 Sep 2009 15:11:43 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Sep 2009 15:11:43 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 4446850868; Wed, 9 Sep 2009 11:11:42 -0400 (EDT) From: Lowell Gilbert To: Peter Steele References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> <20090908235259.GB19173@gizmo.acns.msu.edu> <20090909105707.GA27941@torus.slightlystrange.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EC0A@MBX03.exg5.exghost.com> <20090909165005.089ae704@suszko.eu> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EC62@MBX03.exg5.exghost.com> Date: Wed, 09 Sep 2009 11:11:42 -0400 In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EC62@MBX03.exg5.exghost.com> (Peter Steele's message of "Wed, 9 Sep 2009 09:58:09 -0500") Message-ID: <441vmgw3td.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 15:11:44 -0000 Peter Steele writes: >>Nowadays having swap twice as RAM is not necessary. If your system >>wasn't swapping much in the past you can safely stay with 4G in my >>opinion... extending it to 16G would be waste of space :) > > I won't bore you with the details but in fact our application *does* > require this much swap space, but not for the typical reasons. It's a > side effect of how our application works and we thought we could make > use of an image file for the extra swap rather than repartitioning, > but I've read too many warnings against going this route so I've > decided to stick with increasing the size of the swap partition. It's easy to *try* the swap files. Then measure the performance. If the behaviour is really as specific to your custom application as you indicate, then general advice may not apply either. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 15:16:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E74ED1065670 for ; Wed, 9 Sep 2009 15:16:58 +0000 (UTC) (envelope-from maciej@suszko.eu) Received: from 30.mail-out.ovh.net (30.mail-out.ovh.net [213.186.62.213]) by mx1.freebsd.org (Postfix) with SMTP id 538848FC18 for ; Wed, 9 Sep 2009 15:16:57 +0000 (UTC) Received: (qmail 20910 invoked by uid 503); 9 Sep 2009 14:50:26 -0000 Received: from b9.ovh.net (HELO mail32.ha.ovh.net) (213.186.33.59) by 30.mail-out.ovh.net with SMTP; 9 Sep 2009 14:50:26 -0000 Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 9 Sep 2009 14:52:03 -0000 Received: from unknown (HELO localhost) (maciej@suszko.eu@62.61.57.118) by ns0.ovh.net with SMTP; 9 Sep 2009 14:52:01 -0000 Date: Wed, 9 Sep 2009 16:50:05 +0200 From: Maciej Suszko To: Peter Steele Message-ID: <20090909165005.089ae704@suszko.eu> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EC0A@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> <20090908235259.GB19173@gizmo.acns.msu.edu> <20090909105707.GA27941@torus.slightlystrange.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EC0A@MBX03.exg5.exghost.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/Y5+z92wbNsT9gWUMn4yfBq6"; protocol="application/pgp-signature" X-Ovh-Tracer-Id: 13911619250404417687 X-Ovh-Remote: 62.61.57.118 () X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|U 0.5/N Cc: 'Daniel Bye' , "'freebsd-questions@freebsd.org'" Subject: Re: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 15:16:59 -0000 --Sig_/Y5+z92wbNsT9gWUMn4yfBq6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Peter Steele wrote: > Thanks for the responses. The reason I'm looking at doing this is > that we have increased memory on our platform from 4GB to 8GB and > therefore have to increase swap space from 8GB to 16GB. We have > enough space in our /var partition that we could add a swap file > there and not have to touch the existing partition layout. I like the > simplicity of the swap file approach, but we have an application that > is very sensitive to I/O performance and I'm a little wary what this > could mean. QA I know would have a field day in trying to pound the > system with all sorts of stress tests. I think a dedicated swap > partition is probably a safer option. Nowadays having swap twice as RAM is not necessary. If your system wasn't swapping much in the past you can safely stay with 4G in my opinion... extending it to 16G would be waste of space :) --=20 regards, Maciej Suszko. --Sig_/Y5+z92wbNsT9gWUMn4yfBq6 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkqnwKMACgkQCikUk0l7iGpVeQCdEQeBUIx65MLydMwTdn+XBFRj mKMAniVojDxSbvdnqO1+4MxG1JWo5bBP =S4e2 -----END PGP SIGNATURE----- --Sig_/Y5+z92wbNsT9gWUMn4yfBq6-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 15:23:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A94B2106568D for ; Wed, 9 Sep 2009 15:23:16 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 5AB008FC1E for ; Wed, 9 Sep 2009 15:23:16 +0000 (UTC) Received: (qmail 19815 invoked from network); 9 Sep 2009 15:23:15 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Sep 2009 15:23:15 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id EF61E50869; Wed, 9 Sep 2009 11:23:14 -0400 (EDT) From: Lowell Gilbert To: Jerry McAllister References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> <20090908235259.GB19173@gizmo.acns.msu.edu> <20090909105707.GA27941@torus.slightlystrange.org> <20090909145922.GB22253@gizmo.acns.msu.edu> Date: Wed, 09 Sep 2009 11:23:14 -0400 In-Reply-To: <20090909145922.GB22253@gizmo.acns.msu.edu> (Jerry McAllister's message of "Wed, 9 Sep 2009 10:59:23 -0400") Message-ID: <44tyzcuopp.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "'freebsd-questions@freebsd.org'" Subject: Re: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "'freebsd-questions@freebsd.org'" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 15:23:16 -0000 Jerry McAllister writes: > On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote: > >> On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: >> > On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: >> > >> > > Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: >> > >> > Unless I am missing something basic here, it seems like a bad idea to >> > me - to carve out and use up some memory to use as extra storage for >> > processes that need more memory that you have taken away to give to swap. >> > That is self defeating. >> > >> > In addition, one use of swap is to write dumps to if there is a crash. >> > If you put it in memory, it is gone when you reboot. >> >> He's talking about using a swap file, rather than a dedicated partition on >> the disk, not in RAM! Although it is slightly slower, as Chuck has already >> pointed out, it might, in certain circumstances, be a somewhat more >> convenient solution than repartitioning/reinstalling the whole system. >> >> And as RW has said, the facility already exists and can be enabled with a >> couple of knobs in /etc/rc.conf. > > I understand using a file and making it in to swapspace. I have used that > a couple of times when I needed to add some swap space temporarily. But > isn't the command he is trying to use (mdconfig) for creating a memory > filesystem - eg use a chunk of memory and make a file from it (then use it > for swap or whatever)? That is in RAM. Not necessarily. What he wants is the '-t vnode' option for mdconfig(8). -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 15:41:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C4D51065676 for ; Wed, 9 Sep 2009 15:41:10 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505b.appriver.com [98.129.35.5]) by mx1.freebsd.org (Postfix) with ESMTP id 0E4F48FC24 for ; Wed, 9 Sep 2009 15:41:09 +0000 (UTC) X-Policy: GLOBAL - maxiscale.com X-Primary: psteele@maxiscale.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: psteele@maxiscale.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.23.15 X-Note-Reverse-DNS: ht02.exg5.exghost.com X-Note-WHTLIST: psteele@maxiscale.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 111 112 113 114 118 119 130 214 X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.23.15] (HELO ht02.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.2.14) with ESMTPS id 8995840 for freebsd-questions@freebsd.org; Wed, 09 Sep 2009 10:41:08 -0500 Received: from mbx03.exg5.exghost.com ([169.254.1.239]) by ht02.exg5.exghost.com ([98.129.23.15]) with mapi; Wed, 9 Sep 2009 10:41:08 -0500 From: Peter Steele To: "freebsd-questions@freebsd.org" Date: Wed, 9 Sep 2009 10:40:32 -0500 Thread-Topic: Using mdconfig for swap space Thread-Index: AcoxX+Wpx6soN7gaQ2eyYuc8j3ftkwAA2hUQ Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EC89@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> <20090908235259.GB19173@gizmo.acns.msu.edu> <20090909105707.GA27941@torus.slightlystrange.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EC0A@MBX03.exg5.exghost.com> <20090909165005.089ae704@suszko.eu> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EC62@MBX03.exg5.exghost.com> <441vmgw3td.fsf@be-well.ilk.org> In-Reply-To: <441vmgw3td.fsf@be-well.ilk.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 15:41:10 -0000 >It's easy to *try* the swap files. Then measure the performance. =20 >If the behaviour is really as specific to your custom application as you i= ndicate, then general advice may not apply either. In fact, after discussing this with the team, we are going to do exactly th= at. We'll allocate an extra 8GB of swap space through an image file and let= QA run their stress tests to see how things behave. That's the only way to= know for sure if this will work for us. Thanks for the feedback. Peter From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 15:48:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62FDB106568D for ; Wed, 9 Sep 2009 15:48:12 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by mx1.freebsd.org (Postfix) with ESMTP id 391F38FC13 for ; Wed, 9 Sep 2009 15:48:10 +0000 (UTC) Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090909154806.PQWZ6742.mtaout01-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Wed, 9 Sep 2009 16:48:06 +0100 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout01-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090909154805.ENBA13254.aamtaout01-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Wed, 9 Sep 2009 16:48:05 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 6FC78618A; Wed, 9 Sep 2009 16:48:03 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id E9A4C6152 for ; Wed, 9 Sep 2009 16:48:02 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Wed, 9 Sep 2009 16:46:56 +0100 From: "Daniel Bye" Date: Wed, 9 Sep 2009 16:46:56 +0100 To: "'freebsd-questions@freebsd.org'" Message-ID: <20090909154655.GA96342@torus.slightlystrange.org> Mail-Followup-To: "'freebsd-questions@freebsd.org'" References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> <20090908235259.GB19173@gizmo.acns.msu.edu> <20090909105707.GA27941@torus.slightlystrange.org> <20090909145922.GB22253@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <20090909145922.GB22253@gizmo.acns.msu.edu> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 8.0-BETA4 i386 X-Cloudmark-Analysis: v=1.0 c=1 a=ehNlctqhnw0A:10 a=sMXvUWEPgyZeitHrkAcA:9 a=FRX6FAx5bYe1A2sgC8o4aBBW2K0A:4 a=SS-wYJYrlrzQUmKJYOIA:9 a=uC404JyWWA3u93BEo9rG8eblYmsA:4 Subject: Re: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 15:48:12 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 09, 2009 at 10:59:23AM -0400, Jerry McAllister wrote: > On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote: >=20 > > On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: > > > On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: > > >=20 > > > > Are there any advantages to using mdconfig and creating a virtual d= isk for swap space as opposed to having a designated swap partition? For ex= ample, I could do something like this: > > >=20 > > > Unless I am missing something basic here, it seems like a bad idea to= =20 > > > me - to carve out and use up some memory to use as extra storage for= =20 > > > processes that need more memory that you have taken away to give to s= wap. =20 > > > That is self defeating. > > >=20 > > > In addition, one use of swap is to write dumps to if there is a crash= .=20 > > > If you put it in memory, it is gone when you reboot. > >=20 > > He's talking about using a swap file, rather than a dedicated partition= on=20 > > the disk, not in RAM! Although it is slightly slower, as Chuck has alre= ady=20 > > pointed out, it might, in certain circumstances, be a somewhat more=20 > > convenient solution than repartitioning/reinstalling the whole system. > >=20 > > And as RW has said, the facility already exists and can be enabled with= a > > couple of knobs in /etc/rc.conf. >=20 > I understand using a file and making it in to swapspace. I have used that > a couple of times when I needed to add some swap space temporarily. But= =20 > isn't the command he is trying to use (mdconfig) for creating a memory=20 > filesystem - eg use a chunk of memory and make a file from it (then use i= t=20 > for swap or whatever)? That is in RAM. No, with the -t vnode and -f options, he'd actually be creating a file-backed memory disk. The terminology can be a little confusing, but in this instance the file wouldn't be loaded into RAM, but would instead be treated as any other disk-like device. It's exactly the same approach as used by /etc/rc.d/addswap, which gets its configuration from $swapfile set in /etc/rc.conf. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkqnze8ACgkQixf5fBYiFmpJ3QCgxzXZxts+fWGb+pk5wAsW1Q7b nOYAoNfjr3VxrKPcxWmOYhte4OBSS6jz =3F7l -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 15:58:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E8B2106566B for ; Wed, 9 Sep 2009 15:58:33 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 27B748FC0A for ; Wed, 9 Sep 2009 15:58:32 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n89FsEWn022649; Wed, 9 Sep 2009 11:54:14 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n89FsEsV022648; Wed, 9 Sep 2009 11:54:14 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 9 Sep 2009 11:54:14 -0400 From: Jerry McAllister To: "'freebsd-questions@freebsd.org'" Message-ID: <20090909155414.GA22575@gizmo.acns.msu.edu> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> <20090908235259.GB19173@gizmo.acns.msu.edu> <20090909105707.GA27941@torus.slightlystrange.org> <20090909145922.GB22253@gizmo.acns.msu.edu> <44tyzcuopp.fsf@be-well.ilk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44tyzcuopp.fsf@be-well.ilk.org> User-Agent: Mutt/1.4.2.2i Cc: Jerry McAllister Subject: Re: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 15:58:33 -0000 On Wed, Sep 09, 2009 at 11:23:14AM -0400, Lowell Gilbert wrote: > Jerry McAllister writes: > > > On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote: > > > >> On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: > >> > On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: > >> > > >> > > Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: > >> > > >> > Unless I am missing something basic here, it seems like a bad idea to > >> > me - to carve out and use up some memory to use as extra storage for > >> > processes that need more memory that you have taken away to give to swap. > >> > That is self defeating. > >> > > >> > In addition, one use of swap is to write dumps to if there is a crash. > >> > If you put it in memory, it is gone when you reboot. > >> > >> He's talking about using a swap file, rather than a dedicated partition on > >> the disk, not in RAM! Although it is slightly slower, as Chuck has already > >> pointed out, it might, in certain circumstances, be a somewhat more > >> convenient solution than repartitioning/reinstalling the whole system. > >> > >> And as RW has said, the facility already exists and can be enabled with a > >> couple of knobs in /etc/rc.conf. > > > > I understand using a file and making it in to swapspace. I have used that > > a couple of times when I needed to add some swap space temporarily. But > > isn't the command he is trying to use (mdconfig) for creating a memory > > filesystem - eg use a chunk of memory and make a file from it (then use it > > for swap or whatever)? That is in RAM. > > Not necessarily. What he wants is the '-t vnode' option for mdconfig(8). Hmmm. Haven't dealt with that before. Still seems like either a regular file or a dedicated partition would be best. ////jerry > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 15:59:55 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E185106568D for ; Wed, 9 Sep 2009 15:59:55 +0000 (UTC) (envelope-from savage@savage.za.org) Received: from www39.cpt2.host-h.net (www39.cpt2.host-h.net [41.204.202.39]) by mx1.freebsd.org (Postfix) with ESMTP id ECF178FC1F for ; Wed, 9 Sep 2009 15:59:54 +0000 (UTC) Received: from [196.41.191.115] (helo=SUPERMAN) by www39.cpt2.host-h.net with esmtpa (Exim 4.66) (envelope-from ) id 1MlPG8-0007k2-2W for questions@freebsd.org; Wed, 09 Sep 2009 17:39:00 +0200 From: "Chris Knipe" To: Date: Wed, 9 Sep 2009 17:37:12 +0200 Message-ID: <04eb01ca3163$68ce6300$3a6b2900$@za.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcoxY2ZSsxlXVLu6TzegfyAuSblGMw== Content-Language: en-za X-Authenticated-Sender: cknipe@savage.za.org X-Virus-Scanned: Clear (ClamAV 0.95.2/9788/Wed Sep 9 13:59:41 2009) Cc: Subject: 7.2-RELEASE kbdmux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: savage@savage.za.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 15:59:55 -0000 Hi, I've just checked out 7.2-RELEASE from CVS. My build world was successful, but I am failing on compiling the stock standard GENERIC kernel that comes out of CVS. ===> kbdmux (all) cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c /usr/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c:127:8: error: macro names must be identifiers /usr/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c: In function 'kbdmux_kbd_event': /usr/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c:261: warning: implicit declaration of function 'KBDMUX_CHECK_CHAR' /usr/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c:261: warning: nested extern declaration of 'KBDMUX_CHECK_CHAR' *** Error code 1 This is a stock standard cvsup'ed machine, nothing changed, altered, added, or removed. Any help appreciated. -- Chris. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 16:01:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E64101065672 for ; Wed, 9 Sep 2009 16:01:16 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 8DFB38FC1A for ; Wed, 9 Sep 2009 16:01:16 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n89FuvV2022697 for ; Wed, 9 Sep 2009 11:56:57 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n89Fuv5p022696 for freebsd-questions@freebsd.org; Wed, 9 Sep 2009 11:56:57 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 9 Sep 2009 11:56:57 -0400 From: Jerry McAllister To: "'freebsd-questions@freebsd.org'" Message-ID: <20090909155657.GB22575@gizmo.acns.msu.edu> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3037EBB7@MBX03.exg5.exghost.com> <20090908235259.GB19173@gizmo.acns.msu.edu> <20090909105707.GA27941@torus.slightlystrange.org> <20090909145922.GB22253@gizmo.acns.msu.edu> <20090909154655.GA96342@torus.slightlystrange.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090909154655.GA96342@torus.slightlystrange.org> User-Agent: Mutt/1.4.2.2i Subject: Re: Using mdconfig for swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 16:01:17 -0000 On Wed, Sep 09, 2009 at 04:46:56PM +0100, Daniel Bye wrote: > On Wed, Sep 09, 2009 at 10:59:23AM -0400, Jerry McAllister wrote: > > On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote: > > > > > On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: > > > > On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: > > > > > > > > > Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: > > > > > > > > Unless I am missing something basic here, it seems like a bad idea to > > > > me - to carve out and use up some memory to use as extra storage for > > > > processes that need more memory that you have taken away to give to swap. > > > > That is self defeating. > > > > > > > > In addition, one use of swap is to write dumps to if there is a crash. > > > > If you put it in memory, it is gone when you reboot. > > > > > > He's talking about using a swap file, rather than a dedicated partition on > > > the disk, not in RAM! Although it is slightly slower, as Chuck has already > > > pointed out, it might, in certain circumstances, be a somewhat more > > > convenient solution than repartitioning/reinstalling the whole system. > > > > > > And as RW has said, the facility already exists and can be enabled with a > > > couple of knobs in /etc/rc.conf. > > > > I understand using a file and making it in to swapspace. I have used that > > a couple of times when I needed to add some swap space temporarily. But > > isn't the command he is trying to use (mdconfig) for creating a memory > > filesystem - eg use a chunk of memory and make a file from it (then use it > > for swap or whatever)? That is in RAM. > > No, with the -t vnode and -f options, he'd actually be creating > a file-backed memory disk. The terminology can be a little confusing, but > in this instance the file wouldn't be loaded into RAM, but would instead > be treated as any other disk-like device. It's exactly the same approach > as used by /etc/rc.d/addswap, which gets its configuration from $swapfile > set in /etc/rc.conf. I see that now, but it seems like the long way around to get to what you get with a swapon. Oh well. ////jerry > > Dan > > -- > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 16:15:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C68C01065676 for ; Wed, 9 Sep 2009 16:15:35 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtp2.mc.surewest.net (qsmtp.mc.surewest.net [66.60.130.145]) by mx1.freebsd.org (Postfix) with SMTP id A03458FC2E for ; Wed, 9 Sep 2009 16:15:35 +0000 (UTC) Received: (qmail 31217 invoked from network); 9 Sep 2009 09:00:04 -0700 Received: by simscan 1.1.0 ppid: 31196, pid: 31197, t: 2.2815s scanners: regex: 1.1.0 attach: 1.1.0 spam: 3.1.7-deb X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on smtp2.surewest.net. X-Spam-Level: X-Spam-Status: No, score=0.0 required=13.5 tests=none autolearn=disabled version=3.1.7-deb X-Spam-CMAE-Analysis: v=1.0 c=1 a=jDt-9pEAAAAA:8 a=Cj_EnRuX-TQiqHYdMyQA:9 a=ozIUDivR9eQzO1JPR3gA:7 a=OPDA1eu7zrg-eO-4uCAUUthL2JMA:4 Received: from unknown (HELO blacklamb.mykitchentable.net) (69.62.230.77) by smtp2 with SMTP; 9 Sep 2009 09:00:02 -0700 Received: from [127.0.0.1] (bigdaddy.mykitchentable.net [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with ESMTPA id 98EAA165575 for ; Wed, 9 Sep 2009 09:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1252512930; bh=2RCt11JEF8IOAM7pJf5Dy5I8dS/6Wg9n1CLCGz4Arbo=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=XgCH1md9K89iZl/nYfYCSNh0dbh2ESDB9E0tDvzx8b0IZlYDMslxSmI5EslNAL66T 0sY/nZHZoj+w7ep0Wcr3/lA0Hr2Be8NXtDQuh7wc63unBThl03UKNG/FVpZEUT+fig JukEJ6Uo1WGYBp8k52kRS+VVHpBtBdCCOLf2v3xU= Message-ID: <4AA7D49D.8090002@mykitchentable.net> Date: Wed, 09 Sep 2009 09:15:25 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 090908-0, 09/08/2009), Outbound message X-Antivirus-Status: Clean Subject: Regex Help - Greedy vs. Non-Greedy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 16:15:35 -0000 I'm trying to do a search and replace in vim. I have lines like this: http://site1/dir/; http://site2/dir/;LastName, FirstName;Phone; http://site3/dir/;LastName, FirstName; http://site4/dir/; I'm want to match "http:*" and stop matching at the first ";". My basic regex is: /http:.\+;/ But it's matching *all* the semi-colons. Thus I've Googled and tried various incatations to try and make my regex "non-greedy" but I can't seem to come up with the correct combination. How can I write a regex that stops matching at the first semi-colon? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 16:22:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C2851065676 for ; Wed, 9 Sep 2009 16:22:46 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by mx1.freebsd.org (Postfix) with ESMTP id 7292C8FC12 for ; Wed, 9 Sep 2009 16:22:45 +0000 (UTC) Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090909162244.RHRH6742.mtaout01-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Wed, 9 Sep 2009 17:22:44 +0100 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090909162244.QWUX21638.aamtaout02-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Wed, 9 Sep 2009 17:22:44 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id BD00D618A; Wed, 9 Sep 2009 17:22:41 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id 490876152 for ; Wed, 9 Sep 2009 17:22:41 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Wed, 9 Sep 2009 17:21:46 +0100 From: "Daniel Bye" Date: Wed, 9 Sep 2009 17:21:46 +0100 To: freebsd-questions@freebsd.org Message-ID: <20090909162146.GB96342@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <4AA7D49D.8090002@mykitchentable.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f2QGlHpHGjS2mn6Y" Content-Disposition: inline In-Reply-To: <4AA7D49D.8090002@mykitchentable.net> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 8.0-BETA4 i386 X-Cloudmark-Analysis: v=1.0 c=1 a=kXY3MdDddYIA:10 a=ehNlctqhnw0A:10 a=6p5f0Y0VS_xlTfLEUc8A:9 a=B4eaRQ7EmijyjrW0to4A:7 a=GNVlJnMnMZQ_ZJE43n8L_8_pz2YA:4 a=YdRfokINB6eMR0MEU6YA:9 a=cu2dzZz3X5QUxsroiiSvSfTHSI8A:4 Subject: Re: Regex Help - Greedy vs. Non-Greedy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 16:22:46 -0000 --f2QGlHpHGjS2mn6Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 09, 2009 at 09:15:25AM -0700, Drew Tomlinson wrote: > I'm trying to do a search and replace in vim. I have lines like this: > http://site1/dir/; > http://site2/dir/;LastName, FirstName;Phone; > http://site3/dir/;LastName, FirstName; > http://site4/dir/; >=20 > I'm want to match "http:*" and stop matching at the first ";". My basic= =20 > regex is: >=20 > /http:.\+;/ >=20 > But it's matching *all* the semi-colons. Thus I've Googled and tried=20 > various incatations to try and make my regex "non-greedy" but I can't=20 > seem to come up with the correct combination. >=20 > How can I write a regex that stops matching at the first semi-colon? Tested in vi, not vim: /http:[^;]*/ Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --f2QGlHpHGjS2mn6Y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkqn1hoACgkQixf5fBYiFmp4CwCfdwHoN+8z6TMnlGNdgSssx8D3 0q4AoL6jtpcdjsgOYJqzE6JIeHkkSxEe =mD/3 -----END PGP SIGNATURE----- --f2QGlHpHGjS2mn6Y-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 16:27:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 484AD1065692 for ; Wed, 9 Sep 2009 16:27:00 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 196908FC22 for ; Wed, 9 Sep 2009 16:26:59 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 993FD7E818; Wed, 9 Sep 2009 08:27:11 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Wed, 9 Sep 2009 18:26:57 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA4; KDE/4.2.4; i386; ; ) References: <4AA7D49D.8090002@mykitchentable.net> In-Reply-To: <4AA7D49D.8090002@mykitchentable.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909091826.57212.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Drew Tomlinson Subject: Re: Regex Help - Greedy vs. Non-Greedy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 16:27:00 -0000 On Wednesday 09 September 2009 18:15:25 Drew Tomlinson wrote: > I'm trying to do a search and replace in vim. I have lines like this: > http://site1/dir/; > http://site2/dir/;LastName, FirstName;Phone; > http://site3/dir/;LastName, FirstName; > http://site4/dir/; > > I'm want to match "http:*" and stop matching at the first ";". My basic > regex is: > > /http:.\+;/ > > But it's matching *all* the semi-colons. Thus I've Googled and tried > various incatations to try and make my regex "non-greedy" but I can't > seem to come up with the correct combination. > > How can I write a regex that stops matching at the first semi-colon? AFAIK, there's no greediness modifier in vim regex. However, you can use character classes to solve your problem: %s/http:[^;]\+/foo/g -- Mel From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 16:32:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EACC71065692 for ; Wed, 9 Sep 2009 16:32:41 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtp2.mc.surewest.net (qsmtp.mc.surewest.net [66.60.130.145]) by mx1.freebsd.org (Postfix) with SMTP id C25CE8FC20 for ; Wed, 9 Sep 2009 16:32:41 +0000 (UTC) Received: (qmail 9637 invoked from network); 9 Sep 2009 09:17:07 -0700 Received: by simscan 1.1.0 ppid: 9617, pid: 9619, t: 2.1850s scanners: regex: 1.1.0 attach: 1.1.0 spam: 3.1.7-deb X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on smtp2.surewest.net. X-Spam-Level: X-Spam-Status: No, score=0.0 required=13.5 tests=none autolearn=disabled version=3.1.7-deb X-Spam-CMAE-Analysis: v=1.0 c=1 a=kXY3MdDddYIA:10 a=jDt-9pEAAAAA:8 a=lcTVPu62-8YzZbtFj-QA:9 a=4XAYFD-83TM-hmmqOW8A:7 a=LXTZ7u_gDKMGrcDSzzY84yHwKgYA:4 Received: from unknown (HELO blacklamb.mykitchentable.net) (69.62.230.77) by smtp2 with SMTP; 9 Sep 2009 09:17:05 -0700 Received: from [127.0.0.1] (bigdaddy.mykitchentable.net [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with ESMTPA id C916116557A for ; Wed, 9 Sep 2009 09:32:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1252513954; bh=4RcKltBJq/gzlxJtwsfS+B4/a/AqDFFdHtgmUUPqcj0=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ZxiDp02dMw+T9mec+5CWsOusBTidNkgo67oYHtwoCrkDK7erP5B5+dcxZQ17z6Sv9 f+OrpbiqjHE3ZnexaaLS9opIN/t4gTmnsSSOv/EffiI/6FenMDtE8lTAFEPOkFxzSj zq/VqCAImrrXpm6wh/cUjqb9KJFGfSYBH+j8KZoM= Message-ID: <4AA7D89C.4020706@mykitchentable.net> Date: Wed, 09 Sep 2009 09:32:28 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4AA7D49D.8090002@mykitchentable.net> <20090909162146.GB96342@torus.slightlystrange.org> In-Reply-To: <20090909162146.GB96342@torus.slightlystrange.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 090908-0, 09/08/2009), Outbound message X-Antivirus-Status: Clean Subject: Re: Regex Help - Greedy vs. Non-Greedy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 16:32:42 -0000 Daniel Bye wrote: > On Wed, Sep 09, 2009 at 09:15:25AM -0700, Drew Tomlinson wrote: > >> I'm trying to do a search and replace in vim. I have lines like this: >> http://site1/dir/; >> http://site2/dir/;LastName, FirstName;Phone; >> http://site3/dir/;LastName, FirstName; >> http://site4/dir/; >> >> I'm want to match "http:*" and stop matching at the first ";". My basic >> regex is: >> >> /http:.\+;/ >> >> But it's matching *all* the semi-colons. Thus I've Googled and tried >> various incatations to try and make my regex "non-greedy" but I can't >> seem to come up with the correct combination. >> >> How can I write a regex that stops matching at the first semi-colon? >> > > Tested in vi, not vim: > > /http:[^;]*/ > > Dan > Thanks for your reply. I tried it in vim (or more specifically, gvim 7.2) and your example matches all semi-colons. However in vi, it does stop at the first semi-colon as you say. Can anyone please explain the difference? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 16:36:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 075291065670 for ; Wed, 9 Sep 2009 16:36:51 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtp2.mc.surewest.net (qsmtp.mc.surewest.net [66.60.130.145]) by mx1.freebsd.org (Postfix) with SMTP id D022A8FC12 for ; Wed, 9 Sep 2009 16:36:50 +0000 (UTC) Received: (qmail 12202 invoked from network); 9 Sep 2009 09:21:19 -0700 Received: by simscan 1.1.0 ppid: 12133, pid: 12136, t: 2.1575s scanners: regex: 1.1.0 attach: 1.1.0 spam: 3.1.7-deb X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on smtp2.surewest.net. X-Spam-Level: X-Spam-Status: No, score=0.0 required=13.5 tests=none autolearn=disabled version=3.1.7-deb X-Spam-CMAE-Analysis: v=1.0 c=1 a=kXY3MdDddYIA:10 a=jDt-9pEAAAAA:8 a=PKFI3LwSRKaNPrsfw4wA:9 a=yOUUobIxIB3e4jiW_1cA:7 a=gcxpFiMnxtC4YccuiaQRW3g6mFgA:4 Received: from unknown (HELO blacklamb.mykitchentable.net) (69.62.230.77) by smtp2 with SMTP; 9 Sep 2009 09:21:17 -0700 Received: from [127.0.0.1] (bigdaddy.mykitchentable.net [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with ESMTPA id 29860165575 for ; Wed, 9 Sep 2009 09:36:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1252514206; bh=8c5Q4c6uSQ50A9aeV4FajSoHrpacxfpP5MZEFVHmXlA=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=rGgMLn9yrfAPSaX0CGtpGXXbq/n8kOle8yLZ8hWMMS2bt4inDs3lmlEf97/+p04Di lvV+wc1A+5a8zm4difzm/oG2J6Ijk2bV17Bl9YcDckb1/wMfPT4wbAcvQI1fwEn9E6 W6bJn8NusSw+JWaSH7Q/xpxxINFWctSJk0J6Q71U= Message-ID: <4AA7D997.5040605@mykitchentable.net> Date: Wed, 09 Sep 2009 09:36:39 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4AA7D49D.8090002@mykitchentable.net> <20090909162146.GB96342@torus.slightlystrange.org> <4AA7D89C.4020706@mykitchentable.net> In-Reply-To: <4AA7D89C.4020706@mykitchentable.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 090908-0, 09/08/2009), Outbound message X-Antivirus-Status: Clean Subject: Re: Regex Help - Greedy vs. Non-Greedy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 16:36:51 -0000 Drew Tomlinson wrote: > Daniel Bye wrote: >> On Wed, Sep 09, 2009 at 09:15:25AM -0700, Drew Tomlinson wrote: >> >>> I'm trying to do a search and replace in vim. I have lines like this: >>> http://site1/dir/; >>> http://site2/dir/;LastName, FirstName;Phone; >>> http://site3/dir/;LastName, FirstName; >>> http://site4/dir/; >>> >>> I'm want to match "http:*" and stop matching at the first ";". My >>> basic regex is: >>> >>> /http:.\+;/ >>> >>> But it's matching *all* the semi-colons. Thus I've Googled and >>> tried various incatations to try and make my regex "non-greedy" but >>> I can't seem to come up with the correct combination. >>> >>> How can I write a regex that stops matching at the first semi-colon? >>> >> >> Tested in vi, not vim: >> >> /http:[^;]*/ >> >> Dan >> > > Thanks for your reply. I tried it in vim (or more specifically, gvim > 7.2) and your example matches all semi-colons. However in vi, it does > stop at the first semi-colon as you say. > > Can anyone please explain the difference? > > Thanks, > > Drew > Never mind. My mistake. The above does work in gvim. I had a "." (dot) after http:. Thanks Mel & Dan! Cheers, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 16:56:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61F59106566B for ; Wed, 9 Sep 2009 16:56:12 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.freebsd.org (Postfix) with ESMTP id DC4A98FC13 for ; Wed, 9 Sep 2009 16:56:11 +0000 (UTC) Received: from [172.23.170.144] (helo=anti-virus03-07) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1MlQSc-0001pb-Jz for freebsd-questions@freebsd.org; Wed, 09 Sep 2009 17:55:58 +0100 Received: from [94.168.156.45] (helo=Mercury.galaxy.lan.lcl) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1MlQSb-0002lP-Io for freebsd-questions@freebsd.org; Wed, 09 Sep 2009 17:55:58 +0100 MIME-Version: 1.0 Content-class: urn:content-classes:message Date: Wed, 9 Sep 2009 17:55:55 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <01FB8F39BAD0BD49A6D0DA8F78973929573F@Mercury.galaxy.lan.lcl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: System crashed need some help troubleshooting Thread-Index: AcoxbmWJ3twlkfLfRW+e3vicbPIqhA== From: "Graeme Dargie" To: Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: System crashed need some help troubleshooting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 16:56:12 -0000 Hi All, =20 =20 I have a server in the house that has been running away fine, I noticed today that it had rebooted 17hours or so ago, looking a little further it also looks like it had rebooted around 23hours previously. =20 =20 =20 panic: kmem_malloc(131072): kmem_map too small: 505761792 total allocated cpuid =3D 0 Uptime: 23h56m0s Physical memory: 4017 MB Dumping 1149 MB: 1134 1118 1102 1086 1070 1054 1038 1022 1006 990 974 958 942 926 910 894 878 862 846 830 814 798 782 766 750 734 718 702 686 670 654 638 622 =20 I found the above in the /var/log/dmesg.yesterday=20 =20 =20 I could use some advice on how to troubleshoot on what is going on with this machine. =20 =20 Regards =20 Graeme From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 17:00:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52CBB1065676 for ; Wed, 9 Sep 2009 17:00:36 +0000 (UTC) (envelope-from rjhjr0@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.221.175]) by mx1.freebsd.org (Postfix) with ESMTP id 0887B8FC1B for ; Wed, 9 Sep 2009 17:00:35 +0000 (UTC) Received: by qyk7 with SMTP id 7so41045qyk.9 for ; Wed, 09 Sep 2009 10:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=8yuSG+SEbtnHJRS1+mO9PJbIE9+VW8jTRDvSLTn1fOM=; b=vW3JEfjZNSNoi/fD0E0xdjtvSS7pAIgnF6M+VVe3Xp9f5g46TJb2CO1ZaAWN/SPvzL 5Y8wo7LIwuAQJuQTm6tAV1D6FzI72/7Pc3ImquEQRj0Y0sCyNQyn+zOozhe34pVcKpP0 EKoWHBLnB4rC56+0UEZktk25JYucqLXd6uWW0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=Rdyvlz1UZkC6zDk1F3w8BSVtnarkmQDC2j3YcaK9j9QjvGLbhqNgB7b2lmeDIMTdel ZFTwcOH6trNYxncEGEqjpFodmWbZ5tw3Y1x3FSM3ustnCCj1tYRgKCYDF39R6ZnTGkLV nel7u02GJCiZ47QWsTDYPhR2/SDyLkH7XXWtg= Received: by 10.224.94.78 with SMTP id y14mr407111qam.216.1252515292982; Wed, 09 Sep 2009 09:54:52 -0700 (PDT) Received: from localhost (ip98-163-115-74.dc.dc.cox.net [98.163.115.74]) by mx.google.com with ESMTPS id 6sm22038qwk.26.2009.09.09.09.54.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Sep 2009 09:54:52 -0700 (PDT) Date: Wed, 9 Sep 2009 12:54:51 -0400 From: Bob Hall To: freebsd-questions@freebsd.org Message-ID: <20090909165450.GA1610@stainmore> Mail-Followup-To: Bob Hall , freebsd-questions@freebsd.org References: <4AA7D49D.8090002@mykitchentable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AA7D49D.8090002@mykitchentable.net> User-Agent: Mutt/1.4.2.3i Subject: Re: Regex Help - Greedy vs. Non-Greedy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 17:00:36 -0000 On Wed, Sep 09, 2009 at 09:15:25AM -0700, Drew Tomlinson wrote: > I'm trying to do a search and replace in vim. I have lines like this: > http://site1/dir/; > http://site2/dir/;LastName, FirstName;Phone; > http://site3/dir/;LastName, FirstName; > http://site4/dir/; > > I'm want to match "http:*" and stop matching at the first ";". My basic > regex is: > > /http:.\+;/ Use "{-}" in place of "+". /http:.\{-};/ From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 17:10:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1747106568B for ; Wed, 9 Sep 2009 17:10:13 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 7C8BC8FC0A for ; Wed, 9 Sep 2009 17:10:13 +0000 (UTC) Received: by ewy4 with SMTP id 4so2936324ewy.36 for ; Wed, 09 Sep 2009 10:10:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=cc326NAMHdEWyvttGjp210UhjdrYeBGp2/uT406EQsk=; b=DW5NprQgi8UR8AXBQ6fJpSe6e2x72AlmtVC8C7quMfy/pWV5WDu7S9UMERuguARJlG bkU3Yr03S6xNpR7Cm6Bne8+68KsIbpgl7xuATd1pza03gr+qfszjcybKC4fM5hp0ciQy AMvqHwXWMT9Wqq3CIEVSKNIzJemEnBX4B2Iww= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VsZJerFfOAZ2dfFruP/rXNoeq8PPbL68/BcnbhIn6uKwQw+WFZoe6bjXyJlvJeF7mt rIaRlJYA53MuGOzBIplI2ySFB5/tcJyFZzXu82a0QdUewetkbgzhyNTVxubiN9K3Z72l z26U1+OuHb9ZX5IMNqHxoQBUjX7EbQzhZOgpM= MIME-Version: 1.0 Received: by 10.216.38.68 with SMTP id z46mr119975wea.6.1252516211400; Wed, 09 Sep 2009 10:10:11 -0700 (PDT) Date: Wed, 9 Sep 2009 17:10:11 +0000 Message-ID: From: Jeronimo Calvo To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: VirtualBox not opening... from 7.2 STABLE, (GUI KDE 3.5) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 17:10:14 -0000 Hi Folks!! I did compile VirtualBox, and followed the instructions under http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization-host.html But I am getting following error when launched from the terminal: > # VirtualBox > No protocol specified > Failed to open the X11 display! When used the Icon created on System>VirtualBox (Using KDE 3.5) Using uname -a: > FreeBSD 7.2-STABLE FreeBSD 7.2-STABLE #1: Sat Aug 29 15:04:29 UTC 2009 root@:/usr/obj/usr/src/sys/GENERIC amd64 Seems to open for few secs... and suddenly disappears... Any ideas? From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 17:46:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60953106566B for ; Wed, 9 Sep 2009 17:46:22 +0000 (UTC) (envelope-from mlfreebsd@streamingedge.com) Received: from mail.streamingedge.com (mail.streamingedge.com [66.151.192.165]) by mx1.freebsd.org (Postfix) with ESMTP id 36A8B8FC13 for ; Wed, 9 Sep 2009 17:46:21 +0000 (UTC) Received: from mail.streamingedge.com (localhost.streamingedge.com [127.0.0.1]) by mail.streamingedge.com (Postfix) with ESMTP id C6AAC119E7E; Wed, 9 Sep 2009 13:26:28 -0400 (EDT) Received: from [172.17.0.115] (unknown [172.17.0.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.streamingedge.com (Postfix) with ESMTPSA id AB22B119E5E; Wed, 9 Sep 2009 13:26:28 -0400 (EDT) Message-ID: <4AA7E541.4030600@streamingedge.com> Date: Wed, 09 Sep 2009 13:26:25 -0400 From: Jacques Manukyan Organization: StreamingEdge User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Stefan Miklosovic References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-questions@freebsd.org Subject: Re: setquota + geli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jacques.manukyan@streamingedge.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 17:46:22 -0000 Stefan Miklosovic wrote: > hi, > > I would like to set some quotas with setquota > on crypted disk with geli, but if I want to do so -> > > /etc/fstab > /dev/ad0s2f.eli /home ufs > rw,noatime,userquota,groupquota 2 2 > > /etc/rc.conf > enable_quotas="YES" > > I can edit quotas by edquota, but with setquota command it is impossible > > ~# setquota -u -f /dev/ad0s2f.eli -bh10000 stewe > setquota : /dev/ad0s2f.eli is not a valid filesystem. > Doing the following should work just fine: ~# setquota -u -f /home -bh10000 stewe > does setquota support encrypted disks? > what should I do? > > thank you > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Setquota supports any UFS based file system it doesn't matter that the disk is encrypted or not. Just run the above command and it should work. -- Jacques Manukyan From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 17:46:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0685E106566B for ; Wed, 9 Sep 2009 17:46:48 +0000 (UTC) (envelope-from freebsd@optimis.net) Received: from mail.optimis.net (mail.optimis.net [69.104.191.124]) by mx1.freebsd.org (Postfix) with ESMTP id CE43F8FC21 for ; Wed, 9 Sep 2009 17:46:47 +0000 (UTC) Received: from marvin.optimis.net (marvin.optimis.net [192.168.1.3]) by mail.optimis.net (8.14.3/8.14.2) with ESMTP id n89Hklkc016252 for ; Wed, 9 Sep 2009 10:46:47 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: from marvin.optimis.net (localhost [127.0.0.1]) by marvin.optimis.net (8.14.3/8.14.3) with ESMTP id n89Hkl3D065788 for ; Wed, 9 Sep 2009 10:46:47 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: (from george@localhost) by marvin.optimis.net (8.14.3/8.14.3/Submit) id n89Hklc2065787 for freebsd-questions@freebsd.org; Wed, 9 Sep 2009 10:46:47 -0700 (PDT) (envelope-from freebsd@optimis.net) Date: Wed, 9 Sep 2009 10:46:47 -0700 From: George Davidovich To: freebsd-questions@freebsd.org Message-ID: <20090909174647.GA65123@marvin.optimis.net> References: <4AA7D49D.8090002@mykitchentable.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AA7D49D.8090002@mykitchentable.net> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: Regex Help - Greedy vs. Non-Greedy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 17:46:48 -0000 On Wed, Sep 09, 2009 at 09:15:25AM -0700, Drew Tomlinson wrote: > I'm trying to do a search and replace in vim. I have lines like this: > http://site1/dir/; > http://site2/dir/;LastName, FirstName;Phone; > http://site3/dir/;LastName, FirstName; > http://site4/dir/; > > I'm want to match "http:*" and stop matching at the first ";". My basic > regex is: > > /http:.\+;/ > > But it's matching *all* the semi-colons. Thus I've Googled and tried > various incatations to try and make my regex "non-greedy" but I can't > seem to come up with the correct combination. LOL. Do yourself a favour and stop "Googling". Vim has a built-in help system. To access help for regular expressions: :help regexp :he regexp :he r[TAB] ... and search for non-greedy (or just scroll down). > How can I write a regex that stops matching at the first semi-colon? You've already received a few answers, but I'll add one that may be even better -- rely on external programs instead. Vim can be a bit clunky at times. The simplest and most typical usage would be :[range] !command If using Perl $ perldoc -h $ perldoc -q regex -- George From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 18:16:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44E081065676 for ; Wed, 9 Sep 2009 18:16:15 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id 159338FC14 for ; Wed, 9 Sep 2009 18:16:14 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id 0BE311CC17; Wed, 9 Sep 2009 08:16:13 -1000 (HST) Message-ID: <4AA7F0ED.4080609@hdk5.net> Date: Wed, 09 Sep 2009 08:16:13 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Manolis Kiagias References: <4AA75154.4080206@otenet.gr> In-Reply-To: <4AA75154.4080206@otenet.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Tim Judd , "freebsd-questions@freebsd.org" Subject: Re: Custom ISOs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 18:16:15 -0000 Manolis Kiagias wrote: > Tim Judd wrote: >> I'm not sure if this is normal or not, but I'm getting <5.0KB/sec for >> two separate downloads each download speed for both the XFCE and Gnome >> DVD ISOs. >> >> > > Weird... >> I am aware that the site is sitting on wikidot.com, and not on >> dev-urandom.com anymore, I was wondering if there's a better place I >> can grab them from. I have someone interested in BSD, and was trying >> to download all options and let him pick. >> >> > > Not really. Only the web pages are on wikidot, the files are still > hosted in dev-urandom.com > >> With this download, it'll take a day or more to download it, then >> the time to meet up with this guy. >> >> >> Any light shed on the slow downloads? >> >> > Don't know, but if it is not resolved I'll ping Glen Barber who owns > this space. > I can't test the speed right now myself but will do later and report back. > > I do have some alternate space as well, so if the worse comes to the > worst, I could upload one of the ISOs there. It is currently mostly full > but I believe I can trash some things. > >> Thanks again, Manolis for ALL your hard work, it is very much appreciated. >> >> > > Thanks Tim, I thoroughly enjoyed creating this stuff. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > ########## Aloha, Download was fine from here in Hawaii when I have used it in the past. I have a 1.5 DSL circuit down. Hawaii is not the fastest place on the planet usually. I would check Tim's provider side. I know of several mainland friends who have slow cable TV lines. Hope you find the issue and can get it resolved. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 18:44:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA6FA1065672 for ; Wed, 9 Sep 2009 18:44:56 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: from mail-yw0-f180.google.com (mail-yw0-f180.google.com [209.85.211.180]) by mx1.freebsd.org (Postfix) with ESMTP id 6A6B18FC15 for ; Wed, 9 Sep 2009 18:44:55 +0000 (UTC) Received: by ywh10 with SMTP id 10so9421911ywh.7 for ; Wed, 09 Sep 2009 11:44:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=O64Fvx1odP10e0pUihAnKKab4lm/c2UihJoxZsabfyM=; b=ZxDgV0sIUyzHRkLllA9tVUUFft4qfgp65UgccXyERYQIVXLcWtSU60ZrPPdLtY++os YcCID8E5TWe77v8CVAzN1gFI3Mj7U/aYNrvLjr0Hy1MqWW7K8xhVPI6SrpllAbOP9Isu wesIsvHPJqgurEhzEJMp5J26swQhTqBXdEtUo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=UGdJbTfVkFwh0UFjaxchdbTVtL0c3OW5m37/W/EXtDg/uOQxeMeqnP5rPWbWiRrV4S EuC5tPkwCQVT4DrVkLt5FGYFeIDD6M8CkgPKkX+VghkqGd47oEw9RXThPVmY6Es6xkSp W8+M4p+kG60V6kxOAg7tYdKwHnRskQ/hL29ws= MIME-Version: 1.0 Received: by 10.91.26.7 with SMTP id d7mr334431agj.1.1252521895282; Wed, 09 Sep 2009 11:44:55 -0700 (PDT) From: Maxim Khitrov Date: Wed, 9 Sep 2009 14:44:35 -0400 Message-ID: <26ddd1750909091144x447fb4bt93e4bdc56d7a9202@mail.gmail.com> To: Free BSD Questions list Content-Type: text/plain; charset=UTF-8 Subject: Correct way to configure an IP range for firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 18:44:56 -0000 Hello all, A quick question - I have a /29 block of IPs that needs to be handled by a firewall I'm setting up. Two addresses are lost to broadcast and network, one is the ISP gateway, so we end up with 5 usable IPs that can be assigned to the external interface. The question is how to do this correctly? I want only one of the addresses assigned to the firewall itself, another will be used as the public nat address for all hosts on the lan. Remaining three addresses will be used as bidirectional nat for servers. Am I correct in assuming that I just need to add four ifconfig_vr0_alias[0-3] lines to rc.conf? What happens if in the future we get a much bigger IP block, is there a more efficient way of accomplishing the same thing? I don't actually want the firewall to consider itself the final destination for any of the additional IPs, it just needs to pass them to pf for nat and filtering. - Max From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 18:45:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BC0D106568B for ; Wed, 9 Sep 2009 18:45:21 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id D5F238FC21 for ; Wed, 9 Sep 2009 18:45:20 +0000 (UTC) Received: from pulstar.local (athedsl-4469150.home.otenet.gr [94.71.113.142]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n89IjIcF027711; Wed, 9 Sep 2009 21:45:18 +0300 Message-ID: <4AA7F7BE.1090906@otenet.gr> Date: Wed, 09 Sep 2009 21:45:18 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Al Plant References: <4AA75154.4080206@otenet.gr> <4AA7F0ED.4080609@hdk5.net> In-Reply-To: <4AA7F0ED.4080609@hdk5.net> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Custom ISOs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 18:45:21 -0000 Al Plant wrote: > Manolis Kiagias wrote: >> Tim Judd wrote: >>> I'm not sure if this is normal or not, but I'm getting <5.0KB/sec for >>> two separate downloads each download speed for both the XFCE and Gnome >>> DVD ISOs. >>> >>> >> >> Weird... >>> I am aware that the site is sitting on wikidot.com, and not on >>> dev-urandom.com anymore, I was wondering if there's a better place I >>> can grab them from. I have someone interested in BSD, and was trying >>> to download all options and let him pick. >>> >>> >> >> Not really. Only the web pages are on wikidot, the files are still >> hosted in dev-urandom.com >> >>> With this download, it'll take a day or more to download it, then >>> the time to meet up with this guy. >>> >>> >>> Any light shed on the slow downloads? >>> >>> >> Don't know, but if it is not resolved I'll ping Glen Barber who owns >> this space. >> I can't test the speed right now myself but will do later and report >> back. >> >> I do have some alternate space as well, so if the worse comes to the >> worst, I could upload one of the ISOs there. It is currently mostly full >> but I believe I can trash some things. >> >>> Thanks again, Manolis for ALL your hard work, it is very much >>> appreciated. >>> >>> >> >> Thanks Tim, I thoroughly enjoyed creating this stuff. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > ########## > > Aloha, > > Download was fine from here in Hawaii when I have used it in the past. > > I have a 1.5 DSL circuit down. Hawaii is not the fastest place on the > planet usually. I would check Tim's provider side. I know of several > mainland friends who have slow cable TV lines. > > Hope you find the issue and can get it resolved. > And I can confirm that it maxes out my connection here. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 19:03:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F08B106566B for ; Wed, 9 Sep 2009 19:03:46 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 16DA28FC13 for ; Wed, 9 Sep 2009 19:03:45 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n89J3drK024924; Wed, 9 Sep 2009 20:03:39 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n89J3drK024924 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1252523019; bh=tvYgugkugFuW6nlqdqiKp5iHb0l/laxHl+BxF7TkhPw=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AA7FC04.4040508@infracaninophile.co.uk>|Date:=20W ed,=2009=20Sep=202009=2020:03:32=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20Maxim=20Khitrov=20|CC:=20Free =20BSD=20Questions=20list=20|Subjec t:=20Re:=20Correct=20way=20to=20configure=20an=20IP=20range=20for= 20firewall|References:=20<26ddd1750909091144x447fb4bt93e4bdc56d7a9 202@mail.gmail.com>|In-Reply-To:=20<26ddd1750909091144x447fb4bt93e 4bdc56d7a9202@mail.gmail.com>|X-Enigmail-Version:=200.95.6|Content -Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20prot ocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"-------- ----enigFAA41C1651E04818BDE5C72B"; b=M30rPb95z5s1X1rWdnU1pjrEteL6mNpWki9lsV19HbkFJenq5TIi2g59zEFlls+E/ jSL4A1I/cw4EonOzrzsvxe7y8uod3QCoimgBUef71nglU4qT3/74SaKTOa1BGRqlf8 h1Pe1OF609YejDuSTVLVT8GteXK66xXpe3XBr5aE= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AA7FC04.4040508@infracaninophile.co.uk> Date: Wed, 09 Sep 2009 20:03:32 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: Maxim Khitrov References: <26ddd1750909091144x447fb4bt93e4bdc56d7a9202@mail.gmail.com> In-Reply-To: <26ddd1750909091144x447fb4bt93e4bdc56d7a9202@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigFAA41C1651E04818BDE5C72B" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Free BSD Questions list Subject: Re: Correct way to configure an IP range for firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 19:03:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFAA41C1651E04818BDE5C72B Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Maxim Khitrov wrote: > Am I correct in assuming that I just need to add four > ifconfig_vr0_alias[0-3] lines to rc.conf? What happens if in the > future we get a much bigger IP block, is there a more efficient way of > accomplishing the same thing? I don't actually want the firewall to > consider itself the final destination for any of the additional IPs, > it just needs to pass them to pf for nat and filtering. Assuming your assigned network is 192.0.2.24/29: ipv4_addrs_vr0=3D"192.0.2.25-30" See rc.conf(5) for details. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigFAA41C1651E04818BDE5C72B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkqn/AsACgkQ8Mjk52CukIzKbQCfUyBrDTzAGOoNLQwYSi66fMyx L+sAn1IDWwgVRqgvK5B8VXHihzyEUb1L =XyZQ -----END PGP SIGNATURE----- --------------enigFAA41C1651E04818BDE5C72B-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 19:14:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16EEB106566B for ; Wed, 9 Sep 2009 19:14:48 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id DB3AF8FC18 for ; Wed, 9 Sep 2009 19:14:47 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id 108D41CCA0; Wed, 9 Sep 2009 09:14:46 -1000 (HST) Message-ID: <4AA7FEA6.70603@hdk5.net> Date: Wed, 09 Sep 2009 09:14:46 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Maxim Khitrov References: <26ddd1750909091144x447fb4bt93e4bdc56d7a9202@mail.gmail.com> In-Reply-To: <26ddd1750909091144x447fb4bt93e4bdc56d7a9202@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Free BSD Questions list Subject: Re: Correct way to configure an IP range for firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 19:14:48 -0000 Maxim Khitrov wrote: > Hello all, > > A quick question - I have a /29 block of IPs that needs to be handled > by a firewall I'm setting up. Two addresses are lost to broadcast and > network, one is the ISP gateway, so we end up with 5 usable IPs that > can be assigned to the external interface. The question is how to do > this correctly? > > I want only one of the addresses assigned to the firewall itself, > another will be used as the public nat address for all hosts on the > lan. Remaining three addresses will be used as bidirectional nat for > servers. > > Am I correct in assuming that I just need to add four > ifconfig_vr0_alias[0-3] lines to rc.conf? What happens if in the > future we get a much bigger IP block, is there a more efficient way of > accomplishing the same thing? I don't actually want the firewall to > consider itself the final destination for any of the additional IPs, > it just needs to pass them to pf for nat and filtering. > > - Max > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Aloha Max, What you have sounds like an ATM ( Asynchronous Transfer Mode ) circuit. I have one here that is for three servers a desktop and one spare IP. I got the setup from Michael Paoli at cal.berkely.edu in California. With setup I had to put firewalls (PF) on the three servers facing the internet and the desktop as well. There are 2 references I used for this firewall setup. Absolute FerrBSD - M. Lucas Pg. 273 and bsdly.bet Peter Hansteen. Both are on this list. If you would like to see the three sheets on how I set this up I can fax them to you or email. The setup for more IP's should be scalable but the IP's and default route would change I would think. You could keep using /29 ATM blocks and increase in increments with different IP's most likely with out changing the first ones. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 20:23:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4210C106566B for ; Wed, 9 Sep 2009 20:23:10 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 00CFC8FC19 for ; Wed, 9 Sep 2009 20:23:09 +0000 (UTC) Received: by yxe2 with SMTP id 2so7819883yxe.3 for ; Wed, 09 Sep 2009 13:23:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=elUpsAJZdnhXwjI0lHaNV/EFWZqCrfSF7/AjHBNcuIg=; b=kfiPyExsjhhgKmum22MfVShP3a++xsxJECjh3n3AJNadhJvSbIrOAbnkaTJpQaS/oJ +Vxgy9R5r6WDIp/e7zMNx2WF9Z4+OXI7xE2SkApleK2rLAGWmUpc0y40Uq6ohfBK+vnU NJBOw8hr2u9Y/LRqlk7BF/qWZAacMG94xeYP8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wJ5EAwginJQqMdDppQsU66SBE2yTd77J/fv0Y6V7p/JBn+cBe6aVa1HNvUcoO1YqcJ h4V9kG4BeKxPCBqRc4UM58SKWOaUrSqrulD4HD21Yt+i+s0woorjRjDca1NcFie05aWg COQfKimpZvbETcmmqNKMHDhUqsIkNXQoqn4l0= MIME-Version: 1.0 Received: by 10.101.176.38 with SMTP id d38mr745209anp.12.1252527788840; Wed, 09 Sep 2009 13:23:08 -0700 (PDT) In-Reply-To: <4AA7F7BE.1090906@otenet.gr> References: <4AA75154.4080206@otenet.gr> <4AA7F0ED.4080609@hdk5.net> <4AA7F7BE.1090906@otenet.gr> Date: Wed, 9 Sep 2009 14:23:08 -0600 Message-ID: From: Tim Judd To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Custom ISOs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 20:23:10 -0000 On 9/9/09, Manolis Kiagias wrote: > Al Plant wrote: >> Manolis Kiagias wrote: >>> Tim Judd wrote: >>>> I'm not sure if this is normal or not, but I'm getting <5.0KB/sec for >>>> two separate downloads each download speed for both the XFCE and Gnome >>>> DVD ISOs. >>>> >>>> >>> >>> Weird... >>>> I am aware that the site is sitting on wikidot.com, and not on >>>> dev-urandom.com anymore, I was wondering if there's a better place I >>>> can grab them from. I have someone interested in BSD, and was trying >>>> to download all options and let him pick. >>>> >>>> >>> >>> Not really. Only the web pages are on wikidot, the files are still >>> hosted in dev-urandom.com >>> >>>> With this download, it'll take a day or more to download it, then >>>> the time to meet up with this guy. >>>> >>>> >>>> Any light shed on the slow downloads? >>>> >>>> >>> Don't know, but if it is not resolved I'll ping Glen Barber who owns >>> this space. >>> I can't test the speed right now myself but will do later and report >>> back. >>> >>> I do have some alternate space as well, so if the worse comes to the >>> worst, I could upload one of the ISOs there. It is currently mostly full >>> but I believe I can trash some things. >>> >>>> Thanks again, Manolis for ALL your hard work, it is very much >>>> appreciated. >>>> >>>> >>> >>> Thanks Tim, I thoroughly enjoyed creating this stuff. >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >>> >> ########## >> >> Aloha, >> >> Download was fine from here in Hawaii when I have used it in the past. >> >> I have a 1.5 DSL circuit down. Hawaii is not the fastest place on the >> planet usually. I would check Tim's provider side. I know of several >> mainland friends who have slow cable TV lines. >> >> Hope you find the issue and can get it resolved. >> > > And I can confirm that it maxes out my connection here. Apparently was just a temp thing -- it looks like it had finished in ~40 minutes, but I started the download, wrote the mail, and then went to bed. Apparently it normalized. Sorry for the disruption. --TJ From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 20:46:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A9EE10656A8 for ; Wed, 9 Sep 2009 20:46:44 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 00C808FC20 for ; Wed, 9 Sep 2009 20:46:43 +0000 (UTC) Received: by pzk15 with SMTP id 15so1471686pzk.27 for ; Wed, 09 Sep 2009 13:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=xkpnMp7ujaGd5fSov/imw4/hoM1AuUS+azbwRHxnsZQ=; b=clNMt8pESacpznGa6HiOQjXedsEP5L+mK8U7VuyMHG3jwTZmDLftiU/2V9XlLre7lK qU6QejF3XWk4q4so/AeRfmIuDGtafyMMhSCqwCpzJxPVDyLd72ilCkzMFiGpGCoRhw/6 bVCgGtV9StVJdLPATM/S+niKUvkpNL2qsTZCk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ny3NjF8b2BbIYTLj27Qf99kcjRTEmdnbuJOqyAoi66fUB34DYEZCsxXLowlpOtSTFG yxhDgGQQ10wMu5E1aRsVhrIITp2U2obRgNSMYlQ3ha1KCqwr0YwpZexLSe6SJYfd1FRr Md7ka9ZkPXPa9pAWgtrD9QKS2pswUkhV+6XQU= MIME-Version: 1.0 Received: by 10.142.59.18 with SMTP id h18mr49645wfa.121.1252529203459; Wed, 09 Sep 2009 13:46:43 -0700 (PDT) In-Reply-To: <20090825183947.GC1087@ideapad.piggybox> References: <447CAEF2-AA07-49E9-9E81-891FA7C23422@forestinformatics.com> <20090825183947.GC1087@ideapad.piggybox> Date: Wed, 9 Sep 2009 13:46:43 -0700 Message-ID: <539c60b90909091346m1a004d0dq2076a591c676f372@mail.gmail.com> From: Steve Franks To: Peter Harrison , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: netbooks for freebsd? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 20:46:44 -0000 > I like my s10e too - but remember I don't have native wireless, I'm using ndis. There are also some acpi glitches which the currently available patch only partially resolves. re: acpi patch: Fascinating - now it reboots instead of hanging....gonna try current one of these days... As far as ditching ndis, I got one of these, and I'm quite happy with it: OxfordTEC.com Detailed Invoice: https://www.oxfordtec.com/us/account_history_info.php?order_id=XYZPDQ 1 x SparkLAN WPEA-165G miniPCI Wireless card - Atheros AR5006EG AR2423A mini PCI-E, mPCIe adapter (WPEA165G-S0) = $24.95 Best, Steve From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 21:08:41 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 782161065693 for ; Wed, 9 Sep 2009 21:08:41 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4528FC16 for ; Wed, 9 Sep 2009 21:08:40 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n89L7li2009875 for ; Wed, 9 Sep 2009 14:07:47 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 9 Sep 2009 14:08:36 -0700 (PDT) Date: Wed, 9 Sep 2009 14:08:36 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20090909210833.GA23467@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: are there any notebooks with mouse-sticks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 21:08:42 -0000 I'm looking for a small computer, 7-10" screen that has a ThinkPad-like stick to act as the mouse. Pref'ly, no touch-pad. The ASUS and just about every other notebook-size device has this kind of scratch-n-sniff pad; unfortunately, it looks as tho my palm would go there. (I *did* see a separate mouse [and other add-ons] for the EEE; that might be a work around.) Any clues? gary ps: just thought i'd ask here first... . -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 21:39:05 2009 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 753FC1065672 for ; Wed, 9 Sep 2009 21:39:05 +0000 (UTC) (envelope-from merfi_75@bk.ru) Received: from f151.mail.ru (f151.mail.ru [217.69.128.105]) by mx1.freebsd.org (Postfix) with ESMTP id 3088E8FC08 for ; Wed, 9 Sep 2009 21:39:04 +0000 (UTC) Received: from mail by f151.mail.ru with local id 1MlUsX-00040L-00 for FreeBSD-questions@FreeBSD.org; Thu, 10 Sep 2009 01:39:01 +0400 Received: from [89.31.88.145] by win.mail.ru with HTTP; Thu, 10 Sep 2009 01:39:01 +0400 From: =?koi8-r?Q?=E1=CC=C5=CB=D3=C5=CA_=ED=C9=C8=C1=CA=CC=CF=D7=C9=DE?= To: FreeBSD-questions@FreeBSD.org Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [89.31.88.145] Date: Thu, 10 Sep 2009 01:39:01 +0400 X-Mru-Data: 775:1:1:70:70:1 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: X-Spam: Not detected X-Mras: Ok X-Mailman-Approved-At: Wed, 09 Sep 2009 22:47:33 +0000 Cc: Subject: Sound in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?koi8-r?Q?=E1=CC=C5=CB=D3=C5=CA_=ED=C9=C8=C1=CA=CC=CF=D7=C9=DE?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 21:39:05 -0000 I want play *.mp3 in to FreeBSD My system data uname -a: 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 11:43:51 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 my sound driver: snd_hda $ cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at memory 0xf3020000 irq 22 kld snd_hda [20071129_0050] (1p/1r/1v channels duplex default) pcm1: at memory 0xf1010000 irq 17 kld snd_hda [20071129_0050] (mixer only) my steps for auto load : 1 ee /boot/loader.conf #Sound Driver snd_hda_load="YES" (man snd_hda) 2 reboot 3 login 4 kldstat result kldstat: Id Refs Address Size Name 1 7 0xc0400000 7c89e8 kernel 2 1 0xc0bc9000 5c894 acpi.ko 3 1 0xc8dcc000 2000 fire_saver.ko 4 1 0xc948a000 12000 snd_hda.ko 5 1 0xc949c000 1d000 sound.ko sound driver was loader I run X server: startx and....... the sound is not present Next i press Ctrl+Alt+Backspace (down X) Manually I do an unloading and loading $ kldunload snd_hda $ kldload snd_hda After these actions all works Why the such occurs Thanks From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 22:52:11 2009 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35D43106566C for ; Wed, 9 Sep 2009 22:52:11 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id B8D898FC19 for ; Wed, 9 Sep 2009 22:52:10 +0000 (UTC) Received: by bwz2 with SMTP id 2so2018006bwz.43 for ; Wed, 09 Sep 2009 15:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=gzL34BA/7kTKXnCgg+ZLwNtou2q8tCPxUZOgXezWILw=; b=i27JVYf4J7JoHSIXMQcZ13XQt40LPoYmDUve3oDY+LUy/e6sARtmpDikFMbOphZFLJ 2d/zLg0rOSduTI0Te+UAdslV8+mS3mRpWFTUqm831ZtPsKefZMmKSUp8Wm8Aal9f1QdU bhQX5eNMtxlE7IFGvwSZMd5n9a4a+Bdy5A/Mg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=oUkz5bPofoiUkwhgPaySs5sNdEHFgFbZ6BKJC4tRgvuRSxAD0I7A2UiJXbQ0gWexQW tkgOEkpAClOfTvtSjjkSRL2PSc2R9B9z7ACVVRpvnX+bF3/4CD4Seg7L2xLOwlgH2LtW Vi5UFsfHR0kMhCjhtR657CzsbAi7sv8hf1gOg= MIME-Version: 1.0 Received: by 10.223.54.15 with SMTP id o15mr747362fag.96.1252536729712; Wed, 09 Sep 2009 15:52:09 -0700 (PDT) In-Reply-To: References: Date: Wed, 9 Sep 2009 18:52:09 -0400 Message-ID: <4ad871310909091552l1a5bf8ddi4d11d46ad1d269b5@mail.gmail.com> From: Glen Barber To: =?KOI8-R?B?4czFy9PFyiDtycjByszP18ne?= Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-questions@freebsd.org Subject: Re: Sound in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 22:52:11 -0000 Hi. 2009/9/9 =E1=CC=C5=CB=D3=C5=CA =ED=C9=C8=C1=CA=CC=CF=D7=C9=DE : > I want play *.mp3 in to FreeBSD > > My system data > uname -a: > =9A6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 11:43:51 UTC 2008 =9A = =9A root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC =9Ai386 > > my sound driver: > =9A =9Asnd_hda > > =9A =9A$ cat /dev/sndstat > =9A =9AFreeBSD Audio Driver (newpcm) > =9A =9AInstalled devices: > =9A =9Apcm0: at memory 0x= f3020000 irq 22 kld snd_hda =9A [20071129_0050] (1p/1r/1v channels duplex d= efault) > pcm1: at memory 0xf10100= 00 irq 17 kld snd_hda [20071129_0050] (mixer only) > > my steps for auto load : > =9A1 ee /boot/loader.conf > =9A =9A#Sound Driver > =9A =9Asnd_hda_load=3D"YES" (man snd_hda) > =9A2 reboot > =9A3 login > =9A4 kldstat > =9A =9Aresult kldstat: > Id Refs Address =9A =9ASize =9A =9A Name > =9A1 =9A =9A7 0xc0400000 7c89e8 =9A kernel > =9A2 =9A =9A1 0xc0bc9000 5c894 =9A =9Aacpi.ko > =9A3 =9A =9A1 0xc8dcc000 2000 =9A =9A fire_saver.ko > =9A4 =9A =9A1 0xc948a000 12000 =9A =9Asnd_hda.ko > =9A5 =9A =9A1 0xc949c000 1d000 =9A =9Asound.ko > > sound driver was loader > > I run X server: startx > =9Aand....... the sound is not present > > Next i press Ctrl+Alt+Backspace (down X) > > Manually I do an unloading and loading > =9A $ kldunload snd_hda > =9A $ kldload snd_hda > > After these actions all works > > Why the such occurs > Thanks > > What is the output of mixer(8) before and after X is started? Also, what window manager / desktop environment are you using? --=20 Glen Barber From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 22:57:14 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C93C106566C for ; Wed, 9 Sep 2009 22:57:14 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-30.bluehost.com (outbound-mail-30.bluehost.com [69.89.17.212]) by mx1.freebsd.org (Postfix) with SMTP id CEFE38FC3C for ; Wed, 9 Sep 2009 22:57:13 +0000 (UTC) Received: (qmail 16188 invoked by uid 0); 9 Sep 2009 22:57:13 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy2.bluehost.com with SMTP; 9 Sep 2009 22:57:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=UPpgAfFrXqysP/56IQPIvyc22Gqw7NyWqzHEW/MBqJU510QLrmD4hm/QyDjNXJXOI9eBfLDEtplVEDMnmNUi8mmR1ZLQ3rLlKxVWYSg/+OI7YHOlRrmCE09bYkeBMnCq; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MlW6C-0000AO-CX for freebsd-questions@FreeBSD.ORG; Wed, 09 Sep 2009 16:57:13 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Wed, 9 Sep 2009 16:57:11 -0600 Date: Wed, 9 Sep 2009 16:57:11 -0600 From: Chad Perrin To: FreeBSD Mailing List Message-ID: <20090909225711.GA16843@kokopelli.hydra> Mail-Followup-To: FreeBSD Mailing List References: <20090909210833.GA23467@thought.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <20090909210833.GA23467@thought.org> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: Subject: Re: are there any notebooks with mouse-sticks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 22:57:14 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 09, 2009 at 02:08:36PM -0700, Gary Kline wrote: >=20 > I'm looking for a small computer, 7-10" screen that has a ThinkPad-like s= tick > to act as the mouse. Pref'ly, no touch-pad. The ASUS and just about eve= ry other > notebook-size device has this kind of scratch-n-sniff pad; unfortunately,= it looks > as tho my palm would go there. (I *did* see a separate mouse [and other = add-ons] > for the EEE; that might be a work around.) I sympathize with your desire for a trackpoint (instead of a touchpad), and this is one reason I keep getting ThinkPads for my laptops. Unfortunately, I don't know of any "netbooks" that come with trackpoints. I hope you get an answer on this list so I'll get one as well (with the obvious preference for FreeBSD, or at least *some* BSD Unix, compatibility). --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Philip Machanick: "caution: if you write code like this, immediately after you are fired the person assigned to maintaining your code after you leave will resign" --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkqoMscACgkQ9mn/Pj01uKUjFgCgploe5zSdN0P3HCgerQOXTLWl dBMAoM7fj9yLPV0LT3zvIuzKe9JRIFfu =5ACJ -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU-- From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 00:50:02 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E599A1065693 for ; Thu, 10 Sep 2009 00:50:02 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id B9C038FC15 for ; Thu, 10 Sep 2009 00:50:02 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id B3BCB1CC1B for ; Wed, 9 Sep 2009 14:50:01 -1000 (HST) Message-ID: <4AA84D39.9020105@hdk5.net> Date: Wed, 09 Sep 2009 14:50:01 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: FreeBSD Mailing List References: <20090909210833.GA23467@thought.org> <20090909225711.GA16843@kokopelli.hydra> In-Reply-To: <20090909225711.GA16843@kokopelli.hydra> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: are there any notebooks with mouse-sticks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 00:50:03 -0000 Chad Perrin wrote: > On Wed, Sep 09, 2009 at 02:08:36PM -0700, Gary Kline wrote: >> I'm looking for a small computer, 7-10" screen that has a ThinkPad-like stick >> to act as the mouse. Pref'ly, no touch-pad. The ASUS and just about every other >> notebook-size device has this kind of scratch-n-sniff pad; unfortunately, it looks >> as tho my palm would go there. (I *did* see a separate mouse [and other add-ons] >> for the EEE; that might be a work around.) > > I sympathize with your desire for a trackpoint (instead of a touchpad), > and this is one reason I keep getting ThinkPads for my laptops. > Unfortunately, I don't know of any "netbooks" that come with trackpoints. > I hope you get an answer on this list so I'll get one as well (with the > obvious preference for FreeBSD, or at least *some* BSD Unix, > compatibility). > Aloha Gary, The HP Mini 1000 has a pad and it is not good. If I accidentally brush it with a finger it acts as a click same as the mouse buttons do. I think this is a terrible feature. ( No way to kill it either I checked. )I thought it was because I have large hands, but Julie has trouble too so she brought out a USB wireless logitech mouse from her stash of stuff and it works fine. Good Luck... ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 02:02:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2ECC106568B for ; Thu, 10 Sep 2009 02:02:23 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id CA8598FC1D for ; Thu, 10 Sep 2009 02:02:23 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id 117DE1CC20 for ; Wed, 9 Sep 2009 16:02:23 -1000 (HST) Message-ID: <4AA85E2E.6010808@hdk5.net> Date: Wed, 09 Sep 2009 16:02:22 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: DVD-R not recording .iso X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 02:02:24 -0000 Aloha, on FreeBSD 8 Current I have installed growisofs. I want to burn a DVD R of /path/7.2-RELEASE-p1-i386-disc1.iso . #growisofs -dvd-compat -Z /dev/cd0=/path/7.2-RELEASE-p1-i386-disc1.iso . Got this from FreeBSD handbook. Get no such file or directory error. Whats wrong with the syntax? Is this the correct way to copy an .iso onto a DVD-R for installs? Or can I just use burncd like somebody on the BSD forum said they did? ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 02:12:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3743D106566B for ; Thu, 10 Sep 2009 02:12:44 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id E57548FC14 for ; Thu, 10 Sep 2009 02:12:43 +0000 (UTC) Received: by yxe2 with SMTP id 2so8123317yxe.3 for ; Wed, 09 Sep 2009 19:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=j5DDge9A9PjUL5zQk2Eplz2bF3fGV9PFSHOuUYul+30=; b=uld4hRpD2zVsQXTAJk8Sw8OU0z/gMg5jNtH8fJhKf5J7cU+2FsRsdrp4iUXNkjSZOq MBLXWgfIL67/xmoPMnNT9L3LjEn4vIW0HOziW6EosYbZuk0ahnxpe7Rev0wf9gw3RBoz SD3JtAGCawy6uxVpfBxsjTZv0ms+YPOsZQ3IA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=UbgfEoHNfjg1ux486TfqwhIIQ2Mr3s4hUuxYeytKLV1YZfIx7mPUBStSfmIX3mKFDI qoy9roR8jxocOXfrnYVIppDfPRghK2DvDEpK5Axl0bCfDBA5aCEn99+AEBDTLU7EnSj9 Tl8vjePssVfhA0sK+eTtLGa4RaOXHbiCxYfLA= MIME-Version: 1.0 Received: by 10.150.174.30 with SMTP id w30mr1692856ybe.143.1252548763173; Wed, 09 Sep 2009 19:12:43 -0700 (PDT) In-Reply-To: <4AA85E2E.6010808@hdk5.net> References: <4AA85E2E.6010808@hdk5.net> Date: Wed, 9 Sep 2009 21:12:43 -0500 Message-ID: <6201873e0909091912g8e953eo674db5ffd3dd3972@mail.gmail.com> From: Adam Vande More To: Al Plant Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd.org" Subject: Re: DVD-R not recording .iso X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 02:12:44 -0000 On Wed, Sep 9, 2009 at 9:02 PM, Al Plant wrote: > Aloha, > > on FreeBSD 8 Current > > I have installed growisofs. I want to burn a DVD R of > /path/7.2-RELEASE-p1-i386-disc1.iso . > > #growisofs -dvd-compat -Z /dev/cd0=/path/7.2-RELEASE-p1-i386-disc1.iso . > > Got this from FreeBSD handbook. Get no such file or directory error. Whats > wrong with the syntax? > > Is this the correct way to copy an .iso onto a DVD-R for installs? > > Or can I just use burncd like somebody on the BSD forum said they did? > > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 > do you have this in /boot/loader.conf? atapicam_load="YES" -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 02:35:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EB94106568B for ; Thu, 10 Sep 2009 02:35:04 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 02BA98FC18 for ; Thu, 10 Sep 2009 02:35:03 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id n8A2Z2ms096854; Wed, 9 Sep 2009 22:35:02 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Wed, 9 Sep 2009 22:33:27 -0400 (EDT) From: Chris Hill To: Al Plant In-Reply-To: <4AA85E2E.6010808@hdk5.net> Message-ID: References: <4AA85E2E.6010808@hdk5.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: "freebsd-questions@freebsd.org" Subject: Re: DVD-R not recording .iso X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 02:35:04 -0000 On Wed, 9 Sep 2009, Al Plant wrote: > Aloha, > > on FreeBSD 8 Current > > I have installed growisofs. I want to burn a DVD R of > /path/7.2-RELEASE-p1-i386-disc1.iso . > > #growisofs -dvd-compat -Z /dev/cd0=/path/7.2-RELEASE-p1-i386-disc1.iso . > > Got this from FreeBSD handbook. Get no such file or directory error. Whats > wrong with the syntax? Caveats about anything I say: 1) I'm using 7.2, and b) I'm using +R media. Nothing is wrong with the syntax, although your command above says the ISO file is in a directory called /path. Does the directory exist? Is the ISO in that directory? Permissions OK on everything? Does /dev/cd0 point to your burner? And as Adam said, make sure you have atapicam loaded. I'm also assuming that dot at the end of your line is a period at the end of your sentence, and not part of the command you issued. > Is this the correct way to copy an .iso onto a DVD-R for installs? It burns the ISO to the disk as a premastered disk, which is what you want in this situation. If you wanted to just copy the ISO as a file, you'd replace the = sign with a space. > Or can I just use burncd like somebody on the BSD forum said they did? I have no idea what somebody on the BSD forum said :^) HTH. Hang loose. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 03:03:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BC65106566B for ; Thu, 10 Sep 2009 03:03:49 +0000 (UTC) (envelope-from alex@mailinglist.ahhyes.net) Received: from mail08.syd.optusnet.com.au (mail08.syd.optusnet.com.au [211.29.132.189]) by mx1.freebsd.org (Postfix) with ESMTP id D7E388FC0C for ; Thu, 10 Sep 2009 03:03:48 +0000 (UTC) Received: from [172.16.0.201] (c122-106-58-139.rivrw1.nsw.optusnet.com.au [122.106.58.139]) by mail08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n8A33iLV023325 for ; Thu, 10 Sep 2009 13:03:46 +1000 Message-ID: <4AA86C90.7030908@mailinglist.ahhyes.net> Date: Thu, 10 Sep 2009 13:03:44 +1000 From: Alex R User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 7.2-RELEASE/amd64 - weird stuff in dmesg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 03:03:49 -0000 Hi everyone, I was wondering whether anyone could shed some light on the following messages I am seeing in dmesg: -------------------- <<33>>aarrpp:: uunnkknnoowwnn hhaarrddwwaarree aaddddress format (0x0000) ress format (0x0000) arp: unakrnpo:w nu nhkanrodwwna rhea raddwdarrees sa dfdorremsast f(o0rxm0a0t0 0()0 x 0000) aanrkpn:o wunn khnaorwdnw ahraer dawdadrree sasd dfroersmsa tf o(r0mxat0 0(00x000)0 0 ) arp: unknown hardware address format (0xarp:0 7u0n0k)n o wn hardware address format (0x0700) aarrpp:: uunnkknnoowwnn hhaarrddwwaarree aaddddrreessss ffoorrmmaatt ((00xx00770000)) -------------------------- Any ideas whats with the jumbled/double letters? Is there something wrong with the machine or is it a bug in the OS? I have seen similar symptoms on SMP enabled boxes when shutting down if 2 processes call kprintf() or printf() at the same time, it results in garbled output. Should i turn a blind eye to this? From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 03:07:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2DC5106566C for ; Thu, 10 Sep 2009 03:07:44 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 7941A8FC0A for ; Thu, 10 Sep 2009 03:07:44 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n8A36lPC012602; Wed, 9 Sep 2009 20:06:50 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 9 Sep 2009 20:07:39 -0700 (PDT) Date: Wed, 9 Sep 2009 20:07:36 -0700 From: Gary Kline To: Al Plant Message-ID: <20090910030736.GA24330@thought.org> References: <20090909210833.GA23467@thought.org> <20090909225711.GA16843@kokopelli.hydra> <4AA84D39.9020105@hdk5.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AA84D39.9020105@hdk5.net> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: are there any notebooks with mouse-sticks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 03:07:44 -0000 On Wed, Sep 09, 2009 at 02:50:01PM -1000, Al Plant wrote: > Chad Perrin wrote: > >On Wed, Sep 09, 2009 at 02:08:36PM -0700, Gary Kline wrote: > >>I'm looking for a small computer, 7-10" screen that has a ThinkPad-like > >>stick > >>to act as the mouse. Pref'ly, no touch-pad. The ASUS and just about > >>every other > >>notebook-size device has this kind of scratch-n-sniff pad; unfortunately, > >>it looks > >>as tho my palm would go there. (I *did* see a separate mouse [and other > >>add-ons] > >>for the EEE; that might be a work around.) > > > >I sympathize with your desire for a trackpoint (instead of a touchpad), > >and this is one reason I keep getting ThinkPads for my laptops. > >Unfortunately, I don't know of any "netbooks" that come with trackpoints. > >I hope you get an answer on this list so I'll get one as well (with the > >obvious preference for FreeBSD, or at least *some* BSD Unix, > >compatibility). > > > Aloha Gary, > > The HP Mini 1000 has a pad and it is not good. If I accidentally brush > it with a finger it acts as a click same as the mouse buttons do. I > think this is a terrible feature. ( No way to kill it either I checked. > )I thought it was because I have large hands, but Julie has trouble too > so she brought out a USB wireless logitech mouse from her stash of stuff > and it works fine. > Aloha Al [and Chad also], I fat-finger any of these mico-telephone keys[!]; it's worse yet if my finger spasms or even twitches. Really, with one hand, my hand has to go smack in the middle of these small computers. Which is where the touch pads are according to the pix. Are you saying that you can use your HP with the wireless mouse and still miss the pad most of the time? I checked out the ASUS extras, including the mouse and optical drive. Anybody on-list know if the EE touchpad can be completely disabled via the hardware setup/config? gary > Good Luck... > > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 > + http://hawaiidakine.com + http://freebsdinfo.org + > + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + > < email: noc@hdk5.net > > "All that's really worth doing is what we do for others."- Lewis Carrol > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 03:27:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56879106566C for ; Thu, 10 Sep 2009 03:27:13 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id 07D058FC0C for ; Thu, 10 Sep 2009 03:27:12 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id 1D5441CCBC; Wed, 9 Sep 2009 17:27:12 -1000 (HST) Message-ID: <4AA87210.8070306@hdk5.net> Date: Wed, 09 Sep 2009 17:27:12 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Gary Kline References: <20090909210833.GA23467@thought.org> <20090909225711.GA16843@kokopelli.hydra> <4AA84D39.9020105@hdk5.net> <20090910030736.GA24330@thought.org> In-Reply-To: <20090910030736.GA24330@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: are there any notebooks with mouse-sticks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 03:27:13 -0000 Gary Kline wrote: > On Wed, Sep 09, 2009 at 02:50:01PM -1000, Al Plant wrote: >> Chad Perrin wrote: >>> On Wed, Sep 09, 2009 at 02:08:36PM -0700, Gary Kline wrote: >>>> I'm looking for a small computer, 7-10" screen that has a ThinkPad-like >>>> stick >>>> to act as the mouse. Pref'ly, no touch-pad. The ASUS and just about >>>> every other >>>> notebook-size device has this kind of scratch-n-sniff pad; unfortunately, >>>> it looks >>>> as tho my palm would go there. (I *did* see a separate mouse [and other >>>> add-ons] >>>> for the EEE; that might be a work around.) >>> I sympathize with your desire for a trackpoint (instead of a touchpad), >>> and this is one reason I keep getting ThinkPads for my laptops. >>> Unfortunately, I don't know of any "netbooks" that come with trackpoints. >>> I hope you get an answer on this list so I'll get one as well (with the >>> obvious preference for FreeBSD, or at least *some* BSD Unix, >>> compatibility). >>> >> Aloha Gary, >> >> The HP Mini 1000 has a pad and it is not good. If I accidentally brush >> it with a finger it acts as a click same as the mouse buttons do. I >> think this is a terrible feature. ( No way to kill it either I checked. >> )I thought it was because I have large hands, but Julie has trouble too >> so she brought out a USB wireless logitech mouse from her stash of stuff >> and it works fine. >> > > Aloha Al [and Chad also], > > I fat-finger any of these mico-telephone keys[!]; it's worse yet if > my finger spasms or even twitches. Really, with one hand, my hand > has to go smack in the middle of these small computers. Which is > where the touch pads are according to the pix. > > Are you saying that you can use your HP with the wireless mouse and > still miss the pad most of the time? > > I checked out the ASUS extras, including the mouse and optical drive. > Anybody on-list know if the EE touchpad can be completely disabled > via the hardware setup/config? > > gary > > > >> Good Luck... >> >> ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 >> + http://hawaiidakine.com + http://freebsdinfo.org + >> + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + >> < email: noc@hdk5.net > >> "All that's really worth doing is what we do for others."- Lewis Carrol >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Aloha, I dont use the keypad at all. Keys and Mouse only. The HP Mini touchpad is centered below the keyboard, but the keyboard had regular sized keys which is good. I think if you have a wireless mouse on any of them you could cover the touchpad with something like card stock or plastic so the pressure or proximity of a hand would not set it off. It is really bad that you cant turn off the feature that causes the false clicks etc. Have fun... ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 06:03:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8723C1065679 for ; Thu, 10 Sep 2009 06:03:28 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 436218FC16 for ; Thu, 10 Sep 2009 06:03:27 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n8A62XsU014044; Wed, 9 Sep 2009 23:02:33 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 9 Sep 2009 23:03:23 -0700 (PDT) Date: Wed, 9 Sep 2009 23:03:22 -0700 From: Gary Kline To: Al Plant Message-ID: <20090910060322.GA24818@thought.org> References: <20090909210833.GA23467@thought.org> <20090909225711.GA16843@kokopelli.hydra> <4AA84D39.9020105@hdk5.net> <20090910030736.GA24330@thought.org> <4AA87210.8070306@hdk5.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AA87210.8070306@hdk5.net> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: are there any notebooks with mouse-sticks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 06:03:28 -0000 On Wed, Sep 09, 2009 at 05:27:12PM -1000, Al Plant wrote: > Gary Kline wrote: > > > Aloha, > I dont use the keypad at all. Keys and Mouse only. > > The HP Mini touchpad is centered below the keyboard, but the keyboard > had regular sized keys which is good. I think if you have a wireless > mouse on any of them you could cover the touchpad with something like > card stock or plastic so the pressure or proximity of a hand would not > set it off. > > It is really bad that you cant turn off the feature that causes the > false clicks etc. > well, i'd be willing to cut the wire to the touchpad--or have somebody do it. thing is, getting the schematics might just about be impossible... . > Have fun... yup; life is a bowl of yuks, right? :-) > > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 > + http://hawaiidakine.com + http://freebsdinfo.org + > + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + > < email: noc@hdk5.net > > "All that's really worth doing is what we do for others."- Lewis Carrol > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 08:25:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86C81106566C for ; Thu, 10 Sep 2009 08:25:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 46F9E8FC13 for ; Thu, 10 Sep 2009 08:25:11 +0000 (UTC) Received: from r55.edvax.de (port-92-195-27-155.dynamic.qsc.de [92.195.27.155]) by mx02.qsc.de (Postfix) with ESMTP id B66711E1D4; Thu, 10 Sep 2009 10:25:09 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n8A8P9LO001586; Thu, 10 Sep 2009 10:25:09 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 10 Sep 2009 10:25:08 +0200 From: Polytropon To: Jeronimo Calvo Message-Id: <20090910102508.f7aac2f1.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: VirtualBox not opening... from 7.2 STABLE, (GUI KDE 3.5) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 08:25:11 -0000 On Wed, 9 Sep 2009 17:10:11 +0000, Jeronimo Calvo wrote: > But I am getting following error when launched from the terminal: > > > # VirtualBox > > No protocol specified > > Failed to open the X11 display! Of course. You are trying to write to the X display as root, but the display belongs to !root (non-root user, i. e. you). There's a quick, but very unelegant way to solve this problem: # setenv DISPLAY :0.0 # VirtualBox The program should then run. If your root shell is a different one than the standard C shell, have a look at its manpage about how to modify environment variables. You need DISPLAY to point at the local device, which is :0.0 in this case. There are better ways, such as using xauth. > When used the Icon created on System>VirtualBox (Using KDE 3.5) > [...] > Seems to open for few secs... and suddenly disappears... Maybe it has to be run as root? In general, it's not a good idea to run X applications as root. > Any ideas? I can only provide some quite generic advices, because I never used VirtualBox. :-( -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 08:29:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D53E6106566B for ; Thu, 10 Sep 2009 08:29:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 96D8F8FC16 for ; Thu, 10 Sep 2009 08:29:27 +0000 (UTC) Received: from r55.edvax.de (port-92-195-27-155.dynamic.qsc.de [92.195.27.155]) by mx02.qsc.de (Postfix) with ESMTP id 51E201DEF3; Thu, 10 Sep 2009 10:29:26 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n8A8TPrM001590; Thu, 10 Sep 2009 10:29:25 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 10 Sep 2009 10:29:25 +0200 From: Polytropon To: Gary Kline Message-Id: <20090910102925.1ea9ffd3.freebsd@edvax.de> In-Reply-To: <20090909210833.GA23467@thought.org> References: <20090909210833.GA23467@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: are there any notebooks with mouse-sticks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 08:29:27 -0000 On Wed, 9 Sep 2009 14:08:36 -0700, Gary Kline wrote: > > I'm looking for a small computer, 7-10" screen that has a ThinkPad-like stick > to act as the mouse. This "stick" is called a TrackPoint, as far as I remember. It has been common in portable computers built by IB and Toshiba. > Pref'ly, no touch-pad. Sadly, you will find mostly that (crap) in "modern" devices... > The ASUS and just about every other > notebook-size device has this kind of scratch-n-sniff pad; [...] Nice name. Other names: Fingerprint sensor and coffee cup warmer. :-) > Any clues? Look for IBM / Lenovo, maybe they still employ this fantastic and easy to use pointing device. Allthough it would completely make sense to use a Trackpoint for netbook class computers (litte real estate consumption, minimal moving from "hand in typing position" to "hand in pointing position"), it seems that the worst solution always prevails. I haven't seen Trackpoints on "modern" stuff yet, and I'm quite about thinking that it doesn't exist anymore. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 08:42:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADAF1106566B for ; Thu, 10 Sep 2009 08:42:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6D5478FC1B for ; Thu, 10 Sep 2009 08:42:07 +0000 (UTC) Received: from r55.edvax.de (port-92-195-27-155.dynamic.qsc.de [92.195.27.155]) by mx02.qsc.de (Postfix) with ESMTP id 6F0EF25012; Thu, 10 Sep 2009 10:42:06 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n8A8g5BJ001624; Thu, 10 Sep 2009 10:42:05 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 10 Sep 2009 10:42:05 +0200 From: Polytropon To: Chris Hill Message-Id: <20090910104205.e68909c7.freebsd@edvax.de> In-Reply-To: References: <4AA85E2E.6010808@hdk5.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" , Al Plant Subject: Re: DVD-R not recording .iso X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 08:42:07 -0000 On Wed, 9 Sep 2009 22:33:27 -0400 (EDT), Chris Hill wrote: > On Wed, 9 Sep 2009, Al Plant wrote: > > > Aloha, > > > > on FreeBSD 8 Current > > > > I have installed growisofs. I want to burn a DVD R of > > /path/7.2-RELEASE-p1-i386-disc1.iso . > > > > #growisofs -dvd-compat -Z /dev/cd0=/path/7.2-RELEASE-p1-i386-disc1.iso . > > > > Got this from FreeBSD handbook. Get no such file or directory error. Whats > > wrong with the syntax? > > Nothing is wrong with the syntax, although your command above says the ISO > file is in a directory called /path. Does the directory exist? Is the ISO > in that directory? Permissions OK on everything? Does /dev/cd0 point to > your burner? And as Adam said, make sure you have atapicam loaded. The nampage of growisofs lists /dev/dvd in its EXAMPLES section. That's why I'm using link cd0 dvd in /etc/devfs.conf, so you can easily use the examples for your own command purposes. Note that for accessing the ATAPICAM facility, it may be neccessary to have at least +w for group (operator) for the /dev/cd and the /dev/pass device the DVD writer is refered by. Use the camcontrol command to check: % camcontrol devlist at scbus2 target 0 lun 0 (cd0,pass1) % ll /dev/cd0 /dev/pass1 crw-rw-r-- 1 root operator 0, 116 Sep 10 10:10 /dev/cd0 crw-rw---- 1 root operator 0, 115 Sep 10 10:10 /dev/pass1 % ll /dev/dvd lrwxr-xr-x 1 root wheel 3 Sep 10 10:10 /dev/dvd@ -> cd0 > > Is this the correct way to copy an .iso onto a DVD-R for installs? > > It burns the ISO to the disk as a premastered disk, which is what you want > in this situation. If you wanted to just copy the ISO as a file, you'd > replace the = sign with a space. In the last case you mentioned, growisofs would create an ISO-9660 file systen on the DVD which then contains one .iso file. That's possible, but won't create the result the OP wanted, I think. > > Or can I just use burncd like somebody on the BSD forum said they did? > > I have no idea what somebody on the BSD forum said :^) The burncd command usually refers to burning CDs, not DVDs, allthough it may be possible that it can be used for DVDs, too. But I'm not familiar with it anymore, because I use growisofs for DVDs and cdrecord / cdrdao for CDs; both of them use the ATAPICAM facility. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 10:09:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 856E41065670 for ; Thu, 10 Sep 2009 10:09:27 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out2.uni-muenster.de (ZIVM-OUT2.UNI-MUENSTER.DE [128.176.192.9]) by mx1.freebsd.org (Postfix) with ESMTP id 1C8628FC14 for ; Thu, 10 Sep 2009 10:09:26 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,363,1249250400"; d="scan'208";a="223273494" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER05.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay2.uni-muenster.de with ESMTP; 10 Sep 2009 12:09:24 +0200 Received: by ZIVMAILUSER05.UNI-MUENSTER.DE (Postfix, from userid 149459) id D45261B07E5; Thu, 10 Sep 2009 12:09:24 +0200 (CEST) Date: Thu, 10 Sep 2009 12:09:24 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: device nodes in usb2 stack X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 10:09:27 -0000 i was wondering why some device nodes appear as regular files under /dev (like ulpt or da e.g.) and some don't? if i attach my usb dongle device i get this dmesg output: ugen1.2: at usbus1 ubt0: on usbus1 but no device node gets created under /dev. however the following lines i have in my /etc/devd.conf work just as expected: # When a USB Bluetooth dongle appears activate it attach 100 { device-name "ubt[0-9]+"; action "/etc/rc.d/bluetooth quietstart $device-name"; action "/usr/local/bin/obexapp -r /var/spool/obex -s -C1"; }; detach 100 { device-name "ubt[0-9]+"; action "/etc/rc.d/bluetooth quietstop $device-name"; action "/usr/bin/killall obexapp"; }; the device works perfectly, but i'm still wondering why no device node gets created in /dev. i always thought one of the main unix philosophies was: "everything is a file!". cheers. alex From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 12:19:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B9081065679 for ; Thu, 10 Sep 2009 12:19:01 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: from mail-yw0-f175.google.com (mail-yw0-f175.google.com [209.85.211.175]) by mx1.freebsd.org (Postfix) with ESMTP id 9A6B58FC1D for ; Thu, 10 Sep 2009 12:18:59 +0000 (UTC) Received: by ywh5 with SMTP id 5so66138ywh.4 for ; Thu, 10 Sep 2009 05:18:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=3pmp/58z6eEimeiRy1IcPE59SRcYX7fjTmJc2Y8aqy8=; b=J7IlSHz5qaEuIicnG9K7X4kaF6mqqqYizkzy+XqLowTE6TTgpinHL+FrXx1IviXYdr iBfXtGNb9blAXZTLO+I0hQMD8NmvVn0P59957IzeOvxV+7En9iy1umY9bDRvKhNPEUTM k04oTgImvFvmNbmjB12AoAQc+hNh3XGj4lXfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=qaseOR0FZDGumBCTWq96Y3I0rISOpi8EFtMPvNF7nuLDNyg67hpBXZ4fUTKdaYCg+V rbSwL1E4b6+V3SzCvNc5nAat/EMoi0KoJJVPUgoZdmcFocctBRuHuTo/VCfEw7CN79ha HDi0hrszMES/SVAvGgmJvein3sv41xq6fJKLY= MIME-Version: 1.0 Received: by 10.101.103.15 with SMTP id f15mr1473063anm.193.1252585139069; Thu, 10 Sep 2009 05:18:59 -0700 (PDT) In-Reply-To: <4AA7FC04.4040508@infracaninophile.co.uk> References: <26ddd1750909091144x447fb4bt93e4bdc56d7a9202@mail.gmail.com> <4AA7FC04.4040508@infracaninophile.co.uk> From: Maxim Khitrov Date: Thu, 10 Sep 2009 08:18:39 -0400 Message-ID: <26ddd1750909100518m59de30a4vaffc4e946780e812@mail.gmail.com> To: Matthew Seaman Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Free BSD Questions list Subject: Re: Correct way to configure an IP range for firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 12:19:01 -0000 On Wed, Sep 9, 2009 at 3:03 PM, Matthew Seaman wrote: > Maxim Khitrov wrote: > >> Am I correct in assuming that I just need to add four >> ifconfig_vr0_alias[0-3] lines to rc.conf? What happens if in the >> future we get a much bigger IP block, is there a more efficient way of >> accomplishing the same thing? I don't actually want the firewall to >> consider itself the final destination for any of the additional IPs, >> it just needs to pass them to pf for nat and filtering. > > Assuming your assigned network is 192.0.2.24/29: > > ipv4_addrs_vr0=3D"192.0.2.25-30" > > See rc.conf(5) for details. > > =C2=A0 =C2=A0 =C2=A0 =C2=A0Cheers, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0Matthew Thanks! I looked through /etc/defaults/rc.conf and somehow missed ipv4_addrs. So if I understand the man page correctly, a single ipv4_addrs_vr0=3D"x.x.x.9-13/29" line can replace both the aliases and the one ifconfig_vr0 line. Is that correct? I'm not certain because the man page states that "an ifconfig_ variable is also assumed to exist for each value of interface," but everything seems to be working fine without it. - Max From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 13:02:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57A5F1065692 for ; Thu, 10 Sep 2009 13:02:01 +0000 (UTC) (envelope-from pyp125@gmail.com) Received: from mail-iw0-f180.google.com (mail-iw0-f180.google.com [209.85.223.180]) by mx1.freebsd.org (Postfix) with ESMTP id 239738FC18 for ; Thu, 10 Sep 2009 13:02:00 +0000 (UTC) Received: by iwn10 with SMTP id 10so27783iwn.8 for ; Thu, 10 Sep 2009 06:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=s1aZn/qQbX7bDhkBe/zLpMhjhbihVYZPueM2Hyh3T+o=; b=RuHBwzuztEFPV6E5KNWNKuSTET/hZM/JJIFtgTNS+5/TK5nmrH+bbzSHK2pt8ma467 vxGdA+aNJ8ZFcB058hC6BFw/dwz7Mz9/aNlkS/P0eWR54dTYH2FLfUbmKFRw3/4Jj7jD xKITA8x5qJSu7GVro3jBkC6lBBUZu96LjFawA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xRw8cYB2qMmVkIsguxrogAlHip4EYMNACRT4UvtQSmWouLFAlFi6hi9Sc1Jyov+44g o7NtclGfUP+EwlH/ejDyEci1L3FPIHn5dGVaM9LQF60m/gHcbFu3tY1xz021MNLdBpdp U1DoxllACiC9YIP1g23J/4pEnmpQ2xfA38XuQ= MIME-Version: 1.0 Received: by 10.231.61.195 with SMTP id u3mr2881839ibh.12.1252586267716; Thu, 10 Sep 2009 05:37:47 -0700 (PDT) Date: Thu, 10 Sep 2009 20:37:47 +0800 Message-ID: From: Ley To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: About DHCP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 13:02:01 -0000 I heared that freebsd will boots very slow if enables dhcp. Is that true? I am a adsl user and I can not get a certain IP, how can I make freebsd boots fast? From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 13:16:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D5D7106566B for ; Thu, 10 Sep 2009 13:16:35 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 534608FC12 for ; Thu, 10 Sep 2009 13:16:35 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 3E6D2EBC0A; Thu, 10 Sep 2009 09:16:34 -0400 (EDT) Date: Thu, 10 Sep 2009 09:16:33 -0400 From: Bill Moran To: Ley Message-Id: <20090910091633.a220e2c3.wmoran@potentialtech.com> In-Reply-To: References: Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: About DHCP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 13:16:35 -0000 In response to Ley : > I heared that freebsd will boots very slow if enables dhcp. Is that true? I > am a adsl user and I can not get a certain IP, how can I make freebsd boots > fast? If DHCP makes the system boot slowly, then it's not FreeBSD's fault. DHCP addresses are acquired very quickly if the DHCP server is working properly and not overloaded. Even with a slow DHCP server, I've seldom seen it take longer than a few seconds. What is your usage case that this is such a concern? -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 14:12:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E61551065670 for ; Thu, 10 Sep 2009 14:12:10 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 789898FC15 for ; Thu, 10 Sep 2009 14:12:10 +0000 (UTC) Received: by ewy4 with SMTP id 4so143179ewy.36 for ; Thu, 10 Sep 2009 07:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=pQAbMxjphU3TxzxAxcX/XcgfhXrpw/rh/WkH+MqIAeI=; b=acccSidGUUarfwNfMhzWmfK6SKrKLACRuimh134dk5sDYenlVzgs5C+ODU9WalJRnZ HBmIbGbIRtQeolU5Lgal2NNRS+m46DSJyHQ/pFm/HiAlCh7oBasS7Pb2LV4OaJ03SJLi gSIhwBIDntUSEQK1It87ToZaceK1yb5FEnEZA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=TIXNayRzc/fD6cCSSFby/3J5chBads0GTW4AqXiXo0/GhM8ARQjOcT24+hueGjmHcx wQxm7lSbK/+EdNkkgwCvrnxdMvj61lXQ/d0hbvmHg5nHGWQoefgiE/3IaSr6cx0bGrcN npW99ocOBs7Wk1/eIRv4Wy6h7luSj29q3mCTQ= MIME-Version: 1.0 Received: by 10.216.29.211 with SMTP id i61mr365839wea.212.1252591928897; Thu, 10 Sep 2009 07:12:08 -0700 (PDT) In-Reply-To: <20090910102508.f7aac2f1.freebsd@edvax.de> References: <20090910102508.f7aac2f1.freebsd@edvax.de> Date: Thu, 10 Sep 2009 15:12:08 +0100 Message-ID: From: Jeronimo Calvo To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: VirtualBox not opening... from 7.2 STABLE, (GUI KDE 3.5) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 14:12:11 -0000 Great!! I will try running the app as a regular user, as I did add myself on the virtualbox group... Should be alright from there... I'll let u know as soon as i finish my portupgrade -a (thats taking year and a half) lol Thanks!!! 2009/9/10 Polytropon : > On Wed, 9 Sep 2009 17:10:11 +0000, Jeronimo Calvo wrote: >> But I am getting following error when launched from the terminal: >> >> > # VirtualBox >> > No protocol specified >> > Failed to open the X11 display! > > Of course. You are trying to write to the X display as root, but > the display belongs to !root (non-root user, i. e. you). > > There's a quick, but very unelegant way to solve this problem: > > =A0 =A0 =A0 =A0# setenv DISPLAY :0.0 > =A0 =A0 =A0 =A0# VirtualBox > > The program should then run. If your root shell is a different > one than the standard C shell, have a look at its manpage about > how to modify environment variables. > > You need DISPLAY to point at the local device, which is :0.0 in > this case. > > There are better ways, such as using xauth. > > > >> When used the Icon created on System>VirtualBox (Using KDE 3.5) >> [...] >> Seems to open for few secs... and suddenly disappears... > > Maybe it has to be run as root? In general, it's not a good idea > to run X applications as root. > > > >> Any ideas? > > I can only provide some quite generic advices, because I never > used VirtualBox. :-( > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 15:18:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFD9410656A4 for ; Thu, 10 Sep 2009 15:18:41 +0000 (UTC) (envelope-from bounces+305227.47622558.587775@icpbounce.com) Received: from smtp4.icpbounce.com (smtp4.icpbounce.com [216.27.93.122]) by mx1.freebsd.org (Postfix) with ESMTP id 7C00C8FC23 for ; Thu, 10 Sep 2009 15:18:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp4.icpbounce.com (Postfix) with ESMTP id CCC08238328 for ; Thu, 10 Sep 2009 11:03:14 -0400 (EDT) Date: Thu, 10 Sep 2009 11:03:14 -0400 To: freebsd-questions@freebsd.org; From: =?utf-8?Q?Eko_Bilgisayar_ve_=C4=B0leti=C5=9Fim_Hizmetleri_Ltd=2E_=C5=9Eti?= Message-ID: <01c380c2472b8f450e7360446ab41a5e@localhost.localdomain> X-Priority: 3 X-Mailer: PHPMailer [version 1.72] Errors-To: bounces+305227.47622558.587775@icpbounce.com X-List-Unsubscribe: X-Unsubscribe-Web: X-ICPINFO: X-Return-Path-Hint: bounces+305227.47622558.587775@icpbounce.com MIME-Version: 1.0 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Turkey Calling You To Visit - The Trade SHOW- In Las Vegas X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 15:18:41 -0000 [http://www.turkeycalling.us] [http://www.turkeycalling.us] [http://www.turkeycalling.us] [http://www.turkeycalling.us/turkey-fam/turkeyfam.htm] Global Access Travel invites you to the Tradeshow in Las Vegas on September 13-15, 2009. Please visit us to get more information about our organization and services at our booth. If you fill the registration form or leave the business card when you visit us at our booth, you might be lucky visitor who is going to win our daily draw prize; Free inspection trip to Turkey. Yasal Uyarı; Bu e-posta, sadece adreste belirtilen kisi veya kurulusun kullanimini hedeflemekte olup,mesajda yer alan bilgiler kisiye ozel ve gizli olabilir, yasalar ya da anlasmalar geregi ücüncü kisiler ile paylasilmasi mümkün olmayabilir.Mesaji alan kisi, mesajin gönderilmek istendigi kisi veya kurulus degilse,bu mesaji yaymak,dagitmak veya kopyalamak yasaktir Mesaj tarafiniza yanlislikla ulasmissa lütfen mesaji geri gönderiniz ve sisteminizden siliniz. Global Access Travel bu mesajin icerigi ile ilgili olarak hicbir hukuksal sorumlulugu kabul etmez Disclaimer This e-mail communication is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and that may not be made public by law or agreement. If the recipient of this message is not the intended recipient or entity, you are hereby notified that any further dissemination, distribution or copying of this information is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete it from your system. The Global Access Traveldoes not accept legal responsibility for the contents of this message. Yasal Uyarı; Bu e-posta, sadece adreste belirtilen kisi veya kurulusun kullanimini hedeflemekte olup,mesajda yer alan bilgiler kisiye ozel ve gizli olabilir, yasalar ya da anlasmalar geregi ücüncü kisiler ile paylasilmasi mümkün olmayabilir.Mesaji alan kisi, mesajin gönderilmek istendigi kisi veya kurulus degilse,bu mesaji yaymak,dagitmak veya kopyalamak yasaktir Mesaj tarafiniza yanlislikla ulasmissa lütfen mesaji geri gönderiniz ve sisteminizden siliniz. Global Access Travel bu mesajin icerigi ile ilgili olarak hicbir hukuksal sorumlulugu kabul etmez Disclaimer This e-mail communication is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and that may not be made public by law or agreement. If the recipient of this message is not the intended recipient or entity, you are hereby notified that any further dissemination, distribution or copying of this information is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete it from your system. The Global Access Traveldoes not accept legal responsibility for the contents of this message. Yasal Uyarı; Bu e-posta, sadece adreste belirtilen kisi veya kurulusun kullanimini hedeflemekte olup,mesajda yer alan bilgiler kisiye ozel ve gizli olabilir, yasalar ya da anlasmalar geregi ücüncü kisiler ile paylasilmasi mümkün olmayabilir.Mesaji alan kisi, mesajin gönderilmek istendigi kisi veya kurulus degilse,bu mesaji yaymak,dagitmak veya kopyalamak yasaktir Mesaj tarafiniza yanlislikla ulasmissa lütfen mesaji geri gönderiniz ve sisteminizden siliniz. Global Access Travel bu mesajin icerigi ile ilgili olarak hicbir hukuksal sorumlulugu kabul etmez Disclaimer This e-mail communication is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and that may not be made public by law or agreement. If the recipient of this message is not the intended recipient or entity, you are hereby notified that any further dissemination, distribution or copying of this information is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete it from your system. The Global Access Traveldoes not accept legal responsibility for the contents of this message. This message was sent by: TURKEY CALLING YOU TO VISIT "THE TRADE SHOW" IN LAS VEGAS, Nüzhetiye Cad, istanbul, Besiktas 34357, Turkey Manage your subscription: http://app.icontact.com/icp/mmail-mprofile.pl?r=47622558&l=82253&s=TXZM&m=587775&c=305227 From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 15:25:13 2009 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A9221065692 for ; Thu, 10 Sep 2009 15:25:13 +0000 (UTC) (envelope-from produkte24.com@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id CCB8B8FC1F for ; Thu, 10 Sep 2009 15:25:12 +0000 (UTC) Received: by bwz2 with SMTP id 2so161042bwz.43 for ; Thu, 10 Sep 2009 08:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=EQ5uqP5FLnhf2AfdzmFdjlQFzcbW4E8NZ2XWWLpTNpo=; b=YvZeDsCJLJeLRR+wkN/FkWo/3ZqRK9vMLsdE8lvBGCq4duRek+YqjQgc/Zfgp3oHnh aueDvXTNSA6hfzNLRqmrh7oPzq2Ve3T0mFfEIzhSaqdfs0lkqY94VIxtE4q4pZ8u0+4a juLXhoXXbyyTse5quNYYhYhfmC1Ya1n9fKbz4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=RFcT6w6DZ0u0If3MHwtiuTLc+jj6+qfBOejo6/cmQ3vZAkX5gzg1K/hRgPReFT11zs PneCmvGeZlcl+qbjAly+VuOfVN5182NiCtudTHrVJRiVtqJulsS24q/3OiL7QD07n+Wd 6rgWgdl2Dqi6C/nA2zlMqVRVd6V2SFwE0/XGg= MIME-Version: 1.0 Sender: produkte24.com@gmail.com Received: by 10.223.143.73 with SMTP id t9mr1087616fau.14.1252594594338; Thu, 10 Sep 2009 07:56:34 -0700 (PDT) Date: Thu, 10 Sep 2009 16:56:34 +0200 X-Google-Sender-Auth: 3b156b7e795d7f34 Message-ID: From: Arvin Zuberbuehler To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Sites using FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 15:25:13 -0000 Hi there, Is there a chance to get listed under "Sites using FreeBSD" http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/nutshell.html#INTRODUCTION-NUTSHELL-USERS? Or are there any possibilities for advertisements on any pages of http://www.freebsd.org/ ? Please give me a short feedback. Arvin From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 16:51:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0E341065676 for ; Thu, 10 Sep 2009 16:51:33 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-12.bluehost.com (outbound-mail-12.bluehost.com [69.89.18.112]) by mx1.freebsd.org (Postfix) with SMTP id B2C9D8FC13 for ; Thu, 10 Sep 2009 16:51:33 +0000 (UTC) Received: (qmail 4700 invoked by uid 0); 10 Sep 2009 16:51:33 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy1.bluehost.com with SMTP; 10 Sep 2009 16:51:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=WfPJRfBC1b+TevZ5eAEdOasDmQJ+6tWGmxBe/N0UPvYZVYsEs7hhPV5CK6fgtxEbCHa/F6zlgA32YS4kv5/miyU7HSX2CKJIp+93vUJh/hWII+tkKkP0WecXisC7Ad8b; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Mlmrr-0005DW-E2 for freebsd-questions@freebsd.org; Thu, 10 Sep 2009 10:51:32 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Thu, 10 Sep 2009 10:51:29 -0600 Date: Thu, 10 Sep 2009 10:51:29 -0600 From: Chad Perrin To: FreeBSD Mailing List Message-ID: <20090910165129.GA20641@kokopelli.hydra> Mail-Followup-To: FreeBSD Mailing List References: <20090909210833.GA23467@thought.org> <20090910102925.1ea9ffd3.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <20090910102925.1ea9ffd3.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: are there any notebooks with mouse-sticks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 16:51:34 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 10, 2009 at 10:29:25AM +0200, Polytropon wrote: > On Wed, 9 Sep 2009 14:08:36 -0700, Gary Kline wrote: > >=20 > > I'm looking for a small computer, 7-10" screen that has a ThinkPad-like= stick > > to act as the mouse.=20 >=20 > This "stick" is called a TrackPoint, as far as I remember. It has been > common in portable computers built by IB and Toshiba. I assume that IB was meant to be IBM. Lenovo bought IBM's PC division a few years ago, and now produces ThinkPads -- which come with trackpoints. >=20 > > Pref'ly, no touch-pad.=20 >=20 > Sadly, you will find mostly that (crap) in "modern" devices... I just turn off the touchpad in my ThinkPad's BIOS/CMOS settings. That's pretty much the *first* thing I do with a new ThinkPad, before I even install a halfway decent operating system on it. I have a tendency to accidentaly move the mouse around while typing, otherwise. >=20 > > The ASUS and just about every other > > notebook-size device has this kind of scratch-n-sniff pad; [...] >=20 > Nice name. Other names: Fingerprint sensor and coffee cup warmer. :-) Yeah . . . how warm the touchpad gets is a pretty good heuristic measure of how hot the laptop is running, at least on my ThinkPad. >=20 > > Any clues? >=20 > Look for IBM / Lenovo, maybe they still employ this fantastic and > easy to use pointing device. Allthough it would completely make sense > to use a Trackpoint for netbook class computers (litte real estate > consumption, minimal moving from "hand in typing position" to "hand > in pointing position"), it seems that the worst solution always > prevails. I haven't seen Trackpoints on "modern" stuff yet, and I'm > quite about thinking that it doesn't exist anymore. Unfortunately, the OP was asking about netbook-sized computers, and last I checked the only netbooks offered by Lenovo are IdeaPads -- which are exactly like ThinkPads, except the construction is a little cheaper and the pointing device is always a touchpad. Otherwise, however, I second the motion: ThinkPads are generally held to a higher standard of quality than the rest of the laptops in the PC world, tend to be well-supported by open source operating systems, and come with trackpoints. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Philip Machanick: "caution: if you write code like this, immediately after you are fired the person assigned to maintaining your code after you leave will resign" --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkqpLpEACgkQ9mn/Pj01uKVGjwCgndAOC4nAjteQwC7nQwzdvQ15 ZDgAoLsEL2xlJ/NybZfn2qcr9R5csshJ =zQZw -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU-- From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 17:25:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 859AA1065670 for ; Thu, 10 Sep 2009 17:25:22 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 186248FC17 for ; Thu, 10 Sep 2009 17:25:21 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n8AHPEld043568; Thu, 10 Sep 2009 18:25:15 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n8AHPEld043568 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1252603515; bh=l0xv4CToBxmtlTvWMNfI5uEw8FqW5NSp/iI37DO8PsU=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AA9367A.5070208@infracaninophile.co.uk>|Date:=20T hu,=2010=20Sep=202009=2018:25:14=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20Maxim=20Khitrov=20|CC:=20Free =20BSD=20Questions=20list=20|Subjec t:=20Re:=20Correct=20way=20to=20configure=20an=20IP=20range=20for= 20firewall|References:=20<26ddd1750909091144x447fb4bt93e4bdc56d7a9 202@mail.gmail.com>=20=09<4AA7FC04.4040508@infracaninophile.co.uk> =20<26ddd1750909100518m59de30a4vaffc4e946780e812@mail.gmail.com>|I n-Reply-To:=20<26ddd1750909100518m59de30a4vaffc4e946780e812@mail.g mail.com>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/s igned=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/ pgp-signature"=3B=0D=0A=20boundary=3D"------------enigD4384F0528CD BAED2401E43E"; b=zQyTckqEOMqn4LvP/dEH3SfgIyYwU4W4p3uvoKtpdsEhAWQQS7T4VM9C6O1YBYkkn 5Mg5b/i+cdcfEQurFPCMgFImWMgUYeFIgjuari9fzGhxNAhQIaL6Fsq7PqbxxVvIOU c68cHHtBZVjLyp1e2HRY10B3PM6vURDj5JhC/RdA= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AA9367A.5070208@infracaninophile.co.uk> Date: Thu, 10 Sep 2009 18:25:14 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: Maxim Khitrov References: <26ddd1750909091144x447fb4bt93e4bdc56d7a9202@mail.gmail.com> <4AA7FC04.4040508@infracaninophile.co.uk> <26ddd1750909100518m59de30a4vaffc4e946780e812@mail.gmail.com> In-Reply-To: <26ddd1750909100518m59de30a4vaffc4e946780e812@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigD4384F0528CDBAED2401E43E" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Free BSD Questions list Subject: Re: Correct way to configure an IP range for firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 17:25:22 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD4384F0528CDBAED2401E43E Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Maxim Khitrov wrote: > On Wed, Sep 9, 2009 at 3:03 PM, Matthew > Seaman wrote: >> Maxim Khitrov wrote: >> >>> Am I correct in assuming that I just need to add four >>> ifconfig_vr0_alias[0-3] lines to rc.conf? What happens if in the >>> future we get a much bigger IP block, is there a more efficient way o= f >>> accomplishing the same thing? I don't actually want the firewall to >>> consider itself the final destination for any of the additional IPs, >>> it just needs to pass them to pf for nat and filtering. >> Assuming your assigned network is 192.0.2.24/29: >> >> ipv4_addrs_vr0=3D"192.0.2.25-30" >> >> See rc.conf(5) for details. >> >> Cheers, >> >> Matthew >=20 > Thanks! I looked through /etc/defaults/rc.conf and somehow missed > ipv4_addrs. So if I understand the man page correctly, a single > ipv4_addrs_vr0=3D"x.x.x.9-13/29" line can replace both the aliases and > the one ifconfig_vr0 line. Is that correct? I'm not certain because > the man page states that "an ifconfig_ variable is also > assumed to exist for each value of interface," but everything seems to > be working fine without it. Correct. However, the only things you can set with ipv4_addrs_ifX are IP numbers and netmasks. If you want to use DHCP or WPA or to fix the port to a particular duplex setting or to toggle various other controller= specific settings, then the ifconfig_ifX{,_aliasY} variables are your friends. You can combine both variable forms for configuring the same interface, although this works best if you do all alias IP setup using ipv4_addrs_if= X and just use ifconfig_ifX to set general properties on the interface. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigD4384F0528CDBAED2401E43E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkqpNnoACgkQ8Mjk52CukIwj4QCfW9dfVv/r4arugzEuwchEWFaa efMAoJRyWYGiZWuTxPlnysIW1iN4FU37 =0T9E -----END PGP SIGNATURE----- --------------enigD4384F0528CDBAED2401E43E-- From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 17:55:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 553D010656DF for ; Thu, 10 Sep 2009 17:55:01 +0000 (UTC) (envelope-from mdc@prgmr.com) Received: from mail.prgmr.com (mail.prgmr.com [64.62.173.114]) by mx1.freebsd.org (Postfix) with ESMTP id 388928FC15 for ; Thu, 10 Sep 2009 17:55:01 +0000 (UTC) Received: from frylock.local (c-71-202-68-54.hsd1.ca.comcast.net [71.202.68.54]) by mail.prgmr.com (Postfix) with ESMTP id 3429168B5B for ; Thu, 10 Sep 2009 10:58:12 -0700 (PDT) Message-ID: <4AA93D6A.2050704@prgmr.com> Date: Thu, 10 Sep 2009 10:54:50 -0700 From: Michael David Crawford Organization: Prgmr.com User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: FreeBSD Mailing List References: <20090909210833.GA23467@thought.org> <20090910102925.1ea9ffd3.freebsd@edvax.de> <20090910165129.GA20641@kokopelli.hydra> In-Reply-To: <20090910165129.GA20641@kokopelli.hydra> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: What I'd Like To See In A Netbook X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 17:55:01 -0000 Just in case there are any netbook manufacturers listening in, or employees of such manufacturers: What I'd really like to see is a netbook with a regular size screen. I've been shopping around some, and have so far been unable to find what I desire. What I mean by that is that I want a notebook with a low-power, inexpensive processor and modest memory. That will work fine if one runs an operating system such as FreeBSD. But I want at least a fourteen inch screen, preferably fifteen inch. The best advice anyone has been able to give me is to buy a "budget" laptop, or an older model, perhaps used. The older Apple PowerPC laptops are the closest to what I want. What I want to do with this "big netbook" is to troll community websites while hanging out at cafes, as well as working on my own websites, which are predominantly text - lots of essays and articles. I used to have a twelve inch Apple iBook, and it did work for me, but I now vastly prefer my fifteen inch MacBook Pro. The problem with the MacBook Pro is that it is a very expensive unit, it is the main source of my livelihood, and I fear it being damaged or stolen if I use it to troll all those community websites using the WiFi at Starbucks. So what I want is a second notebook just for cafe use, so I can leave my MacBook Pro at home. This "big netbook" needs to be inexpensive enough that it wouldn't be that big a deal if it were stolen, or seriously damaged. Just viewing web pages or writing in a text editor shouldn't require a lot of CPU power or memory. It wouldn't need CD/DVD or floppy drives. It wouldn't need Bluetooth, just 802.11 networking. It wouldn't need a webcam built into the lid. It wouldn't need a very big hard drive. Because the electronics would be low-power, it wouldn't need a fan. An Atom or ARM processor would be just fine for such a unit. If it were running FreeBSD or Linux, I expect that 512 MB would be *far* more than enough memory. I'm pretty sure that if someone were to actually produce such a "big netbook", there would be lots more potential customers than just myself. I have actually considered purchasing one of the netbooks of today, but after looking them over, I have to say that their tiny screens would be very disruptive to my writing Muse. Thank You All For Humouring Me On This. Mike -- Michael David Crawford mdc@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 18:15:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A275106566C for ; Thu, 10 Sep 2009 18:15:19 +0000 (UTC) (envelope-from afmcc@btinternet.com) Received: from smtp825.mail.ird.yahoo.com (smtp825.mail.ird.yahoo.com [217.146.188.235]) by mx1.freebsd.org (Postfix) with SMTP id 944588FC16 for ; Thu, 10 Sep 2009 18:15:18 +0000 (UTC) Received: (qmail 87223 invoked from network); 10 Sep 2009 18:15:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=WmmJLGXZobcMmSF6304sQOtfL2NvhLRh5k8KDg67R4y04uuqUaqNanBhTape7nNY2bWTJqK68Gu+KAHTvdFPDBcdmw01+CuTeaBdbeFTo3Tft7Y1EdwyAqhM4YjhCwVcz27ltRKOaO2oXVvENaiunteGzVsiYSNpiBVFLy1VFcQ= ; Received: from unknown (HELO elena) (afmcc@81.151.54.225 with login) by smtp825.mail.ird.yahoo.com with SMTP; 10 Sep 2009 18:15:17 -0000 X-Yahoo-SMTP: SW2apSyswBAt0gNRBekT9336f.by6cx.6GfQeJfVJ_9U X-YMail-OSG: .rS76HoVM1kQ.iRLvrYA2SGIkyO8xGvwYdHIk2EKvklWUgXKXnZdCsf5q3U0C0bGfuLuyFzUOywsQx5rxZMO0lN5KUJhlYp4u6.dT6kJ9rbZMPgiPLGv1J0c5Bxurmbez0eNB1q2LQPdKSRY7mDvCnjDly9pHywtf78pQWf4mU36i.kO7c7VSK7QsjnbAZKuFq.xoIq.YH3bmVFK4D.5wQP8HhoWtUiQ9vUYk7x3CVra4Lt8FPKeOFRPvqidr4Ov.rNdkQ-- X-Yahoo-Newman-Property: ymail-3 Date: Thu, 10 Sep 2009 19:15:18 +0100 From: Tony McC To: FreeBSD Mailing List Message-ID: <20090910191518.2e681b82@elena> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: DVD drive not detected X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 18:15:19 -0000 Hello, I am currently using 8.0-BETA4 amd64 and I noticed yesterday that my PC's internal DVD reader/writer is not detected at boot time. I'm not sure whether or not this was the case with BETA3 since I don't use the drive all that often. It was certainly working ok with 7.2-STABLE though. I have copied and pasted the messages from dmesg.boot below, in case that is of help in diagnosing the problem. If I remember correctly, it used to appear as /dev/acd0. Thanks in advance for any suggestions. Tony dmesg.boot ---------- Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-BETA4 #11: Wed Sep 9 10:55:38 BST 2009 root@elena.home:/usr/obj/usr/src/sys/ELENA Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (3000.00-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 Features=0xbfebfbff Features2=0x408e3fd AMD Features=0x20000800 AMD Features2=0x1 TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 4112650240 (3922 MB) ACPI APIC Table: <071508 APIC1340> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <071508 RSDT1340> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, cff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 1.0 (no driver attached) pci0: at device 1.1 (no driver attached) pci0: at device 1.2 (no driver attached) pci0: at device 1.3 (no driver attached) pci0: at device 1.4 (no driver attached) pci0: at device 1.5 (no driver attached) pci0: at device 1.6 (no driver attached) pci0: at device 2.0 (no driver attached) isab0: port 0x4f00-0x4fff at device 3.0 on pci0 isa0: on isab0 pci0: at device 3.1 (no driver attached) pci0: at device 3.2 (no driver attached) pci0: at device 3.3 (no driver attached) pci0: at device 3.4 (no driver attached) ohci0: mem 0xf9f7f000-0xf9f7ffff irq 22 at device 4.0 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 ehci0: mem 0xf9f7ec00-0xf9f7ecff irq 23 at device 4.1 on pci0 ehci0: [ITHREAD] usbus1: EHCI version 1.0 usbus1: on ehci0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 8.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] hdac0: mem 0xf9f78000-0xf9f7bfff irq 20 at device 9.0 on pci0 hdac0: HDA Driver Revision: 20090624_0136 hdac0: [ITHREAD] pcib1: at device 10.0 on pci0 pci1: on pcib1 pcib2: at device 11.0 on pci0 pci2: on pcib2 vgapci0: port 0xec00-0xec7f mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfa000000-0xfbffffff irq 16 at device 0.0 on pci2 pcib3: at device 12.0 on pci0 pci3: on pcib3 pcib4: at device 13.0 on pci0 pci4: on pcib4 atapci1: port 0xd480-0xd487,0xd400-0xd403,0xd080-0xd087,0xd000-0xd003,0xcc00-0xcc0f mem 0xf9f7c000-0xf9f7dfff irq 21 at device 14.0 on pci0 atapci1: [ITHREAD] atapci1: AHCI v1.10 controller with 4 3Gbps ports, PM supported ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] ata5: on atapci1 ata5: [ITHREAD] nfe0: port 0xc880-0xc887 mem 0xf9f77000-0xf9f77fff,0xf9f7e800-0xf9f7e8ff,0xf9f7e400-0xf9f7e40f irq 22 at device 15.0 on pci0 miibus0: on nfe0 rlphy0: PHY 1 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto nfe0: Ethernet address: 00:24:21:1d:e3:e3 nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] acpi_button0: on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] atrtc0: port 0x70-0x71 irq 8 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model MouseMan+, device ID 0 cpu0: on acpi0 ACPI Warning: Incorrect checksum in table [OEMB] - BC, should be BB 20090521 tbutils-275 coretemp0: on cpu0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 coretemp1: on cpu1 est1: on cpu1 p4tcc1: on cpu1 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 ad4: 476940MB at ata2-master SATA300 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ad6: 476940MB at ata3-master SATA300 uhub0: 8 ports with 8 removable, self powered hdac0: HDA Codec #0: Realtek ALC888 pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 0 nid 1 on hdac0 pcm2: at cad 0 nid 1 on hdac0 SMP: AP CPU #1 Launched! Root mount waiting for: usbus1 Root mount waiting for: usbus1 Root mount waiting for: usbus1 uhub1: 8 ports with 8 removable, self powered Root mount waiting for: usbus1 ugen0.2: at usbus0 ulpt0: on usbus0 ulpt0: using bi-directional mode ugen1.2: at usbus1 umass0: on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x0000 Root mount waiting for: usbus1 umass0:3:0:-1: Attached to scbus3 Root mount waiting for: usbus1 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-4 device da0: 40.000MB/s transfers da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C) Trying to mount root from ufs:/dev/ad6s1a WARNING: / was not properly dismounted ugen0.3: at usbus0 WARNING: /home was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 18:16:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1BCE1065692 for ; Thu, 10 Sep 2009 18:16:33 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 8E64F8FC19 for ; Thu, 10 Sep 2009 18:16:33 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n8AHwt48027676; Thu, 10 Sep 2009 13:58:55 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n8AHwtPI027675; Thu, 10 Sep 2009 13:58:55 -0400 (EDT) (envelope-from jerrymc) Date: Thu, 10 Sep 2009 13:58:55 -0400 From: Jerry McAllister To: Michael David Crawford Message-ID: <20090910175854.GA27659@gizmo.acns.msu.edu> References: <20090909210833.GA23467@thought.org> <20090910102925.1ea9ffd3.freebsd@edvax.de> <20090910165129.GA20641@kokopelli.hydra> <4AA93D6A.2050704@prgmr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AA93D6A.2050704@prgmr.com> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Mailing List Subject: Re: What I'd Like To See In A Netbook X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 18:16:34 -0000 On Thu, Sep 10, 2009 at 10:54:50AM -0700, Michael David Crawford wrote: > Just in case there are any netbook manufacturers listening in, or > employees of such manufacturers: > > What I'd really like to see is a netbook with a regular size screen. > I've been shopping around some, and have so far been unable to find what > I desire. > > What I mean by that is that I want a notebook with a low-power, > inexpensive processor and modest memory. That will work fine if one > runs an operating system such as FreeBSD. > > But I want at least a fourteen inch screen, preferably fifteen inch. That ain't a netbook. That is a fullsize laptop. ////jerry > > The best advice anyone has been able to give me is to buy a "budget" > laptop, or an older model, perhaps used. The older Apple PowerPC > laptops are the closest to what I want. > > What I want to do with this "big netbook" is to troll community websites > while hanging out at cafes, as well as working on my own websites, > which are predominantly text - lots of essays and articles. > > I used to have a twelve inch Apple iBook, and it did work for me, but I > now vastly prefer my fifteen inch MacBook Pro. The problem with the > MacBook Pro is that it is a very expensive unit, it is the main source > of my livelihood, and I fear it being damaged or stolen if I use it to > troll all those community websites using the WiFi at Starbucks. > > So what I want is a second notebook just for cafe use, so I can leave my > MacBook Pro at home. This "big netbook" needs to be inexpensive enough > that it wouldn't be that big a deal if it were stolen, or seriously damaged. > > Just viewing web pages or writing in a text editor shouldn't require a > lot of CPU power or memory. It wouldn't need CD/DVD or floppy drives. > It wouldn't need Bluetooth, just 802.11 networking. It wouldn't need a > webcam built into the lid. It wouldn't need a very big hard drive. > Because the electronics would be low-power, it wouldn't need a fan. > > An Atom or ARM processor would be just fine for such a unit. If it were > running FreeBSD or Linux, I expect that 512 MB would be *far* more than > enough memory. > > I'm pretty sure that if someone were to actually produce such a "big > netbook", there would be lots more potential customers than just myself. > I have actually considered purchasing one of the netbooks of today, > but after looking them over, I have to say that their tiny screens would > be very disruptive to my writing Muse. > > Thank You All For Humouring Me On This. > > Mike > -- > Michael David Crawford > mdc@prgmr.com > > prgmr.com - We Don't Assume You Are Stupid. > > Xen-Powered Virtual Private Servers: http://prgmr.com/xen > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 18:34:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EFEF106566B for ; Thu, 10 Sep 2009 18:34:46 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 275DA8FC27 for ; Thu, 10 Sep 2009 18:34:46 +0000 (UTC) Received: (qmail 11531 invoked from network); 10 Sep 2009 18:34:45 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 10 Sep 2009 18:34:45 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id B8EF350868; Thu, 10 Sep 2009 14:34:44 -0400 (EDT) From: Lowell Gilbert To: Michael David Crawford References: <20090909210833.GA23467@thought.org> <20090910102925.1ea9ffd3.freebsd@edvax.de> <20090910165129.GA20641@kokopelli.hydra> <4AA93D6A.2050704@prgmr.com> Date: Thu, 10 Sep 2009 14:34:44 -0400 In-Reply-To: <4AA93D6A.2050704@prgmr.com> (Michael David Crawford's message of "Thu, 10 Sep 2009 10:54:50 -0700") Message-ID: <44ab12mywr.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Mailing List Subject: Re: What I'd Like To See In A Netbook X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Mailing List List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 18:34:46 -0000 Michael David Crawford writes: > Just in case there are any netbook manufacturers listening in, or > employees of such manufacturers: > > What I'd really like to see is a netbook with a regular size > screen. I've been shopping around some, and have so far been unable to > find what I desire. > > What I mean by that is that I want a notebook with a low-power, > inexpensive processor and modest memory. That will work fine if one > runs an operating system such as FreeBSD. > > But I want at least a fourteen inch screen, preferably fifteen inch. You're not likely to see anything like that until something new happens in display technology. The screen, small as it is, is already most of the parts cost of those netbook units, so putting a big screen on one would make it as expensive as a low-end "real" notebook. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 21:14:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AF6A1065692 for ; Thu, 10 Sep 2009 21:14:56 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 576A48FC19 for ; Thu, 10 Sep 2009 21:14:56 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Mlqyl-0003x3-Lp for freebsd-questions@freebsd.org; Thu, 10 Sep 2009 14:14:55 -0700 Message-ID: <25391151.post@talk.nabble.com> Date: Thu, 10 Sep 2009 14:14:55 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com Subject: Upgrading 6.0 to 6.x... without /var X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 21:14:56 -0000 I have a 6.0 installation without a /var slice. Instead I have a soft link of /usr/var to a /var@ file. Now I am attempting an upgrade to 6.4 and getting an error condition. I am using Disk 1 of the 6.4 distro >> Upgrade [Upgrade an existing system] >> All [All system sources. binaries and X-Windows System] >> added Ports and mount points. System goes through its fsck-ffs -y routines on /mnt/dev/* devices. =>> Error Messages [i] "Error mounting /mnt/dev ad0as1e on /mnt/usr : Input/output error" [ii] "Error mounting /mnt/dev ad0as1f on /mnt/usr : Input/output error" Then tries to a form a holographic shell asks for directory to save current /etc?, prompts with /var/tmp/etc, I changed it to "/usr/tmp2/etc" => "Unable to backup your /etc int /usr/tmp2/etc. Do you want to continue anyway?" Opt'd out w/ a No! selection. Could this problem result from the absence of a /var partition ? Is there an alt. Strategy for a 6.0 =>6.4 upgrade, while maintaining all the previous custom and configuration files? -- View this message in context: http://www.nabble.com/Upgrading-6.0-to-6.x...-without--var-tp25391151p25391151.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 21:50:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F6841065672 for ; Thu, 10 Sep 2009 21:50:30 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id F37A98FC13 for ; Thu, 10 Sep 2009 21:50:29 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n8ALnTEm022830; Thu, 10 Sep 2009 14:49:29 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 10 Sep 2009 14:50:20 -0700 (PDT) Date: Thu, 10 Sep 2009 14:50:20 -0700 From: Gary Kline To: Polytropon Message-ID: <20090910215020.GA27299@thought.org> References: <20090909210833.GA23467@thought.org> <20090910102925.1ea9ffd3.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090910102925.1ea9ffd3.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: are there any notebooks with mouse-sticks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 21:50:30 -0000 On Thu, Sep 10, 2009 at 10:29:25AM +0200, Polytropon wrote: > On Wed, 9 Sep 2009 14:08:36 -0700, Gary Kline wrote: > > > > I'm looking for a small computer, 7-10" screen that has a ThinkPad-like stick > > to act as the mouse. > > This "stick" is called a TrackPoint, as far as I remember. It has been > common in portable computers built by IB and Toshiba. > i think you're right. ibm came up with some advertising name that fit. better than "clit" , :-), lol, ..... LOL. yes, i do laugh at my own jokes now and then. > > > > Pref'ly, no touch-pad. > > Sadly, you will find mostly that (crap) in "modern" devices... > it's on my wife's new dell laptop. last time i tried to use it i couldn't get the hang of it. at any rate, it is in the way of where my hand would be. ---this, fwiw, is why i bought the last thinkpad, 3.0GHZ with just the trackpoint and the three horizontal bars. those work. well, for me. ... > > > > The ASUS and just about every other > > notebook-size device has this kind of scratch-n-sniff pad; [...] > > Nice name. Other names: Fingerprint sensor and coffee cup warmer. :-) > :-) damn small coffee cup, eh? > > > > Any clues? > > Look for IBM / Lenovo, maybe they still employ this fantastic and > easy to use pointing device. Allthough it would completely make sense > to use a Trackpoint for netbook class computers (litte real estate > consumption, minimal moving from "hand in typing position" to "hand > in pointing position"), it seems that the worst solution always > prevails. I haven't seen Trackpoints on "modern" stuff yet, and I'm > quite about thinking that it doesn't exist anymore. > i thought i saw the red bottom [top] of the trackpoint in the newer thinkpads. the chinese probably went with the deafault [t'pad]. but the pointer dev would take up the least realestate. and especially on the notebook-sized laptops that would seem significant. oh::: how about the $100 laptops for kids? what was it? one-laptop-per-child? did ``the market'' force them to go belly-up? i'll google around and see if they got skrewd. gary > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 23:07:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE50B1065693 for ; Thu, 10 Sep 2009 23:07:10 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 5C5428FC22 for ; Thu, 10 Sep 2009 23:07:10 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n8AN6Daj023380 for ; Thu, 10 Sep 2009 16:06:14 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 10 Sep 2009 16:07:04 -0700 (PDT) Date: Thu, 10 Sep 2009 16:07:04 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20090910230704.GB27299@thought.org> References: <20090909210833.GA23467@thought.org> <20090910102925.1ea9ffd3.freebsd@edvax.de> <20090910165129.GA20641@kokopelli.hydra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090910165129.GA20641@kokopelli.hydra> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Subject: Re: are there any notebooks with mouse-sticks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 23:07:11 -0000 On Thu, Sep 10, 2009 at 10:51:29AM -0600, Chad Perrin wrote: > On Thu, Sep 10, 2009 at 10:29:25AM +0200, Polytropon wrote: > > On Wed, 9 Sep 2009 14:08:36 -0700, Gary Kline wrote: > > > > > > I'm looking for a small computer, 7-10" screen that has a ThinkPad-like stick > > > to act as the mouse. > > > > This "stick" is called a TrackPoint, as far as I remember. It has been > > common in portable computers built by IB and Toshiba. > > I assume that IB was meant to be IBM. Lenovo bought IBM's PC division a > few years ago, and now produces ThinkPads -- which come with trackpoints. > super! > > > > > > Pref'ly, no touch-pad. > > > > Sadly, you will find mostly that (crap) in "modern" devices... > > I just turn off the touchpad in my ThinkPad's BIOS/CMOS settings. That's > pretty much the *first* thing I do with a new ThinkPad, before I even > install a halfway decent operating system on it. I have a tendency to > accidentaly move the mouse around while typing, otherwise. > BIOS. That's what i couldn't remember. so you still *can* toggle the laptop pointer on/off. in my long-defunt 600E i could plug in an external mouse and off the t'point. good to know you can turn off the pad and still use the other pointing device. :-D > > > > > > The ASUS and just about every other > > > notebook-size device has this kind of scratch-n-sniff pad; [...] > > > > Nice name. Other names: Fingerprint sensor and coffee cup warmer. :-) > > Yeah . . . how warm the touchpad gets is a pretty good heuristic measure > of how hot the laptop is running, at least on my ThinkPad. > > > > > > > Any clues? > > > > Look for IBM / Lenovo, maybe they still employ this fantastic and > > easy to use pointing device. Allthough it would completely make sense > > to use a Trackpoint for netbook class computers (litte real estate > > consumption, minimal moving from "hand in typing position" to "hand > > in pointing position"), it seems that the worst solution always > > prevails. I haven't seen Trackpoints on "modern" stuff yet, and I'm > > quite about thinking that it doesn't exist anymore. > > Unfortunately, the OP was asking about netbook-sized computers, and last > I checked the only netbooks offered by Lenovo are IdeaPads -- which are > exactly like ThinkPads, except the construction is a little cheaper and > the pointing device is always a touchpad. hm. if i can go into the bios of this ideapad and disable the t'pad; then use a wireless mouse, that would work. my plans are to build a text-to-speech computer. kde has a bunch of tools that are very useable. vi has -- or used to have -- the ability to store abbrv that would expand as typed. you type "tht"; vi outputs "that" gary > > Otherwise, however, I second the motion: ThinkPads are generally held to > a higher standard of quality than the rest of the laptops in the PC > world, tend to be well-supported by open source operating systems, and > come with trackpoints. > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > Quoth Philip Machanick: "caution: if you write code like this, > immediately after you are fired the person assigned to maintaining your > code after you leave will resign" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 23:21:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1D67106568F for ; Thu, 10 Sep 2009 23:21:42 +0000 (UTC) (envelope-from a_romolo@hotmail.com) Received: from snt0-omc4-s16.snt0.hotmail.com (snt0-omc4-s16.snt0.hotmail.com [65.55.90.219]) by mx1.freebsd.org (Postfix) with ESMTP id 97F878FC2C for ; Thu, 10 Sep 2009 23:21:42 +0000 (UTC) Received: from SNT114-W46 ([65.55.90.199]) by snt0-omc4-s16.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 10 Sep 2009 16:09:41 -0700 Message-ID: X-Originating-IP: [189.119.217.233] From: Rom Albuquerque To: Date: Thu, 10 Sep 2009 23:09:41 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 10 Sep 2009 23:09:41.0593 (UTC) FILETIME=[C70DA490:01CA326B] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problem installing FreeBSD 7.1 RELEASE. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 23:21:42 -0000 =20 Hi. I'm having trouble installing 7.1 release.=20 The details of my system :=20 Motherboard : EliteGroup (A740GM-M) RAM : 3G DDR2 800Mhz CPU : AMD Athlon 64 x2 Dual Core processor Disk : WD 500GB SATA=20 DVD : Samsung DVD/Writer "Super Write Master" Primary OS : Windows XP sp3 I'll list the problems and the attempts I've tried to get around them.=20 Problem #1 The CD/DVD drive can not be mounted by sysinstall.=20 =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 I have a SAMSUNG DVD writer drive attached to my ATAPI IDE interface.=20 I have a WD 500GB SATA Drive attached to my SATA interface.=20 The system boots off the CD=2C runs sysintall.=20 I'm able to allocate storage for the FREEBSD partition and then create the= =20 individual slices for the default file systems. (/=2C swap=2C /var=2C /tmp= =2C /usr) When choosing the instalation media as CD/DVD=2C an error message saying th= at the=20 CD/DVD drive was not found pops up.=20 I've tried every option on the boot program=2C they all fail to load the CD= /DVD drive and can't proceed with the instalation.=20 I've tried changing the DVD drive to a nother CD/RW drive attached to the s= ame ATAPI controller=2C the problem persist as before=2C no change.=20 This leads me to my next attempt to install the system from a disk PARTITIO= N.=20 Problem #2 Unable to mount the disk partiton at the time of install. =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 Ok=2C I've created a new extended partition with Partition Magic to hold th= e contents of the install CD.=20 This new partition sits third on the list as follows :=20 a) NTFS partition with my XP installation b) FreeBSD partiton where the system will be installed. c) The new FAT partiton where the contents of the FREEBSD cd is copied int= o the=20 directory named E:\FREEBSD. I've copied the entire CD to this new partition.=20 Back to sysinstall=2C when choosing the new instalation media "Install from= DOS partition" I get an error message saying "Unable to mount /dev/ad8s3 to /dist"=2C and = the problem of not finding the DOS partition where the contents of the FREEBSD cd were = copied to continues=2C keeping me from progressing with the install.=20 The next attempt was trying to install from a filesystem.=20 When selecting this option=2C a dialog "from sysinstall" pops up asking to = list the=20 complete path name of where the FREEBSD files were copied to this disk part= ition.=20 I enter /dev/ad8s3:/FREEBSD and an error message saying that "it can not fi= nd the=20 disk partition" comes up keeping me from progressing with the install.=20 I've looked at the FreeBSD handbook online=2C but could not find further de= tails about=20 installing the system from a disk partition. Any pointers as to what proper measures to take to try to get past this pro= blem. ?=20 Can someone suggest some other way to get the system installed. ?=20 Oh=2C I've also tried PC-BSD=2C but that stops right away with an error mes= sage of=20 "Error loading image" since it can not find the CD/DVD drive again.=20 I'll appreciated if you can provide further details of how to proceed=2C po= int me to the direction where I can get more details.=20 Your response is greatly appreciated.=20 --Rom a_romolo@hotmail.com _________________________________________________________________ Windows Live: Keep your friends up to date with what you do online. http://windowslive.com/Campaign/SocialNetworking?ocid=3DPID23285::T:WLMTAGL= :ON:WL:en-US:SI_SB_online:082009= From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 23:32:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25CCA1065679 for ; Thu, 10 Sep 2009 23:32:00 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-15.bluehost.com (outbound-mail-15.bluehost.com [69.89.18.115]) by mx1.freebsd.org (Postfix) with SMTP id EB2968FC13 for ; Thu, 10 Sep 2009 23:31:59 +0000 (UTC) Received: (qmail 3990 invoked by uid 0); 10 Sep 2009 23:31:59 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy1.bluehost.com with SMTP; 10 Sep 2009 23:31:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=XKjmX71lOZp38R9evROpsh970WL9RkCfLagC2P4ga2zpq+xefeJix31aTouLxr2HbWBjADTWwhGQCNdXKpcOmaKTZsJuH4AqPbwK2NMk534YSvhid2eB47KFWEXPIq10; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Mlt7P-0005TF-1l for freebsd-questions@freebsd.org; Thu, 10 Sep 2009 17:31:59 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Thu, 10 Sep 2009 17:31:57 -0600 Date: Thu, 10 Sep 2009 17:31:57 -0600 From: Chad Perrin To: FreeBSD Mailing List Message-ID: <20090910233157.GB21716@kokopelli.hydra> Mail-Followup-To: FreeBSD Mailing List References: <20090909210833.GA23467@thought.org> <20090910102925.1ea9ffd3.freebsd@edvax.de> <20090910165129.GA20641@kokopelli.hydra> <20090910230704.GB27299@thought.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline In-Reply-To: <20090910230704.GB27299@thought.org> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: are there any notebooks with mouse-sticks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 23:32:00 -0000 --BwCQnh7xodEAoBMC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 10, 2009 at 04:07:04PM -0700, Gary Kline wrote: > On Thu, Sep 10, 2009 at 10:51:29AM -0600, Chad Perrin wrote: > >=20 > > I just turn off the touchpad in my ThinkPad's BIOS/CMOS settings. That= 's > > pretty much the *first* thing I do with a new ThinkPad, before I even > > install a halfway decent operating system on it. I have a tendency to > > accidentaly move the mouse around while typing, otherwise. > >=20 >=20 >=20 > BIOS. That's what i couldn't remember. so you still *can* > toggle the laptop pointer on/off. in my long-defunt 600E=20 > i could plug in an external mouse and off the t'point. good to > know you can turn off the pad and still use the other pointing=20 > device. =20 Yes, you can -- otherwise, I'd be highly irritated with laptops in general. > >=20 > > Unfortunately, the OP was asking about netbook-sized computers, and last > > I checked the only netbooks offered by Lenovo are IdeaPads -- which are > > exactly like ThinkPads, except the construction is a little cheaper and > > the pointing device is always a touchpad. >=20 >=20 > hm. if i can go into the bios of this ideapad and disable the > t'pad; then use a wireless mouse, that would work. my plans are > to build a text-to-speech computer. kde has a bunch of tools > that are very useable. vi has -- or used to have -- the ability=20 > to store abbrv that would expand as typed. you type "tht"; vi=20 > outputs "that" I hope that works out for you, then. It wouldn't really work for me, since I want a trackpoint -- which is why I haven't gotten a Lenovo laptop with an NVIDIA adapter (since they tend to only put those in IdeaPads, and not ThinkPads, which are left with ATI graphics adapters instead). =2E . . and yes, you can still do that with vi (and Vim). --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Philip Machanick: "caution: if you write code like this, immediately after you are fired the person assigned to maintaining your code after you leave will resign" --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkqpjG0ACgkQ9mn/Pj01uKW6lACfZxBry4rPRdtZim+2pvOLd8Tr i1kAoKGnKooq2Xwd3PY8/q18GaEPL6Gt =QnBY -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC-- From owner-freebsd-questions@FreeBSD.ORG Thu Sep 10 23:58:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F218106566B for ; Thu, 10 Sep 2009 23:58:06 +0000 (UTC) (envelope-from sektie@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 98C358FC0C for ; Thu, 10 Sep 2009 23:58:05 +0000 (UTC) Received: by ewy4 with SMTP id 4so639499ewy.36 for ; Thu, 10 Sep 2009 16:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=lsjLG/nyVwdrg3Y9QDvGWDVDC7PM6jOmugoWwACH+Jw=; b=vrmysJXmJYNUGDLqidKMjs5V7QwCv7mKesigEsjRL/G0FFBgc/CNeG5Bn4lpeDWzAk 9Ik0YKc+dc598yzwY/icTvYBPhHmmkic7zJGEYD2gb9exGo+ypgXeVpOShcUO5unlqXQ JzzowAvI/GYQcdPURfGpvTip7Mn3fvpGckeOU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=KUeWtvTyZq/2EBD2EznFQ3RjLyM0oHp/SSMbPhimVC6ALdr9kuB+5od+6GpVYAS9hk wYLXssynst7oRhFadFNt+/xN1MVHLSMhkj+6dxBlXr4BPpP2zW0qvcEjgnQygnPvJXax CuIhZSW9qu+JMdryA5OiXiGigsH7tH3pQy2MI= MIME-Version: 1.0 Sender: sektie@gmail.com Received: by 10.210.223.13 with SMTP id v13mr2455651ebg.72.1252627084543; Thu, 10 Sep 2009 16:58:04 -0700 (PDT) In-Reply-To: References: Date: Thu, 10 Sep 2009 16:58:04 -0700 X-Google-Sender-Auth: 2131bc6134849555 Message-ID: From: Randi Harper To: Rom Albuquerque Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Problem installing FreeBSD 7.1 RELEASE. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 23:58:06 -0000 On Thu, Sep 10, 2009 at 4:09 PM, Rom Albuquerque wrote: > > > > > Hi. I'm having trouble installing 7.1 release. > > The details of my system : > > Motherboard : EliteGroup (A740GM-M) > RAM : 3G DDR2 800Mhz > CPU : AMD Athlon 64 x2 Dual Core processor > Disk : WD 500GB SATA > DVD : Samsung DVD/Writer "Super Write Master" > Primary OS : Windows XP sp3 > > > I'll list the problems and the attempts I've tried to get around them. > > > Problem #1 > > The CD/DVD drive can not be mounted by sysinstall. > =================================================== > > I have a SAMSUNG DVD writer drive attached to my ATAPI IDE interface. > I have a WD 500GB SATA Drive attached to my SATA interface. > > The system boots off the CD, runs sysintall. > > I'm able to allocate storage for the FREEBSD partition and then create the > individual slices for the default file systems. (/, swap, /var, /tmp, /usr) > > When choosing the instalation media as CD/DVD, an error message saying that > the > CD/DVD drive was not found pops up. > > I've tried every option on the boot program, they all fail to load the > CD/DVD drive > and can't proceed with the instalation. > > I've tried changing the DVD drive to a nother CD/RW drive attached to the > same ATAPI > controller, the problem persist as before, no change. > > > This leads me to my next attempt to install the system from a disk > PARTITION. > > Problem #2 > > Unable to mount the disk partiton at the time of install. > ========================================================= > > Ok, I've created a new extended partition with Partition Magic to hold the > contents > of the install CD. > > This new partition sits third on the list as follows : > > a) NTFS partition with my XP installation > b) FreeBSD partiton where the system will be installed. > c) The new FAT partiton where the contents of the FREEBSD cd is copied > into the > directory named E:\FREEBSD. > > I've copied the entire CD to this new partition. > > Back to sysinstall, when choosing the new instalation media "Install from > DOS partition" > > I get an error message saying "Unable to mount /dev/ad8s3 to /dist", and > the problem > of not finding the DOS partition where the contents of the FREEBSD cd were > copied to > continues, keeping me from progressing with the install. > > The next attempt was trying to install from a filesystem. > > When selecting this option, a dialog "from sysinstall" pops up asking to > list the > complete path name of where the FREEBSD files were copied to this disk > partition. > > I enter /dev/ad8s3:/FREEBSD and an error message saying that "it can not > find the > disk partition" comes up keeping me from progressing with the install. > > I've looked at the FreeBSD handbook online, but could not find further > details about > installing the system from a disk partition. > > > Any pointers as to what proper measures to take to try to get past this > problem. ? > > Can someone suggest some other way to get the system installed. ? > > Oh, I've also tried PC-BSD, but that stops right away with an error message > of > "Error loading image" since it can not find the CD/DVD drive again. > > > I'll appreciated if you can provide further details of how to proceed, > point me to the > direction where I can get more details. > > Your response is greatly appreciated. > > > > > --Rom > > a_romolo@hotmail.com > > > > _________________________________________________________________ > Windows Live: Keep your friends up to date with what you do online. > > http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_online:082009_______________________________________________ > freebsd-questions@freebsd.orgmailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > When the installation CD is booting, can you see if your CDROM drive is being detected as acd0? Another option might be to try installing from USB. Go into the options menu, enable debugging, and try the install again - either from the CDROM drive or the DOS partition. Switch to the next terminal over, and you should see some more verbose output as to what's going wrong. -- randi From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 02:59:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 659AA106566B for ; Fri, 11 Sep 2009 02:59:06 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw30.mailanyone.net (smtp-gw30.mailanyone.net [208.70.128.56]) by mx1.freebsd.org (Postfix) with ESMTP id 465268FC19 for ; Fri, 11 Sep 2009 02:59:05 +0000 (UTC) Received: from mailanyone.net by smtp-gw30.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1MlwLl-0004XB-GL for freebsd-questions@freebsd.org; Thu, 10 Sep 2009 21:59:02 -0500 Message-ID: <4AA9BCF0.6040003@identry.com> Date: Thu, 10 Sep 2009 22:58:56 -0400 From: John Almberg User-Agent: Postbox 1.0.0 (Macintosh/2009090801) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 02:59:06 -0000 My Apache 2.2 instances are running about 18 Meg each. I've been thinking about doing something to trim these down, and I think tomorrow is the day to take action. They are getting out of hand. I've done a bit of research on this. I think the way to get started is to eliminate unused modules. Problem is, I know which ones I need, since I purposefully added them. I *don't* know which ones I don't need, if you see what I mean, since I inherited them from the default configuration. I assume that some are critical to the basic operation of Apache. I am hoping I can google a list of these tomorrow. Obviously these I'll have to live with. But what about the set that is left after I remove the ones the system needs, and the ones I need? How do I know which ones I can safely turn off? All I can think of is a trial and error process (i.e., turn them off one by one and see if anything breaks.) Is there a better way? -- John From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 03:49:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A325106566B for ; Fri, 11 Sep 2009 03:49:17 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-151.bluehost.com (outbound-mail-151.bluehost.com [67.222.39.31]) by mx1.freebsd.org (Postfix) with SMTP id DFB6D8FC1E for ; Fri, 11 Sep 2009 03:49:16 +0000 (UTC) Received: (qmail 7465 invoked by uid 0); 11 Sep 2009 03:49:16 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy5.bluehost.com with SMTP; 11 Sep 2009 03:49:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:Mime-Version:Content-Type:Content-Disposition:User-Agent:X-Identified-User; b=NBqWjUJEUzPR3wkSzRo/dsv+xOZepAFEKjZlinv0d19kfkatt4E74UjT5lJjpPa5s+xHKvdKmlv71yzxr+SsKAetwszIDetKwwHaeInuBPkQlN04QBnEZ0iPMAtZ3ly+; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Mlx8M-00074a-Te for freebsd-questions@freebsd.org; Thu, 10 Sep 2009 21:49:15 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Thu, 10 Sep 2009 21:49:13 -0600 Date: Thu, 10 Sep 2009 21:49:13 -0600 From: Chad Perrin To: FreeBSD Questions Message-ID: <20090911034913.GA22437@kokopelli.hydra> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: linux-pango won't install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 03:49:17 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable For some reason, the x11-toolkits/linux-pango port won't install on my FreeBSD 7.2 system. When I try, I get the following: [Gathering depends for x11-toolkits/linux-pango .......................= ............................... done] ---> Installing 'linux-pango-1.10.2_3' from a port (x11-toolkits/linux= -pango) ---> Building '/usr/ports/x11-toolkits/linux-pango' =3D=3D=3D> Cleaning for linux-pango-1.10.2_3 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20= 090910-66072-gzj01-0 env make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! x11-toolkits/linux-pango (unknown build error) How can I fix this? My Google and FreeBSD documentation searches have proven fruitless. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Paul Graham: "SUVs are gross because they're the solution to a gross problem. (How to make minivans look more masculine.)" --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkqpyLkACgkQ9mn/Pj01uKWv2ACeLI+gKyfZRgHPWIFw/g6TdMTd lzIAoO5HgFiqc66FdJRTo0yx52hbhp2l =3pbO -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N-- From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 04:02:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48FB11065672 for ; Fri, 11 Sep 2009 04:02:23 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout015.mac.com (asmtpout015.mac.com [17.148.16.90]) by mx1.freebsd.org (Postfix) with ESMTP id 385FA8FC18 for ; Fri, 11 Sep 2009 04:02:22 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [17.151.91.194] by asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KPS00736GJW9E10@asmtp015.mac.com> for freebsd-questions@freebsd.org; Thu, 10 Sep 2009 21:02:22 -0700 (PDT) Message-id: <8B2B554B-AF9A-4389-A76E-151DF8943807@mac.com> From: Chuck Swiger To: John Almberg In-reply-to: <4AA9BCF0.6040003@identry.com> Date: Thu, 10 Sep 2009 21:02:18 -0700 References: <4AA9BCF0.6040003@identry.com> X-Mailer: Apple Mail (2.936) Cc: freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 04:02:23 -0000 On Sep 10, 2009, at 7:58 PM, John Almberg wrote: > My Apache 2.2 instances are running about 18 Meg each. I've been > thinking about doing something to trim these down, and I think > tomorrow is the day to take action. They are getting out of hand. > [ ... ] > But what about the set that is left after I remove the ones the > system needs, and the ones I need? How do I know which ones I can > safely turn off? All I can think of is a trial and error process > (i.e., turn them off one by one and see if anything breaks.) > > Is there a better way? Yes. Figure out which modules you actually need, and only enable those. What modules you are using should be reasonably clear from the access and error logs-- you should be able to see which URLs you are serving, and hence which modules were involved. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 04:40:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 474E21065693 for ; Fri, 11 Sep 2009 04:40:52 +0000 (UTC) (envelope-from linda.messerschmidt@gmail.com) Received: from mail-qy0-f200.google.com (mail-qy0-f200.google.com [209.85.221.200]) by mx1.freebsd.org (Postfix) with ESMTP id 02B708FC0C for ; Fri, 11 Sep 2009 04:40:51 +0000 (UTC) Received: by qyk38 with SMTP id 38so695240qyk.27 for ; Thu, 10 Sep 2009 21:40:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=gFLakFImT4bFkdkWZZxLB6BVUq94Fpm9zqvfq0eJ7V0=; b=pd20G1PBJFxdbLUgNNhvAdQrQdJGiH+f80dUnbdqQUKhbGng0QeiO+0lz5fJnFaJr9 Cdmlt0eROH//AJZ0+81SNNH2lJJnE0EBfCHPQmu+gFSVJIuKj4xooByF55w4rJQHh8NE PMnUidXdIHbnMVSf38moN5PAf/VCpcIgn5+5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fxKXfiA4F5VV16OwmobRzgR5wBRJGYmxq9I9ClVAn4qMrd+9BYkr4sgJxD9nEQNQI+ s+DP6PnEeqhl68SlJ9N2Cj57tCvjhgemQD4F+OsGUZq3tqco/k9EHdX/XB0Rx7SNCk7O nI+UclL+S3G0riTKjZTwyIChP4PDa0F/oCjL4= MIME-Version: 1.0 Received: by 10.229.10.13 with SMTP id n13mr1132207qcn.103.1252644048937; Thu, 10 Sep 2009 21:40:48 -0700 (PDT) In-Reply-To: <4AA9BCF0.6040003@identry.com> References: <4AA9BCF0.6040003@identry.com> Date: Fri, 11 Sep 2009 00:40:48 -0400 Message-ID: <237c27100909102140l6bdf3b4fm9078530495cc5b29@mail.gmail.com> From: Linda Messerschmidt To: John Almberg Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 04:40:52 -0000 On Thu, Sep 10, 2009 at 10:58 PM, John Almberg wrote: > I assume that some are critical to the basic operation of Apache. I am > hoping I can google a list of these tomorrow. Obviously these I'll have to > live with. This is a pretty short list, and Apache won't start without them. > All I can think of is a trial and error process (i.e., turn them off one by > one and see if anything breaks.) > > Is there a better way? Other than those core modules you mentioned above, one of the most distinguishing characteristics of modules is that they define config directives that you then use. I would recommend that you walk through your configs and determine which module each and every directive comes from. To a reasonable degree of accuracy, that will give you the list of modules that are really in use. Naturally you'll find some exception(s), but this will get you very close without a lot of trial-and-error downtime. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 05:03:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C4AF106568F for ; Fri, 11 Sep 2009 05:03:41 +0000 (UTC) (envelope-from alex@mailinglist.ahhyes.net) Received: from mail08.syd.optusnet.com.au (mail08.syd.optusnet.com.au [211.29.132.189]) by mx1.freebsd.org (Postfix) with ESMTP id E7CEB8FC16 for ; Fri, 11 Sep 2009 05:03:40 +0000 (UTC) Received: from [172.16.0.201] (c122-106-58-139.rivrw1.nsw.optusnet.com.au [122.106.58.139]) by mail08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n8B53bnh016702 for ; Fri, 11 Sep 2009 15:03:38 +1000 Message-ID: <4AA9DA28.6080301@mailinglist.ahhyes.net> Date: Fri, 11 Sep 2009 15:03:36 +1000 From: Alex R User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" References: <4AA86C90.7030908@mailinglist.ahhyes.net> In-Reply-To: <4AA86C90.7030908@mailinglist.ahhyes.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 7.2-RELEASE/amd64 - weird stuff in dmesg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 05:03:41 -0000 Any ideas??? Anyone?? Alex R wrote: > Hi everyone, > > I was wondering whether anyone could shed some light on the following > messages I am seeing in dmesg: > > -------------------- > > <<33>>aarrpp:: uunnkknnoowwnn hhaarrddwwaarree aaddddress format > (0x0000) > ress format (0x0000) > arp: unakrnpo:w nu nhkanrodwwna rhea raddwdarrees sa dfdorremsast > f(o0rxm0a0t0 0()0 > x > 0000) > aanrkpn:o wunn khnaorwdnw ahraer dawdadrree sasd dfroersmsa tf > o(r0mxat0 0(00x000)0 > 0 > ) > arp: unknown hardware address format (0xarp:0 7u0n0k)n > o > wn hardware address format (0x0700) > aarrpp:: uunnkknnoowwnn hhaarrddwwaarree aaddddrreessss > ffoorrmmaatt ((00xx00770000)) > > -------------------------- > > Any ideas whats with the jumbled/double letters? Is there something > wrong with the machine or is it a bug in the OS? I have seen similar > symptoms on SMP enabled boxes when shutting down if 2 processes call > kprintf() or printf() at the same time, it results in garbled output. > > Should i turn a blind eye to this? > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 06:34:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C55C9106566B for ; Fri, 11 Sep 2009 06:34:26 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by mx1.freebsd.org (Postfix) with ESMTP id 843868FC19 for ; Fri, 11 Sep 2009 06:34:26 +0000 (UTC) Received: by ywh9 with SMTP id 9so1201680ywh.32 for ; Thu, 10 Sep 2009 23:34:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=3Sh1+V1vVuiLfL6dJHeAQrmGpVZMZvozSGtYpBxxsrI=; b=SiWFYmj+Xh9S3UCXzhzVTXEH6INBpBEy1quw0LFF9mQ4IOFVyNM4B0N/X8nt16jbJM YFM6Sdcf79SK5CQQbkMWq0GyroK241Od0AGbHAoWOO3ZJuWkYcmlluIsb/d9739fvK0+ in/xPh1x1DbrBxk6ZQjPlfEtP6oBd6HC9HYvs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fSBqD/KRIPAto/VtMfVSEGpxhuOSBC9yASFb+beDO7a6ClDwD1sZukTrke73/DcWLZ aahkmqJh8jZHTTu95y9iRdKFoSxFUgjyoJZsG2+aG/XMrHda1OcIlRu9qa5dqptbADmE EshV4Ku1JvCjTijRqaFnzBVmIpG++NGeEcCes= MIME-Version: 1.0 Received: by 10.100.27.12 with SMTP id a12mr2720016ana.110.1252650865762; Thu, 10 Sep 2009 23:34:25 -0700 (PDT) Date: Fri, 11 Sep 2009 06:34:25 +0000 Message-ID: From: Eitan Adler To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Mouse fails with ACPI enabled 8-B4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 06:34:26 -0000 If I boot with ACPI enabled and then either start X or moused the mouse will appear to work for a few moments and then cease to proccess any input (as tested by moused verbose output, xev, and failure of the mouse to move). This happens on 8.0 BETA 4 If I boot without ACPI the mouse works. Any ideas on how to fix? From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 07:12:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CE791065670 for ; Fri, 11 Sep 2009 07:12:29 +0000 (UTC) (envelope-from gaz@gbmail.biz) Received: from mk-filter-4-a-1.mail.uk.tiscali.com (mk-filter-4-a-1.mail.uk.tiscali.com [212.74.100.55]) by mx1.freebsd.org (Postfix) with ESMTP id DFC2D8FC08 for ; Fri, 11 Sep 2009 07:12:28 +0000 (UTC) X-Trace: 256684113/mk-filter-4.mail.uk.tiscali.com/B2C/$b2c-TRUSTED/b2c-IMPLICITLY_TRUSTED/212.74.112.53/None/gaz@gbmail.biz X-SBRS: None X-RemoteIP: 212.74.112.53 X-IP-MAIL-FROM: gaz@gbmail.biz X-SMTP-AUTH: X-MUA: Thunderbird 2.0.0.22 (X11/20090608) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkkCANuNqUrUSnA1/2dsb2JhbAAIgh4wGQyXJ8JyhBgFhEQ X-IronPort-AV: E=Sophos;i="4.44,369,1249254000"; d="scan'208,217";a="256684113" Received: from e1-1.ns500-1.ts.milt.as9105.net (HELO [10.44.30.101]) ([212.74.112.53]) by smtp.tiscali.co.uk with ESMTP; 11 Sep 2009 07:43:01 +0100 Message-ID: <4AA9F174.3060607@gbmail.biz> Date: Fri, 11 Sep 2009 07:43:00 +0100 From: Gareth Brown User-Agent: Thunderbird 2.0.0.22 (X11/20090608) To: John Almberg References: <4AA9BCF0.6040003@identry.com> In-Reply-To: <4AA9BCF0.6040003@identry.com> Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 07:12:29 -0000 Here's a few you can disable: mod_status, mod_info (both give extra unnecessary info about server) and mod_include (allows include statements in html files). These aren't recommended anyway unless you really need them as they create some level of security concern. mod_userdir is only needed if you are allowing users to have webpages from home directories mod_ssl, only if you're going to use ssl mod_rewrite only if you will be rewriting webpage names to something else mod_auth_basic and mod_auth_digest only if you're going to add http authentication to any of your webpages John Almberg wrote: My Apache 2.2 instances are running about 18 Meg each. I've been thinking about doing something to trim these down, and I think tomorrow is the day to take action. They are getting out of hand. I've done a bit of research on this. I think the way to get started is to eliminate unused modules. Problem is, I know which ones I need, since I purposefully added them. I *don't* know which ones I don't need, if you see what I mean, since I inherited them from the default configuration. I assume that some are critical to the basic operation of Apache. I am hoping I can google a list of these tomorrow. Obviously these I'll have to live with. But what about the set that is left after I remove the ones the system needs, and the ones I need? How do I know which ones I can safely turn off? All I can think of is a trial and error process (i.e., turn them off one by one and see if anything breaks.) Is there a better way? -- John _______________________________________________ [1]freebsd-questions@freebsd.org mailing list [2]http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [3]"freebsd-questions-unsubscribe@freebsd.org" References 1. mailto:freebsd-questions@freebsd.org 2. http://lists.freebsd.org/mailman/listinfo/freebsd-questions 3. mailto:freebsd-questions-unsubscribe@freebsd.org From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 07:18:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71F1E106566C for ; Fri, 11 Sep 2009 07:18:05 +0000 (UTC) (envelope-from soman.abhijit@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id 289188FC0A for ; Fri, 11 Sep 2009 07:18:04 +0000 (UTC) Received: by vws27 with SMTP id 27so567296vws.3 for ; Fri, 11 Sep 2009 00:18:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=qINTpCpIMUney6g9aqwireqvCqqBQ56BGDh87UaLZ8k=; b=U+dW0Z5Rab78iHQ3Wdgaag1bb/2ZkHTNa6k7VrE+ZRylpoVR5NqL596Ki2mb5dvIFU Y80yoSlfmkhMgzhdpN7LJTUm8jBmBeLpjD6pYh8V++OWMn6BVgQ5bpDHzuNm+/PpMSGs dzlc099E1WGC9yodwZx/KjB5wbW9cZJ6gdcLs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KkRq07Hs8XHGP5atoL54f11FkcwJsFrK9HqBS10JoLGXSBSL8IQSX9Quab806ck3oK Wgh8N28Kyjh2SlufK4kvnNH1v3WrF5eTjJzEYJTfDXIwOIifgsXlMqss6ZfAWAerNzNG tGVuZODb93vSzbsMrzLZ2amswaQR22c8s27fk= MIME-Version: 1.0 Received: by 10.220.89.77 with SMTP id d13mr3046996vcm.91.1252652125358; Thu, 10 Sep 2009 23:55:25 -0700 (PDT) Date: Fri, 11 Sep 2009 12:25:25 +0530 Message-ID: From: Abhi To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD 7.x with Lenovo Thinkpad SL500 or T400 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 07:18:05 -0000 Hola, Has anybody tried FreeBSD 7.x on Lenovo Thinkpads SL500 or T400? Thanks, Abhijit -- (if hungry? (eat) (sleep)) From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 07:23:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F7371065679 for ; Fri, 11 Sep 2009 07:23:02 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from blade2-ext.obspm.fr (blade2-ext.obspm.fr [145.238.186.8]) by mx1.freebsd.org (Postfix) with ESMTP id 22C508FC24 for ; Fri, 11 Sep 2009 07:23:01 +0000 (UTC) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by blade2-ext.obspm.fr (8.13.8/8.13.8/SIO Observatoire de Paris - 15/11/07) with ESMTP id n8B7Mwii007077 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 11 Sep 2009 09:23:00 +0200 Date: Fri, 11 Sep 2009 09:22:58 +0200 From: Albert Shih To: Alex R Message-ID: <20090911072258.GA32289@obspm.fr> References: <4AA86C90.7030908@mailinglist.ahhyes.net> <4AA9DA28.6080301@mailinglist.ahhyes.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4AA9DA28.6080301@mailinglist.ahhyes.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (blade2-ext.obspm.fr [145.238.186.20]); Fri, 11 Sep 2009 09:23:00 +0200 (CEST) X-Virus-Scanned: clamav-milter 0.95.2 at blade2-ext.obspm.fr X-Virus-Status: Clean Cc: "freebsd-questions@freebsd.org" Subject: Re: 7.2-RELEASE/amd64 - weird stuff in dmesg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 07:23:02 -0000 Le 11/09/2009 à 15:03:36+1000, Alex R a écrit > Any ideas??? Anyone?? No. But I got this kind of message since 7.0. Do you have «no classic» network ? Regards. JAS -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: Ven 11 sep 2009 09:21:42 CEST From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 07:30:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 246F0106568D for ; Fri, 11 Sep 2009 07:30:25 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id D8D7E8FC14 for ; Fri, 11 Sep 2009 07:30:24 +0000 (UTC) Received: from current.Sisis.de (cazador.sisis.de [193.31.11.193]) by dd12710.kasserver.com (Postfix) with ESMTP id 0F0381845EE9E for ; Fri, 11 Sep 2009 09:30:25 +0200 (CEST) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id n8B7UR09002424 for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 09:30:27 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 11 Sep 2009 09:30:27 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20090911073027.GA2399@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Subject: FreeBSD commands... refcard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 07:30:25 -0000 Hello, In some Linux mailing list of Cuba I'm subscribed to, I just stumbled over this Debian GNU/Linux Reference Card: http://xinocat.com/refcard/ which is available in many languages. This would be very helpfull for my wife which 'must' ( :-)) run FreeBSD on her laptop. Is there something like this for FreeBSD, and even in Spanish? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 08:04:38 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 939AF106566B for ; Fri, 11 Sep 2009 08:04:38 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2390C8FC0A for ; Fri, 11 Sep 2009 08:04:37 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n8B84WQO083904; Fri, 11 Sep 2009 10:04:32 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n8B84VF4083902; Fri, 11 Sep 2009 10:04:31 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Fri, 11 Sep 2009 10:04:31 +0200 From: Ruben de Groot To: Arvin Zuberbuehler Message-ID: <20090911080431.GA83589@ei.bzerk.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Fri, 11 Sep 2009 10:04:36 +0200 (CEST) Cc: questions@freebsd.org Subject: Re: Sites using FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 08:04:38 -0000 On Thu, Sep 10, 2009 at 04:56:34PM +0200, Arvin Zuberbuehler typed: > Hi there, > > Is there a chance to get listed under "Sites using FreeBSD" > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/nutshell.html#INTRODUCTION-NUTSHELL-USERS? > Or are there any possibilities for advertisements on any pages of > http://www.freebsd.org/ > ? > > Please give me a short feedback. Try a donation: http://www.freebsdfoundation.org/donate/sponsors.shtml Ruben From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 08:12:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D64D2106566B for ; Fri, 11 Sep 2009 08:12:43 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4EE638FC15 for ; Fri, 11 Sep 2009 08:12:43 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n8B8Cd25084284; Fri, 11 Sep 2009 10:12:39 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n8B8CcpL084283; Fri, 11 Sep 2009 10:12:38 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Fri, 11 Sep 2009 10:12:38 +0200 From: Ruben de Groot To: jaymax Message-ID: <20090911081238.GB83589@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , jaymax , freebsd-questions@freebsd.org References: <25391151.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25391151.post@talk.nabble.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Fri, 11 Sep 2009 10:12:42 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading 6.0 to 6.x... without /var X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 08:12:43 -0000 On Thu, Sep 10, 2009 at 02:14:55PM -0700, jaymax typed: > > > I have a 6.0 installation without a /var slice. Instead I have a soft link > of /usr/var to a /var@ file. Now I am attempting an upgrade to 6.4 and > getting an error condition. I am using Disk 1 of the 6.4 distro >> Upgrade > [Upgrade an existing system] >> All [All system sources. binaries and > X-Windows System] >> added Ports and mount points. System goes through its > fsck-ffs -y routines on /mnt/dev/* devices. > =>> Error Messages > [i] "Error mounting /mnt/dev ad0as1e on /mnt/usr : Input/output error" > [ii] "Error mounting /mnt/dev ad0as1f on /mnt/usr : Input/output error" ^^^^^^^ While entirely possible, this is not a "normal" partitioning scheme. You should post some more about your configuration (fstab, dmesg) before this can be analysed. > Could this problem result from the absence of a /var partition ? I doubt it. Something else is fishy her ;) > Is there an alt. Strategy for a 6.0 =>6.4 upgrade, while maintaining all the > previous custom and configuration files? There's allways the csup - buildworld - kernel - installworld source upgrade path. Ruben From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 08:54:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21CBA1065670 for ; Fri, 11 Sep 2009 08:54:13 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-154.bluehost.com (outbound-mail-154.bluehost.com [67.222.39.34]) by mx1.freebsd.org (Postfix) with SMTP id E26768FC21 for ; Fri, 11 Sep 2009 08:54:12 +0000 (UTC) Received: (qmail 4745 invoked by uid 0); 11 Sep 2009 08:54:12 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy5.bluehost.com with SMTP; 11 Sep 2009 08:54:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=AKhXPBqNYP7hazz4YNdRC47p2TwOUy8lpJQRP54G/IcNl3VjWZOBKXAcEl15pAvHDE5/kulPhoAXIVtGnDDY1TAFaQMLAuTNA/aCDRA9HMkMvuHAOjbZ+ktwsqpCMUZ2; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Mm1tT-0000Mu-Nk for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 02:54:12 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Fri, 11 Sep 2009 02:54:10 -0600 Date: Fri, 11 Sep 2009 02:54:10 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20090911085410.GA23217@kokopelli.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: FreeBSD 7.x with Lenovo Thinkpad SL500 or T400 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 08:54:13 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 11, 2009 at 12:25:25PM +0530, Abhi wrote: > Hola, > Has anybody tried FreeBSD 7.x on Lenovo Thinkpads SL500 or T400? Alas, though I tried, I could not convince my girlfriend that installing FreeBSD on her T500 would be worth the sacrifice of *not* getting to run WoW, since (unlike Ubuntu, which is what she used instead) the proprietary ATI driver doesn't work so well with FreeBSD. Anyway . . . while I have not tried installing FreeBSD on an SL500 or a T400 either, I suspect support would be decent -- as long as you don't need 3D graphics support good enough for WoW. That's just my educated guess, and not confirmation, though. Hopefully someone else can give a more definitive response. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Antoine de Saint-Exupery: "A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away." --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkqqEDIACgkQ9mn/Pj01uKXmIQCgjVn6RPxXm6GTIv4w+jFJ3hAN wbkAn3WS1TbXzMgaB3jWD+K75piXnP3m =Y11k -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 09:21:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A153106566C for ; Fri, 11 Sep 2009 09:21:45 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id EB5098FC0A for ; Fri, 11 Sep 2009 09:21:44 +0000 (UTC) Received: from pulstar.local (athedsl-4490856.home.otenet.gr [94.71.82.112]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n8B9LgVq012512; Fri, 11 Sep 2009 12:21:42 +0300 Message-ID: <4AAA16A5.5080405@otenet.gr> Date: Fri, 11 Sep 2009 12:21:41 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Matthias Apitz References: <20090911073027.GA2399@current.Sisis.de> In-Reply-To: <20090911073027.GA2399@current.Sisis.de> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD commands... refcard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 09:21:45 -0000 Matthias Apitz wrote: > Hello, > > In some Linux mailing list of Cuba I'm subscribed to, I just stumbled > over this Debian GNU/Linux Reference Card: http://xinocat.com/refcard/ > which is available in many languages. This would be very helpfull for my > wife which 'must' ( :-)) run FreeBSD on her laptop. Is there something > like this for FreeBSD, and even in Spanish? Thanks > > matthias > It wouldn't be difficult to do something similar. Looking at the Greek version of the debian card, most commands are basic ones with similar function in FreeBSD. We could replace the apt-get section with commands from the ports system and pkg_* and the /etc/init.d/ section with /etc/rc.d and /usr/local/etc/rc.d. I'll try to make up an initial English version this weekend. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 09:48:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83BA7106566B for ; Fri, 11 Sep 2009 09:48:02 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id 4146D8FC14 for ; Fri, 11 Sep 2009 09:48:01 +0000 (UTC) Received: from current.Sisis.de (cazador.sisis.de [193.31.11.193]) by dd12710.kasserver.com (Postfix) with ESMTP id 8F6111801AF54; Fri, 11 Sep 2009 11:48:02 +0200 (CEST) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id n8B9m40B003338; Fri, 11 Sep 2009 11:48:04 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 11 Sep 2009 11:48:04 +0200 From: Matthias Apitz To: Manolis Kiagias Message-ID: <20090911094804.GA3259@current.Sisis.de> References: <20090911073027.GA2399@current.Sisis.de> <4AAA16A5.5080405@otenet.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4AAA16A5.5080405@otenet.gr> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD commands... refcard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 09:48:02 -0000 El día Friday, September 11, 2009 a las 12:21:41PM +0300, Manolis Kiagias escribió: > Matthias Apitz wrote: > > Hello, > > > > In some Linux mailing list of Cuba I'm subscribed to, I just stumbled > > over this Debian GNU/Linux Reference Card: http://xinocat.com/refcard/ > > which is available in many languages. This would be very helpfull for my > > wife which 'must' ( :-)) run FreeBSD on her laptop. Is there something > > like this for FreeBSD, and even in Spanish? Thanks > > > > matthias > > > > It wouldn't be difficult to do something similar. Looking at the Greek > version of the debian card, most commands are basic ones with similar > function in FreeBSD. We could replace the apt-get section with commands > from the ports system and pkg_* and the /etc/init.d/ section with > /etc/rc.d and /usr/local/etc/rc.d. > > I'll try to make up an initial English version this weekend. That would be very fine; please, can you describe also what software from the ports one must use for "Of course, you may alter the reference card to you needs and create a cusomised refcard. You need to apt-get install the following packages first: docbook-xsl, pdfjam, pdftk, po4a, xmlroff, poppler-utils, and xsltproc." I'd be more than happy to make a Spanish and German translation of it. matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 10:32:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B09901065676 for ; Fri, 11 Sep 2009 10:32:56 +0000 (UTC) (envelope-from jamesoff@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 477878FC14 for ; Fri, 11 Sep 2009 10:32:55 +0000 (UTC) Received: by fxm6 with SMTP id 6so657303fxm.43 for ; Fri, 11 Sep 2009 03:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=6QGD8gMUL8U7sI5WsZOHVDVnAd68HQNJSInfQC6Pg7M=; b=rbCfYGVTdeawP5136bkrclpJ9c3QSKmyZAbsyLTiUftza61BZsBabyVyrLmNew9T8M CIobzJ3nWncKUmvKOpZTgwj2w+dK/NVBHWhHaEnH/Pfv6wNqnvY2jwK/ZxUPbCAeUEeb qAioCwrxzMUWpjNUQ8lSSMPtupTCHJWaxHHy4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=ayaUAUChe/u7x24xRK5O/UyFs6kagKK5lN8/l5vZuuoW1S1Qk5tNd0pJLSa156ILXm XuxqM+z9KI8YCSBBzyFOYwDAwXGYmMT8EVLhL/FUgVEPzp+YicrK0kQUy9joQN7Y0oZ/ vzj6CtlcRjBv9mGEKKsGObQmGdxSzDUVXdYio= MIME-Version: 1.0 Received: by 10.102.149.23 with SMTP id w23mr1349486mud.38.1252663397195; Fri, 11 Sep 2009 03:03:17 -0700 (PDT) In-Reply-To: <20090911073027.GA2399@current.Sisis.de> References: <20090911073027.GA2399@current.Sisis.de> From: James Seward Date: Fri, 11 Sep 2009 11:02:57 +0100 Message-ID: <720051dc0909110302p243fd9b2j138025fc11dab3d6@mail.gmail.com> To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD commands... refcard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 10:32:56 -0000 On Fri, Sep 11, 2009 at 8:30 AM, Matthias Apitz wrote: > In some Linux mailing list of Cuba I'm subscribed to, I just stumbled > over this Debian GNU/Linux Reference Card: http://xinocat.com/refcard/ > which is available in many languages. This would be very helpfull for my > wife which 'must' ( :-)) run FreeBSD on her laptop. Is there something > like this for FreeBSD, and even in Spanish? Thanks Not quite the same, but have a look at the Rosetta Stone for Unix: http://bhami.com/rosetta.html /JMS From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 10:40:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BED8F106566C for ; Fri, 11 Sep 2009 10:40:31 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by mx1.freebsd.org (Postfix) with ESMTP id 2EDE48FC0C for ; Fri, 11 Sep 2009 10:40:30 +0000 (UTC) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090911104029.XXTJ6611.mtaout02-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Fri, 11 Sep 2009 11:40:29 +0100 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090911104029.OQIT2093.aamtaout03-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Fri, 11 Sep 2009 11:40:29 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 280A3618B; Fri, 11 Sep 2009 11:40:27 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id 8306E617B for ; Fri, 11 Sep 2009 11:40:26 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Fri, 11 Sep 2009 11:40:26 +0100 From: "Daniel Bye" Date: Fri, 11 Sep 2009 11:40:26 +0100 To: FreeBSD Questions Message-ID: <20090911104025.GA23566@torus.slightlystrange.org> Mail-Followup-To: FreeBSD Questions References: <20090911034913.GA22437@kokopelli.hydra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <20090911034913.GA22437@kokopelli.hydra> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 8.0-BETA4 i386 X-Cloudmark-Analysis: v=1.0 c=1 a=ehNlctqhnw0A:10 a=gCJMewZFE_29kd5bx-oA:9 a=Y7E9EXSbz0R-dKThxTIA:7 a=xkAkCS-U4GX0VqVblE_gAo0KP5oA:4 a=txyM41LMevxEa8OY1e8A:9 a=HrH5bUQN37HowYnvaR9WlOieR5AA:4 Subject: Re: linux-pango won't install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 10:40:31 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 10, 2009 at 09:49:13PM -0600, Chad Perrin wrote: > For some reason, the x11-toolkits/linux-pango port won't install on my > FreeBSD 7.2 system. When I try, I get the following: >=20 > [Gathering depends for x11-toolkits/linux-pango .....................= ................................. done] > ---> Installing 'linux-pango-1.10.2_3' from a port (x11-toolkits/lin= ux-pango) > ---> Building '/usr/ports/x11-toolkits/linux-pango' > =3D=3D=3D> Cleaning for linux-pango-1.10.2_3 > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall= 20090910-66072-gzj01-0 env make > ** Fix the problem and try again. > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > ! x11-toolkits/linux-pango (unknown build error) >=20 > How can I fix this? My Google and FreeBSD documentation searches have > proven fruitless. I remember having the devil's own job upgrading this a while ago. Try running the install manually - portinstall tends to obscure the real error message, making it harder to track down the specific problem. Doing it manually should at least let you see what's going wrong! Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkqqKRkACgkQixf5fBYiFmrIDQCfU9OxgUP3PYaOEJPIG+DdHMBt N2EAoIDBQVTc5MwI1cg9Spkf9BLjRlo1 =DAId -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 10:49:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF05D1065676 for ; Fri, 11 Sep 2009 10:49:39 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 644738FC08 for ; Fri, 11 Sep 2009 10:49:39 +0000 (UTC) Received: from significant-gravitas-shortfall.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n8BAnQIe058970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 11 Sep 2009 11:49:33 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n8BAnQIe058970 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1252666173; bh=HQXud85RVtm82BjD2N9pw4nCus0rNxDySrmtCPnV7bw=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AAA2B35.4010309@infracaninophile.co.uk>|Date:=20F ri,=2011=20Sep=202009=2011:49:25=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090824)|MIME-Vers ion:=201.0|To:=20FreeBSD=20Questions=20|Subject:=20Re:=20linux-pango=20won't=20install|References:=20 <20090911034913.GA22437@kokopelli.hydra>=20<20090911104025.GA23566 @torus.slightlystrange.org>|In-Reply-To:=20<20090911104025.GA23566 @torus.slightlystrange.org>|X-Enigmail-Version:=200.95.7|OpenPGP:= 20id=3D60AE908C|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp -sha1=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=2 0boundary=3D"------------enigDD01CFD2CECAA3491987EBC9"; b=NbXLAzp/a83a/NpXazIxkjJshsYjqqmQcrRwYp6leclTVSsoCMpoP1ibQo6LmiuDJ vxSgnwDgifjodN0JHbKI0ku0s8hFi2sYMss1UYswsUWxF57nKM2MRkqiQ4qAkxFYKh Or24tjRRvEK4L9wmRJXNzqsbR+xZwk9YTaVa0E7Q= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host gateway.ash.thebunker.net [213.129.64.4] claimed to be significant-gravitas-shortfall.thebunker.net Message-ID: <4AAA2B35.4010309@infracaninophile.co.uk> Date: Fri, 11 Sep 2009 11:49:25 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: FreeBSD Questions References: <20090911034913.GA22437@kokopelli.hydra> <20090911104025.GA23566@torus.slightlystrange.org> In-Reply-To: <20090911104025.GA23566@torus.slightlystrange.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDD01CFD2CECAA3491987EBC9" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: linux-pango won't install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 10:49:39 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDD01CFD2CECAA3491987EBC9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Daniel Bye wrote: > On Thu, Sep 10, 2009 at 09:49:13PM -0600, Chad Perrin wrote: >> For some reason, the x11-toolkits/linux-pango port won't install on my= >> FreeBSD 7.2 system. When I try, I get the following: >> >> [Gathering depends for x11-toolkits/linux-pango ..................= =2E................................... done] >> ---> Installing 'linux-pango-1.10.2_3' from a port (x11-toolkits/= linux-pango) >> ---> Building '/usr/ports/x11-toolkits/linux-pango' >> =3D=3D=3D> Cleaning for linux-pango-1.10.2_3 >> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinst= all20090910-66072-gzj01-0 env make >> ** Fix the problem and try again. >> ** Listing the failed packages (-:ignored / *:skipped / !:failed) >> ! x11-toolkits/linux-pango (unknown build error) >> >> How can I fix this? My Google and FreeBSD documentation searches have= >> proven fruitless. >=20 > I remember having the devil's own job upgrading this a while ago. Try > running the install manually - portinstall tends to obscure the real > error message, making it harder to track down the specific problem. Doi= ng > it manually should at least let you see what's going wrong! >=20 > Dan >=20 Perhaps this will prove enlightening: significant-gravitas-shortfall:~:% portaudit -a=20 Affected package: linux-f8-pango-1.18.4_1 Type of problem: pango -- integer overflow. Reference: 1 problem(s) in your installed packages found. You are advised to update or deinstall the affected package(s) immediatel= y. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK --------------enigDD01CFD2CECAA3491987EBC9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqqKzUACgkQ3jDkPpsZ+Va8mgCbB85POmWWKrKQcKmttiePDJgm FdEAoJdpNlGBNpfji63ATHeZAtZ1LZR8 =Y1Dn -----END PGP SIGNATURE----- --------------enigDD01CFD2CECAA3491987EBC9-- From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 10:51:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09DBB1065670 for ; Fri, 11 Sep 2009 10:51:03 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id D5C8B8FC15 for ; Fri, 11 Sep 2009 10:51:02 +0000 (UTC) Received: from unknown (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id F118881C4; Fri, 11 Sep 2009 10:51:01 +0000 (UTC) Date: Fri, 11 Sep 2009 11:51:10 +0100 From: Bruce Cran To: Alex R Message-ID: <20090911115110.000076ce@unknown> In-Reply-To: <4AA86C90.7030908@mailinglist.ahhyes.net> References: <4AA86C90.7030908@mailinglist.ahhyes.net> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: 7.2-RELEASE/amd64 - weird stuff in dmesg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 10:51:03 -0000 On Thu, 10 Sep 2009 13:03:44 +1000 Alex R wrote: > Hi everyone, > > I was wondering whether anyone could shed some light on the following > messages I am seeing in dmesg: > > -------------------- > > <<33>>aarrpp:: uunnkknnoowwnn hhaarrddwwaarree aaddddress format > (0x0000) ress format (0x0000) > arp: unakrnpo:w nu nhkanrodwwna rhea raddwdarrees sa dfdorremsast > f(o0rxm0a0t0 0()0 > x > 0000) > aanrkpn:o wunn khnaorwdnw ahraer dawdadrree sasd dfroersmsa > tf o(r0mxat0 0(00x000)0 > 0 > ) > arp: unknown hardware address format (0xarp:0 7u0n0k)n > o > wn hardware address format (0x0700) > aarrpp:: uunnkknnoowwnn hhaarrddwwaarree aaddddrreessss > ffoorrmmaatt ((00xx00770000)) > > -------------------------- > > Any ideas whats with the jumbled/double letters? Is there something > wrong with the machine or is it a bug in the OS? I have seen similar > symptoms on SMP enabled boxes when shutting down if 2 processes call > kprintf() or printf() at the same time, it results in garbled output. > Should i turn a blind eye to this? Yes :) It's a known issue that the kernel printf isn't locked so messages get mixed up like that. In 8.0 the PRINTF_BUFR_SIZE option has been added which should fix it. -- Bruce From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 10:57:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3B59106568D for ; Fri, 11 Sep 2009 10:57:29 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by mx1.freebsd.org (Postfix) with ESMTP id 933758FC13 for ; Fri, 11 Sep 2009 10:57:24 +0000 (UTC) Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090911105722.HPVD6742.mtaout01-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Fri, 11 Sep 2009 11:57:22 +0100 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout01-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090911105721.KTRI13254.aamtaout01-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Fri, 11 Sep 2009 11:57:21 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 33EFE617B; Fri, 11 Sep 2009 11:57:19 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id CF39460F1 for ; Fri, 11 Sep 2009 11:57:18 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Fri, 11 Sep 2009 11:57:18 +0100 From: "Daniel Bye" Date: Fri, 11 Sep 2009 11:57:18 +0100 To: FreeBSD Questions Message-ID: <20090911105718.GB23566@torus.slightlystrange.org> Mail-Followup-To: FreeBSD Questions References: <20090911034913.GA22437@kokopelli.hydra> <20090911104025.GA23566@torus.slightlystrange.org> <4AAA2B35.4010309@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2B/JsCI69OhZNC5r" Content-Disposition: inline In-Reply-To: <4AAA2B35.4010309@infracaninophile.co.uk> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 8.0-BETA4 i386 X-Cloudmark-Analysis: v=1.0 c=1 a=ehNlctqhnw0A:10 a=6I5d2MoRAAAA:8 a=-0GOY6mOdswJBcrbuYYA:9 a=e350CiTDcDyCzhE1Z3UA:7 a=OFzsUduR11NZNynh8RscL1_piTUA:4 a=hurf9S4sSsohU47iasIA:9 a=XDUvfHp-2bvq1tORn87B7Ru0hpAA:4 Subject: Re: linux-pango won't install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 10:57:29 -0000 --2B/JsCI69OhZNC5r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 11, 2009 at 11:49:25AM +0100, Matthew Seaman wrote: > Daniel Bye wrote: > > On Thu, Sep 10, 2009 at 09:49:13PM -0600, Chad Perrin wrote: > >> For some reason, the x11-toolkits/linux-pango port won't install on my > >> FreeBSD 7.2 system. When I try, I get the following: > >> > >> [Gathering depends for x11-toolkits/linux-pango ..................= .................................... done] > >> ---> Installing 'linux-pango-1.10.2_3' from a port (x11-toolkits/= linux-pango) > >> ---> Building '/usr/ports/x11-toolkits/linux-pango' > >> =3D=3D=3D> Cleaning for linux-pango-1.10.2_3 > >> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinst= all20090910-66072-gzj01-0 env make > >> ** Fix the problem and try again. > >> ** Listing the failed packages (-:ignored / *:skipped / !:failed) > >> ! x11-toolkits/linux-pango (unknown build error) > >> > >> How can I fix this? My Google and FreeBSD documentation searches have > >> proven fruitless. > >=20 > > I remember having the devil's own job upgrading this a while ago. Try > > running the install manually - portinstall tends to obscure the real > > error message, making it harder to track down the specific problem. Doi= ng > > it manually should at least let you see what's going wrong! > >=20 > > Dan > >=20 >=20 > Perhaps this will prove enlightening: >=20 > significant-gravitas-shortfall:~:% portaudit -a=20 > Affected package: linux-f8-pango-1.18.4_1 > Type of problem: pango -- integer overflow. > Reference: >=20 > 1 problem(s) in your installed packages found. >=20 > You are advised to update or deinstall the affected package(s) immediatel= y. Ah yes, now I remember! I recently upgraded to 8-BETA* which uses f10 by default, and the f10 linux pango doesn't seem to have that problem. Perhaps= =20 that's how I ended up "fixing" it... Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --2B/JsCI69OhZNC5r Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkqqLQ4ACgkQixf5fBYiFmpwqACgxGS08q16fOp/zsdSN7WpyzLM z/UAnRZEf3aI/y6Uh5o6I/4jDRzHvi9W =TP/y -----END PGP SIGNATURE----- --2B/JsCI69OhZNC5r-- From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 11:08:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A0BB1065672 for ; Fri, 11 Sep 2009 11:08:52 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp110.prem.mail.ac4.yahoo.com (smtp110.prem.mail.ac4.yahoo.com [76.13.13.93]) by mx1.freebsd.org (Postfix) with SMTP id B4CE58FC08 for ; Fri, 11 Sep 2009 11:08:51 +0000 (UTC) Received: (qmail 79003 invoked from network); 11 Sep 2009 11:08:50 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=3ckCPyPkXYZ4Ha8catjDPP6KaI1HI73cIuZC9gyXAKVHzRaDE4bi5IbrxnXIwEvGOrPnHn32tXimr3PrBQ0n+dWxCqEm7DrATthgfms0YCnWhoZcDs1LBp3e7hOP7cCSvSCvXncIk2i6YEbF5+jMYZ/ICwE6/yN5XPRmYN/Cv3U= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp110.prem.mail.ac4.yahoo.com with SMTP; 11 Sep 2009 04:08:50 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: XgIctm8VM1nqZF0GlvyZ_eVJTxRFFVDOAA6rYd9uwZV_H9Sp3BB.S8ogEU11Re50WhW4PJuLkQ4Mtw.mpi8zgmteFQIvlooZUjGFmat1E8cbIwomAmlEWZqHcze77hmkWG8xCD8TcKMozUyY3CNeKXk_k5HbIRXPOGiigcogrSIPmwpDdALUVt.2AG2Y9pMNX5KA.oZXB0INb12w3f8kALLr9IJwNPNlw_Gziow.Ff1iyqXFz7rw8anB3SIljKcULg2t23_mrs_MRmXHrJ4ULTHHEz.2bwk9U.HLaW9TGpY5fcbpq93qcXPoSIr5ihHB5VwgawGQWuSIEkIcPcNi6tofKAs- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 4C2EB2280B for ; Fri, 11 Sep 2009 07:08:50 -0400 (EDT) Date: Fri, 11 Sep 2009 07:08:49 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090911070849.559fa992@scorpio.seibercom.net> In-Reply-To: <4AAA2B35.4010309@infracaninophile.co.uk> References: <20090911034913.GA22437@kokopelli.hydra> <20090911104025.GA23566@torus.slightlystrange.org> <4AAA2B35.4010309@infracaninophile.co.uk> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: linux-pango won't install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 11:08:52 -0000 On Fri, 11 Sep 2009 11:49:25 +0100 Matthew Seaman wrote: > Daniel Bye wrote: > > On Thu, Sep 10, 2009 at 09:49:13PM -0600, Chad Perrin wrote: > >> For some reason, the x11-toolkits/linux-pango port won't install > >> on my FreeBSD 7.2 system. When I try, I get the following: > >> > >> [Gathering depends for > >> x11-toolkits/linux-pango ...................................................... > >> done] ---> Installing 'linux-pango-1.10.2_3' from a port > >> (x11-toolkits/linux-pango) ---> Building > >> '/usr/ports/x11-toolkits/linux-pango' ===> Cleaning for > >> linux-pango-1.10.2_3 ** Command failed [exit code > >> 1]: /usr/bin/script -qa /tmp/portinstall20090910-66072-gzj01-0 env > >> make ** Fix the problem and try again. ** Listing the failed > >> packages (-:ignored / *:skipped / !:failed) ! > >> x11-toolkits/linux-pango (unknown build error) > >> > >> How can I fix this? My Google and FreeBSD documentation searches > >> have proven fruitless. > > > > I remember having the devil's own job upgrading this a while ago. > > Try running the install manually - portinstall tends to obscure the > > real error message, making it harder to track down the specific > > problem. Doing it manually should at least let you see what's going > > wrong! > > > > Dan > > > > Perhaps this will prove enlightening: > > significant-gravitas-shortfall:~:% portaudit -a > Affected package: linux-f8-pango-1.18.4_1 > Type of problem: pango -- integer overflow. > Reference: > > > 1 problem(s) in your installed packages found. > > You are advised to update or deinstall the affected package(s) > immediately. If you still want to install the port, you could just add this to the /etc/make.conf file: # Pango .if $(.CURDIR:M*/x11-toolkits/linux-pango) DISABLE_VULNERABILITIES=yes .endif -- Jerry gesbbb@yahoo.com Go climb a gravity well. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 11:50:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D084B1065676 for ; Fri, 11 Sep 2009 11:50:57 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 5207D8FC12 for ; Fri, 11 Sep 2009 11:50:56 +0000 (UTC) Received: by bwz2 with SMTP id 2so680547bwz.43 for ; Fri, 11 Sep 2009 04:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=ab/OJiXXR3vzVKlNlkyirpAfjYj4T12/rbZmFoBFgso=; b=EY9mratQ3HSn+U94Y5TSeM2+ni3CTGivGavspg4auwpv8Zifoi79+ouPKJRJLDxDYd OY/clfoI67qkJQRkJCGad0jP+meX+4PC8YxvWdEGvJZ+MCPStl1PX8BRiK/N8basI1PM N4pONt1LoUI+Id3tSJtrA/BqocN3BE6acPdck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=K5cGk/y1DCOTqpFU2u2WB4nHau4PqCRMXGJWx4K/MncBoyo2onUIRpuJ2cGLCPmDaP wZi0qEkEM5WmMBLyx/So9MMC/RBpXO+GEX4QWDEZPc72oBzKU+g+KqU0ZRaUTOb3ivqV Q1JTshuEKDISl3v/refE5Gx0QrM9m7pzpHwYo= Received: by 10.204.23.11 with SMTP id p11mr1966443bkb.29.1252668617545; Fri, 11 Sep 2009 04:30:17 -0700 (PDT) Received: from ?192.168.1.253? ([81.196.94.69]) by mx.google.com with ESMTPS id f31sm4043778fkf.38.2009.09.11.04.30.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 11 Sep 2009 04:30:17 -0700 (PDT) Message-ID: <4AAA34CE.9060104@gmail.com> Date: Fri, 11 Sep 2009 14:30:22 +0300 From: Andrei Brezan User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: amavisd-new "status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once)" in maillog issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 11:50:57 -0000 Hello list, I have a strange behaviour from my postfix config using amavisd-new with clamav. I have 4 messages in queue all deffered with the same problem: lost connection with 127.0.0.1. This is what i get from amavisd with log_level=5 in debug.log: *snip* Sep 11 14:15:47 mail amavis[46602]: (46602-01) run_command: [47011] /usr/local/bin/file p001 p002 p003 &1 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: target fd0 closing, to become < /dev/null Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: target fd1 closing, to become > &=15 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: target fd1 dup2 from fd15 > &=15 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: source fd15 closed Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: target fd2 closing, to become > &1 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: target fd2 dup2 from fd1 > &1 Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1): p001: ASCII news text\n Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re("ASCII news text") matches key "(?i-xsm:^(ASCII|text)\b)", result="asc" Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup [map_full_type_to_short_type] => true, "ASCII news text" matches, result="asc", matching_key="(?i-xsm:^(ASCII|text)\\b)" Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p001: ASCII news text; (asc) Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1): p002: Microsoft Office Document Microsoft Word Document\n Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re("Microsoft Office Document Microsoft Word Document") matches key "(?i-xsm:^Microsoft Office Document\b)", result="doc" Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup [map_full_type_to_short_type] => true, "Microsoft Office Document Microsoft Word Document" matches, result="doc", matching_key="(?i-xsm:^Microsoft Office Document\\b)" Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p002: Microsoft Office Document Microsoft Word Document; (doc) Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1): p003: Microsoft Office Document Microsoft Word Document\n Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re("Microsoft Office Document Microsoft Word Document") matches key "(?i-xsm:^Microsoft Office Document\b)", result="doc" Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup [map_full_type_to_short_type] => true, "Microsoft Office Document Microsoft Word Document" matches, result="doc", matching_key="(?i-xsm:^Microsoft Office Document\\b)" Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p003: Microsoft Office Document Microsoft Word Document; (doc) Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Decoding part p001 Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Setting sigaction handler, was 0 Sep 11 14:15:47 mail amavis[46602]: (46602-01) timer set to 320 s (was 480 s) Sep 11 14:15:47 mail amavis[46593]: Net::Server: Starting "1" children Sep 11 14:15:47 mail amavis[47012]: Net::Server: Child Preforked (47012) Sep 11 14:15:47 mail amavis[47012]: entered child_init_hook Sep 11 14:15:47 mail amavis[47012]: SpamControl: init_child on SpamAssassin done And at ~ the same time i get: pid 46602 (perl), uid 106: exited on signal 11. Don't know what to do with those 4 messages and why they are stuck in queue. I've tried sendig other messages and they get delivered ok. If someone can elighten me pls do so. Thank you. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 12:09:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A3B4106566B for ; Fri, 11 Sep 2009 12:09:06 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 185F78FC1A for ; Fri, 11 Sep 2009 12:09:05 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mm4w5-0003t9-7e for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 14:09:05 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2009 14:09:05 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2009 14:09:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 11 Sep 2009 14:08:54 +0200 Lines: 21 Message-ID: References: <4AA9BCF0.6040003@identry.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.22 (X11/20090817) In-Reply-To: <4AA9BCF0.6040003@identry.com> Sender: news Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 12:09:06 -0000 John Almberg wrote: > My Apache 2.2 instances are running about 18 Meg each. I've been > thinking about doing something to trim these down, and I think tomorrow > is the day to take action. They are getting out of hand. > > I've done a bit of research on this. I think the way to get started is > to eliminate unused modules. Problem is, I know which ones I need, since There is another thing you can try. Judging from the process size you've given it looks like you are not using PHP or a similar Apache module. Also, you didn't specify anything so I assume you are using the default configuration, which operates in "prefork" mode - MPM_PREFORK, which means a separate process is forked for every request. If all of this is true, you can trivially switch to the worker-threaded MPM in which every Apache process (which will be of comparable size to the one you currently have) will handle a large number of request. In effect, instead of e.g. 50 Apache processes active for 50 connections, you will have 2-3 Apache processes. Enable WITH_MPM=worker in /etc/make.conf to enable this. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 12:16:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 483FF106566B for ; Fri, 11 Sep 2009 12:16:50 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out2.uni-muenster.de (ZIVM-OUT2.UNI-MUENSTER.DE [128.176.192.9]) by mx1.freebsd.org (Postfix) with ESMTP id D2F728FC34 for ; Fri, 11 Sep 2009 12:16:49 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,370,1249250400"; d="scan'208";a="223404387" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER03.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay2.uni-muenster.de with ESMTP; 11 Sep 2009 14:16:48 +0200 Received: by ZIVMAILUSER03.UNI-MUENSTER.DE (Postfix, from userid 149459) id D278B1B0751; Fri, 11 Sep 2009 14:16:48 +0200 (CEST) Date: Fri, 11 Sep 2009 14:16:48 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: grabbing files from "SVN ViewVC browser" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 12:16:50 -0000 hi there, just wanted to ask if there's a way to actually download files via the "SVN ViewVC browser"? right now i'm using "SVN DAV tree" for downloads and "SVN ViewVC browser" to track changes, do diffs, etc. cheers. alex From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 12:25:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 491B61065731 for ; Fri, 11 Sep 2009 12:25:43 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.freebsd.org (Postfix) with ESMTP id 1DF888FC0C for ; Fri, 11 Sep 2009 12:25:42 +0000 (UTC) Received: from bs.l (e180042080.adsl.alicedsl.de [85.180.42.80]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MKv1o-1Mm5C825Lz-000Hea; Fri, 11 Sep 2009 14:25:40 +0200 Received: from bsch by bs.l with local (Exim 4.69) (envelope-from ) id 1Mm5C8-0005Lp-2K for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 14:25:40 +0200 Date: Fri, 11 Sep 2009 14:25:40 +0200 From: Bertram Scharpf To: freebsd-questions@freebsd.org Message-ID: <20090911122540.GA20408@marge.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) Sender: Bertram Scharpf X-Provags-ID: V01U2FsdGVkX18l+Bg9NR7gPKDFN1EeMzRxJ2TZj15JyM4jGn3 vmGInsQDrpk01Bd566xECaM7ko6OJDarjcQew7mcFOkjgt2Ovx f9sCN9A4ZBLwpVSXgNlt+ZVcF5u359j Subject: Nice/priority and disk access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 12:25:44 -0000 Hi, as the man page tells, `nice' alters the scheduling priority. Is there a way to reduce a processes priority for hard disk access? Thanks in advance. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 13:14:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1CC4106566B for ; Fri, 11 Sep 2009 13:14:18 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 247908FC0A for ; Fri, 11 Sep 2009 13:14:17 +0000 (UTC) Received: by bwz2 with SMTP id 2so724210bwz.43 for ; Fri, 11 Sep 2009 06:14:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=HRxriqL7Bxj4MdcjY/YoZ7DqSOBKPR8K5HLunS6ESxw=; b=R+SocjDCj13mGTKH39ndyvF0FsKUf3zsUWjqrWPp5yUe1WAAB4KuCQO4UoOHgfxpt5 vLoPkMW6kRTV4ejrD4hQGn3L1j+iHnThuSqJJEByYX7Ec3h3cJ7mwiLzYit3xdUa6Muj 4wHTu6FQ0Vyvr+GLu/4AZmvNz2lcCrRB6lxZs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Uvz62btfFOPS1zwSkwsXLLVyitnJ64QDQ0fATXGjD8182zfpWGr5suL9imXCTqeiZH o7EJI1WRiKdSRtpKpJTel17M5W0nTey08/yXNVafKUIBHvX61lzsDCv1nuBAA0UKb/BE jhg1VdVV0XYUuKCWuNI81NmOdhvlJVNvs6VcE= Received: by 10.204.15.151 with SMTP id k23mr2029883bka.41.1252674856838; Fri, 11 Sep 2009 06:14:16 -0700 (PDT) Received: from ?192.168.1.253? ([81.196.94.69]) by mx.google.com with ESMTPS id 35sm4384566fkt.16.2009.09.11.06.14.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 11 Sep 2009 06:14:16 -0700 (PDT) Message-ID: <4AAA4D2D.6060400@gmail.com> Date: Fri, 11 Sep 2009 16:14:21 +0300 From: Andrei Brezan User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4AAA34CE.9060104@gmail.com> In-Reply-To: <4AAA34CE.9060104@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [SOLVED] amavisd-new "status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once)" in maillog issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 13:14:18 -0000 Andrei Brezan wrote: > Hello list, > > I have a strange behaviour from my postfix config using amavisd-new with > clamav. I have 4 messages in queue all deffered with the same problem: > lost connection with 127.0.0.1. > > This is what i get from amavisd with log_level=5 in debug.log: > > *snip* > Sep 11 14:15:47 mail amavis[46602]: (46602-01) run_command: [47011] > /usr/local/bin/file p001 p002 p003 &1 > Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: > target fd0 closing, to become < /dev/null > Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: > target fd1 closing, to become > &=15 > Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: > target fd1 dup2 from fd15 > &=15 > Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: > source fd15 closed > Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: > target fd2 closing, to become > &1 > Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: > target fd2 dup2 from fd1 > &1 > Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1): > p001: ASCII news text\n > Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re("ASCII news > text") matches key "(?i-xsm:^(ASCII|text)\b)", result="asc" > Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup > [map_full_type_to_short_type] => true, "ASCII news text" matches, > result="asc", matching_key="(?i-xsm:^(ASCII|text)\\b)" > Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p001: ASCII > news text; (asc) > Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1): > p002: Microsoft Office Document Microsoft Word Document\n > Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re("Microsoft > Office Document Microsoft Word Document") matches key > "(?i-xsm:^Microsoft Office Document\b)", result="doc" > Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup > [map_full_type_to_short_type] => true, "Microsoft Office Document > Microsoft Word Document" matches, result="doc", > matching_key="(?i-xsm:^Microsoft Office Document\\b)" > Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p002: > Microsoft Office Document Microsoft Word Document; (doc) > Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1): > p003: Microsoft Office Document Microsoft Word Document\n > Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re("Microsoft > Office Document Microsoft Word Document") matches key > "(?i-xsm:^Microsoft Office Document\b)", result="doc" > Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup > [map_full_type_to_short_type] => true, "Microsoft Office Document > Microsoft Word Document" matches, result="doc", > matching_key="(?i-xsm:^Microsoft Office Document\\b)" > Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p003: > Microsoft Office Document Microsoft Word Document; (doc) > Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Decoding part p001 > Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Setting > sigaction handler, was 0 > Sep 11 14:15:47 mail amavis[46602]: (46602-01) timer set to 320 s (was > 480 s) > Sep 11 14:15:47 mail amavis[46593]: Net::Server: Starting "1" children > Sep 11 14:15:47 mail amavis[47012]: Net::Server: Child Preforked (47012) > Sep 11 14:15:47 mail amavis[47012]: entered child_init_hook > Sep 11 14:15:47 mail amavis[47012]: SpamControl: init_child on > SpamAssassin done > > And at ~ the same time i get: > pid 46602 (perl), uid 106: exited on signal 11. > > Don't know what to do with those 4 messages and why they are stuck in > queue. I've tried sendig other messages and they get delivered ok. > > If someone can elighten me pls do so. > > Thank you. > After googling around a bit more i found out that is something related to uulib code. All i had to do is comment out the entries with do_ascii in amavisd.conf. Here's the post where i found this: http://www.mail-archive.com/amavis-user@lists.sourceforge.net/msg14374.html P.S. Sorry about the noise and too long subj :) From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 13:21:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 416BA1065692 for ; Fri, 11 Sep 2009 13:21:05 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id F2E8B8FC0A for ; Fri, 11 Sep 2009 13:21:04 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mm63j-0000Sk-Ra for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 15:21:03 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2009 15:21:03 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2009 15:21:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 11 Sep 2009 15:20:56 +0200 Lines: 9 Message-ID: References: <20090911122540.GA20408@marge.bs.l> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.22 (X11/20090817) In-Reply-To: <20090911122540.GA20408@marge.bs.l> Sender: news Subject: Re: Nice/priority and disk access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 13:21:05 -0000 Bertram Scharpf wrote: > Hi, > > > as the man page tells, `nice' alters the scheduling priority. > Is there a way to reduce a processes priority for hard disk > access? No. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 13:58:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8B221065698 for ; Fri, 11 Sep 2009 13:58:30 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id B1FBB8FC2B for ; Fri, 11 Sep 2009 13:58:30 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1Mm6dt-0006x6-Aq; Fri, 11 Sep 2009 08:58:26 -0500 Message-ID: <4AAA577A.8070103@identry.com> Date: Fri, 11 Sep 2009 09:58:18 -0400 From: John Almberg User-Agent: Postbox 1.0.0 (Macintosh/2009090801) MIME-Version: 1.0 To: Ivan Voras References: <4AA9BCF0.6040003@identry.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 13:58:31 -0000 Ivan Voras wrote: > There is another thing you can try. Judging from the process size you've > given it looks like you are not using PHP or a similar Apache module. > Also, you didn't specify anything so I assume you are using the default > configuration, which operates in "prefork" mode - MPM_PREFORK, which > means a separate process is forked for every request. > > If all of this is true, you can trivially switch to the worker-threaded > MPM in which every Apache process (which will be of comparable size to > the one you currently have) will handle a large number of request. In > effect, instead of e.g. 50 Apache processes active for 50 connections, > you will have 2-3 Apache processes. > > Enable WITH_MPM=worker in /etc/make.conf to enable this. I am using PHP, in fact. I've listed all the loaded modules below, and marked the ones I added with an '*'. I need the proxy modules because I use Apache as a front end for Mongrel. BTW, this is Apache 2.2 on FreeBSD 7.1 This WITH_MPM=worker sounds interesting. I'll have to read up on it. I guess there is some downside to enabling it, like slower performance? -- John Loaded Modules: core_module (static) mpm_prefork_module (static) http_module (static) so_module (static) authn_file_module (shared) authn_dbm_module (shared) authn_anon_module (shared) authn_default_module (shared) authn_alias_module (shared) authz_host_module (shared) authz_groupfile_module (shared) authz_user_module (shared) authz_dbm_module (shared) authz_owner_module (shared) authz_default_module (shared) auth_basic_module (shared) auth_digest_module (shared) file_cache_module (shared) cache_module (shared) disk_cache_module (shared) dumpio_module (shared) include_module (shared) filter_module (shared) charset_lite_module (shared) deflate_module (shared) log_config_module (shared) logio_module (shared) env_module (shared) mime_magic_module (shared) cern_meta_module (shared) expires_module (shared) headers_module (shared) usertrack_module (shared) unique_id_module (shared) setenvif_module (shared) version_module (shared) *proxy_module (shared) *proxy_http_module (shared) *proxy_balancer_module (shared) *ssl_module (shared) mime_module (shared) *dav_module (shared) status_module (shared) autoindex_module (shared) asis_module (shared) info_module (shared) cgi_module (shared) dav_fs_module (shared) vhost_alias_module (shared) negotiation_module (shared) dir_module (shared) imagemap_module (shared) actions_module (shared) speling_module (shared) userdir_module (shared) alias_module (shared) *rewrite_module (shared) *php5_module (shared) Syntax OK From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 14:16:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDCAB106568B for ; Fri, 11 Sep 2009 14:16:04 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by mx1.freebsd.org (Postfix) with ESMTP id A7D518FC13 for ; Fri, 11 Sep 2009 14:16:04 +0000 (UTC) Received: by ywh9 with SMTP id 9so1569718ywh.32 for ; Fri, 11 Sep 2009 07:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=jlD0egwwO99o2a7GuyUW8666bhA/Zig4bE1a7Hzsu9w=; b=Q1oSrtKmnK5Qn7RPuVaYtc/TX6a0enkS8qONIynwp2/i/qqEbot51X38s9WuL0XGbC MIC0Kp/Itfto2YiNpocY6F+AJ/tTy84YlJkRRCk4QCylWmEsXTXSRqBt+0sTT7XBowsu zUswjV9LRY7/DRl3ZpUFPR21hT6ULFcxheeqE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=S/emR1FPGD9BybcRXdTtgDjldkYU2/Amtt038P4savOfzw24qb5CtT288z2IfyNdak sUpBkxgW7CVhN9xyZZyEKaA337tS5198rhbr41C3KlgWBXXFsFktSl3OfvYS9GrkNy/Q OeCnMkRX5iWchOXG5KbxhYlLX7/rl6Ui6+0rw= MIME-Version: 1.0 Received: by 10.150.112.5 with SMTP id k5mr4865489ybc.348.1252677035947; Fri, 11 Sep 2009 06:50:35 -0700 (PDT) Date: Fri, 11 Sep 2009 09:50:35 -0400 Message-ID: <6ae50c2d0909110650q25be793cobf3050060b9a97b1@mail.gmail.com> From: alexus To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: ipnat proxy port ftp ftp/tcp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 14:16:05 -0000 I'm straggling to get my FTP to work I'm running jail on my FreeBSD with proftpd and I use ipnat to forward any requests to my box to that jail for that service this is what i put inside of my ipnat.conf rdr bce0 64.237.55.65/27 -> lama proxy port ftp ftp/tcp 64.237.55.65/27 this is my public range lama is my jail's name when I get connected I get something like this when I do ipnat -l RDR 64.237.55.83 21 <- -> 64.237.55.83 21 [216.203.43.254 50532] proxy ftp/6 use -11 flags 0 proto 6 flags 0 bytes 2824 pkts 24 data YES size 344 FTP Proxy: passok: 0 Client: seq b4b3b64d (ack b4b3b64d) len 6 junk 0 cmds 0 buf [FEAT\015\012\012p\015\012\000] Server: seq 970af81b (ack 970af8dc) len 193 junk 0 cmds 211 buf [211 End\015\012e;\012 MLST modify*;perm*;size*;type*;unique*;UNIX\000] and on my client I get this mbp:~ alexus$ ftp 64.237.55.83 Connected to 64.237.55.83. 220 64.237.55.83 FTP server ready Name (64.237.55.83:alexus): ftp 331 Anonymous login ok, send your complete email address as your password Password: 230 Anonymous access granted, restrictions apply Remote system type is UNIX. Using binary mode to transfer files. 421 Service not available, remote server timed out. Connection closed. ftp: No control connection for command ftp> can someone help me? -- http://alexus.org/ From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 15:25:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3210106566B for ; Fri, 11 Sep 2009 15:25:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 8F5908FC1B for ; Fri, 11 Sep 2009 15:25:03 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mm7zg-0000Ew-FR for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 17:25:00 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2009 17:25:00 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2009 17:25:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 11 Sep 2009 17:24:52 +0200 Lines: 11 Message-ID: References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.22 (X11/20090817) In-Reply-To: <4AAA577A.8070103@identry.com> Sender: news Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 15:25:03 -0000 John Almberg wrote: > I am using PHP, in fact. I've listed all the loaded modules below, and > marked the ones I added with an '*'. I need the proxy modules because I > use Apache as a front end for Mongrel. > This WITH_MPM=worker sounds interesting. I'll have to read up on it. I > guess there is some downside to enabling it, like slower performance? PHP is incredibly buggy and will in all probability break Apache if you try running it in threaded mode. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 16:17:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 504F8106566C for ; Fri, 11 Sep 2009 16:17:37 +0000 (UTC) (envelope-from scphantm@gmail.com) Received: from mail-px0-f179.google.com (mail-px0-f179.google.com [209.85.216.179]) by mx1.freebsd.org (Postfix) with ESMTP id 29A4B8FC17 for ; Fri, 11 Sep 2009 16:17:36 +0000 (UTC) Received: by pxi9 with SMTP id 9so1044070pxi.14 for ; Fri, 11 Sep 2009 09:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=5oeATlrqH5cb/zoiRAqN7zT02ZjU5AVFxjH5c9SYX5U=; b=bVNKVPGnOmy1D4oWHaidgsGZlL9l72RCEzKcaemy3vT163+lP2upysm/rcZO9SBQhr z9UEyTHTMmYrU98DxRljfZwtyQCXrSw8OPndxv/bsYbvfttqE912HVNwbNT1z2CHOy2/ UkzZfyxIv/vv2UDQi7kKfKCORG1F1GSdKF0qo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WhIj2luVCOkHo8sFEL9dZlu2iIhI/QN7yYxoclag1Q9fheyVaLxeO9tMmgMBQxCkzQ ZIffal917hw6E9/kCBaQ2m1r0RH7yfhPubJPj8AhYKUL0cLXYgrA6bwugP6wR30P7IBJ keQJ8GVd6kZizyfR16CZ32g0UtcC/Zb0oGeNU= MIME-Version: 1.0 Received: by 10.142.152.33 with SMTP id z33mr282762wfd.26.1252684267955; Fri, 11 Sep 2009 08:51:07 -0700 (PDT) Date: Fri, 11 Sep 2009 11:51:07 -0400 Message-ID: <5c99941f0909110851g5481ce07ube39991fe875493f@mail.gmail.com> From: Steel City Phantom To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: jboss5 on freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 16:17:37 -0000 im trying to get the jboss 5 port to run on bsd 6.3. ive had 4 going for a long time now but i can't seem to get 5 to run right. my app is huge and i need to increase the permgen space on the jvm for it to run. ive got this in my rc.conf jboss5_enable="YES" jboss5_config="default" jboss5_flags="-Dprogram.name=run.sh -server -Xms1024m -Xmx1024m -XX:PermSize=1000m -XX:MaxPermSize=1000m" it worked fine in jboss4 but for some reason 5 isn't picking it up. any ideas? From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 16:43:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 576E6106566C for ; Fri, 11 Sep 2009 16:43:05 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id C91228FC1A for ; Fri, 11 Sep 2009 16:43:04 +0000 (UTC) Received: (qmail 32841 invoked by uid 89); 11 Sep 2009 16:46:21 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 11 Sep 2009 16:46:21 -0000 Message-ID: <4AAA7E30.3080201@ibctech.ca> Date: Fri, 11 Sep 2009 12:43:28 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org Questions -" X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms060004040008080504060009" Subject: SVN + Apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 16:43:05 -0000 This is a cryptographically signed message in MIME format. --------------ms060004040008080504060009 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi all, The only relevance that this has to FBSD is that both Apache and subversion were installed via packages. I've been meaning to get around to enabling SVN so that I can access my repo via HTTPs. However, most of the docs I've found via Sir Google claim that it's likely that I'll have to recompile subversion ( and/or apache ) in order to make it work. Although I have very up-to-date clone-able backups and archives of this particular system, I really don't want to do anything that has the potential of clobbering my current working setup. Can those in the know provide any insight into: - how I can verify whether the necessary components are currently installed - how to identify whether said components were compiled with the appropriate args - a q&d howto consisting of a path of least resistance ( or a reference to a confirmed reliable existing howto ) - any caveats and/or things to look for prior to trying to implement it I'm the only one who uses the repository ( at this time ), and currently I access it via SSH. Security isn't an overly major concern at this point, as I will just apply the web server to it's own IPv6 address and filter those who could potentially access it via IPFW :) Cheers! Steve --------------ms060004040008080504060009 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/zCC AtowggJDoAMCAQICEEs5xg/J3t77QWJ4SatV1HcwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDUwNzIzMTYxMFoX DTEwMDUwNzIzMTYxMFowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEfMB0G CSqGSIb3DQEJARYQc3RldmVAaWJjdGVjaC5jYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAJSTRAjP1RVa87/mnZn+PBTbENgyhhBJ4rWApmaNcthzRdk2DB/49KrXx3EQP60w Lj4KU0DFkiGNVj9BnVxRAx/WDXKxGC3uGGEG6gjyWv8KFMWMsH9mL7y7uNow1HueT6pZUf9o yY8Ewd+01QpGi7FfXOae7lGHhbEwnEJGwz08ytRfLmH0KtEzlZanZZhwDGX5s1kIHnyxdACh 3byXY6Z2bOrx0rcrQHCnHJppxddR60F7igjaMuBFstE51h9XTgXDNKJbglqTug5ghGihNuP6 VsBN7ue62y96UGIE22TvKEcAQ665vQGjHqZeSzZYy+hWNOa27pWFmhlqFjx0x8MCAwEAAaMt MCswGwYDVR0RBBQwEoEQc3RldmVAaWJjdGVjaC5jYTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3 DQEBBQUAA4GBAMOmjxjp2Xzk6ZHLwTgFDzVhm98RjRT3UXotKjNIR7SgwfWF5wkJrx4I+dXu ui5ztMEq4bTTRgJ344MqE6uZiZlg+tBIFHZGCJfKdzsX4QuV2jmw0sR5dMaYxG6tlDB0YUMv gTqzV7ZDpiusTMOZe9pP1PdxFhOcIJXtMQDj5LhuMIIC2jCCAkOgAwIBAgIQSznGD8ne3vtB YnhJq1XUdzANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDkwNTA3MjMxNjEwWhcNMTAwNTA3MjMxNjEwWjBCMR8wHQYD VQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzdGV2ZUBpYmN0 ZWNoLmNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlJNECM/VFVrzv+admf48 FNsQ2DKGEEnitYCmZo1y2HNF2TYMH/j0qtfHcRA/rTAuPgpTQMWSIY1WP0GdXFEDH9YNcrEY Le4YYQbqCPJa/woUxYywf2YvvLu42jDUe55PqllR/2jJjwTB37TVCkaLsV9c5p7uUYeFsTCc QkbDPTzK1F8uYfQq0TOVlqdlmHAMZfmzWQgefLF0AKHdvJdjpnZs6vHStytAcKccmmnF11Hr QXuKCNoy4EWy0TnWH1dOBcM0oluCWpO6DmCEaKE24/pWwE3u57rbL3pQYgTbZO8oRwBDrrm9 AaMepl5LNljL6FY05rbulYWaGWoWPHTHwwIDAQABoy0wKzAbBgNVHREEFDASgRBzdGV2ZUBp YmN0ZWNoLmNhMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEFBQADgYEAw6aPGOnZfOTpkcvB OAUPNWGb3xGNFPdRei0qM0hHtKDB9YXnCQmvHgj51e66LnO0wSrhtNNGAnfjgyoTq5mJmWD6 0EgUdkYIl8p3OxfhC5XaObDSxHl0xpjEbq2UMHRhQy+BOrNXtkOmK6xMw5l72k/U93EWE5wg le0xAOPkuG4wggM/MIICqKADAgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJa QTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoT EVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERp dmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG 9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcN MTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRp bmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vp bmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f 6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/Ef kTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7 AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRw Oi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8E BAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqG SIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQc UCCTcDz9reFhYsPZOhl+hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bG CE6u9uo05RAaWzVNd+NWIXiC3CEZNd4ksdMdRv9dX2VPMYIDZDCCA2ACAQEwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEs5xg/J3t77QWJ4SatV 1HcwCQYFKw4DAhoFAKCCAcMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0B CQUxDxcNMDkwOTExMTY0MzI4WjAjBgkqhkiG9w0BCQQxFgQUDlj+PyNcoqn2FhHskfONQp/u eq4wUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZI hvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjEL MAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAq BgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0Fi eEmrVdR3MIGHBgsqhkiG9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0FieEmrVdR3MA0GCSqGSIb3DQEBAQUABIIB AA7TcHMGq1fapH03Dv1PbQnN8hg300CJ71CQs/b+GEhOUI7qw36DgBJv4qjkZrevIlv9PCEw AwJw7qxkOHAqGUOp9ydc3cm0Z72AINp95l1It2CmTP/c6Zts5v+pSeehyTdGSKcUziuPEH// iDXYnSKqzS+lybQKGdlk72szfSlz0RFo/4v2myYBEOmST4f1Jx7ci1sADh2UI/YF8D5EkElf KNSqHFrVQ4U+JZ7U2bmCyOx83trpH6iWe+zME/nsNi5jDiUpiqBXtpc6Em7toy413yZtu2tk NtYxGx0Z4EPxEK9wG1wM7Vi7NbLhTjGEt4mR/p7g3oqjBlyX+Llw++kAAAAAAAA= --------------ms060004040008080504060009-- From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 16:54:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3B67106566B for ; Fri, 11 Sep 2009 16:54:32 +0000 (UTC) (envelope-from dmw@coder.cl) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 6337F8FC0C for ; Fri, 11 Sep 2009 16:54:31 +0000 (UTC) Received: by bwz2 with SMTP id 2so870235bwz.43 for ; Fri, 11 Sep 2009 09:54:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.157.21 with SMTP id z21mr2244397bkw.160.1252688071024; Fri, 11 Sep 2009 09:54:31 -0700 (PDT) In-Reply-To: <4AAA7E30.3080201@ibctech.ca> References: <4AAA7E30.3080201@ibctech.ca> Date: Fri, 11 Sep 2009 12:54:30 -0400 Message-ID: From: Daniel Molina Wegener To: Steve Bertrand Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd.org Questions -" Subject: Re: SVN + Apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dmw@coder.cl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 16:54:33 -0000 2009/9/11 Steve Bertrand > Hi all, > > The only relevance that this has to FBSD is that both Apache and > subversion were installed via packages. > > I've been meaning to get around to enabling SVN so that I can access my > repo via HTTPs. However, most of the docs I've found via Sir Google > claim that it's likely that I'll have to recompile subversion ( and/or > apache ) in order to make it work. > > Although I have very up-to-date clone-able backups and archives of this > particular system, I really don't want to do anything that has the > potential of clobbering my current working setup. > > Can those in the know provide any insight into: > > - how I can verify whether the necessary components are currently installed > > - how to identify whether said components were compiled with the > appropriate args > > - a q&d howto consisting of a path of least resistance ( or a reference > to a confirmed reliable existing howto ) > > - any caveats and/or things to look for prior to trying to implement it > > I'm the only one who uses the repository ( at this time ), and currently > I access it via SSH. Security isn't an overly major concern at this > point, as I will just apply the web server to it's own IPv6 address and > filter those who could potentially access it via IPFW :) > You need to install --- as basic packages --- Apache, subversion and mod_davsvn to access subversion repositories from HTTPS. > > Cheers! > > Steve > Best Regards, DMW From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 17:48:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8232106566B; Fri, 11 Sep 2009 17:48:28 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw30.mailanyone.net (smtp-gw30.mailanyone.net [208.70.128.56]) by mx1.freebsd.org (Postfix) with ESMTP id B4B668FC0C; Fri, 11 Sep 2009 17:48:27 +0000 (UTC) Received: from mailanyone.net by smtp-gw30.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1MmAEQ-0008Bf-3q; Fri, 11 Sep 2009 12:48:23 -0500 Message-ID: <4AAA8D60.4000300@identry.com> Date: Fri, 11 Sep 2009 13:48:16 -0400 From: John Almberg User-Agent: Postbox 1.0.0 (Macintosh/2009090801) MIME-Version: 1.0 To: Ivan Voras References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 17:48:28 -0000 > PHP is incredibly buggy and will in all probability break Apache if you > try running it in threaded mode. That doesn't sound so good. As a sanity check... I've been studying these processes all morning. When I use 'top', the column RES shows the amount of RAM used for the process, correct? This is the value I'd like to get down. Okay, well after a morning studying and observing, and thanks to suggestions from you all, I think I understand enough to start turning modules off. Crossing fingers... -- John From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 17:49:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42097106568F for ; Fri, 11 Sep 2009 17:49:30 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id 03C798FC18 for ; Fri, 11 Sep 2009 17:49:29 +0000 (UTC) Received: from haran.polands.org ([75.87.219.217]) by hrndva-omta01.mail.rr.com with ESMTP id <20090911174928974.VNVJ11562@hrndva-omta01.mail.rr.com> for ; Fri, 11 Sep 2009 17:49:28 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id n8BHnSqo077596 for ; Fri, 11 Sep 2009 12:49:28 -0500 (CDT) (envelope-from doug@polands.org) Received: from 209.103.215.99 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Fri, 11 Sep 2009 12:49:28 -0500 Message-ID: Date: Fri, 11 Sep 2009 12:49:28 -0500 From: "Doug Poland" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: NFS issues on 8.0-BETA4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 17:49:30 -0000 Hello, I have a 7.2-RELEASE(i386) server hosting NFSv3. I've installed 8.0-BETA4(amd64) in a VMware 6.5 workstation virtual machine. I cannot sucessfully mount exports from the NFSv3 server on the 8.0-BETA4 client. All works well with 7.2 clients. The strange thing is, the directory in which I mount the nfs filesystem disappears, and I get an error when I attempt to access the directory. On working the server, I set these knobs in /etc/rc.conf: mountd_flags="-l" nfs_reserved_port_only="NO" nfs_server_enable="YES" nfs_server_flags="-u -n 6" rpc_lockd_enable="YES" rpc_statd_enable="YES" On the client, I set these knobs in /etc/rc.conf: nfs_client_enable="YES" rpc_lockd_enable="YES" rpc_statd_enable="YES" client# mount -t nfs -o nfsv3,retrycnt=3,intr,soft,rsize=32768,wsize=32768 fs:/usr/ports /usr/ports I get a long delay (several seconds) client# echo $? 0 client# ls /usr/ports ls: /usr/ports: Permission denied client# echo $? 1 client# mount -t nfs fs:/usr/ports on /usr/ports (nfs) client# umount /usr/ports client# ls -ld /usr/ports drwxr-xr-x 2 root wheel 512 Sep 11 08:54 /usr/ports If I simplify the mount command, I get a different error: client# mount -t nfs fs:/usr/ports /usr/ports mount: /usr/ports: Permission denied client# echo $? 64 client# mount -t nfs fs:/usr/ports on /usr/ports (nfs) Any suggestions? -- Regards, Doug -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 18:00:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BA2C106566B for ; Fri, 11 Sep 2009 18:00:59 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id 228058FC0C for ; Fri, 11 Sep 2009 18:00:58 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id 31F451CC1E; Fri, 11 Sep 2009 08:00:58 -1000 (HST) Message-ID: <4AAA9059.5030502@hdk5.net> Date: Fri, 11 Sep 2009 08:00:57 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Matthias Apitz References: <20090911073027.GA2399@current.Sisis.de> In-Reply-To: <20090911073027.GA2399@current.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD commands... refcard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 18:00:59 -0000 Matthias Apitz wrote: > Hello, > > In some Linux mailing list of Cuba I'm subscribed to, I just stumbled > over this Debian GNU/Linux Reference Card: http://xinocat.com/refcard/ > which is available in many languages. This would be very helpfull for my > wife which 'must' ( :-)) run FreeBSD on her laptop. Is there something > like this for FreeBSD, and even in Spanish? Thanks > > matthias ############### Aloha Matthias, I have one of the cards for Unix (Generic) I have seen them in Drug (Pharmacia) Stores in several countries I have been to, Canada and Argentina for 2) for all sorts of how to's. Not just computers. I have seen English and Spanish language. The manufacturer of the UNIX one is Bar Charts of Boca Raton Fla, www.quickstudycharts.com ot www.barcharts.com Happy coaching. -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 18:05:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6E5E106566C for ; Fri, 11 Sep 2009 18:05:14 +0000 (UTC) (envelope-from linda.messerschmidt@gmail.com) Received: from mail-qy0-f200.google.com (mail-qy0-f200.google.com [209.85.221.200]) by mx1.freebsd.org (Postfix) with ESMTP id A0E638FC08 for ; Fri, 11 Sep 2009 18:05:14 +0000 (UTC) Received: by qyk38 with SMTP id 38so1101610qyk.27 for ; Fri, 11 Sep 2009 11:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=6PQgUobXrx4jXA7Yo5SpRNrvifufy3juM0SJiqXQSEY=; b=nVwB9kpAE6a32ujnVPhDuVHy3l8GHv1yiJ3kKeyCHFKqmc7GKE6zrbdOEcNkISd3ZP 6sSrKIUkgcvW0QScdCU/4OQ+gX43IA7FYej2sZ6g/TzUIsbAXaDIUqjt7I7mY0Uf6M00 6bEiDs8Xwh9wxM5wmlkSdJkwXKIobBopfxIg8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ceMxD1Kg4aQkSYKe1z1qWp44kmKeoyhf5GyZBYWNBz15DgZGwhI7PDy0FUQUwAXvOd ptcSCjZVr11m+FtJPcc3TlllM78WcP/sfkBHFSOyoa2Fb+UefBsyDeMaNfc561C1Ubls jJa5jn7EdW4Fh0k9TS2ad0rJ69TuVdlKnRIP4= MIME-Version: 1.0 Received: by 10.229.15.1 with SMTP id i1mr1411268qca.30.1252692313887; Fri, 11 Sep 2009 11:05:13 -0700 (PDT) In-Reply-To: <4AAA8D60.4000300@identry.com> References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> Date: Fri, 11 Sep 2009 14:05:13 -0400 Message-ID: <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> From: Linda Messerschmidt To: John Almberg Content-Type: text/plain; charset=ISO-8859-1 Cc: Ivan Voras , freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 18:05:15 -0000 On Fri, Sep 11, 2009 at 1:48 PM, John Almberg wrote: > As a sanity check... I've been studying these processes all morning. When I > use 'top', the column RES shows the amount of RAM used for the process, > correct? This is the value I'd like to get down. How many Apache processes are involved, total? Because I'm really not sure how much success you're going to have with this. You're at 22mb already (by comparison mine are 44mb *without* mod_php). How much improvement are you looking for? A couple of megs? Unless there are tens of thousands of processes, buying a couple of gigs of RAM is probably the most time and cost effective solution. Also keep in mind that a lot of the RES is the configuration, which isn't going to change at all when you disable modules. (Unless you change it.) From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 18:31:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E9281065670 for ; Fri, 11 Sep 2009 18:31:20 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by mx1.freebsd.org (Postfix) with ESMTP id 48CA18FC0C for ; Fri, 11 Sep 2009 18:31:19 +0000 (UTC) Received: by ywh9 with SMTP id 9so1877972ywh.32 for ; Fri, 11 Sep 2009 11:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=1BQ0G9vdaRJtEo0i8ZzTegGivyBSYvmDhQaf65a3qrk=; b=Of7huugUQxQiD1ZhZr/OzBMHsKQkwXRfrDcFP7U1CJlhNAd4sq8XjcamuJzBmYM5BE d3G7U7b7ZQ80dbTzKixHKOvqMEbeKRnApNrQStBr8KzUmGQiV7d/0NJY38VlOaNko6gd sdpi03y3lrmBmcKmDlU71cdfUnayw567NabnM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=mhFKzje9TLlYK+271PnK4BQB7mwI1M6wUYJvtPmiE7I23FC9knBo5k2SKvbBm+NfOu 0yEcTgx6Y6RuqoduSYyYcQSDv9CUpjB+U++O+XBRWnuXPZ3vOScOlaW/xnWsF5RNQqvc N7h4QMFNfGyM7zZTyiDsNlGy5LWbatZCLJX7M= MIME-Version: 1.0 Received: by 10.150.80.15 with SMTP id d15mr5492665ybb.28.1252693879408; Fri, 11 Sep 2009 11:31:19 -0700 (PDT) In-Reply-To: <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> Date: Fri, 11 Sep 2009 13:31:19 -0500 Message-ID: <6201873e0909111131s509b639fu7d6412169cb0a3b@mail.gmail.com> From: Adam Vande More To: Linda Messerschmidt Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: John Almberg , Ivan Voras , freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 18:31:20 -0000 On Fri, Sep 11, 2009 at 1:05 PM, Linda Messerschmidt < linda.messerschmidt@gmail.com> wrote: > On Fri, Sep 11, 2009 at 1:48 PM, John Almberg > wrote: > > As a sanity check... I've been studying these processes all morning. When > I > > use 'top', the column RES shows the amount of RAM used for the process, > > correct? This is the value I'd like to get down. > > How many Apache processes are involved, total? Because I'm really not > sure how much success you're going to have with this. You're at 22mb > already (by comparison mine are 44mb *without* mod_php). How much > improvement are you looking for? A couple of megs? > > Unless there are tens of thousands of processes, buying a couple of > gigs of RAM is probably the most time and cost effective solution. > > Also keep in mind that a lot of the RES is the configuration, which > isn't going to change at all when you disable modules. (Unless you > change it.) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Not to mention the RES column is a horribly inaccurate method of calculating mem usage by application. They don't run 18 MB each that is shared mem. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 18:41:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99BBF106566C for ; Fri, 11 Sep 2009 18:41:24 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 551668FC14 for ; Fri, 11 Sep 2009 18:41:23 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MmB3i-0004cs-O8 for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 20:41:22 +0200 Received: from pool-68-239-75-225.res.east.verizon.net ([68.239.75.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2009 20:41:22 +0200 Received: from nightrecon by pool-68-239-75-225.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2009 20:41:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Fri, 11 Sep 2009 14:41:32 -0400 Lines: 24 Message-ID: References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-68-239-75-225.res.east.verizon.net Sender: news Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 18:41:24 -0000 Ivan Voras wrote: > John Almberg wrote: > >> I am using PHP, in fact. I've listed all the loaded modules below, and >> marked the ones I added with an '*'. I need the proxy modules because I >> use Apache as a front end for Mongrel. > >> This WITH_MPM=worker sounds interesting. I'll have to read up on it. I >> guess there is some downside to enabling it, like slower performance? > > PHP is incredibly buggy and will in all probability break Apache if you > try running it in threaded mode. > Try mod_fcgid and run PHP as FastCGI if you want a threaded Apache. I've been running the event mpm on a test box at work this way. So far I've never had any trouble, but it is also not getting hammered either. Conventional wisdom is the event mpm is still considered "experimental" and therefore untrustworthy in a production environment. -Mike From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 18:48:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B94D1065670 for ; Fri, 11 Sep 2009 18:48:25 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id 4C01C8FC12 for ; Fri, 11 Sep 2009 18:48:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 188EA52F10 for ; Fri, 11 Sep 2009 20:31:35 +0200 (CEST) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by localhost (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id scQMIXxVGcaG for ; Fri, 11 Sep 2009 20:31:34 +0200 (CEST) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id D400852F0E for ; Fri, 11 Sep 2009 20:31:34 +0200 (CEST) From: bsd Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Date: Fri, 11 Sep 2009 20:31:34 +0200 Message-Id: <08AA332C-6F99-4B28-B391-92616C0602F1@todoo.biz> To: Liste FreeBSD Mime-Version: 1.0 (Apple Message framework v1076) X-Mailer: Apple Mail (2.1076) Subject: sudo script not executing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 18:48:25 -0000 Hello, I have an sh script that is called by the "www" process which has a =20 shell that defaults to /sbin/nologin I have configured the sudoers file with these settings: www ALL=3D(www) NOPASSWD: /usr/local/bin/postfixadmin-domain-=20 postdeletion.sh And It does not seem to be able to execute=85 > Sorry, user www is not allowed to execute '/usr/local/bin/=20 > postfixadmin-mailbox-postdeletion.sh y@test.com test.com' as www on = newmail.rmm.fr=20 > . > The file I am trying to delete is also owned by a non privileged =20 user=85 ?? Any clue =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF P "Please consider your environmental responsibility before printing =20 this e-mail" From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 19:42:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEFED106566C; Fri, 11 Sep 2009 19:42:37 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw30.mailanyone.net (smtp-gw30.mailanyone.net [208.70.128.56]) by mx1.freebsd.org (Postfix) with ESMTP id A896B8FC08; Fri, 11 Sep 2009 19:42:36 +0000 (UTC) Received: from mailanyone.net by smtp-gw30.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1MmC0s-00080F-ID; Fri, 11 Sep 2009 14:42:31 -0500 Message-ID: <4AAAA820.4020407@identry.com> Date: Fri, 11 Sep 2009 15:42:24 -0400 From: John Almberg User-Agent: Postbox 1.0.0 (Macintosh/2009090801) MIME-Version: 1.0 To: Linda Messerschmidt References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> In-Reply-To: <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ivan Voras , freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 19:42:37 -0000 Linda Messerschmidt wrote: > On Fri, Sep 11, 2009 at 1:48 PM, John Almberg wrote: >> As a sanity check... I've been studying these processes all morning. When I >> use 'top', the column RES shows the amount of RAM used for the process, >> correct? This is the value I'd like to get down. > > How many Apache processes are involved, total? Because I'm really not > sure how much success you're going to have with this. You're at 22mb > already (by comparison mine are 44mb *without* mod_php). How much > improvement are you looking for? A couple of megs? Yup... that's about what I got for my troubles. After turning off all the unneeded modules, they are now running about 17mb. Not a huge improvement... I definitely need more ram and I have it on order. While I'm waiting for it, I figured I'd see what processes I could slim down. My basic problem is at peak usage times (usually in the afternoon), the server starts using swap space, and then response times really bog down. This is on a 'spare' server that is temporarily in service while one of our 'big' servers is out for repair. This 'spare' server only has 1G ram and was never really meant for web server service. It's trying it's best. I'm just trying to lighten the load for it. -- John From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 19:48:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3FC7106566B for ; Fri, 11 Sep 2009 19:48:08 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout019.mac.com (asmtpout019.mac.com [17.148.16.94]) by mx1.freebsd.org (Postfix) with ESMTP id 9F4638FC13 for ; Fri, 11 Sep 2009 19:48:08 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp019.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KPT001A2OC32A00@asmtp019.mac.com> for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 12:48:03 -0700 (PDT) Message-id: From: Chuck Swiger To: John Almberg In-reply-to: <4AAAA820.4020407@identry.com> Date: Fri, 11 Sep 2009 12:48:03 -0700 References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> <4AAAA820.4020407@identry.com> X-Mailer: Apple Mail (2.936) Cc: FreeBSD - Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 19:48:08 -0000 Hi-- On Sep 11, 2009, at 12:42 PM, John Almberg wrote: > My basic problem is at peak usage times (usually in the afternoon), > the server starts using swap space, and then response times really > bog down. Limit the MaxChildren to the number of Apache httpd's which your machine can actually handle. You may (will!) still get some backlog, but keeping the system from swapping will help responsiveness.... Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 20:03:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC8CD10656B7; Fri, 11 Sep 2009 20:03:38 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by mx1.freebsd.org (Postfix) with ESMTP id 609C78FC08; Fri, 11 Sep 2009 20:03:38 +0000 (UTC) Received: by ywh9 with SMTP id 9so1980438ywh.32 for ; Fri, 11 Sep 2009 13:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=0ZJm3xS8gkm8K3hmGTa/7oSw64UTnB9J3+aNdXmpHK0=; b=eEEGWRe+9zPVhGbZbufA9Nx27gFy6o8yN7OgXmVka+EPBQHxKQ8o/Z+wqUq1eXWvoJ fChRigRqO0S4Qh0+8fIoNezNebFq8P17vv0lcqaSpTXS+BiAC5765xS9QDQ3veAcXg41 8GWqfPZIlMG+8sNkAYK0p9/N/kRXv/aQx6p44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=d+zamQZgioWJQM5OfJj/BgNrrLQ8fZ7bhNuRdN/nYJ08Lav4Tmm6WuAkRdqT+2o8Cu wIm1LdZ8Yg/3sGgR5ezQ4t4nBIchiA1ZhE+wZFjyjLPdQynbOWGYN71MMFrajH7s/99g ENSzeEpx5HwNUCfS6TNzLcH9WyahYckcmSg2E= MIME-Version: 1.0 Received: by 10.150.1.13 with SMTP id 13mr5568834yba.269.1252699417761; Fri, 11 Sep 2009 13:03:37 -0700 (PDT) In-Reply-To: <4AAAA820.4020407@identry.com> References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> <4AAAA820.4020407@identry.com> Date: Fri, 11 Sep 2009 15:03:37 -0500 Message-ID: <6201873e0909111303k472b20c2t43d9a635fa0151ee@mail.gmail.com> From: Adam Vande More To: John Almberg Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Linda Messerschmidt , Ivan Voras , freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 20:03:38 -0000 On Fri, Sep 11, 2009 at 2:42 PM, John Almberg wrote: > Linda Messerschmidt wrote: > >> On Fri, Sep 11, 2009 at 1:48 PM, John Almberg >> wrote: >> >>> As a sanity check... I've been studying these processes all morning. When >>> I >>> use 'top', the column RES shows the amount of RAM used for the process, >>> correct? This is the value I'd like to get down. >>> >> >> How many Apache processes are involved, total? Because I'm really not >> sure how much success you're going to have with this. You're at 22mb >> already (by comparison mine are 44mb *without* mod_php). How much >> improvement are you looking for? A couple of megs? >> > > Yup... that's about what I got for my troubles. After turning off all the > unneeded modules, they are now running about 17mb. Not a huge improvement... > > I definitely need more ram and I have it on order. While I'm waiting for > it, I figured I'd see what processes I could slim down. > > My basic problem is at peak usage times (usually in the afternoon), the > server starts using swap space, and then response times really bog down. > > This is on a 'spare' server that is temporarily in service while one of our > 'big' servers is out for repair. This 'spare' server only has 1G ram and was > never really meant for web server service. > > It's trying it's best. I'm just trying to lighten the load for it. > > -- John > > > You've misunderstood what you've done. You have not saved a couple of MB, you've saved one. Of the 18 MB, nearly all of it is shared memory which is only loaded once. This is a bit hypothetical but take the following > 1160 vandemorea 1 46 0 18M 83108K select 1 51:18 2.39% httpd 1482 vandemorea 11 44 0 18M 220M ucond 1 104:47 2.20% httpd 37776 vandemorea 20 44 0 18M 1179M select 1 95:43 1.76% httpd 1301 vandemorea 1 45 0 18M 28856K select 1 167:00 1.07% httpd 1311 vandemorea 2 47 0 18M 128M select 1 53:39 0.68% httpd 1407 vandemorea 2 44 0 18M 49284K select 1 3:41 0.20% httpd 38613 vandemorea 1 44 0 18M 31220K select 0 8:16 0.00% httpd 1320 vandemorea 2 44 0 18M 53788K ucond 1 5:20 0.00% httpd 5455 vandemorea 1 44 0 18M 1292K select 0 4:26 0.00% httpd 64974 vandemorea 21 52 0 18M 241M ucond 0 4:20 0.00% httpd from your posts, I understand you read that as httpd using a total of 180 MB of RAM. This is incorrect. The RES column also included shared mem which is only loaded once but counted on each line. So if the size of the shared mem in use by httpd is 17MB, in total it would be consuming 27MB, not the 180. So chasing memory savings here is probably not pursuing low hanging fruit. 1GB web server is more than enough for basic www server, even more. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 20:15:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B333E1065676 for ; Fri, 11 Sep 2009 20:15:28 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: from hal.rescomp.berkeley.edu (hal.Rescomp.Berkeley.EDU [169.229.70.150]) by mx1.freebsd.org (Postfix) with ESMTP id 9DBE68FC0C for ; Fri, 11 Sep 2009 20:15:28 +0000 (UTC) Received: by hal.rescomp.berkeley.edu (Postfix, from userid 1225) id 0E84F597D76; Fri, 11 Sep 2009 13:15:28 -0700 (PDT) Date: Fri, 11 Sep 2009 13:15:28 -0700 From: Chris Cowart To: bsd Message-ID: <20090911201527.GE37291@hal.rescomp.berkeley.edu> Mail-Followup-To: bsd , Liste FreeBSD References: <08AA332C-6F99-4B28-B391-92616C0602F1@todoo.biz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="XaUbO9McV5wPQijU" Content-Disposition: inline In-Reply-To: <08AA332C-6F99-4B28-B391-92616C0602F1@todoo.biz> Organization: RSSP-IT, UC Berkeley User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Liste FreeBSD Subject: Re: sudo script not executing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 20:15:28 -0000 --XaUbO9McV5wPQijU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable bsd wrote: > I have an sh script that is called by the "www" process which has a =20 > shell that defaults to /sbin/nologin >=20 > I have configured the sudoers file with these settings: >=20 > www ALL=3D(www) NOPASSWD: /usr/local/bin/postfixadmin-domain-=20 > postdeletion.sh >=20 >=20 > And It does not seem to be able to execute? >=20 >=20 > > Sorry, user www is not allowed to execute '/usr/local/bin/=20 > > postfixadmin-mailbox-postdeletion.sh y@test.com test.com' as www on new= mail.rmm.fr=20 > > . > > >=20 >=20 > The file I am trying to delete is also owned by a non privileged =20 > user? ?? The user www is www, so you shouldn't need to sudo to run as that account. Did you mean to setup the rule for the postfix user? Or a postfix target account? That said, I think what you typed should have worked. You shouldn't have seen "www is not allowed to execute ... as www", because your sudoers file says otherwise. Assuming your account has full sudo, what do you see if you type: $ sudo -u www sudo -l Hopefully, because of the NOPASSWD in there, you won't have to produce www's password. Is your script (postfixadmin-domain-postdeletion.sh) readable and executable by user www? Do you have any trailing characters or something on the line with your sudo rule which might make sudo think you've typed a literal command with arguments instead of a command that can be run with arbitrary arguments? --=20 Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley --XaUbO9McV5wPQijU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iQIcBAEBAwAGBQJKqq/fAAoJEC8b9sM8ejXtcX0P/iZmSAJ5GA7VM5lwlgzAMsko 537+hQ5qPPRTtob0dVZZ/4sC3K3/NeAYsPtddlU0iFUH+bMOeg16fL3wB2tKPUMk JskQ5+5oRlVrg+GUAnR/cBk1o5xpvl0A1lZEf91er6pXQMoQ/PfvlLb3EIlxUIr4 XmqDI76uvsupGJV9NW+WY1nRcWKt1Hfej0tG/XhW2TjG7W4rtozDXZeHrzofqwK7 juIARwPpjIaRfx4pyeenJennI4kMcTy6Zsk4yzbmJKXSSSjTNhzaNdAuEX2qG9g5 TEM5ZivMZsvbwfY+UQnDOvcKurJUJITze6RzUDQ93edLn0eTHNWfYTf0zw/hw+bB 7UODrZQW5p+D4Bc60wIrMC+5SzjiQifqCGHkJye4n3Qjmp/hqbvaIMkWARwswig/ 0rDJBsWXMTeBH9X5qemWutvwFiK2vCsFX71Vpo0Wva+vgnNC3iLaj9MYdESf0Ji/ XSyNmbvy356OMZrayPfrzrr2+KKwl+rhe0qVvZ7NkSlvbHOx4xJX0TDukEtixgC3 MGXaTq6+gkqZy6B8fBygHndstU6xXLKfWfbr9nCt+H/uTR3CQreAiMzDI4E2yklN 2/SJ9tvQpfspIKhoYK/euKDVNMsKluo0cCCahTLvZ6+ZY0r0xq/xPjYBqonN3phf NLeVrhjmkETF+ACKorIP =ubL/ -----END PGP SIGNATURE----- --XaUbO9McV5wPQijU-- From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 20:21:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 770CE106566B for ; Fri, 11 Sep 2009 20:21:03 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id 525AD8FC08 for ; Fri, 11 Sep 2009 20:21:03 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1MmCc5-0000OK-Gu for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 15:20:58 -0500 Message-ID: <4AAAB124.8050908@identry.com> Date: Fri, 11 Sep 2009 16:20:52 -0400 From: John Almberg User-Agent: Postbox 1.0.0 (Macintosh/2009090801) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> <4AAAA820.4020407@identry.com> <6201873e0909111303k472b20c2t43d9a635fa0151ee@mail.gmail.com> In-Reply-To: <6201873e0909111303k472b20c2t43d9a635fa0151ee@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 20:21:03 -0000 > You've misunderstood what you've done. You have not saved a couple of > MB, you've saved one. Of the 18 MB, nearly all of it is shared memory > which is only loaded once. Ah... Okay. That actually makes sense. Thanks for the clarification. > 1GB web server is more than enough for basic www server, even more. I would have thought, but some times it really gets slow and I'm trying to figure out why. When bogged down, the load averages are low. The main thing that looks out of whack is swap space, which seems to never go below 7%, but sometimes gets up into the 20%-30% range. When it gets that high, the server slows to a crawl. last pid: 12732; load averages: 0.44, 0.31, 0.27 up 34+03:57:58 16:16:27 187 processes: 2 running, 185 sleeping CPU: 4.5% user, 0.0% nice, 1.1% system, 0.0% interrupt, 94.4% idle Mem: 425M Active, 106M Inact, 268M Wired, 3160K Cache, 110M Buf, 176M Free Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 20:36:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0493106566C for ; Fri, 11 Sep 2009 20:36:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 81C278FC17 for ; Fri, 11 Sep 2009 20:36:50 +0000 (UTC) Received: from r55.edvax.de (port-92-195-27-155.dynamic.qsc.de [92.195.27.155]) by mx02.qsc.de (Postfix) with ESMTP id 095FE1E63C; Fri, 11 Sep 2009 22:36:48 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n8BKamP7002210; Fri, 11 Sep 2009 22:36:48 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 11 Sep 2009 22:36:48 +0200 From: Polytropon To: jaymax Message-Id: <20090911223648.84368cfe.freebsd@edvax.de> In-Reply-To: <25391151.post@talk.nabble.com> References: <25391151.post@talk.nabble.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading 6.0 to 6.x... without /var X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 20:36:50 -0000 On Thu, 10 Sep 2009 14:14:55 -0700 (PDT), jaymax wrote: > =>> Error Messages > [i] "Error mounting /mnt/dev ad0as1e on /mnt/usr : Input/output error" > [ii] "Error mounting /mnt/dev ad0as1f on /mnt/usr : Input/output error" ^^^^^^^ This looks weird. Is this for real? Partition names should be ad0s1e (or f), not ad0*a*s1e (or f). Have you specified the correct device names? > Then tries to a form a holographic shell > asks for directory to save current /etc?, prompts with /var/tmp/etc, I > changed it to "/usr/tmp2/etc" => "Unable to backup your /etc int > /usr/tmp2/etc. Do you want to continue anyway?" > Opt'd out w/ a No! selection. > > Could this problem result from the absence of a /var partition ? No, but the system can neither access /var (even as a symlink), nor can it access /usr because it isn't mounted - as far as it seems to me. > Is there an alt. Strategy for a 6.0 =>6.4 upgrade, while maintaining all the > previous custom and configuration files? You could first start with a live system CD (FreeBSD's own one or FreeSBIE), then mount / and /usr (where /var does exist) and copy the important subtrees, such as /etc, /var/db/pkg and /usr/local/etc. You can then overwrite everything and reinstall your configuration files manually. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 20:40:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84596106566C for ; Fri, 11 Sep 2009 20:40:18 +0000 (UTC) (envelope-from dmontalvo@gmail.com) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by mx1.freebsd.org (Postfix) with ESMTP id 3B37F8FC0A for ; Fri, 11 Sep 2009 20:40:17 +0000 (UTC) Received: by ywh9 with SMTP id 9so2020925ywh.32 for ; Fri, 11 Sep 2009 13:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=6MbYmPGBH1xKRslrSZT6vsc4hFI8zMC6mymhaCHJWxU=; b=WuGYSZ2/mV06Ox9QS5uh8CJn9KqfG2ezJhExB7Qbz90eJh5RLSSJJTolCF/I48BSAv ESrjMH52+afO8uJtAHus5yyeYxW9PiFwXTECwkMUbxiFgD2EVVxeXzB+EJ8uA7qeNjwG eeA56UWMV+AfrN06LmXfq9I5W1JVRJRcl1n5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=e392AkmLvo1Cx1eF0SdiWLMev/unPO7fmfHrtK5u/pD4KYGZu0kXMozCvdGM3EJxgi QCK5m9pAx1JnjU4vNHW/WVBgXO2qzj6+vnFpiCyqEEUkKGDf6yiYnNuD28HnODY/9qcV 0aTM0hKHgA6BTiMEX0kLUN2moaRLdFDJrXiZc= MIME-Version: 1.0 Received: by 10.101.180.33 with SMTP id h33mr3740276anp.155.1252701617428; Fri, 11 Sep 2009 13:40:17 -0700 (PDT) In-Reply-To: <4AAAB124.8050908@identry.com> References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> <4AAAA820.4020407@identry.com> <6201873e0909111303k472b20c2t43d9a635fa0151ee@mail.gmail.com> <4AAAB124.8050908@identry.com> Date: Fri, 11 Sep 2009 13:40:17 -0700 Message-ID: From: Diego Montalvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 20:40:18 -0000 Have given Nginx web server a try? It is small and may work better with limited RAM. http://www.nginx.net/ http://urloid.com/nginx1 Diego 2009/9/11 John Almberg : > >> You've misunderstood what you've done. =A0You have not saved a couple of >> MB, you've saved one. =A0Of the 18 MB, nearly all of it is shared memory >> which is only loaded once. > > Ah... Okay. That actually makes sense. Thanks for the clarification. > >> 1GB web server is more than enough for basic www server, even more. > > I would have thought, but some times it really gets slow and I'm trying t= o > figure out why. When bogged down, the load averages are low. The main thi= ng > that looks out of whack is swap space, which seems to never go below 7%, = but > sometimes gets up into the 20%-30% range. When it gets that high, the ser= ver > slows to a crawl. > > > last pid: 12732; =A0load averages: =A00.44, =A00.31, 0.27 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0up 34+03:57:58 =A016:1= 6:27 > 187 processes: 2 running, 185 sleeping > CPU: =A04.5% user, =A00.0% nice, =A01.1% system, =A00.0% interrupt, 94.4%= idle > Mem: 425M Active, 106M Inact, 268M Wired, 3160K Cache, 110M Buf, 176M Fre= e > Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 20:45:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 423D310656A3 for ; Fri, 11 Sep 2009 20:45:32 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f193.google.com (mail-yx0-f193.google.com [209.85.210.193]) by mx1.freebsd.org (Postfix) with ESMTP id E8A2D8FC21 for ; Fri, 11 Sep 2009 20:45:31 +0000 (UTC) Received: by yxe31 with SMTP id 31so1848129yxe.29 for ; Fri, 11 Sep 2009 13:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=dlnGghT0Am33/fM1W/1cTbO/ThIoTFPF14jJxHIQpq4=; b=YSdE3NWUAkG5A89mxrIxK183W66b2hB1Gb6x38kkDt8u/D3XBnCU4S9uYHfDP+21wg /ppbdAR927c72RAW4pwUJftChjB2FLj7BMeu+sgdUszMpSSQzv12QhTBO40XGqWmbhoy DymttHKYVHKydw4yjx7Q77u3OZrcit83yBhUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PSDbeo8M9hn0oVnbjPopds47k0xNZYngULLquWMl+bYLaL21UAzOTJy0RxamuJR6vV 4MEgxdXCyfgo92q0bM0y0WPKnsM0A/NzpsrTb7sJ5iRZJh5TeWrjFSwk2RmNl7QPtv6F ItKZZhTgDDEVaP5YuDNjjlusbs2u9NZ5uw/Eg= MIME-Version: 1.0 Received: by 10.150.110.1 with SMTP id i1mr5700520ybc.63.1252701930873; Fri, 11 Sep 2009 13:45:30 -0700 (PDT) In-Reply-To: <4AAAB124.8050908@identry.com> References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> <4AAAA820.4020407@identry.com> <6201873e0909111303k472b20c2t43d9a635fa0151ee@mail.gmail.com> <4AAAB124.8050908@identry.com> Date: Fri, 11 Sep 2009 15:45:30 -0500 Message-ID: <6201873e0909111345t1e575dd3pd1b9985aa51813f2@mail.gmail.com> From: Adam Vande More To: John Almberg Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 20:45:32 -0000 On Fri, Sep 11, 2009 at 3:20 PM, John Almberg wrote: > > You've misunderstood what you've done. You have not saved a couple of >> MB, you've saved one. Of the 18 MB, nearly all of it is shared memory >> which is only loaded once. >> > > Ah... Okay. That actually makes sense. Thanks for the clarification. > > 1GB web server is more than enough for basic www server, even more. >> > > I would have thought, but some times it really gets slow and I'm trying to > figure out why. When bogged down, the load averages are low. The main thing > that looks out of whack is swap space, which seems to never go below 7%, but > sometimes gets up into the 20%-30% range. When it gets that high, the server > slows to a crawl. > > > last pid: 12732; load averages: 0.44, 0.31, 0.27 > up 34+03:57:58 16:16:27 > 187 processes: 2 running, 185 sleeping > CPU: 4.5% user, 0.0% nice, 1.1% system, 0.0% interrupt, 94.4% idle > Mem: 425M Active, 106M Inact, 268M Wired, 3160K Cache, 110M Buf, 176M Free > Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse > > > You're on the right track pursuing whatever is consuming swap. Are there any other services running on the system which may be consuming mem? eg postgresql? You can start eliminating unnecessary services, and limiting memory by app. php.ini contains a knob for this. Plus as mentioned before limiting number of connections may help depending on what other things system is running. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 21:00:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09CE91065692 for ; Fri, 11 Sep 2009 21:00:21 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id C21978FC1D for ; Fri, 11 Sep 2009 21:00:20 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MmDEC-00046p-27 for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 14:00:20 -0700 Message-ID: <25408257.post@talk.nabble.com> Date: Fri, 11 Sep 2009 14:00:20 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <20090911223648.84368cfe.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com References: <25391151.post@talk.nabble.com> <20090911223648.84368cfe.freebsd@edvax.de> Subject: Re: Upgrading 6.0 to 6.x... without /var X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 21:00:21 -0000 Polytropon wrote: > > On Thu, 10 Sep 2009 14:14:55 -0700 (PDT), jaymax > wrote: >> =>> Error Messages >> [i] "Error mounting /mnt/dev ad0as1e on /mnt/usr : Input/output error" >> [ii] "Error mounting /mnt/dev ad0as1f on /mnt/usr : Input/output error" > ^^^^^^^ > This looks weird. Is this for real? Partition names should > be ad0s1e (or f), not ad0*a*s1e (or f). Have you specified > the correct device names? > > You are correct my typos, they are > ad0s1e and ad0s1f for /tmp and /usr respectively; /var is replaced by soft > link > ln -s /usr/var /var > ( running an email server on this box runs the risk of 'filesystem full' > with a 'small' restricted /var partition , this way the problem is escaped > ) > > >> Then tries to a form a holographic shell >> asks for directory to save current /etc?, prompts with /var/tmp/etc, I >> changed it to "/usr/tmp2/etc" => "Unable to backup your /etc int >> /usr/tmp2/etc. Do you want to continue anyway?" >> Opt'd out w/ a No! selection. >> >> Could this problem result from the absence of a /var partition ? > > No, but the system can neither access /var (even as a symlink), nor > can it access /usr because it isn't mounted - as far as it seems to > me. > > They are mounted > >> Is there an alt. Strategy for a 6.0 =>6.4 upgrade, while maintaining all >> the >> previous custom and configuration files? > > You could first start with a live system CD (FreeBSD's own one or > FreeSBIE), then mount / and /usr (where /var does exist) and copy > the important subtrees, such as /etc, /var/db/pkg and /usr/local/etc. > You can then overwrite everything and reinstall your configuration > files manually. > > I'll give that a try, I've already started on the cvsupd approach > suggested earlier. > > Thanks! > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/Upgrading-6.0-to-6.x...-without--var-tp25391151p25408257.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 21:10:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A0B3106576A for ; Fri, 11 Sep 2009 21:10:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6FBE48FC14 for ; Fri, 11 Sep 2009 21:10:10 +0000 (UTC) Received: from r55.edvax.de (port-92-195-27-155.dynamic.qsc.de [92.195.27.155]) by mx01.qsc.de (Postfix) with ESMTP id 160FE3CA06; Fri, 11 Sep 2009 23:10:09 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n8BLA8O7002431; Fri, 11 Sep 2009 23:10:08 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 11 Sep 2009 23:10:08 +0200 From: Polytropon To: jaymax Message-Id: <20090911231008.87115e75.freebsd@edvax.de> In-Reply-To: <25408257.post@talk.nabble.com> References: <25391151.post@talk.nabble.com> <20090911223648.84368cfe.freebsd@edvax.de> <25408257.post@talk.nabble.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading 6.0 to 6.x... without /var X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 21:10:13 -0000 On Fri, 11 Sep 2009 14:00:20 -0700 (PDT), jaymax wrote: > You are correct my typos, they are > ad0s1e and ad0s1f for /tmp and /usr respectively; /var is replaced by soft > link > ln -s /usr/var /var So the problem is /usr cannot be mounted. First of all, just try it manually, as I mentioned (from FreeBSD live system CD or by using FreeSBIE), e. g. # mount /dev/ad0s1e /mnt/usr Because the installer does not expect /var to exist, and because it does reside on the former / partition which is /mnt/ while installing (as far as I remember), /var cannot be accessed. In this case, / needs to be mounted as /mnt/ and /usr needs to be mounted as /mnt/usr; the problem is: if /var really points at /usr/var, then /mnt/var will point at /usr/var, too, which does not resolve because it exists as /mnt/usr/var during the installation. An idea would be to specify a different path in the partition editor, but not let the installer form an /etc/fstab from this setting. Another idea would be to change the /var symlink on / from /var@ -> /usr/var to /var@ -> usr/var so that it will work when / is mounted as /mnt/; the result will then correctly be /mnt/var@ -> /mnt/usr/var > (running an email server on this box runs the risk of 'filesystem full' > with a 'small' restricted /var partition , this way the problem is escaped) That's why I prefer to use "one big / partition" in such settings where I have no chance to reliably determine the future requirements of partition sizes. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 22:15:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62EE51065676 for ; Fri, 11 Sep 2009 22:15:16 +0000 (UTC) (envelope-from linda.messerschmidt@gmail.com) Received: from mail-qy0-f200.google.com (mail-qy0-f200.google.com [209.85.221.200]) by mx1.freebsd.org (Postfix) with ESMTP id 191668FC1D for ; Fri, 11 Sep 2009 22:15:15 +0000 (UTC) Received: by qyk38 with SMTP id 38so1277448qyk.27 for ; Fri, 11 Sep 2009 15:15:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=H428DK3QmluVW6NgvLTd7xXASgG4tTW11wGWEobpE1A=; b=NpoN8zvvHgKP3eErMVE2+7e0bMlymOSDrdwXElxvDYNAgoPMg7NS5Jh2qmx40bRVwN NSD+VSlpC2tkqQh06FJC9UcKzcrbEqRkSLabNT3S+5fSn/zpPAmMpBM1niWLmwS2JQi2 910LK3T25eEHkHQ35vJd/Q8JUkVjH6gyeT25M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jX4keVCq5NgcQFR/66P8WkDpB9tILIi+jscBzrk3FbW5ElrYppaKZYo9gOeZAOD92R D3AUo2EelBUkRHrxdjU8nZY6mkpaKFPEbrQCxDMhqF5xqnLbT6079uqKgTbnbe3yLfZj Aql5GjYEzzub+iLDQMgyavhE67J2ZAPmP0DE4= MIME-Version: 1.0 Received: by 10.229.15.1 with SMTP id i1mr1455667qca.30.1252707315488; Fri, 11 Sep 2009 15:15:15 -0700 (PDT) In-Reply-To: <4AAAB124.8050908@identry.com> References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> <4AAAA820.4020407@identry.com> <6201873e0909111303k472b20c2t43d9a635fa0151ee@mail.gmail.com> <4AAAB124.8050908@identry.com> Date: Fri, 11 Sep 2009 18:15:14 -0400 Message-ID: <237c27100909111515s70310092ua980038b3f16983e@mail.gmail.com> From: Linda Messerschmidt To: John Almberg Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 22:15:16 -0000 On Fri, Sep 11, 2009 at 4:20 PM, John Almberg wrote: > I would have thought, but some times it really gets slow and I'm trying to > figure out why. When bogged down, the load averages are low. The main thing > that looks out of whack is swap space, which seems to never go below 7%, but > sometimes gets up into the 20%-30% range. When it gets that high, the server > slows to a crawl. In this case you don't want to look at processes with big RES, you want to find processes with a big difference between RES and SIZE and/or the ones with flat-out largest SIZE. Try sorting top by SIZE and see what bubbles up. (Ignore rpc.statd if it's running.) From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 00:14:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0260106566C for ; Sat, 12 Sep 2009 00:14:58 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id A8C788FC18 for ; Sat, 12 Sep 2009 00:14:57 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1MmGGR-0006am-IA for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 19:14:52 -0500 Message-ID: <4AAAE7F6.2060806@identry.com> Date: Fri, 11 Sep 2009 20:14:46 -0400 From: John Almberg User-Agent: Postbox 1.0.0 (Macintosh/2009090801) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> <4AAAA820.4020407@identry.com> <6201873e0909111303k472b20c2t43d9a635fa0151ee@mail.gmail.com> <4AAAB124.8050908@identry.com> <237c27100909111515s70310092ua980038b3f16983e@mail.gmail.com> In-Reply-To: <237c27100909111515s70310092ua980038b3f16983e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 00:14:58 -0000 > In this case you don't want to look at processes with big RES, you > want to find processes with a big difference between RES and SIZE > and/or the ones with flat-out largest SIZE. Try sorting top by SIZE > and see what bubbles up. (Ignore rpc.statd if it's running.) Huh... okay. That's interesting. Well the biggest SIZE process is mysql, followed by three mongrel instances (for a ruby on rails app), and then a bunch of httpd processes. Mysql is optimized for a small server, there isn't much I can do about the size of the Rails app, so the apache instances seemed like the logical place to start. I'm starting to wonder about the Swap info from top... it never changes. It has said the same thing all day, since I've been watching it. Does that make sense? Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse -- John From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 00:31:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0C44106566B for ; Sat, 12 Sep 2009 00:31:57 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id A860D8FC22 for ; Sat, 12 Sep 2009 00:31:56 +0000 (UTC) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 11 Sep 2009 20:31:56 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.10.7-GA) with ESMTP id QED49150; Fri, 11 Sep 2009 20:31:11 -0400 (EDT) Received: from 209-6-22-227.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.227]) by smtp01.lnh.mail.rcn.net with ESMTP; 11 Sep 2009 20:31:11 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19114.60366.838686.34990@jerusalem.litteratus.org> Date: Fri, 11 Sep 2009 20:31:10 -0400 To: John Almberg In-Reply-To: <4AAAE7F6.2060806@identry.com> References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> <4AAAA820.4020407@identry.com> <6201873e0909111303k472b20c2t43d9a635fa0151ee@mail.gmail.com> <4AAAB124.8050908@identry.com> <237c27100909111515s70310092ua980038b3f16983e@mail.gmail.com> <4AAAE7F6.2060806@identry.com> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 00:31:58 -0000 John Almberg writes: > I'm starting to wonder about the Swap info from top... it never > changes. It has said the same thing all day, since I've been > watching it. Does that make sense? The current machine has 8G, so ... porbably not a good test case. :-) It's predecessor succumbed when it had 2G; depending on what was running, sometimes the swap would stick for hours or even days, Robert Huff From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 03:16:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1050C106568B for ; Sat, 12 Sep 2009 03:16:05 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id AD8D98FC1E for ; Sat, 12 Sep 2009 03:16:04 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id E5B711CC17; Fri, 11 Sep 2009 17:16:02 -1000 (HST) Message-ID: <4AAB1272.7030809@hdk5.net> Date: Fri, 11 Sep 2009 17:16:02 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Adam Vande More , Chris Hill , Manolis Kiagias , "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: DVD-R recording .iso SOLVED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 03:16:05 -0000 Aloha, On Wed, 9 Sep 2009, Al Plant wrote: > Chris Hill wrote: >> On Wed, 9 Sep 2009, Al Plant wrote: >> >>> Aloha, >>> >>> on FreeBSD 8 Current >>> >>> I have installed growisofs. I want to burn a DVD R of /path/7.2-RELEASE-p1-i386-disc1.iso . >>> >>> #growisofs -dvd-compat -Z /dev/cd0=/path/7.2-RELEASE-p1-i386-disc1.iso . >>> >>> Got this from FreeBSD handbook. Get no such file or directory error. Whats wrong with the syntax? >> >> Caveats about anything I say: 1) I'm using 7.2, and b) I'm using +R media. >> >> Nothing is wrong with the syntax, although your command above says the ISO file is in a directory called /path. Does the directory exist? Is the ISO in that directory? Permissions OK on everything? Does /dev/cd0 point to your burner? And as Adam said, make sure you have atapicam loaded. >> >> I'm also assuming that dot at the end of your line is a period at the end of your sentence, and not part of the command you issued. >> >>> Is this the correct way to copy an .iso onto a DVD-R for installs? >> >> It burns the ISO to the disk as a premastered disk, which is what you want in this situation. If you wanted to just copy the ISO as a file, you'd replace the = sign with a space. >> >>> Or can I just use burncd like somebody on the BSD forum said they did? >> >> I have no idea what somebody on the BSD forum said :^) >> >> HTH. Hang loose. >> >> -- >> Chris Hill chris@monochrome.org >> ** [ Busy Expunging <|> ] >> > Aloha, > > The directory path is /usr/home/alp/FreeBSD_7 that is ok. > > The = could be what is not proper in the Handbook. *Actually the = is correct, and you do need it for what you're doing. I *just went through this over the weekend. The = looked wrong, so I tried *doing without. What I ended up with was a data DVD with an ISO file on *it - not what I wanted! I would guess the command you need is *growisofs -dvd-compat -Z */dev/cd0=/usr/home/alp/FreeBSD_7/7.2-RELEASE-p1-i386-disc1.iso *(Probably wrapped in the email, but it needs to be all one line.) It's *simplest if you do this as root, or via su or sudo, which I think *you've been doing. > I'll put apticam_load="YES" in the /boot/loader.conf /Thats not in the Handbook either. *I noticed that omission too. *Putting that line in /boot/loader.conf makes the module load on the *next boot, but doesn't load it right now. You can see if it's already *loaded by issuing a kldstat command. If you see atapicam.ko in *response, you're good. If not, do a *kldload atapicam.ko *..as root or equivalent, to load the module immediately without a *reboot. Just for completeness, you may want to also * ls /dev | grep ^cd *..to make sure you have a cd0 device, after loading the module. It *might be some number other than 0, depending on your hardware, in which *case change the growisofs command accordingly. > Thanks for the help. *It's one of the few questions around here that I know the answer to, so *I'm glad to! Makes me feel useful or something. -- *Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] ############ Aloha, Here's how it worked. From sysutils/dvd+rw-tools I installed the DVD port # growisofs I used the following from all the suggestions and it worked with Manolis DVD p1 7.2 1st> I put hw.ata.atapi_dma="1" in the /boot/loader.conf 2nd> put apticam_load="YES" in the /boot/loader.conf (That 2nd 18.7.2 instruction is not clear in the Handbook section and should be added.) Then> I ran # growisofs -dvd-compat -Z dev/cd0=/usr/home/alp/FreeBSD_7/7.2-RELEASE-p1-i386-disc1.iso (all on one line) Then> I was able to use cd0 as a DVD burner and make the DVD-R I tested the DVD on a spare box and it installed just fine. I suggest that the authors of the section 18.7/2 add the sample command line for atapicam as they did for dma="1" to eliminate the confusion. Thanks to all who helped ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 03:25:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F7831065670 for ; Sat, 12 Sep 2009 03:25:34 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 301C78FC17 for ; Sat, 12 Sep 2009 03:25:34 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id n8C3PXha083896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 11 Sep 2009 22:25:33 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n8C3PX2W004549 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 11 Sep 2009 22:25:33 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n8C3PWNt004548; Fri, 11 Sep 2009 22:25:32 -0500 (CDT) (envelope-from dan) Date: Fri, 11 Sep 2009 22:25:32 -0500 From: Dan Nelson To: John Almberg Message-ID: <20090912032532.GB54762@dan.emsphone.com> References: <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> <4AAAA820.4020407@identry.com> <6201873e0909111303k472b20c2t43d9a635fa0151ee@mail.gmail.com> <4AAAB124.8050908@identry.com> <237c27100909111515s70310092ua980038b3f16983e@mail.gmail.com> <4AAAE7F6.2060806@identry.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AAAE7F6.2060806@identry.com> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Fri, 11 Sep 2009 22:25:33 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 03:25:34 -0000 In the last episode (Sep 11), John Almberg said: > > In this case you don't want to look at processes with big RES, you > > want to find processes with a big difference between RES and SIZE > > and/or the ones with flat-out largest SIZE. Try sorting top by SIZE > > and see what bubbles up. (Ignore rpc.statd if it's running.) > > Huh... okay. That's interesting. > > Well the biggest SIZE process is mysql, followed by three mongrel > instances (for a ruby on rails app), and then a bunch of httpd processes. > > Mysql is optimized for a small server, there isn't much I can do about the > size of the Rails app, so the apache instances seemed like the logical > place to start. > > I'm starting to wonder about the Swap info from top... it never changes. > It has said the same thing all day, since I've been watching it. Does > that make sense? > > Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse If you previously ran some memory-intensive program, the system would have pushed some unused data out to disk ( login processes for unused VTYs, other daemons that are rarely used, etc ), but it won't free up that swap space until those processes exit. As long as you don't see "###K Out, ###K In" on that swap line, you're not actively using the swap space and don't have to worry. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 04:30:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38B58106566B for ; Sat, 12 Sep 2009 04:30:23 +0000 (UTC) (envelope-from kkuzmenko@mac.com) Received: from asmtpout012.mac.com (asmtpout012.mac.com [17.148.16.87]) by mx1.freebsd.org (Postfix) with ESMTP id 25EED8FC13 for ; Sat, 12 Sep 2009 04:30:23 +0000 (UTC) MIME-version: 1.0 Received: from [192.168.1.65] ([68.161.169.188]) by asmtp012.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPA id <0KPU0083C9QM9690@asmtp012.mac.com> for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 20:30:23 -0700 (PDT) To: freebsd-questions@freebsd.org Message-id: From: KKuzmenko Date: Fri, 11 Sep 2009 23:30:21 -0400 X-Mailer: Apple Mail (2.753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Support for Apple iBook keyboards X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 04:30:23 -0000 I need a replacement keyboard for my iBook (Processor 500MHz, PowerPC G3, 384 MB SDRAM, build 8S165, machine model PowerBook4,1, CPU PowerPC 750 (32.14), Bus Speed 67 MHz, USB Bus 3200, File System HFS+ AND - DIMM0/BUILT-IN: size 128 MB. Please advise mr of the following: 1) Do you carry it? 2) What is the price? 3) And most importantly- how easy/difficult is it to install? The only experience that I have with hardware installing a new HD on a Power Mac 7100. Thank you in advance with your help/reply. Cordially, K Kuzmenko From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 04:59:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67AD110656A4 for ; Sat, 12 Sep 2009 04:59:22 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-319.bluehost.com (outbound-mail-319.bluehost.com [67.222.54.251]) by mx1.freebsd.org (Postfix) with SMTP id 361108FC15 for ; Sat, 12 Sep 2009 04:59:21 +0000 (UTC) Received: (qmail 24715 invoked by uid 0); 12 Sep 2009 04:59:21 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy6.bluehost.com with SMTP; 12 Sep 2009 04:59:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=KNRgqF6ThEuif++Oko48Tpi7Fv9qBznFnHinMldGHt2SaMiOsBM0typTk2TS2P8mQp78xV8jT45y8dhMTn7o3Icevmfdk4P+EK0355629c8FqVsOXy2mxoLO13hrR4CH; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MmKhl-0008J6-Ex for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 22:59:21 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Fri, 11 Sep 2009 22:59:20 -0600 Date: Fri, 11 Sep 2009 22:59:20 -0600 From: Chad Perrin To: FreeBSD Questions Message-ID: <20090912045920.GA27240@kokopelli.hydra> Mail-Followup-To: FreeBSD Questions References: <20090911034913.GA22437@kokopelli.hydra> <20090911104025.GA23566@torus.slightlystrange.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <20090911104025.GA23566@torus.slightlystrange.org> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: linux-pango won't install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 04:59:22 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 11, 2009 at 11:40:26AM +0100, Daniel Bye wrote: >=20 > I remember having the devil's own job upgrading this a while ago. Try > running the install manually - portinstall tends to obscure the real > error message, making it harder to track down the specific problem. Doing > it manually should at least let you see what's going wrong! I should have thought of that myself. Thanks for having patience and giving me an informative response. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth C. S. Lewis: "We all want progress, but if you're on the wrong road, progress means doing an about-turn and walking back to the right road; in that case, the man who turns back soonest is the most progressive." --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkqrKqgACgkQ9mn/Pj01uKVm8wCgk/r96EZbWrpmgeqGG+5nTtqS uf4An18b9Xb3yoZkEyi/QYg/YRaC8SAe =z0Gd -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 05:01:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 118A310656A6 for ; Sat, 12 Sep 2009 05:01:26 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-113.bluehost.com (outbound-mail-113.bluehost.com [69.89.24.3]) by mx1.freebsd.org (Postfix) with SMTP id D251D8FC18 for ; Sat, 12 Sep 2009 05:01:25 +0000 (UTC) Received: (qmail 25138 invoked by uid 0); 12 Sep 2009 05:01:25 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy3.bluehost.com with SMTP; 12 Sep 2009 05:01:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=EsRfsJLeBqRGM/dtlhCKy2fEjXq+G2Jfickqp6VOxOxI2JAY8cId1130siD9wiZMnb6vxu9e8lByx6e0Mn7+4/PRIe21mSP0t+a269ttlQinUfj0zndIu/BAVVkW0M/N; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MmKjk-0002vT-Fn for freebsd-questions@freebsd.org; Fri, 11 Sep 2009 23:01:24 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Fri, 11 Sep 2009 23:01:23 -0600 Date: Fri, 11 Sep 2009 23:01:23 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20090912050123.GB27240@kokopelli.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <20090911034913.GA22437@kokopelli.hydra> <20090911104025.GA23566@torus.slightlystrange.org> <4AAA2B35.4010309@infracaninophile.co.uk> <20090911070849.559fa992@scorpio.seibercom.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4SFOXa2GPu3tIq4H" Content-Disposition: inline In-Reply-To: <20090911070849.559fa992@scorpio.seibercom.net> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: linux-pango won't install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 05:01:26 -0000 --4SFOXa2GPu3tIq4H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 11, 2009 at 07:08:49AM -0400, Jerry wrote: > On Fri, 11 Sep 2009 11:49:25 +0100 > Matthew Seaman wrote: > >=20 > > Perhaps this will prove enlightening: > >=20 > > significant-gravitas-shortfall:~:% portaudit -a=20 > > Affected package: linux-f8-pango-1.18.4_1 > > Type of problem: pango -- integer overflow. > > Reference: > > > >=20 > > 1 problem(s) in your installed packages found. > >=20 > > You are advised to update or deinstall the affected package(s) > > immediately. >=20 > If you still want to install the port, you could just add this to > the /etc/make.conf file: >=20 > # Pango > .if $(.CURDIR:M*/x11-toolkits/linux-pango) > DISABLE_VULNERABILITIES=3Dyes > .endif How long has this been broken for 7.2? Considering all the stuff that depends on linux-pango, I'm surprised it hasn't been fixed. Thanks for the help, in any case. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Bjarne Stroustrup: "An ugly operation should have an ugly syntactic form." --4SFOXa2GPu3tIq4H Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkqrKyMACgkQ9mn/Pj01uKU7PACeJAY0FQtULTAG+pIyYtqtA2xK ESQAoPmGrvCGkHrPW5NUcUGZyy9EZHKO =epWb -----END PGP SIGNATURE----- --4SFOXa2GPu3tIq4H-- From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 06:06:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD053106566B for ; Sat, 12 Sep 2009 06:06:11 +0000 (UTC) (envelope-from jwdevel@gmail.com) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by mx1.freebsd.org (Postfix) with ESMTP id 9CD738FC14 for ; Sat, 12 Sep 2009 06:06:11 +0000 (UTC) Received: by ywh9 with SMTP id 9so2419698ywh.32 for ; Fri, 11 Sep 2009 23:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=FH9PU2uGUjZKvO3fTJa43ZgyWOyCLq+x1sWjmUp9vjI=; b=VQAfCTt2OumaVLprRvDZFrRQTmHmrrnJbgEcpDEfyyvdy1qtZS4/lRIHIa0sPISIhV 1tywqUN6BmheZ5pZsfZWRjDzK/zmoVrVgyiBSw7F9deENmUYC4G3GPkT2SlJolrf0XkB sOy67ZpwVZ+ze8vPu2SCci5UVRVqADsBSVCnE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gR6KY6zVJNxrPw8cn1qh9SuRNzEwrkaMqerwzSu2QLmNO/DBZKjZyHDb7iPGgIM1U3 bUeeC7SHfqyM/gnOHZQpiKhobUZTbGnnKb65SRewXojFOPQso0Hm0YDTdaGHdtprdXDP 8YpE5OqIVcW1Wq3oQJJmdE8hy4EecGdP3u7CI= MIME-Version: 1.0 Received: by 10.90.217.11 with SMTP id p11mr2177006agg.82.1252735570825; Fri, 11 Sep 2009 23:06:10 -0700 (PDT) Date: Fri, 11 Sep 2009 23:06:10 -0700 Message-ID: From: John W To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: ports: how to handle 'alternate' dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 06:06:11 -0000 I'm just learning the guts of how ports work, and wonder: How do ports specify that "any one of X, Y, Z " would satisfy a dependency. For instance, when I build graphics/jalbum, it says it requires jdk16. I would rather use diablo-jdk16, since I find it faster and it is easier to install. But how would I alter graphics/jalbum to say, essentially, "either jdk16 or diablo-jdk16 is required" Generally, how to handle the case when a port requires X, but there are multiple implementations of X that can perform the job, and any will suffice? I feel like this issue must come up from time to time, what is the right way to deal with it? I didn't see any mention of this in the porters handbook... Thanks -John From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 06:10:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3E19106566B for ; Sat, 12 Sep 2009 06:10:29 +0000 (UTC) (envelope-from jwdevel@gmail.com) Received: from mail-yx0-f193.google.com (mail-yx0-f193.google.com [209.85.210.193]) by mx1.freebsd.org (Postfix) with ESMTP id 7F8E88FC12 for ; Sat, 12 Sep 2009 06:10:29 +0000 (UTC) Received: by yxe31 with SMTP id 31so2207645yxe.29 for ; Fri, 11 Sep 2009 23:10:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=c238DdJuQ/FC4Ey9LPpQQquhEA+EMFs3nG1K7tpFs6w=; b=P5O/jhGxilGawsA58+w+LtU9Z3WLBrygnBEah/5yPQPQckjstXPy6+RozViy5qTt9E fNk6eGW90HuaKAlZd8Ul+7RGhGXE4YEhJMy5Mf1kQ/6lnItu4Yag49sr8R3YqkyFlbGJ y8ryUL35GF1Eylq8SgaDYYI6UzH1EFB+s/PcU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gcGn4jjP9DdJg1XFxR0+0Rej8RdHoYIe0/KOkkTXPtl9FdbmGgXv4yTXq8SqtShGZM dmPrv4mccB1bMK7qy63VLwyzs5cubDz06YZUcVjZkUvE37sTxAQ5MD+YfgN0P35gvonL 8e0RiblfFkX+yZOWsogj+3bpin1Ux66Ae5SbY= MIME-Version: 1.0 Received: by 10.91.7.17 with SMTP id k17mr2198487agi.24.1252735828859; Fri, 11 Sep 2009 23:10:28 -0700 (PDT) In-Reply-To: References: Date: Fri, 11 Sep 2009 23:10:28 -0700 Message-ID: From: John W To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: ports: how to handle 'alternate' dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 06:10:29 -0000 On Fri, Sep 11, 2009 at 11:06 PM, John W wrote: > I'm just learning the guts of how ports work, and wonder: > > How do ports specify that "any one of X, Y, Z " would satisfy a dependency. > > For instance, when I build graphics/jalbum, it says it requires jdk16. > I would rather use diablo-jdk16, since I find it faster and it is > easier to install. > Whoops - in particular graphics/jalbum has the line: JAVA_VENDOR = bsdjava So it seems that special JAVA_XXX variables are used to solve the problem in this particular case. However, I would still like to know what (if any) general support there is for this kind of problem. -John From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 06:22:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAD911065672; Sat, 12 Sep 2009 06:22:44 +0000 (UTC) (envelope-from kennethcf@earthlink.net) Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by mx1.freebsd.org (Postfix) with ESMTP id 9EF128FC0C; Sat, 12 Sep 2009 06:22:44 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=OVFpSmHrDtkziWD9vf0FxNXxsL1mJ2lz2M2njQXlfh6JZrpryMwUYyfEnZHvN3lc; h=Message-ID:Date:From:Reply-To:To:Subject:Cc:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [209.86.224.65] (helo=wamui-june.atl.sa.earthlink.net) by elasmtp-banded.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1MmLq6-0003MU-ST; Sat, 12 Sep 2009 02:12:02 -0400 Received: from 66.32.238.44 by webmail.c.earthlink.net with HTTP; Sat, 12 Sep 2009 02:12:02 -0400 Message-ID: <17216271.1252735922654.JavaMail.root@wamui-june.atl.sa.earthlink.net> Date: Sat, 12 Sep 2009 02:12:02 -0400 (EDT) From: Kenneth To: freebsd-questions@freebsd.org, FreeBSD-x11@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: EarthLink Zoo Mail 1.0 X-ELNK-Trace: fa60bc5202b74016ef7f91bc926e004c7e972de0d01da940411ada4204e2a0845a15615efe4f696d350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 209.86.224.65 Cc: jules.stocks@gmail.com Subject: configuring X on the Presario with the 8200M driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kenneth List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 06:22:45 -0000 Moving this discussion to freebsd-x11. I have a Presario CQ60 with the NVIDIA 8200M G, and X is working! Here are the steps to get there. Do everything as root: 1) Update your ports to the most recent. Follow the FreeBSD manual, section 4.5 Using the Ports Collection, nuke the contents of /usr/ports, and install a new base using portsnap or cvsup. 2) Install the nvidia-driver. # cd /usr/ports/x11-driver/nvidia-driver # make install clean (I built with options FREEBSD_AGP checked, ACPI checked, LINUX unchecked). 3) You can install 2 more optional tools for configuring the nvidia card settings. I have not used them, but I installed them. # cd /usr/ports/x11-driver/nvidia-settings # make install clean # cd /usr/ports/x11-driver/nvidia-xconfig # make install clean 4) I also installed the fbdev driver from X.Org. # cd /usr/ports/x11-drivers/xf86-video-fbdev # make install clean 5) Add the nvidia driver as a dynamically loaded kernel module. # cd /boot # vi loader.conf (you better know how to use vi to edit) --- add the line nvidia_load="YES" --- it is the only line I have in my loader.conf file 6) Reboot the system # reboot 7) If you want to see the version you just installed (your versions may be newer than mine below)... # pkg_info | grep nvidia nvidia-driver-185.18.29 nvidia-settings-190.32 nvidia-xconfig-190.32 # pkg_info | grep fbdev xf86-video-fbdev-0.4.0_2 8) Generate your xorg.conf.new file. # cd /root # Xorg -configure 9) Edit the xorg.conf.new file. # vi xorg.conf.new --- change the line Driver "nv" to read Driver "nvidia" 10) Test the config file. # Xorg -config xorg.conf -retro --- you should get a grey screen and your mouse should work, especially if your mouse worked when installing FreeBSD --- to kill the test, press CTRL-ALT-BKSP 11) If everything worked, move and rename (drop the new extension) the config file to the /etc directory # mv xorg.conf.new /etc/X11/xorg.conf 12) Test again. Log in as another user belonging to the wheel group (or login as root). % startx --- you should get 3 green windows --- you can kill X by clicking on the large window on the left, and typing exit From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 06:23:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 075BC1065693; Sat, 12 Sep 2009 06:23:18 +0000 (UTC) (envelope-from kennethcf@earthlink.net) Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by mx1.freebsd.org (Postfix) with ESMTP id B647A8FC22; Sat, 12 Sep 2009 06:23:18 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=SOHOrInbZFOsveaeFNDzVB96o+FnnUBRmFZVdAP5ChrtOKr8gAMADPblGCWBcvxl; h=Message-ID:Date:From:Reply-To:To:Subject:Cc:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [209.86.224.65] (helo=wamui-june.atl.sa.earthlink.net) by elasmtp-banded.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1MmM10-00007l-Dr; Sat, 12 Sep 2009 02:23:18 -0400 Received: from 66.32.238.44 by webmail.c.earthlink.net with HTTP; Sat, 12 Sep 2009 02:23:17 -0400 Message-ID: <27572196.1252736598020.JavaMail.root@wamui-june.atl.sa.earthlink.net> Date: Sat, 12 Sep 2009 02:23:17 -0400 (EDT) From: Kenneth To: Kenneth , freebsd-questions@freebsd.org, FreeBSD-x11@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: EarthLink Zoo Mail 1.0 X-ELNK-Trace: fa60bc5202b74016ef7f91bc926e004c7e972de0d01da940411ada4204e2a084805f3171ac714be8350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 209.86.224.65 Cc: jules.stocks@gmail.com Subject: Re: configuring X on the Presario with the 8200M driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kenneth List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 06:23:19 -0000 Step 10 should be.... # Xorg -config xorg.conf.new -retro -----Original Message----- >From: Kenneth >Sent: Sep 12, 2009 2:12 AM >To: freebsd-questions@freebsd.org, FreeBSD-x11@freebsd.org >Cc: jules.stocks@gmail.com, gesbbb@yahoo.com >Subject: configuring X on the Presario with the 8200M driver > >Moving this discussion to freebsd-x11. > >I have a Presario CQ60 with the NVIDIA 8200M G, and X is working! > >Here are the steps to get there. Do everything as root: > >1) Update your ports to the most recent. Follow the FreeBSD manual, section 4.5 Using the Ports Collection, nuke the contents of /usr/ports, and install a new base using portsnap or cvsup. > >2) Install the nvidia-driver. ># cd /usr/ports/x11-driver/nvidia-driver ># make install clean (I built with options FREEBSD_AGP checked, ACPI checked, LINUX unchecked). > >3) You can install 2 more optional tools for configuring the nvidia card settings. I have not used them, but I installed them. ># cd /usr/ports/x11-driver/nvidia-settings ># make install clean ># cd /usr/ports/x11-driver/nvidia-xconfig ># make install clean > >4) I also installed the fbdev driver from X.Org. ># cd /usr/ports/x11-drivers/xf86-video-fbdev ># make install clean > >5) Add the nvidia driver as a dynamically loaded kernel module. ># cd /boot ># vi loader.conf (you better know how to use vi to edit) >--- add the line nvidia_load="YES" >--- it is the only line I have in my loader.conf file > >6) Reboot the system ># reboot > >7) If you want to see the version you just installed (your versions may be newer than mine below)... ># pkg_info | grep nvidia >nvidia-driver-185.18.29 >nvidia-settings-190.32 >nvidia-xconfig-190.32 ># pkg_info | grep fbdev >xf86-video-fbdev-0.4.0_2 > >8) Generate your xorg.conf.new file. ># cd /root ># Xorg -configure > >9) Edit the xorg.conf.new file. ># vi xorg.conf.new >--- change the line Driver "nv" > to read Driver "nvidia" > >10) Test the config file. ># Xorg -config xorg.conf -retro >--- you should get a grey screen and your mouse should work, especially if your mouse worked when installing FreeBSD >--- to kill the test, press CTRL-ALT-BKSP > >11) If everything worked, move and rename (drop the new extension) the config file to the /etc directory ># mv xorg.conf.new /etc/X11/xorg.conf > >12) Test again. Log in as another user belonging to the wheel group (or login as root). >% startx >--- you should get 3 green windows >--- you can kill X by clicking on the large window on the left, and typing exit > > > From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 07:06:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D3CD1065670 for ; Sat, 12 Sep 2009 07:06:57 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 527A58FC12 for ; Sat, 12 Sep 2009 07:06:57 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id n8C76uIA002503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 12 Sep 2009 02:06:56 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n8C76tj5087464 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 12 Sep 2009 02:06:56 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n8C76tpp087462; Sat, 12 Sep 2009 02:06:55 -0500 (CDT) (envelope-from dan) Date: Sat, 12 Sep 2009 02:06:55 -0500 From: Dan Nelson To: John W Message-ID: <20090912070655.GC54762@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Sat, 12 Sep 2009 02:06:56 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions Subject: Re: ports: how to handle 'alternate' dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 07:06:57 -0000 In the last episode (Sep 11), John W said: > I'm just learning the guts of how ports work, and wonder: > > How do ports specify that "any one of X, Y, Z " would satisfy a dependency. > > For instance, when I build graphics/jalbum, it says it requires jdk16. > I would rather use diablo-jdk16, since I find it faster and it is > easier to install. > > But how would I alter graphics/jalbum to say, essentially, "either > jdk16 or diablo-jdk16 is required" > > Generally, how to handle the case when a port requires X, but there are > multiple implementations of X that can perform the job, and any will > suffice? I feel like this issue must come up from time to time, what is > the right way to deal with it? I didn't see any mention of this in the > porters handbook... This question might be better asked on the freebsd-ports mailing list... In your specific case, since you're looking at a java port, you have to follow the rules in /usr/ports/Mk/bsd.java.mk , which let you specify things like: USE_JAVA=YES JAVA_VERSION=1.6 JAVA_VENDOR="freebsd bsdjava" , to force the use of only Java 1.6 (not 1.5 or 1.7), and only the source-built or diablo-binary variants. Many port groups that provide multiple versions of an application either have special code in bsd.port.mk or have their own bsd.xxx.mk, and they usually let the port maintainer set WANT_XXX or WITH_XXX variables to prefer a particular version. See bsd.gecko.mk and bsd.database.mk for some complex examples. For the completely general case of two independant ports providing the same feature your port needs, you can roll your own checks. To prefer the playmusic port, but use the playwav port if it's already installed: .if exists(${LOCALBASE}/bin/playwavfile) RUN_DEPENDS+=playwav:${PORTSDIR}/audio/playwav .else RUN_DEPENDS+=playmusic:${PORTSDIR}/audio/playmusic .endif You can also get fancy and use OPTIONS to allow the user to pick their preferred alternative ports, using ".if exists" checks to pre-select any already-installed ones. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 08:54:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DCB01065679 for ; Sat, 12 Sep 2009 08:54:53 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id A60BF8FC13 for ; Sat, 12 Sep 2009 08:54:52 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n8C8sdGT046361; Sat, 12 Sep 2009 09:54:45 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n8C8sdGT046361 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1252745686; bh=9MUtCdeC9+v+NAiHs4RRMnf7VgGd3y7/TRcrcohqAbw=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AAB61C9.4030005@infracaninophile.co.uk>|Date:=20S at,=2012=20Sep=202009=2009:54:33=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20John=20W=20|CC:=20freebsd-ques tions=20|Subject:=20Re:=20ports:=20 how=20to=20handle=20'alternate'=20dependencies|References:=20|In-Reply- To:=20|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B =20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-sign ature"=3B=0D=0A=20boundary=3D"------------enigA7B7EDDFDCB3FEF4ED39 C0EC"; b=p9coQN/2SWjp1E9KZmsa8KzrNJM99T4OgNr5o4qByewiwamyl9BclmB7i1mdHZXN5 /xsDWihhmIcftH/M91tFBpbq6e7IOWmRU9oshqZvE2CjD6mkZkIevjFRCcLAs2UqCK X0hkjuYWINKYeOb1hYsqR7uMrdRYgsm50DuaiTP0= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AAB61C9.4030005@infracaninophile.co.uk> Date: Sat, 12 Sep 2009 09:54:33 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: John W References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigA7B7EDDFDCB3FEF4ED39C0EC" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions Subject: Re: ports: how to handle 'alternate' dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 08:54:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA7B7EDDFDCB3FEF4ED39C0EC Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable John W wrote: > I'm just learning the guts of how ports work, and wonder: >=20 > How do ports specify that "any one of X, Y, Z " would satisfy a depende= ncy. >=20 > For instance, when I build graphics/jalbum, it says it requires jdk16. > I would rather use diablo-jdk16, since I find it faster and it is > easier to install. >=20 > But how would I alter graphics/jalbum to say, essentially, "either > jdk16 or diablo-jdk16 is required" >=20 > Generally, how to handle the case when a port requires X, but there > are multiple implementations of X that can perform the job, and any > will suffice? > I feel like this issue must come up from time to time, what is the > right way to deal with it? > I didn't see any mention of this in the porters handbook... This is a quite tricky area. First thing to realise is that a dependency= line like this in a port: RUN_DEPENDS+=3D ${LOCALBASE}/sbin/suphp:${PORTSDIR}/www/suphp says that the port needs ${LOCALBASE}/sbin/suphp in order to run. The port will be satisfied if there is any executable file of that name in place -- there's no check that the file belongs to any particular port or even to any port at all. If the test file is not found, then the second part of the dependency line just indicates an example of a port that when installed will provide the dependency. Now, for most of the dependency lines shown explicitly in port makefiles,= there isn't any ambiguity here: there's only one port available that can fulfil the dependency. Job done. Where there are multiple choices, you see two different scenarios: * Ports with 'devel' variants or multiple release versions, but that only have a few dependents. In this case, if you want a non-standard version, simply install it first, before trying to install the dependent port. This will work just fine from the point of view of the software operating correctly, although it can confuse ports management tools, which have been known to continually try and substitute the listed dependency. * Foundation ports -- things like Apache, MySQL, OpenLDAP, autoconf, Java, perl, python. Here there are hundreds or thousands of possible dependents. In these cases, typically there will be a special mechan= ism for specifying what version(s) can be used with each port, possibly a= corresponding user settable flag for choosing what should be installe= d, and frequently a mechanism for feeding back into the ports system wha= t version /was/ installed. Lets take perl as an example. Currently there are two, pretty much f= reely interchangeable, versions of perl available in the ports: /usr/ports/lang/perl5.8 --- perl-5.8.9_3 /usr/ports/lang/perl5.10 --- perl-5.10.1 By default, you'll get perl5.8 -- that is, if you install anything wi= th a=20 dependency on perl and perl was not previously installed and you have= n't=20 made a deliberate choice to install one or the other. However, you c= an opt to use perl5.10 simply by installing it -- or more likely, as per= l is pretty fundamental to the system and tends to be installed just about= everywhere by replacing perl5.8 with it. eg: # portupgrade -o lang/perl5.10 -f perl-5.8.9_3 # portupgrade -x perl-5.10.1 -fr perl-5.10.1 After doing this, any perl-dependent ports you install will happily d= epend on perl5.10 and if you build your own INDEX, perl5.10 will appear eve= rywhere in the dependency listings. The reason is that perl adds text like t= he following to /etc/make.conf: # added by use.perl 2009-09-12 09:04:56 PERL_VERSION=3D5.10.1 In principle you could add this variable definition to /etc/make.conf= before ever installing perl in order to get the version you want straight aw= ay. This works because ports that depend on perl generally contain the magic i= nvocation like: USE_PERL=3D yes or PERL_CONFIGURE=3D yes which ultimately have the effect of causing /usr/ports/Mk/bsd.perl.m= k to be included and parsed during a make(1) invocation. The PERL_VERSIO= N variable is examined in there and used to modify various *_DEPENDS l= ines amongst other things. In fact, the majority of the files under /usr/ports/Mk exist to prov= ide this sort of alternate dependency capability for the sort of commonly use= d=20 software packages that the majority of everything else relies upon. Perl is slightly unusual in that at the moment either of the perl ve= rsions is compatible with any perl dependent ports in the tree. There's no= t much perl-5.10 specific code readily available anywhere. More frequently = ports will need a specific version or versions of a dependency, and the ty= pical mechanisms for specifying that work like the following. The port ma= intainer can indicate that a port depends on a popular software system and wh= at dependency versions are compatible with it by including a USE_FOO va= riable,=20 possibly with additional variables to control various behaviours: USE_MYSQL=3D yes IGNORE_WITH_MYSQL=3D 323 40 41 The user can frequently use a 'WITH_FOO' variable in /etc/make.conf,= or make a selection via an OPTIONS dialogue to choose their preference:= WITH_MYSQL_VER=3D 50 There are any number of variations on how all this sort of stuff wor= ks in detail, depending on the needs of individual ports. There's a l= ot of documentation in the Porter's Handbook and the various makefiles in = /usr/ports/Mk/ are extensively commented. Simply copying what anoth= er port does is a good starting point. =20 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigA7B7EDDFDCB3FEF4ED39C0EC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkqrYc8ACgkQ8Mjk52CukIxnRwCeJF2ydl+eRe8D9XAr8F/cbnuZ 76wAnRtszNGeVOUsfIlnMc6Mvc9gzdUj =xNbN -----END PGP SIGNATURE----- --------------enigA7B7EDDFDCB3FEF4ED39C0EC-- From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 09:38:18 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E26D3106568B for ; Sat, 12 Sep 2009 09:38:18 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 6D8AD8FC08 for ; Sat, 12 Sep 2009 09:38:18 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1MmP3g-0002nM-LL for freebsd-questions@FreeBSD.org; Sat, 12 Sep 2009 13:38:16 +0400 From: Boris Samorodov To: freebsd-questions@FreeBSD.org Date: Sat, 12 Sep 2009 13:38:16 +0400 Message-ID: <53480375@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: c++: invalid conversion from 'int' to 'const char*' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 09:38:19 -0000 Hello List, I'm porting a c++ application to FreeBSD. I've got an error: ----- ~/work/src/FileChannel.cpp: In member function 'QString FileChannel::errorString()': ~/work/src/FileChannel.cpp:251: error: invalid conversion from 'int' to 'const char*' ~/work/src/FileChannel.cpp:251: error: initializing argument 2 of 'char* strcpy(char*, const char*)' *** Error code 1 ----- A simle patch makes the application to be compiled without errors: ----- --- src/FileChannel.cpp.orig 2009-09-12 13:08:28.000000000 +0400 +++ src/FileChannel.cpp 2009-09-12 13:08:41.000000000 +0400 @@ -248,7 +248,7 @@ QString FileChannel::errorString() { - strcpy(lastErrorString, strerror_r(errno, lastErrorString, 0)); + strcpy(lastErrorString, "XXX: Fix me: errno should be here"); return QString(trUtf8(lastErrorString)); } ----- If I understand correctly, an integer value which is returned by strerror_r() should be converted to const char*. I have _very_ basic knowledge about c++. Hence my question. Can someone provide a patch (a proof of concept)? Thanks! -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 10:19:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFF6A106566C for ; Sat, 12 Sep 2009 10:19:23 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 6BB228FC08 for ; Sat, 12 Sep 2009 10:19:23 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1MmPhS-0003IL-4Y for freebsd-questions@freebsd.org; Sat, 12 Sep 2009 14:19:22 +0400 From: Boris Samorodov To: freebsd-questions@freebsd.org References: <20090911034913.GA22437@kokopelli.hydra> <20090911104025.GA23566@torus.slightlystrange.org> <4AAA2B35.4010309@infracaninophile.co.uk> <20090911070849.559fa992@scorpio.seibercom.net> <20090912050123.GB27240@kokopelli.hydra> Date: Sat, 12 Sep 2009 14:19:22 +0400 In-Reply-To: <20090912050123.GB27240@kokopelli.hydra> (Chad Perrin's message of "Fri, 11 Sep 2009 23:01:23 -0600") Message-ID: <87407909@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: linux-pango won't install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 10:19:23 -0000 On Fri, 11 Sep 2009 23:01:23 -0600 Chad Perrin wrote: > > If you still want to install the port, you could just add this to > > the /etc/make.conf file: > > > > # Pango > > .if $(.CURDIR:M*/x11-toolkits/linux-pango) > > DISABLE_VULNERABILITIES=yes > > .endif > How long has this been broken for 7.2? Considering all the stuff that > depends on linux-pango, I'm surprised it hasn't been fixed. It will be broken until someone provide an URL to non-vulnerable RPM package. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 10:56:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BB931065670 for ; Sat, 12 Sep 2009 10:56:21 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.25]) by mx1.freebsd.org (Postfix) with ESMTP id C99CF8FC08 for ; Sat, 12 Sep 2009 10:56:20 +0000 (UTC) Received: from [62.143.132.83] (helo=r500.local) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1MmQ34-0006X3-GA for freebsd-questions@freebsd.org; Sat, 12 Sep 2009 12:41:42 +0200 Date: Sat, 12 Sep 2009 12:41:43 +0200 From: Fabian Keil To: freebsd-questions@freebsd.org Message-ID: <20090912124143.2fb77924@r500.local> In-Reply-To: <53480375@bb.ipt.ru> References: <53480375@bb.ipt.ru> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; amd64-portbld-freebsd9.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/WpX7GCjjFSCWRecuUCZyX20"; protocol="application/pgp-signature" X-Df-Sender: 775067 Subject: Re: c++: invalid conversion from 'int' to 'const char*' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 10:56:21 -0000 --Sig_/WpX7GCjjFSCWRecuUCZyX20 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Boris Samorodov wrote: > I'm porting a c++ application to FreeBSD. I've got an error: > ----- > ~/work/src/FileChannel.cpp: In member function 'QString FileChannel::erro= rString()': > ~/work/src/FileChannel.cpp:251: error: invalid conversion from 'int' to '= const char*' > ~/work/src/FileChannel.cpp:251: error: initializing argument 2 of 'char= * strcpy(char*, const char*)' > *** Error code 1 > ----- >=20 > A simle patch makes the application to be compiled without errors: > ----- > --- src/FileChannel.cpp.orig 2009-09-12 13:08:28.000000000 +0400 > +++ src/FileChannel.cpp 2009-09-12 13:08:41.000000000 +0400 > @@ -248,7 +248,7 @@ > =20 > QString FileChannel::errorString() > { > - strcpy(lastErrorString, strerror_r(errno, lastErrorString, 0)); > + strcpy(lastErrorString, "XXX: Fix me: errno should be here"); > return QString(trUtf8(lastErrorString)); > } At least to me, this looks like a bug in the program you are porting. I don't see how this would work on other platforms either, unless the libc strerror_r() is shadowed which seems unlikely. I assume someone replaced strerror() with strerror_r() and missed the differences. The third argument of strerror_r() being zero looks strange, too. > If I understand correctly, an integer value which is returned by > strerror_r() should be converted to const char*. > > I have _very_ basic knowledge about c++. Hence my question. > Can someone provide a patch (a proof of concept)? Thanks! You could try replacing the strerror_r() call with strerror(errno). It wouldn't be thread-safe, but should at least work most of the time. If the application is threaded, a better fix would be not to use strcpy() at all. strerror_r() already puts the error description into the buffer, so there's no need to copy anything. To do this, you'd still need to fix the third argument, though. If lastErrorString is an array you could use sizeof(lastErrorString), if it's a pointer you could look for a malloc() call that allocates the buffer to figure out the size. Either way, you should probably report the problem upstream. Fabian --Sig_/WpX7GCjjFSCWRecuUCZyX20 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkqreusACgkQBYqIVf93VJ2gGwCgymOxY2JMIipmzfIqNzk4ugDS XusAnRmuAOnSHB9SqjeG5U8ll2vRVMpL =IhPz -----END PGP SIGNATURE----- --Sig_/WpX7GCjjFSCWRecuUCZyX20-- From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 11:22:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 677F1106568F for ; Sat, 12 Sep 2009 11:22:11 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 23F0D8FC15 for ; Sat, 12 Sep 2009 11:22:11 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1MmQgE-000447-3B for freebsd-questions@freebsd.org; Sat, 12 Sep 2009 15:22:10 +0400 From: Boris Samorodov To: freebsd-questions@freebsd.org References: <53480375@bb.ipt.ru> <20090912124143.2fb77924@r500.local> Date: Sat, 12 Sep 2009 15:22:10 +0400 In-Reply-To: <20090912124143.2fb77924@r500.local> (Fabian Keil's message of "Sat, 12 Sep 2009 12:41:43 +0200") Message-ID: <33804141@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: c++: invalid conversion from 'int' to 'const char*' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 11:22:11 -0000 On Sat, 12 Sep 2009 12:41:43 +0200 Fabian Keil wrote: > Boris Samorodov wrote: > > I'm porting a c++ application to FreeBSD. I've got an error: > > ----- > > ~/work/src/FileChannel.cpp: In member function 'QString FileChannel::errorString()': > > ~/work/src/FileChannel.cpp:251: error: invalid conversion from 'int' to 'const char*' > > ~/work/src/FileChannel.cpp:251: error: initializing argument 2 of 'char* strcpy(char*, const char*)' > > *** Error code 1 > > ----- > > > > A simle patch makes the application to be compiled without errors: > > ----- > > --- src/FileChannel.cpp.orig 2009-09-12 13:08:28.000000000 +0400 > > +++ src/FileChannel.cpp 2009-09-12 13:08:41.000000000 +0400 > > @@ -248,7 +248,7 @@ > > > > QString FileChannel::errorString() > > { > > - strcpy(lastErrorString, strerror_r(errno, lastErrorString, 0)); > > + strcpy(lastErrorString, "XXX: Fix me: errno should be here"); > > return QString(trUtf8(lastErrorString)); > > } > At least to me, this looks like a bug in the program you are porting. > I don't see how this would work on other platforms either, unless > the libc strerror_r() is shadowed which seems unlikely. It compiles at linux (with warning though). ;-) > I assume someone replaced strerror() with strerror_r() and > missed the differences. The third argument of strerror_r() > being zero looks strange, too. > > If I understand correctly, an integer value which is returned by > > strerror_r() should be converted to const char*. > > > > I have _very_ basic knowledge about c++. Hence my question. > > Can someone provide a patch (a proof of concept)? Thanks! > You could try replacing the strerror_r() call with strerror(errno). > It wouldn't be thread-safe, but should at least work most of the > time. Aha, the following patch helps: ----- --- src/FileChannel.cpp.orig 2009-09-12 15:09:00.000000000 +0400 +++ src/FileChannel.cpp 2009-09-12 15:11:23.000000000 +0400 @@ -248,7 +248,7 @@ QString FileChannel::errorString() { - strcpy(lastErrorString, strerror_r(errno, lastErrorString, 0)); + strcpy(lastErrorString, strerror(errno)); return QString(trUtf8(lastErrorString)); } ----- > If the application is threaded, a better fix would be not to use > strcpy() at all. strerror_r() already puts the error description > into the buffer, so there's no need to copy anything. To do this, > you'd still need to fix the third argument, though. > If lastErrorString is an array you could use sizeof(lastErrorString), > if it's a pointer you could look for a malloc() call that allocates > the buffer to figure out the size. Thanks for your suggestions, much appreciated. > Either way, you should probably report the problem upstream. Yep, it has been already done. The author said he'll fix it at the next release but he have no time ATM. While I try to create a port with the current release. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 11:32:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D84A106566B for ; Sat, 12 Sep 2009 11:32:28 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out2.uni-muenster.de (ZIVM-OUT2.UNI-MUENSTER.DE [128.176.192.9]) by mx1.freebsd.org (Postfix) with ESMTP id 331208FC13 for ; Sat, 12 Sep 2009 11:32:27 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,375,1249250400"; d="scan'208";a="223496112" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER04.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay2.uni-muenster.de with ESMTP; 12 Sep 2009 13:32:26 +0200 Received: by ZIVMAILUSER04.UNI-MUENSTER.DE (Postfix, from userid 149459) id 2BC4D1B0096; Sat, 12 Sep 2009 13:32:26 +0200 (CEST) Date: Sat, 12 Sep 2009 13:32:25 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: where to put `startx` serverargs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 11:32:28 -0000 hi there, since i don't use ipv6 X produces the following warning when starting up: _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/otaku:0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 so i'd to start X this way: `startx -- -nolisten inet6`. i looked through the man pages of startx and xinit but couldn't find where to put the argument "-nolisten inet6" so `startx` picks it up automatically. currently i have this extra line in /usr/local/bin/startx: "serverargs = -nolisten inet6" but that's just a hack because i couldn't find any information on where to put the serverarg. cheers. alex From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 12:11:05 2009 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3210E1065672; Sat, 12 Sep 2009 12:11:05 +0000 (UTC) (envelope-from kennethcf@earthlink.net) Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by mx1.freebsd.org (Postfix) with ESMTP id E8AF88FC13; Sat, 12 Sep 2009 12:11:04 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=kozWttElG6wjHfoAd/hZqI48x6GoJFQVZuMZNauMWswJ8DMQ9usaL0Q5N0ViUp/g; h=Message-ID:Date:From:Reply-To:To:Subject:Cc:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [209.86.224.62] (helo=wamui-bucket.atl.sa.earthlink.net) by elasmtp-banded.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1MmRRY-0002UY-C1; Sat, 12 Sep 2009 08:11:04 -0400 Received: from 66.32.238.44 by webmail.c.earthlink.net with HTTP; Sat, 12 Sep 2009 08:11:03 -0400 Message-ID: <8782032.1252757463899.JavaMail.root@wamui-bucket.atl.sa.earthlink.net> Date: Sat, 12 Sep 2009 08:11:03 -0400 (EDT) From: Kenneth To: FreeBSD-x11@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: EarthLink Zoo Mail 1.0 X-ELNK-Trace: fa60bc5202b74016ef7f91bc926e004c7e972de0d01da94093eb35a60b49936b693ed6cb2221b6a7350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 209.86.224.62 Cc: jules.stocks@gmail.com, FreeBSD-questions@freebsd.org Subject: Re: configuring X on the Presario with the 8200M driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kenneth List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 12:11:05 -0000 OK...I forgot 1 important step before rebooting (step 6 in the sequece below)... 5.5) Edit the /etc/rc.conf file... # vi /etc/rc.conf --- add the following 2 lines hald_enable="YES" dbus_enable="YES" -----Original Message----- >From: Kenneth >Sent: Sep 12, 2009 2:23 AM >To: Kenneth , freebsd-questions@freebsd.org, FreeBSD-x11@freebsd.org >Cc: jules.stocks@gmail.com, gesbbb@yahoo.com >Subject: Re: configuring X on the Presario with the 8200M driver > >Step 10 should be.... ># Xorg -config xorg.conf.new -retro > >-----Original Message----- >>From: Kenneth >>Sent: Sep 12, 2009 2:12 AM >>To: freebsd-questions@freebsd.org, FreeBSD-x11@freebsd.org >>Cc: jules.stocks@gmail.com, gesbbb@yahoo.com >>Subject: configuring X on the Presario with the 8200M driver >> >>Moving this discussion to freebsd-x11. >> >>I have a Presario CQ60 with the NVIDIA 8200M G, and X is working! >> >>Here are the steps to get there. Do everything as root: >> >>1) Update your ports to the most recent. Follow the FreeBSD manual, section 4.5 Using the Ports Collection, nuke the contents of /usr/ports, and install a new base using portsnap or cvsup. >> >>2) Install the nvidia-driver. >># cd /usr/ports/x11-driver/nvidia-driver >># make install clean (I built with options FREEBSD_AGP checked, ACPI checked, LINUX unchecked). >> >>3) You can install 2 more optional tools for configuring the nvidia card settings. I have not used them, but I installed them. >># cd /usr/ports/x11-driver/nvidia-settings >># make install clean >># cd /usr/ports/x11-driver/nvidia-xconfig >># make install clean >> >>4) I also installed the fbdev driver from X.Org. >># cd /usr/ports/x11-drivers/xf86-video-fbdev >># make install clean >> >>5) Add the nvidia driver as a dynamically loaded kernel module. >># cd /boot >># vi loader.conf (you better know how to use vi to edit) >>--- add the line nvidia_load="YES" >>--- it is the only line I have in my loader.conf file >> >>6) Reboot the system >># reboot >> >>7) If you want to see the version you just installed (your versions may be newer than mine below)... >># pkg_info | grep nvidia >>nvidia-driver-185.18.29 >>nvidia-settings-190.32 >>nvidia-xconfig-190.32 >># pkg_info | grep fbdev >>xf86-video-fbdev-0.4.0_2 >> >>8) Generate your xorg.conf.new file. >># cd /root >># Xorg -configure >> >>9) Edit the xorg.conf.new file. >># vi xorg.conf.new >>--- change the line Driver "nv" >> to read Driver "nvidia" >> >>10) Test the config file. >># Xorg -config xorg.conf -retro >>--- you should get a grey screen and your mouse should work, especially if your mouse worked when installing FreeBSD >>--- to kill the test, press CTRL-ALT-BKSP >> >>11) If everything worked, move and rename (drop the new extension) the config file to the /etc directory >># mv xorg.conf.new /etc/X11/xorg.conf >> >>12) Test again. Log in as another user belonging to the wheel group (or login as root). >>% startx >>--- you should get 3 green windows >>--- you can kill X by clicking on the large window on the left, and typing exit >> >> >> From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 12:11:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E04751065670 for ; Sat, 12 Sep 2009 12:11:17 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 9B76B8FC15 for ; Sat, 12 Sep 2009 12:11:16 +0000 (UTC) Received: from mobileKamikaze.norad (unknown [88.130.200.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 094E08A09F9; Sat, 12 Sep 2009 13:42:10 +0200 (CEST) Message-ID: <4AAB8910.6070808@bsdforen.de> Date: Sat, 12 Sep 2009 13:42:08 +0200 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: John Almberg References: <4AA9BCF0.6040003@identry.com> <4AAA577A.8070103@identry.com> <4AAA8D60.4000300@identry.com> <237c27100909111105m4ab6fa37v1fa9019d2cd94d2@mail.gmail.com> <4AAAA820.4020407@identry.com> <6201873e0909111303k472b20c2t43d9a635fa0151ee@mail.gmail.com> <4AAAB124.8050908@identry.com> <237c27100909111515s70310092ua980038b3f16983e@mail.gmail.com> <4AAAE7F6.2060806@identry.com> In-Reply-To: <4AAAE7F6.2060806@identry.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: reducing size of apache instances X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 12:11:18 -0000 John Almberg wrote: > I'm starting to wonder about the Swap info from top... it never changes. > It has said the same thing all day, since I've been watching it. Does > that make sense? > > Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse That looks about normal if your RAM suffices. In that case only memory that hasn't been accessed for more than 24 hours will be moved to the swap space. So after an uptime of 24 hours, if no more apps get started there's no more reason for it to change. From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 12:50:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C42C106566B for ; Sat, 12 Sep 2009 12:50:09 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: from mail-yx0-f193.google.com (mail-yx0-f193.google.com [209.85.210.193]) by mx1.freebsd.org (Postfix) with ESMTP id F24CB8FC1B for ; Sat, 12 Sep 2009 12:50:08 +0000 (UTC) Received: by yxe31 with SMTP id 31so2369264yxe.29 for ; Sat, 12 Sep 2009 05:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=MBXPwaoTuaDMgSdcQ7r0/MDimujcQzd8CP0P01xkvBY=; b=bubAT6aKTcmcYih1pm/ci3FyI9CZ4rw1fGFhTn0irjmv7+5QQCey+2H6Y7zkIQS1w9 es3aFhfGXSpQTrUEZvyxhfdAa984ezRbdo7RqbPaXE4x6eLO/HJVkXLs7kBvGnj1u+Es KQv6goSLpa4UzyL3914UUlqpTGzsLc99yBXQs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=UTWAl1kb3xyzIPtFf7v6rNdKUmV/LtDL7XbO3nxFyKhfx4DQMqrm6kVbwIr4OSlI4z Y1Bb7Uq1mnG+79QeLAaA60hgtlYAS/L2sgCjWTqJrEubzuKgISY6e7uytbNmhYrPKFiP aW2fMRgEe5NxtiKCTsIKxVQ+r/LFZ6cCSbu0Y= MIME-Version: 1.0 Received: by 10.90.58.2 with SMTP id g2mr2392562aga.73.1252759808246; Sat, 12 Sep 2009 05:50:08 -0700 (PDT) From: Maxim Khitrov Date: Sat, 12 Sep 2009 08:49:48 -0400 Message-ID: <26ddd1750909120549ve82a843k464c1233c3a6f603@mail.gmail.com> To: Free BSD Questions list Content-Type: text/plain; charset=UTF-8 Subject: Rule equivalence of pf uRPF check X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 12:50:09 -0000 Hello all, I sent this message to -pf list, but no one answered. I would like to verify my assumptions regarding the way pf's uRPF check works. I'm using a Soekris net5501 board as a firewall; port 0 ($ext_if) is internet uplink, ports 1-3 ($int_if, $mil_if, $vpn_if) are separate lan segments that should not be communicating with one another. Here is the start of my filter section: # Block all traffic by default block log # Broadcast DHCP traffic must be passed before urpf check pass in quick on !$ext_if proto udp from port dhcpc to \ 255.255.255.255 port dhcps # Enable source address spoofing protection block in quick from urpf-failed The question I have is whether the urpf-failed check is equivalent to the following three rules for each of the interfaces (I'm using $int_if as an example here): block in quick on $int_if from !$int_if:network block in quick on !$int_if from $int_if:network block in quick from $int_if The OpenBSD pf faq states that urpf-check is equivalent to the antispoof rules, but the antispoof section lists only the last two rules in my example as being equivalent. So the question is does urpf imply the first rule as well? - Max From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 13:10:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C20831065695 for ; Sat, 12 Sep 2009 13:10:26 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 46DBF8FC19 for ; Sat, 12 Sep 2009 13:10:26 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n8CDAK7Y038478; Sat, 12 Sep 2009 14:10:21 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n8CDAK7Y038478 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1252761021; bh=sMydcp/sFiCfzSoUe6B5h7/1n8WLnun7eP+7O+cFH6s=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AAB9DBC.50007@infracaninophile.co.uk>|Date:=20Sat ,=2012=20Sep=202009=2014:10:20=20+0100|From:=20Matthew=20Seaman=20 |Organization:=20Infracaninophile |User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Versio n:=201.0|To:=20Maxim=20Khitrov=20|CC:=20Free=2 0BSD=20Questions=20list=20|Subject: =20Re:=20Rule=20equivalence=20of=20pf=20uRPF=20check|References:=2 0<26ddd1750909120549ve82a843k464c1233c3a6f603@mail.gmail.com>|In-R eply-To:=20<26ddd1750909120549ve82a843k464c1233c3a6f603@mail.gmail .com>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signe d=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp- signature"=3B=0D=0A=20boundary=3D"------------enig147C454F3B85CE96 BC8AE59F"; b=4f7ShxmLSLf9RNefbIz2SCSCPIj9G9IfMbZ3L5TScrGe68hHPgNFqEz5e5MX1Oz20 gDQ6H393Q6BnavYLIJbpXPe6svR90TXiGaslYD3T168gf/tEjbK12CGc4UMuudR9ct 1atD6IGWrltuyrk+padaGaZr1fuNgPGjrXNvqsMk= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AAB9DBC.50007@infracaninophile.co.uk> Date: Sat, 12 Sep 2009 14:10:20 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: Maxim Khitrov References: <26ddd1750909120549ve82a843k464c1233c3a6f603@mail.gmail.com> In-Reply-To: <26ddd1750909120549ve82a843k464c1233c3a6f603@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig147C454F3B85CE96BC8AE59F" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Free BSD Questions list Subject: Re: Rule equivalence of pf uRPF check X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 13:10:26 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig147C454F3B85CE96BC8AE59F Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Maxim Khitrov wrote: > block in quick on $int_if from !$int_if:network > block in quick on !$int_if from $int_if:network > block in quick from $int_if >=20 > The OpenBSD pf faq states that urpf-check is equivalent to the > antispoof rules, but the antispoof section lists only the last two > rules in my example as being equivalent. So the question is does urpf > imply the first rule as well? Not if uRPF is intended as a general mechanism. What would happen if you applied that on $ext_if (the external interface you connect to the re= st of the internet with)? It's perfectly valid for packets from other than dir= ectly attached networks to be passed by your firewall -- not doing that would, = in fact, completely negate your web browsing experience... Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig147C454F3B85CE96BC8AE59F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkqrnbwACgkQ8Mjk52CukIxQWwCfVikOuHY3MR1748HETwZ+PcWK SusAoIEIJ4k/B+u5X6ERasb6TZ2TG0nO =Ybi2 -----END PGP SIGNATURE----- --------------enig147C454F3B85CE96BC8AE59F-- From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 15:13:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10A731065676 for ; Sat, 12 Sep 2009 15:13:08 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: from us1.tomahawkonline.net (us1.tomahawkonline.net [66.98.178.56]) by mx1.freebsd.org (Postfix) with SMTP id B428F8FC0A for ; Sat, 12 Sep 2009 15:13:07 +0000 (UTC) Received: (qmail 3258 invoked from network); 12 Sep 2009 11:52:27 -0000 Received: from 219.75.12.238 (HELO ?192.168.1.64?) (sagara@tomahawk.com.sg@219.75.12.238) by us1.tomahawkonline.net with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 12 Sep 2009 11:52:27 -0000 Message-ID: <4AABBAD9.7040005@tomahawk.com.sg> Date: Sat, 12 Sep 2009 23:14:33 +0800 From: Sagara Wijetunga User-Agent: Thunderbird 2.0.0.22 (X11/20090703) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to setup mDNSResponder on FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 15:13:08 -0000 Hi all I have installed the net/mDNSResponder port on a FreeBSD 7.2 i386 computer. Set to launch the mdnsd on start up (in /etc/rc.conf). Changed "hosts" line in /etc/nsswitch.conf to "hosts: files mdns dns". Rebooted. "mDNSIdentify name.local" immediately shows the IP address of the other computer but "ping name.local" shows following message: ping: cannot resolve name.local: Unknown host Its the same for ssh too. Is there anything else to set up in FreeBSD? Appreciate your reply. Sagara From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 15:50:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18D8E10656E8 for ; Sat, 12 Sep 2009 15:50:40 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward12.yandex.ru (forward12.yandex.ru [95.108.130.94]) by mx1.freebsd.org (Postfix) with ESMTP id C124C8FC21 for ; Sat, 12 Sep 2009 15:50:39 +0000 (UTC) Received: from smtp14.yandex.ru (smtp14.yandex.ru [95.108.131.192]) by forward12.yandex.ru (Yandex) with ESMTP id 22F1715D0535 for ; Sat, 12 Sep 2009 19:50:38 +0400 (MSD) Received: from HOMEUSER (unknown [77.93.42.18]) by smtp14.yandex.ru (Yandex) with ESMTPA id D570D682AF for ; Sat, 12 Sep 2009 19:50:37 +0400 (MSD) Date: Sat, 12 Sep 2009 18:50:41 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <1608907209.20090912185041@yandex.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1252770638 X-Yandex-Spam: 1 X-Yandex-Front: smtp14.yandex.ru Subject: System Upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 15:50:40 -0000 Çäðàâñòâóéòå, Freebsd-questions. Can I do this steps not in single user mode?? # 5. `reboot' (in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to use -U or -ai). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) I am wanna upgrade remotely -- Ñ óâàæåíèåì, Êîíüêîâ mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 16:18:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 796F4106566C for ; Sat, 12 Sep 2009 16:18:30 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by mx1.freebsd.org (Postfix) with ESMTP id 29D1D8FC30 for ; Sat, 12 Sep 2009 16:18:29 +0000 (UTC) Received: by ywh9 with SMTP id 9so2724066ywh.32 for ; Sat, 12 Sep 2009 09:18:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=sHaoO09N3d8uOpWq1TlhG1H8YnCFt96zj4tFctIKfBw=; b=qcF2DbuhTihW2163jNZd+DFdEh4IjT1lsmA0j3E7lPi22855UUFA7goubl2stRSLUT J1nflKUuuTkXcM0McrBlIWrmXiQiRVitXgNlxx016sLXeJCuwUgUEsVRnJcs7bSH/1eO yjVjc7JQnyIXLKUAY6n3PkkJu80Swmb2hrSJY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=h4oJIooI0aF3CJCz0VOITvY+VDZlFARN1idUJCMbw5i34a8Pmf4IZ8opjhE0Bd+kQ2 YEKI9WSh+11BwfbNPidG92YjG9/+uPaBJQphlWsvKHLKHLuX3yqiGpEaJ1Cdy7f5U6Qx 1xLeQlZoFFlmq5VQsqAuRC+VHwxQ6N2UCCmLs= MIME-Version: 1.0 Received: by 10.150.236.12 with SMTP id j12mr6897910ybh.168.1252772308816; Sat, 12 Sep 2009 09:18:28 -0700 (PDT) In-Reply-To: <1608907209.20090912185041@yandex.ru> References: <1608907209.20090912185041@yandex.ru> Date: Sat, 12 Sep 2009 11:18:28 -0500 Message-ID: <6201873e0909120918g2855b3b0s7fed03888729cda3@mail.gmail.com> From: Adam Vande More To: =?KOI8-R?B?68/O2MvP1yDl18fFzsnK?= Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: System Upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 16:18:32 -0000 2009/9/12 =EB=CF=CE=D8=CB=CF=D7 =E5=D7=C7=C5=CE=C9=CA > =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5, Freebsd-questions. > > Can I do this steps not in single user mode?? > > # 5. `reboot' (in single user mode: boot -s from the loader > prompt). > # 6. `mergemaster -p' > # 7. `make installworld' > # 8. `make delete-old' > # 9. `mergemaster' (you may wish to use -U or > -ai). > # 10. `reboot' > # 11. `make delete-old-libs' (in case no 3rd party program uses them > anymore) > > I am wanna upgrade remotely > -- > =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, > =EB=CF=CE=D8=CB=CF=D7 mailto:kes-kes@yandex.ru > > Yes, but it's not without risk. Best to turn down any service not absolutely needed eg everything except sshd. In my experience, this works well but YMMV --=20 Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 17:47:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF6331065679 for ; Sat, 12 Sep 2009 17:47:29 +0000 (UTC) (envelope-from jwdevel@gmail.com) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by mx1.freebsd.org (Postfix) with ESMTP id AA17E8FC0A for ; Sat, 12 Sep 2009 17:47:29 +0000 (UTC) Received: by ywh9 with SMTP id 9so2780627ywh.32 for ; Sat, 12 Sep 2009 10:47:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=D4KVHw8jOm6CKEOPPtKM2UPdq2ULk5yLWPMvNfTFkTI=; b=fHnjYespuP5i4qhSsXCnxfS2AZGpmK+A8lkK7j3sL5KSImIE4SaXPvPZtfGbpdmn3v hdHvcoXl/DJCurEQB//SmX7fG/hHcrViMl1nTCTStWkyudoTXp6J7Q2zJAu/l24yaMq+ +sYhX3Y261HX5Itpzr3Pwi2M+uZNvGLFPWR5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WF6MWF+alCQOqFdmsx/8kPyTEYwi7TAFb/AbiJ5S+oV8FaRT5nQ1ULCXKqLlEdl2vs WXjTQbTRj4D4donKB8UW6vaYUZXtOcxjCsb+vTSjoBoAm+osMUan5ZIdzICUxeVpWnKp GTvou0nHeN93UiPOEePGsQwtlA2O3DPsbxb88= MIME-Version: 1.0 Received: by 10.91.22.6 with SMTP id z6mr2547958agi.65.1252777648746; Sat, 12 Sep 2009 10:47:28 -0700 (PDT) In-Reply-To: <20090906011215.CA0BDB7DD@kev.msw.wpafb.af.mil> References: <20090906011215.CA0BDB7DD@kev.msw.wpafb.af.mil> Date: Sat, 12 Sep 2009 10:47:28 -0700 Message-ID: From: John W To: vogelke+unix@pobox.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Can anyone reproduce this Samba problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 17:47:30 -0000 On Sat, Sep 5, 2009 at 6:12 PM, Karl Vogel wrote: > > =A0 http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-sa= mba/ > =A0 has some suggestions that might help. It is a good link - In fact it's what I based my setup on. However, it relies on both 'inherit owner' and 'directory mode' / 'force directory mode' working simultaneously. And on my install, for some reason, that does not work. I can only get one or the other to work. Still not sure if it's a general Samba issue or FreeBSD-specific (or me being dumb somehow). -John From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 18:45:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A466106566B for ; Sat, 12 Sep 2009 18:45:01 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward5.yandex.ru (forward5.yandex.ru [77.88.46.21]) by mx1.freebsd.org (Postfix) with ESMTP id EFFAF8FC13 for ; Sat, 12 Sep 2009 18:45:00 +0000 (UTC) Received: from smtp5.yandex.ru (smtp5.yandex.ru [77.88.47.12]) by forward5.yandex.ru (Yandex) with ESMTP id 41090870497; Sat, 12 Sep 2009 22:44:59 +0400 (MSD) Received: from HOMEUSER (unknown [77.93.42.18]) by smtp5.yandex.ru (Yandex) with ESMTPA id 6A92B7980F0; Sat, 12 Sep 2009 22:41:26 +0400 (MSD) Date: Sat, 12 Sep 2009 21:45:02 +0300 From: =?koi8-r?B?68/O2MvP1yDl18fFzsnK?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?koi8-r?B?/vAg68/O2MvP1ywgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <1395552289.20090912214502@yandex.ru> To: Adam Vande More In-Reply-To: <6201873e0909120918g2855b3b0s7fed03888729cda3@mail.gmail.com> References: <1608907209.20090912185041@yandex.ru> <6201873e0909120918g2855b3b0s7fed03888729cda3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1252780886 X-Yandex-Spam: 1 X-Yandex-Front: smtp5.yandex.ru X-Mailman-Approved-At: Sat, 12 Sep 2009 19:00:40 +0000 Cc: freebsd-questions@freebsd.org Subject: Re[2]: System Upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?koi8-r?B?68/O2MvP1yDl18fFzsnK?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 18:45:01 -0000 úÄÒÁ×ÓÔ×ÕÊÔÅ, Adam. ÷Ù ÐÉÓÁÌÉ 12 ÓÅÎÔÑÂÒÑ 2009 Ç., 19:18:28: AVM> 2009/9/12 ëÏÎØËÏ× å×ÇÅÎÉÊ >> úÄÒÁ×ÓÔ×ÕÊÔÅ, Freebsd-questions. >> >> Can I do this steps not in single user mode?? >> >> # 5. `reboot' (in single user mode: boot -s from the loader >> prompt). >> # 6. `mergemaster -p' >> # 7. `make installworld' >> # 8. `make delete-old' >> # 9. `mergemaster' (you may wish to use -U or >> -ai). >> # 10. `reboot' >> # 11. `make delete-old-libs' (in case no 3rd party program uses them >> anymore) >> >> I am wanna upgrade remotely >> -- >> ó Õ×ÁÖÅÎÉÅÍ, >> ëÏÎØËÏ× mailto:kes-kes@yandex.ru >> >> Yes, but it's not without risk. Best to turn down any service not AVM> absolutely needed eg everything except sshd. In my experience, this works AVM> well but YMMV YMMV??? -- ó Õ×ÁÖÅÎÉÅÍ, ëÏÎØËÏ× mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 19:12:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19C4D1065670 for ; Sat, 12 Sep 2009 19:12:38 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by mx1.freebsd.org (Postfix) with ESMTP id C738C8FC16 for ; Sat, 12 Sep 2009 19:12:37 +0000 (UTC) Received: by ywh9 with SMTP id 9so2832017ywh.32 for ; Sat, 12 Sep 2009 12:12:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ybahd4ZJhmg1O+ZJC11FE90BnEtbqcGdAQaqqw1zpB8=; b=M60m5JgsjNiG6PXb4HQ/3knkeil3iPvJA6eTvl56aKATfe2uQT2hjHcDcVxQY0V4NV KRko7hng+0pQTnufJqxUbf9Rt1//zm+dy2Svd8OWlw/cAJNN7n0pEEOva7bkhVsiETl/ z8KEYRfr4//Lbl1oWvOHShLi1FOQ4Rrp0RWCo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=FBdKNGXPVRO0B4vRsbYPX7i7Lz8CNsnN43qq2BexT67UZEwT2z8WFLymKNihagsNGj pFyAz2Mx5Z770k89linSxsbnFnnlhOS6qhqUq2lZitgBpxnD82rhLAutnXqHuWUEVRDC JSTmJSEkZVL1NOCr6PjKPBfG5cRgm2OWXXnPY= MIME-Version: 1.0 Received: by 10.150.172.39 with SMTP id u39mr7204112ybe.43.1252782756688; Sat, 12 Sep 2009 12:12:36 -0700 (PDT) In-Reply-To: <1395552289.20090912214502@yandex.ru> References: <1608907209.20090912185041@yandex.ru> <6201873e0909120918g2855b3b0s7fed03888729cda3@mail.gmail.com> <1395552289.20090912214502@yandex.ru> Date: Sat, 12 Sep 2009 14:12:36 -0500 Message-ID: <6201873e0909121212ib7613a7hc2caab373e62d7de@mail.gmail.com> From: Adam Vande More To: =?KOI8-R?B?68/O2MvP1yDl18fFzsnK?= Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Re[2]: System Upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 19:12:38 -0000 2009/9/12 =EB=CF=CE=D8=CB=CF=D7 =E5=D7=C7=C5=CE=C9=CA > =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5, Adam. > > =F7=D9 =D0=C9=D3=C1=CC=C9 12 =D3=C5=CE=D4=D1=C2=D2=D1 2009 =C7., 19:18:28= : > > AVM> 2009/9/12 =EB=CF=CE=D8=CB=CF=D7 =E5=D7=C7=C5=CE=C9=CA > > >> =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5, Freebsd-questions. > >> > >> Can I do this steps not in single user mode?? > >> > >> # 5. `reboot' (in single user mode: boot -s from the loader > >> prompt). > >> # 6. `mergemaster -p' > >> # 7. `make installworld' > >> # 8. `make delete-old' > >> # 9. `mergemaster' (you may wish to use -U o= r > >> -ai). > >> # 10. `reboot' > >> # 11. `make delete-old-libs' (in case no 3rd party program uses them > >> anymore) > >> > >> I am wanna upgrade remotely > >> -- > >> =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, > >> =EB=CF=CE=D8=CB=CF=D7 mailto:kes-kes@yandex.= ru > >> > >> Yes, but it's not without risk. Best to turn down any service not > AVM> absolutely needed eg everything except sshd. In my experience, this > works > AVM> well but YMMV > > > YMMV??? > > The results of you doing this procedure may be different than mine. --=20 Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 21:54:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29301106566C for ; Sat, 12 Sep 2009 21:54:00 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: from mail-yx0-f193.google.com (mail-yx0-f193.google.com [209.85.210.193]) by mx1.freebsd.org (Postfix) with ESMTP id D74738FC13 for ; Sat, 12 Sep 2009 21:53:59 +0000 (UTC) Received: by yxe31 with SMTP id 31so2678492yxe.29 for ; Sat, 12 Sep 2009 14:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=W6O3M+kcnCYRvUJTpJMLgC82E7+hZUtUS+JXSKNhZ/c=; b=d+pMKAdjAT1RbOaVJ2Orc40ZCAE6XgZZp4VdFdG1VahGakA65WqGVHmXDNtuWj1UX+ EME+DyQC9LOXT3NVkTKKy/99+f5NBRh8A2jhGmvojzfN7FscR8r8d/4r2LBKSPG+Sjdz C9SN0jKWt3QCZ9Ig3Y53o4CaSs+eL846o0HoY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=SmwvMLRTu+wIJ3/yR5knudXnNEcJ5UZpnzKxyDuLTmZ+OgWI1t4tPdj4tCiCmXom5R oxasv/db05dDnuQkqOdFQ8a3u3IfK7yiCdouNu0sQaoMTFwkZ7xTrocWqpN0lW8re7b2 u3NQbrbma69pyWEdqy6D5RvjSMjm4R0u4W9L0= MIME-Version: 1.0 Received: by 10.91.191.17 with SMTP id t17mr2688733agp.51.1252792439089; Sat, 12 Sep 2009 14:53:59 -0700 (PDT) In-Reply-To: <4AAB9DBC.50007@infracaninophile.co.uk> References: <26ddd1750909120549ve82a843k464c1233c3a6f603@mail.gmail.com> <4AAB9DBC.50007@infracaninophile.co.uk> From: Maxim Khitrov Date: Sat, 12 Sep 2009 17:53:39 -0400 Message-ID: <26ddd1750909121453t390f1ca0lb030fdd1cc6a4feb@mail.gmail.com> To: Matthew Seaman Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Free BSD Questions list Subject: Re: Rule equivalence of pf uRPF check X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 21:54:00 -0000 On Sat, Sep 12, 2009 at 9:10 AM, Matthew Seaman wrote: > Maxim Khitrov wrote: > >> block in quick on $int_if from !$int_if:network >> block in quick on !$int_if from $int_if:network >> block in quick from $int_if >> >> The OpenBSD pf faq states that urpf-check is equivalent to the >> antispoof rules, but the antispoof section lists only the last two >> rules in my example as being equivalent. So the question is does urpf >> imply the first rule as well? > > Not if uRPF is intended as a general mechanism. =C2=A0What would happen i= f > you applied that on $ext_if (the external interface you connect to the re= st > of > the internet with)? =C2=A0It's perfectly valid for packets from other tha= n > directly > attached networks to be passed by your firewall -- not doing that would, = in > fact, > completely negate your web browsing experience... > > =C2=A0 =C2=A0 =C2=A0 =C2=A0Cheers, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0Matthew Right, I should have mentioned that I'm only talking about internal interfaces that serve separate 10.x/16 networks. My $int_if network is 10.0/16 and it is not the default route. Under those conditions, would the urpf check block any traffic coming in on $int_if that doesn't come from 10.0/16 network? If not, can you give me an example of what would be allowed? One other related question. Would urpf block a packet arriving on any physical interface that has a source IP of 127.0.0.1 or any other IP assigned to the firewall itself? - Max From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 22:31:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ADCE1065672 for ; Sat, 12 Sep 2009 22:31:05 +0000 (UTC) (envelope-from jon@radel.com) Received: from wave.radel.com (wave.radel.com [216.143.151.4]) by mx1.freebsd.org (Postfix) with ESMTP id 24A7C8FC14 for ; Sat, 12 Sep 2009 22:31:03 +0000 (UTC) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 8984780; Sat, 12 Sep 2009 18:31:00 -0400 Received: from [192.168.43.221] (account jon@radel.com HELO braeburn.local) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP-TLS id 8984773; Sat, 12 Sep 2009 18:30:44 -0400 Message-ID: <4AAC20CB.3040504@radel.com> Date: Sat, 12 Sep 2009 18:29:31 -0400 From: Jon Radel User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: =?KOI8-R?Q?=EB=CF=CE=D8=CB=CF=D7_=E5=D7=C7=C5=CE=C9=CA?= References: <1608907209.20090912185041@yandex.ru> <6201873e0909120918g2855b3b0s7fed03888729cda3@mail.gmail.com> <1395552289.20090912214502@yandex.ru> <6201873e0909121212ib7613a7hc2caab373e62d7de@mail.gmail.com> In-Reply-To: <6201873e0909121212ib7613a7hc2caab373e62d7de@mail.gmail.com> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms050705030100000803010607" X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer Cc: freebsd-questions@freebsd.org Subject: Re: System Upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 22:31:05 -0000 This is a cryptographically signed message in MIME format. --------------ms050705030100000803010607 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit >> YMMV??? >> >> The results of you doing this procedure may be different than mine. > > Your Mileage May Vary A joking reference to advertisements for new cars in the US which are required to provide gas mileage figures, which always turn out to be optimistic and used a little foot note that states this phrase. These days the footnote is a bit more firm: Actual mileage will vary. See http://www.urbandictionary.com/define.php?term=YMMV or Google for more. -- --Jon Radel jon@radel.com --------------ms050705030100000803010607 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJMTCC AvMwggJcoAMCAQICEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDIyNTA0MTMyNloX DTEwMDIyNTA0MTMyNlowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9tYXMx GTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRlbC5j b20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDeT7qtj+euqWr2wXM7OnwrXJe9 Jlc0CGaM69AcTWOFakRY7MUXrqcmF5WjrqrMoagfGjS362eb6787x313ZdLoGuQPh/o2Mqp4 BbSgcnGZRj82SxkUmSN6+2q5ZOOYA6JmfvJwmBuRQ8sHki4GnoSwbIc11a70/z4at5qRi8bb /RtmJYewnpwXErfuuq0hhVSsYKFPXELzSahlpyC+lUfIdgvLJGxc7eU5QuvtYmuohNjn4k9C SJinvfjFbkvgbIgtvZxxmcE74NsKTeW2bEwgoCjZlcAD/QMgLE9KGSVn4/LzC/OZwkPKcWKO CPTNIZK1P+HxaIW4BvvYtjLu2Qx5AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRlbC5j b20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQBT+qFXV8sexrNOJuK8rhVpnCNF iFslD9Kelhon5Tt1tlTsw+B9F9B8ys9tfV559tzVqE+ULcqnjX2rsaJCwFmn6gyucCN0yGML h1O4ddsNQmoTOILyBCv/rkfO4tbXJM3si2JDNPZnL/0Rf3FpDTc3U3SnAdqE1a/8PGBTTmay VDCCAvMwggJcoAMCAQICEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEFBQAwYjELMAkG A1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNV BAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDIyNTA0MTMy NloXDTEwMDIyNTA0MTMyNlowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9t YXMxGTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRl bC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDeT7qtj+euqWr2wXM7Onwr XJe9Jlc0CGaM69AcTWOFakRY7MUXrqcmF5WjrqrMoagfGjS362eb6787x313ZdLoGuQPh/o2 Mqp4BbSgcnGZRj82SxkUmSN6+2q5ZOOYA6JmfvJwmBuRQ8sHki4GnoSwbIc11a70/z4at5qR i8bb/RtmJYewnpwXErfuuq0hhVSsYKFPXELzSahlpyC+lUfIdgvLJGxc7eU5QuvtYmuohNjn 4k9CSJinvfjFbkvgbIgtvZxxmcE74NsKTeW2bEwgoCjZlcAD/QMgLE9KGSVn4/LzC/OZwkPK cWKOCPTNIZK1P+HxaIW4BvvYtjLu2Qx5AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRl bC5jb20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQBT+qFXV8sexrNOJuK8rhVp nCNFiFslD9Kelhon5Tt1tlTsw+B9F9B8ys9tfV559tzVqE+ULcqnjX2rsaJCwFmn6gyucCN0 yGMLh1O4ddsNQmoTOILyBCv/rkfO4tbXJM3si2JDNPZnL/0Rf3FpDTc3U3SnAdqE1a/8PGBT TmayVDCCAz8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhh d3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNp b24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJ ARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3 MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAo UHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBD QTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me 7L3N9VvyGna9fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQq E88r1fOCdz0Dviv+uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEA AaOBlDCBkTASBgNVHRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9j cmwudGhhd3RlLmNvbS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIB BjApBgNVHREEIjAgpB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcN AQEFBQADgYEASIzRUIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNw PP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq72 6jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8xggNkMIIDYAIBATB2MGIxCzAJBgNVBAYT AlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNU aGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQHV4N5VjGEA7f3M4SceIBvDAJ BgUrDgMCGgUAoIIBwzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEP Fw0wOTA5MTIyMjI5MzFaMCMGCSqGSIb3DQEJBDEWBBQkKcqdewL0ZnmDsis0nwtiC0U0fTBS BgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0D AgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEB1eDeVYxhAO39zOEnHi AbwwgYcGCyqGSIb3DQEJEAILMXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEBBQAEggEAySyC VRAau52pk3dkjdwmsnxCcvitvF3x8cZb0HJHWJlgbX1FWpsmxjqpTagM/N19qxIVPyeGxk1r RDEsojicPXkbbSE+eI72qZb6ShjXFsBC7HkmKo00bZu/bS35QgiBA57OB2reVAKh1HV4htpk 5eN38Wd0A+0UVuoFOPeHlmbHFRJwoU3ehajzdNMqCpXpz/h82Cw5wKsl9RXywgfso5eaYfH6 AkXjB+WFacY7rGfEfGBy6Dd4ChzBvEf2Eq4+BnPgFVsQrfiyciM6YN31Xn9ioacvtvAmJaRd 4iK279vJ4c7oH39rdUrqnkoBCnxGD8ffCn+Bt8wtm8RPdCFrXQAAAAAAAA== --------------ms050705030100000803010607-- From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 22:50:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DE75106566B for ; Sat, 12 Sep 2009 22:50:50 +0000 (UTC) (envelope-from green_tiger@comcast.net) Received: from QMTA04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [76.96.30.40]) by mx1.freebsd.org (Postfix) with ESMTP id 35E2D8FC0C for ; Sat, 12 Sep 2009 22:50:50 +0000 (UTC) Received: from OMTA13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by QMTA04.emeryville.ca.mail.comcast.net with comcast id fyXe1c00517UAYkA4ydgcF; Sat, 12 Sep 2009 22:37:40 +0000 Received: from [192.168.1.2] ([69.250.45.68]) by OMTA13.emeryville.ca.mail.comcast.net with comcast id fyde1c0081UFfxx8Zydfyo; Sat, 12 Sep 2009 22:37:40 +0000 Message-ID: <4AAC22B1.20900@comcast.net> Date: Sat, 12 Sep 2009 18:37:37 -0400 From: "John L. Templer" User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Boris Samorodov , FreeBSD Mailing List References: <53480375@bb.ipt.ru> <20090912124143.2fb77924@r500.local> <33804141@bb.ipt.ru> In-Reply-To: <33804141@bb.ipt.ru> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: c++: invalid conversion from 'int' to 'const char*' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 22:50:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Boris Samorodov wrote: > On Sat, 12 Sep 2009 12:41:43 +0200 Fabian Keil wrote: >> Boris Samorodov wrote: > >>> I'm porting a c++ application to FreeBSD. I've got an error: >>> ----- >>> ~/work/src/FileChannel.cpp: In member function 'QString FileChannel::errorString()': >>> ~/work/src/FileChannel.cpp:251: error: invalid conversion from 'int' to 'const char*' >>> ~/work/src/FileChannel.cpp:251: error: initializing argument 2 of 'char* strcpy(char*, const char*)' >>> *** Error code 1 >>> ----- >>> >>> A simle patch makes the application to be compiled without errors: >>> ----- >>> --- src/FileChannel.cpp.orig 2009-09-12 13:08:28.000000000 +0400 >>> +++ src/FileChannel.cpp 2009-09-12 13:08:41.000000000 +0400 >>> @@ -248,7 +248,7 @@ >>> >>> QString FileChannel::errorString() >>> { >>> - strcpy(lastErrorString, strerror_r(errno, lastErrorString, 0)); >>> + strcpy(lastErrorString, "XXX: Fix me: errno should be here"); >>> return QString(trUtf8(lastErrorString)); >>> } > >> At least to me, this looks like a bug in the program you are porting. >> I don't see how this would work on other platforms either, unless >> the libc strerror_r() is shadowed which seems unlikely. > > It compiles at linux (with warning though). ;-) > >> I assume someone replaced strerror() with strerror_r() and >> missed the differences. The third argument of strerror_r() >> being zero looks strange, too. > >>> If I understand correctly, an integer value which is returned by >>> strerror_r() should be converted to const char*. >>> >>> I have _very_ basic knowledge about c++. Hence my question. >>> Can someone provide a patch (a proof of concept)? Thanks! > >> You could try replacing the strerror_r() call with strerror(errno). >> It wouldn't be thread-safe, but should at least work most of the >> time. > > Aha, the following patch helps: > ----- > --- src/FileChannel.cpp.orig 2009-09-12 15:09:00.000000000 +0400 > +++ src/FileChannel.cpp 2009-09-12 15:11:23.000000000 +0400 > @@ -248,7 +248,7 @@ > > QString FileChannel::errorString() > { > - strcpy(lastErrorString, strerror_r(errno, lastErrorString, 0)); > + strcpy(lastErrorString, strerror(errno)); > return QString(trUtf8(lastErrorString)); > } > > ----- > >> If the application is threaded, a better fix would be not to use >> strcpy() at all. strerror_r() already puts the error description >> into the buffer, so there's no need to copy anything. To do this, >> you'd still need to fix the third argument, though. > >> If lastErrorString is an array you could use sizeof(lastErrorString), >> if it's a pointer you could look for a malloc() call that allocates >> the buffer to figure out the size. > > Thanks for your suggestions, much appreciated. > >> Either way, you should probably report the problem upstream. > > Yep, it has been already done. The author said he'll fix it at > the next release but he have no time ATM. While I try to create > a port with the current release. > According to the man pages supplied with GNU gcc, this is a GNU extension. (The following is from a Linux system, but I suspect it's similar to the gcc port on FreeBSD.) > NAME > strerror, strerror_r - return string describing error number > > SYNOPSIS > #include > > char *strerror(int errnum); > > int strerror_r(int errnum, char *buf, size_t buflen); > /* XSI-compliant */ > > char *strerror_r(int errnum, char *buf, size_t buflen); > /* GNU-specific */ > The XSI-compliant strerror_r() is preferred for portable applications. > It returns the error string in the user-supplied buffer buf of length > buflen. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqsIq4ACgkQjkAlo11skePOdACfSFAVWlkGskL9lOhzNYdmNAgq 9TYAoJqCRlVdA2rSzv3qXYD0ck6d/hJg =qsX9 -----END PGP SIGNATURE-----