From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 00:16:48 2010 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 E4D8F106566C for ; Sun, 14 Mar 2010 00:16:48 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-17.arcor-online.net (mail-in-17.arcor-online.net [151.189.21.57]) by mx1.freebsd.org (Postfix) with ESMTP id 6B1C78FC0A for ; Sun, 14 Mar 2010 00:16:48 +0000 (UTC) Received: from mail-in-19-z2.arcor-online.net (mail-in-19-z2.arcor-online.net [151.189.8.36]) by mx.arcor.de (Postfix) with ESMTP id D9F4A3B2540 for ; Sun, 14 Mar 2010 01:16:46 +0100 (CET) Received: from mail-in-10.arcor-online.net (mail-in-10.arcor-online.net [151.189.21.50]) by mail-in-19-z2.arcor-online.net (Postfix) with ESMTP id E04616BDA0 for ; Sun, 14 Mar 2010 01:16:46 +0100 (CET) Received: from lorvorc.mips.inka.de (dslb-094-217-104-252.pools.arcor-ip.net [94.217.104.252]) by mail-in-10.arcor-online.net (Postfix) with ESMTPS id 7319D28ECB6 for ; Sun, 14 Mar 2010 01:16:46 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-10.arcor-online.net 7319D28ECB6 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.14.4/8.14.3) with ESMTP id o2E0GjVq026157 for ; Sun, 14 Mar 2010 01:16:45 +0100 (CET) (envelope-from mailnull@lorvorc.mips.inka.de) Received: (from mailnull@localhost) by lorvorc.mips.inka.de (8.14.4/8.14.4/Submit) id o2E0GjYf026156 for freebsd-questions@freebsd.org; Sun, 14 Mar 2010 01:16:45 +0100 (CET) (envelope-from mailnull) From: naddy@mips.inka.de (Christian Weisgerber) Date: Sun, 14 Mar 2010 00:16:45 +0000 (UTC) Message-ID: Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-questions@freebsd.org Subject: Compose key and xterm vs. UTF-8 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, 14 Mar 2010 00:16:49 -0000 Short: ------ Why do compose key sequences fail to work in a UTF-8 xterm? Long: ----- I have configured a compose key (aka "Multi_key") here: $ setxkbmap -layout us -option compose:ralt When I start an xterm with an ISO8859-1 locale $ LC_CTYPE=en_US.ISO8859-1 xterm & I can use the compose key to enter the expected set of characters with diacritics. (a e i o u with acute accent, grave accent, etc.) So far, so good. When I start an xterm with an ISO8859-2 locale $ LC_CTYPE=pl_PL.ISO8859-2 xterm & xterm will accept compose sequences for 8859-2 characters such as r with acute, l with stoke, etc., but display a different character as if 8859-2 codes are mistaken for 8859-1. Hmm. Buuut... I see in the man page that I need to tell xterm to use the locale settings: $ LC_CTYPE=pl_PL.ISO8859-2 xterm -lc & This works as expected, I can enter 8859-2 characters with compose sequences. (And I can set the XTerm*locale resource to make this the default behavior.) Now, when I start an xterm with a UTF-8 locale $ LC_CTYPE=en_US.UTF-8 xterm -lc & xterm fails to accept compose sequences for common characters from 8859-1/2. At first I thought none would work at all, but some experimenting revealed a very few, such as --- for some sort of dash and L- for a pound sign. No common letters with diacritics, though. The language part of the locale setting doesn't matter; en_US, de_DE, pl_PL, no difference. This is disappointing. You would expect a superset of the common 8859-x characters to be available with UTF-8. Can anybody shed some light on what's going on there? -- Christian "naddy" Weisgerber naddy@mips.inka.de From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 00:19:12 2010 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 10B771065674 for ; Sun, 14 Mar 2010 00:19:12 +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 B8DF78FC12 for ; Sun, 14 Mar 2010 00:19:11 +0000 (UTC) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 13 Mar 2010 19:19:10 -0500 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.8-GA) with ESMTP id QOO35944; Sat, 13 Mar 2010 19:19:10 -0500 (EST) Received: from 209-6-91-204.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.91.204]) by smtp01.lnh.mail.rcn.net with ESMTP; 13 Mar 2010 19:19:11 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19356.11133.962541.787089@jerusalem.litteratus.org> Date: Sat, 13 Mar 2010 19:19:09 -0500 To: Richard Tobin In-Reply-To: <20100313225059.158207FE98D@macpro.inf.ed.ac.uk> References: <20100313225059.158207FE98D@macpro.inf.ed.ac.uk> 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: FreeBSD on Panasonic TV 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, 14 Mar 2010 00:19:12 -0000 Richard Tobin writes: > I was interested to see that my Panasonic television displays a > FreeBSD copyright notice. Does anybody know how much of FreeBSD > it uses? (It apparently uses a UFS filesystem on disks attached > for video recording.) My Toshiba manual includes a NetBSD copyright notice; I believe it is for the USB stack. Surprised me, too. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 01:38:07 2010 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 6A74E106566B for ; Sun, 14 Mar 2010 01:38:07 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id DE6178FC0C for ; Sun, 14 Mar 2010 01:38:06 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlrSAE/Mm0vKRa39OWdsb2JhbACHYZMRCwEBAQE3BisBAQEBt3iEewSDFg X-IronPort-AV: E=Sophos;i="4.49,635,1262534400"; d="scan'208";a="9565677" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.253]) by avmxsmtp5.comclark.com with SMTP; 14 Mar 2010 09:38:05 +0800 Message-ID: <4B9C3DFB.7010307@comclark.com> Date: Sun, 14 Mar 2010 09:38:03 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: how to use cdrecord 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, 14 Mar 2010 01:38:07 -0000 Been using burn for blanking and burning iso files to cd. Now i have need to use mkisofs so though I would try cdrecord to blank cd and write iso to cd. dmesg -a |grep acd gives this acd0: CDRW at ata1-master UMDA33 tried cdrecord -v speed=2 dev=acd0 blank=fast gives this error "Open by devname not supported on this OS. What device am i to use? From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 03:35:50 2010 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 5791B106566C for ; Sun, 14 Mar 2010 03:35:50 +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 C934F8FC20 for ; Sun, 14 Mar 2010 03:35:48 +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 o2E3ZglJ027221; Sat, 13 Mar 2010 22:35:43 -0500 (EST) (envelope-from chris@monochrome.org) Date: Sat, 13 Mar 2010 22:35:42 -0500 (EST) From: Chris Hill To: Aiza In-Reply-To: <4B9C3DFB.7010307@comclark.com> Message-ID: References: <4B9C3DFB.7010307@comclark.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Questions Subject: Re: how to use cdrecord 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, 14 Mar 2010 03:35:50 -0000 On Sun, 14 Mar 2010, Aiza wrote: [snip] > tried cdrecord -v speed=2 dev=acd0 blank=fast > gives this error "Open by devname not supported on this OS. > > What device am i to use? cdrecord wants to see your ATA burner as a SCSI device, so you'd use cdrecord dev=1,0,0 ... The numbers after dev= depend on where your burner is; find it using cdrecord -scanbus HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 03:46:27 2010 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 2E39C1065670 for ; Sun, 14 Mar 2010 03:46:27 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-313.bluehost.com (outbound-mail-313.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id F16788FC14 for ; Sun, 14 Mar 2010 03:46:26 +0000 (UTC) Received: (qmail 31232 invoked by uid 0); 14 Mar 2010 03:46:26 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by cpoproxy3.bluehost.com with SMTP; 14 Mar 2010 03:46:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-Identified-User; b=KNIzKckl9NjEJXg6ABhwsLuLZ7VzpGC7E9Cwf0LwfJ+zLRL4lyKBIafj58uvqhGfQuwNZr79PaHrB55Z3D1IsIImQjnh3E5+wZ+srawhwl7X6BMxrP6n+EWZviKJCTDT; Received: from [206.74.86.236] (helo=[192.168.1.102]) by box264.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NqemY-0000r2-0P for freebsd-questions@freebsd.org; Sat, 13 Mar 2010 20:46:26 -0700 Message-ID: <4B9C5C09.40602@joseph-a-nagy-jr.us> Date: Sat, 13 Mar 2010 21:46:17 -0600 From: Programmer In Training User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100203 Thunderbird/3.0.1 MIME-Version: 1.0 To: FreeBSD Questions References: <4B9C3DFB.7010307@comclark.com> In-Reply-To: X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig673AE809BB31C90367C041E8" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: Re: how to use cdrecord 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, 14 Mar 2010 03:46:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig673AE809BB31C90367C041E8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/13/10 21:35, Chris Hill wrote: > On Sun, 14 Mar 2010, Aiza wrote: >=20 > [snip] >> tried cdrecord -v speed=3D2 dev=3Dacd0 blank=3Dfast >> gives this error "Open by devname not supported on this OS. >> >> What device am i to use? >=20 > cdrecord wants to see your ATA burner as a SCSI device, so you'd use > cdrecord dev=3D1,0,0 ... > The numbers after dev=3D depend on where your burner is; find it using > cdrecord -scanbus >=20 > HTH. I started following as I'll be burning cd's here soon myself, following your suggestion: [root@heaven]cdrecord -scanbus Cdrecord-Clone 2.01 (i386-unknown-freebsd8.0) Copyright (C) 1995-2004 J=EF=BF=BDg Schilling cdrecord: Invalid argument. CAMIOCOMMAND ioctl failed. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. cdrecord: For possible transport specifiers try 'cdrecord dev=3Dhelp'. So I did this: [root@heaven]dmesg -a | grep acd acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDR at ata1-master UDMA33 Thoughts? --=20 Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. Original content copyright under the OWL http://owl.apotheon.org Please do not CC me. If I'm posting to a list it is because I am subscrib= ed. --------------enig673AE809BB31C90367C041E8 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.14 (FreeBSD) iQEcBAEBAgAGBQJLnFwQAAoJEENZQ8DH7rW0ZJYIAIZcGaez6A9KuYV/ilaYA9C5 GriNUmotz4Cp/nkN12WTbGSeE0YH/Ofupg65Tacr6Yjfo3atiZCv7OggZ3zI45hq xSOJblMX69YHcn9U+Ecc43bQITz/L/BQ1q/X0HL/aiSsjAiQPo7uQNxSGXKqMaTw IH3Qrz01mFIAzOqwD9/Lg69r3KyLF3PJI49UWrEgxoo5kAEY+WWZa1p2s+MNjS/D j9okDdnyXsfCTyQiqnR/niPAb0iHPIEBbk0oZW8z9USx3aTDo0QftnBfjE657kUV hwe31LUIMqmX1sqktrboU6msFzRFwCNL/pllwgPd77ptiP1YfxbbX4SKcc/DqC0= =5Prw -----END PGP SIGNATURE----- --------------enig673AE809BB31C90367C041E8-- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 03:47:38 2010 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 E4EF2106564A for ; Sun, 14 Mar 2010 03:47:38 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id 61A418FC0C for ; Sun, 14 Mar 2010 03:47:37 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmLbAMbqm0vKRa39OWdsb2JhbACHYZMRCwEBAQE3BisBAQEBuAuEewSDFg X-IronPort-AV: E=Sophos;i="4.49,636,1262534400"; d="scan'208";a="9573737" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.253]) by avmxsmtp3.comclark.com with SMTP; 14 Mar 2010 11:47:36 +0800 Message-ID: <4B9C5C57.6060800@comclark.com> Date: Sun, 14 Mar 2010 11:47:35 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Chris Hill References: <4B9C3DFB.7010307@comclark.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: how to use cdrecord 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, 14 Mar 2010 03:47:39 -0000 Chris Hill wrote: > On Sun, 14 Mar 2010, Aiza wrote: > > [snip] >> tried cdrecord -v speed=2 dev=acd0 blank=fast >> gives this error "Open by devname not supported on this OS. >> >> What device am i to use? > > cdrecord wants to see your ATA burner as a SCSI device, so you'd use > cdrecord dev=1,0,0 ... > The numbers after dev= depend on where your burner is; find it using > cdrecord -scanbus > > HTH. > > -- > Chris Hill chris@monochrome.org > > > cdrecord -scanbus gives a error. Invalid argument. Camiocommand ioctl failed, can not open scsi driver From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 03:53:26 2010 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 24A5D106566B for ; Sun, 14 Mar 2010 03:53:26 +0000 (UTC) (envelope-from me@johnea.net) Received: from mail.johnea.net (johnea.net [70.167.123.7]) by mx1.freebsd.org (Postfix) with ESMTP id 0E6C08FC0A for ; Sun, 14 Mar 2010 03:53:25 +0000 (UTC) Received: from [192.168.100.239] (vhost.johnea.net [192.168.100.239]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.johnea.net (Postfix) with ESMTPSA id C9A5B73F184F for ; Sat, 13 Mar 2010 19:12:46 -0800 (PST) Message-ID: <4B9C5A0B.7040206@johnea.net> Date: Sat, 13 Mar 2010 19:37:23 -0800 From: johnea User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Shredder/3.0.1 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: building from source after 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: Sun, 14 Mar 2010 03:53:26 -0000 Hello, I have been using freebsd-update to update several 7.1 systems. The default freebsd-update.conf contains: Components src world kernel Recently while trying to build sendmail to enable SASL I ran into errors: host# cd /usr/src/usr.sbin/sendmail host# make depend make: don't know how to make alias.c. Stop How can I build the source updated by freebsd-update? Thank You! johnea p.s. I have replaced sendmail with ssmtp and have the necessary SASL authentication working. However I have always maintained these servers via freebsd-update and I would like to learn the process of building the system from source. Thanks for any help! From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 03:59:01 2010 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 4588D106566B for ; Sun, 14 Mar 2010 03:59:01 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout028.mac.com (asmtpout028.mac.com [17.148.16.103]) by mx1.freebsd.org (Postfix) with ESMTP id 318EA8FC17 for ; Sun, 14 Mar 2010 03:59:00 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from [17.151.81.131] by asmtp028.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KZ900IZE71DHO60@asmtp028.mac.com> for freebsd-questions@freebsd.org; Sat, 13 Mar 2010 19:58:26 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1003130269 From: Chuck Swiger In-reply-to: <4B9C5A0B.7040206@johnea.net> Date: Sat, 13 Mar 2010 19:58:25 -0800 Message-id: References: <4B9C5A0B.7040206@johnea.net> To: johnea X-Mailer: Apple Mail (2.1077) Cc: FreeBSD Questions Subject: Re: building from source after 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: Sun, 14 Mar 2010 03:59:01 -0000 On Mar 13, 2010, at 7:37 PM, johnea wrote: > I have been using freebsd-update to update several 7.1 systems. > [ ... ] > How can I build the source updated by freebsd-update? freebsd-update provides a binary update mechanism. It doesn't do anything to update the source files; if you choose to rebuild from source, use cvsup/csup/svn; you will normally get a -STABLE system from the build cycle, and not a -RELEASE system, but that depends upon which branch you are tracking. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 04:07:39 2010 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 874A0106564A for ; Sun, 14 Mar 2010 04:07:39 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pz0-f196.google.com (mail-pz0-f196.google.com [209.85.222.196]) by mx1.freebsd.org (Postfix) with ESMTP id 5A4EB8FC19 for ; Sun, 14 Mar 2010 04:07:39 +0000 (UTC) Received: by pzk34 with SMTP id 34so1397027pzk.3 for ; Sat, 13 Mar 2010 20:07:38 -0800 (PST) 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=opn+QlxvG1dd0hA5b29c61HIAF5hTTtOd7H3R4HSPHE=; b=r06bIhaXwRs0+ZZ3GPace0llJBjF2siQ/CNtBqneScREpVjFk4+gH00wdRjoQ5TMRq VUSKFgsTW1DJZJnWx8O87nJ+/oQjjz13wKXRwQDEi8H5dpCC5D8GZW9LMcEgsdAv9pNk B6wVlZuXJHfFk1CWjPd9qxAi6SjBNXbh2DgNQ= 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=YkFqPItPOx6H/62L9UVtwdFIwcb83rMyb+DllWNPS9j8HDexm7iNAvziKb/Xh5P3I9 AYRHPtP9hpGpERFXlebXGq2zwomHHS3llxFlK/DRMU1sK3L6kJ146fvMSHWnV5JJC9T7 7W3d0hBRpLIJqkuCFM4k/uV/XhScooJqNV+U8= MIME-Version: 1.0 Received: by 10.142.207.18 with SMTP id e18mr2035611wfg.331.1268539653424; Sat, 13 Mar 2010 20:07:33 -0800 (PST) In-Reply-To: <4324dbec1003120821q5911b63fkf21ed51a8e4af4aa@mail.gmail.com> References: <4324dbec1003110905i3267df08hfc2d8a790c797a45@mail.gmail.com> <6201873e1003111146u488a1353r92342e9fd870fb87@mail.gmail.com> <4324dbec1003120821q5911b63fkf21ed51a8e4af4aa@mail.gmail.com> Date: Sat, 13 Mar 2010 22:07:33 -0600 Message-ID: <6201873e1003132007l239f5a8fv64409470e231926e@mail.gmail.com> From: Adam Vande More To: Richard DeLaurell Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "mail.list freebsd-questions" Subject: Re: problems w/ touching all files? 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, 14 Mar 2010 04:07:39 -0000 On Fri, Mar 12, 2010 at 10:21 AM, Richard DeLaurell < richard.delaurell@gmail.com> wrote: > > > On Thu, Mar 11, 2010 at 1:46 PM, Adam Vande More wrote: > >> >> >> On Thu, Mar 11, 2010 at 11:05 AM, Richard DeLaurell < >> richard.delaurell@gmail.com> wrote: >> >>> I made a big mistake the upshot of which is that many of my files >>> (including >>> many port/makefiles) have the wrong date. >>> >> >> maybe try a portnsnap fetch extract, touch -m should help on >> /usr/ports/distfiles/ >> >> > Wouldn't the portsnap fetch extract reset the modified dates without a > touch? > No, not for the files in /usr/ports/distfiles/ Those timestamps would be set when the tarball for the port is fetched. It is not modified other than that I believe except for perhaps access times. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 04:09:33 2010 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 531E7106566C for ; Sun, 14 Mar 2010 04:09:33 +0000 (UTC) (envelope-from me@johnea.net) Received: from mail.johnea.net (johnea.net [70.167.123.7]) by mx1.freebsd.org (Postfix) with ESMTP id 394818FC0C for ; Sun, 14 Mar 2010 04:09:32 +0000 (UTC) Received: from [192.168.100.239] (vhost.johnea.net [192.168.100.239]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.johnea.net (Postfix) with ESMTPSA id AF9CE73F184F for ; Sat, 13 Mar 2010 19:46:05 -0800 (PST) Message-ID: <4B9C61DA.9080308@johnea.net> Date: Sat, 13 Mar 2010 20:10:42 -0800 From: johnea User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Shredder/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B9C5A0B.7040206@johnea.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: building from source after 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: Sun, 14 Mar 2010 04:09:33 -0000 On 2010-03-13 19:58, Chuck Swiger wrote: > > freebsd-update provides a binary update mechanism. > > It doesn't do anything to update the source files; if you choose to rebuild from source, use cvsup/csup/svn; you will normally get a -STABLE system from the build cycle, and not a -RELEASE system, but that depends upon which branch you are tracking. I guess I was lead to believe that it updated the source from this entry in the handbook: "The default is to update the source code, the entire base system, and the kernel." http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html I've also seem other references indicate that the source downloaded by freebsd-update could be patched and installed. Am I completely off? Thanks for helping clear this up... johnea From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 04:51:16 2010 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 40646106564A for ; Sun, 14 Mar 2010 04:51:16 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id 2B9258FC13 for ; Sun, 14 Mar 2010 04:51:15 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from [17.151.81.131] by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KZ900I299GVPF60@asmtp026.mac.com> for freebsd-questions@freebsd.org; Sat, 13 Mar 2010 20:50:56 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=1 spamscore=1 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1003130281 From: Chuck Swiger In-reply-to: <4B9C61DA.9080308@johnea.net> Date: Sat, 13 Mar 2010 20:50:55 -0800 Message-id: References: <4B9C5A0B.7040206@johnea.net> <4B9C61DA.9080308@johnea.net> To: johnea X-Mailer: Apple Mail (2.1077) Cc: freebsd-questions@freebsd.org Subject: Re: building from source after 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: Sun, 14 Mar 2010 04:51:16 -0000 On Mar 13, 2010, at 8:10 PM, johnea wrote: > guess I was lead to believe that it updated the source from this entry in the handbook: > > "The default is to update the source code, the entire base system, and the kernel." > > http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html > > I've also seem other references indicate that the source downloaded by freebsd-update > could be patched and installed. If you list src component, evidently freebsd-update claims to update /usr/src. I suspect that if you've updated src via one of the other methods, it won't figure out how to update everything correctly. -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 08:05:58 2010 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 ACF121065672 for ; Sun, 14 Mar 2010 08:05:58 +0000 (UTC) (envelope-from antoniok.spb@gmail.com) Received: from mail-fx0-f209.google.com (mail-fx0-f209.google.com [209.85.220.209]) by mx1.freebsd.org (Postfix) with ESMTP id 4366C8FC22 for ; Sun, 14 Mar 2010 08:05:58 +0000 (UTC) Received: by fxm1 with SMTP id 1so1787208fxm.13 for ; Sun, 14 Mar 2010 00:05:57 -0800 (PST) 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=XNzHzOArwa69mh6SZyf8pqEeVqKyeCqQ5va79qVAjFM=; b=CoJuDsV6nBVf57uRsZHgprH0rSK4WJBeIYZJnrG33rrq4QL3jJuV6yWVoNXg6uLJ+5 aBEyf4HbA6G8OdxgKkHfHf9r1nTTMnBdZFnskfelJTFzuvvVJEwGbfdVHpATzuWk+Ogx 7Vkf3/LNtMSXy4243FG5Uv7/Ip7q7ONqjBOoM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=MQsemtTca5PpLXCPQeqMtYaXoixYhMDA7eA0m6z4AdoyO1iN52vHrsPjjf8zAwnSJN 5RC0x6+8qsU55v0vZlT+f493eicT95l9FKsuqenDzTaSl78Vqq+wvmnnxDszxPQjOSs5 nH361aRo5yEKqtx+ARSctqQOOX/GofnlSEbUo= MIME-Version: 1.0 Received: by 10.239.171.135 with SMTP id w7mr735543hbe.56.1268553957158; Sun, 14 Mar 2010 00:05:57 -0800 (PST) From: =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= Date: Sun, 14 Mar 2010 11:05:37 +0300 Message-ID: <3f1c29e71003140005u3d8dd7c8o474fd13b9cb1042b@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Using multiply kernels with reserved GENERIC 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, 14 Mar 2010 08:05:58 -0000 I compile my own kernel: # make buildkernel KERNCONF=MYKERN && make installkernel KERNCONF=MYKERN After this, the new kernel is into /boot/kernel , and old one is into /boot/kernel.old After first kernel rebuilding, kernel.old is GENERIC. But after second one it seems that I'm unable to boot GENERIC without compiling and installing it again. Is it possible to have GENERIC for system crash restoring purposes somewhere like /boot/kernel.generic ? From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 08:37:27 2010 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 8FB61106564A for ; Sun, 14 Mar 2010 08:37:27 +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 01D768FC14 for ; Sun, 14 Mar 2010 08:37:26 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o2E8bMjl040055 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 14 Mar 2010 08:37:22 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4B9CA042.4000108@infracaninophile.co.uk> Date: Sun, 14 Mar 2010 08:37:22 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= References: <3f1c29e71003140005u3d8dd7c8o474fd13b9cb1042b@mail.gmail.com> In-Reply-To: <3f1c29e71003140005u3d8dd7c8o474fd13b9cb1042b@mail.gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Using multiply kernels with reserved GENERIC 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, 14 Mar 2010 08:37:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/03/2010 08:05:37, Антон Клесс wrote: > I compile my own kernel: > > # make buildkernel KERNCONF=MYKERN && make installkernel KERNCONF=MYKERN > > After this, the new kernel is into /boot/kernel , and old one is into > /boot/kernel.old > > After first kernel rebuilding, kernel.old is GENERIC. But after second one > it seems that I'm unable to boot GENERIC without compiling and installing it > again. > > Is it possible to have GENERIC for system crash restoring purposes somewhere > like /boot/kernel.generic ? Yes. Just mv /boot/kernel.old /boot/kernel.generic If you want to update your copy of the GENERIC kernel: # cd /usr/src # make buildkernel KERNCONF=GENERIC # make installkernel KERNCONF=GENERIC KODIR=/boot/kernel.generic Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkucoEEACgkQ8Mjk52CukIzmwACfeTkSfNc/s86EkYvBABCWGRa5 VQAAmQFH2QQUnVOA16FJGFuoSHsgJ5+l =O0/G -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 08:50:40 2010 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 6CBDD106566B for ; Sun, 14 Mar 2010 08:50:40 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp03.sth.basefarm.net (ch-smtp03.sth.basefarm.net [80.76.149.214]) by mx1.freebsd.org (Postfix) with ESMTP id 25FFD8FC0C for ; Sun, 14 Mar 2010 08:50:40 +0000 (UTC) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:57114 helo=falcon.midgard.homeip.net) by ch-smtp03.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1NqjWO-0001sW-CX for freebsd-questions@freebsd.org; Sun, 14 Mar 2010 09:50:06 +0100 Received: (qmail 6183 invoked from network); 14 Mar 2010 09:49:57 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 14 Mar 2010 09:49:57 +0100 Received: (qmail 97705 invoked by uid 1001); 14 Mar 2010 09:49:57 +0100 Date: Sun, 14 Mar 2010 09:49:57 +0100 From: Erik Trulsson To: Aiza Message-ID: <20100314084957.GA97654@owl.midgard.homeip.net> References: <4B9C3DFB.7010307@comclark.com> <4B9C5C57.6060800@comclark.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B9C5C57.6060800@comclark.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1NqjWO-0001sW-CX. X-Scan-Signature: ch-smtp03.sth.basefarm.net 1NqjWO-0001sW-CX 11f5f187ad367e659739872bf5cf0d56 Cc: FreeBSD Questions Subject: Re: how to use cdrecord 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, 14 Mar 2010 08:50:40 -0000 On Sun, Mar 14, 2010 at 11:47:35AM +0800, Aiza wrote: > Chris Hill wrote: > > On Sun, 14 Mar 2010, Aiza wrote: > > > > [snip] > >> tried cdrecord -v speed=2 dev=acd0 blank=fast > >> gives this error "Open by devname not supported on this OS. > >> > >> What device am i to use? > > > > cdrecord wants to see your ATA burner as a SCSI device, so you'd use > > cdrecord dev=1,0,0 ... > > The numbers after dev= depend on where your burner is; find it using > > cdrecord -scanbus > > > > HTH. > > > > -- > > Chris Hill chris@monochrome.org > > > > > > > cdrecord -scanbus gives a error. Invalid argument. Camiocommand ioctl > failed, can not open scsi driver Do you have that atapicam(4) kernel module loaded? If not load it. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 09:08:57 2010 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 75FF0106566B for ; Sun, 14 Mar 2010 09:08:57 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id 094078FC0A for ; Sun, 14 Mar 2010 09:08:56 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id o2E98nUT099797; Sun, 14 Mar 2010 10:08:51 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id AC004BAA9; Sun, 14 Mar 2010 10:08:48 +0100 (CET) Date: Sun, 14 Mar 2010 10:08:48 +0100 From: Roland Smith To: Aiza Message-ID: <20100314090848.GA9037@slackbox.erewhon.net> References: <4B9C3DFB.7010307@comclark.com> <4B9C5C57.6060800@comclark.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <4B9C5C57.6060800@comclark.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions Subject: Re: how to use cdrecord 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, 14 Mar 2010 09:08:57 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 14, 2010 at 11:47:35AM +0800, Aiza wrote: > Chris Hill wrote: > > On Sun, 14 Mar 2010, Aiza wrote: > >=20 > > [snip] > >> tried cdrecord -v speed=3D2 dev=3Dacd0 blank=3Dfast > >> gives this error "Open by devname not supported on this OS. > >> > >> What device am i to use? > >=20 > > cdrecord wants to see your ATA burner as a SCSI device, so you'd use > > cdrecord dev=3D1,0,0 ... > > The numbers after dev=3D depend on where your burner is; find it using > > cdrecord -scanbus > >=20 > > HTH. > >=20 > cdrecord -scanbus gives a error. Invalid argument. Camiocommand ioctl=20 > failed, can not open scsi driver You need SCSI emulation for your burner in your kernel. Specifically, you n= eed to recompile your kernel with the following devices in its configuration fi= le: device atapicam # emulate ATAPI devices as SCSI ditto v= ia CAM # needs CAM to be present (scbus & pass) # SCSI peripherals device scbus # SCSI bus (required for SCSI) device da # Direct Access (disks) device cd # CD device pass # Passthrough device (direct SCSI acces= s) See the manual pages atapicam(4), scbus(4), cd(4) and pass(4). It could be that these devices are also available as modules, but I've alwa= ys build a custom kernel, so I don't know about that. The manual pages don't s= ay that they are available as modules, so I'm inclined to say they are not. After rebuilding the kernel, which you'll find documented in Chapter 8 of t= he Handbook, you also need to give your user-id write access to the right devices. I have done that by creating a group "cdrom", to which I've added = my user-id (with 'pw groupmod -m'). Then I've put the following lines in my /etc/devfs.conf: # Give members of group cdrom access to the CD/DVD-ROM and DVD+RW via t= he # SCSI interface own xpt0 root:cdrom perm xpt0 0660 own cd0 root:cdrom perm cd0 0660 own cd1 root:cdrom perm cd1 0660 link cd1 cdrom link cd1 dvd Since I've got both a burner and a regular DVD player in my machine, you see two cd devices but only one xpt device. Additionally, the following has been added to my standard ruleset in /etc/d= evfs.rules: [slackbox=3D10] add path 'pass*' mode 0660 group cdrom And in /etc/rc.conf the following is added; devfs_system_ruleset=3D"slackbox" I've put the pass device in devfs.rules because it will attach to every SCSI device that attaches to the system, _even if they are added after booting_ like e.g. USB disks used with the da(4) driver. Hope this helps. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkucp6AACgkQEnfvsMMhpyW+tgCfQTVW5VLqI636SJ0TPQlySzJ8 KHMAoKBVAfA1GV+KNEt+xOtDn7lw6XGM =fUY8 -----END PGP SIGNATURE----- --5vNYLRcllDrimb99-- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 11:45:26 2010 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 5EEE8106566B for ; Sun, 14 Mar 2010 11:45:26 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id E81998FC13 for ; Sun, 14 Mar 2010 11:45:25 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id o2EBjOZs071047; Sun, 14 Mar 2010 12:45:24 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 1EBE1BA90; Sun, 14 Mar 2010 12:45:24 +0100 (CET) Date: Sun, 14 Mar 2010 12:45:24 +0100 From: Roland Smith To: Christian Weisgerber Message-ID: <20100314114524.GB25702@slackbox.erewhon.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oC1+HKm2/end4ao3" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Compose key and xterm vs. UTF-8 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, 14 Mar 2010 11:45:26 -0000 --oC1+HKm2/end4ao3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 14, 2010 at 12:16:45AM +0000, Christian Weisgerber wrote: > Short: > ------ > Why do compose key sequences fail to work in a UTF-8 xterm? The port x11/rxvt-unicode is lighter on resources then xterm, and works fine with utf-8. (with LANG=3Den_US.UTF-8 and LC_ALL=3Den_US.UTF-8 set) Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --oC1+HKm2/end4ao3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkuczFQACgkQEnfvsMMhpyXMPgCgmB74fgdQxTC3zI/lQfENaNs1 /R8Anj2wIaR0kuJU2OnZ92ZYJ3wQsKt1 =V4mS -----END PGP SIGNATURE----- --oC1+HKm2/end4ao3-- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 12:39:26 2010 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 2BB54106564A for ; Sun, 14 Mar 2010 12:39:26 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from n23.bullet.mail.ukl.yahoo.com (n23.bullet.mail.ukl.yahoo.com [87.248.110.140]) by mx1.freebsd.org (Postfix) with SMTP id 8D5CF8FC17 for ; Sun, 14 Mar 2010 12:39:25 +0000 (UTC) Received: from [217.146.182.177] by n23.bullet.mail.ukl.yahoo.com with NNFMP; 14 Mar 2010 12:39:24 -0000 Received: from [87.248.110.204] by t3.bullet.ukl.yahoo.com with NNFMP; 14 Mar 2010 12:39:24 -0000 Received: from [127.0.0.1] by omp234.mail.ukl.yahoo.com with NNFMP; 14 Mar 2010 12:39:24 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 654897.28796.bm@omp234.mail.ukl.yahoo.com Received: (qmail 77825 invoked by uid 60001); 14 Mar 2010 12:39:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1268570364; bh=sy8/3ptW0OhqvLfwDqinupf5y0VIA2xX0jsYPqvhWh0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ocYXo0dcL8ALGHpKYqU+Z9kU4k4f71mVMK0FCgvq3WDYIqwqiQcuw7hB86nLx3rVeFSgmUZ9CyaLG0C7G1j+fAdA6IWaO100Ck5VfmNbEoAf4yzx20+H5kZTMKO/+JsppYYAW4sUMotQDrciVeV/hfOMfIkBxOgmotBHOuB/+xg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=j3z++HePG0MfmPkrxlCDcZCPOSpsi8eE9Mn/ePRzflLsYB3bFA+7ulVkyeWTDFQqyCpmG1sFbWFJUC1oIbwzbKEpY0PioEGxSqOLG7wvQFol0qq6SRgvhkPMy/fTjtOW+lqV70UOPFaOxvFlRX+sa/jfWt+z5mGXGJILQMe4qvc=; Message-ID: <491164.77435.qm@web24805.mail.ird.yahoo.com> X-YMail-OSG: SxzA0DgVM1kocmqoh9rvEggEMD0iT33F1X08yEt.thAlcty 69TmqGxVsgl98cM5YqSJhQpEP9MOpQJc5BsSCr03uhKwvDZ_ZVKRPrcZrti9 qVQpae0pHaUHXRzz1ICyyyImXBZpjwegMgAEez5Mj679pxKWdih2jeFWVwW1 9.TC8bswiRsQA_jaUPDTYxr4MxSzvFR8XsiJHBePZtWE0PgHeHBGdgbI3K9m qoHqhmummd1Ku Received: from [82.243.40.23] by web24805.mail.ird.yahoo.com via HTTP; Sun, 14 Mar 2010 05:39:24 PDT X-Mailer: YahooMailClassic/9.2.12 YahooMailWebService/0.8.100.260964 Date: Sun, 14 Mar 2010 05:39:24 -0700 (PDT) From: "Alexandre L." To: FreeBSD Questions , johnea In-Reply-To: <4B9C5A0B.7040206@johnea.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re : building from source after 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: Sun, 14 Mar 2010 12:39:26 -0000 Please read the handbook section related to the FreeBSD update tool=0Ahttp:= //www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-fre= ebsdupdate.html=0A=0Afreebsd-update is a binary update tool, so you haven't= got anything to rebuild, except your custom kernel (if you are using one).= =0A=0A--- En date de=A0: Dim 14.3.10, johnea a =E9crit=A0:= =0A=0A> De: johnea =0A> Objet: building from source after fr= eebsd-update=0A> =C0: "FreeBSD Questions" = =0A> Date: Dimanche 14 mars 2010, 3h37=0A> =0A> Hello,=0A> =0A> I have been= using freebsd-update to update several 7.1=0A> systems.=0A> =0A> The defau= lt freebsd-update.conf contains:=0A> =0A> Components src world kernel=0A> = =0A> Recently while trying to build sendmail to enable SASL I=0A> ran into = errors:=0A> =0A> host# cd /usr/src/usr.sbin/sendmail=0A> host# make depend= =0A> make: don't know how to make alias.c. Stop=0A> =0A> How can I build th= e source updated by freebsd-update?=0A> =0A> Thank You!=0A> =0A> johnea=0A>= =0A> p.s. I have replaced sendmail with ssmtp and have the=0A> necessary S= ASL=0A> =A0 =A0=A0=A0authentication working. However I=0A> have always main= tained these=0A> =A0 =A0=A0=A0servers via freebsd-update and I=0A> would li= ke to learn the process=0A> =A0 =A0=A0=A0of building the system from=0A> so= urce. Thanks for any help!=0A> =0A> _______________________________________= ________=0A> freebsd-questions@freebsd.org=0A> mailing list=0A> http://list= s.freebsd.org/mailman/listinfo/freebsd-questions=0A> To unsubscribe, send a= ny mail to "freebsd-questions-unsubscribe@freebsd.org"=0A> =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 12:48:35 2010 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 9258F1065688 for ; Sun, 14 Mar 2010 12:48:35 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1D78FC1D for ; Sun, 14 Mar 2010 12:48:34 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4SAJJ4nEvKRa39/2dsb2JhbACab3cBAQEBtWmEewSDFg X-IronPort-AV: E=Sophos;i="4.49,638,1262534400"; d="scan'208";a="9612388" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.253]) by avmxsmtp5.comclark.com with SMTP; 14 Mar 2010 20:48:29 +0800 Message-ID: <4B9CDB16.60501@comclark.com> Date: Sun, 14 Mar 2010 20:48:22 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Erik Trulsson References: <4B9C3DFB.7010307@comclark.com> <4B9C5C57.6060800@comclark.com> <20100314084957.GA97654@owl.midgard.homeip.net> In-Reply-To: <20100314084957.GA97654@owl.midgard.homeip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: how to use cdrecord 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, 14 Mar 2010 12:48:35 -0000 Erik Trulsson wrote: > On Sun, Mar 14, 2010 at 11:47:35AM +0800, Aiza wrote: >> Chris Hill wrote: >>> On Sun, 14 Mar 2010, Aiza wrote: >>> >>> [snip] >>>> tried cdrecord -v speed=2 dev=acd0 blank=fast >>>> gives this error "Open by devname not supported on this OS. >>>> >>>> What device am i to use? >>> cdrecord wants to see your ATA burner as a SCSI device, so you'd use >>> cdrecord dev=1,0,0 ... >>> The numbers after dev= depend on where your burner is; find it using >>> cdrecord -scanbus >>> >>> HTH. >>> >>> -- >>> Chris Hill chris@monochrome.org >>> >>> >>> >> cdrecord -scanbus gives a error. Invalid argument. Camiocommand ioctl >> failed, can not open scsi driver > > Do you have that atapicam(4) kernel module loaded? If not load it. > > No I do not. how do i do this? From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 13:06:56 2010 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 CF521106566B for ; Sun, 14 Mar 2010 13:06:56 +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 8E1988FC12 for ; Sun, 14 Mar 2010 13:06:56 +0000 (UTC) Received: from r55.edvax.de (port-92-195-17-177.dynamic.qsc.de [92.195.17.177]) by mx01.qsc.de (Postfix) with ESMTP id 704A93D35D; Sun, 14 Mar 2010 14:06:54 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o2ED6rsU001589; Sun, 14 Mar 2010 14:06:54 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 14 Mar 2010 14:06:53 +0100 From: Polytropon To: Aiza Message-Id: <20100314140653.47a89e29.freebsd@edvax.de> In-Reply-To: <4B9CDB16.60501@comclark.com> References: <4B9C3DFB.7010307@comclark.com> <4B9C5C57.6060800@comclark.com> <20100314084957.GA97654@owl.midgard.homeip.net> <4B9CDB16.60501@comclark.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 Subject: Re: how to use cdrecord 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: Sun, 14 Mar 2010 13:06:56 -0000 On Sun, 14 Mar 2010 20:48:22 +0800, Aiza wrote: > No I do not. how do i do this? If you don't want to compile it into your kernel, load it manually: # kldload atapicam You can automate it using the appropriate line in /boot/loader.conf, I think it's atapicam_load="YES" Then you get something like this: % camcontrol devlist at scbus0 target 6 lun 0 (pass0) at scbus2 target 0 lun 0 (cd0,pass1) The scanner is a real SCSI scanner, the DVD recorder is an ATAPI drive. You see it's device number is 2,0,0, and the device node is /dev/cd0. You need access to /dev/pass1, too. (If the scanner wouldn't be present, it would be /dev/pass0.) If you want to burn a data CD, use something like this: % cdrecord dev=2,0,0 speed=16 -v -eject -tao -data For a music CD: % cdrecord dev=2,0,0 speed=16 -v -eject -dao -audio ... If you want to combine the mkisofs step with the burning step (instead of first creating the ISO, then burnin it), you can do something like this: % mkisofs -r | cdrecord dev=2,0,0 speed=16 -v -eject -tao -data - It works similar with DVDs, just you use growisofs from the port dvd+rw-tools here: % growisofs -dvd-compat -Z /dev/dvd=$1 The /dev/dvd is a symling that points to /dev/cd0 - again, the ATAPICAM cd driver is used instead of ATAPI's acd. To make this symlink, I have link acd0 cdrom link cd0 dvd in /etc/devfs.conf. This makes refering to the example in "man growisofs" more easy. :-) If you don't have this symlink, you must use /dev/cd0 (or the correct device name for the "SCSI" drive) in the command. You can check this with "camcontrol devlist" where both numerical and device node are displayed. Additionally, you can do the same with growisofs as I have shown you with cdrecord - combine the building of the ISO with the burning: % growisofs -dvd-compat -Z /dev/dvd -r This should give you a good summary of how to use these tools. You already have gotten useful advices on how to set the correct device permissions - this is important. Additionally, see "man cdrecord" on how to construct a simple config file so you don't have to put speed= and dev= whenever you want to use the program - it makes things more comfortable. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 13:17:18 2010 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 D9F38106564A for ; Sun, 14 Mar 2010 13:17:18 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id 98C308FC19 for ; Sun, 14 Mar 2010 13:17:18 +0000 (UTC) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id o2EDHHV4014032; Sun, 14 Mar 2010 09:17:17 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id o2EDHGeK014029; Sun, 14 Mar 2010 09:17:16 -0400 (EDT) Date: Sun, 14 Mar 2010 09:17:16 -0400 From: Thomas Dickey To: Roland Smith Message-ID: <20100314131716.GA13942@saltmine.radix.net> References: <20100314114524.GB25702@slackbox.erewhon.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <20100314114524.GB25702@slackbox.erewhon.net> User-Agent: Mutt/1.3.27i Cc: Christian Weisgerber , freebsd-questions@freebsd.org Subject: Re: Compose key and xterm vs. UTF-8 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, 14 Mar 2010 13:17:18 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 14, 2010 at 12:45:24PM +0100, Roland Smith wrote: > On Sun, Mar 14, 2010 at 12:16:45AM +0000, Christian Weisgerber wrote: > > Short: > > ------ > > Why do compose key sequences fail to work in a UTF-8 xterm? >=20 > The port x11/rxvt-unicode is lighter on resources then xterm, and works f= ine > with utf-8. (with LANG=3Den_US.UTF-8 and LC_ALL=3Den_US.UTF-8 set) That doesn't appear to answer his question. awai --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFLnOHatIqByHxlDocRAr5nAKCWT4LrqcnDleHGCKVPGp4yScehbgCfcXug kwpDzYz9L5KXVQlh1yf8OWQ= =umIL -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 13:17:29 2010 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 96AB81065720 for ; Sun, 14 Mar 2010 13:17:29 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) by mx1.freebsd.org (Postfix) with ESMTP id 4C6028FC16 for ; Sun, 14 Mar 2010 13:17:29 +0000 (UTC) Received: from mail-in-07-z2.arcor-online.net (mail-in-07-z2.arcor-online.net [151.189.8.19]) by mx.arcor.de (Postfix) with ESMTP id 61EE42C312D; Sun, 14 Mar 2010 13:43:28 +0100 (CET) Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mail-in-07-z2.arcor-online.net (Postfix) with ESMTP id 59259316832; Sun, 14 Mar 2010 13:43:28 +0100 (CET) Received: from lorvorc.mips.inka.de (dslb-088-067-122-122.pools.arcor-ip.net [88.67.122.122]) by mail-in-05.arcor-online.net (Postfix) with ESMTPS id 24DB3332E33; Sun, 14 Mar 2010 13:43:27 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-05.arcor-online.net 24DB3332E33 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.14.4/8.14.3) with ESMTP id o2EChRJG060405; Sun, 14 Mar 2010 13:43:27 +0100 (CET) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.14.4/8.14.4/Submit) id o2EChR7O060404; Sun, 14 Mar 2010 13:43:27 +0100 (CET) (envelope-from naddy) Date: Sun, 14 Mar 2010 13:43:27 +0100 From: Christian Weisgerber To: Roland Smith Message-ID: <20100314124327.GA41146@lorvorc.mips.inka.de> References: <20100314114524.GB25702@slackbox.erewhon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100314114524.GB25702@slackbox.erewhon.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Compose key and xterm vs. UTF-8 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, 14 Mar 2010 13:17:29 -0000 Roland Smith: > > Why do compose key sequences fail to work in a UTF-8 xterm? > > The port x11/rxvt-unicode is lighter on resources then xterm, and works fine > with utf-8. (with LANG=en_US.UTF-8 and LC_ALL=en_US.UTF-8 set) You didn't bother to read and understand my question, did you? urxvt shows the same poor composing behavior for UTF-8 as xterm does. -- Christian "naddy" Weisgerber naddy@mips.inka.de From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 13:17:40 2010 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 4915D1065701 for ; Sun, 14 Mar 2010 13:17:40 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp101.prem.mail.ac4.yahoo.com (smtp101.prem.mail.ac4.yahoo.com [76.13.13.40]) by mx1.freebsd.org (Postfix) with SMTP id E77268FC14 for ; Sun, 14 Mar 2010 13:17:39 +0000 (UTC) Received: (qmail 94021 invoked from network); 14 Mar 2010 13:17:39 -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=s5tcLOQ05NFvtGdRHRhfcj6RaUtweRV9oDDi+Q0oRodDI56GhGfTgrDxUsDOsLVWD64pItfA1yQLC6aJKX/2yBEd0VTbSv4Z5tVEnZ2gu69my/XnBtK7+qxd7F1Yze1eNQcuSC6e8xmd4653Qm2CPxBRxXnBh7YNMKJaIBZMgsE= ; Received: from c-67-189-160-65.hsd1.ny.comcast.net (gesbbb@67.189.160.65 with login) by smtp101.prem.mail.ac4.yahoo.com with SMTP; 14 Mar 2010 06:17:39 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: ZGePw0wVM1kJtbNlrK5n9oYDoXwXsuJws30xwZHzaPR7XPPnjsj6K5ly6NjPK7OhplNRS8PvTuoUSW_2ms_FF3eRlAWgfOyOLLofY3DxiMeyISJ4JFbxVJ0fLI7Szg_jhpoSkW549ix.Z3Vg8N3_Cyd0q_T4pbzpvyuxOYC8HjKDqBAupOD4ADfQdrZTJBnCUpfY8gdif6O6jGft57NlZDOgCLNUUb_wmZisHqoaINAPK4stL.KGrwaI3OXrxcu.3WpuwRNhlrR1lHP0u8TWCsxQg7C19ZUBhT6oKfCWaHgN2M0UWgSsAhOrM6xKewhzhNtzLJb3oYaCoYHx6ewOGIejqw-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (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 9CC2F22838 for ; Sun, 14 Mar 2010 09:17:38 -0400 (EDT) Date: Sun, 14 Mar 2010 09:17:38 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100314091738.781fea2e@scorpio.seibercom.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd7.3) 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: how to use cdrecord 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: Sun, 14 Mar 2010 13:17:40 -0000 On Sun, 14 Mar 2010 20:48:22 +0800 Aiza Aiza articulated: > Erik Trulsson wrote: > > On Sun, Mar 14, 2010 at 11:47:35AM +0800, Aiza wrote: > >> Chris Hill wrote: > >>> On Sun, 14 Mar 2010, Aiza wrote: > >>>> tried cdrecord -v speed=2 dev=acd0 blank=fast > >>>> gives this error "Open by devname not supported on this OS. > >>>> > >>>> What device am i to use? > >>> cdrecord wants to see your ATA burner as a SCSI device, so you'd > >>> use cdrecord dev=1,0,0 ... > >>> The numbers after dev= depend on where your burner is; find it > >>> using cdrecord -scanbus > >> cdrecord -scanbus gives a error. Invalid argument. Camiocommand > >> ioctl failed, can not open scsi driver > > Do you have that atapicam(4) kernel module loaded? If not load it. > No I do not. how do i do this? Add this to your /usr/src/sys/i386/conf/GENERIC file: (or what ever you have named it) device atapicam You then have to rebuild your kernel. You would probably be best served by reading up on how to update FreeBSD. Starting at this URL would be a good idea: http://www.freebsd.org/doc/handbook/makeworld.html Post back here if you need further information. -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | All the evidence concerning the universe has not yet been collected, so there's still hope. From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 13:35:55 2010 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 32CE81065670 for ; Sun, 14 Mar 2010 13:35:55 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id A23338FC1D for ; Sun, 14 Mar 2010 13:35:54 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id o2EDZqXH000328; Sun, 14 Mar 2010 14:35:53 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id C5550BA90; Sun, 14 Mar 2010 14:35:52 +0100 (CET) Date: Sun, 14 Mar 2010 14:35:52 +0100 From: Roland Smith To: Christian Weisgerber Message-ID: <20100314133552.GA28902@slackbox.erewhon.net> References: <20100314114524.GB25702@slackbox.erewhon.net> <20100314124327.GA41146@lorvorc.mips.inka.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <20100314124327.GA41146@lorvorc.mips.inka.de> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Compose key and xterm vs. UTF-8 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, 14 Mar 2010 13:35:55 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 14, 2010 at 01:43:27PM +0100, Christian Weisgerber wrote: > Roland Smith: >=20 > > > Why do compose key sequences fail to work in a UTF-8 xterm? > >=20 > > The port x11/rxvt-unicode is lighter on resources then xterm, and works= fine > > with utf-8. (with LANG=3Den_US.UTF-8 and LC_ALL=3Den_US.UTF-8 set) >=20 > You didn't bother to read and understand my question, did you? > urxvt shows the same poor composing behavior for UTF-8 as xterm > does. Make sure that the key you designated as the multi-key really does return t= hat keysym! My ~/.Xmodmap contains: ! Use the right windows key as the Multi-key. keycode 0xffec =3D Multi_key Multi_key ! Use the left windows key as the Meta toets keycode 0xffe7 =3D Meta_L Use xev(1) to check what symbols the different keys really generate. Then e= dit ~/.Xmodmap to suite your taste and call 'xmodmap ~/.Xmodmap' to apply the changes. Make your X startup repeat that to make the changes permanent. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkuc5jgACgkQEnfvsMMhpyUJJACgjYpooUmviEB6Bzn2SCEo55lX 5DoAnizll4pAQiYqN2CjYAftV23jlM7a =75gd -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 13:47:26 2010 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 71516106566C for ; Sun, 14 Mar 2010 13:47:26 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-313.bluehost.com (outbound-mail-313.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 3B1188FC26 for ; Sun, 14 Mar 2010 13:47:25 +0000 (UTC) Received: (qmail 18132 invoked by uid 0); 14 Mar 2010 13:47:25 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by cpoproxy3.bluehost.com with SMTP; 14 Mar 2010 13:47:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-Identified-User; b=BOEhANz/i9Wvp/c9OW8MJoAd6GTlw/7VqwVbZ4hP3opSC99XLqtYxd40dxlr+Q6dFOIVP3tO9h7exR4F7tvFSKIxn3RDGMblP724Bn7dkw6vUXnnc5rIAkBdMXy9LdvB; Received: from [206.74.86.236] (helo=[192.168.1.102]) by box264.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NqoA7-0000AC-DA for freebsd-questions@freebsd.org; Sun, 14 Mar 2010 07:47:25 -0600 Message-ID: <4B9CE8DD.3070704@joseph-a-nagy-jr.us> Date: Sun, 14 Mar 2010 08:47:09 -0500 From: Programmer In Training User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100203 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100314091738.781fea2e@scorpio.seibercom.net> In-Reply-To: <20100314091738.781fea2e@scorpio.seibercom.net> X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig46A10D9A30DB7B70916DEB31" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: Re: how to use cdrecord 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, 14 Mar 2010 13:47:26 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig46A10D9A30DB7B70916DEB31 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/14/10 08:17, Jerry wrote: > Add this to your /usr/src/sys/i386/conf/GENERIC file: (or what ever you= > have named it) >=20 > device atapicam >=20 > You then have to rebuild your kernel. You would probably be best > served by reading up on how to update FreeBSD. Starting at this URL > would be a good idea: >=20 > http://www.freebsd.org/doc/handbook/makeworld.html >=20 > Post back here if you need further information.=20 >=20 >=20 Rebuilding the kernel is not always an option, and it seems to me the OP and I are at the same point of knowledge about FreeBSD (not far enough along to be comfortable building/rebuilding the kernel). kldload atapicam works just fine for me (as I'm sure it does the OP), it even gives me info about my internal ZIP 100 drive. Problem solved, at least for me, no kernel rebuild necessary. --=20 Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. Original content copyright under the OWL http://owl.apotheon.org Please do not CC me. If I'm posting to a list it is because I am subscrib= ed. --------------enig46A10D9A30DB7B70916DEB31 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.14 (FreeBSD) iQEcBAEBAgAGBQJLnOjjAAoJEENZQ8DH7rW04VMH+gMRWcNrpnWx8Lge8+/UjfYh lZrQCinhOKFpCDmvpb74k1a0OpFFWuNDX44w4zuW7R0cHCsk06D22c6EfOyuLWSE KZYEV6fYTh3hACsBkvA3cK9ROpJk4dy30UnJKn+j6AP8Wu3XouFXJptA/MWN83YO G8cml//SkCGqVh8ORUpG6fqDoiAjhULzFl/jA0S4nDbVO5Mrica8eCrqwPgUkfDX 5n6kLVWp3v7nlNSnmwtUQS6ZUzdvBA2R1G2eRmuvt8kHqzo8vZVZtKw9G+yrjBnX rG8tY98RyC8wNSftciAEtuTC0cifKoaH5qgk3W/khEPGriu8dbozlD8rHSvDzEo= =734G -----END PGP SIGNATURE----- --------------enig46A10D9A30DB7B70916DEB31-- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 16:31:51 2010 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 96A80106564A for ; Sun, 14 Mar 2010 16:31:51 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 739498FC14 for ; Sun, 14 Mar 2010 16:31:51 +0000 (UTC) Received: by pwj4 with SMTP id 4so1707357pwj.13 for ; Sun, 14 Mar 2010 09:31:50 -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=zG/yFUOTzwup0VjFSXmFzTiZdfJ6goMTYMN+VQvbENA=; b=vsn64m7ldYUT8UocfJnRRYCdl9IUIwPnx8QFQSOApzs4wHelSho2W4cc9luPX1mEC5 h6j7r/tJq42RPkyz6j7TI5PdxkOXe5bySUMuCisPNYHy1p0lsoAyWMAHv4+Q3w3w5PW1 FWTMHhpcnnOPOIJCs1ECczU0p+53PzW5zuxR8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=GqCu2ALx2YxbwEyep37pVFFdPXWuu09r96KLzjckA9bNCg/q2QQ9lW80oC9fpQUfan RRyE9pCsriHV3fIw6jgb+UTJXJNTzJ2BPFwz8kT66trhteLBpXVKQ/yb+esmkLIXzMEH RM6/KeF4FGv4CHc1i6CzwlBvupw15VU1eyaco= MIME-Version: 1.0 Received: by 10.141.53.3 with SMTP id f3mr5024371rvk.20.1268584310531; Sun, 14 Mar 2010 09:31:50 -0700 (PDT) Date: Sun, 14 Mar 2010 09:31:50 -0700 Message-ID: <539c60b91003140931o1f0d2d00u7ff7f5d021718b7c@mail.gmail.com> From: Steve Franks To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: tunefs -L 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: Sun, 14 Mar 2010 16:31:51 -0000 I'm seeing this in my dmesg: GEOM: ad0s1: geometry does not match label (255h,63s != 16h,63s). I'm guessing I screwed up tunefs -L, but it sure looked straightforward. Anyway, my /dev/ufs is empty, and I kind of thought there should be stuff in it. I called tunefs -L from single-user mode, so usr, var, and tmp should have been unmounted as per instructions. If I start playing with the "geomerty", am I going to wipe my system inadvertently? Also, I kind of think the ufsid is really what I'm looking for, and /dev/ufsid is empty too! Isn't this the class of things that should "just work"? I mean, the disk is pretty fundamental. I swap disks in and out alot, and I've got one of those motherboards that likes to reorder them, making booting reliably under 8-RELEASE a real pain in the neck... Best, Steve From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 17:00:14 2010 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 45284106566C for ; Sun, 14 Mar 2010 17:00:14 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id C10318FC15 for ; Sun, 14 Mar 2010 17:00:13 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id o2EH0CE1085691; Sun, 14 Mar 2010 18:00:12 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 12961BAB0; Sun, 14 Mar 2010 18:00:12 +0100 (CET) Date: Sun, 14 Mar 2010 18:00:12 +0100 From: Roland Smith To: Steve Franks Message-ID: <20100314170012.GA38210@slackbox.erewhon.net> References: <539c60b91003140931o1f0d2d00u7ff7f5d021718b7c@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <539c60b91003140931o1f0d2d00u7ff7f5d021718b7c@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing List Subject: Re: tunefs -L 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: Sun, 14 Mar 2010 17:00:14 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 14, 2010 at 09:31:50AM -0700, Steve Franks wrote: > I'm seeing this in my dmesg: >=20 > GEOM: ad0s1: geometry does not match label (255h,63s !=3D 16h,63s). AFAICT, you can ignore this. There have been previous discussions of this on the mailing list. > I'm guessing I screwed up tunefs -L, but it sure looked > straightforward. Anyway, my /dev/ufs is empty, and I kind of thought The labels in /dev/ufsid are removed if the partition in question is mounte= d. If you look in your logs you'll see messages like: 'GEOM_LABEL: Label ufsid/482b3a7c20b36d8c removed.'=20 > If I start playing with the "geomerty", am I going to wipe my system > inadvertently? Possibly. My advice would be not to go there. =20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkudFhwACgkQEnfvsMMhpyXWrACeKL+KRuq58qs+fGTyST8CIdBu fsgAniWNjRbaYLDcoa4PRFlIPLL7EmXR =w1+7 -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 17:00:56 2010 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 4DDDB106564A for ; Sun, 14 Mar 2010 17:00:56 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 102748FC17 for ; Sun, 14 Mar 2010 17:00:55 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o2EH0q7L029977 for ; Sun, 14 Mar 2010 10:00:52 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 14 Mar 2010 10:00:51 -0700 (PDT) Date: Sun, 14 Mar 2010 10:00:51 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100314170049.GA55296@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=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Subject: Wow! ixsystems..... 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, 14 Mar 2010 17:00:56 -0000 Folks, Late last night i finally surfed into the ixsystems pages. WHile I haven't had a chance to check out the price/performance ration and compare it to other sites [[or maybe I'll do yet another roll-my-own]], I did happen on the PCBSD link. It really does look like FreeBSD people who do *not* wish to invest 101% of their lives getting thing-to-work on the most stable OS ever. My one question is: does at least everything that works under Ubuntu work under PC BSD? I mean, things like setting my text fonts to international? and being able to stream what streams {say, "FRONTLINE" or NOVA} that PBS has. Can i drop in a CD or DVD that I got from my pvblic library and have it play without mucking around creating mount-points like /media/dvd/0 and /media/cd/0? This is the latest thing to break with my 7.3RC.2. The sound-juicer doesn't recognize my music CD whereas my Ubuntu does. In other words, is PCBSD closer to the "Just-Works"{TM} side of things? tia, y'all! gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 19:03:32 2010 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 D1A4D106564A for ; Sun, 14 Mar 2010 19:03:32 +0000 (UTC) (envelope-from me@johnea.net) Received: from mail.johnea.net (johnea.net [70.167.123.7]) by mx1.freebsd.org (Postfix) with ESMTP id B76968FC08 for ; Sun, 14 Mar 2010 19:03:32 +0000 (UTC) Received: from [192.168.100.239] (vhost.johnea.net [192.168.100.239]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.johnea.net (Postfix) with ESMTPSA id 9664C73F184F for ; Sun, 14 Mar 2010 11:40:06 -0700 (PDT) Message-ID: <4B9D3363.2050707@johnea.net> Date: Sun, 14 Mar 2010 12:04:43 -0700 From: johnea User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Shredder/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <491164.77435.qm@web24805.mail.ird.yahoo.com> In-Reply-To: <491164.77435.qm@web24805.mail.ird.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Re : building from source after 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: Sun, 14 Mar 2010 19:03:32 -0000 On 2010-03-14 05:39, Alexandre L. wrote: > Please read the handbook section related to the FreeBSD update tool > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > > freebsd-update is a binary update tool, so you haven't got anything to rebuild, except your custom kernel (if you are using one). That handbook section is where I read: "The default is to update the source code, the entire base system, and the kernel." And in fact much of the /usr/src/ does contain source code. /usr/src/sys/ subdirectories seem populated, and some directories under /usr/src/usr.bin/ and /usr/src/usr.sbin/ contain source, while others only contain the Makefile. /usr/src/usr.sbin/sendmail/ contains only the Makefile. Which lead to the make depend error I experienced. It seems like I could build the kernel, and parts of the non-kernel base, but not other parts. After RTFMing, scroogling for days, and going through UPDATINGs and READMEs I'm still not clear on how to mix freebsd-update and building all or parts of the base source. I'm interested in being able to build system apps in the base, custom kernel modules, and eventually the entire kernel. freebsd-update is _extremely_ painless for tracking the security patches. It would be nice to be able to mix this with a certain amount of building source. Any insight is greatly appreciated... johnea From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 19:36:51 2010 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 B0CCF106564A for ; Sun, 14 Mar 2010 19:36:51 +0000 (UTC) (envelope-from support@myswom.com) Received: from mail.swom.com (mail.swom.com [78.46.57.253]) by mx1.freebsd.org (Postfix) with ESMTP id 3AD448FC1F for ; Sun, 14 Mar 2010 19:36:51 +0000 (UTC) Received: from myswom.com (app2.swom.com [78.46.57.251]) (Authenticated sender: support@myswom.com) by mail.swom.com (Postfix) with ESMTPSA id 5FE7F21E8B7 for ; Sun, 14 Mar 2010 19:21:25 +0000 (GMT) Date: Sun, 14 Mar 2010 19:21:25 +0000 From: N'guessan Koffi Ezai To: freebsd-questions@freebsd.org Message-Id: <4b9d373558f85_f883fb3cb08a1b0644563d@app2.swom.com.tmail> Mime-Version: 1.0 X-Swom-Uuid: 49d0c3ee73b9f11fc5eb0523f7666938cb72b61c Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: I'd like you to join me on Swom... 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, 14 Mar 2010 19:36:51 -0000 Hi = I'd like to add you to my professional network on Swom. You can use Swo= m to connect with new contacts and promote your existing businesses. Swom= even has an affiliate program that pays you. - N'GUESSAN = p.s. Here is the link:
http://swom.com/r/51774-nguessan--koffi-ezai -- This e-mail was sent on behalf of N'guessan Koffi Ezai by Swom. = If you do not wish to receive future commercial mailings from Swom, pleas= e use the link below. = Swom's registered offices are located at The Courtyard, Goldsmith Way, El= iot Business Park, Nuneaton, CV10 7RJ http://swom.com/blacklists/new?uuid=3D49d0c3ee73b9f11fc5eb0523f7666938cb7= 2b61c= From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 19:55:13 2010 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 309DF106564A for ; Sun, 14 Mar 2010 19:55:13 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-313.bluehost.com (outbound-mail-313.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 011A08FC12 for ; Sun, 14 Mar 2010 19:55:12 +0000 (UTC) Received: (qmail 22709 invoked by uid 0); 14 Mar 2010 19:55:12 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by cpoproxy3.bluehost.com with SMTP; 14 Mar 2010 19:55:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:X-Enigmail-Version:Content-Type:X-Identified-User; b=i3JufEW1xxmfnad6z6W1cLhJ1Xi7YxMieY7eXrP5LS8iazhx6eURiGhKHe7AVv2CpKr2uAx3Jn98YvtUzcJlk5dsPDPvSg5aKmfnihvfux5MaOnif4XL8AYHMcw6RSki; Received: from [206.74.86.236] (helo=[192.168.1.102]) by box264.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Nqtu2-0002RR-Ss for freebsd-questions@freebsd.org; Sun, 14 Mar 2010 13:55:11 -0600 Message-ID: <4B9D3F17.5050602@joseph-a-nagy-jr.us> Date: Sun, 14 Mar 2010 14:55:03 -0500 From: Programmer In Training User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100203 Thunderbird/3.0.1 MIME-Version: 1.0 To: FreeBSD Questions X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7CB7B4A7EC042EF8AD1E415D" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: jpeg2swf segfaults 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, 14 Mar 2010 19:55:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7CB7B4A7EC042EF8AD1E415D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ever since I updated from jpeg-7 to jpeg-8 and recompiled swftools to link against it (FreeBSD-8.0-RELEASE-p2), jpeg2swf segfaults with jpeg2swf -q 100 -o test.swf *.jpg (at most 12 jpegs). Running gdb jpeg2swf jpeg2swf.core reveals the following: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you = are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for detail= s. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... Core was generated by `jpeg2swf'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libmp3lame.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libmp3lame.so.0 Reading symbols from /usr/local/lib/libglut.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libglut.so.3 Reading symbols from /usr/local/lib/libGLU.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libGLU.so.1 Reading symbols from /usr/local/lib/libGL.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libGL.so.1 Reading symbols from /usr/local/lib/libungif.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libungif.so.5 Reading symbols from /usr/local/lib/libjpeg.so.11...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libjpeg.so.11 Reading symbols from /lib/libz.so.5...(no debugging symbols found)...done= =2E Loaded symbols for /lib/libz.so.5 Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done= =2E Loaded symbols for /lib/libm.so.5 Reading symbols from /usr/local/lib/libfontconfig.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libfontconfig.so.1 Reading symbols from /usr/local/lib/libfreetype.so.9...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libfreetype.so.9 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done= =2E Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/libXmu.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXmu.so.6 Reading symbols from /usr/local/lib/libXt.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXt.so.6 Reading symbols from /usr/local/lib/libX11.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libX11.so.6 Reading symbols from /usr/local/lib/libSM.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libSM.so.6 Reading symbols from /usr/local/lib/libICE.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libICE.so.6 Reading symbols from /usr/local/lib/libXi.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXi.so.6 Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /usr/local/lib/libXext.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXext.so.6 Reading symbols from /usr/local/lib/libXxf86vm.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXxf86vm.so.1 Reading symbols from /usr/local/lib/libXdamage.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXdamage.so.1 Reading symbols from /usr/local/lib/libXfixes.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXfixes.so.3 Reading symbols from /usr/local/lib/libX11-xcb.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libX11-xcb.so.1 Reading symbols from /usr/local/lib/libxcb-glx.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libxcb-glx.so.0 Reading symbols from /usr/local/lib/libxcb.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libxcb.so.2 Reading symbols from /usr/local/lib/libdrm.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libdrm.so.2 Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...do= ne. Loaded symbols for /lib/libthr.so.3 Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXau.so.6 Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXdmcp.so.6 Reading symbols from /usr/local/lib/libpthread-stubs.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpthread-stubs.so.0 Reading symbols from /usr/lib/librpcsvc.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/lib/librpcsvc.so.5 Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libexpat.so.6 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x2824ff50 in emit_dqt () from /usr/local/lib/libjpeg.so.11 [New Thread 28801140 (LWP 100134)] --=20 Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. Original content copyright under the OWL http://owl.apotheon.org Please do not CC me. If I'm posting to a list it is because I am subscrib= ed. --------------enig7CB7B4A7EC042EF8AD1E415D 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.14 (FreeBSD) iQEcBAEBAgAGBQJLnT8dAAoJEENZQ8DH7rW0W48H/jNXjqU5FeWRbC+rgd0QVJDR EW3f9ajnn1thzlesnCpVmL2UvLD/pCFBFc9+C8qtRMWRjciRgRurPZe2ZHDZKPqa YKJcAb1cbq3fEzvsgcTx3AJaMa0UvXkcZIpPVP0LNmAhLT9IlWGqFvtQa/z06H4T S+xr/mKCt3U1N8V06I00WAIPpIOdwFyzBFGC62SOz4B4jXivdsxKlKOjmP+wGYtb dqtK3WLeEfMgW6kik303Jc1m3LnhzsK7aIKU+qz0lBec07Hqd7pkkGqyER5j84Za LN/6o+rU4bqBxLVVfukitcgHpzoa/qFpbcGa9nVtwjrY5MkomN+NJkoICvE7XD4= =N0rg -----END PGP SIGNATURE----- --------------enig7CB7B4A7EC042EF8AD1E415D-- From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 21:01:07 2010 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 1C1E1106564A for ; Sun, 14 Mar 2010 21:01:07 +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 DAD438FC12 for ; Sun, 14 Mar 2010 21:01:06 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id 805C71CCBC; Sun, 14 Mar 2010 11:01:05 -1000 (HST) Message-ID: <4B9D4E90.1050204@hdk5.net> Date: Sun, 14 Mar 2010 11:01:04 -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: Polytropon References: <4B9C3DFB.7010307@comclark.com> <4B9C5C57.6060800@comclark.com> <20100314084957.GA97654@owl.midgard.homeip.net> <4B9CDB16.60501@comclark.com> <20100314140653.47a89e29.freebsd@edvax.de> In-Reply-To: <20100314140653.47a89e29.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Aiza , FreeBSD Questions Subject: Re: how to use cdrecord 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, 14 Mar 2010 21:01:07 -0000 Polytropon wrote: > On Sun, 14 Mar 2010 20:48:22 +0800, Aiza wrote: >> No I do not. how do i do this? > > If you don't want to compile it into your kernel, load it > manually: > > # kldload atapicam > > You can automate it using the appropriate line in /boot/loader.conf, > I think it's atapicam_load="YES" > > Then you get something like this: > > % camcontrol devlist > at scbus0 target 6 lun 0 (pass0) > at scbus2 target 0 lun 0 (cd0,pass1) > > The scanner is a real SCSI scanner, the DVD recorder is > an ATAPI drive. You see it's device number is 2,0,0, > and the device node is /dev/cd0. You need access to > /dev/pass1, too. (If the scanner wouldn't be present, > it would be /dev/pass0.) > > If you want to burn a data CD, use something like this: > > % cdrecord dev=2,0,0 speed=16 -v -eject -tao -data > > For a music CD: > > % cdrecord dev=2,0,0 speed=16 -v -eject -dao -audio ... > > If you want to combine the mkisofs step with the burning > step (instead of first creating the ISO, then burnin it), > you can do something like this: > > % mkisofs -r | cdrecord dev=2,0,0 speed=16 -v -eject -tao -data - > > It works similar with DVDs, just you use growisofs from > the port dvd+rw-tools here: > > % growisofs -dvd-compat -Z /dev/dvd=$1 > > The /dev/dvd is a symling that points to /dev/cd0 - again, the > ATAPICAM cd driver is used instead of ATAPI's acd. To make this > symlink, I have > > link acd0 cdrom > link cd0 dvd > > in /etc/devfs.conf. This makes refering to the example in > "man growisofs" more easy. :-) > > If you don't have this symlink, you must use /dev/cd0 (or > the correct device name for the "SCSI" drive) in the > command. You can check this with "camcontrol devlist" > where both numerical and device node are displayed. > > Additionally, you can do the same with growisofs as I have > shown you with cdrecord - combine the building of the ISO > with the burning: > > % growisofs -dvd-compat -Z /dev/dvd -r > > This should give you a good summary of how to use these tools. > You already have gotten useful advices on how to set the > correct device permissions - this is important. > > Additionally, see "man cdrecord" on how to construct a > simple config file so you don't have to put speed= and > dev= whenever you want to use the program - it makes > things more comfortable. :-) > > Aloha... Poly is right. I use in #/boot/bootloader the line: atapicam_load="YES" # For DVD/CD Burner to work. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 23:37:56 2010 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 1BFA71065670 for ; Sun, 14 Mar 2010 23:37:56 +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 D0CB78FC18 for ; Sun, 14 Mar 2010 23:37:55 +0000 (UTC) Received: from r55.edvax.de (port-92-195-17-177.dynamic.qsc.de [92.195.17.177]) by mx02.qsc.de (Postfix) with ESMTP id D6D831D8D8; Mon, 15 Mar 2010 00:37:53 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o2ENbqQE003241; Mon, 15 Mar 2010 00:37:53 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 15 Mar 2010 00:37:52 +0100 From: Polytropon To: Programmer In Training Message-Id: <20100315003752.a7502ad3.freebsd@edvax.de> In-Reply-To: <4B9C5C09.40602@joseph-a-nagy-jr.us> References: <4B9C3DFB.7010307@comclark.com> <4B9C5C09.40602@joseph-a-nagy-jr.us> 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: how to use cdrecord 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: Sun, 14 Mar 2010 23:37:56 -0000 An addition: On Sat, 13 Mar 2010 21:46:17 -0600, Programmer In Training wrote: > [root@heaven]dmesg -a | grep acd > acd0: DMA limited to UDMA33, controller found non-ATA66 cable > acd0: DVDR at ata1-master UDMA33 > > Thoughts? You're using a 40-pin ATA cable. Replace it with an "80-pin" (every 2nd wire is "shield", still only 40 pins on the connector) cable which is "finer". This way the drive can be accessed faster than UDMA33. Looks like this: % dmesg | grep acd acd0: DVDR at ata1-master UDMA66 -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 00:19:59 2010 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 C75AA106566B for ; Mon, 15 Mar 2010 00:19:59 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id 9F2968FC08 for ; Mon, 15 Mar 2010 00:19:59 +0000 (UTC) Received: (qmail 9061 invoked from network); 15 Mar 2010 00:19:59 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 15 Mar 2010 00:19:58 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 7711350886; Sun, 14 Mar 2010 20:19:52 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 9CC1F1CC31; Sun, 14 Mar 2010 20:19:51 -0400 (EDT) From: Lowell Gilbert To: Programmer In Training References: <4B9D3F17.5050602@joseph-a-nagy-jr.us> Date: Sun, 14 Mar 2010 20:19:51 -0400 In-Reply-To: <4B9D3F17.5050602@joseph-a-nagy-jr.us> (Programmer In Training's message of "Sun, 14 Mar 2010 14:55:03 -0500") Message-ID: <44k4teh1w8.fsf@lowell-desk.lan> 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 Subject: Re: jpeg2swf segfaults X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2010 00:19:59 -0000 Programmer In Training writes: > Ever since I updated from jpeg-7 to jpeg-8 and recompiled swftools to > link against it (FreeBSD-8.0-RELEASE-p2), jpeg2swf segfaults with > jpeg2swf -q 100 -o test.swf *.jpg (at most 12 jpegs). Doesn't crash for me. My guess is that you failed to update some other library that also links to jpeg. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 00:59:23 2010 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 097CA1065675 for ; Mon, 15 Mar 2010 00:59:23 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id AA3AE8FC12 for ; Mon, 15 Mar 2010 00:59:22 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=yzBJXqq4_ukA:10 a=kj9zAlcOel0A:10 a=t11PITFJAAAA:8 a=BJWgrJJ2IDAtrZ0-AbAA:9 a=uMGfsSrMIWSEXRs5IH8q0d71i6cA:4 a=CjuIK1q_8ugA:10 X-Cloudmark-Score: 0 X-Originating-IP: 72.130.250.48 Received: from [72.130.250.48] ([72.130.250.48:51550] helo=localhost.hawaii.res.rr.com) by hrndva-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id EA/4D-01839-8668D9B4; Mon, 15 Mar 2010 00:59:21 +0000 Received: from holstein.holy.cow (localhost [127.0.0.1]) by localhost.hawaii.res.rr.com (Postfix) with ESMTP id D5E6C35CD; Sun, 14 Mar 2010 15:01:00 -1000 (HST) Received: (from parv@localhost) by holstein.holy.cow (8.13.8/8.13.8/Submit) id o2F10xLB008363; Sun, 14 Mar 2010 15:00:59 -1000 (HST) (envelope-from parv@pair.com) X-Authentication-Warning: holstein.holy.cow: parv set sender to parv@pair.com using -f Date: Sun, 14 Mar 2010 15:00:59 -1000 From: Parv To: Roland Smith Message-ID: <20100315010059.GA8014@holstein.holy.cow> Mail-Followup-To: Roland Smith , Christian Weisgerber , freebsd-questions@freebsd.org References: <20100314114524.GB25702@slackbox.erewhon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100314114524.GB25702@slackbox.erewhon.net> Cc: Christian Weisgerber , freebsd-questions@freebsd.org Subject: Re: Compose key and xterm vs. UTF-8 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, 15 Mar 2010 00:59:23 -0000 Nothing of susbtance here ... in message <20100314114524.GB25702@slackbox.erewhon.net>, wrote Roland Smith thusly... > > On Sun, Mar 14, 2010 at 12:16:45AM +0000, Christian Weisgerber wrote: > > Short: > > ------ > > Why do compose key sequences fail to work in a UTF-8 xterm? > > The port x11/rxvt-unicode is lighter on resources then xterm, and > works fine with utf-8. (with LANG=en_US.UTF-8 and > LC_ALL=en_US.UTF-8 set) I tried to open a genunine xterm window but a kterm-like window was opened. Tried it again; got another non-xterm window. The experience was rather annoying. After waking up I realized what had happened, and life went on as it was before. - parv -- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 02:04:51 2010 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 79C41106566B for ; Mon, 15 Mar 2010 02:04:51 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-313.bluehost.com (outbound-mail-313.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 42ABE8FC08 for ; Mon, 15 Mar 2010 02:04:51 +0000 (UTC) Received: (qmail 3077 invoked by uid 0); 15 Mar 2010 02:04:50 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by cpoproxy3.bluehost.com with SMTP; 15 Mar 2010 02:04:50 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-Identified-User; b=Y6Yi4X9G4IDAgfwqXs/PxwCqE/U6phtP4niQ8Y/e/PwkJHyHh8Xtx14ulKHJUjbTREw2trP2kyLsqf/+iykWWFFD0crj8gw4S980MITqYj0lHcFrOQofbduLFsWyNVNG; Received: from [206.74.86.236] (helo=[192.168.1.102]) by box264.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Nqzfm-0004Iu-9W for freebsd-questions@freebsd.org; Sun, 14 Mar 2010 20:04:50 -0600 Message-ID: <4B9D95B9.10706@joseph-a-nagy-jr.us> Date: Sun, 14 Mar 2010 21:04:41 -0500 From: Programmer In Training User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100203 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B9D3F17.5050602@joseph-a-nagy-jr.us> <44k4teh1w8.fsf@lowell-desk.lan> In-Reply-To: <44k4teh1w8.fsf@lowell-desk.lan> X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3E95164CB6EB6847006FF012" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: Re: jpeg2swf segfaults 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, 15 Mar 2010 02:04:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3E95164CB6EB6847006FF012 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/14/10 19:19, Lowell Gilbert wrote: > Programmer In Training writes: >=20 >> Ever since I updated from jpeg-7 to jpeg-8 and recompiled swftools to >> link against it (FreeBSD-8.0-RELEASE-p2), jpeg2swf segfaults with >> jpeg2swf -q 100 -o test.swf *.jpg (at most 12 jpegs). >=20 > Doesn't crash for me. My guess is that you failed to update some other= > library that also links to jpeg. >=20 Possibly. I've been tracking this problem (with other apps) forever. --=20 Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. Original content copyright under the OWL http://owl.apotheon.org Please do not CC me. If I'm posting to a list it is because I am subscrib= ed. --------------enig3E95164CB6EB6847006FF012 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.14 (FreeBSD) iQEcBAEBAgAGBQJLnZXAAAoJEENZQ8DH7rW0NeEH/jFQu1va8PZFLqzVFUI6Yqg6 hyZ06ehRglqRWYMIwOf0udHrRg3bh6DsURrh5UisnBen6CodvYTgDL1yyFk3H1Hw 0cqQGrBCq6Fu4LSpfRNa1GFI6TskTHdR0WV+cdBoGs5iwdvvnISPbwgEO65CVpuT 3VmF1eVFztF+j2jr11/GtYsFWo9ZgYuI211vxRr71sECYmxGaLZFVhEZeZBrN9S9 U23fo83M0XNVAFOgLyQ3P2sBuDjJFeMjUMgG5tYhJABaSTtduyzjVjMdkUiFqQX4 nebnmNSzJ8p5cBeZdjj7LKaDOHlyJm6JTfJNFdpP6qRrwOjKDeYdsij+M9ABy4c= =y1ME -----END PGP SIGNATURE----- --------------enig3E95164CB6EB6847006FF012-- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 03:41:36 2010 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 2D2941065675 for ; Mon, 15 Mar 2010 03:41:36 +0000 (UTC) (envelope-from vishal.vinix@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 05BBD8FC08 for ; Mon, 15 Mar 2010 03:41:35 +0000 (UTC) Received: by pwj4 with SMTP id 4so1864989pwj.13 for ; Sun, 14 Mar 2010 20:41:34 -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=NxIEnGzZygFCPqBtCYdzCa3HUzpMhlVb+m4Bf0mo2xU=; b=cRCEEP71eVp+PI+AdD+P+K49wPGV/wIZx4fEgtjQXAfMAuoxpOqqb9u/YG2avngcP+ SHzvfwAXaayAVLEsff1ZzzAqo8wdulCYfaagyjoDT5pdDtvyVDuUApzFUYEwN5x4IjXs HKaUWiW+1xIOVCCqKqddgDEgzR8JrW90+G0UI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ik+z+5ptL/S7HKHpyFxA5HaxhiNG2eYT4K7356Tc7bZsu7CzXovctdn4SYRXfrWiNC Z1id+guTpU3DNLYPfcKczmOu74rfIJ764HAHubban+T1ZzBoN+yvybuit/Pqxt7JZOn2 UGcTM1B822oCVje2MYd58RXuYgvZNXJc77yAQ= MIME-Version: 1.0 Received: by 10.141.100.11 with SMTP id c11mr2372979rvm.196.1268624494169; Sun, 14 Mar 2010 20:41:34 -0700 (PDT) Date: Mon, 15 Mar 2010 09:11:34 +0530 Message-ID: From: Vishal Kashyap To: FreeBSD X-Mailman-Approved-At: Mon, 15 Mar 2010 04:04:59 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: What is the path of knowledge from Novice to committer, 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: Mon, 15 Mar 2010 03:41:36 -0000 Respected Sir, *I am MCA(Master Of Computer Application) Student from India,Asia *and much intrested about UNIX or UNIX-like OS. As per my knowledge, in FreeBSD; there are *Volunteers(For Questioning) --> Contributers --> Committers* * 1] To be VOLUNTEER 2] After That; To Be Contributer 3] After That; To Be a Committer. * So, please guide me sir, about the above path (iff, it is correct) i.e. how could i cover above path? I mean to say, how could I develop my Knowlwdge in FreeBSD to follow above path. Please, guide me with any thing you think better for me(books,web links,any thing). I've average knowledge of UNIX. And, right now; I am studying FreeBSD on Vmware Workstation. -- Thanks And Regards, Vishal Kashyap. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 10:09:46 2010 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 7FC0210656B3 for ; Mon, 15 Mar 2010 10:09:46 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc2-cmbg1-0-0-cust385.cmbg.cable.ntl.com [82.21.105.130]) by mx1.freebsd.org (Postfix) with ESMTP id 38E938FC14 for ; Mon, 15 Mar 2010 10:09:45 +0000 (UTC) Received: from dan by catflap.slightlystrange.org with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1Nr7F3-0006hu-0G for freebsd-questions@freebsd.org; Mon, 15 Mar 2010 10:09:45 +0000 Date: Mon, 15 Mar 2010 10:09:44 +0000 From: Daniel Bye To: FreeBSD Message-ID: <20100315100944.GA67681@catflap.slightlystrange.org> Mail-Followup-To: FreeBSD 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-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 8.0-STABLE amd64 Sender: Daniel Bye Subject: Re: What is the path of knowledge from Novice to committer, In FreeBSD? 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: Mon, 15 Mar 2010 10:09:46 -0000 On Mon, Mar 15, 2010 at 09:11:34AM +0530, Vishal Kashyap wrote: > Respected Sir, > *I am MCA(Master Of Computer Application) Student from India,Asia *and much > intrested about UNIX or UNIX-like OS. As per my knowledge, in FreeBSD; there > are > > *Volunteers(For Questioning) --> Contributers --> Committers* > * > 1] To be VOLUNTEER > 2] After That; To Be Contributer > 3] After That; To Be a Committer. > * (Everyone is a volunteer, insofar as they don't get paid by FreeBSD for their work - that applies to those of us who answer the occasional question on the list to the most active kernel developers.) > So, please guide me sir, about the above path (iff, it is correct) i.e. how > could i cover above path? I mean to say, how could I develop my Knowlwdge in > FreeBSD to follow above path. Find something in FreeBSD that you would like to see improved, study it, and improve it. If your patches are accepted, you have become a contributor. If you continue to provide high quality patches that lead to an improvement in FreeBSD's overall quality, you will one day be given commit rights. It's as easy as that. Note that your patches could be for utility or kernel code, or for documentation. The important thing is that they improve the quality of the system. > Please, guide me with any thing you think better for me(books,web links,any > thing). I've average knowledge of UNIX. And, right now; I am studying > FreeBSD on Vmware Workstation. Use the source. It is freely available and is in any case what you will be working with if you intend to provide patches. There are various mailing lists that may prove useful (check out the available lists on the FreeBSD web site (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL) Good luck! Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 12:23:13 2010 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 3CCE51065675 for ; Mon, 15 Mar 2010 12:23:13 +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 10C158FC20 for ; Mon, 15 Mar 2010 12:23:12 +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 A7BADF7419; Mon, 15 Mar 2010 08:23:11 -0400 (EDT) Date: Mon, 15 Mar 2010 08:23:10 -0400 From: Bill Moran To: Gary Kline Message-Id: <20100315082310.d35c6720.wmoran@potentialtech.com> In-Reply-To: <20100314170049.GA55296@thought.org> References: <20100314170049.GA55296@thought.org> Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: Wow! ixsystems..... 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, 15 Mar 2010 12:23:13 -0000 In response to Gary Kline : > > Folks, > > Late last night i finally surfed into the ixsystems pages. > WHile I haven't had a chance to check out the > price/performance ration and compare it to other sites [[or > maybe I'll do yet another roll-my-own]], I did happen on the > PCBSD link. It really does look like FreeBSD people who do > *not* wish to invest 101% of their lives getting > thing-to-work on the most stable OS ever. My one question > is: does at least everything that works under Ubuntu work > under PC BSD? I mean, things like setting my text fonts to > international? and being able to stream what streams {say, > "FRONTLINE" or NOVA} that PBS has. > > Can i drop in a CD or DVD that I got from my pvblic library > and have it play without mucking around creating mount-points > like /media/dvd/0 and /media/cd/0? This is the latest thing > to break with my 7.3RC.2. The sound-juicer doesn't recognize > my music CD whereas my Ubuntu does. In other words, is > PCBSD closer to the "Just-Works"{TM} side of things? There are forums and an active community for PCBSD. Those places are going to provide you a lot more feedback on questions like this. I don't _use_ PCBSD ... I have _tried_ it, and my experience has been very good. On an IBM laptop, everything just worked out of the box, and worked well. My problem is that I like to tweak, and I'm already happy with my ability to tweak FreeBSD :) -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 12:54:52 2010 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 97E0B1065678 for ; Mon, 15 Mar 2010 12:54:52 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 681788FC18 for ; Mon, 15 Mar 2010 12:54:52 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o2FCsiee070838 for ; Mon, 15 Mar 2010 07:54:47 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201003151254.o2FCsiee070838@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <70836.1268657684.1@dc.cis.okstate.edu> Date: Mon, 15 Mar 2010 07:54:44 -0500 From: Martin McCormick Subject: Re: Patching a Newly-Built System 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, 15 Mar 2010 12:54:52 -0000 Nerius Landys writes: > By "bringing the patch level up to date" I assume you mean a tag such > as this one: > > *default release=cvs tag=RELENG_8_0 That is what I meant. > in your standard-supfile file, and then doing the "make buildworld" > etc. prodedure outlined in the Handbook. > > The release branches (such as RELENG_8_0) get only very minor > modifications from the time the release is made. The patches are only > ones that address really serious issues, and the extent of the changes > is usually very minimal. Whather you install ports before or after > you update to the latest patch for your release should make absolutely > no difference. That is what I suspected but I wanted to start on the right foot so I thought I would check. Thank you. Martin McCormick From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 13:17:01 2010 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 B81931065670 for ; Mon, 15 Mar 2010 13:17:01 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from web24807.mail.ird.yahoo.com (web24807.mail.ird.yahoo.com [212.82.110.41]) by mx1.freebsd.org (Postfix) with SMTP id 23C4D8FC1C for ; Mon, 15 Mar 2010 13:17:00 +0000 (UTC) Received: (qmail 11582 invoked by uid 60001); 15 Mar 2010 13:16:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1268659019; bh=BZYuHLxkzYiESz6Nx3MFScCxwP20Ein+LGFylY25SRk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tuqVGay4BdjIhndjDxT7OX344Dqya8FqgfX8f3YMUDLhTbTMoDqoxPoL+oqhLyl48zI4WblIWVJ4n18697DlKB4V9rp44tfc/lzHK5ZsHWd6VkB/J7+rUfRe5xKj6AUuncNvxsh44kjvKNxKWfF16IfjTXd0qPTD0G7ByjhWVbg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=E8rFvP0Qr7IoDyQ/IrzVfd9gnILfW30ZYzfbsaDvznk/i87TWfOKLU69UE6p7eXgenWoDze7xOZq62krsvWyw2g8jcY1sq+aS5VBHXKdxGCOyEHdtbrRlJcpdgGBSAk/NX3ClGjSKSdFy8TRMBQKiTEe9DpBXMtGjXnrEn/pvUQ=; Message-ID: <712858.89249.qm@web24807.mail.ird.yahoo.com> X-YMail-OSG: bhLFTrgVM1kijhVSYYf_2bYIK2GtNS0EoOoiupKA1y7KvEN PJDG0Oh4Di9LTXBr25zbl5f4HoQRb.xYS7EEgCg7WdyqKNptzMc4ZpucTOID Nnim82uGRrLUaGdxZog7kQC2Akb1CxNBCUJJUJJzEMqciiJ_A1GPY_rcT0Ej hbRnSjthtZtbeEsf0erh7ce0IY_ohZdSqtx1A Received: from [192.196.142.20] by web24807.mail.ird.yahoo.com via HTTP; Mon, 15 Mar 2010 06:16:59 PDT X-Mailer: YahooMailClassic/9.2.12 YahooMailWebService/0.8.100.260964 Date: Mon, 15 Mar 2010 06:16:59 -0700 (PDT) From: "Alexandre L." To: freebsd-questions@freebsd.org, johnea In-Reply-To: <4B9D3363.2050707@johnea.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Re : building from source after 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: Mon, 15 Mar 2010 13:17:01 -0000 > That handbook section is where I read:=0A> "The default is to update the = source code, the entire base=0A> system, and the kernel."=0A=0AFirst, freeb= sd-update tool sync the source.=0A =0A> And in fact much of the /usr/src/ d= oes contain source=0A> code.=0A> =0A> /usr/src/sys/ subdirectories seem pop= ulated, and some=0A> directories under=0A> /usr/src/usr.bin/ and /usr/src/u= sr.sbin/ contain source,=0A> while others only=0A> contain the Makefile.=0A= > =0A> /usr/src/usr.sbin/sendmail/ contains only the Makefile.=0A> Which le= ad to the=0A> make depend error I experienced.=0A> =0A> It seems like I cou= ld build the kernel, and parts of the=0A> non-kernel base,=0A> but not othe= r parts.=0A> =0A> After RTFMing, scroogling for days, and going through=0A>= UPDATINGs and READMEs I'm=0A> still not clear on how to mix freebsd-update= and building=0A> all or parts of the=0A> base source.=0A> =0A> I'm interes= ted in being able to build system apps in the=0A> base, custom kernel=0A> m= odules, and eventually the entire kernel.=0A=0AFreebsd-update tool will upd= ate your base system and GENERIC kernel, using binary. If your are using a = custom kernel, you must reboot on the GENERIC kernel (that have just been u= pgraded) and do your make buildkernel KERNCONF=3Dyourkernel and make instal= lkernel KERNCONF=3Dmykernel=0A=0A> freebsd-update is _extremely_ painless f= or tracking the=0A> security patches. It=0A> would be nice to be able to mi= x this with a certain amount=0A> of building source.=0A=0AFrom the Handbook= : =0AThis utility provides two separate functions. First, it allows for bi= nary security and errata updates to be applied to the FreeBSD base system w= ithout the build and install requirements. Second, the utility supports min= or and major release upgrades.=0A=0AThis tool is only available for RELEASE= , not for STABLE or CURRENT.=0A=0AI hope this have helped you.=0A=0A=0A = From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 13:34:22 2010 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 5B2D1106564A for ; Mon, 15 Mar 2010 13:34:22 +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 3A8878FC17 for ; Mon, 15 Mar 2010 13:34:21 +0000 (UTC) Received: (qmail 2898 invoked from network); 15 Mar 2010 13:34:21 -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 ; 15 Mar 2010 13:34:21 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 1652750887; Mon, 15 Mar 2010 09:34:20 -0400 (EDT) From: Lowell Gilbert To: Tsu-Fan Cheng References: Date: Mon, 15 Mar 2010 09:34:19 -0400 In-Reply-To: (Tsu-Fan Cheng's message of "Sat, 13 Mar 2010 15:44:21 -0500") Message-ID: <44634xpv38.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 Subject: Re: limit bandwidth on sftp 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, 15 Mar 2010 13:34:22 -0000 Tsu-Fan Cheng writes: > I need to limit my sftp session bandwidth to 20K, can someone show me how > to do it? thank you! There's no simple way to do that. scp has such a capability, though; maybe using that is your easiest option? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 17:10:33 2010 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 93CE91065672 for ; Mon, 15 Mar 2010 17:10:33 +0000 (UTC) (envelope-from mailinglist@ucwv.edu) Received: from mail.ucwv.edu (mail.ucwv.edu [216.30.201.15]) by mx1.freebsd.org (Postfix) with ESMTP id 62AA28FC27 for ; Mon, 15 Mar 2010 17:10:32 +0000 (UTC) Received: from mail.ucwv.edu ([172.16.0.15]) by mail.ucwv.edu ([172.16.0.15]) with mapi; Mon, 15 Mar 2010 13:10:09 -0400 From: mailinglist To: "freebsd-questions@freebsd.org" Date: Mon, 15 Mar 2010 13:08:23 -0400 Thread-Topic: Portsnap vs cvsup Thread-Index: AQHKxGJdP/45T67OMEesyC5nRfqwjA== Message-ID: <93C575B79E9B01449EBBB084032BC5701248B8C0ED@mail.ucwv.edu> 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: Portsnap vs cvsup 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, 15 Mar 2010 17:10:33 -0000 What is the difference between using portsnap and cvsupping a ports supfile= ? The last time I really used FreeBSD was several years ago, but it seems = that portsnap has replaced "cvsup ports-supfile". What exactly is the diff= erence between the two? What makes portsnap the better option? From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 17:31:36 2010 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 55B811065677 for ; Mon, 15 Mar 2010 17:31:36 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 2998E8FC1A for ; Mon, 15 Mar 2010 17:31:35 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o2FHVZqs010884 for ; Mon, 15 Mar 2010 10:31:35 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4B9E6EF5.80100@rawbw.com> Date: Mon, 15 Mar 2010 10:31:33 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20100206) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Is hard drive spindown functionality broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2010 17:31:36 -0000 Last night I ran the command: atacontrol spindown ad10 60 on my desktop and similar one on my laptop. In the morning I found that laptop rebooted overnight, and desktop was still functional, but I suddenly got flooded with the message: fwohci0: device physically ejected? then system froze. I never use anything related to fwohci. Does anybody use spindown? What might be the problem? Yuri From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 17:41:25 2010 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 D9DB2106564A for ; Mon, 15 Mar 2010 17:41:25 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by mx1.freebsd.org (Postfix) with ESMTP id 69BF18FC08 for ; Mon, 15 Mar 2010 17:41:25 +0000 (UTC) Received: by fxm7 with SMTP id 7so459831fxm.3 for ; Mon, 15 Mar 2010 10:41: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 :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=tXly+QiLY7mPsDqmbKHXFf3Nn/15LvTDMAWVqu8J87k=; b=U+++rIC4F+06E2gwATgSfwFInqgNqiG/zs81O6GoPXgMXJSXKdxVv89B1F7gx9E2tT /09NqTf7Pig+67xnHIXuUGhaFh3JKej3FlMDjoRxAU621TMxkLVrZS3QxAh8vUsHuE6H MfJpT6wlh1RulCiRYbk56gWogCraabXZ/oy80= 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=rk9JWyt3J9GdsCoy/SH64ALqx+yeVd62v/VKi6meAGw90A9AoCYNoPyeflssgsX+eP q220d5LtLyqz/5KfnLUCq/+6aATxtvQi/C0Zf8vyug/Ngtkt7n1wntYk1a4FpaxjbCyw zSmJHUCYqPnk2S/zCXFVtCLPEyWlIz9pf9CwU= MIME-Version: 1.0 Received: by 10.239.165.9 with SMTP id v9mr873916hbd.152.1268674882617; Mon, 15 Mar 2010 10:41:22 -0700 (PDT) In-Reply-To: <93C575B79E9B01449EBBB084032BC5701248B8C0ED@mail.ucwv.edu> References: <93C575B79E9B01449EBBB084032BC5701248B8C0ED@mail.ucwv.edu> From: Eitan Adler Date: Mon, 15 Mar 2010 19:41:02 +0200 Message-ID: To: mailinglist Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" Subject: Re: Portsnap vs cvsup 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, 15 Mar 2010 17:41:25 -0000 On Mon, Mar 15, 2010 at 7:08 PM, mailinglist wrote: > What is the difference between using portsnap and cvsupping a ports supfi= le? =A0The last time I really used FreeBSD was several years ago, but it se= ems that portsnap has replaced "cvsup ports-supfile". =A0What exactly is th= e difference between the two? =A0What makes portsnap the better option? http://www.daemonology.net/portsnap/ is a good summary. Basic idea: portsnap is more secure, faster, and easier to use cvsup tends to have updates a tad bit sooner From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 18:06:42 2010 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 C14D61065678 for ; Mon, 15 Mar 2010 18:06:42 +0000 (UTC) (envelope-from returns@c.ss36.on9mail.com) Received: from c.ss36.on9mail.com (c.ss36.on9mail.com [209.144.27.61]) by mx1.freebsd.org (Postfix) with ESMTP id 90BE78FC24 for ; Mon, 15 Mar 2010 18:06:42 +0000 (UTC) Received: by c.ss36.on9mail.com (Postfix, from userid 0) id 43DFA5815EB; Mon, 15 Mar 2010 12:48:43 -0500 (CDT) To: freebsd-questions@freebsd.org Message-ID: <1268675323_SectionID-501087_HitID-1268672224201_SiteID-43865_EmailID-7956578_DB-1_SID-0@ss36.on9mail.com> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ss36.on9mail.com; i=@ss36.on9mail.com; q=dns/txt; s=gmmailerd; t=1268675310; h=From; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; l=0; b=XEcpEb0JK+FDkX6QFrI3orssd6UCiAYdaWHIG+y0hhlEGXF1JVE/UnFQ9cjhWQDKPN5NFLAzKM35UQSG4582UD7DMuNz9kaZQEzjNF6+2a/wes4KfTpE3ixXaxQNLggzRP7vQw0VbbD3bab8/KVbnoIR+m3mLWmjl0APRijcUUo= From: "Mike Hammond" Mime-Version: 1.0 Date: Mon, 15 Mar 2010 12:48:43 -0500 (CDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: If you have a hardwood floor, times have changed. 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, 15 Mar 2010 18:06:42 -0000 =20 Happy New Years! www.FloorGuardian.com = January 2010 =EF=BF=BD =20 We protect your floors while the others just cover it! We offer floo= r protection.=EF=BF=BD You have invested serious money in your gym floors a= nd we offer serious protection.=EF=BF=BD We protect your floor for the dama= ge that tables, chairs and heels can inflict.=EF=BF=BD Installs in about an= hour for my gyms.=EF=BF=BD Come in 9 colors but we can also Pantone match = if needed.=EF=BF=BD Not one of those tacky tarp systems, Floor Guardian is = a velcro'd seamed, carpet based, 6' wide roll product that is easily rolled= and carted under all doorways and stored on end.=EF=BF=BD No lifting as wi= th tiles, and none of the tape waste or trip hazards of a tarp and way more= elegant in looks.=EF=BF=BD As an example a=EF=BF=BD 70'x96' gym would have= 16 rolls and the storage would be 32"x108" of floor space.=20 =EF=BF=BDWe also will take your tarp system as a trade = in- We clean them and then donate them to your choice of=EF=BF=BD a Boys an= d Girls Club.=EF=BF=BD Turn your Gym or Hall into more than just an athletic s= pace, use it for receptions, rehearsals, recitals, graduations, PTA meeting= s, fund raisers and registrations. Reduce the need to refinish, while warmi= ng and quieting down the room.=EF=BF=BD Have recess insides on rainy days!= =EF=BF=BD Kids love it.=EF=BF=BD 7 year full warranty. So tough, you can cl= ean it with regular bleach.=EF=BF=BD Hundreds of schools for the past 20 ye= ars have been protecting their floors using Floor Guardian without 1 compla= int.=EF=BF=BD We have the referrals to back it up.=EF=BF=BD Click here for = a free sample and brochure. =EF=BF=BD Please visit our website or call for = more info.=20 =20 =20 =20 =20 =20 =20 web - www.FloorGuardian.com =EF=BF=BD=EF=BF=BD|=EF=BF= =BD=EF=BF=BD Product Sample - Free Sample=EF=BF=BD |=EF=BF=BD=EF=BF=BD tel = - 206-255-1491=20 =20 =20 =20 =20 =0AMessage sent by: Floor Guardian, 4841 California Ave SW, Seattle, 9= 8166-4329, United States=0A=0ATo unsubscribe, click the link below.=0Ahttp:= //c.ss36.on9mail.com/RWCode/subscribe.asp?SID=3D0&SiteID=3D43865&Email=3Dfr= eebsd-questions@freebsd.org&HitID=3D1268672224201 From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 18:07:10 2010 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 463C510656B7 for ; Mon, 15 Mar 2010 18:07:10 +0000 (UTC) (envelope-from returns@c.ss36.on9mail.com) Received: from c.ss36.on9mail.com (c.ss36.on9mail.com [209.144.27.61]) by mx1.freebsd.org (Postfix) with ESMTP id 1451D8FC28 for ; Mon, 15 Mar 2010 18:07:10 +0000 (UTC) Received: by c.ss36.on9mail.com (Postfix, from userid 0) id 1FD00581550; Mon, 15 Mar 2010 12:48:38 -0500 (CDT) To: questions@freebsd.org Message-ID: <1268675318_SectionID-501087_HitID-1268672224201_SiteID-43865_EmailID-7967241_DB-1_SID-0@ss36.on9mail.com> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ss36.on9mail.com; i=@ss36.on9mail.com; q=dns/txt; s=gmmailerd; t=1268675310; h=From; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; l=0; b=XEcpEb0JK+FDkX6QFrI3orssd6UCiAYdaWHIG+y0hhlEGXF1JVE/UnFQ9cjhWQDKPN5NFLAzKM35UQSG4582UD7DMuNz9kaZQEzjNF6+2a/wes4KfTpE3ixXaxQNLggzRP7vQw0VbbD3bab8/KVbnoIR+m3mLWmjl0APRijcUUo= From: "Mike Hammond" Mime-Version: 1.0 Date: Mon, 15 Mar 2010 12:48:38 -0500 (CDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: If you have a hardwood floor, times have changed. 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, 15 Mar 2010 18:07:10 -0000 =20 Happy New Years! www.FloorGuardian.com = January 2010 =EF=BF=BD =20 We protect your floors while the others just cover it! We offer floo= r protection.=EF=BF=BD You have invested serious money in your gym floors a= nd we offer serious protection.=EF=BF=BD We protect your floor for the dama= ge that tables, chairs and heels can inflict.=EF=BF=BD Installs in about an= hour for my gyms.=EF=BF=BD Come in 9 colors but we can also Pantone match = if needed.=EF=BF=BD Not one of those tacky tarp systems, Floor Guardian is = a velcro'd seamed, carpet based, 6' wide roll product that is easily rolled= and carted under all doorways and stored on end.=EF=BF=BD No lifting as wi= th tiles, and none of the tape waste or trip hazards of a tarp and way more= elegant in looks.=EF=BF=BD As an example a=EF=BF=BD 70'x96' gym would have= 16 rolls and the storage would be 32"x108" of floor space.=20 =EF=BF=BDWe also will take your tarp system as a trade = in- We clean them and then donate them to your choice of=EF=BF=BD a Boys an= d Girls Club.=EF=BF=BD Turn your Gym or Hall into more than just an athletic s= pace, use it for receptions, rehearsals, recitals, graduations, PTA meeting= s, fund raisers and registrations. Reduce the need to refinish, while warmi= ng and quieting down the room.=EF=BF=BD Have recess insides on rainy days!= =EF=BF=BD Kids love it.=EF=BF=BD 7 year full warranty. So tough, you can cl= ean it with regular bleach.=EF=BF=BD Hundreds of schools for the past 20 ye= ars have been protecting their floors using Floor Guardian without 1 compla= int.=EF=BF=BD We have the referrals to back it up.=EF=BF=BD Click here for = a free sample and brochure. =EF=BF=BD Please visit our website or call for = more info.=20 =20 =20 =20 =20 =20 =20 web - www.FloorGuardian.com =EF=BF=BD=EF=BF=BD|=EF=BF= =BD=EF=BF=BD Product Sample - Free Sample=EF=BF=BD |=EF=BF=BD=EF=BF=BD tel = - 206-255-1491=20 =20 =20 =20 =20 =0AMessage sent by: Floor Guardian, 4841 California Ave SW, Seattle, 9= 8166-4329, United States=0A=0ATo unsubscribe, click the link below.=0Ahttp:= //c.ss36.on9mail.com/RWCode/subscribe.asp?SID=3D0&SiteID=3D43865&Email=3Dqu= estions@freebsd.org&HitID=3D1268672224201 From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 18:41:30 2010 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 D3527106566B for ; Mon, 15 Mar 2010 18:41:30 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by mx1.freebsd.org (Postfix) with ESMTP id B92B28FC20 for ; Mon, 15 Mar 2010 18:41:30 +0000 (UTC) Received: by pxi38 with SMTP id 38so1121942pxi.27 for ; Mon, 15 Mar 2010 11:41:30 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.142.6.31 with SMTP id 31mr447152wff.79.1268676977743; Mon, 15 Mar 2010 11:16:17 -0700 (PDT) Date: Mon, 15 Mar 2010 14:16:17 -0400 X-Google-Sender-Auth: 434fa819a1959fc7 Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Recovering base system files after failed installworld 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, 15 Mar 2010 18:41:30 -0000 Hi, I tried upgrading from 6.2 STABLE to 7.3 RELEASE, and everything went very smooth until I rebooted the new kernel. Make installworld failed complaining that cc1 was not executable. After a lot of tests, I came to the conclusion that the new 7.3 kernel had some sort of problem with my gvinum partitions, since executables were mysteriously becoming corrupt and the miraculously fixed after reboot. So I reverted to the old kernel and the system booted without any problems. I reverted with csup to 6.2 STABLE sources, but now I realize that some binaries of the base system were modified by the failed installworld. For example, it seems that libc.a is not compatible with the compiler as I now get: /usr/lib/libc.a: could not read symbols: Malformed archive Now, the question I have is: is there any way to revert all system binaries to 6.2 STABLE without a previous backup? Can a utility like freebsd-update help me restore these binaries? Thanks in advance, Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 19:30:17 2010 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 E17051065670 for ; Mon, 15 Mar 2010 19:30:16 +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 6ADEF8FC1D for ; Mon, 15 Mar 2010 19:30:16 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o2FJTlg5037383 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 15 Mar 2010 19:30:10 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4B9E8AAB.9040204@infracaninophile.co.uk> Date: Mon, 15 Mar 2010 19:29:47 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Alejandro Imass References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Recovering base system files after failed installworld 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, 15 Mar 2010 19:30:17 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15/03/2010 18:16:17, Alejandro Imass wrote: > Hi, > > I tried upgrading from 6.2 STABLE to 7.3 RELEASE, and everything went > very smooth until I rebooted the new kernel. Make installworld failed > complaining that cc1 was not executable. After a lot of tests, I came > to the conclusion that the new 7.3 kernel had some sort of problem > with my gvinum partitions, since executables were mysteriously > becoming corrupt and the miraculously fixed after reboot. So I > reverted to the old kernel and the system booted without any problems. > I reverted with csup to 6.2 STABLE sources, but now I realize that > some binaries of the base system were modified by the failed > installworld. For example, it seems that libc.a is not compatible with > the compiler as I now get: > > /usr/lib/libc.a: could not read symbols: Malformed archive > > Now, the question I have is: is there any way to revert all system > binaries to 6.2 STABLE without a previous backup? Can a utility like > freebsd-update help me restore these binaries? Yes. In essence what you need to do is obtain the 6.2 sources and run through a standard buildworld type update. In principle, you could use freebsd-update similarly, but 6.2 is out of support and not available that way. 6.4 is still under support, and the 6.2 -> 6.4 upgrade should be a lot less risky than 6.2 -> 7.3 if you're still eager t try freebsd-update. It is possible that you will have files installed by 7.3 still on your hard drive. Ones that don't exist in 6.X and so don't get overwritten by reinstalling 6.X. As the prime candidates for that sort of thing are the updated shlibs from 7.3, you need to check into that, and remove anything that shouldn't be there. Otherwise you can run into trouble if you update any ported software -- programs crashing because they try and dynamically link against two different versions of the same shlib. It's the same problem you can encounter after a major version upgrade (and the reason for the recommended practice of reinstalling all ported software), just in reverse. I don't recall any warnings of possible problems with gvinum compatibility between versions 6, 7 or 8. However, that does not in any way mean there weren't any, and you should check the release notes for the various releases since 6.2 carefully. It may be a worst case scenario of backing the system up, and then reinstalling from scratch -- in which case, a good strategy would be to have a RAID1 mirror (ie. gmirror(8)) for the OS and separate data partitions using whatever RAID level you had implemented using gvinum. Or else go the whole hog and build the system using ZFS. Either of those should give you good future proofing against this sort of thing happening to you again. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkueiqsACgkQ8Mjk52CukIwKhgCgjgS/cxaA4tk22gKBC9fhxonk a1kAn1kffiZwlV5ydvLiDUWlCALeiDY5 =TfeA -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 19:51:01 2010 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 A9DB81065670 for ; Mon, 15 Mar 2010 19:51:01 +0000 (UTC) (envelope-from bogdan@pgn.ro) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 48BF78FC1B for ; Mon, 15 Mar 2010 19:51:00 +0000 (UTC) Received: by bwz8 with SMTP id 8so3299288bwz.3 for ; Mon, 15 Mar 2010 12:50:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.9.153 with SMTP id l25mr5254665bkl.208.1268682659608; Mon, 15 Mar 2010 12:50:59 -0700 (PDT) Date: Mon, 15 Mar 2010 21:50:59 +0200 Message-ID: From: Bogdan Webb To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Info on DOS mitigation, kernel configuration for DOS mitigation 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, 15 Mar 2010 19:51:01 -0000 Hello everyone! First of all i would like to apologize to anyone who finds my appeal a lazy man's choice, actually it's indeed lazy but it's the best way to get an answer from a valid source. My problem is a potential DOS/DDOS... i know a forever talked about issue... i've already searched the freebsd's mailing lists and found some mitigation techniques, to bad that google ain't that familiar with FreeBSD, and searchin' for guides is a pain... I recall finding a mitigation technique that involved bandwidth shaping and other ... I'm using a FreeBSD 7.2-p7 with ipfw and upon testing the rules in those guides it alerted me that bandwidth modules weren't included in the bsd's kernel... Anyway could anyone provide me with a good BSD walk trough for DOS mitigation and if needed kernel modules and kernel module integration, mabe other firewall (but with extended howto..) ... (basically anything regarded to floods) Thanks in advance! From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 20:38:39 2010 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 BF71A106566C for ; Mon, 15 Mar 2010 20:38:39 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by mx1.freebsd.org (Postfix) with ESMTP id 535FA8FC22 for ; Mon, 15 Mar 2010 20:38:38 +0000 (UTC) Received: by fxm7 with SMTP id 7so642901fxm.3 for ; Mon, 15 Mar 2010 13:38:38 -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=vndkoUZS4DlpPBoT6hHYKsxopQ/fk09gWb1OjAnA/eg=; b=nhxbRKAxdlaH3dAYuEmVv8PSb9pf5lShZi06xhu2YiNZv6n3mDt7LD+SyDejMZEHEa iEzozMt0bnANmzUhD0Y+TDUOtEpdhpUjH1estCLdGyz6KYUFl9x2GEr2HXgQjO59wbNH HGNHiKjoj5/qjz3maLyqVwuSzMs06KLKlZfCM= 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=DaWxUZ9d2H0lNjUXSUjmkNWHNricPXyjXz8yohHt8pQ5EuVotDbvXgr//5CGSduI8y hbROltSv1NOVY7ZokrKR54NN8MDffDkA9pdVtpuNQjO/bAI17YzyvG2KDtaB8YcvFcTS CdvjMpsIk2BmEKpfU2gvoY44C36HHvBMr6agE= MIME-Version: 1.0 Received: by 10.239.153.71 with SMTP id y7mr851382hbb.210.1268685518176; Mon, 15 Mar 2010 13:38:38 -0700 (PDT) In-Reply-To: References: <201002281924.o1SJO6df078229@freefall.freebsd.org> From: Eitan Adler Date: Mon, 15 Mar 2010 22:38:18 +0200 Message-ID: To: Gerald Pfeifer Content-Type: text/plain; charset=ISO-8859-1 Cc: questions@freebsd.org Subject: Re: ports/144357: emulators/wine build failure 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, 15 Mar 2010 20:38:39 -0000 > rebuilding wine without any make.conf changed nothing > OK - I managed to build wine after a recent ports update. The only difference I could see is that I used to use "su" to get root. I now use "su -" to get root. From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 20:39:52 2010 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 1706D106567B for ; Mon, 15 Mar 2010 20:39:52 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by mx1.freebsd.org (Postfix) with ESMTP id E0FAC8FC35 for ; Mon, 15 Mar 2010 20:39:51 +0000 (UTC) Received: by pxi38 with SMTP id 38so1226132pxi.27 for ; Mon, 15 Mar 2010 13:39:51 -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=C7WRaL1D+dtLxa03EAXPzOtl0w0DSOyr9gC4hSfc810=; b=FHYRN8fXaWpFUpZHveRFvuhPqaMTfAq2lmqYwidlGQvDEF7yn1IMQswe8Eqc4B/0cz hj0teonX1FZ/yvUSLmy8n0myKfTU0gPf53TLRpNuhIlUrC7nmBqiJIHO+0H56/dEGtC4 qPHugnET3WMbZFx0wDizd6ijs955ry9TXONtw= 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=IrHbUNt0xuKOT2ZQiRZ+ylexdTmPxi41uCIFbuoQIoTIOfTZcHWk4h28Lfj5a7g2iw yBhPhO1R0gQJuzjR1n+nsZ6wO2X9+ifKc0hpdDx6FQEKJvrW9e+32u4DOwZMT6HqpZT9 OXnireeIBChF3oSmaWflMV+yxFe+T7XEz4Tt4= MIME-Version: 1.0 Received: by 10.142.249.10 with SMTP id w10mr774187wfh.207.1268685591370; Mon, 15 Mar 2010 13:39:51 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Mar 2010 15:39:51 -0500 Message-ID: <6201873e1003151339x65ec5caj102aeb1b517a9b24@mail.gmail.com> From: Adam Vande More To: Bogdan Webb Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Info on DOS mitigation, kernel configuration for DOS mitigation 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, 15 Mar 2010 20:39:52 -0000 On Mon, Mar 15, 2010 at 2:50 PM, Bogdan Webb wrote: > i've already searched the freebsd's mailing > lists and found some mitigation techniques, to bad that google ain't that > familiar with FreeBSD, and searchin' for guides is a pain... > http://www.google.com/bsd -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 21:12:06 2010 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 7DDAC1065673 for ; Mon, 15 Mar 2010 21:12: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 0A4588FC18 for ; Mon, 15 Mar 2010 21:12:05 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NrHa0-0002IK-Jz for freebsd-questions@freebsd.org; Mon, 15 Mar 2010 22:12:04 +0100 Received: from 93-138-83-214.adsl.net.t-com.hr ([93.138.83.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Mar 2010 22:12:04 +0100 Received: from ivoras by 93-138-83-214.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Mar 2010 22:12:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Mon, 15 Mar 2010 22:11:46 +0100 Lines: 33 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-83-214.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090612) In-Reply-To: Subject: Re: Info on DOS mitigation, kernel configuration for DOS mitigation 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, 15 Mar 2010 21:12:06 -0000 Bogdan Webb wrote: > Hello everyone! > > First of all i would like to apologize to anyone who finds my appeal a lazy > man's choice, actually it's indeed lazy but it's the best way to get an > answer from a valid source. My problem is a potential DOS/DDOS... i know a > forever talked about issue... i've already searched the freebsd's mailing > lists and found some mitigation techniques, to bad that google ain't that > familiar with FreeBSD, and searchin' for guides is a pain... I recall > finding a mitigation technique that involved bandwidth shaping and other ... > I'm using a FreeBSD 7.2-p7 with ipfw and upon testing the rules in those > guides it alerted me that bandwidth modules weren't included in the bsd's > kernel... Anyway could anyone provide me with a good BSD walk trough for DOS kldload dummynet, see loader.conf(5) > mitigation and if needed kernel modules and kernel module integration, mabe > other firewall (but with extended howto..) ... (basically anything regarded > to floods) As you probably guess, a) this is a complex problem because one man's DOS is another's regular traffic - it's complex even to detect something like that, and b) most of the general solutions are not platform-specific but can apply to any operating system, so you can learn it from many sources. First, you need to define what your outgoing network connection is (e.g. "10 mbit/s") and then see what kinds of tradeoffs you are prepared to make to protect yourself. The general advice is: - read ipfw(5), especially sections on dummynet and the "limit" rule - study software like http://codee.pl/cband.html From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 23:30:09 2010 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 49E6F106564A for ; Mon, 15 Mar 2010 23:30:09 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-11.arcor-online.net (mail-in-11.arcor-online.net [151.189.21.51]) by mx1.freebsd.org (Postfix) with ESMTP id 7949C8FC12 for ; Mon, 15 Mar 2010 23:30:07 +0000 (UTC) Received: from mail-in-20-z2.arcor-online.net (mail-in-20-z2.arcor-online.net [151.189.8.85]) by mx.arcor.de (Postfix) with ESMTP id 2AD03E39D7 for ; Tue, 16 Mar 2010 00:30:06 +0100 (CET) Received: from mail-in-07.arcor-online.net (mail-in-07.arcor-online.net [151.189.21.47]) by mail-in-20-z2.arcor-online.net (Postfix) with ESMTP id 1D9151080AD for ; Tue, 16 Mar 2010 00:30:06 +0100 (CET) Received: from lorvorc.mips.inka.de (dslb-094-217-111-222.pools.arcor-ip.net [94.217.111.222]) by mail-in-07.arcor-online.net (Postfix) with ESMTPS id DC1593CA47A for ; Tue, 16 Mar 2010 00:30:05 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-07.arcor-online.net DC1593CA47A Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.14.4/8.14.3) with ESMTP id o2FNU534029034 for ; Tue, 16 Mar 2010 00:30:05 +0100 (CET) (envelope-from mailnull@lorvorc.mips.inka.de) Received: (from mailnull@localhost) by lorvorc.mips.inka.de (8.14.4/8.14.4/Submit) id o2FNU5qY029033 for freebsd-questions@freebsd.org; Tue, 16 Mar 2010 00:30:05 +0100 (CET) (envelope-from mailnull) From: naddy@mips.inka.de (Christian Weisgerber) Date: Mon, 15 Mar 2010 23:30:05 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-questions@freebsd.org Subject: Re: Compose key and xterm vs. UTF-8 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, 15 Mar 2010 23:30:09 -0000 Christian Weisgerber wrote: > Short: > ------ > Why do compose key sequences fail to work in a UTF-8 xterm? And the short answer is: They work--if you know the right sequences. The compose key handling presumably comes out of some X11 library; xterm is just the recipient. The actual compose table used depends on the locale encoding. There is an index at $PREFIX/lib/X11/locale/compose.dir and you can find the tables in $PREFIX/lib/X11/locale/*/Compose. It turns out that the UTF-8 table is _quite_ extensive (6676 lines) and all the common characters I was looking for are in fact there. So why didn't I find them? Order matters. The ISO8859-* compose tables list two-character sequences in both orders. The UTF-8 table allows only one order. For the last twenty years I've been used to entering, say, to input an 'a' with an acute accent, but the UTF-8 compose table only accepts . Oh well. On a side note: GTK+2 comes with its own compose tables and the sequences I'm used to work fine in GTK applications like Firefox. -- Christian "naddy" Weisgerber naddy@mips.inka.de From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 23:40:28 2010 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 E421C1065672; Mon, 15 Mar 2010 23:40:27 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id 5254B8FC15; Mon, 15 Mar 2010 23:40:26 +0000 (UTC) Received: by bwz28 with SMTP id 28so3492174bwz.14 for ; Mon, 15 Mar 2010 16:40:26 -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=kTezEwnvGUoxTWT6csQjE9+sfxcsj4bUFE4BKr/SOJA=; b=G9qUDKl+RNf6gE12OzMuHmrrp5q2mzDj9bg6RiFJTOSMsIqO6FJUzj+g2dHNN7OdLH 4AABzaZao7VtAHG8IQuo8UMbdv7P/Os0YtnMK3dcW7SjmXKW3cmdFfM+5I1HzrsrxV8n 5iVouwAfYLciOkbqzOSeowfD2HRk1cuPJMlG8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VXeFv0eZhdwFfc8AFtUi6yDzWUNqMnrMVC7Wiag/SSwRXc6AcTaE1/1XaRa3+d7D00 YCHgCf9qkQ/NYjHwzkeDc0kW6pq8dGWa12CKMBCHI3rNrGIMmneJ1LcOChYuRg979bsw TdDEiXsccs+lQUDRg8wFajMSsUCcx2WxMOeRs= MIME-Version: 1.0 Received: by 10.204.141.9 with SMTP id k9mr747685bku.73.1268696425833; Mon, 15 Mar 2010 16:40:25 -0700 (PDT) Date: Tue, 16 Mar 2010 01:40:25 +0200 Message-ID: From: Dan Naumov To: freebsd-questions@freebsd.org, freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Some questions about vfs.zfs.prefetch_disable=1 and ZFS filesystem versions 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, 15 Mar 2010 23:40:28 -0000 After looking at the arc_summary.pl script (found at http://jhell.googlecode.com/files/arc_summary.pl), I have realized that my system has set vfs.zfs.prefetch_disable=1 by default, looking at dmesg, I see: ========================= ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. ========================= ...except I do have 4gb of RAM. Is this caused by integrated GPU snatching some of my memory at boot? From dmesg: ========================= real memory = 4294967296 (4096 MB) avail memory = 4088082432 (3898 MB) ========================= What kind of things does this tunable affect and how much of a performance impact does enabling / disabling it have? Should I manually enable it? I've also noticed a really weird inconsistency, my dmesg says the following: ========================= ZFS filesystem version 13 ZFS storage pool version 13 ========================= Yet: ========================= zfs get version NAME PROPERTY VALUE SOURCE cerberus version 3 - cerberus/DATA version 3 - cerberus/ROOT version 3 - cerberus/ROOT/cerberus version 3 - cerberus/home version 3 - cerberus/home/atombsd version 3 - cerberus/home/friction version 3 - cerberus/home/jago version 3 - cerberus/home/karni version 3 - cerberus/tmp version 3 - cerberus/usr-local version 3 - cerberus/usr-obj version 3 - cerberus/usr-ports version 3 - cerberus/usr-ports-distfiles version 3 - cerberus/usr-src version 3 - cerberus/var version 3 - cerberus/var-db version 3 - cerberus/var-log version 3 - cerberus/var-tmp version 3 - ========================= Is this normal or should "zfs get version" also show version 13? This is on a system with the pool and filesystems created with 8.0-RELEASE, by the way. Thanks! - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 00:06:37 2010 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 654A2106564A; Tue, 16 Mar 2010 00:06:37 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id C3D308FC13; Tue, 16 Mar 2010 00:06:36 +0000 (UTC) Received: by bwz8 with SMTP id 8so3493825bwz.3 for ; Mon, 15 Mar 2010 17:06:35 -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=RmfBIh6EOAqwR7O9L8KH5lqSDnWvYinTjgaw6e89zG0=; b=rmxA/r9MXXMfOLd87QrXf2ESSwzXVk5EXubb9aBoJh9kZvHxELyhPB8HOKGS+vlI/E 7hQ/Xtgrt5joSYVEVnjpvpyOnEQ4Ix6DrPt+1CGLdFb0tmhMX31S8CR64hYE/gV01j67 cU9XQdZYwn80aHeTyA1qFspaI21sMLaQva3ss= 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=DK3y/2dF8w48ccvkQVqFelMAcn6Zga2Q7Eu4z4VHvNsBuWaT0ino17yVeD1mMv5lSi sWR5UQ/dW4+QK7RUGPvjN+XOdUShlYlH8mDGBYbHSmxUQ855jYrZ5//+DXVX1qOfujCN 0q0iYrkN1NU6euIvcOLNENP7UxpZtmK3SVsas= MIME-Version: 1.0 Received: by 10.204.141.9 with SMTP id k9mr771834bku.73.1268697995076; Mon, 15 Mar 2010 17:06:35 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Mar 2010 02:06:35 +0200 Message-ID: From: Dan Naumov To: freebsd-questions@freebsd.org, freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: Some questions about vfs.zfs.prefetch_disable=1 and ZFS filesystem versions 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, 16 Mar 2010 00:06:37 -0000 Nevermind the question about ZFS filesystem versions, I should've Googled more throughly and read Pawel's responce to this question before (answer: dmesg picks the filesystem version wrong, it IS and supposed to be v3). I am still curious about prefetch though. - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 01:38:42 2010 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 D7C7D106564A for ; Tue, 16 Mar 2010 01:38:42 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from mail.netmusician.org (dorian.netmusician.org [66.244.95.101]) by mx1.freebsd.org (Postfix) with ESMTP id 9DFB58FC12 for ; Tue, 16 Mar 2010 01:38:41 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by mail.netmusician.org (Postfix) with ESMTP id 44BA6B895 for ; Mon, 15 Mar 2010 21:38:41 -0400 (EDT) X-Virus-Scanned: amavisd-new at netmusician.org Received: from mail.netmusician.org ([127.0.0.1]) by localhost (dorian.netmusician.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tIyfhfTRJqLR for ; Mon, 15 Mar 2010 21:38:41 -0400 (EDT) Received: from Shakti.local (c-67-176-145-181.hsd1.in.comcast.net [67.176.145.181]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.netmusician.org (Postfix) with ESMTPSA id A683EB88A for ; Mon, 15 Mar 2010 21:38:40 -0400 (EDT) Message-ID: <4B9EE11F.4090206@netmusician.org> Date: Mon, 15 Mar 2010 21:38:39 -0400 From: Joe Auty User-Agent: Postbox 1.1.2 (Macintosh/20100308) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: /etc/rc.conf and NFS 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, 16 Mar 2010 01:38:42 -0000 Hello, I have my /usr/local partition hosted on an NFS share which is mounted at boot. Do you have any theories as to why my various services (Apache, Postfix, MySQL) listed in /etc/rc.conf do not start up automatically at boot, and I have to do this manually? When /usr/local is hosted locally these services start up fine on their own at boot time. -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org joe@netmusician.org From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 02:25:17 2010 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 B5514106564A for ; Tue, 16 Mar 2010 02:25:17 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by mx1.freebsd.org (Postfix) with ESMTP id 8A0D88FC0C for ; Tue, 16 Mar 2010 02:25:17 +0000 (UTC) Received: by pxi38 with SMTP id 38so1370136pxi.27 for ; Mon, 15 Mar 2010 19:25: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:cc:content-type; bh=fWicavo649j4XP+D+SCq8EwtHXMEnJBwEBCmUWmPCuo=; b=EOPL9nPRqxpHqnvt8dajwavilaVEcpvKHtsWbnhnYwR/7xS5IzJpumOXO53ZAtVQ3S VCUwst7Osk8gyNvMZRulHiTgCdDQSYzQqijkBnKd7glYd/Ic3PwaATq5dfWQUlf+HeAb gqJyl2eTQTcjulYjHxGz91W1m6YovGFd6SBRI= 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=UhbmDRoNM6/LJe/N84SFfZbNZDb4kbbl12DxB9BC1oLst+JYC8jZ4kS3/YwTXzhCHj zdGmIKW1yodxgJWnGxPqzgp1OGvDmJLIFslGUZBKdBfCUITDY9QJxN3c+tcRhQrydfD/ Me3gOGb0hkmgJ4lqa+c7mF7+Zxb2fsDxoEoh0= MIME-Version: 1.0 Received: by 10.142.3.27 with SMTP id 27mr823016wfc.274.1268706316891; Mon, 15 Mar 2010 19:25:16 -0700 (PDT) In-Reply-To: <4B9EE11F.4090206@netmusician.org> References: <4B9EE11F.4090206@netmusician.org> Date: Mon, 15 Mar 2010 21:25:16 -0500 Message-ID: <6201873e1003151925n20ec6a8avf4dcff3c86a6503c@mail.gmail.com> From: Adam Vande More To: Joe Auty Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: /etc/rc.conf and NFS 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, 16 Mar 2010 02:25:17 -0000 On Mon, Mar 15, 2010 at 8:38 PM, Joe Auty wrote: > Hello, > > I have my /usr/local partition hosted on an NFS share which is mounted > at boot. Do you have any theories as to why my various services (Apache, > Postfix, MySQL) listed in /etc/rc.conf do not start up automatically at > boot, and I have to do this manually? When /usr/local is hosted locally > these services start up fine on their own at boot time. > What does /var/log/messages say? May be that /usr/local isn't available when scripts are called. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 03:37:32 2010 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 C43A1106566B for ; Tue, 16 Mar 2010 03:37:32 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id 42CDB8FC12 for ; Tue, 16 Mar 2010 03:37:31 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgK+AH6ZnkvKRa39OWdsb2JhbACHYZMMCwEBAQE3BisBAQEBuV6EewSDGA X-IronPort-AV: E=Sophos;i="4.49,648,1262534400"; d="scan'208";a="9787462" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.253]) by avmxsmtp3.comclark.com with SMTP; 16 Mar 2010 11:37:29 +0800 Message-ID: <4B9EFCF8.8080300@comclark.com> Date: Tue, 16 Mar 2010 11:37:28 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: cdrecord errors messages 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, 16 Mar 2010 03:37:32 -0000 Just started using cdrecord command. cdrecord dev=1,0,0 speed=4 blank=fast cdrecord dev=1,0,0 speed=4 -data cd.iso Both of the above commands generate these messages acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x20 ascq=0x00 acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x20 ascq=0x00 acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x26 ascq=0x00 sks=0x0b 0x00 acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x26 ascq=0x00 sks=0x0b 0x00 Why is this and what can i do to correct this? The CD seems to be written ok. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 03:43:25 2010 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 09FF6106566C for ; Tue, 16 Mar 2010 03:43:25 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by mx1.freebsd.org (Postfix) with ESMTP id D2C998FC14 for ; Tue, 16 Mar 2010 03:43:24 +0000 (UTC) Received: by pxi38 with SMTP id 38so1397059pxi.27 for ; Mon, 15 Mar 2010 20:43: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=ZW1Sym/qUdHVmsq+hvw1hQ333hqJDM6vsHDuhqbpULE=; b=TEnuNvJXa9N31H+JYZu0WgQm+B28d0SQzorutngt6xaBhsBbLVQAw892hJh8q8RPJs RJHa8+4IPWSOh3WuEk93dj+d5i3k7R5CCuzu9Urpyxcn/xN1LdEt0fCD28VMs0npZzez 6oUL9kOl5fivc0Ph6N4emZH4nl/P+B4ls9eP4= 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=ABYyPANrB/6YbWfLgkhfzNpbmI4ifsuKdarf8saLxi/9ZyGaLkLDCOO/H+9cA9zdaE xway5e4qqVHhPS8/tEy01Geghm/M1PqolaOvQoarvrsuz3fl1mk/Ce+OuK5n8ZaCwJSa 2B3OB7v3ljTAr2bBc00MfJ3hvP0NMbM0aZDlQ= MIME-Version: 1.0 Received: by 10.142.249.10 with SMTP id w10mr1079802wfh.207.1268711004138; Mon, 15 Mar 2010 20:43:24 -0700 (PDT) In-Reply-To: <4B9EFCF8.8080300@comclark.com> References: <4B9EFCF8.8080300@comclark.com> Date: Mon, 15 Mar 2010 22:43:24 -0500 Message-ID: <6201873e1003152043q3bacfa9apc8b35152e1a7ed85@mail.gmail.com> From: Adam Vande More To: Aiza Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: cdrecord errors messages 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, 16 Mar 2010 03:43:25 -0000 On Mon, Mar 15, 2010 at 10:37 PM, Aiza wrote: > Just started using cdrecord command. > > cdrecord dev=1,0,0 speed=4 blank=fast > cdrecord dev=1,0,0 speed=4 -data cd.iso > > Both of the above commands generate these messages > > acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x20 ascq=0x00 > acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x20 ascq=0x00 > acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d > 0x00 > acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d > 0x00 > acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x26 ascq=0x00 sks=0x0b > 0x00 > acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x26 ascq=0x00 sks=0x0b > 0x00 > > Why is this and what can i do to correct this? > The CD seems to be written ok. > http://www.freebsd.org/doc/handbook/creating-cds.html The answer lies within that page. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 05:11:50 2010 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 A4618106566B for ; Tue, 16 Mar 2010 05:11:50 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id 8A54C8FC16 for ; Tue, 16 Mar 2010 05:11:50 +0000 (UTC) Received: from omta13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by qmta09.emeryville.ca.mail.comcast.net with comcast id tf0f1d00517UAYkA9hBq2F; Tue, 16 Mar 2010 05:11:50 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta13.emeryville.ca.mail.comcast.net with comcast id thBq1d0013S48mS8ZhBq3v; Tue, 16 Mar 2010 05:11:50 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id BEB499B436; Mon, 15 Mar 2010 22:11:48 -0700 (PDT) Date: Mon, 15 Mar 2010 22:11:48 -0700 From: Jeremy Chadwick To: Dan Naumov Message-ID: <20100316051148.GA73270@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-fs@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Some questions about vfs.zfs.prefetch_disable=1 and ZFS filesystem versions 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, 16 Mar 2010 05:11:50 -0000 On Tue, Mar 16, 2010 at 01:40:25AM +0200, Dan Naumov wrote: > After looking at the arc_summary.pl script (found at > http://jhell.googlecode.com/files/arc_summary.pl), I have realized > that my system has set vfs.zfs.prefetch_disable=1 by default, looking > at dmesg, I see: > > ========================= > ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; > to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. > ========================= > > ...except I do have 4gb of RAM. Is this caused by integrated GPU > snatching some of my memory at boot? From dmesg: > > ========================= > real memory = 4294967296 (4096 MB) > avail memory = 4088082432 (3898 MB) > ========================= I've blogged about this problem when testing out 8.0-RC1. See the bottom third of my post for an explanation: http://koitsu.wordpress.com/2009/10/12/testing-out-freebsd-8-0-rc1/ The message is confusing/badly worded, despite having gone through numerous commits to change its wording. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 05:16:39 2010 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 802A6106566B for ; Tue, 16 Mar 2010 05:16:39 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta08.emeryville.ca.mail.comcast.net (qmta08.emeryville.ca.mail.comcast.net [76.96.30.80]) by mx1.freebsd.org (Postfix) with ESMTP id 669318FC08 for ; Tue, 16 Mar 2010 05:16:39 +0000 (UTC) Received: from omta22.emeryville.ca.mail.comcast.net ([76.96.30.89]) by qmta08.emeryville.ca.mail.comcast.net with comcast id tgYp1d0031vN32cA8hGgN4; Tue, 16 Mar 2010 05:16:40 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta22.emeryville.ca.mail.comcast.net with comcast id thL91d00H3S48mS8ihL9K7; Tue, 16 Mar 2010 05:20:10 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id C09EC9B436; Mon, 15 Mar 2010 22:16:37 -0700 (PDT) Date: Mon, 15 Mar 2010 22:16:37 -0700 From: Jeremy Chadwick To: Dan Naumov Message-ID: <20100316051637.GB73270@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-fs@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Some questions about vfs.zfs.prefetch_disable=1 and ZFS filesystem versions 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, 16 Mar 2010 05:16:39 -0000 On Tue, Mar 16, 2010 at 02:06:35AM +0200, Dan Naumov wrote: > Nevermind the question about ZFS filesystem versions, I should've > Googled more throughly and read Pawel's responce to this question > before (answer: dmesg picks the filesystem version wrong, it IS and > supposed to be v3). The printing of the incorrect version number was fixed in RELENG_7 and RELENG_8 approx. 8 weeks ago. See commit revs 1.14.2.8 (RELENG_7) and 1.18.2.5 (RELENG_8) below: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 09:13:49 2010 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 D816D1065687 for ; Tue, 16 Mar 2010 09:13:49 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 67F918FC08 for ; Tue, 16 Mar 2010 09:13:48 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e12so73944fga.13 for ; Tue, 16 Mar 2010 02:13:48 -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; bh=VCX3u87mOijMHKAWTTbbu8nE5Kv88x9eukvfgOyUkRc=; b=E/9PjIbvPeX4HJYZ7RrBFBjqWLKbcv8KPOVsU+XQu7v4L4nXcNc5UaWCwRS6pQbrnL ktnMFImIyWpDCxFd8Az0z8rnqJYyLRe3y7OOxzonwzZErc7VPK7m9nYfrTJSKYQKdMyj neXPU/PzOokJY9fzrcFqkOPtyyjaw+oduJpzE= 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; b=xPsE6x3AEYhGAGr1asExdcrje/SUT6P3+ijd7IlqrU8WiHaK80jo4UdoX+V0pOPrlk nne/hsvuyUyayjJRORiYUYd6SLW6nA2GLFpl/bazkWDrU1OP+m173o2tvUtRJ4/9ytno 5qvimr2E8wqUMq9B75wCBcOoSI8PRSNuZscI8= MIME-Version: 1.0 Received: by 10.239.187.129 with SMTP id l1mr1008686hbh.86.1268730828052; Tue, 16 Mar 2010 02:13:48 -0700 (PDT) In-Reply-To: <44634xpv38.fsf@be-well.ilk.org> References: <44634xpv38.fsf@be-well.ilk.org> Date: Tue, 16 Mar 2010 09:13:47 +0000 Message-ID: From: krad To: Lowell Gilbert Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD , Tsu-Fan Cheng Subject: Re: limit bandwidth on sftp 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, 16 Mar 2010 09:13:50 -0000 On 15 March 2010 13:34, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > Tsu-Fan Cheng writes: > > > I need to limit my sftp session bandwidth to 20K, can someone show me > how > > to do it? thank you! > > There's no simple way to do that. > > scp has such a capability, though; maybe using that is your easiest option? > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ > _______________________________________________ > 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" > You could limit port 22 with pf, ipfw etc. This would slow all you ssh traffic rather than just sftp which may or may not work for you. If you are clever with your rule sets you could guarantee bw for certain hosts so they dont loose a functional ssh session and/or you could bw limit it by source ip, rather than a global limit for port 22. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 10:22:59 2010 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 42870106566B for ; Tue, 16 Mar 2010 10:22:59 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-relay2.uni-muenster.de (ZIVM-RELAY2.UNI-MUENSTER.DE [128.176.192.13]) by mx1.freebsd.org (Postfix) with ESMTP id BF0498FC1E for ; Tue, 16 Mar 2010 10:22:58 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,649,1262559600"; d="scan'208";a="239237781" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER01.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay2.uni-muenster.de with ESMTP; 16 Mar 2010 11:22:56 +0100 Received: by ZIVMAILUSER01.UNI-MUENSTER.DE (Postfix, from userid 149459) id CA6B21B0768; Tue, 16 Mar 2010 11:22:56 +0100 (CET) Date: Tue, 16 Mar 2010 11:22:56 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Aiza Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: cdrecord errors messages 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, 16 Mar 2010 10:22:59 -0000 have you tried both commands with the -tao switch? i was also getting errors with cdrecord until i started using that switch. cheers. alex From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 12:59:08 2010 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 DE6DB1065670 for ; Tue, 16 Mar 2010 12:59:08 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id 6CE188FC12 for ; Tue, 16 Mar 2010 12:59:08 +0000 (UTC) Received: by bwz28 with SMTP id 28so3895184bwz.14 for ; Tue, 16 Mar 2010 05:59:07 -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=CRY/QgJEtn4sJSEUNGq0sBbTU5Yw/woXp5NPOgP7dN0=; b=S+iMl5EDSmov0FD5QS3eRCgEJdyFNK/ZQhHWZsFH3AJpD7MhkaFYZLoVe7ZlUQiTl9 UAQvPz2yU3iZ42KMNkl/tBWW90gzFvXvsWJA0gmfVRL3lZo9quRNDvUpCG6rNuFnArpG Sw8vAE+MQWanQgDrb594B8aRI/tr/llbx+Kks= 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=Q4IaNEpcrZO1GXTGBFh06aqRbJiIjr3gen9z4MKth3AwkMMz9i+cLqOR9JPoMmEtEI LsWQJppwA0rs8Xy0DcthzXDGEnhVt4ueFdP+C8prpdMwLZDnTPLR7ih0pZdHES5xPotw MGHN+4Nr1bY+Cr+UnXsQAlBMbPYJhbmPV1eRo= Received: by 10.204.3.216 with SMTP id 24mr6966058bko.30.1268744347442; Tue, 16 Mar 2010 05:59:07 -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 24sm25946530bkr.0.2010.03.16.05.59.05 (version=SSLv3 cipher=RC4-MD5); Tue, 16 Mar 2010 05:59:06 -0700 (PDT) Date: Tue, 16 Mar 2010 12:58:54 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100316125854.6ee3f397@gumby.homeunix.com> In-Reply-To: <4B9EE11F.4090206@netmusician.org> References: <4B9EE11F.4090206@netmusician.org> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: /etc/rc.conf and NFS 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, 16 Mar 2010 12:59:08 -0000 On Mon, 15 Mar 2010 21:38:39 -0400 Joe Auty wrote: > Hello, > > I have my /usr/local partition hosted on an NFS share which is mounted > at boot. Do you have any theories as to why my various services > (Apache, Postfix, MySQL) listed in /etc/rc.conf do not start up > automatically at boot, and I have to do this manually? > When /usr/local is hosted locally these services start up fine on > their own at boot time. You probably need to set early_late_divider. rc reads in and orders the scripts in /etc/rc.d before it executes any of them, and this list is fixed. When it reaches $early_late_divider, it creates a new list that includes the local directory obviously /usr/local/etc must be mounted at this point. Bear in mind that a local script that's ordered before early_late_divider is ignored. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 14:40:38 2010 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 6C0FA106566B for ; Tue, 16 Mar 2010 14:40:38 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4515E8FC13 for ; Tue, 16 Mar 2010 14:40:37 +0000 (UTC) Received: (qmail 22846 invoked from network); 16 Mar 2010 14:40:37 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 Mar 2010 14:40:37 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id A5F2C50889; Tue, 16 Mar 2010 10:40:35 -0400 (EDT) From: Lowell Gilbert To: FreeBSD , Tsu-Fan Cheng References: <44634xpv38.fsf@be-well.ilk.org> Date: Tue, 16 Mar 2010 10:40:35 -0400 In-Reply-To: (krad's message of "Tue, 16 Mar 2010 09:13:47 +0000") Message-ID: <448w9s49ek.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: Subject: Re: limit bandwidth on sftp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 14:40:38 -0000 krad writes: > On 15 March 2010 13:34, Lowell Gilbert < > freebsd-questions-local@be-well.ilk.org> wrote: > >> Tsu-Fan Cheng writes: >> >> > I need to limit my sftp session bandwidth to 20K, can someone show me >> how >> > to do it? thank you! >> >> There's no simple way to do that. >> >> scp has such a capability, though; maybe using that is your easiest option? > > You could limit port 22 with pf, ipfw etc. This would slow all you ssh > traffic rather than just sftp which may or may not work for you. If you are > clever with your rule sets you could guarantee bw for certain hosts so they > dont loose a functional ssh session and/or you could bw limit it by source > ip, rather than a global limit for port 22. Aside from having to configure it, the downside of this approach is that it involves dropping some traffic and waiting for the retransmit, so it will be less efficient than a bandwidth limit in the application itself. TCP's dynamic window resizing (especially with Selective ACKnowledgements) should keep the firewall from having to drop too many packets, but changing conditions on the network can keep that from working as well as you'd like. If using this technique, make sure the other side supports SACK, preferably for multiple segments. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 15:11:59 2010 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 893D31065670 for ; Tue, 16 Mar 2010 15:11:59 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-313.bluehost.com (outbound-mail-313.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 53DD18FC1A for ; Tue, 16 Mar 2010 15:11:59 +0000 (UTC) Received: (qmail 10614 invoked by uid 0); 16 Mar 2010 15:11:58 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by cpoproxy3.bluehost.com with SMTP; 16 Mar 2010 15:11:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:X-Enigmail-Version:Content-Type:X-Identified-User; b=XPHc9L7USN4UgyS0LZRKG7CmW0sXGPu7chDIgm6XYBmjE19lft49zs8D4J8pWkFQuJ8Ck2G+09O9VjoXbzQ/eqYy/Ub4Z4lzVvksAnW9RmfqFzU4k+n3RGBfg7c+QT1Z; Received: from [206.74.86.236] (helo=[192.168.1.102]) by box264.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NrYR4-0002Vi-B4 for freebsd-questions@freebsd.org; Tue, 16 Mar 2010 09:11:58 -0600 Message-ID: <4B9F9FB6.3030100@joseph-a-nagy-jr.us> Date: Tue, 16 Mar 2010 10:11:50 -0500 From: Programmer In Training User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100203 Thunderbird/3.0.1 MIME-Version: 1.0 To: FreeBSD Questions X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig63C9016F57394D783B168713" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: More ZIP Problems 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, 16 Mar 2010 15:11:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig63C9016F57394D783B168713 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable OK, so I got the disk mounted as it was. Then I used fdisk to reformat it (probably not the best tool to do so, but it worked) to the default FreeBSD fs as I have no plans on using it on a Windows box, ever. [root@heaven]mount /dev/afd0s1 /mnt/zip mount: /dev/afd0s1 : Invalid argument [root@heaven]fdisk /dev/afd0 ******* Working on device /dev/afd0 ******* parameters extracted from in-core disklabel are: cylinders=3D195 heads=3D16 sectors/track=3D63 (1008 blks/cyl) parameters to be used for BIOS calculations are: cylinders=3D195 heads=3D16 sectors/track=3D63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 196497 (95 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 194/ head 15/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: A quick check of the devices shows us: [root@heaven]ls /dev/afd* /dev/afd0 /dev/afd0s1 so I am trying to mount the right part. The only results I got back from startpage involve Minix[0] and Debian[1] (and my previous posts on getting the drive mounted earlier, when it still had a Windows fs). And Poly, I don't believe my drive has that issue you mentioned (aka click of death). Though this is actually the first time I've had it hooked up and running since I've owned the drive (and I don't remember where I got it from). I have 4 ZIP disks so if I lose one to finding out the drive is junk, no biggie. There was nothing on this one anyway. [0]: http://www.linuxquestions.org/questions/other-nix-55/minix-mount-cant-mou= nt-devfd0-on-floppy-invalid-argument-481879/ The last post in that discussion tells the user to access the hardware directly. I always figured using the /dev/whatever /was/ access the hardware directly. Eh. [1]: http://lists.debian.org/debian-user/2004/01/msg01302.html Not really relevant but including it for completeness. All the other results are junk. --=20 Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. Original content copyright under the OWL http://owl.apotheon.org Please do not CC me. If I'm posting to a list it is because I am subscrib= ed. --------------enig63C9016F57394D783B168713 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.14 (FreeBSD) iQEcBAEBAgAGBQJLn5+8AAoJEENZQ8DH7rW0iMQH/1Q0FNY/+lx+e4HakEjFO+O1 k4Dg/p0IHNOsS2Kf6LNX+RFMzOYtSa/i7OfXamaybJud62ci9+v9Vs1kxYi9Kap2 +0EHapD+W7gcg93yhfmogF8SmF4Q0ELctKXQnjlyNVAMmfD3AuAdnXOzeX3RA96x ziHE6E+JmgpIDctAV579o1G8atnTCPspfkz3FJNBz9EI5EM5k1JOUZh47kkDayhB XPdV3aAph1By5nDuLn6LODhym+TkmMoH0k41xPTClKyGm2HMnzRUjlpKydUlt1wp WA7O5wzopcUEF8FQn9MxnOlv09pB6vESn7ugMqR36822z43yhUPLic2+JS4e2Xw= =jM34 -----END PGP SIGNATURE----- --------------enig63C9016F57394D783B168713-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 15:18:12 2010 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 11FE3106564A for ; Tue, 16 Mar 2010 15:18:12 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id E0CC18FC0A for ; Tue, 16 Mar 2010 15:18:11 +0000 (UTC) Received: (qmail 28791 invoked from network); 16 Mar 2010 15:18:11 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 Mar 2010 15:18:11 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 7C97E50889; Tue, 16 Mar 2010 11:18:10 -0400 (EDT) From: Lowell Gilbert To: Programmer In Training References: <4B9F9FB6.3030100@joseph-a-nagy-jr.us> Date: Tue, 16 Mar 2010 11:18:10 -0400 In-Reply-To: <4B9F9FB6.3030100@joseph-a-nagy-jr.us> (Programmer In Training's message of "Tue, 16 Mar 2010 10:11:50 -0500") Message-ID: <444okg47nx.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 Subject: Re: More ZIP Problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 15:18:12 -0000 Programmer In Training writes: > OK, so I got the disk mounted as it was. Then I used fdisk to reformat > it (probably not the best tool to do so, but it worked) to the default > FreeBSD fs as I have no plans on using it on a Windows box, ever. Just checking: you did do a newfs(8), right? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 15:23:23 2010 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 88AB5106566B for ; Tue, 16 Mar 2010 15:23:23 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505a.appriver.com [98.129.35.4]) by mx1.freebsd.org (Postfix) with ESMTP id 503298FC0A for ; Tue, 16 Mar 2010 15:23:22 +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: G179 G180 G181 G182 G186 G187 G198 G285 X-Note: Encrypt Rule Hits: 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.3.2) with ESMTPS id 32457784 for freebsd-questions@freebsd.org; Tue, 16 Mar 2010 10:23:23 -0500 Received: from mbx03.exg5.exghost.com ([169.254.1.132]) by ht02.exg5.exghost.com ([98.129.23.15]) with mapi; Tue, 16 Mar 2010 10:23:21 -0500 From: Peter Steele To: "freebsd-questions@freebsd.org" Date: Tue, 16 Mar 2010 10:23:20 -0500 Thread-Topic: How to make a process detect time zone change? Thread-Index: AcrFHJwoLq8V6kn1RyaplxBtHmj+jg== Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27D7F5@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: How to make a process detect time zone change? 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, 16 Mar 2010 15:23:23 -0000 We have a system controlled through a Java GUI and one of the commands prov= ided in the GUI is to change the date/time, including the time zone. When t= he time zone is changed the FreeBSD system immediately recognizes the chang= e (that is, the date command from the command line shows the correct time a= nd time zone). However, our running C apps do not recognize that a time zon= e change has occurred unless they are restarted. What's the proper way to i= nform an active process that a time zone change has occurred? I've tried tz= set() and tzsetwall() but neither seem to do the trick. The only thing I've= found that works is to restart the process, and that's not really a soluti= on. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 15:36:33 2010 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 61FAA106566B for ; Tue, 16 Mar 2010 15:36:33 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-313.bluehost.com (outbound-mail-313.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 2A8468FC1A for ; Tue, 16 Mar 2010 15:36:32 +0000 (UTC) Received: (qmail 23924 invoked by uid 0); 16 Mar 2010 15:36:32 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by cpoproxy3.bluehost.com with SMTP; 16 Mar 2010 15:36:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-Identified-User; b=dv7dXcbrTPyNoPacDxGiP58lBJI8ehMPtjK58H5BHf8rJD18rty1gbH5E6YEypogYPWPr6JLWn2t22IJWbJt89doCESInSz5nd8ornhW1aL+WNfnV0BPgzi6clcJURZW; Received: from [206.74.86.236] (helo=[192.168.1.102]) by box264.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NrYoq-0004bK-Eo for freebsd-questions@freebsd.org; Tue, 16 Mar 2010 09:36:32 -0600 Message-ID: <4B9FA570.5050009@joseph-a-nagy-jr.us> Date: Tue, 16 Mar 2010 10:36:16 -0500 From: Programmer In Training User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100203 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B9F9FB6.3030100@joseph-a-nagy-jr.us> <444okg47nx.fsf@be-well.ilk.org> In-Reply-To: <444okg47nx.fsf@be-well.ilk.org> X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1EC8959BC035372415303B50" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: Re: More ZIP Problems 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, 16 Mar 2010 15:36:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1EC8959BC035372415303B50 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/16/10 10:18, Lowell Gilbert wrote: > Programmer In Training writes: >=20 >> OK, so I got the disk mounted as it was. Then I used fdisk to reformat= >> it (probably not the best tool to do so, but it worked) to the default= >> FreeBSD fs as I have no plans on using it on a Windows box, ever. >=20 > Just checking: you did do a newfs(8), right? >=20 A what? Reading the man page now. --=20 Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. Original content copyright under the OWL http://owl.apotheon.org Please do not CC me. If I'm posting to a list it is because I am subscrib= ed. --------------enig1EC8959BC035372415303B50 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.14 (FreeBSD) iQEcBAEBAgAGBQJLn6V+AAoJEENZQ8DH7rW0CFkIAKpf67HVeNVYS+v3oaerEY+z YzWisX9PFvbQaa1Oo5CnUHzQcwR9hGJMGdS0/CwGePDaNYGjiT0mz2AL6Lxs9uRV tMQoeidyfQ2BWwJ/WPpeCXWW40jVFdbIbUmlpBiaCpe2M6BzEGAb6Bn3PvOKibUQ /ko2GZtcHyjWu1BnGmIoSgQ7Yr4qWlzKmEXshRDlYVu63lYv0ldCdyxsRQobN31H HceJ6j9oNQygeRhOeesb0lQGepmtNO2MrN6KPWRg3LLF35ZzpTWkX0AeKXDrrmW3 PkJz+onmqAhjNovZdZuX59Cqpv8qvt0GUMIixDBREA7NcB1FMgoXa8O5uvWBfxM= =e1A7 -----END PGP SIGNATURE----- --------------enig1EC8959BC035372415303B50-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 15:38:44 2010 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 E41171065675 for ; Tue, 16 Mar 2010 15:38:44 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-313.bluehost.com (outbound-mail-313.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id AC55D8FC16 for ; Tue, 16 Mar 2010 15:38:44 +0000 (UTC) Received: (qmail 28437 invoked by uid 0); 16 Mar 2010 15:38:44 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by cpoproxy3.bluehost.com with SMTP; 16 Mar 2010 15:38:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-Identified-User; b=nSDIum8P7Bip1BJIEnnAaeYlSV5tuBb9v9y81RBbzZmVduApwxH7G5c7VcZjqj0B+IkRQmKLTWyJWAxrIaU9XeXAApKkvU+G9L6wXyR80FBLbIs5IQSy9aysZ3/U1efv; Received: from [206.74.86.236] (helo=[192.168.1.102]) by box264.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NrYqy-0005RQ-4e for freebsd-questions@freebsd.org; Tue, 16 Mar 2010 09:38:44 -0600 Message-ID: <4B9FA602.60102@joseph-a-nagy-jr.us> Date: Tue, 16 Mar 2010 10:38:42 -0500 From: Programmer In Training User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100203 Thunderbird/3.0.1 MIME-Version: 1.0 To: FreeBSD Questions References: <4B9F9FB6.3030100@joseph-a-nagy-jr.us> <444okg47nx.fsf@be-well.ilk.org> In-Reply-To: <444okg47nx.fsf@be-well.ilk.org> X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3169B050BEAAF2B12770A229" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: Re: More ZIP Problems 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, 16 Mar 2010 15:38:45 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3169B050BEAAF2B12770A229 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/16/10 10:18, Lowell Gilbert wrote: > Programmer In Training writes: >=20 >> OK, so I got the disk mounted as it was. Then I used fdisk to reformat= >> it (probably not the best tool to do so, but it worked) to the default= >> FreeBSD fs as I have no plans on using it on a Windows box, ever. >=20 > Just checking: you did do a newfs(8), right? >=20 That did it! Thanks (: Never had to run that command before when formatting a disk (granted all I've ever formatted was a floppy disk on a Linux box). --=20 Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. Original content copyright under the OWL http://owl.apotheon.org Please do not CC me. If I'm posting to a list it is because I am subscrib= ed. --------------enig3169B050BEAAF2B12770A229 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.14 (FreeBSD) iQEcBAEBAgAGBQJLn6YCAAoJEENZQ8DH7rW0/pEH/jvUz0nuD7Ii2l+T2ErQqJnA gZAd8mVRfkn8NGXlTcu7CdJHrhNibxRpN5IqoACHSwRN+8lcUfJtJK83UM+RoAlX Oyw9G/qcOb9yCFq2CeNLy5/IDGB76cUY3u0XecN5mdWPWG7uxJqo0zhrwkfuTPuk k4RKdUHVkoE3cbtMVdQ6op1TsGW6WcV++Pj5Rlz0es+gnGtZl59OncoAJqpDTKqS 7+38YE+4VvMXxAKEm8EXPKGm/5B9JJf+SXTJAQ6DZbd4R/a3+SqmJwINe1g9i3sf lq9YfITednqPkppgGUwFOviy61f8RmA0Qj+wQrUKineHIJVNZiL1nt48Brm3nug= =JN+s -----END PGP SIGNATURE----- --------------enig3169B050BEAAF2B12770A229-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 16:48:33 2010 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 18AFE106566B for ; Tue, 16 Mar 2010 16:48:33 +0000 (UTC) (envelope-from jbiquez@icsmx.com) Received: from intranet.com.mx (intranet.com.mx [200.33.246.7]) by mx1.freebsd.org (Postfix) with ESMTP id D59548FC12 for ; Tue, 16 Mar 2010 16:48:32 +0000 (UTC) Received: from PC2.icsmx.com (189.144.163.171) by icsmx.com with ESMTP (EIMS X 3.3.9) for ; Tue, 16 Mar 2010 10:48:47 -0600 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 16 Mar 2010 10:48:22 -0600 To: freebsd-questions@freebsd.org From: Jorge Biquez Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-ID: <3351602928-2078113009@intranet.com.mx> Subject: POP3 , Inetd and Handbook. 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, 16 Mar 2010 16:48:33 -0000 Hello all. I'm sorry if this sounds too stupid or basic. I moved from 4.3 to latest version and it is working fine. On $.x I used to have inedt active since services are basic. On new system inedt did not active service immediately (not here at least) so I enable the service like "ftpd" on rc.conf POP3. I remember I read in the list that inetd is not so secure (am I wrong?) and that if possible should not be used but since I need services up I used that way. Now before studying what's the best way to do things I need to have a pop3 deamon running. I installed from ports popper but and qpopper but it does not work. What's the daemon for popper ? It will worlk if I enable it in rc.conf.? Inetdd. I want to learn all teh new features (left the path more than a year) so I do not want that you solve my problem, but if you can point me to where and what study to learn the changes done and the best way to have secure and working systems I would apreciate it. I am reading Handbook now. On Handbook. Is a PDF copy available?. Believe it or not sometime I can find access to the internet and I would like to be stuyding on those times also. Thanks in advance. Jorge Biquez From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 17:02:57 2010 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 B23B11065670 for ; Tue, 16 Mar 2010 17:02:57 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 684668FC19 for ; Tue, 16 Mar 2010 17:02:56 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o2GH2lIV054685 for ; Tue, 16 Mar 2010 12:02:52 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <54683.1268758967.1@dc.cis.okstate.edu> Date: Tue, 16 Mar 2010 12:02:47 -0500 From: Martin McCormick Subject: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit? 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, 16 Mar 2010 17:02:57 -0000 Is there a FreeBSD command similar to the Linux arch command? I have built a fairly decent Bourne shell script to run just after installing mfsbsd on a target system. It figures out the likely boot drive, formats it and then begins to build a FreeBSD system on it. The script could intelligently ask for the 64-bit or 32-bit trees if it could determine whether it was running on the i86 or 64-bit system. Thank you. From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 17:07:54 2010 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 E527F106566C for ; Tue, 16 Mar 2010 17:07:54 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id CFC958FC1F for ; Tue, 16 Mar 2010 17:07:54 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp023.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KZD005RLWWTYZ80@asmtp023.mac.com> for freebsd-questions@freebsd.org; Tue, 16 Mar 2010 10:07:51 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1003160168 From: Chuck Swiger In-reply-to: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> Date: Tue, 16 Mar 2010 10:07:41 -0700 Message-id: References: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> To: Martin McCormick X-Mailer: Apple Mail (2.1077) Cc: freebsd-questions@freebsd.org Subject: Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit? 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, 16 Mar 2010 17:07:55 -0000 On Mar 16, 2010, at 10:02 AM, Martin McCormick wrote: > Is there a FreeBSD command similar to the Linux arch command? POSIX provides `uname -m`...? You should get either i386 or amd64, depending on whether the system is running that architecture. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 17:08:46 2010 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 3D81F106566B for ; Tue, 16 Mar 2010 17:08:46 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2a01:138:a006::2]) by mx1.freebsd.org (Postfix) with ESMTP id A96028FC0C for ; Tue, 16 Mar 2010 17:08:45 +0000 (UTC) Received: from server.idefix.lan (ppp-88-217-56-106.dynamic.mnet-online.de [88.217.56.106]) (authenticated bits=0) by anny.lostinspace.de (8.14.3/8.14.3) with ESMTP id o2GH8b3n015549 for ; Tue, 16 Mar 2010 18:08:41 +0100 (CET) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (unknown [127.0.0.1]) by server.idefix.lan (Postfix) with ESMTP id 2DFA81FA4 for ; Tue, 16 Mar 2010 18:08:37 +0100 (CET) X-Virus-Scanned: amavisd-new at server.idefix.lan Received: from server.idefix.lan ([127.0.0.1]) by server.idefix.lan (server.idefix.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id adO-y3EggRb2 for ; Tue, 16 Mar 2010 18:08:31 +0100 (CET) Received: from [IPv6:2001:a60:f035:1:6cba:a95:8323:520f] (unknown [IPv6:2001:a60:f035:1:6cba:a95:8323:520f]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id 2594E1F91 for ; Tue, 16 Mar 2010 18:08:31 +0100 (CET) Message-ID: <4B9FBB0D.10809@fechner.net> Date: Tue, 16 Mar 2010 18:08:29 +0100 From: Matthias Fechner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> In-Reply-To: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (anny.lostinspace.de [80.190.182.2]); Tue, 16 Mar 2010 18:08:42 +0100 (CET) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on anny.lostinspace.de Subject: Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit? 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, 16 Mar 2010 17:08:46 -0000 Hi, Am 16.03.2010 18:02, schrieb Martin McCormick: > Is there a FreeBSD command similar to the Linux arch > command? have you tried: uname -p Bye Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 17:09:00 2010 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 2AE9A106566B for ; Tue, 16 Mar 2010 17:09:00 +0000 (UTC) (envelope-from m.seaman@black-earth.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 8DA708FC08 for ; Tue, 16 Mar 2010 17:08:59 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o2GH8ki6000224 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 16 Mar 2010 17:08:47 GMT (envelope-from m.seaman@black-earth.co.uk) Message-ID: <4B9FBB17.5060609@black-earth.co.uk> Date: Tue, 16 Mar 2010 17:08:39 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Martin McCormick References: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> In-Reply-To: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF9989DDFB57492E7D31EE9A0" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL,T_RP_MATCHES_RCVD autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit? 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, 16 Mar 2010 17:09:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF9989DDFB57492E7D31EE9A0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 16/03/2010 17:02:47, Martin McCormick wrote: > Is there a FreeBSD command similar to the Linux arch > command? >=20 > I have built a fairly decent Bourne shell script to run > just after installing mfsbsd on a target system. It figures out > the likely boot drive, formats it and then begins to build a > FreeBSD system on it. The script could intelligently ask for the > 64-bit or 32-bit trees if it could determine whether it was > running on the i86 or 64-bit system. uname -m Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard, Flat 3 Black Earth Consulting Ramsgate Kent, CT11 9PW Free and Open Source Solutions Tel: +44 (0)1843 580647 --------------enigF9989DDFB57492E7D31EE9A0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkufux4ACgkQ8Mjk52CukIwXoACfW0QUXTEdUAdK0sodJ/w0lI9H CygAmwZxh0poJIkDwpI2329cQxx34l3M =h6en -----END PGP SIGNATURE----- --------------enigF9989DDFB57492E7D31EE9A0-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 17:10:28 2010 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 AFE3A1065670 for ; Tue, 16 Mar 2010 17:10:28 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id 41B138FC38 for ; Tue, 16 Mar 2010 17:10:27 +0000 (UTC) Received: by bwz28 with SMTP id 28so165961bwz.14 for ; Tue, 16 Mar 2010 10:10:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=lW7UYCg0+vdwzugV3omgup4UFxQFuCxmG9wHfmvNobU=; b=L+ktIap+uJctfurKEoN56X9hFdVKdkDJ4DRFFafplGdDLLl+UcEhFyGeZIYOXuTky2 yLLj2mn845iJ1lB1sPpiGRDqOcy7Av4hACEqx2YZluxzXfbVBiVqMml1SIiARBTaJDAj beXLz8wr3ogKCRisUCOj7y407hbjwP7AzuNDY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; b=UHF/w6WQwryfDUUCBUwmqQSCSPtQVSQqS2Q/2YqtcTo+WYYprvzQOBrC6cMps5zAd3 rdxfd3C3kjR/gmrVEBmIQ4H4eEjAkOqt41DJBzYftIPohP/Hla9fYdmOk66k/aPEVpg6 nomfRzThK/M6RX38vwXWmwbdn85hmyd+lxoeU= MIME-Version: 1.0 Received: by 10.204.35.139 with SMTP id p11mr65372bkd.178.1268759426697; Tue, 16 Mar 2010 10:10:26 -0700 (PDT) In-Reply-To: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> References: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> From: Chris Rees Date: Tue, 16 Mar 2010 17:10:04 +0000 Message-ID: To: freebsd-questions@freebsd.org, Martin McCormick Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 17:10:28 -0000 On 16 March 2010 17:02, Martin McCormick wrote: > =A0 =A0 =A0 =A0Is there a FreeBSD command similar to the Linux arch > command? > > =A0 =A0 =A0 =A0I have built a fairly decent Bourne shell script to run > just after installing mfsbsd on a target system. It figures out > the likely boot drive, formats it and then begins to build a > FreeBSD system on it. The script could intelligently ask for the > 64-bit or 32-bit trees if it could determine whether it was > running on the i86 or 64-bit system. [chris@amnesiac]~% sysctl hw.machine_arch hw.machine_arch: i386 [chris@amnesiac]~% > Thank you. You're welcome. Chris From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 17:13:06 2010 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 EF1E7106566B for ; Tue, 16 Mar 2010 17:13:06 +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 C81658FC1D for ; Tue, 16 Mar 2010 17:13:06 +0000 (UTC) Received: (qmail 4555 invoked from network); 16 Mar 2010 17:13:06 -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 ; 16 Mar 2010 17:13:05 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 2A90D50889; Tue, 16 Mar 2010 13:13:03 -0400 (EDT) From: Lowell Gilbert To: Programmer In Training References: <4B9F9FB6.3030100@joseph-a-nagy-jr.us> <444okg47nx.fsf@be-well.ilk.org> <4B9FA602.60102@joseph-a-nagy-jr.us> Date: Tue, 16 Mar 2010 13:13:03 -0400 In-Reply-To: <4B9FA602.60102@joseph-a-nagy-jr.us> (Programmer In Training's message of "Tue, 16 Mar 2010 10:38:42 -0500") Message-ID: <44zl28yyu8.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 Subject: Re: More ZIP Problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 17:13:07 -0000 Programmer In Training writes: > On 03/16/10 10:18, Lowell Gilbert wrote: >> Programmer In Training writes: >> >>> OK, so I got the disk mounted as it was. Then I used fdisk to reformat >>> it (probably not the best tool to do so, but it worked) to the default >>> FreeBSD fs as I have no plans on using it on a Windows box, ever. >> >> Just checking: you did do a newfs(8), right? >> > > That did it! Thanks (: Never had to run that command before when > formatting a disk (granted all I've ever formatted was a floppy disk on > a Linux box). Good! This is covered in the "Adding disks" section of the "Storage" chapter of the FreeBSD Handbook. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 17:39:06 2010 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 BEB56106564A for ; Tue, 16 Mar 2010 17:39:06 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from smtprelay-h21.telenor.se (smtprelay-h21.telenor.se [195.54.99.196]) by mx1.freebsd.org (Postfix) with ESMTP id 753208FC12 for ; Tue, 16 Mar 2010 17:39:06 +0000 (UTC) Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 9872EEACCE for ; Tue, 16 Mar 2010 18:07:06 +0100 (CET) X-SENDER-IP: [85.227.131.207] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsJVAAtYn0tV44PPPGdsb2JhbACbBQwBAQEBNy25OIR4BIYZiCw X-IronPort-AV: E=Sophos;i="4.49,651,1262559600"; d="scan'208";a="51196910" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb2.telenor.se with ESMTP; 16 Mar 2010 18:07:06 +0100 Message-ID: <4B9FBAB9.2060906@lazlarlyricon.com> Date: Tue, 16 Mar 2010 18:07:05 +0100 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100208 Thunderbird/3.0.1 MIME-Version: 1.0 To: Martin McCormick References: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> In-Reply-To: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit? 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, 16 Mar 2010 17:39:06 -0000 On 2010-03-16 18:02, Martin McCormick wrote: > Is there a FreeBSD command similar to the Linux arch > command? > > I have built a fairly decent Bourne shell script to run > just after installing mfsbsd on a target system. It figures out > the likely boot drive, formats it and then begins to build a > FreeBSD system on it. The script could intelligently ask for the > 64-bit or 32-bit trees if it could determine whether it was > running on the i86 or 64-bit system. > > 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" > > > Does uname -p do it for you? From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 17:46:19 2010 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 9236B106564A for ; Tue, 16 Mar 2010 17:46:19 +0000 (UTC) (envelope-from marcus.jabber@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 479B98FC0A for ; Tue, 16 Mar 2010 17:46:18 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so35380qwb.7 for ; Tue, 16 Mar 2010 10:46:18 -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:references:in-reply-to:x-face:mime-version:content-type :content-transfer-encoding:message-id; bh=yn3/7sm9y7dhm2JakiGxeGzRajwGMaQJ9VzG4WtHc9w=; b=ju6ifzkuink2AMwgtEIMDOC7Zo60dd91E/bCmLCzKZtfT7gXFZFHIBmkecTqWU4tQr dNn/oxo2AIsnxo37hpea0Y/m6gWjAJUW5u3qa++U45JFLnaxAbdbSiE4csA1EzRl5tJS QDk0OLf+bTiqzuFLwzCD6IFtmliNjr1wLZiJM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:x-face :mime-version:content-type:content-transfer-encoding:message-id; b=FL+HPXkA4YPoEr4S8lLxUZUrXEmRgR/dRk99jdzvp9D8dQiQ0WbbB63/eF7bFUsiEX SH3fdxR+d8LtZeVWB+j215WIlyhSpSioYYqvhCRCOoBIB23PBp4uhi3dbb8lkD1Yls1q QotFEwKDgQ5pzXAowHBjt4BtJwvc9fKqBXF44= Received: by 10.229.221.14 with SMTP id ia14mr5294qcb.8.1268759625015; Tue, 16 Mar 2010 10:13:45 -0700 (PDT) Received: from constantine.localnet ([201.19.199.230]) by mx.google.com with ESMTPS id 2sm13802502qwi.41.2010.03.16.10.13.43 (version=SSLv3 cipher=RC4-MD5); Tue, 16 Mar 2010 10:13:44 -0700 (PDT) From: marcus To: freebsd-questions@freebsd.org Date: Tue, 16 Mar 2010 14:13:23 -0300 User-Agent: KMail/1.13.0 (Linux/2.6.32.9-70.fc12.i686.PAE; KDE/4.4.0; i686; ; ) References: <3351602928-2078113009@intranet.com.mx> In-Reply-To: <3351602928-2078113009@intranet.com.mx> X-Face: ^JI&qxM3/rWgiHyH=Mbn Subject: Re: POP3 , Inetd and Handbook. 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, 16 Mar 2010 17:46:19 -0000 On Tuesday 16 March 2010 01:48:22 pm Jorge Biquez wrote: > Hello all. > > I'm sorry if this sounds too stupid or basic. > > I moved from 4.3 to latest version and it is working fine. On $.x I > used to have inedt active since services are basic. On new system > inedt did not active service immediately (not here at least) so I > enable the service like "ftpd" on rc.conf > > POP3. I remember I read in the list that inetd is not so secure (am I > wrong?) and that if possible should not be used but since I need > services up I used that way. Now before studying what's the best way > to do things I need to have a pop3 deamon running. I installed from > ports popper but and qpopper but it does not work. What's the daemon > for popper ? It will worlk if I enable it in rc.conf.? > > Inetdd. I want to learn all teh new features (left the path more than > a year) so I do not want that you solve my problem, but if you can > point me to where and what study to learn the changes done and the > best way to have secure and working systems I would apreciate it. I > am reading Handbook now. > > On Handbook. Is a PDF copy available?. Believe it or not sometime I > can find access to the internet and I would like to be stuyding on > those times also. > > Thanks in advance. > > Jorge Biquez You can find handbook at ftp://ftp.freebsd.org/pub/FreeBSD/doc/ Browser in the sub directories and download the PDF book for your language. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments Why is it evil? --> http://www.georgedillon.com/web/html_email_is_evil.shtml From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 17:48:55 2010 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 2294D1065680 for ; Tue, 16 Mar 2010 17:48:55 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-313.bluehost.com (outbound-mail-313.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id DDDCD8FC0C for ; Tue, 16 Mar 2010 17:48:54 +0000 (UTC) Received: (qmail 14087 invoked by uid 0); 16 Mar 2010 17:48:54 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by cpoproxy3.bluehost.com with SMTP; 16 Mar 2010 17:48:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-Identified-User; b=bMSt54sQLDgQUnvf6q/sS1yTtXWUiFbUNG5Pp3th7E3x4sLKcNiyaoPdIt+tY5qIQYMUL4xXLyxkV9xr+ofnirsjApIAhqV90HmmN4WnYU/RgEB6pF0GDSNbeqtFIKVf; Received: from [206.74.86.236] (helo=[192.168.1.102]) by box264.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Nrasv-0005cc-Py for freebsd-questions@freebsd.org; Tue, 16 Mar 2010 11:48:54 -0600 Message-ID: <4B9FC475.1090605@joseph-a-nagy-jr.us> Date: Tue, 16 Mar 2010 12:48:37 -0500 From: Programmer In Training User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100203 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B9F9FB6.3030100@joseph-a-nagy-jr.us> <444okg47nx.fsf@be-well.ilk.org> <4B9FA602.60102@joseph-a-nagy-jr.us> <44zl28yyu8.fsf@be-well.ilk.org> In-Reply-To: <44zl28yyu8.fsf@be-well.ilk.org> X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig197DA73B889AC28FD3BEDA00" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: [RESOLVED] Re: More ZIP Problems 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, 16 Mar 2010 17:48:55 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig197DA73B889AC28FD3BEDA00 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/16/10 12:13, Lowell Gilbert wrote: > Programmer In Training writes: >> That did it! Thanks (: Never had to run that command before when >> formatting a disk (granted all I've ever formatted was a floppy disk o= n >> a Linux box). >=20 > Good! >=20 > This is covered in the "Adding disks" section of the "Storage" chapter > of the FreeBSD Handbook. >=20 I didn't look there because, again, I was treating this just like a floppy disk and though the "Adding disks" section was just talking about permanent disks and not removable media. Next time less assumption and more reading. (: --=20 Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. Original content copyright under the OWL http://owl.apotheon.org Please do not CC me. If I'm posting to a list it is because I am subscrib= ed. --------------enig197DA73B889AC28FD3BEDA00 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.14 (FreeBSD) iQEcBAEBAgAGBQJLn8SEAAoJEENZQ8DH7rW05WoIALegap77zvc4A23oNAhJMobI cU/77JD9y6nUwf5YEU0kQrftDIsG1ps/Q9zQo/ruM0ggzzDZHjOLN22Du8+crjde jlPl+Jdo4KbyiV3kKIFl8Pjdo6uGwahCg1FmEaqoldo1XyJBiwhbp/PtCt2sMLy5 DtNnFPF/bRlitIJfsapOTb3u9lBgXQlxGmUrZTEN42tk9n74AwK6MPys9wIHeiHY qjm7NEg1SdNDiaZpdb/aUXsO9x0CODgxU/X56q7ygKlTCQx1cTEsSRl5fsU80v22 +qd/zSokQRhHwNZXqsECK4PBR1pCfk0Y9FxN50NrCG+0TYpo9p9i3I8v8Gx10j4= =HbgY -----END PGP SIGNATURE----- --------------enig197DA73B889AC28FD3BEDA00-- From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 18:05:23 2010 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 E98EE106566C for ; Tue, 16 Mar 2010 18:05:23 +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 4C8C08FC1D for ; Tue, 16 Mar 2010 18:05:23 +0000 (UTC) Received: (qmail 92888 invoked from network); 16 Mar 2010 18:05:22 -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=QMMe+3qx7sjNWbuzfqUOcFvcalwLqO0mbFywZksAowIztbz1hVzSyJkmkaqm7pg9jcKvYdUWDyYEb/fYEkAqvUpwC77LtlgaaQt+y/MwAockafARRqcIzoB65rj02/czFLT2rWXzrmCBRoUZXk9Kq941/itqdy4sNSG5wMru4UY= ; Received: from c-67-189-160-65.hsd1.ny.comcast.net (gesbbb@67.189.160.65 with login) by smtp103.prem.mail.ac4.yahoo.com with SMTP; 16 Mar 2010 11:05:22 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: _mDexksVM1mU2yPFNHWQRmd2oPyoz3GO3KBMsMvMrAxQ0ieAgsDFsnye4GAz6zgT98NHWAEGueXCxcyfS89J.75AKCC2lK9bPG8augd7GgrHsC5eenYaE_UkNCr7NugrSaENz93INsETUm4hQhifh4dzMmSHxw6b.hHCpLoa0tC3.ZEz3kx4WDMQkHd.sG4rttkO1v59pi9NuxXmqBlXxsgIfpXmTjkjTX01axodfz7VcHpqp06kVpi9Q.uGIUKiOInRrRpmPvtwdfBDSZeCA4tpyjV.gOXhnLzt9OGcIMLsHT2esOoORIulaRp7RdVlMlg5fOhDnvIkWw5.pMnu.w-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (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 E9D552285E for ; Tue, 16 Mar 2010 14:05:21 -0400 (EDT) Date: Tue, 16 Mar 2010 14:05:21 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100316140521.64994b35@scorpio.seibercom.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd7.3) 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=UTF-8 Content-Transfer-Encoding: 8bit Subject: 4K compatibility 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: Tue, 16 Mar 2010 18:05:24 -0000 I just ran across an article that states that through the International Disk Drive Equipment and Materials Association (Idema) all hard drive makers have committed to adopting the 4K advanced format by the end of January 2011. Later in the article: Windows 7, Vista, OS X Tiger, Leopard, Snow Leopard and versions of the Linux kernel released after September 2009 are all 4K aware. Would that also include FreeBSD? -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | Nachman's Rule: When it comes to foreign food, the less authentic the better. Gerald Nachman From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 18:12:34 2010 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 31B991065675 for ; Tue, 16 Mar 2010 18:12:34 +0000 (UTC) (envelope-from erik@barragry.com) Received: from cork.barragry.com (cork.barragry.com [72.232.202.93]) by mx1.freebsd.org (Postfix) with ESMTP id 15B8C8FC26 for ; Tue, 16 Mar 2010 18:12:33 +0000 (UTC) Received: by cork.barragry.com (Postfix, from userid 1006) id 4F82B1D7DE4; Tue, 16 Mar 2010 13:12:33 -0500 (CDT) Date: Tue, 16 Mar 2010 13:12:33 -0500 From: Erik Osterholm To: FreeBSD Message-ID: <20100316181233.GA28264@barragry.com> References: <44634xpv38.fsf@be-well.ilk.org> <448w9s49ek.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <448w9s49ek.fsf@be-well.ilk.org> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: limit bandwidth on sftp 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, 16 Mar 2010 18:12:34 -0000 On Tue, Mar 16, 2010 at 10:40:35AM -0400, Lowell Gilbert wrote: > krad writes: > > > On 15 March 2010 13:34, Lowell Gilbert < > > freebsd-questions-local@be-well.ilk.org> wrote: > > > >> Tsu-Fan Cheng writes: > >> > >> > I need to limit my sftp session bandwidth to 20K, can someone show me > >> how > >> > to do it? thank you! > >> > >> There's no simple way to do that. > >> > >> scp has such a capability, though; maybe using that is your easiest option? > > > > You could limit port 22 with pf, ipfw etc. This would slow all you ssh > > traffic rather than just sftp which may or may not work for you. If you are > > clever with your rule sets you could guarantee bw for certain hosts so they > > dont loose a functional ssh session and/or you could bw limit it by source > > ip, rather than a global limit for port 22. > > Aside from having to configure it, the downside of this approach is that > it involves dropping some traffic and waiting for the retransmit, so it > will be less efficient than a bandwidth limit in the application > itself. TCP's dynamic window resizing (especially with Selective > ACKnowledgements) should keep the firewall from having to drop too many > packets, but changing conditions on the network can keep that from > working as well as you'd like. If using this technique, make sure the > other side supports SACK, preferably for multiple segments. For what it's worth, I think most implementations of sftp/scp do not set the PUSH flag when transmitting data. This, combined with ACK prioritization, could allow you to shape sftp without affecting interactive SSH sessions. Erik From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 18:55:47 2010 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 4ECD6106566B for ; Tue, 16 Mar 2010 18:55:47 +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 0F72A8FC12 for ; Tue, 16 Mar 2010 18:55:46 +0000 (UTC) Received: from r55.edvax.de (port-92-195-17-177.dynamic.qsc.de [92.195.17.177]) by mx02.qsc.de (Postfix) with ESMTP id 0959D1E6B2; Tue, 16 Mar 2010 19:55:44 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o2GItiTA001701; Tue, 16 Mar 2010 19:55:44 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 16 Mar 2010 19:55:43 +0100 From: Polytropon To: Programmer In Training Message-Id: <20100316195543.cb6e5444.freebsd@edvax.de> In-Reply-To: <4B9FA602.60102@joseph-a-nagy-jr.us> References: <4B9F9FB6.3030100@joseph-a-nagy-jr.us> <444okg47nx.fsf@be-well.ilk.org> <4B9FA602.60102@joseph-a-nagy-jr.us> 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: More ZIP Problems 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: Tue, 16 Mar 2010 18:55:47 -0000 On Tue, 16 Mar 2010 10:38:42 -0500, Programmer In Training wrote: > On 03/16/10 10:18, Lowell Gilbert wrote: > > Just checking: you did do a newfs(8), right? > > That did it! Thanks (: Never had to run that command before when > formatting a disk (granted all I've ever formatted was a floppy disk on > a Linux box). Then you haven't formatted a disk. :-) The newfs program initiates a file system, which is commonly called formatting. For floppy disks, see "man fdformat". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 19:21:54 2010 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 6AF8C106566C for ; Tue, 16 Mar 2010 19:21:54 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from smtp.mel.people.net.au (smtp.mel.people.net.au [218.214.17.98]) by mx1.freebsd.org (Postfix) with SMTP id A4D388FC13 for ; Tue, 16 Mar 2010 19:21:53 +0000 (UTC) Received: (qmail 7504 invoked from network); 16 Mar 2010 19:19:45 -0000 Received: from unknown (HELO smtp.phoenix) (218.215.163.103) by smtp.mel.people.net.au with SMTP; 16 Mar 2010 19:19:45 -0000 Received: by smtp.phoenix (Postfix, from userid 1001) id 10C2A171A4; Wed, 17 Mar 2010 06:21:52 +1100 (EST) Date: Wed, 17 Mar 2010 06:21:52 +1100 From: andrew clarke To: freebsd-questions@freebsd.org Message-ID: <20100316192152.GA55366@ozzmosis.com> References: <3351212956-2078109201@intranet.com.mx> <4B99CE33.6070109@ibctech.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B99CE33.6070109@ibctech.ca> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: FreeBSD Version recommend for OLD machine 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, 16 Mar 2010 19:21:54 -0000 On Fri 2010-03-12 00:16:35 UTC-0500, Steve Bertrand (steve@ibctech.ca) wrote: > > The machine has a Motherboard that supports 2 double pentium III > > processors with 1GB of ram and a hard disk with 40GB. I run FreeBSD 7.2 on a headless 1 GHz Pentium III with 256 MB RAM. ... > Again... so long as the system won't change its overall process > objectives, go to the recent production release, but instead of > assigning 256M for /, throw 2G at it to be safe. 2 GB for / seems excessive to me. 1 GB should be plenty. I have 500 MB allocated for FreeBSD 7.2: Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 496M 144M 312M 31% / Although, with a cheap PCI SATA controller card you should be able to use current model terabyte-sized hard drives on a Pentium III, so hard drive space is a bit academic. Regards Andrew From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 19:25:57 2010 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 A9F45106566B for ; Tue, 16 Mar 2010 19:25:57 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id 64A398FC14 for ; Tue, 16 Mar 2010 19:25:56 +0000 (UTC) Received: by ywh29 with SMTP id 29so90862ywh.14 for ; Tue, 16 Mar 2010 12:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Vh3EqPwnVccWW7d6KXcDk+cg2vRKXduSX6gShOG5bTw=; b=gNupwVYr8BlWB4E/kbgaJTGhpPAzZy+CIODKq+hGs2pL65GLgmbdAY9N0i1yfXL5r/ qaJufB3Q3YWnyHv2ncL/X7FxofZmF2/+6J95LuvJP5WBMyqElXYGkbK/dJILxTLEO6f7 erLKAKwf6E9gcmzvHuXeAitJC3M+YKeP2MIFE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=iz3Amp7pVJb+sGogb2A2V+O//Aya7wYyCsK1V0pvNwxCjcYwWXPRha/7sn98buds5W ijtjW9PAEPC0iO7s+i7S4WAUf2DaMxmpwOQ6GlB0X7f6TBT4G3WkSG2WcM1jblUmocU3 hXzp6sK2iJiCJr9Npwf74x0x50hOxEPen7zrA= MIME-Version: 1.0 Received: by 10.150.168.37 with SMTP id q37mr2102374ybe.265.1268767556397; Tue, 16 Mar 2010 12:25:56 -0700 (PDT) In-Reply-To: <20100316192152.GA55366@ozzmosis.com> References: <3351212956-2078109201@intranet.com.mx> <4B99CE33.6070109@ibctech.ca> <20100316192152.GA55366@ozzmosis.com> Date: Tue, 16 Mar 2010 15:25:56 -0400 Message-ID: <6ae50c2d1003161225t161e5918n32e52f4618231ee5@mail.gmail.com> From: alexus To: andrew clarke Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Version recommend for OLD machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: google@alexus.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 19:25:57 -0000 On Tue, Mar 16, 2010 at 3:21 PM, andrew clarke wrote: > On Fri 2010-03-12 00:16:35 UTC-0500, Steve Bertrand (steve@ibctech.ca) wr= ote: > >> > The machine has a Motherboard that supports 2 double pentium III >> > processors with 1GB of ram and a hard disk with 40GB. > > I run FreeBSD 7.2 on a headless 1 GHz Pentium III with 256 MB RAM. > > ... > >> Again... so long as the system won't change its overall process >> objectives, go to the recent production release, but instead of >> assigning 256M for /, throw 2G at it to be safe. > > 2 GB for / seems excessive to me. =C2=A01 GB should be plenty. =C2=A0I ha= ve 500 > MB allocated for FreeBSD 7.2: > > Filesystem =C2=A0 =C2=A0 Size =C2=A0 =C2=A0Used =C2=A0 Avail Capacity =C2= =A0Mounted on > /dev/ad0s1a =C2=A0 =C2=A0496M =C2=A0 =C2=A0144M =C2=A0 =C2=A0312M =C2=A0 = =C2=A031% =C2=A0 =C2=A0/ > > Although, with a cheap PCI SATA controller card you should be able to > use current model terabyte-sized hard drives on a Pentium III, so hard > drive space is a bit academic. > > Regards > Andrew > _______________________________________________ > 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" > i'd go w/ 8.0 worse case scenario 7.2 and put more memory in that machine it's embarassing :) --=20 http://alexus.org/ From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 20:12:55 2010 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 9E57B1065676 for ; Tue, 16 Mar 2010 20:12:55 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by mx1.freebsd.org (Postfix) with ESMTP id 31E488FC13 for ; Tue, 16 Mar 2010 20:12:55 +0000 (UTC) Received: by fxm7 with SMTP id 7so361006fxm.3 for ; Tue, 16 Mar 2010 13:12:54 -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=NXpeeijNK/QcRK9JuM5I6YHWKen4fxv1IbP1vP9DGME=; b=G/vpKMnlMdrdgV7uyfh2w/6BxsvRx0bP0cu/rdJGVUrwRYF5p/W4q8bMQTlJ9OBq42 u+VL7WhSexouRrsEEvuevneG5m5RkWQUHr/HoINtmhwIGIygS+x8K8PjIwu0N+KP/+cc 0DPFOkg69b5hr9J/jTYJKHKuU0+0H/4iCjEXA= 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=gHXPl+6einXE8SOsUaS33YVvLfc3z42rmtAxlSWVO2R/L09r7K5xyzEILCWBWc96R2 GCwdbQUzbU62I6vVs1kiGqlSk0iri27D59zmU5EYXpp45xnCKXQ+/uBNUW3Mk5i7sOY8 Ws02zgDwxvhtPwz+eINnuFo4q7DLC+0CGEemc= MIME-Version: 1.0 Received: by 10.239.137.69 with SMTP id k5mr1088241hbk.97.1268770374168; Tue, 16 Mar 2010 13:12:54 -0700 (PDT) In-Reply-To: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> References: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> From: Eitan Adler Date: Tue, 16 Mar 2010 22:12:34 +0200 Message-ID: To: Martin McCormick Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit? 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, 16 Mar 2010 20:12:55 -0000 > =A0 =A0 =A0 =A0I have built a fairly decent Bourne shell script to run > just after installing mfsbsd on a target system. It figures out > the likely boot drive, formats it and then begins to build a > FreeBSD system on it. The script could intelligently ask for the > 64-bit or 32-bit trees if it could determine whether it was > running on the i86 or 64-bit system. > Either sysctl -n hw.machine_arch or uname -m (which is POSIX compliant) From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 21:21:19 2010 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 40BC2106564A for ; Tue, 16 Mar 2010 21:21:19 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by mx1.freebsd.org (Postfix) with ESMTP id CDA608FC16 for ; Tue, 16 Mar 2010 21:21:18 +0000 (UTC) Received: by fxm7 with SMTP id 7so430601fxm.3 for ; Tue, 16 Mar 2010 14:21:17 -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:content-transfer-encoding; bh=XQIekFUw4qv4A3Ko858PnsBhA0wrhhUja0LXocsyOgQ=; b=j6Ugcyu8TVo2s+aSKuT6ZLgroEamH7Sauvw2HIy1bxUUWbjaAPoDVfdydANfN6/C65 QFCJomn0FwWneZZcxPJykyKfskV4vL/LXe3r0nRrqIr574SzUWjdEv6MEACEyOrLkR0/ ebK8KsQg6NzhwFfbF4l+vduT+ojPgCub9Nxk0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=qPkO6gmD8tg/l2L0zYOR61nEasgPNGImrJABDtiJIda8KWtLCs4ik69INWYVrKvLxs 0+az9Bk+PlvhUhQTLKKkdtfyhk/V4lqp0xWUL1ME8L+sZB3ioWvqMd1El28TcgqQPUTY JXmQP8yo/pieFrcEIXuBCk3Hfu3Hi4rV1YahI= MIME-Version: 1.0 Received: by 10.239.193.139 with SMTP id j11mr1085223hbi.127.1268772605407; Tue, 16 Mar 2010 13:50:05 -0700 (PDT) Date: Tue, 16 Mar 2010 16:20:05 -0430 Message-ID: <286906751003161350k31a6286bld97defd3711edd62@mail.gmail.com> From: Alberto Mijares To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: wlan0 + hostap + rc.conf 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, 16 Mar 2010 21:21:19 -0000 Hi Hackers, >From man rc.conf: If a wlans_=E2=9F=A8interface=E2=9F=A9 variable is set, an wlan(4) interfac= e will be created for each item in the list with the wlandev argument set to interface. Further wlan cloning arguments may be passed to the ifconfig(8) create command by setting the create_args_=E2=9F=A8interface=E2= =9F=A9 variable. One or more wlan(4) devices must be created for each wireless devices as of FreeBSD 8.0. So, this is my rc.conf ifconfig_sis0=3D"up" wlans_ath0=3D"wlan0" create_args_wlan0=3D"wlanmode ap" ifconfig_wlan0=3D"ssid nombre channel X mode 11g up" cloned_interfaces=3D"bridge0" ifconfig_bridge0=3D"addm wlan0 addm sis0 inet A.B.C.D netmask W.X.Y.Z up" However, when I run /etc/rc.d/netif restart, an error says: ifconfig: create: bad value the create command fails and everything related to the AP initialization. When I run the command in the CLI it works fine # ifconfig wlan0 create wlandev ath0 wlanmode ap What could be wrong? Thanks in advance. Alberto Mijares From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 22:08:09 2010 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 385001065670 for ; Tue, 16 Mar 2010 22:08:09 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id E51538FC1F for ; Tue, 16 Mar 2010 22:08:08 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 0D98C5C66 for ; Tue, 16 Mar 2010 23:08:07 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id V21h+I-vmHAj for ; Tue, 16 Mar 2010 23:08:03 +0100 (CET) Received: from snifi.localnet (dke8.neoplus.adsl.tpnet.pl [83.24.8.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 616675C17 for ; Tue, 16 Mar 2010 23:08:03 +0100 (CET) From: Maciej Milewski To: freebsd-questions@freebsd.org Date: Tue, 16 Mar 2010 23:07:58 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.32-trunk-686; KDE/4.3.4; i686; ; ) References: <286906751003161350k31a6286bld97defd3711edd62@mail.gmail.com> In-Reply-To: <286906751003161350k31a6286bld97defd3711edd62@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201003162307.58748.milu@dat.pl> Subject: Re: wlan0 + hostap + rc.conf 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, 16 Mar 2010 22:08:09 -0000 Dnia wtorek, 16 marca 2010 o 21:50:05 Alberto Mijares napisa=C5=82(a): > ifconfig_sis0=3D"up" > wlans_ath0=3D"wlan0" > create_args_wlan0=3D"wlanmode ap" > ifconfig_wlan0=3D"ssid nombre channel X mode 11g up" > cloned_interfaces=3D"bridge0" > ifconfig_bridge0=3D"addm wlan0 addm sis0 inet A.B.C.D netmask W.X.Y.Z up" >=20 > However, when I run /etc/rc.d/netif restart, an error says: > ifconfig: create: bad value > the create command fails and everything related to the AP initialization. > When I run the command in the CLI it works fine > # ifconfig wlan0 create wlandev ath0 wlanmode ap > What could be wrong? Try putting channel and mode definition in create_args_wlan0 not in=20 ifconfig_wlan0. Maciek From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 22:29:49 2010 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 93731106564A for ; Tue, 16 Mar 2010 22:29:49 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail3.networktest.com (mail3.networktest.com [69.55.234.60]) by mx1.freebsd.org (Postfix) with ESMTP id 78E618FC14 for ; Tue, 16 Mar 2010 22:29:49 +0000 (UTC) Received: from localhost (localhost [69.55.234.60]) by mail3.networktest.com (Postfix) with ESMTP id F398C958DF for ; Tue, 16 Mar 2010 15:29:48 -0700 (PDT) Received: from mail3.networktest.com ([69.55.234.60]) by localhost (mail3.networktest.com [69.55.234.60]) (amavisd-maia, port 10024) with ESMTP id 88141-07 for ; Tue, 16 Mar 2010 15:29:48 -0700 (PDT) Received: from dhcp130.eng.networktest.com (ns.networktest.com [216.240.60.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail3.networktest.com (Postfix) with ESMTPSA id BBB48958D4 for ; Tue, 16 Mar 2010 15:29:48 -0700 (PDT) Message-ID: <4BA0065C.9000906@networktest.com> Date: Tue, 16 Mar 2010 15:29:48 -0700 From: David Newman User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: istgt write errors 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, 16 Mar 2010 22:29:49 -0000 On an 8.0-RELEASE/amd64 box, I used the net/istgt port to share iSCSI targets. The installation succeeded, but I'm now seeing write errors when using the targets: Mar 16 15:10:26 bettini istgt[1202]: istgt_iscsi.c: 640:istgt_iscsi_write_pdu: ***ERROR*** iscsi_write() failed (errno=32) Mar 16 15:10:2 6 bettini istgt[1202]: istgt_iscsi.c:3038:istgt_iscsi_op_scsi: ***ERROR*** iscsi_write_pdu() failed Mar 16 15:10:26 bettini istgt[1202]: istgt_iscsi.c:3859:istgt_iscsi_execute: ***ERROR*** iscsi_op_scsi() failed Mar 16 15:10:26 bettini istgt[1202]: istgt_iscsi.c:4337:worker: ***ERROR*** iscsi_execute() failed Mar 16 15:10:30 bettini istgt[1202]: Login from 172.31.4.12 (172.31.4.22) on iqn.2010-04.com.example.bettini:bettini4 LU5 (172.31.4.5:3260,1), ISID=23d000001, TSIH=4, CID=0, HeaderDigest=off, DataDigest=off Mar 16 15:12:10 bettini istgt[1202]: ABORT_TASK Mar 16 15:14:15 bettini istgt[1202]: ABORT_TASK Mar 16 15:16:04 bettini last message repeated 2 times The istgt documentation doesn't offer any help in pinpointing a root cause for the write errors. Writes to these targets are extremely slow, too. In case it matters, the target is a ZFS block device set up with 'zfs create -V 1T tank/bettini4'. Thanks in advance for clues on the care and feeding of iSCSI on 8.0-RELEASE. dn From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 22:34:48 2010 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 DC4881065672 for ; Tue, 16 Mar 2010 22:34:48 +0000 (UTC) (envelope-from aimass@yabarana.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 A11628FC16 for ; Tue, 16 Mar 2010 22:34:48 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so9538qwd.7 for ; Tue, 16 Mar 2010 15:34:47 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.182.132 with SMTP id cc4mr67365qcb.210.1268778887524; Tue, 16 Mar 2010 15:34:47 -0700 (PDT) Date: Tue, 16 Mar 2010 18:34:47 -0400 X-Google-Sender-Auth: 1ac0dde253320c4d Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Recovering base system files after failed installworld - RESOLVED 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, 16 Mar 2010 22:34:48 -0000 (sorry, I had mailed this directly by mistake intead of the list) On Mon, Mar 15, 2010 at 3:29 PM, Matthew Seaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 15/03/2010 18:16:17, Alejandro Imass wrote: >> Hi, >> >> [...] > Yes. In essence what you need to do is obtain the 6.2 sources and run > through a standard buildworld type update. In principle, you could use > freebsd-update similarly, but 6.2 is out of support and not available > that way. 6.4 is still under support, and the 6.2 -> 6.4 upgrade should > be a lot less risky than 6.2 -> 7.3 if you're still eager t try > freebsd-update. > Yep. I reconfigured my supfile and got the sources for 6.2 STABLE with csup, the same one I started off with. Nevertheless, I was assuming that some files from 7.3 were copied by the failed installworld (confirmed by your response). I tested this theory by rebuilding and installing libc manually, and afterwards the build process advanced a bit further, and got stuck in libstdc++, So I got a bit bolder and studied the main makefile and discovered the 'libraries' target. After building, I was able to buildworld, buildkernel, installkernel, merge, etc. Now my system seems to be back in 6.2, but now it's RELEASE-p12 and seems to be working flawlessly. > It is possible that you will have files installed by 7.3 still on your > hard drive. Ones that don't exist in 6.X and so don't get overwritten by > reinstalling 6.X. As the prime candidates for that sort of thing are > the updated shlibs from 7.3, you need to check into that, and remove > anything that shouldn't be there. Otherwise you can run into trouble if > you update any ported software -- programs crashing because they try and > dynamically link against two different versions of the same shlib. It's > the same problem you can encounter after a major version upgrade (and > the reason for the recommended practice of reinstalling all ported > software), just in reverse. > Ok, here is what I did for future reference in the list archives: 1) backdated sources with csup. This is, configured a supfile with 6_2 and used csup to download the closest sources to my original version. 2) tried to make buildworld and failed due to installed based libs from the failed installworld of 7.3 3) make libraries 4) make buildworld 5) make buildkernel, installkernel, reboot, etc. and the rest of the process described in: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html This makes me conclude that buildworld will effectively use the libs in /usr/src/obj instead of the systems libs, which is awesome, because it's just what I needed to complete buildworld in the first place. It's very clever and of course, this makes sense because it's the same logic that is used to build the new kernel! -duh! The magic here was the 'libraries' target. Anyway, FreeBSD really kicks every single *NIXs ass that I've used in the past. This clean separation of system and ports is honestly amazing. I'm a noob in FreeBSD but getting to really love it! > I don't recall any warnings of possible problems with gvinum > compatibility between versions 6, 7 or 8. However, that does not in any > way mean there weren't any, and you should check the release notes for > the various releases since 6.2 carefully. It may be a worst case > scenario of backing the system up, and then reinstalling from scratch -- What I conclude at this point is that the library mixup after the failed installworld may have contributed to the gvinum problem with the 7.3 kernel running perhaps with some 6.2/7.3 mixup. The problem was obviously gone after I sprinkled the libraries magic, since I was able to compile and install everything back to 6.2 without any hiccups. I think I was lucky that the old 6.2 kernel booted and mounted my gvinum devices without the crazy stuff that was happening with the 7.3 kernel. > in which case, a good strategy would be to have a RAID1 mirror (ie. > gmirror(8)) for the OS and separate data partitions using whatever RAID > level you had implemented using gvinum. Or else go the whole hog and > build the system using ZFS. Either of those should give you good future > proofing against this sort of thing happening to you again. > Yeah, I'm looking at ZFS for the future, but for the time being all I wanted was to compile the nvidia 64bit driver and got into this whole mess of upgrading the system ;-) Also, gvinum has proved so stable for us that we will probably stick with it for while. > Cheers, > > Matthew > > - -- Thanks Matthew for such a prompt and detailed answer and to give me the confidence I was in the right track! I think my main mistake was to jump from such an old version to the latest 7 release. This time I'm going a version at a time, reading UPDATING every time, and yes, I will make system backups ;-) Best! Alex - Hide quoted text - > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkueiqsACgkQ8Mjk52CukIwKhgCgjgS/cxaA4tk22gKBC9fhxonk > a1kAn1kffiZwlV5ydvLiDUWlCALeiDY5 > =TfeA > -----END PGP SIGNATURE----- > From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 22:39:00 2010 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 4C3DE1065670 for ; Tue, 16 Mar 2010 22:39:00 +0000 (UTC) (envelope-from aimass@yabarana.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 140348FC2D for ; Tue, 16 Mar 2010 22:38:59 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so10245qwd.7 for ; Tue, 16 Mar 2010 15:38:59 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.230.71 with SMTP id jl7mr69777qcb.184.1268779139108; Tue, 16 Mar 2010 15:38:59 -0700 (PDT) In-Reply-To: <3351602928-2078113009@intranet.com.mx> References: <3351602928-2078113009@intranet.com.mx> Date: Tue, 16 Mar 2010 18:38:59 -0400 X-Google-Sender-Auth: de0146ebd5e58b44 Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: POP3 , Inetd and Handbook. 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, 16 Mar 2010 22:39:00 -0000 On Tue, Mar 16, 2010 at 12:48 PM, Jorge Biquez wrote: > Hello all. > [...] > I moved from 4.3 to latest version and it is working fine. On $.x I used to Sorry dunno what $.x is.... > have inedt active since services are basic. On new system inedt did not > active service immediately (not here at least) so I enable the service like > "ftpd" on rc.conf > IMHO you should use inetd and tcp wrappers for every non-secured service/daemon such as POP3 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-inetd.html > POP3. I remember I read in the list that inetd is not so secure (am I > wrong?) and that if possible should not be used but since I need services up It sounds a bit bizarre, could you point to a therad mentioning that? Maybe it was discussion comparing it xinetd? The latter is not used by default on FreeBSD AFAIK, but I don't use sendmail either, so I guess it's a question of choice. > I used that way. Now before studying what's the best way to do things I need > to have a pop3 deamon running. I installed from ports popper but and qpopper > but it does not work. What's the daemon for popper ? It will worlk if I > enable it in rc.conf.? > There are several poppers RTFM, the T there is for "Their". Again, the POP3 service is not FreeBSD specific and there are thousands of sources, especially those of the opriginal projects ported to FreeBSD. Maybe you should look into dovecot (http://www.dovecot.org/). > Inetdd. I want to learn all teh new features (left the path more than a > year) so I do not want that you solve my problem, but if you can point me to > where and what study to learn the changes done and the best way to have > secure and working systems I would apreciate it. I am reading Handbook now. > Inetd is of course not FreeBSD-specific. Again, there are zillions of references to the inetd service and tcp warppers. Rad them. You could start with http://en.wikipedia.org/wiki/Inetd > On Handbook. Is a PDF copy available?. Believe it or not sometime I can find > access to the internet and I would like to be stuyding on those times also. > The single HTML version could be downloaded to your machine by a simple use of wget: wget http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html Cheers, Alejandro Imass - Hide quoted text - > Thanks in advance. > > Jorge Biquez > > _______________________________________________ > 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 Tue Mar 16 22:45:15 2010 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 CD110106564A for ; Tue, 16 Mar 2010 22:45:15 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by mx1.freebsd.org (Postfix) with ESMTP id 62BD08FC15 for ; Tue, 16 Mar 2010 22:45:15 +0000 (UTC) Received: by fxm7 with SMTP id 7so507663fxm.3 for ; Tue, 16 Mar 2010 15:45:14 -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=4dxk39jz7gBJERWPnvmhz6o63nmD925NJsxvIU6gpBY=; b=quMR7dfSgXU/LoRFr15tRgNYzx9tbP9N/dztkE99+w+76vmopccX3AewOwAXr8LSVz ttSmtOae1vcl40wAP/jbkzYw+LkoSbo9jVKt1nQ2iHf5uvnltkOi9aTBeEvzeaJjVdMr KIoJRFliKa0xBlSnotdZ6zstxvtUWJSpAAhxs= 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=Z3X7FzkVnTtKCghvF2pF4I3HqcWLcRi7i7WdmsAohw+7HYApmrOxqzRMfP+MSI3jYv 8K7g1cJtEA7J18Rxbr6M5AAlbEzsvLlLpuK/4IvPpyXb/A8YHagkqIEcTAIS0YYUkvSk tOX1h4LRSmlYfVHEEso4x8vbAHwCAVuGM5mRQ= MIME-Version: 1.0 Received: by 10.239.134.148 with SMTP id 20mr1104432hbz.42.1268779514204; Tue, 16 Mar 2010 15:45:14 -0700 (PDT) In-Reply-To: <201003162307.58748.milu@dat.pl> References: <286906751003161350k31a6286bld97defd3711edd62@mail.gmail.com> <201003162307.58748.milu@dat.pl> Date: Tue, 16 Mar 2010 18:15:14 -0430 Message-ID: <286906751003161545u5bb97fadh3215303f193cb452@mail.gmail.com> From: Alberto Mijares To: Maciej Milewski Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: wlan0 + hostap + rc.conf 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, 16 Mar 2010 22:45:15 -0000 On Tue, Mar 16, 2010 at 5:37 PM, Maciej Milewski wrote: > Dnia wtorek, 16 marca 2010 o 21:50:05 Alberto Mijares napisa=C5=82(a): >> ifconfig_sis0=3D"up" >> wlans_ath0=3D"wlan0" >> create_args_wlan0=3D"wlanmode ap" >> ifconfig_wlan0=3D"ssid nombre channel X mode 11g up" >> cloned_interfaces=3D"bridge0" >> ifconfig_bridge0=3D"addm wlan0 addm sis0 inet A.B.C.D netmask W.X.Y.Z up= " >> >> However, when I run /etc/rc.d/netif restart, an error says: >> ifconfig: create: bad value >> the create command fails and everything related to the AP initialization= . >> When I run the command in the CLI it works fine >> # ifconfig wlan0 create wlandev ath0 wlanmode ap >> What could be wrong? > Try putting channel and mode definition in create_args_wlan0 not in > ifconfig_wlan0. I did, but doesn't work either. ifconfig_sis0=3D"up" ifconfig_wlan0=3D"up" wlans_ath0=3D"wlan0" create_args_wlan0=3D"wlanmode ap channel x mode 11g ssid kraken2" cloned_interfaces=3D"bridge0" ifconfig_bridge0=3D"addm wlan0 addm sis0 inet xxxx netmask xxxx up" Any other suggestion? Alberto Mijares From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 22:46:17 2010 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 0FC8B106564A for ; Tue, 16 Mar 2010 22:46:17 +0000 (UTC) (envelope-from frank@shute.org.uk) Received: from atmail-9.bnguk.net (atmail-9.bnguk.net [80.74.253.9]) by mx1.freebsd.org (Postfix) with ESMTP id 997548FC24 for ; Tue, 16 Mar 2010 22:46:15 +0000 (UTC) Received: from 77-44-105-82.xdsl.murphx.net ([77.44.105.82] helo=orange.esperance-linux.co.uk) by atmail-9.bnguk.net with esmtp (Exim 4.69) (envelope-from ) id 1NrfWS-0006V3-7O; Tue, 16 Mar 2010 22:46:00 +0000 Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id 36E9F4AC20; Tue, 16 Mar 2010 22:45:58 +0000 (GMT) Date: Tue, 16 Mar 2010 22:45:58 +0000 From: Frank Shute To: Jorge Biquez Message-ID: <20100316224558.GA88848@orange.esperance-linux.co.uk> Mail-Followup-To: Jorge Biquez , freebsd-questions@freebsd.org References: <3351602928-2078113009@intranet.com.mx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3351602928-2078113009@intranet.com.mx> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.0-RELEASE-p2 amd64 X-Organisation: 'shute.org.uk' Cc: freebsd-questions@freebsd.org Subject: Re: POP3 , Inetd and Handbook. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 22:46:17 -0000 On Tue, Mar 16, 2010 at 10:48:22AM -0600, Jorge Biquez wrote: > > Hello all. > > I'm sorry if this sounds too stupid or basic. > > I moved from 4.3 to latest version and it is working fine. On $.x I > used to have inedt active since services are basic. On new system > inedt did not active service immediately (not here at least) so I > enable the service like "ftpd" on rc.conf You need to enable inetd with: inetd_enable="YES" in /etc/rc.conf > > POP3. I remember I read in the list that inetd is not so secure (am I > wrong?) and that if possible should not be used but since I need > services up I used that way. Now before studying what's the best way > to do things I need to have a pop3 deamon running. I installed from > ports popper but and qpopper but it does not work. What's the daemon > for popper ? It will worlk if I enable it in rc.conf.? I can't answer the question about the security of inetd but POP3 is pretty insecure as usernames and passwords are in clear text. You can find the name of your pop3 daemon by grepping the output of pkg_info -L for bin. Or there should be manpages for qpopper. > > Inetdd. I want to learn all teh new features (left the path more than > a year) so I do not want that you solve my problem, but if you can > point me to where and what study to learn the changes done and the > best way to have secure and working systems I would apreciate it. I > am reading Handbook now. Read inetd(8) and the manpages listed in the "see also" section of that manpage. > > On Handbook. Is a PDF copy available?. Believe it or not sometime I > can find access to the internet and I would like to be stuyding on > those times also. You can install the handbook from ports: misc/freebsd-doc-es for the Spanish docs. > > Thanks in advance. > > Jorge Biquez Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 22:47:13 2010 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 976AC106567B for ; Tue, 16 Mar 2010 22:47:13 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 43F768FC27 for ; Tue, 16 Mar 2010 22:47:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.3/8.14.2) with ESMTP id o2GMkwk7055613; Tue, 16 Mar 2010 17:46:58 -0500 (CDT) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id y1zPNf4IYeIA; Tue, 16 Mar 2010 17:46:57 -0500 (CDT) Received: from archangel.daleco.biz (ezekiel.daleco.biz [66.76.92.18]) by ezekiel.daleco.biz (8.14.3/8.14.3) with ESMTP id o2GMkqHP055608; Tue, 16 Mar 2010 17:46:53 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <4BA00A5C.1010802@daleco.biz> Date: Tue, 16 Mar 2010 17:46:52 -0500 From: Kevin Kinsey User-Agent: Thunderbird 2.0.0.23 (X11/20090929) MIME-Version: 1.0 To: google@alexus.org References: <3351212956-2078109201@intranet.com.mx> <4B99CE33.6070109@ibctech.ca> <20100316192152.GA55366@ozzmosis.com> <6ae50c2d1003161225t161e5918n32e52f4618231ee5@mail.gmail.com> In-Reply-To: <6ae50c2d1003161225t161e5918n32e52f4618231ee5@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: andrew clarke , freebsd-questions@freebsd.org Subject: Re: FreeBSD Version recommend for OLD machine 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, 16 Mar 2010 22:47:13 -0000 alexus wrote: > On Tue, Mar 16, 2010 at 3:21 PM, andrew clarke wrote: >> On Fri 2010-03-12 00:16:35 UTC-0500, Steve Bertrand (steve@ibctech.ca) wrote: >> >>>> The machine has a Motherboard that supports 2 double pentium III >>>> processors with 1GB of ram and a hard disk with 40GB. >> I run FreeBSD 7.2 on a headless 1 GHz Pentium III with 256 MB RAM. >> ... >> >>> Again... so long as the system won't change its overall process >>> objectives, go to the recent production release, but instead of >>> assigning 256M for /, throw 2G at it to be safe. >> 2 GB for / seems excessive to me. 1 GB should be plenty. I have 500 >> MB allocated for FreeBSD 7.2: > > i'd go w/ 8.0 worse case scenario 7.2 > and put more memory in that machine it's embarassing :) Bah, it's got more than an iPhone. :-D KDK From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 23:38:09 2010 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 9A9A7106564A for ; Tue, 16 Mar 2010 23:38:09 +0000 (UTC) (envelope-from lordofhyphens@gmail.com) Received: from mail-gx0-f211.google.com (mail-gx0-f211.google.com [209.85.217.211]) by mx1.freebsd.org (Postfix) with ESMTP id 4D0CC8FC0A for ; Tue, 16 Mar 2010 23:38:08 +0000 (UTC) Received: by gxk3 with SMTP id 3so223686gxk.13 for ; Tue, 16 Mar 2010 16:38:08 -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=i89xXVlW/392N+Odna6cjTR6dbdP0xhZr8bdijfuf5I=; b=lmqkvcmMeYj+N/M1pScHotNx3WCO8Ip5/mHkVvJzphoFuTKyycr0TYWx8GH9rkxqHJ H68zZua5i/BobO4c/qOZ5hPycGbNkjbIojKd5NwBsFCX0osEO00Urc9xeolGfhQuV3wb CkCOcyxk8Uqk5uOAejaVzzqbDgdqiHsVrSUF8= 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=ccVnC59ivuSkXZte5spc4B1l2cPcfYf7Dkrsw2kkQoMsMysaY93xAfMbzFTNh/RGKm HRipj4qd1CAn3KMZwn1HAy3+PtMe6YRa4gYGc0C6O3fb/PQPJ+iaDwJUNwd8lnf9M0Qa Gv8vtvBMegaPZPPzlDz5mp6LRmNzr4GOlRBbs= Received: by 10.101.154.17 with SMTP id g17mr104124ano.48.1268782688261; Tue, 16 Mar 2010 16:38:08 -0700 (PDT) Received: from [192.168.0.248] (173-24-125-169.client.mchsi.com [173.24.125.169]) by mx.google.com with ESMTPS id 23sm5785576iwn.2.2010.03.16.16.38.07 (version=SSLv3 cipher=RC4-MD5); Tue, 16 Mar 2010 16:38:07 -0700 (PDT) Message-ID: <4BA0165D.8010301@gmail.com> Date: Tue, 16 Mar 2010 18:38:05 -0500 From: Joseph Lenox User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <3351212956-2078109201@intranet.com.mx> <4B99CE33.6070109@ibctech.ca> <20100316192152.GA55366@ozzmosis.com> <6ae50c2d1003161225t161e5918n32e52f4618231ee5@mail.gmail.com> <4BA00A5C.1010802@daleco.biz> In-Reply-To: <4BA00A5C.1010802@daleco.biz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD Version recommend for OLD machine 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, 16 Mar 2010 23:38:09 -0000 I had my fileserver running on a P3-1Ghz with Freebsd-8 for a good long while. I eventually replaced it with a dual-socket opteron board I got on ebay for something like $50 after shipping (with processors, seller was getting rid of 600 or so blades). I'm pretty sure the auction is still up if anyone cares. The board runs great with FBSD 8.0-Release amd64 On 3/16/2010 5:46 PM, Kevin Kinsey wrote: > alexus wrote: >> On Tue, Mar 16, 2010 at 3:21 PM, andrew clarke >> wrote: >>> On Fri 2010-03-12 00:16:35 UTC-0500, Steve Bertrand >>> (steve@ibctech.ca) wrote: >>> >>>>> The machine has a Motherboard that supports 2 double pentium III >>>>> processors with 1GB of ram and a hard disk with 40GB. >>> I run FreeBSD 7.2 on a headless 1 GHz Pentium III with 256 MB RAM. >>> ... >>> >>>> Again... so long as the system won't change its overall process >>>> objectives, go to the recent production release, but instead of >>>> assigning 256M for /, throw 2G at it to be safe. >>> 2 GB for / seems excessive to me. 1 GB should be plenty. I have 500 >>> MB allocated for FreeBSD 7.2: >> >> i'd go w/ 8.0 worse case scenario 7.2 >> and put more memory in that machine it's embarassing :) > > Bah, it's got more than an iPhone. :-D > > KDK > > > _______________________________________________ > 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 Tue Mar 16 23:40:45 2010 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 84F78106566B for ; Tue, 16 Mar 2010 23:40:45 +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 EA8FD8FC1C for ; Tue, 16 Mar 2010 23:40:44 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o2GNeaOH004612 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 16 Mar 2010 23:40:38 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BA016F4.5050303@infracaninophile.co.uk> Date: Tue, 16 Mar 2010 23:40:36 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Alejandro Imass References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Recovering base system files after failed installworld - RESOLVED 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, 16 Mar 2010 23:40:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16/03/2010 22:34:47, Alejandro Imass wrote: > Thanks Matthew for such a prompt and detailed answer and to give me > the confidence I was in the right track! I think my main mistake was > to jump from such an old version to the latest 7 release. This time > I'm going a version at a time, reading UPDATING every time, and yes, I > will make system backups ;-) Heh. No problem. You shouldn't need to upgrade to every different version in turn -- in fact, I'd have been fairly confident you could have gone direct from 6.2 to 7.3 or 8.0 in one step, if not for the gvinum problem you ran into. Are you using a custom kernel? If you're using GENERIC or something close to it, and just kldloading the modules you need for gvinum support a good thing to try out would be booting from the install media for various FreeBSD versions and testing gvinum compatibility. Try burning some of the disc1 or dvd .iso images (or the 8.0 USB key image) for various different releases, booting from them into fixit mode (or whatever it's called: there's a complete system image on those disks that can run stand-alone) and trying to get the system to recognise and mount your gvinum partitions without modifying them. If it doesn't work, then no harm done -- just pull the installation media and reboot. If it does work, then you can upgrade with a bit more confidence. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkugFvQACgkQ8Mjk52CukIwtlQCgi5A1WTjRSnBOvaPb1A6Epd8D U8kAoJA6QTNikGTSyv4HAnLLKQN7uAXw =HStP -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 00:51:53 2010 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 9A295106566B for ; Wed, 17 Mar 2010 00:51:53 +0000 (UTC) (envelope-from falkman@gamozo.org) Received: from epicblunt.blendfresh.net (epicblunt.blendfresh.net [97.107.136.32]) by mx1.freebsd.org (Postfix) with ESMTP id 470E68FC17 for ; Wed, 17 Mar 2010 00:51:52 +0000 (UTC) Received: from [192.168.1.146] (75-134-26-25.dhcp.mdsn.wi.charter.com [75.134.26.25]) (authenticated bits=0) by epicblunt.blendfresh.net (8.14.3/8.14.3) with ESMTP id o2H0boTG032430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 16 Mar 2010 19:37:58 -0500 Message-ID: <4BA02466.1070603@gamozo.org> Date: Tue, 16 Mar 2010 19:37:58 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.8) Gecko/20100310 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: kldload vs Statically compiled in kernel 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, 17 Mar 2010 00:51:53 -0000 Hello fellow FreeBSD mates, I've always statically compiled in my modules into my kernel, rather then using kldload, or throwing them in /boot/loader.conf. I'm just wondering if there are actually any advantages to doing it this way. Thanks, Brandon Falk From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 01:26:10 2010 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 5449B106564A for ; Wed, 17 Mar 2010 01:26:10 +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 CBC818FC0C for ; Wed, 17 Mar 2010 01:26:09 +0000 (UTC) Received: (qmail 47322 invoked by uid 89); 17 Mar 2010 01:25:57 -0000 Received: from unknown (HELO ?192.168.1.114?) (steve@ibctech.ca@::ffff:208.70.104.100) by ::ffff:208.70.104.210 with ESMTPA; 17 Mar 2010 01:25:57 -0000 Message-ID: <4BA02FA6.3040305@ibctech.ca> Date: Tue, 16 Mar 2010 21:25:58 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: google@alexus.org References: <3351212956-2078109201@intranet.com.mx> <4B99CE33.6070109@ibctech.ca> <20100316192152.GA55366@ozzmosis.com> <6ae50c2d1003161225t161e5918n32e52f4618231ee5@mail.gmail.com> In-Reply-To: <6ae50c2d1003161225t161e5918n32e52f4618231ee5@mail.gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: alexus , andrew clarke , freebsd-questions@freebsd.org Subject: Re: FreeBSD Version recommend for OLD machine 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, 17 Mar 2010 01:26:10 -0000 On 2010.03.16 15:25, alexus wrote: > On Tue, Mar 16, 2010 at 3:21 PM, andrew clarke wrote: >> On Fri 2010-03-12 00:16:35 UTC-0500, Steve Bertrand (steve@ibctech.ca) wrote: >> >>>> The machine has a Motherboard that supports 2 double pentium III >>>> processors with 1GB of ram and a hard disk with 40GB. >> >> I run FreeBSD 7.2 on a headless 1 GHz Pentium III with 256 MB RAM. >> > i'd go w/ 8.0 worse case scenario 7.2 > and put more memory in that machine it's embarassing :) Hogwash. Embarrassment is an opinion that you either believe people hold against you, or you hold against others, in which you think they will think about you: 62 processes: 1 running, 61 sleeping CPU states: 5.5% user, 0.0% nice, 11.9% system, 0.6% interrupt, 82.0% idle Mem: 53M Active, 11M Inact, 20M Wired, 6556K Cache, 19M Buf, 448K Free I am not embarrassed. This server has +30 websites running, and it is dead reliable. You do what you know works. You do not do because you might be 'shamed'. Those who shame people in this industry don't last long ;) Steve From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 01:46:09 2010 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 39F2D106566B for ; Wed, 17 Mar 2010 01:46:09 +0000 (UTC) (envelope-from xyin@gmx.com) Received: from mailout-us.gmx.com (mailout-us.gmx.com [74.208.5.67]) by mx1.freebsd.org (Postfix) with SMTP id EEC0B8FC0A for ; Wed, 17 Mar 2010 01:46:08 +0000 (UTC) Received: (qmail invoked by alias); 17 Mar 2010 01:46:07 -0000 Received: from pool-173-67-16-70.bltmmd.fios.verizon.net (EHLO [192.168.211.47]) [173.67.16.70] by mail.gmx.com (mp-us002) with SMTP; 16 Mar 2010 21:46:07 -0400 X-Authenticated: #50283380 X-Provags-ID: V01U2FsdGVkX18hwFg6CvMh2Km+r59RdZcMxvDXsGNrvll7q0Ob/k gNiI9df3KwArF9 Date: Tue, 16 Mar 2010 21:45:59 -0400 (EDT) From: Xihong Yin To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Y-GMX-Trusted: 0 X-FuHaFi: 0.44 Subject: NDIS failed under 8.0, please 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: Wed, 17 Mar 2010 01:46:09 -0000 The NDIS driver failed after I upgraded from 7.1 to 8.0 Stable, the NDIS driver was built successfully under 8.0 though. The wireless card is a Dell TrueMobile 1300 WLAN Mini-PCI Card. It works perfectly under 7.2. I run #ifconfig ndis0 up scan and got and error: ifconfig: unable to get scan results ifconfig ndis0 is ndis0: flags=8843 metric 0 mtu 2290 ether 00:90:4b:c7:f1:01 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier uname -a is FreeBSD dell 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Mar 16 06:41:00 EDT 2010 root@dell:/usr/obj/usr/src/sys/MY8KERNEL i386 dmesg is Copyright (c) 1992-2010 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-STABLE #0: Tue Mar 16 06:41:00 EDT 2010 root@dell:/usr/obj/usr/src/sys/MY8KERNEL i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) M processor 1.40GHz (1396.55-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff AMD Features=0x100000 real memory = 268435456 (256 MB) avail memory = 244703232 (233 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: reservation of 0, 9fc00 (3) failed acpi0: reservation of 100000, f6d3800 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xeff8-0xefff mem 0xdff00000-0xdff7ffff,0xc0000000-0xcfffffff,0xdfec0000-0xdfefffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M vgapci1: mem 0xdff80000-0xdfffffff at device 2.1 on pci0 hdac0: mem 0xdfebc000-0xdfebffff irq 16 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] pcib1: at device 28.0 on pci0 pci11: on pcib1 pcib2: at device 28.3 on pci0 pci12: on pcib2 uhci0: port 0xbf80-0xbf9f irq 16 at device 29.0 on pci0 uhci0: [ITHREAD] usbus0: on uhci0 uhci1: port 0xbf60-0xbf7f irq 17 at device 29.1 on pci0 uhci1: [ITHREAD] usbus1: on uhci1 uhci2: port 0xbf40-0xbf5f irq 18 at device 29.2 on pci0 uhci2: [ITHREAD] usbus2: on uhci2 uhci3: port 0xbf20-0xbf3f irq 19 at device 29.3 on pci0 uhci3: [ITHREAD] usbus3: on uhci3 ehci0: mem 0xb0000000-0xb00003ff irq 16 at device 29.7 on pci0 ehci0: [ITHREAD] usbus4: EHCI version 1.0 usbus4: on ehci0 pcib3: at device 30.0 on pci0 pci2: on pcib3 bfe0: mem 0xdfbfc000-0xdfbfdfff irq 18 at device 0.0 on pci2 miibus0: on bfe0 bmtphy0: PHY 1 on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bfe0: Ethernet address: 00:14:22:90:52:ed bfe0: [ITHREAD] ndis0: mem 0xdfbfe000-0xdfbfffff irq 17 at device 3.0 on pci2 ndis0: [ITHREAD] ndis0: NDIS API version: 5.1 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf irq 16 at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64,0x62,0x66 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 Generic PS/2 mouse, device ID 0 atrtc0: port 0x70-0x71,0x72-0x77 irq 8 on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcf7ff,0xcf800-0xcffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: parallel port not found. p4tcc0: on cpu0 Timecounter "TSC" frequency 1396547279 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based forwarding disabled, default to accept, logging disabled usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ad0: 38154MB at ata0-master UDMA100 acd0: CDRW at ata0-slave UDMA33 hdac0: HDA Codec #0: Sigmatel STAC9220 hdac0: HDA Codec #1: Conexant (Unknown) pcm0: at cad 0 nid 1 on hdac0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered GEOM: ad0s4: geometry does not match label (255h,63s != 16h,63s). Root mount waiting for: usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 uhub4: 8 ports with 8 removable, self powered Trying to mount root from ufs:/dev/ad0s4a drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xc0000000 256MB info: [drm] Initialized i915 1.6.0 20080730 drm0: [ITHREAD] drm0: [ITHREAD] Please help! Thanks, Xihong From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 01:47:45 2010 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 6BBDD106566B for ; Wed, 17 Mar 2010 01:47:45 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pz0-f196.google.com (mail-pz0-f196.google.com [209.85.222.196]) by mx1.freebsd.org (Postfix) with ESMTP id 411AF8FC08 for ; Wed, 17 Mar 2010 01:47:45 +0000 (UTC) Received: by pzk34 with SMTP id 34so415425pzk.3 for ; Tue, 16 Mar 2010 18:47:44 -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=E+fUY5ZadJZP3eFJsvSnKlG+/5Z0lYECaaLu/oz7haE=; b=lgY6w1upggW78Pn3gQ1YZnQPItAIgkYrrs0yj0sFvyM++W5bnKhDhUg9VbesFQx2R3 v4C8IksDtgxnaK5TzRnHoXxKxDCFI+TcziiScSDszxaxPdoc/Wx0cn6r5j0hs0Qnd3zu XL9hM4ZePXId6yEWMXut+7z1ElBIzTde3NBdY= 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=lRcyqQNj77T4gLI7PMD4r/ghEPFUaXcIekHVzW4xO/n+WfCoYMTajrCZFsHt9DFHRS sg1k82M475k+20EBiPUdtKpVqZz21m+ePZA5t3bi7IfJYmlj0UR5Fu8fU/CqLxlebMUZ YfO1GYqWoYILYvgLIsSy3R6EALK9YcWCzOxs8= MIME-Version: 1.0 Received: by 10.143.86.4 with SMTP id o4mr109559wfl.531.1268790464771; Tue, 16 Mar 2010 18:47:44 -0700 (PDT) In-Reply-To: <4BA02466.1070603@gamozo.org> References: <4BA02466.1070603@gamozo.org> Date: Tue, 16 Mar 2010 20:47:44 -0500 Message-ID: <6201873e1003161847g182d9767sc8cc030dbdf6cf90@mail.gmail.com> From: Adam Vande More To: Brandon Falk Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: kldload vs Statically compiled in kernel 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, 17 Mar 2010 01:47:45 -0000 On Tue, Mar 16, 2010 at 7:37 PM, Brandon Falk wrote: > Hello fellow FreeBSD mates, > > I've always statically compiled in my modules into my kernel, rather then > using kldload, or throwing them in /boot/loader.conf. I'm just wondering if > there are actually any advantages to doing it this way. > You get to spend more time with your computer...? ;) No advantage I'm aware of unless you're also removing unnecessary modules then you'd be saving a little disk space and memory. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 03:04:02 2010 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 0024B1065672 for ; Wed, 17 Mar 2010 03:04:01 +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 B62E38FC1E for ; Wed, 17 Mar 2010 03:04:01 +0000 (UTC) Received: from r55.edvax.de (port-92-195-17-177.dynamic.qsc.de [92.195.17.177]) by mx02.qsc.de (Postfix) with ESMTP id 0F25D1E6D7; Wed, 17 Mar 2010 04:03:59 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o2H33xsE002302; Wed, 17 Mar 2010 04:03:59 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 17 Mar 2010 04:03:59 +0100 From: Polytropon To: Brandon Falk Message-Id: <20100317040359.fc64cc85.freebsd@edvax.de> In-Reply-To: <4BA02466.1070603@gamozo.org> References: <4BA02466.1070603@gamozo.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-questions@freebsd.org Subject: Re: kldload vs Statically compiled in kernel 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: Wed, 17 Mar 2010 03:04:02 -0000 On Tue, 16 Mar 2010 19:37:58 -0500, Brandon Falk wrote: > Hello fellow FreeBSD mates, > > I've always statically compiled in my modules into my kernel, rather > then using kldload, or throwing them in /boot/loader.conf. I'm just > wondering if there are actually any advantages to doing it this way. There's only one important point that doesn't seem to be achievable using the means of /boot/loader.conf: It is the case if you have to make settings that are needed to be present at compile time. An example: device bktr options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL options BKTR_USE_PLL options BKTR_GPIO_ACCESS options BKTR_USE_FREEBSD_SMBUS Allthough you can load bktr.ko, you can't specify those parameters. The same seems to be true for such settings: options SC_DFLT_FONT makeoptions SC_DFLT_FONT=iso options ATKBD_DFLT_KEYMAP makeoptions ATKBD_DFLT_KEYMAP=german.iso options UKBD_DFLT_KEYMAP makeoptions UKBD_DFLT_KEYMAP=german.iso Another scenario, well, it's more an attitude, is to taylor a kernel exactly to present hardware, letting it contain only those components that *need* to be present. This can be required when operating on low space. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 03:09:03 2010 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 721331065677 for ; Wed, 17 Mar 2010 03:09:03 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-relay1.uni-muenster.de (ZIVM-RELAY1.UNI-MUENSTER.DE [128.176.192.12]) by mx1.freebsd.org (Postfix) with ESMTP id 07D128FC13 for ; Wed, 17 Mar 2010 03:09:02 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,654,1262559600"; d="scan'208";a="299336849" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER03.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay1.uni-muenster.de with ESMTP; 17 Mar 2010 04:09:00 +0100 Received: by ZIVMAILUSER03.UNI-MUENSTER.DE (Postfix, from userid 149459) id C2AC31B0750; Wed, 17 Mar 2010 04:09:00 +0100 (CET) Date: Wed, 17 Mar 2010 04:09:00 +0100 (CET) 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: Re: kldload vs Statically compiled in kernel 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, 17 Mar 2010 03:09:03 -0000 sure there are advantages. with a module you can change code in src, recompile the kernel module and then reload it. this lets you test your changes without having to reboot. i also use modules for devices i only attached every now and then, like a usb dongle device for doing bluetooth. i only load the modules before attaching the device and unload them after detaching the device (although i guess this could be done automatically using devd.conf) -- Alexander Best From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 05:30:44 2010 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 5E5C6106564A for ; Wed, 17 Mar 2010 05:30:44 +0000 (UTC) (envelope-from subscriber+freebsd@markshroyer.com) Received: from frodo.paleogene.net (frodo.paleogene.net [206.125.175.178]) by mx1.freebsd.org (Postfix) with ESMTP id 428F78FC1A for ; Wed, 17 Mar 2010 05:30:43 +0000 (UTC) Received: from auth-client.paleogene.net (auth-client.paleogene.net [206.125.175.178]) (Authenticated sender: hidden) by frodo.paleogene.net (Postfix) with ESMTPSA id 4C44B3F411 ; Wed, 17 Mar 2010 01:30:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=markshroyer.com; s=default; t=1268803843; bh=EOFvCGC43HtwHmpMv08skYorFmsapZP8GgYmV/nhYy4=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=TxaEylBy87wJRwttEd90U2Mzh4OLz2zJdVMy8vQFpS1est5fBr+GJ1ASuk/7w7vJB nSTHkJ3VM5NVr5bdUoGt9PF1HOrZ9AnxeyM2uEmXBwvnKuVwUM70IFS2S/jbA/yydB 0h0qcIhYjjcjmMUoLrxKAY9obPNWFGfMTZ5G07AI= Message-ID: <4BA068FF.6000305@markshroyer.com> Date: Wed, 17 Mar 2010 01:30:39 -0400 From: Mark Shroyer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27D7F5@MBX03.exg5.exghost.com> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27D7F5@MBX03.exg5.exghost.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Peter Steele Subject: Re: How to make a process detect time zone change? 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, 17 Mar 2010 05:30:44 -0000 On 3/16/2010 11:23 AM, Peter Steele wrote: > We have a system controlled through a Java GUI and one of the > commands provided in the GUI is to change the date/time, including > the time zone. When the time zone is changed the FreeBSD system > immediately recognizes the change (that is, the date command from the > command line shows the correct time and time zone). However, our > running C apps do not recognize that a time zone change has occurred > unless they are restarted. What's the proper way to inform an active > process that a time zone change has occurred? I've tried tzset() and > tzsetwall() but neither seem to do the trick. The only thing I've > found that works is to restart the process, and that's not really a > solution. I think I have a solution. First I tried the following code: > #include > #include > #include > > int main(int argc, char* argv[]) > { > time_t now; > struct tm localNow; > > for (;;) { > time(&now); > tzsetwall(); > localtime_r(&now, &localNow); > printf("%02d:%02d:%02d %s\n", localNow.tm_hour, > localNow.tm_min, > localNow.tm_sec, > localNow.tm_zone); > sleep(1); > } > > return 0; > } While this was running I set /etc/localtime to a different time zone, and sure enough, my process failed to pick up the new zone until I killed and restarted it. However, when I passed the environment variable TZ=/etc/localtime to the program: > $ env TZ=/etc/localtime ./a.out > 06:11:30 MET > 06:11:31 MET > 06:11:32 MET > 06:11:33 MET > 01:11:34 EDT > 01:11:35 EDT > 01:11:36 EDT > ^C$ So there it is: set TZ=/etc/localtime and use tzsetwall() to update the time zone within the process. In my reading, the tzsetwall(3) documentation does seem to imply tzsetwall() would check /etc/localtime even if TZ isn't set, but apparently this isn't the case; maybe the man page could be clarified on this point? Anyway, I hope this helps... -- Mark Shroyer http://markshroyer.com/contact/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 07:31:16 2010 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 5E85D106564A for ; Wed, 17 Mar 2010 07:31:16 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by mx1.freebsd.org (Postfix) with ESMTP id 1D6948FC1C for ; Wed, 17 Mar 2010 07:31:15 +0000 (UTC) Received: from mail.gelita.se (localhost.gelita.se [127.0.0.1]) by mail.gelita.se (Postfix) with ESMTP id DEF5310E827; Wed, 17 Mar 2010 08:33:22 +0100 (CET) X-Virus-Scanned: amavisd-new at troback.com Received: from mail.gelita.se ([127.0.0.1]) by mail.gelita.se (mail.gelita.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gS1X4cCVjoNl; Wed, 17 Mar 2010 08:33:13 +0100 (CET) Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mail.gelita.se (Postfix) with ESMTP id 2A58710E77C; Wed, 17 Mar 2010 08:33:13 +0100 (CET) Message-ID: <4BA08538.3050901@eskk.nu> Date: Wed, 17 Mar 2010 08:31:04 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.8) Gecko/20100302 Thunderbird/3.0.3 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" , freebsd-doc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: kernel panic when if_lagg is not loaded. 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, 17 Mar 2010 07:31:16 -0000 I have set upp aggregation of my wlan and and wired NIC following the instructions in the handbook. http://www.freebsd.org/doc/handbook/network-aggregation.html I "forgot" to add the if_lagg_load="YES" in /boot/loader.conf. When I rebooted I got a kernel panic. Should this be considerd normal or is it something I should report? Secondly I see there'a a reference to the lagg(4) man page. I think it would help future readers of the above page if a comment about loading if_lagg_load="YES" in /boot/loader.conf would be added. /Leslie From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 08:27:42 2010 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 8D1E2106566C for ; Wed, 17 Mar 2010 08:27:42 +0000 (UTC) (envelope-from glenncam@gmail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id DA0D18FC08 for ; Wed, 17 Mar 2010 08:27:41 +0000 (UTC) Received: by bwz28 with SMTP id 28so714698bwz.14 for ; Wed, 17 Mar 2010 01:27:40 -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=WXrSJvGCspxylla4J4eFZRkPbp3GoeWntxhL6usUlRk=; b=RKMnL5pQMLDldYTDBBMZB/Qsp4cpa1Kb+P6oajRbQ1atD3IkcuXuFmP7sn6INxXSjk lYzBiU/y4zablIvYjTt1fgkerKsD8okCN3uvwRhv0CsUPOiC/EmvQwqzX/hN4J9mlnq5 H4CpC+PFBMxNSAZ3Gdf5ROLKwsg8yPqSKTODc= 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=ovWTWUdxot+9uj+QqE0WrIJm+hnszL3C8hJay2jFrhxD++GzqZivKXpSyfbh28A/Y+ ArWB0EGVfKrNIGrlReJB4UZf/Off7+FpSMdUEfqqvxNurUzS61A5I2DFqTcKcvk5Y/v9 T3s5aFv/zAXXYpjUd2bKJW1UhvcyfqwAlPn1I= MIME-Version: 1.0 Received: by 10.204.10.151 with SMTP id p23mr633677bkp.80.1268813035729; Wed, 17 Mar 2010 01:03:55 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Mar 2010 09:03:55 +0100 Message-ID: From: Glenn Camilleri To: FreeBSD-questions@FreeBSD.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Kernel dump crash 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, 17 Mar 2010 08:27:42 -0000 Hi, I have some processes and programs that are custom made to run on FreeBSD. = I suspect some poor implementation of tcp in these programs, but don=92t have the real proof. This is the info I got from the crash dump: root@scat /usr/obj/usr/src/sys/SMP # uname -a FreeBSD scat.setcom 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 root@scat /usr/obj/usr/src/sys/SMP # kgdb kernel.debug /home/dump/vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you ar= e welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0x8 fault code =3D supervisor read, page not present instruction pointer =3D 0x20:0xc06e0d3c stack pointer =3D 0x28:0xe3832910 frame pointer =3D 0x28:0xe3832a2c code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 12 (swi1: net) trap number =3D 12 panic: page fault cpuid =3D 0 Uptime: 6h41m17s Dumping 1014 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 1014MB (259552 pages) 998 982 966 950 934 918 902 886 870 854 83= 8 822 806 790 774 758 742 726 710 694 678 662 646 630 614 598 582 566 550 534 518 502 486 470 454 438 422 406 390 374 358 342 326 310 294 278 262 246 230 214 198 182 166 150 134 118 102 86 70 54 38 22 6 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); (kgdb) where #0 doadump () at pcpu.h:165 #1 0xc067550a in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:4= 09 #2 0xc0675831 in panic (fmt=3D0xc08e46e1 "%s") at /usr/src/sys/kern/kern_shutdown.c:565 #3 0xc088e29c in trap_fatal (frame=3D0xe38328d0, eva=3D8) at /usr/src/sys/i386/i386/trap.c:837 #4 0xc088dfdb in trap_pfault (frame=3D0xe38328d0, usermode=3D0, eva=3D8) a= t /usr/src/sys/i386/i386/trap.c:745 #5 0xc088dc15 in trap (frame=3D {tf_fs =3D -969277432, tf_es =3D -1066532824, tf_ds =3D -969277400, t= f_edi =3D 0, tf_esi =3D -975366656, tf_ebp =3D -477943252, tf_isp =3D -477943556, tf_= ebx =3D 4, tf_edx =3D -975366656, tf_ecx =3D -975366572, tf_eax =3D 0, tf_trapno = =3D 12, tf_err =3D 0, tf_eip =3D -1066529476, tf_cs =3D 32, tf_eflags =3D 66178, tf= _esp =3D 0, tf_ss =3D 4}) at /usr/src/sys/i386/i386/trap.c:435 #6 0xc0879d4a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc06e0d3c in bpf_mtap2 (bp=3D0x0, data=3D0x0, dlen=3D4, m=3D0xc5dd1600= ) at /usr/src/sys/net/bpf.c:1374 #8 0xc06e95bb in if_simloop (ifp=3D0xc51b3800, m=3D0xc5dd1600, af=3D2, hle= n=3D0) at /usr/src/sys/net/if_loop.c:284 #9 0xc06e954c in looutput (ifp=3D0xc51b3800, m=3D0xc5dd1600, dst=3D0xe3832= aac, rt=3D0xc5440c60) at /usr/src/sys/net/if_loop.c:234 #10 0xc0717a34 in ip_output (m=3D0xc5dd1600, opt=3D0xc51b3800, ro=3D0xe3832= aa8, flags=3D0, imo=3D0x0, inp=3D0xc61e85a0) at /usr/src/sys/netinet/ip_output.c= :777 #11 0xc0720c0e in tcp_output (tp=3D0xc63871d0) at /usr/src/sys/netinet/tcp_output.c:1080 #12 0xc071eeed in tcp_input (m=3D0xc63ae100, off0=3D20) at /usr/src/sys/netinet/tcp_input.c:2471 #13 0xc0715a89 in ip_input (m=3D0xc63ae100) at /usr/src/sys/netinet/ip_input.c:785 #14 0xc06ef243 in netisr_processqueue (ni=3D0xc09e6878) at /usr/src/sys/net/netisr.c:236 #15 0xc06ef442 in swi_net (dummy=3D0x0) at /usr/src/sys/net/netisr.c:349 #16 0xc065fe99 in ithread_execute_handlers (p=3D0xc4ed0860, ie=3D0xc4f25600= ) at /usr/src/sys/kern/kern_intr.c:682 #17 0xc065ffa9 in ithread_loop (arg=3D0xc4f11140) at /usr/src/sys/kern/kern_intr.c:765 #18 0xc065ec4d in fork_exit (callout=3D0xc065ff54 , arg=3D0xc4f11140, frame=3D0xe3832d38) at /usr/src/sys/kern/kern_fork.c:821 #19 0xc0879dac in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208 (kgdb) Can you kindly advise ? BR, Glenn Camilleri --=20 Best Regards, Glenn Camilleri --=20 Best Regards, Glenn Camilleri From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 08:36:31 2010 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 0E93D1065678 for ; Wed, 17 Mar 2010 08:36:31 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 55A978FC13 for ; Wed, 17 Mar 2010 08:36:30 +0000 (UTC) Received: (qmail invoked by alias); 17 Mar 2010 08:36:28 -0000 Received: from adsl-245.91.140.71.tellas.gr (EHLO moby.local) [91.140.71.245] by mail.gmx.com (mp-eu003) with SMTP; 17 Mar 2010 09:36:28 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1//tKoO2/7/lGLGVjgM19MLx3UYgQ0fQekgQcuaNX dsGK/3fZ8ktosu Message-ID: <4BA09486.8000604@gmx.com> Date: Wed, 17 Mar 2010 10:36:22 +0200 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.23 (X11/20100313) MIME-Version: 1.0 To: Leslie Jensen References: <4BA08538.3050901@eskk.nu> In-Reply-To: <4BA08538.3050901@eskk.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64000000000000001 Cc: "freebsd-questions@freebsd.org" Subject: Re: kernel panic when if_lagg is not loaded. 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, 17 Mar 2010 08:36:31 -0000 Leslie Jensen wrote: > > I have set upp aggregation of my wlan and and wired NIC following the > instructions in the handbook. > > http://www.freebsd.org/doc/handbook/network-aggregation.html > > I "forgot" to add the if_lagg_load="YES" in /boot/loader.conf. When I > rebooted I got a kernel panic. > > Should this be considerd normal or is it something I should report? > No, it's not normal. Please, report it in an explicit way, commands given and/or changes to rc.conf, loader.conf etc. Try first here questions@ and then net@. Nonetheless I see no such behavior on my system. if_lagg loads automatically when needed(ifconfig lagg create etc). > > Secondly I see there'a a reference to the lagg(4) man page. I think it > would help future readers of the above page if a comment about loading > if_lagg_load="YES" in /boot/loader.conf would be added. On 8.0-STABLE if_lagg loads automatically and I think it always did load automatically, though I am not sure. What's the FreeBSD version you are working on? Nikos From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 08:57:23 2010 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 DF6521065672 for ; Wed, 17 Mar 2010 08:57:23 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by mx1.freebsd.org (Postfix) with ESMTP id 9D06A8FC18 for ; Wed, 17 Mar 2010 08:57:23 +0000 (UTC) Received: from mail.gelita.se (localhost.gelita.se [127.0.0.1]) by mail.gelita.se (Postfix) with ESMTP id 85D4E10E77C; Wed, 17 Mar 2010 09:59:31 +0100 (CET) X-Virus-Scanned: amavisd-new at troback.com Received: from mail.gelita.se ([127.0.0.1]) by mail.gelita.se (mail.gelita.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RtqA7Pdaq5vy; Wed, 17 Mar 2010 09:59:26 +0100 (CET) Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mail.gelita.se (Postfix) with ESMTP id 64D0110E50A; Wed, 17 Mar 2010 09:59:26 +0100 (CET) Message-ID: <4BA0996D.7010904@eskk.nu> Date: Wed, 17 Mar 2010 09:57:17 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.8) Gecko/20100302 Thunderbird/3.0.3 MIME-Version: 1.0 To: Nikos Vassiliadis References: <4BA08538.3050901@eskk.nu> <4BA09486.8000604@gmx.com> In-Reply-To: <4BA09486.8000604@gmx.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: kernel panic when if_lagg is not loaded. 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, 17 Mar 2010 08:57:24 -0000 On 2010-03-17 09:36, Nikos Vassiliadis wrote: > Leslie Jensen wrote: >> >> I have set upp aggregation of my wlan and and wired NIC following the >> instructions in the handbook. >> >> http://www.freebsd.org/doc/handbook/network-aggregation.html >> >> I "forgot" to add the if_lagg_load="YES" in /boot/loader.conf. When I >> rebooted I got a kernel panic. >> >> Should this be considerd normal or is it something I should report? >> > > No, it's not normal. Please, report it in an explicit way, commands > given and/or changes to rc.conf, loader.conf etc. Try first here > questions@ and then net@. > > Nonetheless I see no such behavior on my system. if_lagg loads > automatically when needed(ifconfig lagg create etc). > >> >> Secondly I see there'a a reference to the lagg(4) man page. I think it >> would help future readers of the above page if a comment about loading >> if_lagg_load="YES" in /boot/loader.conf would be added. > > > On 8.0-STABLE if_lagg loads automatically and I think it always > did load automatically, though I am not sure. What's the FreeBSD > version you are working on? > > Nikos > _______________________________________________ > 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" I'm on a 8.0-RELEASE-p2 system. Actually after more testing I found out that the line ifconfig_iwn0="ether 00:16:ea:61:01:e8" in my rc.conf is the culprit. If I comment it out the system will start but only with the wired interface working. I have if_lagg_load="YES" in /boot/loader.conf and the following in /etc/rc.conf wpa_supplicant_enable="YES" ifconfig_em0="up" # ifconfig_iwn0="ether 00:16:ea:61:01:e8" wlans_iwn0="wlan0" ifconfig_wlan0="WPA" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport em0 laggport wlan0 DHCP" /Leslie From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 09:46:22 2010 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 814981065670 for ; Wed, 17 Mar 2010 09:46:22 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from mail.netmusician.org (dorian.netmusician.org [66.244.95.101]) by mx1.freebsd.org (Postfix) with ESMTP id 508728FC14 for ; Wed, 17 Mar 2010 09:46:22 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by mail.netmusician.org (Postfix) with ESMTP id 90D43B87D; Wed, 17 Mar 2010 05:46:21 -0400 (EDT) X-Virus-Scanned: amavisd-new at netmusician.org Received: from mail.netmusician.org ([127.0.0.1]) by localhost (dorian.netmusician.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9PKGamRNKR9I; Wed, 17 Mar 2010 05:46:21 -0400 (EDT) Received: from Shakti.local (c-67-176-145-181.hsd1.in.comcast.net [67.176.145.181]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.netmusician.org (Postfix) with ESMTPSA id 912B0B877; Wed, 17 Mar 2010 05:46:20 -0400 (EDT) Message-ID: <4BA0A4EB.5070004@netmusician.org> Date: Wed, 17 Mar 2010 05:46:19 -0400 From: Joe Auty User-Agent: Postbox 1.1.2 (Macintosh/20100308) MIME-Version: 1.0 To: RW References: <4B9EE11F.4090206@netmusician.org> <20100316125854.6ee3f397@gumby.homeunix.com> In-Reply-To: <20100316125854.6ee3f397@gumby.homeunix.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: /etc/rc.conf and NFS 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, 17 Mar 2010 09:46:22 -0000 RW wrote: > On Mon, 15 Mar 2010 21:38:39 -0400 > Joe Auty wrote: > > >> Hello, >> >> I have my /usr/local partition hosted on an NFS share which is mounted >> at boot. Do you have any theories as to why my various services >> (Apache, Postfix, MySQL) listed in /etc/rc.conf do not start up >> automatically at boot, and I have to do this manually? >> When /usr/local is hosted locally these services start up fine on >> their own at boot time. >> > > > You probably need to set early_late_divider. > > rc reads in and orders the scripts in /etc/rc.d before it executes any > of them, and this list is fixed. When it reaches $early_late_divider, it > creates a new list that includes the local directory > obviously /usr/local/etc must be mounted at this point. > > Bear in mind that a local script that's ordered before > early_late_divider is ignored. > > Cool, I need to learn about this and, from the looks of things, rcorder. I suppose I just want to make sure that the /usr/local startup scripts start last. Thanks for your help! > _______________________________________________ > 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" > -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org joe@netmusician.org From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 09:47:00 2010 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 C1B141065673 for ; Wed, 17 Mar 2010 09:47:00 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from mail.netmusician.org (dorian.netmusician.org [66.244.95.101]) by mx1.freebsd.org (Postfix) with ESMTP id 8D04A8FC16 for ; Wed, 17 Mar 2010 09:47:00 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by mail.netmusician.org (Postfix) with ESMTP id 2EDB6B87D; Wed, 17 Mar 2010 05:47:00 -0400 (EDT) X-Virus-Scanned: amavisd-new at netmusician.org Received: from mail.netmusician.org ([127.0.0.1]) by localhost (dorian.netmusician.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id R1aWs7rZcKRB; Wed, 17 Mar 2010 05:46:59 -0400 (EDT) Received: from Shakti.local (c-67-176-145-181.hsd1.in.comcast.net [67.176.145.181]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.netmusician.org (Postfix) with ESMTPSA id 6A166B877; Wed, 17 Mar 2010 05:46:59 -0400 (EDT) Message-ID: <4BA0A512.7030906@netmusician.org> Date: Wed, 17 Mar 2010 05:46:58 -0400 From: Joe Auty User-Agent: Postbox 1.1.2 (Macintosh/20100308) MIME-Version: 1.0 To: Adam Vande More References: <4B9EE11F.4090206@netmusician.org> <6201873e1003151925n20ec6a8avf4dcff3c86a6503c@mail.gmail.com> In-Reply-To: <6201873e1003151925n20ec6a8avf4dcff3c86a6503c@mail.gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: /etc/rc.conf and NFS 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, 17 Mar 2010 09:47:00 -0000 Adam Vande More wrote: > On Mon, Mar 15, 2010 at 8:38 PM, Joe Auty > wrote: > > Hello, > > I have my /usr/local partition hosted on an NFS share which is mounted > at boot. Do you have any theories as to why my various services > (Apache, > Postfix, MySQL) listed in /etc/rc.conf do not start up > automatically at > boot, and I have to do this manually? When /usr/local is hosted > locally > these services start up fine on their own at boot time. > > > What does /var/log/messages say? May be that /usr/local isn't > available when scripts are called. > That's what I'm thinking too... I'll play around the adjusting the startup order and see if that fixes this, thanks! > -- > Adam Vande More -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org joe@netmusician.org From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 09:59:44 2010 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 EAA55106566B for ; Wed, 17 Mar 2010 09:59:44 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 3E59F8FC14 for ; Wed, 17 Mar 2010 09:59:44 +0000 (UTC) Received: (qmail invoked by alias); 17 Mar 2010 09:59:42 -0000 Received: from adsl-245.91.140.71.tellas.gr (EHLO moby.local) [91.140.71.245] by mail.gmx.com (mp-eu003) with SMTP; 17 Mar 2010 10:59:42 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1/b1Qp3xUHbKUxW0iNB+EdP/l14Nu4nmlKTUJXoO2 NQttcHDglgG6Fp Message-ID: <4BA0A808.1020003@gmx.com> Date: Wed, 17 Mar 2010 11:59:36 +0200 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.23 (X11/20100313) MIME-Version: 1.0 To: Leslie Jensen References: <4BA08538.3050901@eskk.nu> <4BA09486.8000604@gmx.com> <4BA0996D.7010904@eskk.nu> In-Reply-To: <4BA0996D.7010904@eskk.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.63 Cc: "freebsd-questions@freebsd.org" Subject: Re: kernel panic when if_lagg is not loaded. 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, 17 Mar 2010 09:59:45 -0000 Leslie Jensen wrote: > > I'm on a 8.0-RELEASE-p2 system. > > Actually after more testing I found out that the line > > ifconfig_iwn0="ether 00:16:ea:61:01:e8" > > in my rc.conf is the culprit. If I comment it out the system will start > but only with the wired interface working. If you don't comment the line it causes a kernel panic? If that's the case, you should report it to net@. If you could include a backtrace of the panic, it would be most helpful. > I have if_lagg_load="YES" in /boot/loader.conf > > and the following in /etc/rc.conf > > wpa_supplicant_enable="YES" > ifconfig_em0="up" > # ifconfig_iwn0="ether 00:16:ea:61:01:e8" > wlans_iwn0="wlan0" > ifconfig_wlan0="WPA" > cloned_interfaces="lagg0" > ifconfig_lagg0="laggproto failover laggport em0 laggport wlan0 DHCP" > > /Leslie hm, what you do really matches the process described in the handbook. It should work, please report it. Nikos From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 10:10:22 2010 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 0471A106566B for ; Wed, 17 Mar 2010 10:10:22 +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 8766C8FC18 for ; Wed, 17 Mar 2010 10:10:21 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.3/8.14.3) with ESMTP id o2HA9xpt019915; Wed, 17 Mar 2010 11:09:59 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.3/8.14.3/Submit) id o2HA9wjX019914; Wed, 17 Mar 2010 11:09:58 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Wed, 17 Mar 2010 11:09:58 +0100 From: Ruben de Groot To: google@alexus.org Message-ID: <20100317100958.GA19823@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , google@alexus.org, andrew clarke , freebsd-questions@freebsd.org References: <3351212956-2078109201@intranet.com.mx> <4B99CE33.6070109@ibctech.ca> <20100316192152.GA55366@ozzmosis.com> <6ae50c2d1003161225t161e5918n32e52f4618231ee5@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6ae50c2d1003161225t161e5918n32e52f4618231ee5@mail.gmail.com> 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]); Wed, 17 Mar 2010 11:10:02 +0100 (CET) Cc: andrew clarke , freebsd-questions@freebsd.org Subject: Re: FreeBSD Version recommend for OLD machine 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, 17 Mar 2010 10:10:22 -0000 On Tue, Mar 16, 2010 at 03:25:56PM -0400, alexus typed: > On Tue, Mar 16, 2010 at 3:21 PM, andrew clarke wrote: > > On Fri 2010-03-12 00:16:35 UTC-0500, Steve Bertrand (steve@ibctech.ca) wrote: > > > >> > The machine has a Motherboard that supports 2 double pentium III > >> > processors with 1GB of ram and a hard disk with 40GB. > i'd go w/ 8.0 worse case scenario 7.2 > and put more memory in that machine it's embarassing :) CPU: AMD Enhanced Am486DX4/Am5x86 Write-Back (486-class CPU) real memory = 67108864 (64 MB) soekrisgw> uname -rms FreeBSD 8.0-STABLE i386 Soekris board running fine as a router and firewall. I'm not at all embarrassed. Ruben From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 10:12:00 2010 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 034831065672 for ; Wed, 17 Mar 2010 10:12:00 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f228.google.com (mail-ew0-f228.google.com [209.85.219.228]) by mx1.freebsd.org (Postfix) with ESMTP id 8D1FC8FC16 for ; Wed, 17 Mar 2010 10:11:59 +0000 (UTC) Received: by ewy28 with SMTP id 28so22978ewy.33 for ; Wed, 17 Mar 2010 03:11: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 :date:message-id:subject:from:to:cc:content-type; bh=eubFUOBa9m+ZtPoWrL2D0JbKAWVv/AeFPdXO7GmN0Jc=; b=X08nGhDAg8OShazZ64D+dQuaogO41coZiDJPNSmjF7DONGSPBqomO07XKucGECUSC7 HWaYCio+ZLEmgdBvevH6R/11sqqxoM9iTSsZAMEg8zjaI2gh3JWm0vQEjEYTBt5+hKHt Qlb5I0Q4aoqIg+1n2uWv4XG6ks2ZcykTka5bM= 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=JCMSQU+3oF9QyehyIC517qBAwbEd4k9aE+SBNXchCaRB0h7uAYPT+T3L0mGGwOiS0A wjVTMxtct5qetJGzmRYOTxztAB1c6PqGRAqjbDzSM/vEySc9RoNWV9gmO3AHYqN6NFPk uK15KkYmrq5x1yB6AXEXTJreDBY1Jv4UBbTkA= MIME-Version: 1.0 Received: by 10.213.25.67 with SMTP id y3mr712315ebb.73.1268820718528; Wed, 17 Mar 2010 03:11:58 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Mar 2010 10:11:58 +0000 Message-ID: <3a142e751003170311x5b98dc1k8784d6b47b079931@mail.gmail.com> From: Paul B Mahol To: Xihong Yin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: NDIS failed under 8.0, please 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: Wed, 17 Mar 2010 10:12:00 -0000 Make use of google. You need to create wlanX first. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 10:26:39 2010 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 58140106564A for ; Wed, 17 Mar 2010 10:26:39 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2FC838FC08 for ; Wed, 17 Mar 2010 10:26:39 +0000 (UTC) Received: by pva18 with SMTP id 18so454112pva.13 for ; Wed, 17 Mar 2010 03:26:38 -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=YVz9+nPNBhl9Pwuw9BlkiBwjEhfJE47i4AV2D/VNgMw=; b=gzluulaDavPh/UEPRep0UpiF0z3mKpW4Zed6JcYRK98GE67/Ef6miF2P4P5MSZyBa1 1kiS46oEydaprNt0lDCouS7STd/VS2/PzWK+XbQivfjwIJoGHrXCRdKA4KRDYo/e+8R6 s2f7CVFfXKGnxtNG6+WyvgRzU0AS3nF2sFZHI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=lJPDun2zIMODqXhxMRrWGiSPlRGRBhXeNBmFipCsSyhqEpehGPYaRD49a88QscuC/W 2qGKfyfqA5vxwxnWq1udKEsNKchSbQ+EPUma0HV/lsU9TAG808lCRnfjzjrpGiSt3/MN 3l/cPEgqtogLfUSKt9z0O3WAMPvaLsSZ/6TNM= MIME-Version: 1.0 Received: by 10.142.122.10 with SMTP id u10mr307679wfc.137.1268821598859; Wed, 17 Mar 2010 03:26:38 -0700 (PDT) Date: Wed, 17 Mar 2010 11:26:38 +0100 Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: svn 1.6 config options 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, 17 Mar 2010 10:26:39 -0000 # cd /usr/ports/devel/subversion # make showconfig ===> The following configuration options are available for subversion-1.6.9: MOD_DAV_SVN=on "mod_dav_svn module for Apache 2.X" APACHE2_APR=on "Use APR from Apache 2.X" MOD_DONTDOTHAT=off "mod_dontdothat for Apache 2.X" NEON=on "WebDAV/Delta-V repo access module (neon)" SERF=off "WebDAV/Delta-V repo access module (serf)" SASL=off "SASL2 authorization support" BDB=on "db4 repository backend" ASVN=off "Build and install Archive SVN (asvn)" MAINTAINER_DEBUG=off "Build debug version" SVNSERVE_WRAPPER=off "Enable svnserve wrapper" STATIC=off "Build static version (no shared libs)" BOOK=off "Install the Subversion Book" ===> Use 'make config' to modify these settings about encrypting cached passwords (for gnome or kde clients), the official subversion-1.6. doc says the binaries must be compiled with the --with-genome-keyring / --with-kwallet parameter. I don't see anything about that in make showconfig How to do it? From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 10:51:39 2010 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 77FAD106564A for ; Wed, 17 Mar 2010 10:51:39 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from s2m-is-001.service2media.com (rev-130-102.virtu.nl [217.114.102.130]) by mx1.freebsd.org (Postfix) with ESMTP id 133478FC15 for ; Wed, 17 Mar 2010 10:51:38 +0000 (UTC) Received: from pieter-dev-linux.localnet ([10.0.1.77] RDNS failed) by s2m-is-001.service2media.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Mar 2010 11:51:37 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Wed, 17 Mar 2010 11:51:37 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.31-20-generic; KDE/4.3.2; i686; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003171151.37263.pieter@degoeje.nl> X-OriginalArrivalTime: 17 Mar 2010 10:51:37.0460 (UTC) FILETIME=[D1503340:01CAC5BF] Cc: Carmel Subject: Re: Still unable to update kdelibs3 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, 17 Mar 2010 10:51:39 -0000 On Saturday 13 March 2010 16:31:38 Carmel wrote: > I have tried everything in the "UPDATING" file; however, I am still > unable to get 'kdelibs3' updated. It always ends with this error > message: > > Making all in dnssd > gmake[2]: Entering directory > `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd' > ../kdecore/kconfig_compiler/kconfig_compiler ./kcm_kdnssd.kcfg > ./settings.kcfgc; ret=$?; \ if test "$ret" != 0; then rm -f settings.h ; > exit $ret ; fi > /libexec/ld-elf.so.1: Shared object "libjpeg.so.10" not found, required by > "libkdefx.so.6" gmake[2]: *** [settings.h] Error 1 > gmake[2]: Leaving directory > `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd' gmake[1]: *** > [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10' > gmake: *** [all] Error 2 > *** Error code 1 > > Other than deleting everything and starting over, I have no idea how to > proceed. The error says that it cannot find libjpeg.so.10. libjpeg.so.11 is provided by graphics/jpeg. I would try reinstalling graphics/jpeg, then try reinstalling kdelibs. - Pieter From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 10:55:54 2010 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 EB0E5106566C for ; Wed, 17 Mar 2010 10:55:54 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s37.blu0.hotmail.com (blu0-omc4-s37.blu0.hotmail.com [65.55.111.176]) by mx1.freebsd.org (Postfix) with ESMTP id A21E08FC24 for ; Wed, 17 Mar 2010 10:55:54 +0000 (UTC) Received: from BLU0-SMTP99 ([65.55.111.135]) by blu0-omc4-s37.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Mar 2010 03:55:53 -0700 X-Originating-IP: [67.189.160.65] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([67.189.160.65]) by BLU0-SMTP99.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Mar 2010 03:55:53 -0700 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id ECAF022831 for ; Wed, 17 Mar 2010 06:55:51 -0400 (EDT) Date: Wed, 17 Mar 2010 06:55:51 -0400 From: Carmel To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd7.3) 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=UTF-8 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 17 Mar 2010 10:55:53.0376 (UTC) FILETIME=[69D9E200:01CAC5C0] Subject: Availability of "pm-utils" 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, 17 Mar 2010 10:55:55 -0000 Is 'pm-utils" available in the ports system? I am unable to locate it if it does exist. -- Carmel carmel_ny@hotmail.com |::::======= |::::======= |=========== |=========== | DEATH WISH: The only wish that always comes true, whether or not one wishes it to. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 11:21:32 2010 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 5AEBA106566C for ; Wed, 17 Mar 2010 11:21:32 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s13.blu0.hotmail.com (blu0-omc4-s13.blu0.hotmail.com [65.55.111.152]) by mx1.freebsd.org (Postfix) with ESMTP id 0E3B08FC16 for ; Wed, 17 Mar 2010 11:21:31 +0000 (UTC) Received: from BLU0-SMTP52 ([65.55.111.137]) by blu0-omc4-s13.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Mar 2010 04:21:31 -0700 X-Originating-IP: [67.189.160.65] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([67.189.160.65]) by BLU0-SMTP52.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Mar 2010 04:21:30 -0700 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 63C2F22838 for ; Wed, 17 Mar 2010 07:21:29 -0400 (EDT) Date: Wed, 17 Mar 2010 07:21:28 -0400 From: Carmel To: freebsd-questions@freebsd.org In-Reply-To: <201003171151.37263.pieter@degoeje.nl> References: <201003171151.37263.pieter@degoeje.nl> Organization: seibercom.net X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd7.3) 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=UTF-8 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 17 Mar 2010 11:21:30.0606 (UTC) FILETIME=[FE1C90E0:01CAC5C3] Subject: Re: Still unable to update kdelibs3 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, 17 Mar 2010 11:21:32 -0000 On Wed, 17 Mar 2010 11:51:37 +0100 Pieter de Goeje articulated: > On Saturday 13 March 2010 16:31:38 Carmel wrote: > > I have tried everything in the "UPDATING" file; however, I am still > > unable to get 'kdelibs3' updated. It always ends with this error > > message: > > > > Making all in dnssd > > gmake[2]: Entering directory > > `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd' > > ../kdecore/kconfig_compiler/kconfig_compiler ./kcm_kdnssd.kcfg > > ./settings.kcfgc; ret=$?; \ if test "$ret" != 0; then rm -f > > settings.h ; exit $ret ; fi > > /libexec/ld-elf.so.1: Shared object "libjpeg.so.10" not found, > > required by "libkdefx.so.6" gmake[2]: *** [settings.h] Error 1 > > gmake[2]: Leaving directory > > `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd' gmake[1]: *** > > [all-recursive] Error 1 > > gmake[1]: Leaving directory > > `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10' gmake: *** [all] > > Error 2 *** Error code 1 > > > > Other than deleting everything and starting over, I have no idea > > how to proceed. > > The error says that it cannot find libjpeg.so.10. libjpeg.so.11 is > provided by graphics/jpeg. I would try reinstalling graphics/jpeg, > then try reinstalling kdelibs. I finally got tired of the BS and deleted everything that would not build using "pkg_delete -df [pkg-name]" and then reinstalled them. FINALLY, it worked. This was undoubtedly the worst update scenario I have encountered. -- Carmel carmel_ny@hotmail.com |::::======= |::::======= |=========== |=========== | Others can stop you temporarily, only you can do it permanently. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 11:24:33 2010 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 A2CDD106564A for ; Wed, 17 Mar 2010 11:24:33 +0000 (UTC) (envelope-from xyin@gmx.com) Received: from mailout-us.gmx.com (mailout-us.gmx.com [74.208.5.67]) by mx1.freebsd.org (Postfix) with SMTP id 611438FC0C for ; Wed, 17 Mar 2010 11:24:33 +0000 (UTC) Received: (qmail invoked by alias); 17 Mar 2010 11:24:32 -0000 Received: from 205-156-36-56.ssmcnet.noaa.gov (EHLO OHD12-8384.nws.noaa) [205.156.36.56] by mail.gmx.com (mp-us005) with SMTP; 17 Mar 2010 07:24:32 -0400 X-Authenticated: #50283380 X-Provags-ID: V01U2FsdGVkX1/d3T4Fj0jd7S7HPlRIrHf/y93HcwCuG5XBPKVlU9 FdeFPp5SQB3pPs Date: Wed, 17 Mar 2010 07:24:26 -0400 (Eastern Daylight Time) From: Xihong Yin To: freebsd-questions@freebsd.org In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (WNT 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Y-GMX-Trusted: 0 X-FuHaFi: 0.44 Subject: Re: NDIS failed under 8.0, please 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: Wed, 17 Mar 2010 11:24:33 -0000 It is resolved by creating wlan0. Xihong On Tue, 16 Mar 2010, Xihong Yin wrote: > The NDIS driver failed after I upgraded from 7.1 to 8.0 Stable, the NDIS > driver was built successfully under 8.0 though. > > The wireless card is a Dell TrueMobile 1300 WLAN Mini-PCI Card. It works > perfectly under 7.2. > > I run > > #ifconfig ndis0 up scan > > and got and error: > > ifconfig: unable to get scan results > > ifconfig ndis0 is > > ndis0: flags=8843 metric 0 mtu > 2290 > ether 00:90:4b:c7:f1:01 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > > uname -a is > > FreeBSD dell 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue > Mar 16 06:41:00 EDT 2010 > root@dell:/usr/obj/usr/src/sys/MY8KERNEL i386 > > dmesg is > > Copyright (c) 1992-2010 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-STABLE #0: Tue Mar 16 06:41:00 EDT 2010 > root@dell:/usr/obj/usr/src/sys/MY8KERNEL i386 > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Celeron(R) M processor 1.40GHz (1396.55-MHz 686-class > CPU) > Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 > Features=0xafe9fbff > AMD Features=0x100000 > real memory = 268435456 (256 MB) > avail memory = 244703232 (233 MB) > ACPI APIC Table: > ioapic0: Changing APIC ID to 1 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: reservation of 0, 9fc00 (3) failed > acpi0: reservation of 100000, f6d3800 (3) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > cpu0: on acpi0 > acpi_acad0: on acpi0 > battery0: on acpi0 > acpi_lid0: on acpi0 > acpi_button0: on acpi0 > acpi_button1: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > vgapci0: port 0xeff8-0xefff mem > 0xdff00000-0xdff7ffff,0xc0000000-0xcfffffff,0xdfec0000-0xdfefffff irq 16 at > device 2.0 on pci0 > agp0: on vgapci0 > agp0: detected 7932k stolen memory > agp0: aperture size is 256M > vgapci1: mem 0xdff80000-0xdfffffff at device 2.1 on > pci0 > hdac0: mem > 0xdfebc000-0xdfebffff irq 16 at device 27.0 on pci0 > hdac0: HDA Driver Revision: 20100226_0142 > hdac0: [ITHREAD] > pcib1: at device 28.0 on pci0 > pci11: on pcib1 > pcib2: at device 28.3 on pci0 > pci12: on pcib2 > uhci0: port > 0xbf80-0xbf9f irq 16 at device 29.0 on pci0 > uhci0: [ITHREAD] > usbus0: on uhci0 > uhci1: port > 0xbf60-0xbf7f irq 17 at device 29.1 on pci0 > uhci1: [ITHREAD] > usbus1: on uhci1 > uhci2: port > 0xbf40-0xbf5f irq 18 at device 29.2 on pci0 > uhci2: [ITHREAD] > usbus2: on uhci2 > uhci3: port > 0xbf20-0xbf3f irq 19 at device 29.3 on pci0 > uhci3: [ITHREAD] > usbus3: on uhci3 > ehci0: mem 0xb0000000-0xb00003ff > irq 16 at device 29.7 on pci0 > ehci0: [ITHREAD] > usbus4: EHCI version 1.0 > usbus4: on ehci0 > pcib3: at device 30.0 on pci0 > pci2: on pcib3 > bfe0: mem 0xdfbfc000-0xdfbfdfff irq 18 at > device 0.0 on pci2 > miibus0: on bfe0 > bmtphy0: PHY 1 on miibus0 > bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > bfe0: Ethernet address: 00:14:22:90:52:ed > bfe0: [ITHREAD] > ndis0: mem 0xdfbfe000-0xdfbfffff > irq 17 at device 3.0 on pci2 > ndis0: [ITHREAD] > ndis0: NDIS API version: 5.1 > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf irq 16 at device 31.1 on > pci0 > ata0: on atapci0 > ata0: [ITHREAD] > ata1: on atapci0 > ata1: [ITHREAD] > acpi_tz0: on acpi0 > atkbdc0: port 0x60,0x64,0x62,0x66 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 Generic PS/2 mouse, device ID 0 > atrtc0: port 0x70-0x71,0x72-0x77 irq 8 on acpi0 > pmtimer0 on isa0 > orm0: at iomem 0xc0000-0xcf7ff,0xcf800-0xcffff pnpid > ORM0000 on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > ppc0: parallel port not found. > p4tcc0: on cpu0 > Timecounter "TSC" frequency 1396547279 Hz quality 800 > Timecounters tick every 1.000 msec > ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based > forwarding disabled, default to accept, logging disabled > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 12Mbps Full Speed USB v1.0 > usbus2: 12Mbps Full Speed USB v1.0 > usbus3: 12Mbps Full Speed USB v1.0 > usbus4: 480Mbps High Speed USB v2.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > ugen1.1: at usbus1 > uhub1: on usbus1 > ugen2.1: at usbus2 > uhub2: on usbus2 > ugen3.1: at usbus3 > uhub3: on usbus3 > ugen4.1: at usbus4 > uhub4: on usbus4 > ad0: 38154MB at ata0-master UDMA100 acd0: CDRW > at ata0-slave UDMA33 hdac0: HDA Codec #0: > Sigmatel STAC9220 > hdac0: HDA Codec #1: Conexant (Unknown) > pcm0: at cad 0 nid 1 on hdac0 > uhub0: 2 ports with 2 removable, self powered > uhub1: 2 ports with 2 removable, self powered > uhub2: 2 ports with 2 removable, self powered > uhub3: 2 ports with 2 removable, self powered > GEOM: ad0s4: geometry does not match label (255h,63s != 16h,63s). > Root mount waiting for: usbus4 > Root mount waiting for: usbus4 > Root mount waiting for: usbus4 > uhub4: 8 ports with 8 removable, self powered > Trying to mount root from ufs:/dev/ad0s4a > drm0: on vgapci0 > vgapci0: child drm0 requested pci_enable_busmaster > info: [drm] AGP at 0xc0000000 256MB > info: [drm] Initialized i915 1.6.0 20080730 > drm0: [ITHREAD] > drm0: [ITHREAD] > > Please help! > > Thanks, > Xihong > _______________________________________________ > 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 Mar 17 11:42:44 2010 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 B89DE1065673 for ; Wed, 17 Mar 2010 11:42:44 +0000 (UTC) (envelope-from ml@christianhansen.name) Received: from mail.Hansen-Hosting.de (master.hansen-hosting.de [188.40.38.16]) by mx1.freebsd.org (Postfix) with ESMTP id 71FFD8FC3F for ; Wed, 17 Mar 2010 11:42:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.Hansen-Hosting.de (Postfix) with ESMTP id 05610F02ADA for ; Wed, 17 Mar 2010 12:25:00 +0100 (CET) Received: from mail.Hansen-Hosting.de ([127.0.0.1]) by localhost (master.hansen-hosting.de.hansen-hosting.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CQxfWAKgNuNc for ; Wed, 17 Mar 2010 12:24:59 +0100 (CET) Received: from [192.168.1.160] (f055068129.adsl.alicedsl.de [78.55.68.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.Hansen-Hosting.de (Postfix) with ESMTPSA id B6DA0F02A90 for ; Wed, 17 Mar 2010 12:24:59 +0100 (CET) Message-ID: <4BA0BBF9.3000805@christianhansen.name> Date: Wed, 17 Mar 2010 12:24:41 +0100 From: Christian Hansen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.8) Gecko/20100311 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201003171151.37263.pieter@degoeje.nl> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: Still unable to update kdelibs3 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, 17 Mar 2010 11:42:44 -0000 On 03/17/10 12:21, Carmel wrote: > On Wed, 17 Mar 2010 11:51:37 +0100 > Pieter de Goeje articulated: > >> On Saturday 13 March 2010 16:31:38 Carmel wrote: >>> I have tried everything in the "UPDATING" file; however, I am still >>> unable to get 'kdelibs3' updated. It always ends with this error >>> message: >>> >>> Making all in dnssd >>> gmake[2]: Entering directory >>> `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd' >>> ../kdecore/kconfig_compiler/kconfig_compiler ./kcm_kdnssd.kcfg >>> ./settings.kcfgc; ret=$?; \ if test "$ret" != 0; then rm -f >>> settings.h ; exit $ret ; fi >>> /libexec/ld-elf.so.1: Shared object "libjpeg.so.10" not found, >>> required by "libkdefx.so.6" gmake[2]: *** [settings.h] Error 1 >>> gmake[2]: Leaving directory >>> `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd' gmake[1]: *** >>> [all-recursive] Error 1 >>> gmake[1]: Leaving directory >>> `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10' gmake: *** [all] >>> Error 2 *** Error code 1 >>> >>> Other than deleting everything and starting over, I have no idea >>> how to proceed. >> >> The error says that it cannot find libjpeg.so.10. libjpeg.so.11 is >> provided by graphics/jpeg. I would try reinstalling graphics/jpeg, >> then try reinstalling kdelibs. > > I finally got tired of the BS and deleted everything that would not > build using "pkg_delete -df [pkg-name]" and then reinstalled them. > FINALLY, it worked. This was undoubtedly the worst update scenario I > have encountered. > > -- > Carmel > carmel_ny@hotmail.com > > |::::======= > |::::======= > |=========== > |=========== > | > > Others can stop you temporarily, only you can do it permanently. > > _______________________________________________ > 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" > Hi, did you read: /usr/ports/UPDATING 20100205 and 20090719 I think that would help you. Christian From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 13:24:02 2010 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 4B0FA106566B for ; Wed, 17 Mar 2010 13:24:02 +0000 (UTC) (envelope-from antoniok.spb@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id D3B2E8FC16 for ; Wed, 17 Mar 2010 13:24:01 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so350758fgg.13 for ; Wed, 17 Mar 2010 06:24:00 -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=qPWYFAAThud2Z1d0ascvkdbdWcmlKiBJcCuxvjNI0u8=; b=CsfssJ7xIUIXmj6oRl2Mr5zNlnbzB9W3ftuU8drRamt56bBKCAxYNgFhLOwi4cpz7S wmt0zQasY8pvkREG/3oYHBooy7Hz4q+ymL+7e0CYqNR+ed2mF+2E1/SrFWnpGWDkOWow LQgTM8yoAlvJAkTctIL3Mz7hwkDqVTr2dpcgA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=a8LEJZleKpnVkklZS4lGn+ss7s1dbOKs9ydpP/HaZikKnJgGDY4erBCA/aksEPfUXM FPrRYUssn/z8v/FsLW5pbV3aQaxxsFYAhHJ++S7t7r1vHZiUC/ePfUyyCgOK9XJLM2cV WnBafALLJvClx6It+uQeTMMG2JZM/wajgFd4c= MIME-Version: 1.0 Received: by 10.239.193.140 with SMTP id j12mr1038922hbi.112.1268832240514; Wed, 17 Mar 2010 06:24:00 -0700 (PDT) From: =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= Date: Wed, 17 Mar 2010 16:23:39 +0300 Message-ID: <3f1c29e71003170623p1211c5cai3cbdf02915d07449@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: gd errors after rebuilding PHP 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, 17 Mar 2010 13:24:02 -0000 I have updated PHP from ports, now it is: # uname -a FreeBSD host.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar 5 01:37:03 MSK 2010 root@host.net:/usr/obj/usr/src/sys/MYKERN amd64 $ php -v PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Feb 21 2010 23:16:07) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies $ php -m [PHP Modules] bcmath bz2 ctype curl date dom exif filter ftp gd gettext gmp hash iconv json libxml mbstring mhash mysql mysqli openssl pcre pdf PDO pdo_sqlite posix Reflection session SimpleXML sockets SPL SQLite standard tokenizer xml xmlreader xmlwriter zip zlib [Zend Modules] And no it started to get such errors: [17-Mar-2010 16:07:19] PHP Warning: imagecreatefrompng(): gd-png: fatal libpng error: [00][00][00][00]: unknown critical chunk in /path-to-file/file.php on line 15 [17-Mar-2010 16:07:19] PHP Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition in /path-to-file/file.php on line 15 [17-Mar-2010 16:07:19] PHP Warning: imagecreatefrompng(): 'button.png' is not a valid PNG file in /path-to-file/file.php on line 15 [17-Mar-2010 16:07:19] PHP Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 16 [17-Mar-2010 16:07:19] PHP Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 17 [17-Mar-2010 16:07:19] PHP Warning: imagestring(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 18 [17-Mar-2010 16:07:19] PHP Warning: imagestring(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 19 [17-Mar-2010 16:07:19] PHP Warning: imagestring(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 20 [17-Mar-2010 16:07:19] PHP Warning: imagepng(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 21 [17-Mar-2010 16:07:19] PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 22 I tried to re-build PHP, but it don't helped. # pkg_info |grep png png-1.2.42 Library for manipulating PNG images ruby18-libpng-0.3.3_3 A libpng wrapper class for Ruby Any suggestions? From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 13:45:06 2010 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 DF588106566B for ; Wed, 17 Mar 2010 13:45:05 +0000 (UTC) (envelope-from antoniok.spb@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 70DDE8FC19 for ; Wed, 17 Mar 2010 13:45:05 +0000 (UTC) Received: by fxm24 with SMTP id 24so517112fxm.3 for ; Wed, 17 Mar 2010 06:45:04 -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=wuWS0uA4TpBkTponjD7SOfscfBznkJBY//sTpJsixwk=; b=t1SOnGJl8uj2+eTgjv2t36Ep/RCVvHpE4cvLcF8LY/vTsweKevgYvA2jm1geafDNMG TL9/UE1MA9dDTvdTTIETBLs9WVYgvHX/oMWSLZxOHYWjULSpNEaPdTA7lmnWbxpZfrXN rqGdMHWFYR76YN7ToULQCSW2V6Q58G/iV30i0= 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=QCdmfqAiKG23dVwT7ey2NDJD5Rh3q7ssrAYRzoF3PcbVPxLB1RYknuqOLPvVugU4p7 d+ucSo/qA0iUcJRqmsh5+WNWd/BFR1vx3fDALhlMUf7H6DoBo7Ls12pNPsrj0pQZtUGG +gFvE5xiN94bl1fAYZ9MTGXQ5F4ApGNytCELk= MIME-Version: 1.0 Received: by 10.239.156.12 with SMTP id k12mr1224548hbc.14.1268833504244; Wed, 17 Mar 2010 06:45:04 -0700 (PDT) In-Reply-To: <875e0203536a2f06c37fc8a59156ca30@asterix.area536.com> References: <3f1c29e71003170623p1211c5cai3cbdf02915d07449@mail.gmail.com> <875e0203536a2f06c37fc8a59156ca30@asterix.area536.com> From: =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= Date: Wed, 17 Mar 2010 16:44:43 +0300 Message-ID: <3f1c29e71003170644l3102351fy31ab598702175642@mail.gmail.com> To: "Bas v.d. Wiel" 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: gd errors after rebuilding PHP 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, 17 Mar 2010 13:45:06 -0000 It doesn't helps me. Then I try this: # env LD_PRELOAD=3D/usr/local/lib/libpng.so.5 |grep png LD_PRELOAD=3D/usr/local/lib/libpng.so.5 # env |grep png # Is it OK that env doesn't save its status (LD_PRELOAD)? 2010/3/17 Bas v.d. Wiel > > On Wed, 17 Mar 2010 16:23:39 +0300, =E1=CE=D4=CF=CE =EB=CC=C5=D3=D3 > wrote: > > I have updated PHP from ports, now it is: > > > > # uname -a > > FreeBSD host.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar 5 01:37:03 MSK > > 2010 root@host.net:/usr/obj/usr/src/sys/MYKERN amd64 > > > > $ php -v > > PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Feb 21 2010 23:16:07) > > Copyright (c) 1997-2009 The PHP Group > > Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies > > > > > This is a known issue. There's a PR for this filed under number 144403. > > A sort of workaround (which I find a bit nasty), is to start Apache like > this: > > #env LD_PRELOAD=3D/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22 > restart > > Hope this helps! > > Bas > > --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E1=CE=D4=CF=CE =EB=CC=C5=D3=D3, http://kless.spb.ru/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 13:50:13 2010 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 ABC8F1065670 for ; Wed, 17 Mar 2010 13:50:13 +0000 (UTC) (envelope-from bas@kompasmedia.nl) Received: from asterix.area536.com (static.17.18.47.78.clients.your-server.de [78.47.18.17]) by mx1.freebsd.org (Postfix) with ESMTP id 685B38FC1D for ; Wed, 17 Mar 2010 13:50:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by asterix.area536.com (Postfix) with ESMTP id D3D5527BCC; Wed, 17 Mar 2010 14:30:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at asterix.area536.com Received: from asterix.area536.com ([127.0.0.1]) by localhost (asterix.area536.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1qlPKtW3PiGS; Wed, 17 Mar 2010 14:30:25 +0100 (CET) Received: by asterix.area536.com (Postfix, from userid 33) id B0A0C27BC9; Wed, 17 Mar 2010 14:30:24 +0100 (CET) To: =?UTF-8?Q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD_=D0=9A=D0=BB=D0=B5=D1=81=D1=81?= MIME-Version: 1.0 Date: Wed, 17 Mar 2010 14:30:24 +0100 From: "Bas v.d. Wiel" In-Reply-To: <3f1c29e71003170623p1211c5cai3cbdf02915d07449@mail.gmail.com> References: <3f1c29e71003170623p1211c5cai3cbdf02915d07449@mail.gmail.com> Message-ID: <875e0203536a2f06c37fc8a59156ca30@asterix.area536.com> X-Sender: bas@kompasmedia.nl User-Agent: RoundCube Webmail/0.2.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Cc: freebsd-questions@freebsd.org Subject: Re: gd errors after rebuilding PHP 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, 17 Mar 2010 13:50:13 -0000 On Wed, 17 Mar 2010 16:23:39 +0300, Антон Клесс wrote: > I have updated PHP from ports, now it is: > > # uname -a > FreeBSD host.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar 5 01:37:03 MSK > 2010 root@host.net:/usr/obj/usr/src/sys/MYKERN amd64 > > $ php -v > PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Feb 21 2010 23:16:07) > Copyright (c) 1997-2009 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies > This is a known issue. There's a PR for this filed under number 144403. A sort of workaround (which I find a bit nasty), is to start Apache like this: #env LD_PRELOAD=/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22 restart Hope this helps! Bas From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 13:50:48 2010 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 74917106567F for ; Wed, 17 Mar 2010 13:50:48 +0000 (UTC) (envelope-from bas@kompasmedia.nl) Received: from asterix.area536.com (static.17.18.47.78.clients.your-server.de [78.47.18.17]) by mx1.freebsd.org (Postfix) with ESMTP id 308CD8FC48 for ; Wed, 17 Mar 2010 13:50:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by asterix.area536.com (Postfix) with ESMTP id 5727827BCB; Wed, 17 Mar 2010 14:50:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at asterix.area536.com Received: from asterix.area536.com ([127.0.0.1]) by localhost (asterix.area536.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KydeLFpNuXHM; Wed, 17 Mar 2010 14:50:46 +0100 (CET) Received: by asterix.area536.com (Postfix, from userid 33) id 1DDBA27BC9; Wed, 17 Mar 2010 14:50:45 +0100 (CET) To: =?UTF-8?Q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD_=D0=9A=D0=BB=D0=B5=D1=81=D1=81?= MIME-Version: 1.0 Date: Wed, 17 Mar 2010 14:50:45 +0100 From: "Bas v.d. Wiel" In-Reply-To: <3f1c29e71003170644l3102351fy31ab598702175642@mail.gmail.com> References: <3f1c29e71003170623p1211c5cai3cbdf02915d07449@mail.gmail.com> <875e0203536a2f06c37fc8a59156ca30@asterix.area536.com> <3f1c29e71003170644l3102351fy31ab598702175642@mail.gmail.com> Message-ID: <582dc8b5596996422cbd9c4318c3e26d@asterix.area536.com> X-Sender: bas@kompasmedia.nl User-Agent: RoundCube Webmail/0.2.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Cc: freebsd-questions@freebsd.org Subject: Re: gd errors after rebuilding PHP 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, 17 Mar 2010 13:50:48 -0000 On Wed, 17 Mar 2010 16:44:43 +0300, Антон Клесс wrote: > It doesn't helps me. > > Then I try this: > > # env LD_PRELOAD=/usr/local/lib/libpng.so.5 |grep png > LD_PRELOAD=/usr/local/lib/libpng.so.5 > # env |grep png > # > > Is it OK that env doesn't save its status (LD_PRELOAD)? > You should put the whole command on a single line (e-mail cuts off the lines here): #env LD_PRELOAD=/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22 restart In essence you're just restarting Apache in the usual BSD way, but with an ad-hoc added environment variable. The env command doesn't save its changes, but that is correct behaviour. I haven't tested this with a 'real' environment variable yet because I decided to roll back the upgrade to wait for the issue to be solved. Bas From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 14:00:52 2010 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 CCA851065676 for ; Wed, 17 Mar 2010 14:00:52 +0000 (UTC) (envelope-from antoniok.spb@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 5A5B78FC2E for ; Wed, 17 Mar 2010 14:00:51 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e21so535202fga.13 for ; Wed, 17 Mar 2010 07:00:51 -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=Kr/sATGW29iWAaGxWGqysbMWjVNb1322JpmZacSd6Tk=; b=IbxxLKhzBnFVtrXHuj6kF2Duqz9zQDr/bYKd7DoYn9wpd+d+rKIHmkqZ6szLo9lSWO uEgsFbDoXvb+J1JWWU5G0KKI5DYjdZXhtPEcdYrvQOvJ2u7dbFtjsbzc0yIJLBJmPxvY aay9F/Vrd3RKTdmHK8NuCPtYw9a1RnLLUGROY= 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=RUdtSZAB5RE8PAknbQe12iX8FE5TQptTBUItiOJJtCxXjgovtks+L4h8IjJplCfGKr 1iT/4Sp6V/blRIPmKoGmtknSkSUIVFjejC6uJ3GBlodlKkFjxDWcZGws0GwlNheJzpY+ MDsZ5xIdCtTM9BDN0kO75zgizMUA5fLrIh8/c= MIME-Version: 1.0 Received: by 10.239.132.5 with SMTP id 5mr1199595hbp.137.1268834451142; Wed, 17 Mar 2010 07:00:51 -0700 (PDT) In-Reply-To: <582dc8b5596996422cbd9c4318c3e26d@asterix.area536.com> References: <3f1c29e71003170623p1211c5cai3cbdf02915d07449@mail.gmail.com> <875e0203536a2f06c37fc8a59156ca30@asterix.area536.com> <3f1c29e71003170644l3102351fy31ab598702175642@mail.gmail.com> <582dc8b5596996422cbd9c4318c3e26d@asterix.area536.com> From: =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= Date: Wed, 17 Mar 2010 17:00:31 +0300 Message-ID: <3f1c29e71003170700u2c2aaab9ve34bca18567135d1@mail.gmail.com> To: "Bas v.d. Wiel" 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: gd errors after rebuilding PHP 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, 17 Mar 2010 14:00:52 -0000 # ls /usr/local/lib/libpng.so.5 /usr/local/lib/libpng.so.5 # ls /usr/local/etc/rc.d/apache22 /usr/local/etc/rc.d/apache22 # env LD_PRELOAD=3D/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22 status apache22 is running as pid 21297. # env LD_PRELOAD=3D/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22 stop Stopping apache22. Waiting for PIDS: 21297. # env LD_PRELOAD=3D/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22 start Performing sanity check on apache22 configuration: Syntax OK Starting apache22. # But PHP errors are still the same. Should I report this into PR? 2010/3/17 Bas v.d. Wiel > > On Wed, 17 Mar 2010 16:44:43 +0300, =E1=CE=D4=CF=CE =EB=CC=C5=D3=D3 > wrote: > > It doesn't helps me. > > > > Then I try this: > > > > # env LD_PRELOAD=3D/usr/local/lib/libpng.so.5 |grep png > > LD_PRELOAD=3D/usr/local/lib/libpng.so.5 > > # env |grep png > > # > > > > Is it OK that env doesn't save its status (LD_PRELOAD)? > > > > > You should put the whole command on a single line (e-mail cuts off the > lines here): > > #env LD_PRELOAD=3D/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22 > restart > > In essence you're just restarting Apache in the usual BSD way, but with a= n > ad-hoc added environment variable. The env command doesn't save its > changes, but that is correct behaviour. I haven't tested this with a 'rea= l' > environment variable yet because I decided to roll back the upgrade to wa= it > for the issue to be solved. > > Bas > > --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E1=CE=D4=CF=CE =EB=CC=C5=D3=D3, http://kless.spb.ru/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 14:04:03 2010 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 D1A9B1065675 for ; Wed, 17 Mar 2010 14:04:03 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-pz0-f196.google.com (mail-pz0-f196.google.com [209.85.222.196]) by mx1.freebsd.org (Postfix) with ESMTP id B37D08FC1C for ; Wed, 17 Mar 2010 14:04:03 +0000 (UTC) Received: by mail-pz0-f196.google.com with SMTP id 34so703600pzk.3 for ; Wed, 17 Mar 2010 07:04:03 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.140.56.2 with SMTP id e2mr764376rva.190.1268834643510; Wed, 17 Mar 2010 07:04:03 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Mar 2010 10:04:03 -0400 X-Google-Sender-Auth: abb5cdf0799d1848 Message-ID: From: Alejandro Imass To: FreeBSD-questions@freebsd.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Kernel dump crash 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, 17 Mar 2010 14:04:03 -0000 On Wed, Mar 17, 2010 at 4:03 AM, Glenn Camilleri wrote= : > Hi, > > > > I have some processes and programs that are custom made to run on FreeBSD= . I > suspect some poor implementation of tcp in these programs, but don=92t ha= ve > the real proof. [...] > > Can you kindly advise ? > Using the core dump is wise but ktrace will probably be easier. Just run like this ktrace [program] 2>&1 | less You should be able to spot the precise failing system call quite easily Best, Alejandro Imass > > > BR, > > Glenn Camilleri > > -- > Best Regards, > Glenn Camilleri > > > > -- > Best Regards, > Glenn Camilleri > _______________________________________________ > 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 Wed Mar 17 14:06:16 2010 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 F02881065673 for ; Wed, 17 Mar 2010 14:06:16 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by mx1.freebsd.org (Postfix) with ESMTP id C181E8FC12 for ; Wed, 17 Mar 2010 14:06:16 +0000 (UTC) Received: by pxi38 with SMTP id 38so247072pxi.27 for ; Wed, 17 Mar 2010 07:06:16 -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=X3kpGGUNr7+fv/GjuatbFYYFlKJIkIDoLk3RI77DZyY=; b=jRqWLyJJKC4R0T+hsVQu6181hom2EYkvSky1ckdoebedFrcSFj+ylvM/H0N5KjdMG2 0+0jgcTXVNpAHlnyQxvpBGIDkd/nBdC2XLC2ZUKrd6inIQunXgpV9JCaRfnNNOhsk4Ex wDWycqqaBBQkEKgndKCH8uZcqCZZl8tkKu3iA= 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=iUS7t5/TCR/XZO+RGXPmvoYN5Zfs3XOWgo9sJ1r7FaOz7goKf9SbF1pCNwrY2x47LY iwXVoC3Cf6zYL3mtPl2yrhiRld31UVV+KE/IJMXhEhbRLN4TAqwNBTlfg1B0XMHT7ydo nvjTCho6zBsi6sVF7CjeAPWTGe2HLdznafmjc= MIME-Version: 1.0 Received: by 10.114.187.18 with SMTP id k18mr733495waf.101.1268834772810; Wed, 17 Mar 2010 07:06:12 -0700 (PDT) In-Reply-To: <20100317100958.GA19823@ei.bzerk.org> References: <3351212956-2078109201@intranet.com.mx> <4B99CE33.6070109@ibctech.ca> <20100316192152.GA55366@ozzmosis.com> <6ae50c2d1003161225t161e5918n32e52f4618231ee5@mail.gmail.com> <20100317100958.GA19823@ei.bzerk.org> Date: Wed, 17 Mar 2010 09:06:12 -0500 Message-ID: <3b93bd111003170706w648a963ma12d57b2ebaca01d@mail.gmail.com> From: "Diego F. Arias R." To: Ruben de Groot , google@alexus.org, andrew clarke , freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: FreeBSD Version recommend for OLD machine 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, 17 Mar 2010 14:06:17 -0000 On Wed, Mar 17, 2010 at 5:09 AM, Ruben de Groot wrote: > On Tue, Mar 16, 2010 at 03:25:56PM -0400, alexus typed: > > On Tue, Mar 16, 2010 at 3:21 PM, andrew clarke > wrote: > > > On Fri 2010-03-12 00:16:35 UTC-0500, Steve Bertrand (steve@ibctech.ca) > wrote: > > > > > >> > The machine has a Motherboard that supports 2 double pentium III > > >> > processors with 1GB of ram and a hard disk with 40GB. > > > i'd go w/ 8.0 worse case scenario 7.2 > > and put more memory in that machine it's embarassing :) > > CPU: AMD Enhanced Am486DX4/Am5x86 Write-Back (486-class CPU) > real memory = 67108864 (64 MB) > > soekrisgw> uname -rms > FreeBSD 8.0-STABLE i386 > > Soekris board running fine as a router and firewall. I'm not at all > embarrassed. > > Ruben > > _______________________________________________ > 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" > Mem: 51M Active, 11M Inact, 75M Wired, 4000K Cache, 24M Buf, 1492K Free Swap: 512M Total, 84M Used, 428M Free, 16% Inuse One of my servers, run Web,Mail,Torrent,MySQL,IRSSI and OpenVPN -- mmm, interesante..... From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 14:12:57 2010 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 A4771106566C for ; Wed, 17 Mar 2010 14:12:57 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by mx1.freebsd.org (Postfix) with ESMTP id 854778FC16 for ; Wed, 17 Mar 2010 14:12:57 +0000 (UTC) Received: by pxi38 with SMTP id 38so254725pxi.27 for ; Wed, 17 Mar 2010 07:12:57 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.141.88.3 with SMTP id q3mr791351rvl.218.1268835176924; Wed, 17 Mar 2010 07:12:56 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Mar 2010 10:12:56 -0400 X-Google-Sender-Auth: 1db151f77e542fbd Message-ID: From: Alejandro Imass To: FreeBSD-questions@freebsd.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Kernel dump crash 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, 17 Mar 2010 14:12:57 -0000 On Wed, Mar 17, 2010 at 10:04 AM, Alejandro Imass wrote: > On Wed, Mar 17, 2010 at 4:03 AM, Glenn Camilleri wro= te: >> Hi, >> >> >> >> I have some processes and programs that are custom made to run on FreeBS= D. I >> suspect some poor implementation of tcp in these programs, but don=92t h= ave >> the real proof. > [...] >> >> Can you kindly advise ? >> > > Using the core dump is wise but ktrace will probably be easier. Just > run like this ktrace [program] 2>&1 | less > You should be able to spot the precise failing system call quite easily > Ooops, my Linux background betrayed me, sorry (was thinking of strace). ktrace will produce a file which you later need to analyze with kdump. Running is the same but forget the output redirection, there is a -f switch to specify the outfile. > Best, > Alejandro Imass > >> >> >> BR, >> >> Glenn Camilleri >> >> -- >> Best Regards, >> Glenn Camilleri >> >> >> >> -- >> Best Regards, >> Glenn Camilleri >> _______________________________________________ >> 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 Mar 17 14:16:18 2010 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 14BE2106566C for ; Wed, 17 Mar 2010 14:16:18 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id E5FC08FC17 for ; Wed, 17 Mar 2010 14:16:17 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Nru2d-00086K-4e; Wed, 17 Mar 2010 10:16:16 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 51EFF3D023EF; Wed, 17 Mar 2010 10:16:11 -0400 (EDT) Message-ID: <4BA0E429.2080307@FreeBSD.org> Date: Wed, 17 Mar 2010 10:16:09 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: n dhert References: In-Reply-To: X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) Cc: freebsd-questions@freebsd.org Subject: Re: svn 1.6 config options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 14:16:18 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 n dhert wrote: > # cd /usr/ports/devel/subversion > # make showconfig > ===> The following configuration options are available for subversion-1.6.9: > MOD_DAV_SVN=on "mod_dav_svn module for Apache 2.X" > APACHE2_APR=on "Use APR from Apache 2.X" > MOD_DONTDOTHAT=off "mod_dontdothat for Apache 2.X" > NEON=on "WebDAV/Delta-V repo access module (neon)" > SERF=off "WebDAV/Delta-V repo access module (serf)" > SASL=off "SASL2 authorization support" > BDB=on "db4 repository backend" > ASVN=off "Build and install Archive SVN (asvn)" > MAINTAINER_DEBUG=off "Build debug version" > SVNSERVE_WRAPPER=off "Enable svnserve wrapper" > STATIC=off "Build static version (no shared libs)" > BOOK=off "Install the Subversion Book" > ===> Use 'make config' to modify these settings > about encrypting cached passwords (for gnome or kde clients), the official > subversion-1.6. doc says > the binaries must be compiled with the --with-genome-keyring / > --with-kwallet parameter. > I don't see anything about that in make showconfig > How to do it? > Hi there, The Subversion port Makefile/Makefile.common files need a patch to support these options. Once the patch has been prepared and tested, it should be submitted to the PR system here (http://www.freebsd.org/send-pr.html) or using send-pr from the command line. Do you have any experience creating ports or patching existing ports? Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLoOQo0sRouByUApARAjuoAJ44JVcV5bYAL6GRTcEqgzGJ4hBvgQCeK/gI zqP9h2VrAszNQn+pvl2aiYA= =12/T -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 14:32:02 2010 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 AADC71065687 for ; Wed, 17 Mar 2010 14:32:02 +0000 (UTC) (envelope-from antoniok.spb@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 3FF3A8FC12 for ; Wed, 17 Mar 2010 14:32:01 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so378986fgg.13 for ; Wed, 17 Mar 2010 07:32:01 -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=Mx3KuxOSsh/yJBEzCyaF4Uv8xXzJfr/SlkVHO5bsT00=; b=uhEOKmzY+q+udXuTS3WEjtn/QkvSQZXuhbQKrt66d1MolHBxEtdXVFAq0GY593kAWd dwDLI3dZK4qrwMqY25xeB/JpFK6Z7c7OtXcoe3b6MkLTKe8w2jnlqnQS4cEpsB+oFIN0 W5Pi325qj+XdiW53SDe7VMz3Y8FG9WgyyTzFI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=moAN2XQrmvuU/AcjnI82A1oDY0GNS6qSoQO08yFZgEAvUmhn21ESXC+1rlCCC44qEL ALF6IpDVMUdVTLJhBr2Nn14jOr+kpzwdX0jlxwJiwzGEU14c5Rck23Vox76hl5Oy4Iaq uf08ZnV+NWzfynWOSNct9xUULe7HkKnqKaHsk= MIME-Version: 1.0 Received: by 10.239.132.5 with SMTP id 5mr1200205hbp.137.1268834672364; Wed, 17 Mar 2010 07:04:32 -0700 (PDT) From: =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= Date: Wed, 17 Mar 2010 16:56:20 +0300 Message-ID: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Which version of FreeBSD is it? 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, 17 Mar 2010 14:32:02 -0000 I have the server that's running FreeBSD for the last few years, but I saw it only year ago and know nothing about when and how was installed FreeBSD on it. # uname -a FreeBSD myhost.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar 5 01:37:03 MSK 2010 root@myhost.net:/usr/obj/usr/src/sys/MYKERN amd64 Is it RELEASE, STABLE or what? From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 14:36:06 2010 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 65A24106564A for ; Wed, 17 Mar 2010 14:36:06 +0000 (UTC) (envelope-from bas@kompasmedia.nl) Received: from asterix.area536.com (static.17.18.47.78.clients.your-server.de [78.47.18.17]) by mx1.freebsd.org (Postfix) with ESMTP id 21EAB8FC0A for ; Wed, 17 Mar 2010 14:36:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by asterix.area536.com (Postfix) with ESMTP id 7FAF127E6D; Wed, 17 Mar 2010 15:36:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at asterix.area536.com Received: from asterix.area536.com ([127.0.0.1]) by localhost (asterix.area536.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ftHSNtiXCimC; Wed, 17 Mar 2010 15:35:58 +0100 (CET) Received: by asterix.area536.com (Postfix, from userid 33) id 6214227E66; Wed, 17 Mar 2010 15:35:58 +0100 (CET) To: =?UTF-8?Q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD_=D0=9A=D0=BB=D0=B5=D1=81=D1=81?= MIME-Version: 1.0 Date: Wed, 17 Mar 2010 15:35:58 +0100 From: "Bas v.d. Wiel" In-Reply-To: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> Message-ID: <0b9982274818d454f23bc89ac74d30f5@asterix.area536.com> X-Sender: bas@kompasmedia.nl User-Agent: RoundCube Webmail/0.2.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Cc: freebsd-questions@freebsd.org Subject: Re: Which version of FreeBSD is it? 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, 17 Mar 2010 14:36:06 -0000 On Wed, 17 Mar 2010 16:56:20 +0300, Антон Клесс wrote: > I have the server that's running FreeBSD for the last few years, but I saw > it only year ago and know nothing about when and how was installed FreeBSD > on it. > > # uname -a > FreeBSD myhost.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar 5 01:37:03 MSK > 2010 root@myhost.net:/usr/obj/usr/src/sys/MYKERN amd64 > > Is it RELEASE, STABLE or what? It is what it says it is: 6.2-RC1, meaning Release Candidate 1. That's a development/test version. If this is a production system it would be a very good idea to replace it with the current 8.0 RELEASE, which will give you at least proper patch maintenance. Bas From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 15:08:58 2010 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 619C9106568D for ; Wed, 17 Mar 2010 15:08:58 +0000 (UTC) (envelope-from antoniok.spb@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id E569A8FC20 for ; Wed, 17 Mar 2010 15:08:57 +0000 (UTC) Received: by fxm24 with SMTP id 24so609405fxm.3 for ; Wed, 17 Mar 2010 08:08:56 -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=wlFB9F4AW6Z6YxID4gEJ18o+ghmt8sgVRrMPNWG/Lac=; b=TQnAUlYq9L0ja4y4Nf6Vy8cSilqV5hXxr4VHrc2D98Ks26szThMzp3bnpWPIQrFvRO kR2A/+PVfNwu40iVyTfTIxKmUAS8OLL2d2LhgVxEJdC+qpmaIYlUQK3D0F0vQsR7Aaae sDGZmC/DTk1YAtlrNelilUo1dBl1DmqdMf7DE= 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=V9rJ4a/KS9GXGfAn7fpwF5ze8R+tMdt1ABm00GtHXj+199+caOgG66i6XoPbztOy4r KZ23OYWfxszagWlCy1VH0U5MDkYiXpy8oh1oUXt0SZ3NibaLiC7+YpFf+tGdCy9xLosn IT6h2RtpV8VeEn/lpyokyI4gxqtL64MhcL6Y4= MIME-Version: 1.0 Received: by 10.239.190.65 with SMTP id w1mr1309540hbh.126.1268837154203; Wed, 17 Mar 2010 07:45:54 -0700 (PDT) In-Reply-To: <0b9982274818d454f23bc89ac74d30f5@asterix.area536.com> References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> <0b9982274818d454f23bc89ac74d30f5@asterix.area536.com> From: =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= Date: Wed, 17 Mar 2010 17:45:34 +0300 Message-ID: <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> To: "Bas v.d. Wiel" 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: Which version of FreeBSD is it? 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, 17 Mar 2010 15:08:58 -0000 That is what I suspected for. What is the most safe way to upgrade it, remembering that this is productio= n server and I have to keep it working properly? 6.2-RC1 -> 6.2 RELEASE -> 7.2 RELEASE -> 8.0 RELEASE, or somehow in this style? 2010/3/17 Bas v.d. Wiel > > On Wed, 17 Mar 2010 16:56:20 +0300, =E1=CE=D4=CF=CE =EB=CC=C5=D3=D3 > wrote: > > I have the server that's running FreeBSD for the last few years, but I > saw > > it only year ago and know nothing about when and how was installed > FreeBSD > > on it. > > > > # uname -a > > FreeBSD myhost.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar 5 01:37:03 MSK > > 2010 root@myhost.net:/usr/obj/usr/src/sys/MYKERN amd64 > > > > Is it RELEASE, STABLE or what? > > It is what it says it is: 6.2-RC1, meaning Release Candidate 1. That's a > development/test version. If this is a production system it would be a ve= ry > good idea to replace it with the current 8.0 RELEASE, which will give you > at least proper patch maintenance. > > Bas > --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E1=CE=D4=CF=CE =EB=CC=C5=D3=D3, http://kless.spb.ru/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 15:23:10 2010 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 6E836106566C for ; Wed, 17 Mar 2010 15:23:10 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from gate.criticalsoftware.com (gate.criticalsoftware.com [62.28.132.186]) by mx1.freebsd.org (Postfix) with ESMTP id 256BD8FC14 for ; Wed, 17 Mar 2010 15:23:09 +0000 (UTC) Received: from [192.168.1.98] (unknown [192.168.1.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.criticalsoftware.com (Postfix) with ESMTP id A7A2F2284C6; Wed, 17 Mar 2010 15:23:07 +0000 (WET) Message-ID: <4BA0F3DD.8010604@gmail.com> Date: Wed, 17 Mar 2010 15:23:09 +0000 From: Ricardo Jesus User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b2pre Thunderbird/3.0 MIME-Version: 1.0 To: =?KOI8-R?Q?=E1=CE=D4=CF=CE_=EB=CC=C5=D3=D3?= References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> <0b9982274818d454f23bc89ac74d30f5@asterix.area536.com> <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> In-Reply-To: <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable Cc: "Bas v.d. Wiel" , freebsd-questions@freebsd.org Subject: Re: Which version of FreeBSD is it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ricardo.m.jesus@criticalsoftware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 15:23:10 -0000 On 17/03/2010 14:45, =E1=CE=D4=CF=CE =EB=CC=C5=D3=D3 wrote: > That is what I suspected for. > > What is the most safe way to upgrade it, remembering that this is produ= ction > server and I have to keep it working properly? > > 6.2-RC1 -> 6.2 RELEASE -> 7.2 RELEASE -> 8.0 RELEASE, or somehow in = this > style? > > > > 2010/3/17 Bas v.d. Wiel > >> >> On Wed, 17 Mar 2010 16:56:20 +0300, =E1=CE=D4=CF=CE =EB=CC=C5=D3=D3 >> wrote: >>> I have the server that's running FreeBSD for the last few years, but = I >> saw >>> it only year ago and know nothing about when and how was installed >> FreeBSD >>> on it. >>> >>> # uname -a >>> FreeBSD myhost.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar 5 01:37:03 MS= K >>> 2010 root@myhost.net:/usr/obj/usr/src/sys/MYKERN amd64 >>> >>> Is it RELEASE, STABLE or what? >> >> It is what it says it is: 6.2-RC1, meaning Release Candidate 1. That's= a >> development/test version. If this is a production system it would be a= very >> good idea to replace it with the current 8.0 RELEASE, which will give = you >> at least proper patch maintenance. >> >> Bas >> > > > It should be 6.2-RC1 -> 6.2 -> 6.4 -> 7.2 -> 8.0 Dont' think freebsd-update supports 6.2 (AFAIR it supports from 6.4=20 onwards), so you probably will have to use csup. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 16:09:15 2010 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 55637106567C for ; Wed, 17 Mar 2010 16:09:15 +0000 (UTC) (envelope-from miki@ceti.pl) Received: from relay.ceti.pl (relay.ceti.pl [62.121.128.10]) by mx1.freebsd.org (Postfix) with ESMTP id 0BDB58FC16 for ; Wed, 17 Mar 2010 16:09:13 +0000 (UTC) Received: from tau.ceti.pl (tau.ceti.pl [62.121.128.11]) by relay.ceti.pl (Postfix) with ESMTP id 9AE15D4FD2 for ; Wed, 17 Mar 2010 16:36:39 +0100 (CET) Received: from [10.20.64.84] (unknown [89.174.237.33]) by tau.ceti.pl (Postfix) with ESMTP id 5F241202FF0 for ; Wed, 17 Mar 2010 16:36:39 +0100 (CET) Message-ID: <4BA0F706.1010209@ceti.pl> Date: Wed, 17 Mar 2010 16:36:38 +0100 From: Mikolaj Rydzewski User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> <0b9982274818d454f23bc89ac74d30f5@asterix.area536.com> <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> In-Reply-To: <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Which version of FreeBSD is it? 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, 17 Mar 2010 16:09:15 -0000 wrote: > That is what I suspected for. > > What is the most safe way to upgrade it, remembering that this is production > server and I have to keep it working properly? > > 6.2-RC1 -> 6.2 RELEASE -> 7.2 RELEASE -> 8.0 RELEASE, or somehow in this > style? > If it works, do not fix it! Actually, I'm facing exactly the same problem now: I want to upgrade 6.2-RELEASE to something (8.0?) newer. Since I don't have spare machine for tests, I'm playing now with VirtualBox (hosted on Linux). I'd like to test upgrade using cvsup/buildworld. After I will success on virtualbox I'll perform the same path on real machine. -- Mikolaj Rydzewski From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 16:36:26 2010 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 16549106566C for ; Wed, 17 Mar 2010 16:36:26 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id C19348FC36 for ; Wed, 17 Mar 2010 16:36:25 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o2HGaEwn029337 for ; Wed, 17 Mar 2010 11:36:14 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201003171636.o2HGaEwn029337@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29335.1268843774.1@dc.cis.okstate.edu> Date: Wed, 17 Mar 2010 11:36:14 -0500 From: Martin McCormick Subject: Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit? 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, 17 Mar 2010 16:36:26 -0000 Chris Rees writes: sysctl hw.machine_arch It and uname -m work beautifully. Thanks to all. One thing I discovered while trying this command out on various systems is that if the system was originally built using i386 code, it reports as i386 even though there is a 64-bit platform struggling to get out. In my script, this is not a problem because the mfsboot CDROM for 32-bit boxes chokes on a 64-bit platform and will not boot. When on a 64-bit system, it boots like gang busters and since it installs its own OS, there is no question at all. Thank you all. Martin McCormick From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 16:50:52 2010 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 68EDC106564A for ; Wed, 17 Mar 2010 16:50:52 +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 43D7A8FC16 for ; Wed, 17 Mar 2010 16:50:52 +0000 (UTC) Received: (qmail 27745 invoked from network); 17 Mar 2010 16:50:51 -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 ; 17 Mar 2010 16:50:51 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 928105088A; Wed, 17 Mar 2010 12:50:50 -0400 (EDT) From: Lowell Gilbert To: Martin McCormick References: <201003171636.o2HGaEwn029337@dc.cis.okstate.edu> Date: Wed, 17 Mar 2010 12:50:50 -0400 In-Reply-To: <201003171636.o2HGaEwn029337@dc.cis.okstate.edu> (Martin McCormick's message of "Wed, 17 Mar 2010 11:36:14 -0500") Message-ID: <44ljdqevth.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: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit? 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, 17 Mar 2010 16:50:52 -0000 Martin McCormick writes: > One thing I discovered while trying this command out on > various systems is that if the system was originally built using > i386 code, it reports as i386 even though there is a 64-bit > platform struggling to get out. That sounds correct to me. It's reporting the architecture of the OS, not of the CPU, and that's what you actually need to know. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 16:51:25 2010 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 AED13106567D for ; Wed, 17 Mar 2010 16:51:25 +0000 (UTC) (envelope-from prvs=685a5c2ca=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id 840428FC12 for ; Wed, 17 Mar 2010 16:51:25 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAEueoEuBbgog/2dsb2JhbACbe7lbhHYEgxo X-IronPort-AV: E=Sophos;i="4.49,658,1262584800"; d="scan'208";a="27192114" Received: from zxtm01.utdallas.edu (HELO utd65257.utdallas.edu) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Mar 2010 11:22:18 -0500 Date: Wed, 17 Mar 2010 11:22:17 -0500 From: Paul Schmehl To: FreeBSD Questions Message-ID: <10E075E52DED228526F5ECAB@utd65257.utdallas.edu> X-Mailer: Mulberry/4.0.8 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Irritating delay in mouse in kde4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 16:51:25 -0000 I recently upgraded from FreeBSD 7.2 STABLE to 8.0 STABLE. I also upgraded from KDE3 to KDE4 and rebuilt all my ports. Everything seems to work fine except the mouse. There is an irritating delay that I can't seem to get rid of. For example, if I mouse to the address line in Firefox and begin typing in a url, nothing happens until I move the mouse. Then, suddenly, what I typed will appear in the address bar. If I'm working in a shell, for example running portupgrade, nothing happens until I move the mouse. Then suddenly portupgrade will start working. Has anyone seen this type of behavior? Have any idea what the cause might be or where to look to troubleshoot the issue? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 17:04:00 2010 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 35BBF1065670 for ; Wed, 17 Mar 2010 17:04:00 +0000 (UTC) (envelope-from bas@kompasmedia.nl) Received: from asterix.area536.com (static.17.18.47.78.clients.your-server.de [78.47.18.17]) by mx1.freebsd.org (Postfix) with ESMTP id E6C118FC18 for ; Wed, 17 Mar 2010 17:03:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by asterix.area536.com (Postfix) with ESMTP id 5444D27E77; Wed, 17 Mar 2010 18:03:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at asterix.area536.com Received: from asterix.area536.com ([127.0.0.1]) by localhost (asterix.area536.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RcKGFF0di-El; Wed, 17 Mar 2010 18:03:56 +0100 (CET) Received: by asterix.area536.com (Postfix, from userid 33) id 2625E27E76; Wed, 17 Mar 2010 18:03:55 +0100 (CET) To: Mikolaj Rydzewski MIME-Version: 1.0 Date: Wed, 17 Mar 2010 18:03:55 +0100 From: "Bas v.d. Wiel" In-Reply-To: <4BA0F706.1010209@ceti.pl> References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> <0b9982274818d454f23bc89ac74d30f5@asterix.area536.com> <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> <4BA0F706.1010209@ceti.pl> Message-ID: <57443e3f6cec390a13ed02c4d1d9afa4@asterix.area536.com> X-Sender: bas@kompasmedia.nl User-Agent: RoundCube Webmail/0.2.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Cc: freebsd-questions@freebsd.org Subject: Re: Which version of FreeBSD is it? 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, 17 Mar 2010 17:04:00 -0000 On Wed, 17 Mar 2010 16:36:38 +0100, Mikolaj Rydzewski wrote: > Антон Клесс wrote: >> That is what I suspected for. >> >> What is the most safe way to upgrade it, remembering that this is >> production >> server and I have to keep it working properly? >> >> 6.2-RC1 -> 6.2 RELEASE -> 7.2 RELEASE -> 8.0 RELEASE, or somehow in this >> style? >> > If it works, do not fix it! I beg to differ: having a release candidate running in production should never happen so this situation has been sort of broken from the start. Luckily FreeBSD is a rock solid OS! > > Actually, I'm facing exactly the same problem now: I want to upgrade > 6.2-RELEASE to something (8.0?) newer. > > Since I don't have spare machine for tests, I'm playing now with > VirtualBox (hosted on Linux). I'd like to test upgrade using > cvsup/buildworld. After I will success on virtualbox I'll perform the > same path on real machine. Making an image backup of the machine's disk before you start should give you a decent rollback scenario in case things go badly. Bas From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 17:11:28 2010 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 C6637106566B for ; Wed, 17 Mar 2010 17:11:28 +0000 (UTC) (envelope-from svein-listmail@stillbilde.net) Received: from mail.stillbilde.net (unknown [IPv6:2002:51af:3dc3:0:20c:29ff:fece:79f3]) by mx1.freebsd.org (Postfix) with ESMTP id 52D978FC16 for ; Wed, 17 Mar 2010 17:11:28 +0000 (UTC) Received: from [IPv6:2002:51af:3dc3:0:c973:db39:91cc:ef4c] (unknown [IPv6:2002:51af:3dc3:0:c973:db39:91cc:ef4c]) (Authenticated sender: svein-listmail) by mail.stillbilde.net (Familien Skogens mail) with ESMTPSA id 39D6E23; Wed, 17 Mar 2010 18:11:27 +0100 (CET) Message-ID: <4BA10D3E.9090302@stillbilde.net> Date: Wed, 17 Mar 2010 18:11:26 +0100 From: "Svein Skogen (Listmail Account)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> <0b9982274818d454f23bc89ac74d30f5@asterix.area536.com> <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> <4BA0F706.1010209@ceti.pl> <57443e3f6cec390a13ed02c4d1d9afa4@asterix.area536.com> In-Reply-To: <57443e3f6cec390a13ed02c4d1d9afa4@asterix.area536.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: Which version of FreeBSD is it? 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, 17 Mar 2010 17:11:28 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17.03.2010 18:03, Bas v.d. Wiel wrote: > > On Wed, 17 Mar 2010 16:36:38 +0100, Mikolaj Rydzewski wrote: >> Антон Клесс wrote: >>> That is what I suspected for. >>> >>> What is the most safe way to upgrade it, remembering that this is >>> production >>> server and I have to keep it working properly? >>> >>> 6.2-RC1 -> 6.2 RELEASE -> 7.2 RELEASE -> 8.0 RELEASE, or somehow in this >>> style? >>> >> If it works, do not fix it! > > I beg to differ: having a release candidate running in production should > never happen so this situation has been sort of broken from the start. > Luckily FreeBSD is a rock solid OS! > >> >> Actually, I'm facing exactly the same problem now: I want to upgrade >> 6.2-RELEASE to something (8.0?) newer. >> >> Since I don't have spare machine for tests, I'm playing now with >> VirtualBox (hosted on Linux). I'd like to test upgrade using >> cvsup/buildworld. After I will success on virtualbox I'll perform the >> same path on real machine. > > Making an image backup of the machine's disk before you start should give > you a decent rollback scenario in case things go badly. > Wouldn't a RELENG_6 (i.e. 6-Stable) from the "correct" date actually be 6.2-RC1? I'd say that unless the box has stability issues, or there are actual security problems (is this box available from the internet?), the old "if it ain't broken ..." mantra should apply... //Svein - -- - --------+-------------------+------------------------------- /"\ |Svein Skogen | svein@d80.iso100.no \ / |Solberg Østli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein@jernhuset.no | RIPE handle: SS16503-RIPE - --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile@stillbilde.net This mailbox goes directly to my cellphone and is checked even when I'm not in front of my computer. - ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ - ------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuhDT4ACgkQODUnwSLUlKSHFwCfQRE8aZUhAPf4DhAaPnu4YCtt zZgAn2OuV7AFosp5gvCMZmy2EoAxfkb8 =73uM -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 17:16:23 2010 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 B9950106566B for ; Wed, 17 Mar 2010 17:16:23 +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 2C3438FC1D for ; Wed, 17 Mar 2010 17:16:23 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o2HHGHV5018288 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 17 Mar 2010 17:16:17 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BA10E61.2090501@infracaninophile.co.uk> Date: Wed, 17 Mar 2010 17:16:17 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Paul Schmehl References: <10E075E52DED228526F5ECAB@utd65257.utdallas.edu> In-Reply-To: <10E075E52DED228526F5ECAB@utd65257.utdallas.edu> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk Cc: FreeBSD Questions Subject: Re: Irritating delay in mouse in kde4 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, 17 Mar 2010 17:16:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/03/2010 16:22:17, Paul Schmehl wrote: > I recently upgraded from FreeBSD 7.2 STABLE to 8.0 STABLE. I also > upgraded from KDE3 to KDE4 and rebuilt all my ports. Everything seems > to work fine except the mouse. There is an irritating delay that I > can't seem to get rid of. For example, if I mouse to the address line > in Firefox and begin typing in a url, nothing happens until I move the > mouse. Then, suddenly, what I typed will appear in the address bar. > > If I'm working in a shell, for example running portupgrade, nothing > happens until I move the mouse. Then suddenly portupgrade will start > working. > > Has anyone seen this type of behavior? Have any idea what the cause > might be or where to look to troubleshoot the issue? There was a bug in X several months back that resulted in the same symptoms. As I recall, it appeared with first X version that defaulted to using hal and dbus -- a work around was to tweak xorg.conf to restore the old behaviour, by adding entries like this: Section "ServerLayout" [...] Option "AllowEmptyInput" "off" EndSection Check the archives for the full story -- there were more things to twiddle than just that option. The problem was fixed within a couple of weeks, and given that you should have rebuilt everything as part of your 7.2 to 8.0 upgrade, it really shouldn't be affecting you. It might be the case that the same sort of work arounds help in your case though. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuhDmEACgkQ8Mjk52CukIykwgCfVWYq3KbQXq+Ed/6/t0ut+Fve o0YAn3/mxPz90fJuTFHbYNPFUW5YdEW9 =b4kD -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 17:41:04 2010 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 3BEC2106566C for ; Wed, 17 Mar 2010 17:41:04 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from mail-gw6.njit.edu (mail-gw6.njit.edu [128.235.251.157]) by mx1.freebsd.org (Postfix) with ESMTP id 01F3B8FC13 for ; Wed, 17 Mar 2010 17:41:03 +0000 (UTC) Received: from gilgamesh.maestro (dhcp114-142.njit.edu [128.235.114.142]) by mail-gw6.njit.edu (8.14.3/8.14.3) with ESMTP id o2HH5kTi028285 for ; Wed, 17 Mar 2010 13:05:47 -0400 (EDT) Message-ID: <4BA10BEA.1060303@wallnet.com> Date: Wed, 17 Mar 2010 13:05:46 -0400 From: Tim Kellers User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.8) Gecko/20100226 Thunderbird/3.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <10E075E52DED228526F5ECAB@utd65257.utdallas.edu> In-Reply-To: <10E075E52DED228526F5ECAB@utd65257.utdallas.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Irritating delay in mouse in kde4 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, 17 Mar 2010 17:41:04 -0000 On 03/17/10 12:22, Paul Schmehl wrote: > I recently upgraded from FreeBSD 7.2 STABLE to 8.0 STABLE. I also > upgraded from KDE3 to KDE4 and rebuilt all my ports. Everything seems > to work fine except the mouse. There is an irritating delay that I > can't seem to get rid of. For example, if I mouse to the address line > in Firefox and begin typing in a url, nothing happens until I move the > mouse. Then, suddenly, what I typed will appear in the address bar. > > If I'm working in a shell, for example running portupgrade, nothing > happens until I move the mouse. Then suddenly portupgrade will start > working. > > Has anyone seen this type of behavior? Have any idea what the cause > might be or where to look to troubleshoot the issue? > Paul, I had that exact symptom when I upgraded my kde3 ports and upgraded Xorg at the same time. It drove me nuts for a few days until I found the solution. I have some notes I have to go through but I'll post what I did from my notes as soon as I get a chance to review them. (I was tunning 7.2 -STABLE at the time) Tim Kellers NJIT From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 18:16:48 2010 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 531C3106564A for ; Wed, 17 Mar 2010 18:16:48 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s14.blu0.hotmail.com (blu0-omc4-s14.blu0.hotmail.com [65.55.111.153]) by mx1.freebsd.org (Postfix) with ESMTP id 0664C8FC20 for ; Wed, 17 Mar 2010 18:16:47 +0000 (UTC) Received: from BLU0-SMTP13 ([65.55.111.135]) by blu0-omc4-s14.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Mar 2010 11:16:46 -0700 X-Originating-IP: [67.189.160.65] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([67.189.160.65]) by BLU0-SMTP13.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Mar 2010 11:16:45 -0700 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 59A8822831 for ; Wed, 17 Mar 2010 14:16:44 -0400 (EDT) Date: Wed, 17 Mar 2010 14:16:43 -0400 From: Carmel To: freebsd-questions@freebsd.org In-Reply-To: <4BA0BBF9.3000805@christianhansen.name> References: <201003171151.37263.pieter@degoeje.nl> <4BA0BBF9.3000805@christianhansen.name> Organization: seibercom.net X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd7.3) 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=UTF-8 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 17 Mar 2010 18:16:46.0021 (UTC) FILETIME=[00DB2F50:01CAC5FE] Subject: Re: Still unable to update kdelibs3 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, 17 Mar 2010 18:16:48 -0000 On Wed, 17 Mar 2010 12:24:41 +0100 Christian Hansen articulated: > did you read: > /usr/ports/UPDATING > > 20100205 and 20090719 > > I think that would help you. Been there, done that. Problems still existed. I checked on other forums and observed other users with similar problems. No doubt, it has a lot to do with what and how a user has their system setup. Totally deleting the offending programs en masse and reinstalling them was the only functional solution. -- Carmel carmel_ny@hotmail.com |::::======= |::::======= |=========== |=========== | If you have nothing to do, don't do it here. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 18:19:39 2010 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 54CF81065673 for ; Wed, 17 Mar 2010 18:19:39 +0000 (UTC) (envelope-from Herbey.Zepeda@atg.in.gov) Received: from mailhub2.isd.state.in.us (mailhub.isd.state.in.us [12.186.81.57]) by mx1.freebsd.org (Postfix) with ESMTP id 2CCDE8FC08 for ; Wed, 17 Mar 2010 18:19:38 +0000 (UTC) Received: from atgind05f-as023.atg.in.local (atgind05f-as023.atg.in.local [10.90.64.42]) by mailhub2.isd.state.in.us (Postfix) with ESMTP id A04022A80C0 for ; Wed, 17 Mar 2010 14:02:14 -0400 (EDT) x-ipfrom: 10.90.64.53 Content-Class: urn:content-classes:message Importance: normal Received: from atgind05f-as026.atg.in.local [10.90.64.53] via TLS by atgind05f-as023.atg.in.local; Wed, 17 Mar 2010 14:02:05 -0400 Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Received: from atgind05f-as026.atg.in.local ([10.90.64.53]) by atgind05f-as026.atg.in.local ([10.90.64.53]) with mapi; Wed, 17 Mar 2010 14:02:04 -0400 From: "Zepeda, Herbey" To: Date: Wed, 17 Mar 2010 14:02:03 -0400 Thread-Topic: multicore processing question Thread-Index: AcrF+ShowHLPIQmNQVyeSZ7o0EIMVwAAUqUA Message-ID: References: <10E075E52DED228526F5ECAB@utd65257.utdallas.edu> <4BA10BEA.1060303@wallnet.com> In-Reply-To: <4BA10BEA.1060303@wallnet.com> 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: multicore processing 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: Wed, 17 Mar 2010 18:19:39 -0000 Hi,=20 I'm relatively new to FreeBSD and have had a hard time get to the right = information relating multicore processing. I hope someone can give me = some pointers. I have a two core processor and FreeBSD (latest stable release). Question: If I have a c program that creates child processes with fork and exec = (in a non blocking way), will the child processes be executed by FreeBSD = in parallel using the different cores without me having to do special = synchronization arrangements to my program? Will I need threads instead of processes?=20 thanks Statement of Confidentiality: The information in this message is = privileged and confidential and it is intended only for the use of the = individual or entity named above. If the reader of this message is not = the intended recipient, you are hereby notified that you are prohibited = from disseminating, distributing, or copying the information contained = in this message. If you have received this message in error, please = notify the sender immediately and destroy all copies of the original = message. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 18:44:36 2010 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 7E981106566C for ; Wed, 17 Mar 2010 18:44:36 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 606F38FC13 for ; Wed, 17 Mar 2010 18:44:36 +0000 (UTC) Received: by pxi12 with SMTP id 12so1048705pxi.14 for ; Wed, 17 Mar 2010 11:44:35 -0700 (PDT) Received: by 10.143.153.22 with SMTP id f22mr724753wfo.126.1268851475725; Wed, 17 Mar 2010 11:44:35 -0700 (PDT) Received: from papi.localnet ([189.70.193.124]) by mx.google.com with ESMTPS id 33sm57327423vws.10.2010.03.17.11.44.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Mar 2010 11:44:34 -0700 (PDT) From: Mario Lobo To: freebsd-questions@freebsd.org Date: Wed, 17 Mar 2010 15:46:00 +0000 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.5; amd64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201003171546.00190.lobo@bsd.com.br> Subject: Measuring Free memory 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, 17 Mar 2010 18:44:36 -0000 Hi to all; I am trying to get the most precise reading I can of all free memory (8- STABLE). I am using /usr/bin/vmstat | grep -a 2 | awk '{print $5}' But I'm not sure if this reflects ALL free memory. Would anyone have a more precise place to read free memory from? Thanks -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE) From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 18:49:04 2010 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 334CD1065678 for ; Wed, 17 Mar 2010 18:49:04 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id E39928FC0A for ; Wed, 17 Mar 2010 18:49:03 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o2HIn3EL020525; Wed, 17 Mar 2010 12:49:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o2HIn2FO020522; Wed, 17 Mar 2010 12:49:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 17 Mar 2010 12:49:02 -0600 (MDT) From: Warren Block To: Paul Schmehl In-Reply-To: <10E075E52DED228526F5ECAB@utd65257.utdallas.edu> Message-ID: References: <10E075E52DED228526F5ECAB@utd65257.utdallas.edu> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Wed, 17 Mar 2010 12:49:03 -0600 (MDT) Cc: FreeBSD Questions Subject: Re: Irritating delay in mouse in kde4 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, 17 Mar 2010 18:49:04 -0000 On Wed, 17 Mar 2010, Paul Schmehl wrote: > I recently upgraded from FreeBSD 7.2 STABLE to 8.0 STABLE. I also upgraded > from KDE3 to KDE4 and rebuilt all my ports. Everything seems to work fine > except the mouse. There is an irritating delay that I can't seem to get rid > of. For example, if I mouse to the address line in Firefox and begin typing > in a url, nothing happens until I move the mouse. Then, suddenly, what I > typed will appear in the address bar. > > If I'm working in a shell, for example running portupgrade, nothing happens > until I move the mouse. Then suddenly portupgrade will start working. > > Has anyone seen this type of behavior? Have any idea what the cause might be > or where to look to troubleshoot the issue? Do you have an AllowEmptyInput line in xorg.conf? If so, remove it. If you need to disable HAL input device detection, use Option "AutoAddDevices" "false" -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 19:03:06 2010 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 5E01A106566B for ; Wed, 17 Mar 2010 19:03:06 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id 381888FC12 for ; Wed, 17 Mar 2010 19:03:05 +0000 (UTC) Received: (qmail 1415 invoked from network); 17 Mar 2010 19:03:05 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Mar 2010 19:03:05 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id B801A50889; Wed, 17 Mar 2010 15:03:03 -0400 (EDT) From: Lowell Gilbert To: Mario Lobo References: <201003171546.00190.lobo@bsd.com.br> Date: Wed, 17 Mar 2010 15:03:03 -0400 In-Reply-To: <201003171546.00190.lobo@bsd.com.br> (Mario Lobo's message of "Wed, 17 Mar 2010 15:46:00 +0000") Message-ID: <44d3z2epp4.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: Measuring Free memory 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, 17 Mar 2010 19:03:06 -0000 Mario Lobo writes: > I am trying to get the most precise reading I can of all free memory (8- > STABLE). First, you'll need a precise definition of what you mean by "free memory". > I am using > /usr/bin/vmstat | grep -a 2 | awk '{print $5}' > > But I'm not sure if this reflects ALL free memory. > > Would anyone have a more precise place to read free memory from? Add the "-H" flag to get that value more precise. I suspect, however, that precision isn't really the right term for what you're after. Have you seen: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM and http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FREE-MEMORY-AMOUNT by any chance? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 19:16:51 2010 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 38CA6106566C for ; Wed, 17 Mar 2010 19:16:51 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0B86C8FC0A for ; Wed, 17 Mar 2010 19:16:50 +0000 (UTC) Received: by pwj4 with SMTP id 4so1154590pwj.13 for ; Wed, 17 Mar 2010 12:16:50 -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=7tIziuJJjzrWNR+kZKHHKYnU9H2WNipEWWavag7ElUA=; b=JlBdKKvlf57adIZ+dPswL4qsvM5QO/nh6vyNSlprr8umkql3N1vssZvaT5FQh3bUjP kdNUhp9capkdLeMKfOYFpT1dKo1ILYw229PWjsHfPPVNmNzQtOMd1F54aBrSdGNrFGl7 aDZGq0YdKP5zME/zI/fBj+0Fc3kaNY2EQ1DEY= 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=h8uP5BlhQXxpbIqlJ4ZFVGumbyDvonY1bLMgBBiMcXv1ZPdxGUME+cZEOrnbmiMG0i X387r8yoUXkClQ7DhYDPDw/Cc1bCPuOc+DP5QqS2MWrOHvSvIsYxmRjCWpmtzukFk0vT 551sKHDXHc90pspEIV7ZrdvSFDGCYN9ZGP3WE= MIME-Version: 1.0 Received: by 10.142.67.34 with SMTP id p34mr488007wfa.335.1268853408527; Wed, 17 Mar 2010 12:16:48 -0700 (PDT) In-Reply-To: References: <10E075E52DED228526F5ECAB@utd65257.utdallas.edu> <4BA10BEA.1060303@wallnet.com> Date: Wed, 17 Mar 2010 14:16:48 -0500 Message-ID: <6201873e1003171216q40e102dev23b6059f22e92b8@mail.gmail.com> From: Adam Vande More To: "Zepeda, Herbey" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: multicore processing 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: Wed, 17 Mar 2010 19:16:51 -0000 On Wed, Mar 17, 2010 at 1:02 PM, Zepeda, Herbey wrote: > Hi, > > I'm relatively new to FreeBSD and have had a hard time get to the right > information relating multicore processing. I hope someone can give me some > pointers. > > I have a two core processor and FreeBSD (latest stable release). > > Question: > > If I have a c program that creates child processes with fork and exec (in a > non blocking way), will the child processes be executed by FreeBSD in > parallel using the different cores without me having to do special > synchronization arrangements to my program? > Well probably...processes are automatically on SMP kernels so a basic example is if you have 2 cores and 2 processes which are each utilizing 100% of cpu time, then each process would be assigned to a separate core. However in practice executions states are much more complicated and both processes may be assigned to a single core under certain conditions eg one is in a sleep state. The short story is this is all handled automatically, and many applications run just fine without any further tweaking > Will I need threads instead of processes? > Really depends on your need, but in general properly creating threaded safe applications is significantly harder(at least to my understanding, I don't do it). If you need to use this route, you can check out http://www.osnews.com/story/22152/Apple_Releases_Grand_Central_Dispatch_as_Open_Source It's available on FreeBSD. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 19:24:25 2010 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 7B10E106566C for ; Wed, 17 Mar 2010 19:24:25 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qy0-f190.google.com (mail-qy0-f190.google.com [209.85.221.190]) by mx1.freebsd.org (Postfix) with ESMTP id 3D1E18FC31 for ; Wed, 17 Mar 2010 19:24:24 +0000 (UTC) Received: by qyk28 with SMTP id 28so689437qyk.14 for ; Wed, 17 Mar 2010 12:24:24 -0700 (PDT) Received: by 10.224.115.74 with SMTP id h10mr406569qaq.372.1268853864268; Wed, 17 Mar 2010 12:24:24 -0700 (PDT) Received: from papi.localnet ([189.70.193.124]) by mx.google.com with ESMTPS id 7sm3140049qwf.54.2010.03.17.12.24.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Mar 2010 12:24:23 -0700 (PDT) From: Mario Lobo To: freebsd-questions@freebsd.org Date: Wed, 17 Mar 2010 16:25:56 +0000 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.5; amd64; ; ) References: <201003171546.00190.lobo@bsd.com.br> <44d3z2epp4.fsf@be-well.ilk.org> In-Reply-To: <44d3z2epp4.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003171625.56749.lobo@bsd.com.br> Subject: Re: Measuring Free memory 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, 17 Mar 2010 19:24:25 -0000 On Wednesday 17 March 2010 19:03:03 Lowell Gilbert wrote: > First, you'll need a precise definition of what you mean by "free memory". Free physical memory available. > > Add the "-H" flag to get that value more precise. I suspect, however, > that precision isn't really the right term for what you're after. I caught the -H flag right after I wrote the mail. The result has to be multiplied by 1024. It's possible you're right but what I am trying to do is to monitor the amount of free physical memory still on the system. To make a long story short, I am in a long stretch in trying to find out why 8-STABLE amd64+VBox+nvidia driver is freezing my system to power button point. > Have you seen: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM > and > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FREE-MEMOR > Y-AMOUNT by any chance? > Those were nice, Thanks. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE) From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 19:31:16 2010 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 A86CD1065672 for ; Wed, 17 Mar 2010 19:31:16 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 683378FC13 for ; Wed, 17 Mar 2010 19:31:16 +0000 (UTC) Received: from emlpfilt2.waddell.com (emlpfilt2.waddell.com [10.1.10.30]) by mailhost0.waddell.com (Postfix) with ESMTP id 7007050841; Wed, 17 Mar 2010 14:29:05 -0500 (CDT) Received: from emlpfilt2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 938112F8001; Wed, 17 Mar 2010 14:31:05 -0500 (CDT) Received: from advpexv0.wradvisors.com (advpexb1.wradvisors.com [192.168.203.21]) by emlpfilt2.waddell.com (Postfix) with ESMTP id 806C02F8004; Wed, 17 Mar 2010 14:31:05 -0500 (CDT) Received: from ADVPHTCAS0.wradvisors.com ([192.168.203.228]) by advpexv0.wradvisors.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Mar 2010 14:30:21 -0500 Received: from WADPMBXV0.waddell.com ([169.254.1.205]) by ADVPHTCAS0.wradvisors.com ([192.168.203.228]) with mapi; Wed, 17 Mar 2010 14:30:21 -0500 From: Gary Gatten To: 'Adam Vande More' , "Zepeda, Herbey" Date: Wed, 17 Mar 2010 14:30:20 -0500 Thread-Topic: multicore processing question Thread-Index: AcrGBnRcQz4Pdh4WQyqWLmOXEo/DHgAAcD2A Message-ID: <9280_1268854265_4BA12DF9_9280_37_2_D9B37353831173459FDAA836D3B434994A3342CC@WADPMBXV0.waddell.com> References: <10E075E52DED228526F5ECAB@utd65257.utdallas.edu> <4BA10BEA.1060303@wallnet.com> <6201873e1003171216q40e102dev23b6059f22e92b8@mail.gmail.com> In-Reply-To: <6201873e1003171216q40e102dev23b6059f22e92b8@mail.gmail.com> 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 X-OriginalArrivalTime: 17 Mar 2010 19:30:21.0620 (UTC) FILETIME=[48C21F40:01CAC608] Cc: "freebsd-questions@freebsd.org" Subject: RE: multicore processing 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: Wed, 17 Mar 2010 19:31:16 -0000 Thanks for posting the link to GCD. Interesting info is always welcomed! Gary -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@f= reebsd.org] On Behalf Of Adam Vande More Sent: Wednesday, March 17, 2010 2:17 PM To: Zepeda, Herbey Cc: freebsd-questions@freebsd.org Subject: Re: multicore processing question On Wed, Mar 17, 2010 at 1:02 PM, Zepeda, Herbey w= rote: > Hi, > > I'm relatively new to FreeBSD and have had a hard time get to the right > information relating multicore processing. I hope someone can give me some > pointers. > > I have a two core processor and FreeBSD (latest stable release). > > Question: > > If I have a c program that creates child processes with fork and exec (in= a > non blocking way), will the child processes be executed by FreeBSD in > parallel using the different cores without me having to do special > synchronization arrangements to my program? > Well probably...processes are automatically on SMP kernels so a basic example is if you have 2 cores and 2 processes which are each utilizing 100% of cpu time, then each process would be assigned to a separate core. However in practice executions states are much more complicated and both processes may be assigned to a single core under certain conditions eg one is in a sleep state. The short story is this is all handled automatically, and many applications run just fine without any further tweaking > Will I need threads instead of processes? > Really depends on your need, but in general properly creating threaded safe applications is significantly harder(at least to my understanding, I don't do it). If you need to use this route, you can check out http://www.osnews.com/story/22152/Apple_Releases_Grand_Central_Dispatch_as_= Open_Source It's available on FreeBSD. --=20 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"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 19:51:02 2010 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 4FB41106566B for ; Wed, 17 Mar 2010 19:51:02 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-yw0-f185.google.com (mail-yw0-f185.google.com [209.85.211.185]) by mx1.freebsd.org (Postfix) with ESMTP id EC8E38FC22 for ; Wed, 17 Mar 2010 19:51:01 +0000 (UTC) Received: by ywh15 with SMTP id 15so548031ywh.28 for ; Wed, 17 Mar 2010 12:51:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=I3R8TRZnXZ3RWHpTfMfcLB0/RrA8dxpg+kdR+nl5F5Q=; b=l0heJxCdy5NyBNv3SMMo12XcwLii8hBL8W+mYVSpoV54/CTlZgYcpW9joKEj5tgxNJ bYua7+zcGPxTJDY4plfOUFPgVgXWlG1yZlXSZO6S41KTyr3TmnRQRDwpzk9BF/fI5Dpj 4yQfWIpDmpyJsiD1ofgVvmsyOnFt+8fqB0mL0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=bqeYh+nqXnr7ntoq2OQ+eeVT4feeY574AgvK1dQB7kObCwChHmtPgYqPueD8nOdMMg qhw8qJiA54s3k5z2iUIhcHgbdJgMRT201MRFogjuS7AOitpNEE8OyONxQ1RPsUdlc3kc xo+iw97DT6J0bth3u2Otz2XPAi9sjIAdu233M= Received: by 10.100.77.4 with SMTP id z4mr1902647ana.240.1268855460896; Wed, 17 Mar 2010 12:51:00 -0700 (PDT) Received: from [10.87.222.78] ([166.205.11.167]) by mx.google.com with ESMTPS id 5sm2535255ywd.29.2010.03.17.12.50.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Mar 2010 12:51:00 -0700 (PDT) References: <201003171546.00190.lobo@bsd.com.br> <44d3z2epp4.fsf@be-well.ilk.org> <201003171625.56749.lobo@bsd.com.br> Message-Id: <8DFCC09B-1768-49E5-AD2E-84DB39B0C226@gmail.com> From: Brandon Gooch To: Mario Lobo In-Reply-To: <201003171625.56749.lobo@bsd.com.br> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (7D11) Mime-Version: 1.0 (iPhone Mail 7D11) Date: Wed, 17 Mar 2010 14:51:33 -0500 Cc: "freebsd-questions@freebsd.org" Subject: Re: Measuring Free memory 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, 17 Mar 2010 19:51:02 -0000 Sent from my iPhone On Mar 17, 2010, at 11:25 AM, Mario Lobo wrote: > On Wednesday 17 March 2010 19:03:03 Lowell Gilbert wrote: >> First, you'll need a precise definition of what you mean by "free >> memory". > > Free physical memory available. > >> >> Add the "-H" flag to get that value more precise. I suspect, >> however, >> that precision isn't really the right term for what you're after. > > I caught the -H flag right after I wrote the mail. The result has to > be > multiplied by 1024. > > It's possible you're right but what I am trying to do is to monitor > the amount > of free physical memory still on the system. > > To make a long story short, I am in a long stretch in trying to find > out why > 8-STABLE amd64+VBox+nvidia driver is freezing my system to power > button point. > I'm also seeing something similar although perhaps not related to (lack of) free memory. Are you able to enable debugging in the kernel and maybe get a (text)dump? >> Have you seen: >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM >> and >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FREE-MEMOR >> Y-AMOUNT by any chance? >> > > Those were nice, Thanks. > > -- > Mario Lobo > http://www.mallavoodoo.com.br > FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes > FREE) > _______________________________________________ > 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 > " I've sent a couple of textdumps to one of the FreeBSD VirtualBox devs but haven't heard back just yet. -Brandon From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 19:57:41 2010 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 B4A47106566B for ; Wed, 17 Mar 2010 19:57:41 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qy0-f190.google.com (mail-qy0-f190.google.com [209.85.221.190]) by mx1.freebsd.org (Postfix) with ESMTP id 74CBF8FC0A for ; Wed, 17 Mar 2010 19:57:41 +0000 (UTC) Received: by qyk28 with SMTP id 28so701760qyk.14 for ; Wed, 17 Mar 2010 12:57:40 -0700 (PDT) Received: by 10.224.35.204 with SMTP id q12mr316573qad.60.1268855853773; Wed, 17 Mar 2010 12:57:33 -0700 (PDT) Received: from papi.localnet ([189.70.193.124]) by mx.google.com with ESMTPS id 26sm2512891qwa.48.2010.03.17.12.57.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Mar 2010 12:57:32 -0700 (PDT) From: Mario Lobo To: Brandon Gooch Date: Wed, 17 Mar 2010 16:59:06 +0000 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.5; amd64; ; ) References: <201003171546.00190.lobo@bsd.com.br> <201003171625.56749.lobo@bsd.com.br> <8DFCC09B-1768-49E5-AD2E-84DB39B0C226@gmail.com> In-Reply-To: <8DFCC09B-1768-49E5-AD2E-84DB39B0C226@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003171659.06233.lobo@bsd.com.br> Cc: "freebsd-questions@freebsd.org" Subject: Re: Measuring Free memory 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, 17 Mar 2010 19:57:41 -0000 On Wednesday 17 March 2010 19:51:33 Brandon Gooch wrote: > I'm also seeing something similar although perhaps not related to > (lack of) free memory. Are you able to enable debugging in the kernel > and maybe get a (text)dump? I can't ! The machine freezes completely !! NOTHING works when the freeze happens. I even tried with SSH from another machine to it and its screen also freezes. > > I've sent a couple of textdumps to one of the FreeBSD VirtualBox devs > but haven't heard back just yet. > > -Brandon > Please let me know when you do get something. Thanks -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE) From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 20:25:22 2010 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 A4681106567C for ; Wed, 17 Mar 2010 20:25:22 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 877138FC21 for ; Wed, 17 Mar 2010 20:25:22 +0000 (UTC) Received: by pva18 with SMTP id 18so854675pva.13 for ; Wed, 17 Mar 2010 13:25:22 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.114.248.7 with SMTP id v7mr940790wah.36.1268857521838; Wed, 17 Mar 2010 13:25:21 -0700 (PDT) In-Reply-To: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> Date: Wed, 17 Mar 2010 16:25:21 -0400 X-Google-Sender-Auth: f47307d1f3514041 Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Which version of FreeBSD is it? 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, 17 Mar 2010 20:25:22 -0000 On Wed, Mar 17, 2010 at 9:56 AM, =D0=90=D0=BD=D1=82=D0=BE=D0=BD =D0=9A=D0= =BB=D0=B5=D1=81=D1=81 wrote: > I have the server that's running FreeBSD for the last few years, but I sa= w > it only year ago and know nothing about when and how was installed FreeBS= D > on it. > > # uname -a > FreeBSD myhost.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar =C2=A05 01:37:03 M= SK > 2010 =C2=A0 =C2=A0 root@myhost.net:/usr/obj/usr/src/sys/MYKERN =C2=A0amd6= 4 > > Is it RELEASE, STABLE or what? I read most of the answers to this thread and after attempting the very similar upgrade (6.2-STABLE to 7.3) I can tell you that it can fail. In fact it did, and several times. In my case there were several problems I was overlooking, for example I have an IDE drive and 4 satas in a RAID5 config with gvinum. I had completely forgotten I had moved /usr to the gvinum dirve, so every time I would boot I was seeing the wrong binaries and libs, and the upgrade process was not easy. After really screwing up the whole system, I finally resorted to downloading the iso for v8 cd1 and live. With the help of FixIt the holographical shell and the live, I was able to recover the complete system and actually finishing the last steps as I'm writing this. I mean, I was able to fully recover the system without reformatting and installing from scratch. This process taught me several things: 1) upgrade has to be thought out pretty well, examine everything and plan for contingency. If you have disk arrays they may and should not mount until the end of the upgrade process IMHO. 2) The upgrade process is not hard at all, once you understand how it works. You will usually need lots of experience with Unix and hacking in general. 3) Most importantly, FreeBSD is simply _very hard_ to destroy. I really, really screwed up my system, and was able to recover it by using the handbook, google, the install CD and the Live. Now that I can truly appreciate the separation of system base from everything else, I can tell you with a lot of certainty that it's really hard not to be able to recover from a failed upgrade. Having said all this, make sure that you backup most of what you will miss, or if you can, backup everything. The upgrade process is not usually harder than what is stated here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgradin= g.html Also, if your setup is simple enough, you may be able to do it with the sysinstall utility of CD1, nevertheless, I don t advise it unless you know what your doing! Also, in my case I had a _need_ for upgrading, if you don't have a specific need, just leave it alone. The majority of newer ports will still work with 6.2. and I don't really think any security things will affect you if they haven't already! Best, Alejandro Imass > _______________________________________________ > 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 Wed Mar 17 20:28:46 2010 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 F0F931065672 for ; Wed, 17 Mar 2010 20:28:46 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id E0A3E8FC0C for ; Wed, 17 Mar 2010 20:28:46 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o2HKSkFN083183 for ; Wed, 17 Mar 2010 13:28:46 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4BA13B7D.2010803@rawbw.com> Date: Wed, 17 Mar 2010 13:28:45 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20100206) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Anybody uses VMWare on FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 20:28:47 -0000 I can't build it, I am getting the following errors. And message to freebsd-emulation@ from 02/10 was never answered. ---- errors ---- cc -O2 -pipe -fno-strict-aliasing -DCDEV_MAJOR_=200 -DDDB -DVMX86_DEBUG -DSMP -DAPIC_IO -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c In file included from ./machine/vm.h:33, from /sys/vm/vm.h:64, from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:338: ./machine/specialreg.h:164:1: error: "CPUID_STEPPING" redefined In file included from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.h:27, from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/hostif.h:19, from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:19: /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include/x86.h:259:1: error: this is the location of the previous definition In file included from ./machine/vm.h:33, from /sys/vm/vm.h:64, from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:338: ./machine/specialreg.h:165:1: error: "CPUID_MODEL" redefined In file included from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.h:27, from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/hostif.h:19, from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:19: /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include/x86.h:287:1: error: this is the location of the previous definition In file included from ./machine/vm.h:33, from /sys/vm/vm.h:64, from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:338: ./machine/specialreg.h:166:1: error: "CPUID_FAMILY" redefined In file included from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.h:27, from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/hostif.h:19, from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:19: From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 20:31:06 2010 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 6D46A106567D for ; Wed, 17 Mar 2010 20:31:06 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 41E458FC13 for ; Wed, 17 Mar 2010 20:31:06 +0000 (UTC) Received: by pwj4 with SMTP id 4so1232367pwj.13 for ; Wed, 17 Mar 2010 13:31:05 -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=PGGe7cJzkXxSFZ+NSwhFgaq9IiV7NIpEF8yU9StcY7o=; b=YyrBlqK+G7gR9hWz9lY4uq3W9bXBeiTjOGnVRxN2+6LoGoRDHtQDXvVitQiNV0R0tg woQuWOw4+xtel5Ow76Rs8Bt86lU/iXJXEF+wdeuMFh1O4R32t1Pq0un7ABInnUinudOC ilhdkdAYstGamv7zr38aPO/qMmP0TIEgF56BU= 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=M0n1F1Rs1/B7G1VeoyYjTGU47+XIfxPB07lHapBTMTtaU1mit8Qvh74KTXRiQiMU36 RQQwUKQR0B9vEMKMuAt723zjNLhSZsRboemhAWLP61dl0ZrZ6we8SCfacT029Zh/pXay +iSAlJTVPmt/JeTI5Jl0FUe8WqrhLBXMPIgpc= MIME-Version: 1.0 Received: by 10.142.152.8 with SMTP id z8mr806170wfd.230.1268857865067; Wed, 17 Mar 2010 13:31:05 -0700 (PDT) In-Reply-To: <201003171625.56749.lobo@bsd.com.br> References: <201003171546.00190.lobo@bsd.com.br> <44d3z2epp4.fsf@be-well.ilk.org> <201003171625.56749.lobo@bsd.com.br> Date: Wed, 17 Mar 2010 15:31:04 -0500 Message-ID: <6201873e1003171331x341cc077j388f97132e37aa92@mail.gmail.com> From: Adam Vande More To: Mario Lobo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Measuring Free memory 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, 17 Mar 2010 20:31:06 -0000 On Wed, Mar 17, 2010 at 11:25 AM, Mario Lobo wrote: > On Wednesday 17 March 2010 19:03:03 Lowell Gilbert wrote: > > First, you'll need a precise definition of what you mean by "free > memory". > > Free physical memory available. > > > > > Add the "-H" flag to get that value more precise. I suspect, however, > > that precision isn't really the right term for what you're after. > > I caught the -H flag right after I wrote the mail. The result has to be > multiplied by 1024. > > It's possible you're right but what I am trying to do is to monitor the > amount > of free physical memory still on the system. > > To make a long story short, I am in a long stretch in trying to find out > why > 8-STABLE amd64+VBox+nvidia driver is freezing my system to power button > point. > Well I hope you find the issue, I'm experiencing the same issue siimplying trying to csup from 8-RELEASE to 8-STABLE. From what I've been able to gather I think this only applicable to amd64. You might have a different reason for wanting to know this, but I can assure you my lockups aren't due to a lack of memory from the host anyways. I have an order of magnitude more free memory(according to top) in my hosts than my VM requires when it's running and it still locks on every csup attempt. Mem: 112M Active, 12M Inact, 1543M Wired, 632K Cache, 2245M Free VM is set to use 256MB. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 20:34:47 2010 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 98A1A106564A for ; Wed, 17 Mar 2010 20:34:47 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 531958FC14 for ; Wed, 17 Mar 2010 20:34:47 +0000 (UTC) Received: from beta.local (ppp-93-104-95-136.dynamic.mnet-online.de [93.104.95.136]) by mail.locolomo.org (Postfix) with ESMTPSA id A79111C0871 for ; Wed, 17 Mar 2010 21:34:45 +0100 (CET) Message-ID: <4BA13CE3.4010803@locolomo.org> Date: Wed, 17 Mar 2010 21:34:43 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: FreeBSD and vmware 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, 17 Mar 2010 20:34:47 -0000 Hi: I have a dual boot Windows/FreeBSD which I use for work, I just tried today to create a virtual machine with vmware on windows to start up the installed FreeBSD. This works except for three problems: - The disk device is renamed, I suppose I can just dublicate the entries in the fstab, the devices not found won't be mounted, I'll get an error but problem solved? - I can't see the network devices from vmware - I can't start xwindows, no monitor is found Any clues? Thanks, Erik -- Erik Nrgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 20:47:41 2010 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 BBFDC106566C for ; Wed, 17 Mar 2010 20:47:41 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7DA0C8FC08 for ; Wed, 17 Mar 2010 20:47:41 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so100879qwi.7 for ; Wed, 17 Mar 2010 13:47:40 -0700 (PDT) Received: by 10.224.98.144 with SMTP id q16mr447272qan.242.1268858860683; Wed, 17 Mar 2010 13:47:40 -0700 (PDT) Received: from papi.localnet ([189.70.193.124]) by mx.google.com with ESMTPS id 7sm3478714qwf.34.2010.03.17.13.47.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Mar 2010 13:47:40 -0700 (PDT) From: Mario Lobo To: Adam Vande More Date: Wed, 17 Mar 2010 17:49:13 +0000 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.5; amd64; ; ) References: <201003171546.00190.lobo@bsd.com.br> <201003171625.56749.lobo@bsd.com.br> <6201873e1003171331x341cc077j388f97132e37aa92@mail.gmail.com> In-Reply-To: <6201873e1003171331x341cc077j388f97132e37aa92@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201003171749.13163.lobo@bsd.com.br> Cc: freebsd-questions@freebsd.org Subject: Re: Measuring Free memory 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, 17 Mar 2010 20:47:41 -0000 On Wednesday 17 March 2010 20:31:04 Adam Vande More wrote: > On Wed, Mar 17, 2010 at 11:25 AM, Mario Lobo wrote: > > On Wednesday 17 March 2010 19:03:03 Lowell Gilbert wrote: > > > First, you'll need a precise definition of what you mean by "free > > > > memory". > > > > Free physical memory available. > > > > > Add the "-H" flag to get that value more precise. I suspect, however, > > > that precision isn't really the right term for what you're after. > > > > I caught the -H flag right after I wrote the mail. The result has to be > > multiplied by 1024. > > > > It's possible you're right but what I am trying to do is to monitor the > > amount > > of free physical memory still on the system. > > > > To make a long story short, I am in a long stretch in trying to find out > > why > > 8-STABLE amd64+VBox+nvidia driver is freezing my system to power button > > point. > > Well I hope you find the issue, I'm experiencing the same issue siimplying > trying to csup from 8-RELEASE to 8-STABLE. From what I've been able to > gather I think this only applicable to amd64. You might have a different > reason for wanting to know this, but I can assure you my lockups aren't due > to a lack of memory from the host anyways. I have an order of magnitude > more free memory(according to top) in my hosts than my VM requires when > it's running and it still locks on every csup attempt. > > Mem: 112M Active, 12M Inact, 1543M Wired, 632K Cache, 2245M Free > > VM is set to use 256MB. > Its sounds as if your FreeBSD is a GUEST. For me, FreeBSD is the HOST. For what its worth, the recently released nvidia driver improved something. SO FAR, disabling GL everywhere has stopped the freezes. I've been able to run all guests I have (one at a time for now) and none of them froze my host. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE) From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 20:52:14 2010 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 5013B106566B for ; Wed, 17 Mar 2010 20:52:14 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 249C48FC08 for ; Wed, 17 Mar 2010 20:52:13 +0000 (UTC) Received: by pxi12 with SMTP id 12so1183633pxi.14 for ; Wed, 17 Mar 2010 13:52: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=Cdd8j7rYwqTAchj+Z517RxYL+qiwOGd7QACoAjRxT2U=; b=g7k++Zm9GQhGNYIxmAINV2+33yZCjGvNThFmoxjA+pFKskA9SD+uBjbqok4sst59s4 bS3aKSx1XyiZhYmMoxrZ42IRQDaTTMMI+yrD+xCLU7vYAcinf2Nw6GWw4COhIW8pols4 U5HuRWRN6Rp1uoSicgAQfHlIlBw4IwvMLQRCU= 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=uQrjY0hcp2iEewaHn2uK/D3zvVGsQfGxfSRNjDqZD+HWo2K6y6yCyKG1ie4sc1dLKu NnL6JadQDqSO9knTJE/vA6iL52/nBergeFjgwwkUTXq+dJfdDtmzLxGDb0g6h/spqmEo WO2G8cs0NfnPHIw98OanSRp1UUj7J5LZbqcL8= MIME-Version: 1.0 Received: by 10.142.250.19 with SMTP id x19mr539718wfh.23.1268859133406; Wed, 17 Mar 2010 13:52:13 -0700 (PDT) In-Reply-To: <4BA13CE3.4010803@locolomo.org> References: <4BA13CE3.4010803@locolomo.org> Date: Wed, 17 Mar 2010 15:52:13 -0500 Message-ID: <6201873e1003171352t57481efcs48f225f8f1c5e12c@mail.gmail.com> From: Adam Vande More To: Erik Norgaard Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: FreeBSD and vmware 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, 17 Mar 2010 20:52:14 -0000 On Wed, Mar 17, 2010 at 3:34 PM, Erik Norgaard wrote= : > Hi: > > I have a dual boot Windows/FreeBSD which I use for work, I just tried tod= ay > to create a virtual machine with vmware on windows to start up the instal= led > FreeBSD. > > This works except for three problems: > > - The disk device is renamed, I suppose I can just dublicate the entries = in > the fstab, the devices not found won't be mounted, I'll get an error but > problem solved? > I don't use vmware, but you glabel the block devices and they would then be consistent in both. - I can't see the network devices from vmware > > - I can't start xwindows, no monitor is found > I imagine the same hardware isn't presented to FreeBSD in the VM. You migh= t need to do something like have two separate xorg.conf. Same with NIC, except you might be able to just have two entries in rc.conf. What does ifconfig says on physical hw and in VM? > Any clues? > > Thanks, Erik > > > -- > Erik N=F8rgaard > Ph: +34.666334818/+34.915211157 http://www.locolomo.org > _______________________________________________ > 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 Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 20:54:52 2010 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 E8E80106566C for ; Wed, 17 Mar 2010 20:54:52 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [83.235.67.32]) by mx1.freebsd.org (Postfix) with ESMTP id 4C19D8FC08 for ; Wed, 17 Mar 2010 20:54:51 +0000 (UTC) Received: from pulstar.local (athedsl-4567620.home.otenet.gr [94.70.126.76]) by rosebud.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id o2HKsnW5029789; Wed, 17 Mar 2010 22:54:49 +0200 Message-ID: <4BA14199.1020205@otenet.gr> Date: Wed, 17 Mar 2010 22:54:49 +0200 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Erik Norgaard References: <4BA13CE3.4010803@locolomo.org> In-Reply-To: <4BA13CE3.4010803@locolomo.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: questions@freebsd.org Subject: Re: FreeBSD and vmware 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, 17 Mar 2010 20:54:53 -0000 On 17/03/2010 10:34 μ.μ., Erik Norgaard wrote: > Hi: > > I have a dual boot Windows/FreeBSD which I use for work, I just tried > today to create a virtual machine with vmware on windows to start up > the installed FreeBSD. > > This works except for three problems: > > - The disk device is renamed, I suppose I can just dublicate the > entries in the fstab, the devices not found won't be mounted, I'll get > an error but problem solved? Best would probably be to label the devices and use the labels instead of device names. It will work without changes in both bare metal and vmware. (Or maybe use the ufsid labels.) Check this out: http://www.freebsd.org/doc/en/books/handbook/geom-glabel.html > > - I can't see the network devices from vmware The emulated network device is probably different than the one you are using. I believe most recent vmware versions emulate an Intel NIC, i.e. em0. Use ifconfig to check and add a line in rc.conf for this > > - I can't start xwindows, no monitor is found This is definitely fixable, make sure you install xf86-video-vmware port and create an xorg.conf by hand if needed (probably not) using the Handbook instructions. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 20:55:53 2010 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 EFD02106564A for ; Wed, 17 Mar 2010 20:55:53 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id BDB5C8FC19 for ; Wed, 17 Mar 2010 20:55:53 +0000 (UTC) Received: from [192.168.2.164] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Wed, 17 Mar 2010 16:56:43 -0400 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::7 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: questions@freebsd.org X-SMFBL: cXVlc3Rpb25zQGZyZWVic2Qub3Jn Message-ID: <4BA13E50.8050503@comcast.net> Date: Wed, 17 Mar 2010 16:40:48 -0400 From: Steve Polyack User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100311 Thunderbird/3.0.1 MIME-Version: 1.0 To: Erik Norgaard References: <4BA13CE3.4010803@locolomo.org> In-Reply-To: <4BA13CE3.4010803@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: FreeBSD and vmware 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, 17 Mar 2010 20:55:54 -0000 On 03/17/10 16:34, Erik Norgaard wrote: > Hi: > > I have a dual boot Windows/FreeBSD which I use for work, I just tried > today to create a virtual machine with vmware on windows to start up > the installed FreeBSD. > > This works except for three problems: > > - The disk device is renamed, I suppose I can just dublicate the > entries in the fstab, the devices not found won't be mounted, I'll get > an error but problem solved? > I think your best solution for this is to use glabel(8) to setup permanent labels on the drives. You can then mount the label in fstab by replacing the device name with the appropriate /dev/label/labelname entry. This will prevent the changes in disk device numbering or naming from causing you any more grief. > - I can't see the network devices from vmware Do you mean you can't see a NIC from within FreeBSD on top of VMware? You will have to choose "Other (64-bit)" for the OS type and/or choose the e1000/Intel1000 device within VMware for the virtual network card. FreeBSD has great support for this card, virtual attempt physical. > > - I can't start xwindows, no monitor is found Try /usr/ports/x11-drivers/xf86-video-vmware > > Any clues? > > Thanks, Erik > > From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 20:57:52 2010 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 3DDB81065673 for ; Wed, 17 Mar 2010 20:57:52 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id 18BEC8FC0C for ; Wed, 17 Mar 2010 20:57:51 +0000 (UTC) Received: (qmail 26677 invoked from network); 17 Mar 2010 20:57:51 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Mar 2010 20:57:51 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id A46CD5088A; Wed, 17 Mar 2010 16:57:50 -0400 (EDT) From: Lowell Gilbert To: Mario Lobo References: <201003171546.00190.lobo@bsd.com.br> <44d3z2epp4.fsf@be-well.ilk.org> <201003171625.56749.lobo@bsd.com.br> Date: Wed, 17 Mar 2010 16:57:50 -0400 In-Reply-To: <201003171625.56749.lobo@bsd.com.br> (Mario Lobo's message of "Wed, 17 Mar 2010 16:25:56 +0000") Message-ID: <448w9qekdt.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: Measuring Free memory 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, 17 Mar 2010 20:57:52 -0000 Mario Lobo writes: > On Wednesday 17 March 2010 19:03:03 Lowell Gilbert wrote: >> First, you'll need a precise definition of what you mean by "free memory". > > Free physical memory available. Not precise enough to have a clear answer. Does it have to be zeroed already, or do clean inactive pages count? [etc. for buffer cache, VM page cache...] >> >> Add the "-H" flag to get that value more precise. I suspect, however, >> that precision isn't really the right term for what you're after. > > I caught the -H flag right after I wrote the mail. The result has to be > multiplied by 1024. > > It's possible you're right but what I am trying to do is to monitor the amount > of free physical memory still on the system. > > To make a long story short, I am in a long stretch in trying to find out why > 8-STABLE amd64+VBox+nvidia driver is freezing my system to power button point. Ah. That's different. Generally it's more useful to track paging rates, assuming memory has anything to do with the freeze (which may not be the case). -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 21:09:21 2010 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 02BAD106566B for ; Wed, 17 Mar 2010 21:09:21 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id AE2558FC15 for ; Wed, 17 Mar 2010 21:09:20 +0000 (UTC) Received: from beta.local (ppp-93-104-95-136.dynamic.mnet-online.de [93.104.95.136]) by mail.locolomo.org (Postfix) with ESMTPSA id 5EB871C0871; Wed, 17 Mar 2010 22:09:19 +0100 (CET) Message-ID: <4BA144FD.60100@locolomo.org> Date: Wed, 17 Mar 2010 22:09:17 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: Steve Polyack References: <4BA13CE3.4010803@locolomo.org> <4BA13E50.8050503@comcast.net> In-Reply-To: <4BA13E50.8050503@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: questions@freebsd.org Subject: Re: FreeBSD and vmware 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, 17 Mar 2010 21:09:21 -0000 On 17/03/10 21:40, Steve Polyack wrote: > On 03/17/10 16:34, Erik Norgaard wrote: >> - I can't see the network devices from vmware > Do you mean you can't see a NIC from within FreeBSD on top of VMware? > You will have to choose "Other (64-bit)" for the OS type and/or choose > the e1000/Intel1000 device within VMware for the virtual network card. > FreeBSD has great support for this card, virtual attempt physical. I created Other/FreeBSD 64bit OS type. When setting vmware up without NAT I can configure the em0 interface and get direct access, but with NAT I can't see the virtual interfaces vmware create. Thanks for the your advices. BR, Erik -- Erik Nrgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 21:36:11 2010 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 B4CA0106566C for ; Wed, 17 Mar 2010 21:36:11 +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 6FA308FC0A for ; Wed, 17 Mar 2010 21:36:11 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ns0uF-0004oB-VO for freebsd-questions@freebsd.org; Wed, 17 Mar 2010 22:36:00 +0100 Received: from 93-136-34-137.adsl.net.t-com.hr ([93.136.34.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Mar 2010 22:35:59 +0100 Received: from ivoras by 93-136-34-137.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Mar 2010 22:35:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Wed, 17 Mar 2010 22:35:43 +0100 Lines: 33 Message-ID: References: <4BA13CE3.4010803@locolomo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 93-136-34-137.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090612) In-Reply-To: <4BA13CE3.4010803@locolomo.org> Subject: Re: FreeBSD and vmware 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, 17 Mar 2010 21:36:11 -0000 Erik Norgaard wrote: > Hi: > > I have a dual boot Windows/FreeBSD which I use for work, I just tried > today to create a virtual machine with vmware on windows to start up the > installed FreeBSD. This is possible, I've run such a setup for a long time. But you don't say which versions of the products you are using. > This works except for three problems: > > - The disk device is renamed, I suppose I can just dublicate the entries > in the fstab, the devices not found won't be mounted, I'll get an error > but problem solved? As others said, use glabel or UFS labels (tunefs -L). > - I can't see the network devices from vmware You can configure both cards (the real and the emulated one) in /etc/rc.conf and the one that's active will be used on boot. > - I can't start xwindows, no monitor is found You can either use VESA or the VMWare specific driver for the virtual machine. Look into /usr/ports/x11-drivers. You will need to keep two configurations (xorg.conf) - one for the "real" and one for the emulated video card, and manually switch them. You don't specifically need it but you can also look at /usr/ports/emulators/open-vm-tools. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 21:49:57 2010 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 BDB14106566B for ; Wed, 17 Mar 2010 21:49:57 +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 756D38FC16 for ; Wed, 17 Mar 2010 21:49:57 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ns17k-00043Q-Hg for freebsd-questions@freebsd.org; Wed, 17 Mar 2010 22:49:56 +0100 Received: from 93-136-34-137.adsl.net.t-com.hr ([93.136.34.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Mar 2010 22:49:56 +0100 Received: from ivoras by 93-136-34-137.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Mar 2010 22:49:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Wed, 17 Mar 2010 22:49:40 +0100 Lines: 26 Message-ID: References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> <0b9982274818d454f23bc89ac74d30f5@asterix.area536.com> <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 93-136-34-137.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090612) In-Reply-To: <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> Subject: Re: Which version of FreeBSD is it? 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, 17 Mar 2010 21:49:57 -0000 =D0=90=D0=BD=D1=82=D0=BE=D0=BD =D0=9A=D0=BB=D0=B5=D1=81=D1=81 wrote: > That is what I suspected for. >=20 > What is the most safe way to upgrade it, remembering that this is produ= ction > server and I have to keep it working properly? >=20 > 6.2-RC1 -> 6.2 RELEASE -> 7.2 RELEASE -> 8.0 RELEASE, or somehow in thi= s > style? Depending on what your requirements for "production" might be and how=20 good know FreeBSD, this is a good enough path. The officially=20 recommended one also includes 6.4, but if the configuration is simple=20 enough (no fancy partitioning, no software RAID), you could simply skip=20 from 6.2RC1 all the way to 8.0 if you know what you are doing. Regardless, you will need to upgrade all of the installed ports (you can = do it at the end, no need to upgrade every time). In any case, don't do it remotely (without access to a physical=20 console), this is a long upgrade path for it to simply work the first=20 time. As others said, you can recover FreeBSD from practically any=20 disaster involving such an upgrade, but it won't necessarily be easy. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 21:51:12 2010 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 492E51065680 for ; Wed, 17 Mar 2010 21:51:12 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pz0-f196.google.com (mail-pz0-f196.google.com [209.85.222.196]) by mx1.freebsd.org (Postfix) with ESMTP id 1CC5B8FC19 for ; Wed, 17 Mar 2010 21:51:12 +0000 (UTC) Received: by pzk34 with SMTP id 34so1170197pzk.3 for ; Wed, 17 Mar 2010 14:51: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 :date:message-id:subject:from:to:cc:content-type; bh=u0cyLnkpqetBBdGpJI0tYp9DtAgQvOeyJy8rlz5iBg0=; b=VExrXmI8QT7KovT8M20JoPYcBjoCww4yB9TuBjWN3DzltYlUGwSYE6VVPoXWDJ8WHT KbJ5oRms1cxre8r4kRFYe2rWMUTrB3f13ADxMxk3fB4at6R9hgnWLsVxoK9+58B1E8zm OrzleABXGCV2JCFaqHiK+580dahVmj5R+E3oU= 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=E0hU9Kad2zwOpem1amJjUDu2ETs2fO42B2Sbkdzde4X8jS25bmI1OZd1I3DmOj98GL d8yfedtAcFyG3OXkkgHfZniv9B3Q2qVFUzZCsLCZdB+WXQQeF+6h4ZwHcSvxBA1ZJyG+ zw9voOIpQnz/TuKJsFvXwb3PtIdIgI2oYsy1c= MIME-Version: 1.0 Received: by 10.140.88.9 with SMTP id l9mr1717444rvb.297.1268862671802; Wed, 17 Mar 2010 14:51:11 -0700 (PDT) In-Reply-To: <201003171749.13163.lobo@bsd.com.br> References: <201003171546.00190.lobo@bsd.com.br> <201003171625.56749.lobo@bsd.com.br> <6201873e1003171331x341cc077j388f97132e37aa92@mail.gmail.com> <201003171749.13163.lobo@bsd.com.br> Date: Wed, 17 Mar 2010 16:51:11 -0500 Message-ID: <6201873e1003171451x2c5f1368j4a13d8b0d688c7d2@mail.gmail.com> From: Adam Vande More To: Mario Lobo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Measuring Free memory 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, 17 Mar 2010 21:51:12 -0000 On Wed, Mar 17, 2010 at 12:49 PM, Mario Lobo wrote: > > > > > Well I hope you find the issue, I'm experiencing the same issue > siimplying > > trying to csup from 8-RELEASE to 8-STABLE. From what I've been able to > > gather I think this only applicable to amd64. You might have a different > > reason for wanting to know this, but I can assure you my lockups aren't > due > > to a lack of memory from the host anyways. I have an order of magnitude > > more free memory(according to top) in my hosts than my VM requires when > > it's running and it still locks on every csup attempt. > > > > Mem: 112M Active, 12M Inact, 1543M Wired, 632K Cache, 2245M Free > > > > VM is set to use 256MB. > > > > Its sounds as if your FreeBSD is a GUEST. For me, FreeBSD is the HOST. > > For what its worth, the recently released nvidia driver improved something. > SO FAR, disabling GL everywhere has stopped the freezes. I've been able to > run > all guests I have (one at a time for now) and none of them froze my host. > > My host and VM are FreeBSD. 8-STABLE for me runs fine with current nvidia drivers installed with GL enabled. Host: 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Mar 11 14:45:20 CST 2010 pkg_info |grep nvidia nvidia-driver-195.22 NVidia graphics card binary drivers for hardware OpenGL ren It is when I csup the VM to 8-STABLE the lockup occurs. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 21:54:39 2010 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 B93F01065672 for ; Wed, 17 Mar 2010 21:54:39 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp174.dfw.emailsrvr.com (smtp174.dfw.emailsrvr.com [67.192.241.174]) by mx1.freebsd.org (Postfix) with ESMTP id 8D3698FC14 for ; Wed, 17 Mar 2010 21:54:39 +0000 (UTC) Received: from relay7.relay.dfw.mlsrvr.com (localhost [127.0.0.1]) by relay7.relay.dfw.mlsrvr.com (SMTP Server) with ESMTP id 3D22CCE6655; Wed, 17 Mar 2010 17:54:39 -0400 (EDT) Received: by relay7.relay.dfw.mlsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTPSA id CDC5DCE6228; Wed, 17 Mar 2010 17:54:38 -0400 (EDT) Received: by alucard.rhavenn.local (Postfix, from userid 1001) id 1FCFA10C580; Wed, 17 Mar 2010 13:54:38 -0800 (AKDT) Date: Wed, 17 Mar 2010 13:54:38 -0800 From: Henrik Hudson To: Yuri Message-ID: <20100317215437.GA6601@alucard.int.rhavenn.net> References: <4BA13B7D.2010803@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BA13B7D.2010803@rawbw.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Anybody uses VMWare 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: Wed, 17 Mar 2010 21:54:39 -0000 On Wed, 17 Mar 2010, Yuri wrote: > I can't build it, I am getting the following errors. And message to > freebsd-emulation@ from 02/10 was never answered. Considering that VMware is now at version 7 something I would just move on and use VirtualBox. 95% of the stuff VMware 7 can do it can do, although the OSE version in ports lacks USB pass-thru, but I'm sure it is leaps and bounds ahead of VMware 3 from ports. VMware will most likely ever support FreeBSD as a host and the Linux kernel hooks are too deep to reverse it and since VirtualBox works great, just use that. I run Win7 x86 and Win2008 R2 just fine inside VirtualBox. There is currently a bug in the FreeBSD-stable kernel (newer then Jan 29th) or so which caused the current VirtualBox install to freeze. Just follow the intructions on the VirtualBox FreeBSD wiki to pull the latest 3.1.4 VirtualBox and you should be good. http://wiki.freebsd.org/VirtualBox (see the notes under "know issues" at the bottom for update your ports outside of the current ports freeze. My $.02. henrik > > ---- errors ---- > cc -O2 -pipe -fno-strict-aliasing -DCDEV_MAJOR_=200 -DDDB -DVMX86_DEBUG > -DSMP -DAPIC_IO -Werror -D_KERNEL -DKLD_MODULE -nostdinc > -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include > -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common > -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd > -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/export/include > -I/sys > -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ > -I. -I@ -I@/contrib/altq -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 -fno-common > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector > -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign > -fformat-extensions -c > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c > > In file included from > ./machine/vm.h:33, > > from > /sys/vm/vm.h:64, > > from > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:338: > > ./machine/specialreg.h:164:1: error: "CPUID_STEPPING" > redefined > > In file included from > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.h:27, > > from > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/hostif.h:19, > > from > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:19: > > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include/x86.h:259:1: > error: this is the location of the previous definition > In file included from > ./machine/vm.h:33, > > from > /sys/vm/vm.h:64, > > from > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:338: > > ./machine/specialreg.h:165:1: error: "CPUID_MODEL" > redefined > > In file included from > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.h:27, > > from > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/hostif.h:19, > > from > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:19: > > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include/x86.h:287:1: > error: this is the location of the previous definition > In file included from > ./machine/vm.h:33, > > from > /sys/vm/vm.h:64, > > from > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:338: > > ./machine/specialreg.h:166:1: error: "CPUID_FAMILY" > redefined > > In file included from > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.h:27, > > from > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/hostif.h:19, > > from > /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:19: > > _______________________________________________ > 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" -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 21:58:02 2010 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 30078106566C for ; Wed, 17 Mar 2010 21:58:02 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp174.dfw.emailsrvr.com (smtp174.dfw.emailsrvr.com [67.192.241.174]) by mx1.freebsd.org (Postfix) with ESMTP id 0D5718FC1B for ; Wed, 17 Mar 2010 21:58:01 +0000 (UTC) Received: from relay7.relay.dfw.mlsrvr.com (localhost [127.0.0.1]) by relay7.relay.dfw.mlsrvr.com (SMTP Server) with ESMTP id 50665CE65D9 for ; Wed, 17 Mar 2010 17:58:01 -0400 (EDT) Received: by relay7.relay.dfw.mlsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTPSA id AAAEFCE6646 for ; Wed, 17 Mar 2010 17:58:00 -0400 (EDT) Received: by alucard.rhavenn.local (Postfix, from userid 1001) id 3C70F10C580; Wed, 17 Mar 2010 13:58:00 -0800 (AKDT) Date: Wed, 17 Mar 2010 13:58:00 -0800 From: Henrik Hudson To: freebsd-questions@freebsd.org Message-ID: <20100317215800.GB6601@alucard.int.rhavenn.net> References: <201003171546.00190.lobo@bsd.com.br> <201003171625.56749.lobo@bsd.com.br> <8DFCC09B-1768-49E5-AD2E-84DB39B0C226@gmail.com> <201003171659.06233.lobo@bsd.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201003171659.06233.lobo@bsd.com.br> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Measuring Free memory 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, 17 Mar 2010 21:58:02 -0000 On Wed, 17 Mar 2010, Mario Lobo wrote: > On Wednesday 17 March 2010 19:51:33 Brandon Gooch wrote: > > I'm also seeing something similar although perhaps not related to > > (lack of) free memory. Are you able to enable debugging in the kernel > > and maybe get a (text)dump? > > I can't ! The machine freezes completely !! NOTHING works when the freeze > happens. I even tried with SSH from another machine to it and its screen also > freezes. > > > > I've sent a couple of textdumps to one of the FreeBSD VirtualBox devs > > but haven't heard back just yet. See the known issues at the bottom of the VirtualBox wiki. http://wiki.freebsd.org/VirtualBox Are you running a 8-STABLE kernel newer then Jan. 29th? Did you pull in VirtualBox 3.1.4 outside of the ports freeze? I'm running Virtual Box 3.1.4 ontop of a amd64 and nvidia binary blob as I type this. henrik -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 22:01:52 2010 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 CF114106564A for ; Wed, 17 Mar 2010 22:01:52 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2D38FC1C for ; Wed, 17 Mar 2010 22:01:52 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o2HM1pVr003219; Wed, 17 Mar 2010 15:01:52 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4BA1514F.50302@rawbw.com> Date: Wed, 17 Mar 2010 15:01:51 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20100206) MIME-Version: 1.0 To: Henrik Hudson References: <4BA13B7D.2010803@rawbw.com> <20100317215437.GA6601@alucard.int.rhavenn.net> In-Reply-To: <20100317215437.GA6601@alucard.int.rhavenn.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Anybody uses VMWare on FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 22:01:52 -0000 Henrik Hudson wrote: > There is currently a bug in the FreeBSD-stable kernel (newer then > Jan 29th) or so which caused the current VirtualBox install to > freeze. Just follow the intructions on the VirtualBox FreeBSD wiki > to pull the latest 3.1.4 VirtualBox and you should be good. > > http://wiki.freebsd.org/VirtualBox > (see the notes under "know issues" at the bottom for update your > ports outside of the current ports freeze. > > My $.02. > I have the latest, 3.1.4, and still get system freezes. I looked over the instructions in http://wiki.freebsd.org/VirtualBox and couldn't find anythings I did that would be out of sync with the instructions. Anything particular I should look for there that I could have missed? I am trying to install the Linux guest. Yuri From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 22:06:06 2010 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 C9D8F106564A for ; Wed, 17 Mar 2010 22:06:06 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp174.dfw.emailsrvr.com (smtp174.dfw.emailsrvr.com [67.192.241.174]) by mx1.freebsd.org (Postfix) with ESMTP id A96C18FC0C for ; Wed, 17 Mar 2010 22:06:06 +0000 (UTC) Received: from relay7.relay.dfw.mlsrvr.com (localhost [127.0.0.1]) by relay7.relay.dfw.mlsrvr.com (SMTP Server) with ESMTP id 39AD4CE6778; Wed, 17 Mar 2010 18:06:06 -0400 (EDT) Received: by relay7.relay.dfw.mlsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTPSA id A1CE7CE67F7; Wed, 17 Mar 2010 18:06:02 -0400 (EDT) Received: by alucard.rhavenn.local (Postfix, from userid 1001) id 54EA810C580; Wed, 17 Mar 2010 14:06:02 -0800 (AKDT) Date: Wed, 17 Mar 2010 14:06:02 -0800 From: Henrik Hudson To: Yuri Message-ID: <20100317220602.GA6674@alucard.int.rhavenn.net> References: <4BA13B7D.2010803@rawbw.com> <20100317215437.GA6601@alucard.int.rhavenn.net> <4BA1514F.50302@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BA1514F.50302@rawbw.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Anybody uses VMWare 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: Wed, 17 Mar 2010 22:06:06 -0000 On Wed, 17 Mar 2010, Yuri wrote: > Henrik Hudson wrote: > > There is currently a bug in the FreeBSD-stable kernel (newer then > > Jan 29th) or so which caused the current VirtualBox install to > > freeze. Just follow the intructions on the VirtualBox FreeBSD wiki > > to pull the latest 3.1.4 VirtualBox and you should be good. > > > > http://wiki.freebsd.org/VirtualBox > > (see the notes under "know issues" at the bottom for update your > > ports outside of the current ports freeze. > > > > My $.02. > > > > I have the latest, 3.1.4, and still get system freezes. > I looked over the instructions in http://wiki.freebsd.org/VirtualBox and > couldn't find anythings I did that would be out of sync with the > instructions. > Anything particular I should look for there that I could have missed? > I am trying to install the Linux guest. I've only ever installed Windows guests. Is the FreeBSD host system freezing up or the Linux guest install? I've installed various versions since VirtualBox hit ports and I've never had an issue, so I've never tried to troubleshoot anything, so I wouldn't know where to point you specifically. Is the host still accessable via SSH, ie: the X system is freezing, or the whole system frozen? Anything in /var/log/messages ? Henrik -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 22:06:33 2010 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 6A86F1065673 for ; Wed, 17 Mar 2010 22:06:33 +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 343A78FC22 for ; Wed, 17 Mar 2010 22:06:32 +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: G179 G180 G181 G182 G186 G187 G198 G285 X-Note: Encrypt Rule Hits: 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.3.2) with ESMTPS id 28759373 for freebsd-questions@freebsd.org; Wed, 17 Mar 2010 17:06:31 -0500 Received: from mbx03.exg5.exghost.com ([169.254.1.132]) by ht02.exg5.exghost.com ([98.129.23.15]) with mapi; Wed, 17 Mar 2010 17:06:30 -0500 From: Peter Steele To: "freebsd-questions@freebsd.org" Date: Wed, 17 Mar 2010 17:06:30 -0500 Thread-Topic: Generating a random hostname Thread-Index: AcrGHhko+HSm5M2VS7edJasC0jFsmw== Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@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: Generating a random hostname 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, 17 Mar 2010 22:06:33 -0000 Is there any facility in FreeBSD for generating a random hostname? We have = a template with a fixed hostname that has to be changed after the template = is closed. It would be useful to have a hostname generated randomly. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 22:10:26 2010 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 8C0571065670 for ; Wed, 17 Mar 2010 22:10:26 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 43F8E8FC0C for ; Wed, 17 Mar 2010 22:10:25 +0000 (UTC) Received: from beta.local (ppp-93-104-95-136.dynamic.mnet-online.de [93.104.95.136]) by mail.locolomo.org (Postfix) with ESMTPSA id 94FB41C0871 for ; Wed, 17 Mar 2010 23:10:24 +0100 (CET) Message-ID: <4BA1534E.8070209@locolomo.org> Date: Wed, 17 Mar 2010 23:10:22 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Generating a random hostname 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, 17 Mar 2010 22:10:26 -0000 On 17/03/10 23:06, Peter Steele wrote: > Is there any facility in FreeBSD for generating a random hostname? We have a template with a fixed hostname that has to be changed after the template is closed. It would be useful to have a hostname generated randomly. uuidgen? this command may be used by / -- Erik Nrgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 22:11:24 2010 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 C7844106564A for ; Wed, 17 Mar 2010 22:11:24 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 7FBF28FC17 for ; Wed, 17 Mar 2010 22:11:24 +0000 (UTC) Received: from beta.local (ppp-93-104-95-136.dynamic.mnet-online.de [93.104.95.136]) by mail.locolomo.org (Postfix) with ESMTPSA id 60E331C0871 for ; Wed, 17 Mar 2010 23:11:23 +0100 (CET) Message-ID: <4BA1538A.1060000@locolomo.org> Date: Wed, 17 Mar 2010 23:11:22 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Generating a random hostname 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, 17 Mar 2010 22:11:24 -0000 On 17/03/10 23:06, Peter Steele wrote: > Is there any facility in FreeBSD for generating a random hostname? We have a template with a fixed hostname that has to be changed after the template is closed. It would be useful to have a hostname generated randomly. uuidgen may do the job for you, BR, Erik -- Erik Nrgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 22:12:45 2010 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 A5AE71065673 for ; Wed, 17 Mar 2010 22:12:45 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 9191D8FC12 for ; Wed, 17 Mar 2010 22:12:45 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o2HMCiPB005165; Wed, 17 Mar 2010 15:12:45 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4BA153DC.70506@rawbw.com> Date: Wed, 17 Mar 2010 15:12:44 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20100206) MIME-Version: 1.0 To: Henrik Hudson References: <4BA13B7D.2010803@rawbw.com> <20100317215437.GA6601@alucard.int.rhavenn.net> <4BA1514F.50302@rawbw.com> <20100317220602.GA6674@alucard.int.rhavenn.net> In-Reply-To: <20100317220602.GA6674@alucard.int.rhavenn.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Anybody uses VMWare on FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 22:12:45 -0000 Henrik Hudson wrote: > I've only ever installed Windows guests. Is the FreeBSD host system > freezing up or the Linux guest install? > > I've installed various versions since VirtualBox hit ports and I've > never had an issue, so I've never tried to troubleshoot anything, so > I wouldn't know where to point you specifically. > > Is the host still accessable via SSH, ie: the X system is freezing, > or the whole system frozen? Anything in /var/log/messages ? > Host system freezes after a while after starting virtual machine. It's not accessible through ssh. Sound begins to cycle, everything freezes including X-system. Nothing is in /var/log/messages. Yuri From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 22:46:54 2010 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 A0FED1065670 for ; Wed, 17 Mar 2010 22:46:54 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward13.mail.yandex.net (forward13.mail.yandex.net [95.108.130.120]) by mx1.freebsd.org (Postfix) with ESMTP id 39FFF8FC18 for ; Wed, 17 Mar 2010 22:46:54 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward13.mail.yandex.net (Yandex) with ESMTP id 24C96100032C for ; Thu, 18 Mar 2010 01:46:52 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1268866012; bh=mjBSAJFKGKtjQ0UqYVZqHg8YuT+px+QpIVLlGRLixT8=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=QatqJ2HT96LAL2vBdbrBjbmjy3na9nqy2hm/++H4pHk0WTBy5Rk8Rmg8qj5gzYhV2 iwUJtEQSPD8sseo1X9VIKsW6MkLbnapOgVFqWEEg0jajIdkH2FwYLWalFOcn0pP7X8 1MUBk83FtUL7wuVTGS531AIjhvrlhF4LHM9wdxs0= Received: from HOMEUSER (unknown [77.93.42.18]) by smtp12.mail.yandex.net (Yandex) with ESMTPA id A3DBB4CC0088 for ; Thu, 18 Mar 2010 01:46:45 +0300 (MSK) X-Nat-Received: from [192.168.9.8]:4799 [ident-empty] by SPAM FILTER: with TPROXY id 1268866099.44224 abuse-to kes-kes@yandex.ru Date: Thu, 18 Mar 2010 00:46:48 +0200 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: <981815911.20100318004648@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: 1268866012 X-Yandex-Spam: 1 X-Yandex-Front: smtp12.mail.yandex.net Subject: Hardware NAT 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: Wed, 17 Mar 2010 22:46:54 -0000 Hello, FreeRadius. GE Intelligent Platforms - 10GE. Does FreeBSD support that? -- mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 22:50:06 2010 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 93B03106566B for ; Wed, 17 Mar 2010 22:50:06 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id 286D28FC1F for ; Wed, 17 Mar 2010 22:50:05 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id o2HMo4OD007603; Wed, 17 Mar 2010 23:50:04 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 89E4EBAB5; Wed, 17 Mar 2010 23:50:04 +0100 (CET) Date: Wed, 17 Mar 2010 23:50:04 +0100 From: Roland Smith To: Peter Steele Message-ID: <20100317225004.GA16533@slackbox.erewhon.net> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: "freebsd-questions@freebsd.org" Subject: Re: Generating a random hostname 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, 17 Mar 2010 22:50:06 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 17, 2010 at 05:06:30PM -0500, Peter Steele wrote: > Is there any facility in FreeBSD for generating a random hostname? We hav= e a > template with a fixed hostname that has to be changed after the template = is > closed. It would be useful to have a hostname generated randomly. For random strings, I tend to use openssl (e.g. with base64 encoding); openssl rand -base64 18 You do run the risk here of getting non-alphabetic characters here, so you might want to filter those: openssl rand -base64 18| sed 's|[^[:alpha:]]||g' Or if you are fine with just hex numbers; openssl rand 18 | hexdump -e '8 "%X" "\n"' Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkuhXJwACgkQEnfvsMMhpyWPzgCcCGOM6PfzesFLhVtTbIK4Wtx4 zqQAn2GcQdQm++FlQVRuxkn/3bPLlGC3 =T7xO -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 23:06:57 2010 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 9D507106566C for ; Wed, 17 Mar 2010 23:06:57 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.221.175]) by mx1.freebsd.org (Postfix) with ESMTP id 34FE28FC0C for ; Wed, 17 Mar 2010 23:06:56 +0000 (UTC) Received: by qyk5 with SMTP id 5so887781qyk.13 for ; Wed, 17 Mar 2010 16:06:56 -0700 (PDT) Received: by 10.229.241.66 with SMTP id ld2mr650743qcb.78.1268867215535; Wed, 17 Mar 2010 16:06:55 -0700 (PDT) Received: from papi.localnet ([189.70.193.124]) by mx.google.com with ESMTPS id 6sm7363829qwk.42.2010.03.17.16.06.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Mar 2010 16:06:54 -0700 (PDT) From: Mario Lobo To: Adam Vande More Date: Wed, 17 Mar 2010 20:08:26 +0000 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.5; amd64; ; ) References: <201003171546.00190.lobo@bsd.com.br> <201003171749.13163.lobo@bsd.com.br> <6201873e1003171451x2c5f1368j4a13d8b0d688c7d2@mail.gmail.com> In-Reply-To: <6201873e1003171451x2c5f1368j4a13d8b0d688c7d2@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201003172008.26388.lobo@bsd.com.br> Cc: freebsd-questions@freebsd.org Subject: Re: Measuring Free memory 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, 17 Mar 2010 23:06:57 -0000 On Wednesday 17 March 2010 21:51:11 Adam Vande More wrote: > On Wed, Mar 17, 2010 at 12:49 PM, Mario Lobo wrote: > > > Well I hope you find the issue, I'm experiencing the same issue > > > > siimplying > > > > > trying to csup from 8-RELEASE to 8-STABLE. From what I've been able > > > to gather I think this only applicable to amd64. You might have a > > > different reason for wanting to know this, but I can assure you my > > > lockups aren't > > > > due > > > > > to a lack of memory from the host anyways. I have an order of > > > magnitude more free memory(according to top) in my hosts than my VM > > > requires when it's running and it still locks on every csup attempt. > > > > > > Mem: 112M Active, 12M Inact, 1543M Wired, 632K Cache, 2245M Free > > > > > > VM is set to use 256MB. > > > > Its sounds as if your FreeBSD is a GUEST. For me, FreeBSD is the HOST. > > > > For what its worth, the recently released nvidia driver improved > > something. SO FAR, disabling GL everywhere has stopped the freezes. I've > > been able to run > > all guests I have (one at a time for now) and none of them froze my host. > > My host and VM are FreeBSD. 8-STABLE for me runs fine with current nvidia > drivers installed with GL enabled. > > > Host: 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Mar 11 14:45:20 CST 2010 > pkg_info |grep nvidia > nvidia-driver-195.22 NVidia graphics card binary drivers for hardware > OpenGL ren > > It is when I csup the VM to 8-STABLE the lockup occurs. > Understood now, Adam. I have no FBSD VM, but just about every other OS vms. LeoOSx, Win7(32&64), Several XPs, several 2003, Fedora and even an OS/2 warp. They all work. In fact, LeoOsx and Win7 (32) are up as I type this. The problem comes IF I change the rendering engine from Xrender to OpenGL. Or even if a GL screensaver kicks in. With OpenGL, Win7 freezes the host even before the login prompt, XP may run for 5 or 50 minutes and freeze, so does the all other OSes (except Fedora but it has no GUI) Here is my env: - Phenom II 955 black - 8G Ram - FreeBSD Papi 8.0-STABLE FreeBSD 8.0-STABLE #0 r204106M: Tue Mar 16 23:17:32 UTC 2010 root@Papi:/usr/obj/usr/src/sys/LOBO amd64 <- csuped yesterday ! - (II) Mar 17 19:44:28 NVIDIA(0): NVIDIA GPU GeForce 9800 GT (G92) at(GPU-0) - (II) NVIDIA dlloader X Driver 195.36.15 Fri Mar 12 08:49:20 posix/SystemV/PST 2010 <- compiled yesterday ! New release. - virtualbox-ose-devel-3.1.51.r27187 A general-purpose full virtualizer - virtualbox-ose-kmod-devel-3.1.51.r27187 VirtualBox kernel module for FreeBSD Latest port with Mac Support ! - KDE 4.3.5 Like I said on my last e-mail, The new driver improved on the old. With the 195.22 driver, the host would freeze even if I had Xrender enabled, and Lord knows how many syctl and boot tweaks I tried. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE) From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 23:13:52 2010 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 62E46106566B for ; Wed, 17 Mar 2010 23:13:52 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 3FAC38FC12 for ; Wed, 17 Mar 2010 23:13:52 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Ns2Qr-000BVy-8u; Wed, 17 Mar 2010 19:13:50 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id A24A83D07047; Wed, 17 Mar 2010 19:13:45 -0400 (EDT) Message-ID: <4BA16228.8050604@FreeBSD.org> Date: Wed, 17 Mar 2010 19:13:44 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Peter Steele References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) Cc: "freebsd-questions@freebsd.org" Subject: Re: Generating a random hostname X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 23:13:52 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter Steele wrote: > Is there any facility in FreeBSD for generating a random hostname? We have a template with a fixed hostname that has to be changed after the template is closed. It would be useful to have a hostname generated randomly. > Hi Peter, You could use the security/makepasswd port like so: # makepasswd --chars=8 xRVoqtQa You can also constrain the characters used for the hostname with the - --string option. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLoWIo0sRouByUApARAsmVAJwOtmcAaZQusmgdkNlI/cF4ihOQawCgj9W/ 3UKGgSc9FZ0DEIJvQQ6mCJE= =p5i/ -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 23:35:14 2010 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 91CE0106566C for ; Wed, 17 Mar 2010 23:35:14 +0000 (UTC) (envelope-from pvdl@afu.com) Received: from smtpauth03.prod.mesa1.secureserver.net (smtpauth03.prod.mesa1.secureserver.net [64.202.165.183]) by mx1.freebsd.org (Postfix) with SMTP id 424178FC0A for ; Wed, 17 Mar 2010 23:35:13 +0000 (UTC) Received: (qmail 29367 invoked from network); 17 Mar 2010 23:08:33 -0000 Received: from unknown (99.30.228.107) by smtpauth03.prod.mesa1.secureserver.net (64.202.165.183) with ESMTP; 17 Mar 2010 23:08:32 -0000 References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> <20100317225004.GA16533@slackbox.erewhon.net> In-Reply-To: <20100317225004.GA16533@slackbox.erewhon.net> Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Message-Id: Content-Transfer-Encoding: quoted-printable From: Peter van der Linden Date: Wed, 17 Mar 2010 16:08:31 -0700 To: Roland Smith X-Mailer: Apple Mail (2.1077) Cc: freebsd-questions@freebsd.org Subject: Re: Generating a random hostname 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, 17 Mar 2010 23:35:14 -0000 On Mar 17, 2010, at 3:50 PM, Roland Smith wrote: > openssl rand -base64 18| sed 's|[^[:alpha:]]||g' That works very well. My first run included an impressive anglo-saxon = observation. To diminish agitating the night shift, I suppose you = could filter out all the vowels. Peter, emailing from what was nearly hostname wpFUCKOKSFRMIQyCfNBeU= From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 23:42:56 2010 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 6F77F106566C for ; Wed, 17 Mar 2010 23:42:56 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 42E4B8FC22 for ; Wed, 17 Mar 2010 23:42:55 +0000 (UTC) Received: by pva18 with SMTP id 18so942838pva.13 for ; Wed, 17 Mar 2010 16:42: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 :date:message-id:subject:from:to:cc:content-type; bh=OgfzRPBl5py4+nEBBq2nJdhF1BQHomE7EC8npyfWG70=; b=gXokvuDH8t9ZFbaDYoSxpuq5uz+NAZKtcdpBTJG5xTMaWrpx6Cy7fU5xZjdmZRDzO7 1H1XMWpt+/BvnlWJ4qbhb94a36Mi+qV3/NjmzLtBjWiqtTAmmxCLI9wnfdwNmCcgP+3c 03D2ipSZeO0IfGAsvIo3UwnrkvnrPZlA7j7F0= 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=D6B8Qa8oL0o+TceDSPIW2RiIXrdbUDLDkqcQbDA2BUvfmCAO0c+tNNx4O7uVgcbUFI juSO4s7cg1MBzpsM3L9rdSP5zsrv5FeAfsBLLWicEI1O3LTwbIKoi9iQY865JvTU2ZXY C7w1VRSeJW5ftL1ode1Kh2ZezRQFeIZItHuP8= MIME-Version: 1.0 Received: by 10.142.67.34 with SMTP id p34mr653841wfa.335.1268869375177; Wed, 17 Mar 2010 16:42:55 -0700 (PDT) In-Reply-To: <201003172008.26388.lobo@bsd.com.br> References: <201003171546.00190.lobo@bsd.com.br> <201003171749.13163.lobo@bsd.com.br> <6201873e1003171451x2c5f1368j4a13d8b0d688c7d2@mail.gmail.com> <201003172008.26388.lobo@bsd.com.br> Date: Wed, 17 Mar 2010 18:42:54 -0500 Message-ID: <6201873e1003171642k38edd6d5p5cf4baaa33b0fc4@mail.gmail.com> From: Adam Vande More To: Mario Lobo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Measuring Free memory 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, 17 Mar 2010 23:42:56 -0000 On Wed, Mar 17, 2010 at 3:08 PM, Mario Lobo wrote: > > > > Understood now, Adam. > > I have no FBSD VM, but just about every other OS vms. LeoOSx, Win7(32&64), > Several XPs, several 2003, Fedora and even an OS/2 warp. They all work. In > fact, LeoOsx and Win7 (32) are up as I type this. > > The problem comes IF I change the rendering engine from Xrender to OpenGL. > Or even if a GL screensaver kicks in. > > With OpenGL, Win7 freezes the host even before the login prompt, XP may run > for 5 or 50 minutes and freeze, so does the all other OSes (except Fedora > but > it has no GUI) > > Here is my env: > > - Phenom II 955 black > - 8G Ram > > - FreeBSD Papi 8.0-STABLE FreeBSD 8.0-STABLE #0 r204106M: Tue Mar 16 > 23:17:32 > UTC 2010 root@Papi:/usr/obj/usr/src/sys/LOBO amd64 <- csuped > yesterday ! > > - (II) Mar 17 19:44:28 NVIDIA(0): NVIDIA GPU GeForce 9800 GT (G92) > at(GPU-0) > - (II) NVIDIA dlloader X Driver 195.36.15 Fri Mar 12 08:49:20 > posix/SystemV/PST 2010 <- compiled yesterday ! New release. > > - virtualbox-ose-devel-3.1.51.r27187 A general-purpose full virtualizer > - virtualbox-ose-kmod-devel-3.1.51.r27187 VirtualBox kernel module for > FreeBSD > Latest port with Mac Support ! > > - KDE 4.3.5 > > Like I said on my last e-mail, The new driver improved on the old. With the > 195.22 driver, the host would freeze even if I had Xrender enabled, and > Lord > knows how many syctl and boot tweaks I tried. > It does seem we have different issue then. FWIW: I have vbox installed on two separate systems w/ nvidia on both. The only other OS gui VM I have comparable to yours is an XP install. I don't use it, but my son plays games on it some video intensive. It seems to be stable for him, and I also use kde4.3.5 with openGL enabled. This are on VT enabled VM w/ 3d accel enabled and 128 MB video mem allocated. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 00:38:07 2010 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 71B1A106566C for ; Thu, 18 Mar 2010 00:38:07 +0000 (UTC) (envelope-from btillman99@yahoo.com) Received: from web36505.mail.mud.yahoo.com (web36505.mail.mud.yahoo.com [209.191.85.5]) by mx1.freebsd.org (Postfix) with SMTP id 3205A8FC13 for ; Thu, 18 Mar 2010 00:38:06 +0000 (UTC) Received: (qmail 11876 invoked by uid 60001); 18 Mar 2010 00:38:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1268872686; bh=us4yiCKha4xTmTN75TDQe1/XijQUGvxDa3I09KtVwfQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=y9IKP5jWeH015lU7soriPTsIWKXRs4o9nYuWbNEOCBrTAjRccdIpYfRnNCuOzbAc65SR28ve2TiBRYo6a942OxGZCezjSq3yUsKWxQ2TxTKqbCfBUJo/KoLI9wzgCnjZCm7XGuwEmWttNthUytPiBicfElgeXRHyrfm3NeYnQGo= 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:MIME-Version:Content-Type; b=M9D/ZBBFuQiv8b0V+OO5U5Kk3hl1GZr3zJgvNpR9nJzZBpVL4i0aaD4Lb45hMtH1cly2kL+jHyqlFAOGWFCj7fe2q+o9x73zmk627hnGtp4IApSUsmFl/JRgH+wCzCik8m+rKu+uwG/DhTRtGtWH2djbZFA0sGEWU2489AOQa2E=; Message-ID: <521093.11031.qm@web36505.mail.mud.yahoo.com> X-YMail-OSG: bIGQeVYVM1noZchPVKoRjpWmuBA8pQNC_pqf8MB61xCxnbo ZVpYueHwZiAzDJHTENez5VUkmMJWp3wMkGHxh0P07MszAVd6PN2PFXkl.OS1 SdyMuhM7axVN6wytTJ_J_FYs3ufEj9kNP3bIqdvJc8TxSuB6ADm7uMkLbnp_ gOP57odpoM6opPZiobqsumMHL6Xld3EGrWm49ArjbJ9SuluGNF20VWXYoXBV UwNKdOTBKwumqeV8lKZVqMyPocMBmp5c- Received: from [98.242.237.166] by web36505.mail.mud.yahoo.com via HTTP; Wed, 17 Mar 2010 17:38:06 PDT X-Mailer: YahooMailClassic/10.0.8 YahooMailWebService/0.8.100.260964 Date: Wed, 17 Mar 2010 17:38:06 -0700 (PDT) From: Bill Tillman To: freebsd-questions@freebsd.org 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: make buildworld runs out of 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: Thu, 18 Mar 2010 00:38:07 -0000 I have built two machines with 8.0-STABLE-201002-amd64. When I updated the = sources and ran make buildworld process it would fail claiming that / was f= ull. =A0 It seems to be running into the problem when the make installkernel portion= of my script was running. Both machines were built using the default of 51= 2M for /. I rebuilt the machines with 1G / and all was well. But one should= n't have to do this as 512M for / should be adequate.=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 01:02:03 2010 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 E3340106566B for ; Thu, 18 Mar 2010 01:02:03 +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 9756F8FC18 for ; Thu, 18 Mar 2010 01:02:03 +0000 (UTC) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 17 Mar 2010 21:02:03 -0400 Received: from mx04.lnh.mail.rcn.net (mx04.lnh.mail.rcn.net [207.172.157.54]) by mr02.lnh.mail.rcn.net (MOS 3.10.8-GA) with ESMTP id QOU33535; Wed, 17 Mar 2010 21:01:13 -0400 (EDT) Received: from 209-6-91-204.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.91.204]) by smtp04.lnh.mail.rcn.net with ESMTP; 17 Mar 2010 21:01:13 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <19361.31574.206802.546389@jerusalem.litteratus.org> Date: Wed, 17 Mar 2010 21:01:10 -0400 To: Bill Tillman In-Reply-To: <521093.11031.qm@web36505.mail.mud.yahoo.com> References: <521093.11031.qm@web36505.mail.mud.yahoo.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: make buildworld runs out of 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: Thu, 18 Mar 2010 01:02:04 -0000 Bill Tillman writes: > I have built two machines with 8.0-STABLE-201002-amd64. When I > updated the sources and ran make buildworld process it would fail > claiming that / was full. =A0 > > It seems to be running into the problem when the make > installkernel portion of my script was running. Both machines > were built using the default of 512M for /. I rebuilt the > machines with 1G / and all was well. But one shouldn't have to do > this as 512M for / should be adequate. =09Can you show us a "df" and a "du -x | sort -nr | head -n 25" for '/'?=20 =09=09=09=09=09Robert Huff From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 01:04:24 2010 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 89B72106567B for ; Thu, 18 Mar 2010 01:04:24 +0000 (UTC) (envelope-from gosand1982@yahoo.com) Received: from n2-vm0.bullet.mail.gq1.yahoo.com (n2-vm0.bullet.mail.gq1.yahoo.com [67.195.23.154]) by mx1.freebsd.org (Postfix) with SMTP id 579F18FC25 for ; Thu, 18 Mar 2010 01:04:24 +0000 (UTC) Received: from [98.137.27.132] by n2.bullet.mail.gq1.yahoo.com with NNFMP; 18 Mar 2010 00:50:38 -0000 Received: from [67.195.9.111] by t4.bullet.mail.gq1.yahoo.com with NNFMP; 18 Mar 2010 00:50:38 -0000 Received: from [127.0.0.1] by omp115.mail.gq1.yahoo.com with NNFMP; 18 Mar 2010 00:50:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 650562.88505.bm@omp115.mail.gq1.yahoo.com Received: (qmail 56451 invoked by uid 60001); 18 Mar 2010 00:50:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1268873438; bh=6wJoGYVxaHZVbvZPE6JwmYb/s1bcrbsMIJujLsjR3yM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=29lrPRzUybM1i08vjN2bSzrclhWQe4dTgzrfAiHzMjqADUQJUfNVum7JxMlH2p84dBCorjt2qSLYeE8w9caYUJ2esx7xtnposqlmL27lIK3wkSHaYUdGJANO7rUC7OAndYH5jgVzxOf/9qF5NTi0TmPoExWez6Gippadf6tHWhQ= 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:MIME-Version:Content-Type; b=nPzjsmJlssGReJqLLtTElv+Jcetin4wzXRH3OH1/poyJ7d6/hoHuJfdqC3GKm9wb4TOkWmDZSieoWsbMdTBrZGjcDJK2WQ81Zha/683JmjVjtaOmoGdj6hjL2QlNzZ42DeHEZg4uFnQTsQapQIr0tF22vwL60FM27E2YdF1Uk8E=; Message-ID: <510299.56442.qm@web111601.mail.gq1.yahoo.com> X-YMail-OSG: U5NRiAUVM1llpPROVPuFjaAtWStkTWqUVYc1poTGA4HF.uf hJpg_zqc0vm6qLkOERKc6ivaEnQlpzhXqv5E051ZT6MZeh8gZz7.IwXJwnG1 2XBSouKQ6gBLB9sHgDpUPeyMI99RMT...IY0inhGS.Bn5X5mkjXYIVeQbYTQ N74dbF2JXWbTz0LWDvg2RIyDvcKb5mYwB2oB7IerAA9xmiXQtW0iuk1I9N3U jjRHWByUHz._9txS7vaK7x5EZBshX1WjPcAkFTRUAjEhppwsFmMas5ifvx6r J6qIKmiQ- Received: from [24.5.102.43] by web111601.mail.gq1.yahoo.com via HTTP; Wed, 17 Mar 2010 17:50:38 PDT X-Mailer: YahooMailRC/324.3 YahooMailWebService/0.8.100.260964 Date: Wed, 17 Mar 2010 17:50:38 -0700 (PDT) From: George Sanders To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: How do I fix the broken python26 port in 7.2-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, 18 Mar 2010 01:04:24 -0000 Virgin 7.2-RELEASE install. I run: csup -h cvsup4.freebsd.org -i ports/lang/python26 -g -L 2 /usr/share/examples/cvsup/ports-supfile and now I have a /usr/ports/lang/python26/distinfo that looks like: MD5 (python/Python-2.6.4.tgz) = 17dcac33e4f3adb69a57c2607b6de246 SHA256 (python/Python-2.6.4.tgz) = 1a25a47506e4165704cfe2b07c0a064b0b5762a2d18b8fbdad5af688aeacd252 SIZE (python/Python-2.6.4.tgz) = 13322131 Perfect. I'll just do a 'make install' and ... # make install ===> Vulnerability check disabled, database not found ===> Found saved configuration for python26-2.6.4 => Python-2.6.1.tgz is not in /usr/ports/lang/python26/distinfo. => Either /usr/ports/lang/python26/distinfo is out of date, or => Python-2.6.1.tgz is spelled incorrectly. *** Error code 1 Stop in /usr/ports/lang/python26. *** Error code 1 Stop in /usr/ports/lang/python26. I have no idea how to make this work. I grepped everywhere for both "Python-2.6.1.tgz" and "python26-2.6.4" in an attempt to change them by hand, but I cannot find a single file in my filesystem that contains those strings, so I have no idea where the ports tree is getting this information. This was not an odd or non-standard operation - what am I doing wrong ? From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 01:08:25 2010 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 F0A20106564A for ; Thu, 18 Mar 2010 01:08:25 +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 B11908FC12 for ; Thu, 18 Mar 2010 01:08:25 +0000 (UTC) Received: from r55.edvax.de (port-92-195-17-177.dynamic.qsc.de [92.195.17.177]) by mx01.qsc.de (Postfix) with ESMTP id 0B6F03DFC0; Thu, 18 Mar 2010 02:08:23 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o2I18NOC002108; Thu, 18 Mar 2010 02:08:23 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 18 Mar 2010 02:08:23 +0100 From: Polytropon To: Bill Tillman Message-Id: <20100318020823.2091a76e.freebsd@edvax.de> In-Reply-To: <521093.11031.qm@web36505.mail.mud.yahoo.com> References: <521093.11031.qm@web36505.mail.mud.yahoo.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: make buildworld runs out of space 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, 18 Mar 2010 01:08:26 -0000 On Wed, 17 Mar 2010 17:38:06 -0700 (PDT), Bill Tillman wrote: > I rebuilt the machines with 1G / and all was well. But one > shouldn't have to do this as 512M for / should be adequate. It's not only the new kernel - a backup of the previous existing kernel is kept in /boot (and so on /). If you suppress this, all should be fine, but maybe dangerous in case your new kernel doesn't boot as intended. In this case, the subject "make buildworld runs out of space" may lead to a misunderstanding; according to what you stated, "make installkernel" was the operation causing the out of space problem. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 02:02:19 2010 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 4039F106564A for ; Thu, 18 Mar 2010 02:02:19 +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 C0D028FC12 for ; Thu, 18 Mar 2010 02:02:18 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ns53x-0002AQ-Lm for freebsd-questions@freebsd.org; Thu, 18 Mar 2010 03:02:17 +0100 Received: from pool-68-239-68-178.res.east.verizon.net ([68.239.68.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2010 03:02:17 +0100 Received: from nightrecon by pool-68-239-68-178.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2010 03:02:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Wed, 17 Mar 2010 22:01:50 -0400 Lines: 76 Message-ID: References: <510299.56442.qm@web111601.mail.gq1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-68-239-68-178.res.east.verizon.net Subject: Re: How do I fix the broken python26 port in 7.2-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, 18 Mar 2010 02:02:19 -0000 George Sanders wrote: > Virgin 7.2-RELEASE install. > > I run: > > csup -h cvsup4.freebsd.org -i ports/lang/python26 -g -L 2 > /usr/share/examples/cvsup/ports-supfile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > and now I have a /usr/ports/lang/python26/distinfo that looks like: > > MD5 (python/Python-2.6.4.tgz) = 17dcac33e4f3adb69a57c2607b6de246 > SHA256 (python/Python-2.6.4.tgz) = > 1a25a47506e4165704cfe2b07c0a064b0b5762a2d18b8fbdad5af688aeacd252 SIZE > (python/Python-2.6.4.tgz) = 13322131 This looks like mine. > Perfect. I'll just do a 'make install' and ... > > # make install > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for python26-2.6.4 > => Python-2.6.1.tgz is not in /usr/ports/lang/python26/distinfo. This is the wrong distfile. > => Either /usr/ports/lang/python26/distinfo is out of date, or > => Python-2.6.1.tgz is spelled incorrectly. > *** Error code 1 > > Stop in /usr/ports/lang/python26. > *** Error code 1 > > Stop in /usr/ports/lang/python26. > > > I have no idea how to make this work. I grepped everywhere for both > "Python-2.6.1.tgz" and "python26-2.6.4" in an attempt to change them by > hand, but I cannot find a single file in my filesystem that contains those > strings, so I have no idea where the ports tree is getting this > information. > > This was not an odd or non-standard operation - what am I doing wrong ? > I believe something in your juxtaposition of commands in your command line above [near beginning of post] has produced an out of order and munged path. I haven't built the python26 port anytime recently, but have several django related things running fine under it. What I do is csup the ports tree by itself (not trying to do it at the same time on the same command line as the build). I keep my csup housekeeping and supfiles in /usr/sup so I just cd /usr/sup and csup -L 2 ports where my 'ports' file simply contains: *default host=cvsup.nl.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix compress ports-all After the ports tree refresh is finished then I install software by changing to the appropriate port directory and do the usual make && make install && make clean dance. I also use portupgrade so there are additional embellishments for use in an update/upgrade scenario. Try separating the steps, ala do the ports tree refresh to completion first, then attempt to install the port. -Mike From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 02:48:21 2010 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 A4784106566B for ; Thu, 18 Mar 2010 02:48:21 +0000 (UTC) (envelope-from kingedgar@gmail.com) Received: from mail-yx0-f185.google.com (mail-yx0-f185.google.com [209.85.210.185]) by mx1.freebsd.org (Postfix) with ESMTP id 207738FC0A for ; Thu, 18 Mar 2010 02:48:20 +0000 (UTC) Received: by yxe15 with SMTP id 15so805261yxe.7 for ; Wed, 17 Mar 2010 19:48:20 -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=x8K3A+de9VUbOYJNT+u1NqbYF1WA8/S8Bllb5CIMpRc=; b=XFV6F4iRKRJ9axqRCjNa1LsVqG+ANVv11ow5dmY2G3GK6TsB7mLkBMOLjomBC+/DUj l8+hD2wfKADTRwQyuj67axIKNgeK/gHnqNvrv5IwuWr2OFTt5QzZ2xFjbHT97SwMeU9O 2L7zFa05+SGTB9eVIbKuqw7Ddje+XHThUy7rI= 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=iednCYWP7NkPWrOJnyX9/SrGFaPYGlxTeuvrS+kEC+e474wwWCisZGbBICg46T6ArL DHVcWtKYCgsr1KJ4+z2dVaV93rCrEKclZYGSApdvGuhIRGIDCFuBc1/uYfSZi5Yz24WL vlM4hjIB00hZS4qLr3M+0n0lu4dekrR0rvoq8= MIME-Version: 1.0 Received: by 10.150.67.1 with SMTP id p1mr4837759yba.114.1268880500161; Wed, 17 Mar 2010 19:48:20 -0700 (PDT) In-Reply-To: <20100318020823.2091a76e.freebsd@edvax.de> References: <521093.11031.qm@web36505.mail.mud.yahoo.com> <20100318020823.2091a76e.freebsd@edvax.de> Date: Wed, 17 Mar 2010 21:48:20 -0500 Message-ID: <970380131003171948u5acca730i9f95e3731a1ab9d5@mail.gmail.com> From: Jason Garrett To: FreeBSD-Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: make buildworld runs out of 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: Thu, 18 Mar 2010 02:48:21 -0000 On Wed, Mar 17, 2010 at 20:08, Polytropon wrote: > On Wed, 17 Mar 2010 17:38:06 -0700 (PDT), Bill Tillman wrote: >> I rebuilt the machines with 1G / and all was well. But one >> shouldn't have to do this as 512M for / should be adequate. > > It's not only the new kernel - a backup of the previous > existing kernel is kept in /boot (and so on /). If you > suppress this, all should be fine, but maybe dangerous > in case your new kernel doesn't boot as intended. > > In this case, the subject "make buildworld runs out of > space" may lead to a misunderstanding; according to what > you stated, "make installkernel" was the operation > causing the out of space problem. > > > > -- > 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" > Just a note, the default 512mb is never enough room, especially since hard drive space is negligible these days. I always use 4G for / From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 02:52:43 2010 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 844CD1065672 for ; Thu, 18 Mar 2010 02:52:43 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-yw0-f185.google.com (mail-yw0-f185.google.com [209.85.211.185]) by mx1.freebsd.org (Postfix) with ESMTP id 2FF898FC08 for ; Thu, 18 Mar 2010 02:52:42 +0000 (UTC) Received: by ywh15 with SMTP id 15so726221ywh.28 for ; Wed, 17 Mar 2010 19:52:42 -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=3++EtvRr6/R60pgvo1N2bcOQh4h5dzyJ/1oRnI8JGns=; b=OpovbCDLr8x4i0Sk2Tr90L9u6TtE9TTRylk5LKiGuCnj2ZOnQgooNN9GxlxPs2NVpC 6keMhTEQQkNpNu0grgaA/OHyqoev3u3d0LzgEJsUGb7Gap2NHpAMyeifO+9pygBsoXjy rzFO0yGkWa/LBdVH41IEx+sEj9+bTOkZXR2VI= 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=praBxCnkJrKqN2pEVocaib+e+XPUnAqOAEA18oI+cGH7QvwbpdsB/S50sWuau59QBp IbTToEb/7r18SK6cDLLac0o/J+BI8Nk0bxDv2Y73qMiJUPiUQEFmXmvtv9wB2qxQtxak wo9vMSrbM4BQdhtYmtARO7ID9xmNElGHcfKNQ= MIME-Version: 1.0 Received: by 10.91.96.1 with SMTP id y1mr1572313agl.71.1268880762251; Wed, 17 Mar 2010 19:52:42 -0700 (PDT) In-Reply-To: <4BA0F3DD.8010604@gmail.com> References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> <0b9982274818d454f23bc89ac74d30f5@asterix.area536.com> <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> <4BA0F3DD.8010604@gmail.com> From: Amitabh Kant Date: Thu, 18 Mar 2010 08:22:22 +0530 Message-ID: <84b68b3d1003171952t7271733p6bc724359e9cb29b@mail.gmail.com> To: ricardo.m.jesus@criticalsoftware.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= , "Bas v.d. Wiel" Subject: Re: Which version of FreeBSD is it? 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, 18 Mar 2010 02:52:43 -0000 2010/3/17 Ricardo Jesus > It should be 6.2-RC1 -> 6.2 -> 6.4 -> 7.2 -> 8.0 > > Dont' think freebsd-update supports 6.2 (AFAIR it supports from 6.4 > onwards), so you probably will have to use csup. > > freebsd-update was available from 6.2, so there is a good chance it should be present in RC version too. If not, there should be a port version for freebsd-update. Amitabh Kant From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 03:03:06 2010 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 66DF0106564A for ; Thu, 18 Mar 2010 03:03:06 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id CA1EE8FC13 for ; Thu, 18 Mar 2010 03:03:05 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id BAE30EB47F8; Thu, 18 Mar 2010 05:03:04 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 990D7160CD7; Thu, 18 Mar 2010 05:03:04 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sAAX1sfHWvWo; Thu, 18 Mar 2010 05:03:04 +0200 (EET) Received: from kobe.laptop (ppp-94-64-193-166.home.otenet.gr [94.64.193.166]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 57033160CD6; Thu, 18 Mar 2010 05:03:04 +0200 (EET) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o2I333ov017944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Mar 2010 05:03:03 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o2I333nY017941; Thu, 18 Mar 2010 05:03:03 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Bill Tillman References: <521093.11031.qm@web36505.mail.mud.yahoo.com> Date: Thu, 18 Mar 2010 05:03:03 +0200 In-Reply-To: <521093.11031.qm@web36505.mail.mud.yahoo.com> (Bill Tillman's message of "Wed, 17 Mar 2010 17:38:06 -0700 (PDT)") Message-ID: <87pr32fi1k.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: make buildworld runs out of 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: Thu, 18 Mar 2010 03:03:06 -0000 On Wed, 17 Mar 2010 17:38:06 -0700 (PDT), Bill Tillman wrote: > I have built two machines with 8.0-STABLE-201002-amd64. When I updated > the sources and ran make buildworld process it would fail claiming > that / was full. > > It seems to be running into the problem when the make installkernel > portion of my script was running. Both machines were built using the > default of 512M for /. I rebuilt the machines with 1G / and all was > well. But one shouldn't have to do this as 512M for / should be > adequate. Yes it's adequate for *one* kernel. But it's often too limited for a couple of kernels (e.g. /boot/kernel.old and /boot/kernel). My /boot has two kernels now, and they are build with debugging symbols so they take a bit more space, but the following is a sample du run: $ du -hsx /boot/kernel* /boot 136M /boot/kernel 136M /boot/kernel.old 273M /boot $ With 273 MB for kernels, there has to be adequate space for the *rest* of the root filesystem files too. With 512 MB you are very close to having "just enough" space, but it's not certain if e.g. your /tmp already contains a few dozen MB of temporary files. As you found out, 1 GB of root filesystem space is ok for now :-) From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 07:15:32 2010 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 964EA106564A for ; Thu, 18 Mar 2010 07:15:32 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 6B5498FC17 for ; Thu, 18 Mar 2010 07:15:32 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o2I7FWt9091013 for ; Thu, 18 Mar 2010 00:15:32 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4BA1D312.9010302@rawbw.com> Date: Thu, 18 Mar 2010 00:15:30 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20100206) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Which gdb GUI do you use? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 07:15:32 -0000 I know there is ddd, but it has so many bugs that it makes it barely usable. There is emacs, but I am not used to it and don't like it. It's love it or hate it usually for most people. There is some GUI called Insight, for some reason it's not in ports. I've built it and it looks unstable. Gives me an error message: thread.c:79: internal-error: inferior_thread: Assertion 'tp' failed. ... Which GUI you use? Yuri From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 07:20:30 2010 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 B83951065670 for ; Thu, 18 Mar 2010 07:20:30 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 4D9E88FC0A for ; Thu, 18 Mar 2010 07:20:30 +0000 (UTC) Received: by ewy26 with SMTP id 26so988053ewy.3 for ; Thu, 18 Mar 2010 00:20: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=1BYoUZv7eDn9pbLiJj722DjP1t0wNCzjCkJ6c2GjWPU=; b=a7BTDlj0JU83hCSodTpXvT0IrlqxN5KHPTCXvTtFprCQtL43VzgJ0EnPB7GXC71XwF YwisR6CZNW7KjJV+5tlBj/GkzJh6mvGsn62zy5nO75TybI/qgSI/Fs8AxhYnOmh1dxfL gcYycUXdweVLyDHzU50n/4IJsholj3WnpuDaI= 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=KrFtZpM5O5NZ/70sT9ZSA+IDi80zwen0vlmc7F5HEuVb7R8F3EEytaaQizzVwjpiI8 XQa7TJ0LIWEuoIJRs4FZj23w4QT1F2Oh61cP5k1+9qn1Ct4Ib6vj17ZIx+NBX+6bGDL0 1xSSeYYQ2nIf12CH2DMac4yFNC2JYnbhUOHJA= MIME-Version: 1.0 Received: by 10.213.104.80 with SMTP id n16mr352603ebo.54.1268896828960; Thu, 18 Mar 2010 00:20:28 -0700 (PDT) In-Reply-To: <4BA1D312.9010302@rawbw.com> References: <4BA1D312.9010302@rawbw.com> Date: Thu, 18 Mar 2010 08:20:28 +0100 Message-ID: <1bd550a01003180020u13ddb054o2da56671826a74b@mail.gmail.com> From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: yuri@rawbw.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Which gdb GUI do you use? 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, 18 Mar 2010 07:20:30 -0000 On Thu, Mar 18, 2010 at 8:15 AM, Yuri wrote: > I know there is ddd, but it has so many bugs that it makes it barely usable. > There is emacs, but I am not used to it and don't like it. It's love it or > hate it usually for most people. > There is some GUI called Insight, for some reason it's not in ports. I've > built it and it looks unstable. > Gives me an error message: thread.c:79: internal-error: inferior_thread: > Assertion 'tp' failed. ... > > Which GUI you use? None. I faced the same limitations that you did with ddd. Occasionally I use "Ctrl-X a" to get a window that shows the source code. Cheers > > Yuri > _______________________________________________ > 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 Mar 18 07:49:24 2010 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 476FC1065673 for ; Thu, 18 Mar 2010 07:49:24 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-pz0-f198.google.com (mail-pz0-f198.google.com [209.85.222.198]) by mx1.freebsd.org (Postfix) with ESMTP id 1B1DB8FC08 for ; Thu, 18 Mar 2010 07:49:24 +0000 (UTC) Received: by pzk36 with SMTP id 36so1430862pzk.8 for ; Thu, 18 Mar 2010 00:49:23 -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=89p9SesWPYCFvPpr1drj9V29PJrhH1Tn8Eq1y10pN8U=; b=Q+ziglqCShC+AUq6yvbSrcJpEZOKXkIK6PzLcrF8NIVKTvLWAre9B6JyoYhmxFzlAc rc8XcnvzpUc/PoJFASM72mCXleFFMxp9vnzdBlenJQT2hlNIp3jrvzed6BUBcH3jW/Um FBVrVmKLkrjbtLYldvGtEHR5AyjYnV9eF+AiQ= 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=gwMf733aUt0SPeTCBIBQOREFpWydNGPm9HG5gVabqboZ2TK+ecd/Jcr9Lmx041ik3+ 2sWonFyU3j8Vc99InvPjXNTOCHcSZBui38mFj0kfp83FjHGLaBav48U8gEv4Kt/2EXSC D5qUaAk3Dmthy4fSVzILd47pr2mrj/hVO83wg= MIME-Version: 1.0 Received: by 10.114.188.30 with SMTP id l30mr869243waf.134.1268898563640; Thu, 18 Mar 2010 00:49:23 -0700 (PDT) In-Reply-To: <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> <0b9982274818d454f23bc89ac74d30f5@asterix.area536.com> <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> Date: Thu, 18 Mar 2010 01:49:23 -0600 Message-ID: From: Tim Judd To: =?KOI8-R?B?4c7Uz84g68zF09M=?= Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Which version of FreeBSD is it? 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, 18 Mar 2010 07:49:24 -0000 On 3/17/10, =E1=CE=D4=CF=CE =EB=CC=C5=D3=D3 wrote: > That is what I suspected for. > > What is the most safe way to upgrade it, remembering that this is product= ion > server and I have to keep it working properly? > > 6.2-RC1 -> 6.2 RELEASE -> 7.2 RELEASE -> 8.0 RELEASE, or somehow in this > style? Honestly, if a system is going to go through that large of a change, here's what I'd recommend. First scenario is the quickest running, then continue with the second to keep it up-to-date Since *ALL* configuration of base and ports is done by /etc and /usr/local/etc, back up those two directories to a tarball. they're all text files so it should compress very well. Note the packages currently on your system with a simple pkg_info. This gets you a prime data set that can restore 99%+ functionality if used. Scenario 1: pkg_info >/root/pkg_info.txt tar -cPpzf /root/62rc1-config.tgz /etc /usr/local/etc /root/pkg_info.txt ** keep this /root/62rc1-config.tgz archive in a safe 2 spots. 2 spots. fresh install of 8.0R on the box. extract, at minimum, the /etc entries from the tarball kept safely away from the box for each package listed in pkg_info.txt, install from packages that package (just the QUICK way to bring a box to a usable state) extract the /usr/local/etc from the tarball. **TRY** to restart your services. The reason I state 'try' is that config files may have changed from a package version a.b to x.y, so you may need to tweak your config files to match the current package. Now that you have a live box again, able to serve requests, it's time to keep it maintained. Scenario 2: install portaudit run portaudit, fix any vulnerabilities ** at this time, your system is safe from most vulnerabilities run your favorite port management software to update the rest of the ports who do not have vulnerability advisories. I've used this tactic before, works well and WILL be faster than you updating your system from 6.2 to 6.4 to 7.2 to 8.0 Let me know if you have questions. --TJ From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 08:32:38 2010 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 D37A11065673 for ; Thu, 18 Mar 2010 08:32:38 +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 471238FC17 for ; Thu, 18 Mar 2010 08:32:38 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o2I8WVt6030618 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 18 Mar 2010 08:32:32 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BA1E51F.20304@infracaninophile.co.uk> Date: Thu, 18 Mar 2010 08:32:31 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Peter Steele References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk Cc: "freebsd-questions@freebsd.org" Subject: Re: Generating a random hostname 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, 18 Mar 2010 08:32:38 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/03/2010 22:06:30, Peter Steele wrote: > Is there any facility in FreeBSD for generating a random hostname? We > have a template with a fixed hostname that has to be changed after > the template is closed. It would be useful to have a hostname > generated randomly. perl -le '@a=(a..z,0..9); print map {$a[rand @a]} (1..8)' That gives you 2,821,109,907,456 different possibilities so you should be able to use it for a while without too much fear of duplicates. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuh5R8ACgkQ8Mjk52CukIwBvQCdF+DQpVJaEeO0UetodSBmLZ0t NRkAn3Qgw8R2ovE5+in1iNN5CQ8kwwdT =hC2G -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 08:37:37 2010 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 BDE1E106564A for ; Thu, 18 Mar 2010 08:37:37 +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 4F7298FC0C for ; Thu, 18 Mar 2010 08:37:37 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.3/8.14.3) with ESMTP id o2I8bTf9032862; Thu, 18 Mar 2010 09:37:29 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.3/8.14.3/Submit) id o2I8bTin032861; Thu, 18 Mar 2010 09:37:29 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Thu, 18 Mar 2010 09:37:29 +0100 From: Ruben de Groot To: ?????????? ?????????? Message-ID: <20100318083729.GA32504@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , ?????????? ?????????? , freebsd-questions@freebsd.org References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> 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]); Thu, 18 Mar 2010 09:37:36 +0100 (CET) Cc: freebsd-questions@freebsd.org Subject: Re: Which version of FreeBSD is it? 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, 18 Mar 2010 08:37:37 -0000 On Wed, Mar 17, 2010 at 04:56:20PM +0300, ?????????? ?????????? typed: > I have the server that's running FreeBSD for the last few years, but I saw > it only year ago and know nothing about when and how was installed FreeBSD > on it. > > # uname -a > FreeBSD myhost.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar 5 01:37:03 MSK > 2010 root@myhost.net:/usr/obj/usr/src/sys/MYKERN amd64 > > Is it RELEASE, STABLE or what? As others have said, it's a RELEASE candidate. But this kernel it's running was compiled earlier this month (March 5). Ruben From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 08:38:49 2010 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 71CFB1065675 for ; Thu, 18 Mar 2010 08:38:49 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 1BFA88FC17 for ; Thu, 18 Mar 2010 08:38:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id A0B743A385E; Thu, 18 Mar 2010 15:38:47 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1268901527; x= 1270715927; bh=vLMG1u5luOnodEPmV+lzzdzMsm2bOdGfjboDs1RtmBE=; b=h BR+mjj41apTzpKZp0//4rPm/CRSgNPpYmgXq+g9Rec2yGxf55n9J4S9rTaVqjqtK z/hUxQfYPrtwL3IJBj0S7hXEEggEJPqLGb32N4fNa0PBejU6QQxFyfjn0BGP2+iE ROEBdLGuL8Fn6X8ZGdYgLv6jhmhnMH7Oirs2OvKslU= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KMVWDyf8VLlT; Thu, 18 Mar 2010 15:38:47 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 306DA3A385D; Thu, 18 Mar 2010 15:38:47 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o2I8cgPa030935; Thu, 18 Mar 2010 15:38:42 +0700 (ICT) (envelope-from on) Date: Thu, 18 Mar 2010 15:38:42 +0700 (ICT) Message-Id: <201003180838.o2I8cgPa030935@banyan.cs.ait.ac.th> From: Olivier Nicole To: psteele@maxiscale.com, freebsd-questions@freebsd.org In-reply-to: <4BA1E51F.20304@infracaninophile.co.uk> (message from Matthew Seaman on Thu, 18 Mar 2010 08:32:31 +0000) References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> <4BA1E51F.20304@infracaninophile.co.uk> Cc: Subject: Re: Generating a random hostname 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, 18 Mar 2010 08:38:49 -0000 > Is there any facility in FreeBSD for generating a random hostname? We > have a template with a fixed hostname that has to be changed after > the template is closed. It would be useful to have a hostname I have somewhere a Perl script that can be used/adapted to generate pseudo English words. You would have to work on the script though, because now it also add numbers and other signs, to generate passwords. Bests, Olivier From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 08:41:47 2010 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 BD96D106564A for ; Thu, 18 Mar 2010 08:41:47 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by mx1.freebsd.org (Postfix) with ESMTP id A5B8F8FC1D for ; Thu, 18 Mar 2010 08:41:47 +0000 (UTC) Received: from omta04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by qmta12.emeryville.ca.mail.comcast.net with comcast id uYho1d0030lTkoCACYho9x; Thu, 18 Mar 2010 08:41:48 +0000 Received: from comcast.net ([98.203.142.76]) by omta04.emeryville.ca.mail.comcast.net with comcast id uYhm1d0021f6R9u8QYhmYS; Thu, 18 Mar 2010 08:41:48 +0000 Received: by comcast.net (sSMTP sendmail emulation); Thu, 18 Mar 2010 01:41:44 -0700 Date: Thu, 18 Mar 2010 01:41:44 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20100318084144.GB265@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <4BA1D312.9010302@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4BA1D312.9010302@rawbw.com> X-Mailer: Mutt 1.5.20 X-Composer: VIM 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Which gdb GUI do you use? 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, 18 Mar 2010 08:41:47 -0000 On Thu 18 Mar 2010 at 00:15:30 PDT Yuri wrote: >I know there is ddd, but it has so many bugs that it makes it barely usable. >There is emacs, but I am not used to it and don't like it. It's love >it or hate it usually for most people. >There is some GUI called Insight, for some reason it's not in ports. >I've built it and it looks unstable. >Gives me an error message: thread.c:79: internal-error: >inferior_thread: Assertion 'tp' failed. ... > >Which GUI you use? cgdb, but it's not a GUI. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 08:45:00 2010 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 4CFD41065673 for ; Thu, 18 Mar 2010 08:45:00 +0000 (UTC) (envelope-from antoniok.spb@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 975F88FC0A for ; Thu, 18 Mar 2010 08:44:59 +0000 (UTC) Received: by fxm24 with SMTP id 24so1330779fxm.3 for ; Thu, 18 Mar 2010 01:44: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; bh=nKfnPaAhHAnVizrHJiH072gNcJixa/Od0igxNmMdHqM=; b=nnIdwcc+5aTgN13nzC0A0AxhhqukhQhmPsxv/yqKjLri32qRXq/UaRN4RjpchfKfDe FpQx5PUOUN9jNZjBu4OMykW7cjLOrW9oePrscXmwEkiu+ORKolEkPfbRDS2fn2HYDt6f 1MBZNLLKo6LSe9UF7Cak2qC+vYIcYKXhHQFOM= 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; b=PPFkYkPmvSa4sUE8vaDfkRDO2kKNrpHg8eFWFKT5WJa1DGxcstBiVcHdQZHHji4/19 +/GFR6d1XKS2Iueyb2QMgplmdlOZ4hJXR3982FKToT+hdp2hLlHiztAzrEAOs8cGGH5w +5P34gbj3Fb0t7Y2NE3BO6uAQ3UiIjRg5xmB8= MIME-Version: 1.0 Received: by 10.239.190.138 with SMTP id x10mr1287190hbh.134.1268901898423; Thu, 18 Mar 2010 01:44:58 -0700 (PDT) In-Reply-To: <20100318083729.GA32504@ei.bzerk.org> References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> <20100318083729.GA32504@ei.bzerk.org> From: =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= Date: Thu, 18 Mar 2010 11:44:38 +0300 Message-ID: <3f1c29e71003180144j24f12e3t6ee265f913b814d8@mail.gmail.com> To: Ruben de Groot , "?????????? ??????????" , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Which version of FreeBSD is it? 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, 18 Mar 2010 08:45:00 -0000 2010/3/18 Ruben de Groot > > As others have said, it's a RELEASE candidate. But this kernel it's running > was compiled earlier this month (March 5). > > Ruben > It is OK, course I have compiled my own kernel by commenting-out unused devices in GENERIC kernconf-file. Sources was newer updated, I just dont know how to do that =) From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 08:52:46 2010 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 074BF106564A for ; Thu, 18 Mar 2010 08:52:46 +0000 (UTC) (envelope-from antoniok.spb@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 83E4B8FC1A for ; Thu, 18 Mar 2010 08:52:45 +0000 (UTC) Received: by fxm24 with SMTP id 24so1335811fxm.3 for ; Thu, 18 Mar 2010 01:52:44 -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=nic5ASDC0vWb6mqoqEItL9EYq7ezQOs3pkFpyp4xA0M=; b=c3kj79DbK7z+wtb4BULrHn3GwygPP3b7COSa6SRGlLAkgkMesXlz9TsSJnHAtM2wz8 0yINMbilWEOys0rkddZdgYMUKq141/ovwG/3liFxnK87gH1k9twznPPu/ZGDhUJYie6B 9euIhsSmlBEV0UDYZ2Le4GyfodLS351Gn1lJM= 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=WQ3MbSeaSmgXnh6wNT4kACKeYyzjcsQy03/kFRevdS5Dl40NYZImT0BYBp0Y+dG0Q6 OHELQyC1qD/wpSc7wEs8GCgrhf8wU8HOKfWDE3WgyZXgAtwiyZ4UrOfgo/reKiIqFR4A IDWMSsYuESR4wj20oQoohblAYgP+2RhDwo7Ks= MIME-Version: 1.0 Received: by 10.239.165.198 with SMTP id y6mr180105hbd.98.1268902364213; Thu, 18 Mar 2010 01:52:44 -0700 (PDT) In-Reply-To: References: <3f1c29e71003170656u1b932fd2v37f5062440653e3b@mail.gmail.com> <0b9982274818d454f23bc89ac74d30f5@asterix.area536.com> <3f1c29e71003170745u55a4fad2rd8c6f39d02fa968f@mail.gmail.com> From: =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= Date: Thu, 18 Mar 2010 11:52:24 +0300 Message-ID: <3f1c29e71003180152v3a7411behf6185dcd5c7c93eb@mail.gmail.com> To: Tim Judd 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: Which version of FreeBSD is it? 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, 18 Mar 2010 08:52:46 -0000 18 =CD=C1=D2=D4=C1 2010 =C7. 10:49 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D8 Tim= Judd =CE=C1=D0=C9=D3=C1=CC: > On 3/17/10, =E1=CE=D4=CF=CE =EB=CC=C5=D3=D3 wrot= e: > > That is what I suspected for. > > > > What is the most safe way to upgrade it, remembering that this is > production > > server and I have to keep it working properly? > > > > 6.2-RC1 -> 6.2 RELEASE -> 7.2 RELEASE -> 8.0 RELEASE, or somehow in thi= s > > style? > > > > Honestly, if a system is going to go through that large of a change, > here's what I'd recommend. First scenario is the quickest running, > then continue with the second to keep it up-to-date > > > Since *ALL* configuration of base and ports is done by /etc and > /usr/local/etc, back up those two directories to a tarball. they're > all text files so it should compress very well. Note the packages > currently on your system with a simple pkg_info. This gets you a > prime data set that can restore 99%+ functionality if used. > > Scenario 1: > pkg_info >/root/pkg_info.txt > tar -cPpzf /root/62rc1-config.tgz /etc /usr/local/etc /root/pkg_info.txt > ** keep this /root/62rc1-config.tgz archive in a safe 2 spots. 2 spots. > > fresh install of 8.0R on the box. > extract, at minimum, the /etc entries from the tarball kept safely > away from the box > for each package listed in pkg_info.txt, install from packages that > package (just the QUICK way to bring a box to a usable state) > extract the /usr/local/etc from the tarball. **TRY** to restart > your services. > > The reason I state 'try' is that config files may have changed from a > package version a.b to x.y, so you may need to tweak your config files > to match the current package. > > > > Now that you have a live box again, able to serve requests, it's time > to keep it maintained. > > Scenario 2: > install portaudit > run portaudit, fix any vulnerabilities > ** at this time, your system is safe from most vulnerabilities > run your favorite port management software to update the rest of the > ports who do not have vulnerability advisories. > > > > I've used this tactic before, works well and WILL be faster than you > updating your system from 6.2 to 6.4 to 7.2 to 8.0 > > > Let me know if you have questions. > > --TJ > Well, while my skills about FreeBSD is not good enough to let me feel OK to experiment with 6.2 to 6.4 to 7.2 to 8.0 updating, and while server is hard to physically access, I guess that just to do fresh install of RELEASE and re-configuring it in the way that Tim Judd told, would b= e much more quick and safe for my services running on this server now. So the last question is which version (7.2 or 8.0) to choose. Am I right if I say "there would no problems with hardware compatibility on 8.0 if there wasn't on 6.2"? From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 09:03:02 2010 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 07FE3106566B for ; Thu, 18 Mar 2010 09:03:02 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 935E48FC16 for ; Thu, 18 Mar 2010 09:03:01 +0000 (UTC) Received: by fxm24 with SMTP id 24so1342681fxm.3 for ; Thu, 18 Mar 2010 02:03: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=Egocg6CNLq3Fv74joar3GHr4X5bI5C0Kpl0j1VjXZUE=; b=qi11UhgaGx9997rGkgsUbq61U/qyXe2Tu4WXflVKUkdL7gErnf4mpgGwnyxED5sEv/ yw5GIEMILqiShTQVe2xqKhtwgL8ZI0r1pR+0evsDZdzd1julpMlEscaOKviUvpnHL2ro KW9ZpITT3rtzcaMixRPr+Bg3ZQnztVZR/+H7w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=O+I12Ptybr2hdLf3SMWy2U7sroAy2d99q54N5V7DwN1dlMWmwTwk/807ZxQgwDQ5P2 MrhqMlZO2Zku1N96Qy764BEbsC7GkEz9ILPe/f5dW/dEdRVIzps29cOUakmXXEIVPrYf lIxncGHEqL/UvbfSpc4FLrUz8vQG0bV6wMaGQ= MIME-Version: 1.0 Received: by 10.239.165.73 with SMTP id w9mr1084891hbd.144.1268901456832; Thu, 18 Mar 2010 01:37:36 -0700 (PDT) Date: Thu, 18 Mar 2010 09:37:32 +0100 Message-ID: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> From: Andy Wodfer To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Hardware RAID controller questions - 3Ware vs RocketRaid 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, 18 Mar 2010 09:03:02 -0000 Hi, We're setting up two backup servers where each server will have about 4TB of harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran into trouble with the 3ware controllers we have (9650SE-8LPML) because we couldn't create a larger RAID5 than 1.99TB. We are going to use FreeBSD 8.0 and Bacula, but first we obviously need to create a working RAID. My questions are: - Are HighPoint RocketRaid controllers a good alternative to 3ware controllers? Are RocketRaid controllers true hardware RAID? - What should we look for in a RAID controller spec to see that it has support for larger than 2TB RAIDs? I've been looking at these: http://www.highpoint-tech.com/USA_new/series_rr2300.htm http://www.highpoint-tech.com/USA_new/series_rr3500.htm Any FreeBSD recommendations? Or perhaps for another 3ware controller? We're using SATAII drives. Thanks for your help! Best regards, Andreas From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 09:19:52 2010 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 90F81106564A for ; Thu, 18 Mar 2010 09:19:52 +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 01FC28FC1D for ; Thu, 18 Mar 2010 09:19:51 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o2I9Info031224 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 18 Mar 2010 09:18:49 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BA1EFF8.7030907@infracaninophile.co.uk> Date: Thu, 18 Mar 2010 09:18:48 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Peter Steele References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> <4BA1E51F.20304@infracaninophile.co.uk> In-Reply-To: <4BA1E51F.20304@infracaninophile.co.uk> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk Cc: "freebsd-questions@freebsd.org" Subject: Re: Generating a random hostname 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, 18 Mar 2010 09:19:52 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/03/2010 08:32:31, Matthew Seaman wrote: > On 17/03/2010 22:06:30, Peter Steele wrote: >> Is there any facility in FreeBSD for generating a random hostname? We >> have a template with a fixed hostname that has to be changed after >> the template is closed. It would be useful to have a hostname >> generated randomly. > > perl -le '@a=(a..z,0..9); print map {$a[rand @a]} (1..8)' > > That gives you 2,821,109,907,456 different possibilities so you should > be able to use it for a while without too much fear of duplicates. Thinking about this some more, a good trick would be to generate a hostname from the MAC address of the host, since that is guaranteed to be unique. Something like this: % cat hngen #!/usr/bin/perl use strict; MAIN: { use integer; my @a = ( 'a' .. 'z' ); my $mac = shift; my $n = ''; $mac =~ tr/://d; $mac = hex $mac; # Convert to decimal integer while ( $mac > 0 ) { $n = $a[ $mac % @a ] . $n; $mac /= @a; } print "$n\n"; } % ./hngen 00:40:05:a5:8d:b7 bigdehkkt It does mean that hosts from the same manufacturer will tend to have similar names -- this might be construed as a feature... Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuh7/gACgkQ8Mjk52CukIz4egCfc6ErdXCEhIYz3emGZmPN51YX iYAAnjbBxLaAOh6pAUkfgdgZH/PyU/EM =KZ8m -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 09:30:24 2010 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 AF4451065679 for ; Thu, 18 Mar 2010 09:30:24 +0000 (UTC) (envelope-from matt@webcontracts.co.uk) Received: from batfink.vm.bytemark.co.uk (batfink.vm.bytemark.co.uk [80.68.95.231]) by mx1.freebsd.org (Postfix) with ESMTP id 728338FC14 for ; Thu, 18 Mar 2010 09:30:24 +0000 (UTC) Received: from www.webcontracts.co.uk (localhost [127.0.0.1]) by batfink.vm.bytemark.co.uk (Postfix) with ESMTP id E6AD764005; Thu, 18 Mar 2010 09:30:22 +0000 (GMT) Received: from 212.159.19.37 (SquirrelMail authenticated user mlaw) by www.webcontracts.co.uk with HTTP; Thu, 18 Mar 2010 09:30:22 -0000 Message-ID: In-Reply-To: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> References: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> Date: Thu, 18 Mar 2010 09:30:22 -0000 From: "Matthew Law" To: "Andy Wodfer" User-Agent: SquirrelMail/1.4.19 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions Subject: Re: Hardware RAID controller questions - 3Ware vs RocketRaid X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: matt@webcontracts.co.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 09:30:24 -0000 On Thu, March 18, 2010 8:37 am, Andy Wodfer wrote: > Hi, > We're setting up two backup servers where each server will have about 4TB > of > harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we > ran > into trouble with the 3ware controllers we have (9650SE-8LPML) because we > couldn't create a larger RAID5 than 1.99TB. > > We are going to use FreeBSD 8.0 and Bacula, but first we obviously need to > create a working RAID. > > My questions are: > > - Are HighPoint RocketRaid controllers a good alternative to 3ware > controllers? Are RocketRaid controllers true hardware RAID? > > - What should we look for in a RAID controller spec to see that it has > support for larger than 2TB RAIDs? > > I've been looking at these: > http://www.highpoint-tech.com/USA_new/series_rr2300.htm > http://www.highpoint-tech.com/USA_new/series_rr3500.htm > > Any FreeBSD recommendations? Or perhaps for another 3ware controller? > > We're using SATAII drives. > > Thanks for your help! Is ZFS not an option? - you could save yourself a lot of money and hassle with hardware RAID by moving to ZFS. Either using onboard SATA ports on the motherboard (and accept that you might have to shutdown the box to swap failed disks out) or get a simple 8-port HBA in JBOD mode, e.g: http://www.lsi.com/channel/products/hba/sas_sata_hbas/internal/lsisas3081er/index.html You'll need plenty of RAM too, but IMHO it is worth the trade. HTH, Matt. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 09:35:43 2010 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 0C2DC106566B for ; Thu, 18 Mar 2010 09:35:43 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 8EB298FC14 for ; Thu, 18 Mar 2010 09:35:42 +0000 (UTC) Received: by fxm24 with SMTP id 24so1367175fxm.3 for ; Thu, 18 Mar 2010 02:35:41 -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=rpMNUbbwky4lf0hu9yOkhyjNCzbgGEnMK/RAnLaAFiY=; b=Cb5FtwqujG33brEw8g1BKlA9jxZz494ELw2OtP1NBZyqm5SypzuusSzZanCMtT1tK0 NT/EHI5OiQZ5UG6Tgo+ZjcrXjUz72tP/XufHYZdoEKm9l/cbZwqV1/kKyXfo1BFLO/h/ E6RzZ4HydKzS2dSCl+7Wrm/Pa6I3TnCjJXz18= 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=Ed8DG+OXmWNlNkxwKF7Ehz45pBp9n0aJS/+tEcMe5OVEXFM7az52GupD3ekN1P6GmA E+ffn3Q4vRp591wF553W9BmCIRPaJ5GFjFHmlm7Ze06+XeRCEQz+WsCx36U/DbMLP1Eo SYpN7UKWdKHum4EqR0Y9JVVAHUCH1F8X3MOgw= MIME-Version: 1.0 Received: by 10.239.132.5 with SMTP id 5mr1349127hbp.137.1268904941331; Thu, 18 Mar 2010 02:35:41 -0700 (PDT) In-Reply-To: References: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> Date: Thu, 18 Mar 2010 10:35:41 +0100 Message-ID: <23ed14b81003180235u46113ff4i126420b882dbdada@mail.gmail.com> From: Andy Wodfer To: matt@webcontracts.co.uk, freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Hardware RAID controller questions - 3Ware vs RocketRaid 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, 18 Mar 2010 09:35:43 -0000 On Thu, Mar 18, 2010 at 10:30 AM, Matthew Law wrote: > Is ZFS not an option? > I'm afraid ZFS is not an option for this customer. I use ZFS on other system and it works great, but here the requirement is RAID5, hotswap, hotspare and so on. Cheers, Andreas From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 09:37:32 2010 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 1FA5C1065675 for ; Thu, 18 Mar 2010 09:37:32 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id 92E488FC1E for ; Thu, 18 Mar 2010 09:37:31 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0TAN6QoUvKRa39OWdsb2JhbAAHh1mTVwEBAQE3BrgbhHgEgxs X-IronPort-AV: E=Sophos;i="4.51,265,1267372800"; d="scan'208";a="10044971" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.253]) by avmxsmtp5.comclark.com with ESMTP; 18 Mar 2010 17:37:29 +0800 Message-ID: <4BA1F42C.1030607@comclark.com> Date: Thu, 18 Mar 2010 17:36:44 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: shrink /usr 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: Thu, 18 Mar 2010 09:37:32 -0000 /usr is the last partition in the slice. It has 15GB and only 600mb used. I would like to shrink /usr to 7GB leaving me 7GB for another new partition for mysql DB testing. How do I shrink /usr? From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 09:42:23 2010 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 EF4721065672 for ; Thu, 18 Mar 2010 09:42:23 +0000 (UTC) (envelope-from svein-listmail@stillbilde.net) Received: from mail.stillbilde.net (unknown [IPv6:2002:51af:3dc3:0:20c:29ff:fece:79f3]) by mx1.freebsd.org (Postfix) with ESMTP id 75F918FC16 for ; Thu, 18 Mar 2010 09:42:23 +0000 (UTC) Received: from [IPv6:2002:51af:3dc3:0:c973:db39:91cc:ef4c] (unknown [IPv6:2002:51af:3dc3:0:c973:db39:91cc:ef4c]) (Authenticated sender: svein-listmail) by mail.stillbilde.net (Familien Skogens mail) with ESMTPSA id 1CE2123 for ; Thu, 18 Mar 2010 10:42:24 +0100 (CET) Message-ID: <4BA1F580.8010909@stillbilde.net> Date: Thu, 18 Mar 2010 10:42:24 +0100 From: "Svein Skogen (Listmail Account)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> <23ed14b81003180235u46113ff4i126420b882dbdada@mail.gmail.com> In-Reply-To: <23ed14b81003180235u46113ff4i126420b882dbdada@mail.gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Hardware RAID controller questions - 3Ware vs RocketRaid 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, 18 Mar 2010 09:42:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18.03.2010 10:35, Andy Wodfer wrote: > On Thu, Mar 18, 2010 at 10:30 AM, Matthew Law wrote: > > >> Is ZFS not an option? >> > > I'm afraid ZFS is not an option for this customer. I use ZFS on other system > and it works great, but here the requirement is RAID5, hotswap, hotspare and > so on. You should consider the LSI Megaraid SAS as well. The aging 8308elp, performs quite nicely with decent disks. Got one here (at home) handling 8 1T5 Barracudas in RAID50 (with coldspares), that routinely handles 400+mbytes/sec io, even in windows. It's been running in FreeBSD as well, but until I can figure out how to get reliable backups (the MPT issue shared with OpenSolaris) I'm stuck with windows on the box. FreeBSD's mfiutil works works splendidly with the controller allowing you to handle things like patrol-reads from an SSH session without much trouble. As a SAS-controller, it "eats" both SAS and SATA disks, and plain and simple just "works". //Svein - -- - --------+-------------------+------------------------------- /"\ |Svein Skogen | svein@d80.iso100.no \ / |Solberg stli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein@jernhuset.no | RIPE handle: SS16503-RIPE - --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile@stillbilde.net This mailbox goes directly to my cellphone and is checked even when I'm not in front of my computer. - ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ - ------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuh9YAACgkQODUnwSLUlKTZiwCeODrGVYneWFn9nKZDUJ5jhOdt 3boAoIM/HrcfpzKXNOsPic+QQ4ooaL5d =Yya0 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 09:53:12 2010 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 09B681065670 for ; Thu, 18 Mar 2010 09:53:12 +0000 (UTC) (envelope-from antoniok.spb@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 9156B8FC13 for ; Thu, 18 Mar 2010 09:53:11 +0000 (UTC) Received: by fxm24 with SMTP id 24so1380158fxm.3 for ; Thu, 18 Mar 2010 02:53:10 -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=02MwOcAaUvjDKHxIdYxHdefAVxKt8lpSklrGZN6eu4w=; b=FxSq4X1RWQr//HtZZmpLPhRgfG0GL1lKnrA8RwR5mFgyba6fCBjdVQfZr7J2DwrX2m 6qdswcRe+yh9SKmRwg17oxSi0mcdWCIxB/Ne72JhX1WvMxBxUNMqyadI2/+Mftt5V5Fb ZUVU8svPGkic1wXsHsOHjkSkdU60L+xFr4A/4= 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=q/oKookj/OePyfupnz/mApspK2h6FP6TKhpmoiJZHeqvXV/Po6HQ0QipJjXGfnox1B VvfSym2bCtzKt5sKDN8gXIRhyG/HIegNd0b3HoNR9Il1HuPJqS8Y0rzEYx2xR1RuBxIa e0UpU3u72aPE69GylJfmbfYlE0CnxWyFO3QD0= MIME-Version: 1.0 Received: by 10.239.192.79 with SMTP id d15mr1355485hbi.52.1268905990135; Thu, 18 Mar 2010 02:53:10 -0700 (PDT) In-Reply-To: <4BA1F42C.1030607@comclark.com> References: <4BA1F42C.1030607@comclark.com> From: =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= Date: Thu, 18 Mar 2010 12:52:50 +0300 Message-ID: <3f1c29e71003180252g9d172dejc02f91fe874f5ea2@mail.gmail.com> To: Aiza Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: shrink /usr 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: Thu, 18 Mar 2010 09:53:12 -0000 2010/3/18 Aiza > /usr is the last partition in the slice. It has 15GB and only 600mb used. I > would like to shrink /usr to 7GB leaving me 7GB for another new partition > for mysql DB testing. How do I shrink /usr? > _______________________________________________ > 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" > The same question: how to extend existed one? I'm going to change HDD on server to a bigger one and dd from old to new, but in this case the space visible to FreeBSD would be the same, how to make it grow? From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 09:58:02 2010 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 AA2E6106564A for ; Thu, 18 Mar 2010 09:58:02 +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 1CF168FC15 for ; Thu, 18 Mar 2010 09:58:01 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o2I9uF18031755 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 18 Mar 2010 09:56:16 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BA1F8BF.3010902@infracaninophile.co.uk> Date: Thu, 18 Mar 2010 09:56:15 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Aiza References: <4BA1F42C.1030607@comclark.com> In-Reply-To: <4BA1F42C.1030607@comclark.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk Cc: FreeBSD Questions Subject: Re: shrink /usr 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: Thu, 18 Mar 2010 09:58:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/03/2010 09:36:44, Aiza wrote: > /usr is the last partition in the slice. It has 15GB and only 600mb > used. I would like to shrink /usr to 7GB leaving me 7GB for another new > partition for mysql DB testing. How do I shrink /usr? Backup the contents or /usr to a different partition, or preferably to some external media. Unmount /usr and destroy it by using bsdlabel(1) to create two appropriately sized partitions in its place. Create filesystems on the new partitions using newfs(1). Restore the backup of /usr. Edit /etc/fstab as appropriate and mount the new partitions. Everything you really need to do this is on the root partition, but you might find lack of vi(1) and various other utilities somewhat inconvenient. Also editing the label of a disk with mounted partitions is a pretty risky operation and forbidden by default: you will need to know the magic incarnation: sysctl kern.geom.debugflags=16 Also, there's no real reason to keep the mysql data in its own partition - -- if it was on a different disk that would be a different matter -- so if your /var is big enough, you could just swap /var and /usr, which saves you all that mucking around with partitions. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuh+L8ACgkQ8Mjk52CukIzTxwCfWuPe6vDdoQIvbiQFxoLTp/Wu PIAAn1YhLHwzKfcJF4BPssNt6WgvdXTN =2DGA -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 10:11:29 2010 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 CB32B106564A for ; Thu, 18 Mar 2010 10:11:29 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 86B6E8FC13 for ; Thu, 18 Mar 2010 10:11:29 +0000 (UTC) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:52262 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1NsCfz-0001Zf-8w for freebsd-questions@freebsd.org; Thu, 18 Mar 2010 11:10:05 +0100 Received: (qmail 36320 invoked from network); 18 Mar 2010 11:09:55 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 18 Mar 2010 11:09:55 +0100 Received: (qmail 42253 invoked by uid 1001); 18 Mar 2010 11:09:55 +0100 Date: Thu, 18 Mar 2010 11:09:55 +0100 From: Erik Trulsson To: Andy Wodfer Message-ID: <20100318100955.GA42170@owl.midgard.homeip.net> References: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1NsCfz-0001Zf-8w. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1NsCfz-0001Zf-8w 5bf9e61192ae1ad043f6a1861dfa22b5 Cc: freebsd-questions Subject: Re: Hardware RAID controller questions - 3Ware vs RocketRaid 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, 18 Mar 2010 10:11:29 -0000 On Thu, Mar 18, 2010 at 09:37:32AM +0100, Andy Wodfer wrote: > Hi, > We're setting up two backup servers where each server will have about 4TB of > harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran > into trouble with the 3ware controllers we have (9650SE-8LPML) because we > couldn't create a larger RAID5 than 1.99TB. That is strange, since all the 3ware 9000-series controllers (including the 9650) are supposed to be able to handle arrays larger than 2TB. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 10:24:22 2010 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 5F5A6106564A for ; Thu, 18 Mar 2010 10:24: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 B9EEC8FC26 for ; Thu, 18 Mar 2010 10:24:21 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o2IAOHpX032161 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 18 Mar 2010 10:24:18 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BA1FF51.6010305@infracaninophile.co.uk> Date: Thu, 18 Mar 2010 10:24:17 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Erik Trulsson References: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> <20100318100955.GA42170@owl.midgard.homeip.net> In-Reply-To: <20100318100955.GA42170@owl.midgard.homeip.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions , Andy Wodfer Subject: Re: Hardware RAID controller questions - 3Ware vs RocketRaid 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, 18 Mar 2010 10:24:22 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/03/2010 10:09:55, Erik Trulsson wrote: > On Thu, Mar 18, 2010 at 09:37:32AM +0100, Andy Wodfer wrote: >> Hi, >> We're setting up two backup servers where each server will have about 4TB of >> harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran >> into trouble with the 3ware controllers we have (9650SE-8LPML) because we >> couldn't create a larger RAID5 than 1.99TB. > > > That is strange, since all the 3ware 9000-series controllers (including > the 9650) are supposed to be able to handle arrays larger than 2TB. Is it perhaps not a limitation in the 3ware controller, but rather the 2TB limit for a single slice imposed by the traditional DOS mbr? In which case, simply switching to using gpart(8) should solve the problem and let you have much larger filesystems. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuh/1EACgkQ8Mjk52CukIxwFQCfUsDOes4mAPBFLQUX6QvB/F97 4swAnRnKagfg86IG5gxBlMIBJOmmD7y+ =BGlc -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 10:25:20 2010 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 CCA20106566C for ; Thu, 18 Mar 2010 10:25:20 +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 A40D58FC12 for ; Thu, 18 Mar 2010 10:25:19 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o2IAJKbL032067 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 18 Mar 2010 10:19:20 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BA1FE27.10005@infracaninophile.co.uk> Date: Thu, 18 Mar 2010 10:19:19 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: =?UTF-8?B?0JDQvdGC0L7QvSDQmtC70LXRgdGB?= References: <4BA1F42C.1030607@comclark.com> <3f1c29e71003180252g9d172dejc02f91fe874f5ea2@mail.gmail.com> In-Reply-To: <3f1c29e71003180252g9d172dejc02f91fe874f5ea2@mail.gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk Cc: Aiza , FreeBSD Questions Subject: Re: shrink /usr 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: Thu, 18 Mar 2010 10:25:21 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/03/2010 09:52:50, Антон Клесс wrote: > 2010/3/18 Aiza > >> /usr is the last partition in the slice. It has 15GB and only 600mb used. I >> would like to shrink /usr to 7GB leaving me 7GB for another new partition > The same question: how to extend existed one? If, and only if, you have free space on your HDD following the partition you want to expand, you can use bsdlabel to edit the partition table and then growfs(8) to extend the filesystem into the new space. > I'm going to change HDD on server to a bigger one and dd from old to new, > but in this case the space visible to FreeBSD would be the same, how to make > it grow? However, in this case -- don't do that. dd(1) is not the best choice. Instead, use sade(8) or fdisk(8) and bsdlabel(8) to slice and partition your new hard drive, install any necessary boot blocks etc. Or use the new gpart(8) stuff. Create filesystems using newfs(1). Mount the new partitions temporarily under /mnt: # mount -t ufs -o rw /dev/ad2s1a /mnt # mount -t ufs -o rw /dev/ad2s1e /mnt/usr (etc...) Then use dump(8) and restore(8) to duplicate the contents of your old partitions onto your new HDD: # dump -0a -L -C 32 -f - / | ( cd /mnt ; restore -rf - ) # dump -0a -L -C 32 -f - /usr | ( cd /mnt/usr ; restore -rf - ) (etc...) Edit /mnt/etc/fstab appropriately, then unmount the partitions from your new HDD, shutdown your system and reboot from the new HDD. dump and restore is much more efficient than using dd(1) as it copies the actual files into a new filesystem. It also understands more about the internals of the filesystem than other backup software, so gives the most accurate duplication. The '-L' flag causes it to operate on a snapshot of the source filesystem, which avoids the sort of problems you can get dealing with live filesystems. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuh/icACgkQ8Mjk52CukIwS1wCfc3hdbwoagHNDKA3nY+wDZ9ar f+YAn1J0CJrdkhKVuGInl7TixLsUqQ+7 =BOC0 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 10:58:48 2010 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 A6532106566B for ; Thu, 18 Mar 2010 10:58:48 +0000 (UTC) (envelope-from konfer@mikulas.com) Received: from s1.vhost.cz (s1.vhost.cz [82.208.27.28]) by mx1.freebsd.org (Postfix) with ESMTP id 23BB58FC0C for ; Thu, 18 Mar 2010 10:58:47 +0000 (UTC) Received: (qmail 14697 invoked by uid 89); 18 Mar 2010 10:32:04 -0000 Received: from unknown (HELO ?192.168.10.61?) (konfer@mikulas.com@195.47.235.10) by s1.vhost.cz with ESMTPA; 18 Mar 2010 10:32:04 -0000 Message-ID: <4BA2011D.1060901@mikulas.com> Date: Thu, 18 Mar 2010 11:31:57 +0100 From: Konference User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.1.8) Gecko/20100228 SUSE/3.0.3-1.1.1 Thunderbird/3.0.3 ThunderBrowse/3.2.8.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> In-Reply-To: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Hardware RAID controller questions - 3Ware vs RocketRaid 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, 18 Mar 2010 10:58:48 -0000 Hi and what about Areca? Natively supported via arcmsr driver. For SATA II http://www.areca.com.tw/products/pcie.htm (ARC-1230, ARC-1260) or http://www.areca.com.tw/products/pcie341.htm On one installation I have successfully set up RAID5 with 8x 1TB SATA II drives on ARC-1220, approx 6.5TB filesystem regards Jiri > - What should we look for in a RAID controller spec to see that it has > support for larger than 2TB RAIDs? > > I've been looking at these: > http://www.highpoint-tech.com/USA_new/series_rr2300.htm > http://www.highpoint-tech.com/USA_new/series_rr3500.htm > > Any FreeBSD recommendations? Or perhaps for another 3ware controller? > > We're using SATAII drives. > > Thanks for your help! > > Best regards, > Andreas > _______________________________________________ > 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 Mar 18 11:57:59 2010 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 0C457106564A for ; Thu, 18 Mar 2010 11:57:59 +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 C99D28FC08 for ; Thu, 18 Mar 2010 11:57:58 +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: G179 G180 G181 G182 G186 G187 G198 G285 X-Note: Encrypt Rule Hits: 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.3.2) with ESMTPS id 32798109 for freebsd-questions@freebsd.org; Thu, 18 Mar 2010 06:57:57 -0500 Received: from mbx03.exg5.exghost.com ([169.254.1.132]) by ht02.exg5.exghost.com ([98.129.23.15]) with mapi; Thu, 18 Mar 2010 06:57:57 -0500 From: Peter Steele To: "freebsd-questions@freebsd.org" Date: Thu, 18 Mar 2010 06:57:56 -0500 Thread-Topic: Generating a random hostname Thread-Index: AcrGfCu6diwgBiJoSi6u56hx+2hPcQAFSNaw Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27E0E5@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> <4BA1E51F.20304@infracaninophile.co.uk> <4BA1EFF8.7030907@infracaninophile.co.uk> In-Reply-To: <4BA1EFF8.7030907@infracaninophile.co.uk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: RE: Generating a random hostname 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, 18 Mar 2010 11:57:59 -0000 PlRoaW5raW5nIGFib3V0IHRoaXMgc29tZSBtb3JlLCBhIGdvb2QgdHJpY2sgd291bGQgYmUgdG8g Z2VuZXJhdGUgYSBob3N0bmFtZSBmcm9tIHRoZSBNQUMgYWRkcmVzcyBvZiB0aGUgaG9zdCwgc2lu Y2UgdGhhdCBpcyBndWFyYW50ZWVkIHRvIGJlIHVuaXF1ZS4NCg0KSW4gZmFjdCwgdGhpcyBpcyB3 aGF0IHdlIGFyZSBjdXJyZW50bHkgdXNpbmcuIFVuZm9ydHVuYXRlbHkgSSBndWVzcyBJIHdhc24n dCBlbnRpcmVseSBjbGVhci4gSSB3YXMgbG9va2luZyBmb3IgYSBmYWNpbGl0eSB0aGF0IGFjdHVh bGx5ICphc3NpZ25zKiBhIHJhbmRvbSBob3N0bmFtZSwgc2ltaWxhciB0byB3aGF0J3MgcHJvdmlk ZWQgaW4gV2luZG93cy4gR2VuZXJhdGluZyB0aGUgc3RyaW5nIGl0c2VsZiBvYnZpb3VzbHkgY2Fu IGJlIGRvbmUgaW4gYW55IG51bWJlciBvZiB3YXlzLCBidXQgb25jZSB5b3UgaGF2ZSB0aGUgc3Ry aW5nLCB0aGVyZSBhcmUgYXQgbGVhc3Qgb2YgY291cGxlIG9mIGZpbGVzIHdoZXJlIHRoaXMgbmFt ZSBuZWVkcyB0byBiZSBpbnNlcnRlZCAoL2V0Yy9ob3N0cywgL2V0Yy9yYy5jb25mKS4gV2hlbiB5 b3UgY3JlYXRlIGEgbWFzdGVyIGltYWdlIGluIFdpbmRvd3MsIHlvdSBjYW4gaGF2ZSBpdCBhdXRv bWF0aWNhbGx5IGFzc2lnbiBhIHJhbmRvbSBob3N0bmFtZSB0aGUgZmlyc3QgdGltZSB0aGUgY2xv bmVkIGltYWdlIGlzIGJvb3RlZC4gVGhhdCdzIHdoYXQgSSB3YXMgbG9va2luZyBmb3IuIE15IGd1 ZXNzIGlzIHRoYXQgSSdtIGdvaW5nIHRvIGhhdmUgdG8gdXBkYXRlIHRoZXNlIGZpbGVzIG1hbnVh bGx5LCBydW5uaW5nIGEgc2NyaXB0IGZvciBleGFtcGxlIHZpYSByYy5jb25mIHRoYXQgZGlzYWJs ZXMgaXRzZWxmIGFmdGVyIHRoZSBmaXJzdCB0aW1lIHRoZSBzeXN0ZW0gYm9vdHMuIA0KDQo= From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 12:37:29 2010 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 12CEE106564A for ; Thu, 18 Mar 2010 12:37:29 +0000 (UTC) (envelope-from nvidican@m2.vidican.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id A80168FC0A for ; Thu, 18 Mar 2010 12:37:28 +0000 (UTC) Received: by wwb18 with SMTP id 18so1101381wwb.13 for ; Thu, 18 Mar 2010 05:37:27 -0700 (PDT) MIME-Version: 1.0 Sender: nvidican@m2.vidican.com Received: by 10.216.93.73 with SMTP id k51mr1349072wef.187.1268915845548; Thu, 18 Mar 2010 05:37:25 -0700 (PDT) X-Originating-IP: [136.1.1.101] In-Reply-To: <4BA1D312.9010302@rawbw.com> References: <4BA1D312.9010302@rawbw.com> Date: Thu, 18 Mar 2010 08:37:25 -0400 X-Google-Sender-Auth: ca8bf241d4e10056 Message-ID: <795fc2b81003180537u25fce8e1ydb208c08af42c8fb@mail.gmail.com> From: Nathan Vidican To: yuri@rawbw.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: User Questions Subject: Re: Which gdb GUI do you use? 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, 18 Mar 2010 12:37:29 -0000 For what it's worth - Xcode on Mac OS/X, I do probably 75% of my development there, then just compile/build on FreeBSD. Apple's got a similarly capable O/S and their development suite is not only stable, but free and uses GCC. In my situation, the code works fine on both O/S as I'm not writing any kernel level stuff or anything. The Xcode IDE is a wonderful tool though for writing userland stuff. I guess it really depends on your project, but if you're looking for gui debugger/development suite it's worth a try. -- Nathan Vidican nathan@vidican.com On Thu, Mar 18, 2010 at 3:15 AM, Yuri wrote: > I know there is ddd, but it has so many bugs that it makes it barely > usable. > There is emacs, but I am not used to it and don't like it. It's love it or > hate it usually for most people. > There is some GUI called Insight, for some reason it's not in ports. I've > built it and it looks unstable. > Gives me an error message: thread.c:79: internal-error: inferior_thread: > Assertion 'tp' failed. ... > > Which GUI you use? > > Yuri > > _______________________________________________ > 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 Mar 18 12:53:51 2010 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 A2DC2106566B for ; Thu, 18 Mar 2010 12:53:51 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out7.libero.it (cp-out7.libero.it [212.52.84.107]) by mx1.freebsd.org (Postfix) with ESMTP id 39FB38FC14 for ; Thu, 18 Mar 2010 12:53:50 +0000 (UTC) Received: from soth.ventu (151.51.47.114) by cp-out7.libero.it (8.5.107) id 4BA0ED97002858C6 for freebsd-questions@freebsd.org; Thu, 18 Mar 2010 13:53:49 +0100 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.4/8.14.3) with ESMTP id o2ICrjmn006459 for ; Thu, 18 Mar 2010 13:53:45 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <4BA22259.3050002@netfence.it> Date: Thu, 18 Mar 2010 13:53:45 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; it-IT; rv:1.9.1.8) Gecko/20100303 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4BA1D312.9010302@rawbw.com> In-Reply-To: <4BA1D312.9010302@rawbw.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Which gdb GUI do you use? 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, 18 Mar 2010 12:53:51 -0000 On 03/18/10 08:15, Yuri wrote: > I know there is ddd, but it has so many bugs that it makes it barely > usable. > There is emacs, but I am not used to it and don't like it. It's love it > or hate it usually for most people. > There is some GUI called Insight, for some reason it's not in ports. > I've built it and it looks unstable. > Gives me an error message: thread.c:79: internal-error: inferior_thread: > Assertion 'tp' failed. ... > > Which GUI you use? emacs, really, although I found it tends to get a bit more annoying in the latest releases; maybe I should spend some time to upgrade myself, through. However, I agree on your love/hate opinion. bye av. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 13:32:11 2010 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 400EB106566B for ; Thu, 18 Mar 2010 13:32:11 +0000 (UTC) (envelope-from anton@sng.by) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id D4E2B8FC14 for ; Thu, 18 Mar 2010 13:32:10 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so63900fgg.13 for ; Thu, 18 Mar 2010 06:32:09 -0700 (PDT) Received: by 10.87.63.4 with SMTP id q4mr255995fgk.59.1268919129474; Thu, 18 Mar 2010 06:32:09 -0700 (PDT) Received: from ROOT ([91.187.7.3]) by mx.google.com with ESMTPS id 13sm1373323fks.30.2010.03.18.06.32.08 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Mar 2010 06:32:09 -0700 (PDT) Date: Thu, 18 Mar 2010 15:32:16 +0200 From: Anton X-Mailer: The Bat! (v3.71.01) Professional X-Priority: 3 (Normal) Message-ID: <251163611.20100318153216@sng.by> To: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: NAT overflow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anton List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 13:32:11 -0000 Hello everyone, I'm kind of noob in FreeBSD particularily, and in Unix systems at all :-= ). But, I've already mastered an router on freebsd 7.2, which worked fine u= ntil I installed their MySQL with huge database. Now, once a day, I have a problem - users do not have internet on their = computers, and I could not connect to Microsoft Windows server with RDP fro= m outside, but I could login via ssh on router. After rebbot - everything b= ecome fine, everything works good and I have no problems, until next = overflow. So, I would like to ask 2 question: 1) Cow could one monitor NATD daemon (via logs, or smth) 2) How this could be worked around? I beg you pardon for this questions -- -- Best regards, Anton = ; [1]mailto:anton@sng.by Administrator Feel free to contact me via ICQ 363780596 via Skype dobryak47 via phone +375 29 3320987 References 1. 3D"mailto:anton@sng.by" From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 13:37:42 2010 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 2F35A106566B for ; Thu, 18 Mar 2010 13:37:42 +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 AAEC98FC1D for ; Thu, 18 Mar 2010 13:37:41 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o2IDbboB034419 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 18 Mar 2010 13:37:37 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BA22CA1.7050705@infracaninophile.co.uk> Date: Thu, 18 Mar 2010 13:37:37 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> <4BA1E51F.20304@infracaninophile.co.uk> <4BA1EFF8.7030907@infracaninophile.co.uk> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27E0E5@MBX03.exg5.exghost.com> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27E0E5@MBX03.exg5.exghost.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: Generating a random hostname 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, 18 Mar 2010 13:37:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/03/2010 11:57:56, Peter Steele wrote: >> Thinking about this some more, a good trick would be to generate a >> hostname from the MAC address of the host, since that is guaranteed >> to be unique. > > In fact, this is what we are currently using. Unfortunately I guess I > wasn't entirely clear. I was looking for a facility that actually > *assigns* a random hostname, similar to what's provided in Windows. > Generating the string itself obviously can be done in any number of > ways, but once you have the string, there are at least of couple of > files where this name needs to be inserted (/etc/hosts, > /etc/rc.conf). When you create a master image in Windows, you can > have it automatically assign a random hostname the first time the > cloned image is booted. That's what I was looking for. My guess is > that I'm going to have to update these files manually, running a > script for example via rc.conf that disables itself after the first > time the system boots. Ahah! Why didn't you say so? That's pretty simple really. Once you've generated the hostname, just use hostname(1) to make it the live name of the machine. This would have to be done with a small shell script, yes. Probably the easiest way to do that is a small RC script set to run just before /etc/rc.d/hostname, and that stole^Wborrowed most of the logic from that script about kenv and DHCP names, and hostname already being set. The core actions that script has to do are: if [ -z ${hostname} ] ; then hostname=$( generate_hostname ) /bin/hostname "${hostname}.example.com" echo hostname=\"${hostname}.example.com\" >> /etc/rc.conf fi Once hostname is set in /etc/rc.conf, this script will do nothing, and the regular /etc/rc.d/hostname script will operate normally. Setting the hostname with /bin/hostname is all that is specifically necessary for the local machine. It doesn't really need to be added to /etc/hosts, although that's not a bad idea. An alternative might be to run everything using DHCP and get the DHCP server to generate names and dish them out to the clients. Of course, it would be good to add the new hostname to some sort of networked database, like the DNS or NIS or LDAP so that other hosts can know how to get to it, but that's a different problem. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuiLKEACgkQ8Mjk52CukIz1HgCeNa1kZhojxvBYNKWmYixoSGFv e+gAnj4WEHRjzghZ0fmt2xTv1FvaAWGQ =DUDg -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 14:03:35 2010 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 1F3EB106566C for ; Thu, 18 Mar 2010 14:03:35 +0000 (UTC) (envelope-from SRS0=ARKANW=K6=megaevents.net=wibc_asia@yourhostingaccount.com) Received: from mailout13.yourhostingaccount.com (mailout13.yourhostingaccount.com [65.254.253.107]) by mx1.freebsd.org (Postfix) with ESMTP id D52448FC08 for ; Thu, 18 Mar 2010 14:03:34 +0000 (UTC) Received: from mailscan20.yourhostingaccount.com ([10.1.15.20] helo=mailscan20.yourhostingaccount.com) by mailout13.yourhostingaccount.com with esmtp (Exim) id 1NsFoD-0006U7-I1 for questions@freebsd.org; Thu, 18 Mar 2010 09:30:45 -0400 Received: from impout03.yourhostingaccount.com ([10.1.55.3] helo=impout03.yourhostingaccount.com) by mailscan20.yourhostingaccount.com with esmtp (Exim) id 1NsFoD-0006om-DA for questions@freebsd.org; Thu, 18 Mar 2010 09:30:45 -0400 Received: from authsmtp01.yourhostingaccount.com ([10.1.18.1]) by impout03.yourhostingaccount.com with NO UCE id udWk1d00D01P85W0000000; Thu, 18 Mar 2010 09:30:45 -0400 X-EN-OrigOutIP: 10.1.18.1 X-EN-IMPSID: udWk1d00D01P85W0000000 Received: from dxb-as8757.alshamil.net.ae ([217.165.129.121] helo=mailer2) by authsmtp01.yourhostingaccount.com with esmtpa (Exim) id 1NsFnl-0001bN-0P for questions@FreeBSD.org; Thu, 18 Mar 2010 09:30:19 -0400 Message-ID: <38132-220103418133019640@mailer2> From: "The World Islamic Banking Conference | Asia Summit" To: questions@FreeBSD.org Date: Thu, 18 Mar 2010 17:30:19 +0400 MIME-Version: 1.0 X-EN-UserInfo: 2de1e173d8a07e14bd27e24776239007:b05b83ce0f071c76cec852efffd57b5c X-EN-AuthUser: wifcmc@megaevents.net Sender: "The World Islamic Banking Conference | Asia Summit" X-EN-OrigIP: 217.165.129.121 X-EN-OrigHost: dxb-as8757.alshamil.net.ae Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: International Spotlight at WIBC Asia: Seeking New Growth Horizons 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, 18 Mar 2010 14:03:35 -0000 To view this in your browser click here=20 =20 =20 =20 International Spotlight at WIBC Asia: Seeking New Growth Horizons =20 =20 Dear Banking & Finance Leader, As the leading players in the Islamic finance industry continue to adapt = business strategies in order to further strengthen and consolidate its po= sition in the aftermath of the global economic crisis, the 1st Annual Wor= ld Islamic Banking Conference: Asia Summit (WIBC Asia 2010) could not com= e at a more opportune time as industry leaders seek new growth paradigms = and markets=2E =20 Seeking New Growth Horizons Held under the theme of Seeking New Growth Horizons, WIBC Asia 2010 provi= des a powerful platform for assessing the future outlook for Islamic finan= ce in key Asian markets, including China, Japan, Pakistan, Malaysia, Indo= nesia, Brunei, Singapore, and Australia=2E Industry leaders will probe re= cent developments in high-potential Asian markets and assess relative gro= wth opportunities=2E =20 H=2EE=2E Heng Swee Keat Governor Monetary Authority of Singapore Speaking recently at the 16th Annual WI= BC in Bahrain last December, H=2EE=2E Heng Swee Keat, the Governor of the = Monetary Authority of Singapore, said he was pleased that MEGA has decide= d to bring WIBC Asia to Singapore=2E He noted that:=20 "Islamic finance will provide an increasingly important bridge in the gro= wing connectivity between the Middle East and Asia=2E Singapore is plea= sed to help catalyse deeper relations between these two high-growth regio= ns=2E WIBC Asia will provide a unique platform for the industry to share = experiences from established centres of Islamic finance"=2E WIBC Asia 2010 complements the objectives of the global WIBC event, enabl= ing industry leaders to further enhance their presence in the dynamically= evolving Asian markets for Islamic finance=2E Building on WIBC's 17 years= of tracking the developments and scoping the trends in the global Islami= c banking and finance industry, WIBC Asia 2010 will feature insightful de= bates on the substantial issues facing the development of Islamic finance= across Asia as recession gives way to recovery and new international gro= wth markets open up=2E =20 =20 Don't Miss WIBC Asia 2010 WIBC Asia will be held in Singapore on the 14th & 15th of June 2010 and w= ill attract more than 300 industry leaders looking to capitalise on excit= ing new growth opportunities for Islamic finance in Asian markets=2E Join the industry leaders and secure your place today by contacting Andre= w on andrew@megaevents=2Enet=2E We look forward to welcoming you to the i= naugural WIBC Asia Summit=2E=20 Yours sincerely, David McLean Managing Director The 1st Annual World Islamic Banking Conference: Asia Summit A MEGA Brand =20 =20 =20 Sponsorship & Exhibition Opportunities at WIBC Asia 2010 The 1st Annual World Islamic Banking Conference: Asia Summit will provide = unrivalled high-impact brand visibility and ensure that you are at the f= orefront of shaping the future of the high growth Islamic finance marke= t=2E WIBC Asia 2010 also presents a unique opportunity to nurture key cl= ient relationships in a substantive and issues-driven programme=2E To discuss your specific business needs please contact Sophie Shah at so= phie@megaevents=2Enet =20 =20 New Insights to Shape the Future: Special Group Delegate Packages More than 300 industry leaders will gather at WIBC Asia 2010=2E Take advan= tage of the special Group Delegate packages to send your executive team to= participate in the 1st Annual World Islamic Banking Conference: Asia Summit=2E To receive further details on attending the WIBC Asia please email Andrew= Chopra at andrew@megaevents=2Enet =20 =20 =20 =20 =20 MEGA BRANDS=2E MEGA CLIENTS=2E MARKET LEADERS=2E MEGA is the market leading business information firm focused on achieving= business results for the global Islamic banking & finance industry since 1993=2E The portfolio of MEGA brands rep= resents the landmark industry conferences and our clients are the leading players in the international financial m= arkets=2E =20 =20 Is this email going to your junk/bulk folder=3F You have to add wibc=5Fasi= a@megaevents=2Enet to your address book or add our domain *@megaevents=2Enet to your white list filters to ensure = that you will receive it in your inbox If you wish to unsubscribe, please click here=2E Your request will be comp= leted within 3 business days=2E From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 14:42:44 2010 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 3C332106564A for ; Thu, 18 Mar 2010 14:42:44 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id 176F78FC1E for ; Thu, 18 Mar 2010 14:42:43 +0000 (UTC) Received: (qmail 9138 invoked from network); 18 Mar 2010 14:42:42 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 18 Mar 2010 14:42:42 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 8AABB5088A; Thu, 18 Mar 2010 10:42:41 -0400 (EDT) From: Lowell Gilbert To: freebsd-questions@freebsd.org To: Carmel References: Date: Thu, 18 Mar 2010 10:42:41 -0400 In-Reply-To: (Carmel's message of "Wed, 17 Mar 2010 06:55:51 -0400") Message-ID: <44fx3xsnby.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: Subject: Re: Availability of "pm-utils" 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: Thu, 18 Mar 2010 14:42:44 -0000 Carmel writes: > Is 'pm-utils" available in the > ports system? I am unable to locate it if it does exist. I don't think it is. I suspect it would be a big porting job; it looks thoroughly Linux-centric these days. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 14:44:40 2010 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 93952106566C for ; Thu, 18 Mar 2010 14:44:40 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 619448FC13 for ; Thu, 18 Mar 2010 14:44:39 +0000 (UTC) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id o2IEicCp049595; Thu, 18 Mar 2010 10:44:38 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <201003181444.o2IEicCp049595@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 18 Mar 2010 10:44:14 -0400 To: Andy Wodfer , freebsd-questions From: Mike Tancsa In-Reply-To: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.co m> References: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: Hardware RAID controller questions - 3Ware vs RocketRaid 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, 18 Mar 2010 14:44:40 -0000 At 04:37 AM 3/18/2010, Andy Wodfer wrote: >Hi, >We're setting up two backup servers where each server will have about 4TB of >harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran >into trouble with the 3ware controllers we have (9650SE-8LPML) because we >couldn't create a larger RAID5 than 1.99TB. Are you sure its the controller that was giving that error ? I ran into something similar with my Areca controller on a backup server. I ended up creating 2 raid sets, one for the boot OS and the other for the backup spool and used gpart for the larger than 2TB RS. Perhaps the same needs to be done on the 3ware eg # df -h Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 1.9G 496M 1.3G 28% / devfs 1.0K 1.0K 0B 100% /dev /dev/da1s1d 29G 10G 16G 39% /usr /dev/da1s1e 33G 5.0G 26G 16% /var /dev/da0s1d 61G 50G 6.4G 89% /var/db /dev/da2p1 2.6T 797G 1.6T 33% /backup zbackup1 2.7T 1.2T 1.4T 46% /zbackup1 I would go for the 3ware over the RocketRaid. We have used the 3ware cards for some time and they have been very reliable for us. The disk replacement process is well designed and has been reliable for us over the years. We also use some of the Areca cards and they have been good too. Not much experience with the RocketRaid. ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 15:12:36 2010 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 979A41065675 for ; Thu, 18 Mar 2010 15:12:36 +0000 (UTC) (envelope-from prvs=6860d7fe3=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id 6BBA98FC29 for ; Thu, 18 Mar 2010 15:12:36 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAIjdoUuBbgog/2dsb2JhbACcILoShHkEgx0 X-IronPort-AV: E=Sophos;i="4.51,267,1267423200"; d="scan'208";a="29180144" Received: from zxtm01.utdallas.edu (HELO utd65257.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Mar 2010 10:02:37 -0500 Date: Thu, 18 Mar 2010 10:02:36 -0500 From: Paul Schmehl To: yuri@rawbw.com, freebsd-questions@freebsd.org Message-ID: <56FB4A948FF4A20F16FC65F7@utd65257.utdallas.edu> In-Reply-To: <4BA13B7D.2010803@rawbw.com> References: <4BA13B7D.2010803@rawbw.com> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: Anybody uses VMWare on FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 15:12:36 -0000 --On Wednesday, March 17, 2010 13:28:45 -0700 Yuri wrote: > I can't build it, I am getting the following errors. And message to > freebsd-emulation@ from 02/10 was never answered. > Don't bother. VirtualBox is eminently better and free. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 15:15:00 2010 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 9EF341065670 for ; Thu, 18 Mar 2010 15:15:00 +0000 (UTC) (envelope-from prvs=6860d7fe3=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id 71DE38FC17 for ; Thu, 18 Mar 2010 15:15:00 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAIjdoUuBbgog/2dsb2JhbACcILoShHkEgx0 X-IronPort-AV: E=Sophos;i="4.51,267,1267423200"; d="scan'208";a="29180419" Received: from zxtm01.utdallas.edu (HELO utd65257.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Mar 2010 10:04:49 -0500 Date: Thu, 18 Mar 2010 10:04:48 -0500 From: Paul Schmehl To: Erik Norgaard , questions@freebsd.org Message-ID: <1D27EB0FC53D59D3EB075517@utd65257.utdallas.edu> In-Reply-To: <4BA13CE3.4010803@locolomo.org> References: <4BA13CE3.4010803@locolomo.org> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: FreeBSD and vmware X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 15:15:00 -0000 --On Wednesday, March 17, 2010 21:34:43 +0100 Erik Norgaard wrote: > Hi: > > I have a dual boot Windows/FreeBSD which I use for work, I just tried today > to create a virtual machine with vmware on windows to start up the installed > FreeBSD. > > This works except for three problems: > > - The disk device is renamed, I suppose I can just dublicate the entries in > the fstab, the devices not found won't be mounted, I'll get an error but > problem solved? > > - I can't see the network devices from vmware > > - I can't start xwindows, no monitor is found > > Any clues? > Yes. Use VirtualBox. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 15:28:37 2010 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 48BE5106566C for ; Thu, 18 Mar 2010 15:28:37 +0000 (UTC) (envelope-from prvs=6860d7fe3=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id 1A5208FC14 for ; Thu, 18 Mar 2010 15:28:36 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAGXcoUuBbgog/2dsb2JhbACcILoLhHkEgx0 X-IronPort-AV: E=Sophos;i="4.51,267,1267423200"; d="scan'208";a="29179915" Received: from zxtm01.utdallas.edu (HELO utd65257.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Mar 2010 09:59:02 -0500 Date: Thu, 18 Mar 2010 09:59:01 -0500 From: Paul Schmehl To: Warren Block Message-ID: <1F7C90D850C32627DD83DE6D@utd65257.utdallas.edu> In-Reply-To: References: <10E075E52DED228526F5ECAB@utd65257.utdallas.edu> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: FreeBSD Questions Subject: Re: Irritating delay in mouse in kde4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 15:28:37 -0000 --On Wednesday, March 17, 2010 12:49:02 -0600 Warren Block wrote: > On Wed, 17 Mar 2010, Paul Schmehl wrote: > >> I recently upgraded from FreeBSD 7.2 STABLE to 8.0 STABLE. I also upgraded >> from KDE3 to KDE4 and rebuilt all my ports. Everything seems to work fine >> except the mouse. There is an irritating delay that I can't seem to get rid >> of. For example, if I mouse to the address line in Firefox and begin typing >> in a url, nothing happens until I move the mouse. Then, suddenly, what I >> typed will appear in the address bar. >> >> If I'm working in a shell, for example running portupgrade, nothing happens >> until I move the mouse. Then suddenly portupgrade will start working. >> >> Has anyone seen this type of behavior? Have any idea what the cause might >> be or where to look to troubleshoot the issue? > > Do you have an AllowEmptyInput line in xorg.conf? If so, remove it. > > If you need to disable HAL input device detection, use > Option "AutoAddDevices" "false" > > -Warren Block * Rapid City, South Dakota USA > Perfect! That was the answer. Thanks, Warren. As usual you are quite helpful. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 16:39:14 2010 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 94D4C106564A for ; Thu, 18 Mar 2010 16:39:14 +0000 (UTC) (envelope-from aimass@yabarana.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 5BEE58FC19 for ; Thu, 18 Mar 2010 16:39:12 +0000 (UTC) Received: by qyk5 with SMTP id 5so1269420qyk.13 for ; Thu, 18 Mar 2010 09:39:12 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.229.70 with SMTP id jh6mr2648742qcb.107.1268930352136; Thu, 18 Mar 2010 09:39:12 -0700 (PDT) Date: Thu, 18 Mar 2010 12:39:12 -0400 X-Google-Sender-Auth: ae1d37608e7e8e73 Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: gvinum drives extremely slow after 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: Thu, 18 Mar 2010 16:39:14 -0000 Hi, After successfully upgrading my system from 6.2 to 8.0-RELEASE I notice that my gvinum drives are extremely slow. Every command I type takes forever to execute. I know this question is way too generic, but does anyone have a clue as to what this problem may be? Or any hints on what and how to test what is going on? Thanks in advance, Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 16:58:47 2010 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 A01391065676 for ; Thu, 18 Mar 2010 16:58:47 +0000 (UTC) (envelope-from frank.wissmann41@web.de) Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by mx1.freebsd.org (Postfix) with ESMTP id 29BCB8FC1C for ; Thu, 18 Mar 2010 16:58:29 +0000 (UTC) Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate01.web.de (Postfix) with ESMTP id 178E014E82698; Thu, 18 Mar 2010 17:58:28 +0100 (CET) Received: from [77.176.214.109] (helo=grissom.einundvierzig.org) by smtp07.web.de with asmtp (WEB.DE 4.110 #4) id 1NsJ3E-0002jo-00; Thu, 18 Mar 2010 17:58:28 +0100 Message-ID: <4BA25BDE.3090403@web.de> Date: Thu, 18 Mar 2010 17:59:10 +0100 From: =?windows-1252?Q?Frank_Wi=DFmann?= User-Agent: Thunderbird 2.0.0.23 (X11/20091214) MIME-Version: 1.0 To: =?windows-1252?Q?=3F=3F=3F=3F=3F_=3F=3F=3F=3F=3F?= References: <4BA1F42C.1030607@comclark.com> <3f1c29e71003180252g9d172dejc02f91fe874f5ea2@mail.gmail.com> In-Reply-To: <3f1c29e71003180252g9d172dejc02f91fe874f5ea2@mail.gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: frank.wissmann41@web.de X-Sender: frank.wissmann41@web.de X-Provags-ID: V01U2FsdGVkX18kIlpfmirL4b2k3Hx4ygIqp9dhBWpWKn9J+DfK IuLdBuGGAT77YlxTKvZyjbNCESVQoppSoq2jOnAROVXxYbfsBr /RaCA8xH+PRd3xSWMkEg== Cc: FreeBSD Questions Subject: Re: shrink /usr size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank.wissmann41@web.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 16:58:47 -0000 Hello! ????? ????? schrieb: > 2010/3/18 Aiza > >> /usr is the last partition in the slice. It has 15GB and only 600mb used. I >> would like to shrink /usr to 7GB leaving me 7GB for another new partition >> for mysql DB testing. How do I shrink /usr? >> _______________________________________________ >> 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" >> > > > > The same question: how to extend existed one? > > I'm going to change HDD on server to a bigger one and dd from old to new, > but in this case the space visible to FreeBSD would be the same, how to make > it grow? Use growfs. But that only works with an empty space after the partition you intend to grow. "man growfs" will give you some hints. Greetings Frank -- GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 17:20:08 2010 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 2AAFF106566B for ; Thu, 18 Mar 2010 17:20:08 +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 79D558FC08 for ; Thu, 18 Mar 2010 17:20:07 +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.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: G179 G180 G181 G182 G186 G187 G198 G285 X-Note: Encrypt Rule Hits: 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.3.2) with ESMTPS id 32864860 for freebsd-questions@freebsd.org; Thu, 18 Mar 2010 12:20:12 -0500 Received: from mbx03.exg5.exghost.com ([169.254.1.132]) by ht01.exg5.exghost.com ([98.129.23.14]) with mapi; Thu, 18 Mar 2010 12:20:06 -0500 From: Peter Steele To: "freebsd-questions@freebsd.org" Date: Thu, 18 Mar 2010 12:20:04 -0500 Thread-Topic: Generating a random hostname Thread-Index: AcrGoEDKrUzv5Z3+TuexpvnaklaEpAAHpTFA Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B4D74AC@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27DFDA@MBX03.exg5.exghost.com> <4BA1E51F.20304@infracaninophile.co.uk> <4BA1EFF8.7030907@infracaninophile.co.uk> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B27E0E5@MBX03.exg5.exghost.com> <4BA22CA1.7050705@infracaninophile.co.uk> In-Reply-To: <4BA22CA1.7050705@infracaninophile.co.uk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: RE: Generating a random hostname 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, 18 Mar 2010 17:20:08 -0000 SSd2ZSBlbmRlZCB1cCB3cml0aW5nIGEgc2VydmljZSB0aGF0IHJ1bnMgYWZ0ZXIgbmV0aWYgaXMg Y29tcGxldGUgYW5kIHNldHMgdGhlIGhvc3RuYW1lIGJhc2VkIG9uIHRoZSBNQUMgYWRkcmVzcyBh bmQgYWxzbyB1cGRhdGVzIC9ldGMvaG9zdHMuIEl0IGRvZXMgd2hhdCBJIG5lZWQuLi4NCg0KVGhh bmtzIGZvciBhbGwgdGhlIHJlcGxpZXMgb24gdGhpcy4uLg0KDQo= From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 17:56:14 2010 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 388FE1065672 for ; Thu, 18 Mar 2010 17:56:14 +0000 (UTC) (envelope-from jayadev.kumar@gmail.com) Received: from mail-iw0-f183.google.com (mail-iw0-f183.google.com [209.85.223.183]) by mx1.freebsd.org (Postfix) with ESMTP id 01AED8FC25 for ; Thu, 18 Mar 2010 17:56:13 +0000 (UTC) Received: by iwn13 with SMTP id 13so814013iwn.14 for ; Thu, 18 Mar 2010 10:56: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=Q75yl4LNS3i4P+P2ZZog0jyStz1oQtUmd40YRJMgkGQ=; b=i//htVYDwD2mS/h3lWLvLsZqAwAUZJYFxg56RmHKuOHcaQB53KwUbJv3EspiR1QQWx cwUM53lMzZvIfT2u9hhpTVkgjyuDGj1dPsfSGdPC7xEQ0HKICg0+M7bde73gX/ovi1qa ZG4vBeJKTZrjQV1nqtWu5Gj1cNTJnFesmy61c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=L+WqX38oqlpqg5mTl/uYYtuMnIcum/krjpxFVfowD/4NTe+4856q9ipaM/Mf48nc4D 7g3NOtSVrijAIot2abgLW2lA40hwGsG5DrziMWeW5BUyKsN8SODl9wAOlEwmAoQykcUM 6CL6iNs1puHjDehb0s+/AmBjOCpUtQmaO+2iM= MIME-Version: 1.0 Received: by 10.231.152.79 with SMTP id f15mr935902ibw.19.1268933328870; Thu, 18 Mar 2010 10:28:48 -0700 (PDT) Date: Thu, 18 Mar 2010 10:28:48 -0700 Message-ID: <4cac4bed1003181028h74aff209y31e9c70bfb6ec367@mail.gmail.com> From: Jayadev Kumar To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: API to find the memory usage of a process. 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, 18 Mar 2010 17:56:14 -0000 Hi, I need to find the memory usage of a process, from inside the process. Is there any system call do this ? I was trying to find it from 'top' utility source code. I couldn't find the port which it is coming from yet. Thanks, Jayadev. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 18:10:54 2010 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 659B0106566B for ; Thu, 18 Mar 2010 18:10:54 +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 E65628FC14 for ; Thu, 18 Mar 2010 18:10:53 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NsKBI-0007Fx-DN for freebsd-questions@freebsd.org; Thu, 18 Mar 2010 19:10:52 +0100 Received: from pool-68-239-68-178.res.east.verizon.net ([68.239.68.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2010 19:10:52 +0100 Received: from nightrecon by pool-68-239-68-178.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Mar 2010 19:10:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Thu, 18 Mar 2010 14:10:22 -0400 Lines: 45 Message-ID: References: <251163611.20100318153216@sng.by> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-68-239-68-178.res.east.verizon.net Subject: Re: NAT overflow 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, 18 Mar 2010 18:10:54 -0000 Anton wrote: > > Hello everyone, > > I'm kind of noob in FreeBSD particularily, and in Unix systems at all > :- ). But, I've already mastered an router on freebsd 7.2, which > worked fine u ntil I installed their MySQL with huge database. > > Now, once a day, I have a problem - users do not have internet on > their computers, and I could not connect to Microsoft Windows server > with RDP fro m outside, but I could login via ssh on router. After > rebbot - everything b ecome fine, everything works good and I have > no problems, until next overflow. > [snip] It is unclear whether or how MySQL is involved with NAT. If it is somehow being used to store NAT session data it might be a possibility. If such is the case all recent MySQL versions by default time out an idle connection, and unless the client detects this and reconnects automatically it is a problem. You can extend the idle delay window to its maximum by placing wait_timeout = 31536000 after the other contents of the global section (will have [mysqld] at the top) of your my.cnf. Even this will eventually drop a connection if idle for longer than this period, but it is as long as you can configure so you hope something pings the database before this expires. As far as the NAT is concerned itself, an overflow can happen from not enough memory in the pool to contain all the session data for the volume of traffic you experience through the router. This should result in dropped connections which then become automatically reestablished very soon after. It should not necessarily cause all traffic to cease once a day. The NAT pool and memory resources, as well as session time out values are tunable. However, it is not clear which NAT and firewall solution you are using, so it is difficult to provide any insight until we know the solution we are discussing. I have used all three over the years, but have used pf long enough now that what I recall from ipfw and ipfilter days is rusty. Others on this list are more informed than myself as well, so when we know specifically what NAT you are using and more details of the problem maybe more help will pop up. -Mike From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 19:54:15 2010 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 4F93F106566B for ; Thu, 18 Mar 2010 19:54:15 +0000 (UTC) (envelope-from jeep@skywolf.net) Received: from manticore.skywolf.net (manticore.skywolf.net [72.249.145.150]) by mx1.freebsd.org (Postfix) with ESMTP id 3553A8FC12 for ; Thu, 18 Mar 2010 19:54:15 +0000 (UTC) Received: from [208.65.91.58] (c-71-204-3-155.hsd1.ga.comcast.net [71.204.3.155]) by manticore.skywolf.net (Postfix) with ESMTP id 8D98C2940F2 for ; Thu, 18 Mar 2010 15:36:04 -0400 (EDT) Message-ID: <4BA27FAD.7080106@skywolf.net> Date: Thu, 18 Mar 2010 15:31:57 -0400 From: Brian Wolman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: natd opening partition 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, 18 Mar 2010 19:54:15 -0000 Hey there, I run a test server here at the house that also runs natd to share internet across the network. The past few weeks my free space on /var was running dangerously low. After some investigation, I found out that the used space was actually an open file, and here is what lsof showed me: natd 1736 root 4w VREG 0,84 410420438 23670 /var (/dev/ad4s1d) Normally, natd is only supposed to open it's log file: natd 34254 root 4w VREG 0,84 218703 23582 /var/log/alias.log I've since disabled logging to alias.log and the problem has not re-occurred, however I would still like to know what I could have done to cause that, or if maybe it's some kind of bug. -Brian From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 21:32:55 2010 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 68B97106564A for ; Thu, 18 Mar 2010 21:32:55 +0000 (UTC) (envelope-from prvs=6860d7fe3=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id 374C28FC18 for ; Thu, 18 Mar 2010 21:32:54 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAPA4okuBbgog/2dsb2JhbACcH7tohHkEgx0 X-IronPort-AV: E=Sophos;i="4.51,269,1267423200"; d="scan'208";a="29200970" Received: from zxtm01.utdallas.edu (HELO utd65257.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Mar 2010 16:32:54 -0500 Date: Thu, 18 Mar 2010 16:32:54 -0500 From: Paul Schmehl To: Paul Schmehl , Glen Barber , Chris Hill Message-ID: <98B35D241200AC60F9D51B4E@utd65257.utdallas.edu> In-Reply-To: References: <4B8E5AC8.5020008@bbconsult.co.uk> <20100304015032.GA21561@orion.hsd1.pa.comcast.net> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Thomas Lawrence , freebsd-questions@freebsd.org Subject: Re: Virtualbox on Freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 21:32:55 -0000 --On Thursday, March 04, 2010 13:15:02 -0600 Paul Schmehl wrote: > I'm trying to build it from ports right now and running into all sorts of > issues with qt4 stuff. > After rebuilding all my ports (portupgrade -af) and fixing the problems encountered, VirtualBox is working perfectly. I am now running 64 bit Windows 7 in VirtualBox on my 8 STABLE workstation. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 00:32:49 2010 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 46AA21065672 for ; Fri, 19 Mar 2010 00:32:49 +0000 (UTC) (envelope-from jpaetzel@freebsd.org) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id 037568FC0A for ; Fri, 19 Mar 2010 00:32:45 +0000 (UTC) Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id CE833E5A80; Thu, 18 Mar 2010 20:32:44 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Thu, 18 Mar 2010 20:32:44 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:subject:date:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; s=smtpout; bh=1A0nUFw7V/he7Q1znkopWra70a8=; b=XzOLHyxzHP3MgsHUu2s0raR8HBwa6sQBKD88DQeRUYkgcoF0UZ5a/4AHQYbeM/CXionU5k1LSrD14DgR8NNv5Psa9IAQ5nhq8nHT2kiMJo7FCQjJP7jUhWVKcqmWtPxONBNc4niqheTFr2sNDhSLPfR4XhqdH+nvg80L24txzxg= X-Sasl-enc: QuLIk7396EJ+KU4DGGsXEmAztmfkEGDyEbib4RgWnJ/i 1268958764 Received: from ix.tcbug.org (71-82-134-106.dhcp.roch.mn.charter.com [71.82.134.106]) by mail.messagingengine.com (Postfix) with ESMTPSA id 650C84B22BB; Thu, 18 Mar 2010 20:32:44 -0400 (EDT) From: Josh Paetzel Organization: FreeBSD To: freebsd-questions@freebsd.org Date: Thu, 18 Mar 2010 19:30:31 -0500 User-Agent: KMail/1.13.1 (FreeBSD/9.0-CURRENT; KDE/4.4.1; amd64; ; ) References: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> In-Reply-To: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2868302.41bsL4qo4R"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201003181930.37822.jpaetzel@freebsd.org> Cc: Andy Wodfer Subject: Re: Hardware RAID controller questions - 3Ware vs RocketRaid 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, 19 Mar 2010 00:32:49 -0000 --nextPart2868302.41bsL4qo4R Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Thursday 18 March 2010 03:37:32 Andy Wodfer wrote: > Hi, > We're setting up two backup servers where each server will have about 4TB > of harddrives (for now) connected (4x1TB and 8x500GB drives). Last night > we ran into trouble with the 3ware controllers we have (9650SE-8LPML) > because we couldn't create a larger RAID5 than 1.99TB. >=20 > We are going to use FreeBSD 8.0 and Bacula, but first we obviously need to > create a working RAID. >=20 > My questions are: >=20 > - Are HighPoint RocketRaid controllers a good alternative to 3ware > controllers? Are RocketRaid controllers true hardware RAID? >=20 > - What should we look for in a RAID controller spec to see that it has > support for larger than 2TB RAIDs? >=20 > I've been looking at these: > http://www.highpoint-tech.com/USA_new/series_rr2300.htm > http://www.highpoint-tech.com/USA_new/series_rr3500.htm >=20 > Any FreeBSD recommendations? Or perhaps for another 3ware controller? >=20 > We're using SATAII drives. >=20 > Thanks for your help! >=20 > Best regards, > Andreas You are hitting an issue with DOS MBR limitations, not the RAID controller= =20 itself. Either use GPT or put a filesystem on the raw device with no fdisk= at=20 all. The latter strategy is the better one if you intend to ever grow the= =20 filesystem. 3ware controllers are the best game in town for FreeBSD. We use them=20 extensively both internally and for our customers at iXsystems. You can fl= ash=20 the controller firmware from in the OS on FreeBSD using tw_cli. You might also consider running ZFS on the hardware RAID instead of UFS. Y= ou=20 get the advantages of running a hardware RAID controller, plus the advantag= es=20 of ZFS (namely no fsck) root@servant /usr/src ->tw_cli /c0 show Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVr= fy =2D------------------------------------------------------------------------= =2D---- u0 RAID-6 OK - - 256K 5587.88 RiW ON = =20 root@servant /usr/src ->grep 'da0' /var/run/dmesg.boot da0 at twa0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device=20 da0: 100.000MB/s transfers da0: 122879MB (251658239 512 byte sectors: 255H 63S/T 15665C) ** small boot LUN root@servant /usr/src ->grep 'da1' /var/run/dmesg.boot da1 at twa0 bus 0 target 0 lun 1 da1: Fixed Direct Access SCSI-5 device=20 da1: 100.000MB/s transfers da1: 5599104MB (11466964993 512 byte sectors: 255H 63S/T 713785C) ** The rest of it root@servant /usr/src ->zpool status -v pool: a state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM a ONLINE 0 0 0 da1 ONLINE 0 0 0 errors: No known data errors root@servant /usr/src ->df -h a =46ilesystem Size Used Avail Capacity Mounted on a 5.2T 2.2T 3.0T 42% /a =2D-=20 Thanks, Josh Paetzel =46reeBSD -- The power to serve --nextPart2868302.41bsL4qo4R Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAABAgAGBQJLosWtAAoJEKFq1/n1feG2bugH/3dVaVniypJYw3lSu/FMAKd6 fkucZq7CM1N5wcQVxT0DtQcLVnu5mgG9lw2uBiVWYnIrrSmdtdaFYfj+mqRx5qJP znVntWqN6I0C9QOLLEmMSL3QiCjNDD7nUnjbCV5SASSV1eIRgkkC4lDnS1lW2TPm FpCW6+4oid0X0KxYa6hoaI7Ze2Se7WVVXsHFFNNPmHOel6F/6Ykt17pWjtODQYCg ieYrV2ng3xjAAceSKolWovhQnvdxb+PFoDUWrUlrA2oGUGGsJnyFEtyrlGdaXUEk 0naJwwr1fIDFRoGDfXfmCKvsSDaw5THgb2h+7bUKTd/f2Lv4EyS29mZAeC5Or0I= =9Ron -----END PGP SIGNATURE----- --nextPart2868302.41bsL4qo4R-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 00:45:20 2010 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 3A685106566C for ; Fri, 19 Mar 2010 00:45:20 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id AEB3B8FC15 for ; Fri, 19 Mar 2010 00:45:19 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApEBACZmokvKRa39/2dsb2JhbAAH2B+EeQSDGw X-IronPort-AV: E=Sophos;i="4.51,271,1267372800"; d="scan'208";a="10128180" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.253]) by avmxsmtp5.comclark.com with ESMTP; 19 Mar 2010 08:45:17 +0800 Message-ID: <4BA2C900.5010400@comclark.com> Date: Fri, 19 Mar 2010 08:44:48 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: VirtualBox from the command line 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, 19 Mar 2010 00:45:20 -0000 Does VirtualBox launch from the FBSD command line? Is there a package for it in the pkg system? From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 00:57:07 2010 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 C4F351065672 for ; Fri, 19 Mar 2010 00:57:07 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit5.lizardhill.com (kermit5.lizardhill.com [64.69.41.221]) by mx1.freebsd.org (Postfix) with ESMTP id B163D8FC08 for ; Fri, 19 Mar 2010 00:57:07 +0000 (UTC) Received: from ip68-104-23-65.lv.lv.cox.net ([68.104.23.65] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1NsQVr-000ObG-7B; Thu, 18 Mar 2010 17:56:31 -0700 From: "Don O'Neil" To: "'Aiza'" , "'FreeBSD Questions'" References: <4BA2C900.5010400@comclark.com> In-Reply-To: <4BA2C900.5010400@comclark.com> Date: Thu, 18 Mar 2010 17:56:52 -0700 Message-ID: <063801cac6ff$10486320$30d92960$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcrG/YJiv3Cwec2QR1eA/7JAi4g24AAAXyIQ Content-Language: en-us Cc: Subject: RE: VirtualBox from the command line 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, 19 Mar 2010 00:57:07 -0000 You need to use 'vboxtool'... http://vboxtool.sourceforge.net/ > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Aiza > Sent: Thursday, March 18, 2010 5:45 PM > To: FreeBSD Questions > Subject: VirtualBox from the command line > > Does VirtualBox launch from the FBSD command line? > Is there a package for it in the pkg system? > _______________________________________________ > 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 Mar 19 01:01:07 2010 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 9B304106566B for ; Fri, 19 Mar 2010 01:01:07 +0000 (UTC) (envelope-from doug@safeport.com) Received: from oceanpt.safeport.com (oceanpt.safeport.com [65.122.17.3]) by mx1.freebsd.org (Postfix) with ESMTP id 660A08FC08 for ; Fri, 19 Mar 2010 01:01:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by oceanpt.safeport.com (8.14.2/8.14.2) with ESMTP id o2J1165k037412 for ; Thu, 18 Mar 2010 21:01:06 -0400 (EDT) (envelope-from doug@safeport.com) Date: Thu, 18 Mar 2010 21:01:06 -0400 (EDT) From: doug@safeport.com To: freebsd-questions@FreeBSD.ORG Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (oceanpt.safeport.com [127.0.0.1]); Thu, 18 Mar 2010 21:01:06 -0400 (EDT) Cc: Subject: Xorg xorg-7.4_2 startup 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, 19 Mar 2010 01:01:07 -0000 I have FreeBSD 7.2 built after the xorg-7.4_2 package I installed. Hardware is an IBM thinkpad T42p. I am trying to figure out if I have hardware or software issues. I built FreeBSD and installed Xorg 12/30/09. I am choosing not to use hal so: ---- xorg.conf ------- Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" #Option "DontZap" "off" Option "AutoAddDevices" "false" ---- rc.conf ------- #hald_enable="YES" #dbus_enable="YES" For the first month, this all worked. with xorg starting ok (10-15 secs) or slowly (>60 secs). Starting in Feburary, Xorg would hang locking the keyboard or take a complete unpredictable time to start. FreeBSD was built w/o IPV6 support which is the only possible software issue I can think of (Packet sniffing suggested an IPV6 call is made during xdm start up). If I do not start xdm, I can find nothing that does not work. When xdm starts everything works until the next power on. On a recent trip I left the system up for 2+ months, using it as my only workstation. I am stumped, flummoxed, and otherwise at a loss :) _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 01:11:15 2010 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 D5E1A1065670 for ; Fri, 19 Mar 2010 01:11:15 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pz0-f197.google.com (mail-pz0-f197.google.com [209.85.222.197]) by mx1.freebsd.org (Postfix) with ESMTP id ABD428FC0C for ; Fri, 19 Mar 2010 01:11:15 +0000 (UTC) Received: by pzk35 with SMTP id 35so2066953pzk.28 for ; Thu, 18 Mar 2010 18:11: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=QMYpmETgDai+B6mgGG52mQVzu4DrXgwYJnlIUxxh6f4=; b=pbubIcDWYXfrUnPk1m0hGqQRnHg41+v/5YQvyXXYwr3JhG4jaKo1D3OLheEoL4PmiK uW/H/tOb+akwhzX2wIpq7weoU1EdwivUQiqH4nTQNelpqjQfaLmyd86/fB3Skdjgjg/E LS5wSlExY6SbDFw0PDOx1D/F7zfyodLWXuzCQ= 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=U2JPBwLG7LvY6ulZcaDgaFhN85mQ7PyJOjkSwXdIimrgWeOqwvsp3M2EfuoWWiQai8 OPwy8Rlu9DQNvJQLDQHYkknR5wq9GeMmp+1ciG7M3JpRNdMpD7jyBmFcUe9ah/ryunLn q2QPtEu6yCRLR2iqfG6+gLadDSQSc4n8hcvSw= MIME-Version: 1.0 Received: by 10.142.250.40 with SMTP id x40mr1793213wfh.47.1268961075026; Thu, 18 Mar 2010 18:11:15 -0700 (PDT) In-Reply-To: <4BA2C900.5010400@comclark.com> References: <4BA2C900.5010400@comclark.com> Date: Thu, 18 Mar 2010 20:11:14 -0500 Message-ID: <6201873e1003181811s2e9a9f6fsf0a8181cce339cdc@mail.gmail.com> From: Adam Vande More To: Aiza Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: VirtualBox from the command line 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, 19 Mar 2010 01:11:15 -0000 On Thu, Mar 18, 2010 at 7:44 PM, Aiza wrote: > Does VirtualBox launch from the FBSD command line? > Is there a package for it in the pkg system? > # VirtualBox -h Sun VirtualBox Graphical User Interface 3.1.2_OSE (C) 2005-2009 Sun Microsystems, Inc. All rights reserved. Usage: --startvm start a VM by specifying its UUID or name --rmode sdl|image select different render mode (default is sdl) There are other ways too, eg VBoxHeadless -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 01:47:21 2010 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 0F0D11065670 for ; Fri, 19 Mar 2010 01:47:21 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id D81138FC1B for ; Fri, 19 Mar 2010 01:47:20 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o2J1lJnU017435 for ; Thu, 18 Mar 2010 18:47:20 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4BA2D7A7.1020009@rawbw.com> Date: Thu, 18 Mar 2010 18:47:19 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20100206) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Flash sometimes freezes firefox, also many npviewer.bin processes left running around X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 01:47:21 -0000 Sometimes after some flash object is displayed firefox gets frozen for many few seconds,maybe ~20sec. Do you see the same? Is there anyfix for this? In additions I have 54 processes like this one 50006 ?? I 0:00.00 /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin /usr/local/lib/linux-mozilla/plugins/libflashplayer.so --connection hanging around even after firefox process exits. linux-f10-flashplugin-10.0r45 nspluginwrapper-1.2.2_5 firefox-3.5.8,1 Yuri From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 01:49:16 2010 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 A0F161065675 for ; Fri, 19 Mar 2010 01:49:16 +0000 (UTC) (envelope-from jeremy@stormy.smart-serv.net) Received: from mx01.edm.ab.smart-serv.net (mail.smart-serv.net [208.68.18.197]) by mx1.freebsd.org (Postfix) with ESMTP id 813158FC1C for ; Fri, 19 Mar 2010 01:49:16 +0000 (UTC) Received: from [192.168.0.250] (S0106000d87073d15.nb.shawcable.net [70.74.68.215]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx01.edm.ab.smart-serv.net (Postfix) with ESMTPSA id A275911348E3; Thu, 18 Mar 2010 19:30:08 -0600 (MDT) Message-ID: <4BA2D398.6000104@stormy.smart-serv.net> Date: Thu, 18 Mar 2010 18:30:00 -0700 From: "J. Johnston" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100308 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4cac4bed1003181028h74aff209y31e9c70bfb6ec367@mail.gmail.com> In-Reply-To: <4cac4bed1003181028h74aff209y31e9c70bfb6ec367@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jayadev Kumar Subject: Re: API to find the memory usage of a process. 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, 19 Mar 2010 01:49:16 -0000 On 03/18/10 10:28, Jayadev Kumar wrote: > Hi, > > I need to find the memory usage of a process, from inside the process. > Is there any system call > do this ? I was trying to find it from 'top' utility source code. I couldn't > find the port which it is coming > from yet. > > Thanks, > Jayadev. the source for top is located in /usr/src/usr.bin/top > _______________________________________________ > 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 Mar 19 01:57:01 2010 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 B8A28106566B for ; Fri, 19 Mar 2010 01:57:01 +0000 (UTC) (envelope-from jg@fantomatic.co.uk) Received: from fix.fantomatic.co.uk (fantomatic.plus.com [81.174.154.245]) by mx1.freebsd.org (Postfix) with ESMTP id 2978F8FC17 for ; Fri, 19 Mar 2010 01:57:00 +0000 (UTC) Received: from fix.fantomatic.co.uk (localhost [127.0.0.1]) by fix.fantomatic.co.uk (8.14.3/8.14.3) with ESMTP id o2J1cmXI091503 for ; Fri, 19 Mar 2010 01:38:48 GMT (envelope-from jg@fix.fantomatic.co.uk) Received: (from jg@localhost) by fix.fantomatic.co.uk (8.14.3/8.14.3/Submit) id o2J1cmlh091501 for freebsd-questions@freebsd.org; Fri, 19 Mar 2010 01:38:48 GMT (envelope-from jg) Message-Id: <201003190138.o2J1cmlh091501@fix.fantomatic.co.uk> To: freebsd-questions@freebsd.org Date: Fri, 19 Mar 2010 01:38:48 +0000 (GMT) From: Jamie Griffin X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: greylisting with sendmail recommendations 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, 19 Mar 2010 01:57:01 -0000 Hello I'm thinking of implementing a greylisting milter for sendmail. I just wanted to ask here first to see if anyone has any feedback on which one might be the best to go with. I was looking at milter-greylist from ports, which seems quite popular, does anyone use this and have you found it to be effective? Thank you, Jamie From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 02:10:07 2010 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 E3F73106564A; Fri, 19 Mar 2010 02:10:07 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4DE498FC12; Fri, 19 Mar 2010 02:10:07 +0000 (UTC) Received: by gyf2 with SMTP id 2so1527289gyf.13 for ; Thu, 18 Mar 2010 19:10:06 -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=qObP5VkDhmzJGhVgDYW8re4IKTK7iCeerp0bdSSLfjk=; b=JKuNa81PrCSR3QluUsQk5k6kAwbzdQKqX5LuMlZFAR0+x4agOSjEFJHKYkm0ropt3i nuCk5HijuSax/+Rs/xqKbKL7AxBM9v6gFUvfkyIoxqBCuYll7eNClUXWrtnpI3CUGTLe 6ACQeXS0EklqQTev1TtpPcIlMVQDL19qRB5cw= 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=lRvHp3YyPppR8D4XEMWafdkW0rGMmK/NDkZPFV9brbyJgz/KmfKpZzvlBPc6ja0LQX DXuD10o37YPrUS/vBpJ5JXyBLi2K2rnsnHxrv/Z0Eza8782DYqlJj3WMl6EJm8q5hiNn U01Hn4ErJZF6Lj97zEa9n6FlD/f1udUmt8kmA= MIME-Version: 1.0 Received: by 10.101.8.37 with SMTP id l37mr5726655ani.233.1268964606559; Thu, 18 Mar 2010 19:10:06 -0700 (PDT) In-Reply-To: <4BA2D7A7.1020009@rawbw.com> References: <4BA2D7A7.1020009@rawbw.com> Date: Fri, 19 Mar 2010 02:10:06 +0000 Message-ID: <179b97fb1003181910t66b56dadr61faec90e28d9907@mail.gmail.com> From: Brandon Gooch To: yuri@rawbw.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org, freebsd-emulation@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Flash sometimes freezes firefox, also many npviewer.bin processes left running around 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, 19 Mar 2010 02:10:08 -0000 On Fri, Mar 19, 2010 at 1:47 AM, Yuri wrote: > Sometimes after some flash object is displayed firefox gets frozen for ma= ny > few seconds,maybe ~20sec. > Do you see the same? Is there anyfix for this? > > In additions I have 54 processes like this one > 50006 =A0?? =A0I =A0 =A0 =A00:00.00 > /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin > /usr/local/lib/linux-mozilla/plugins/libflashplayer.so --connection > hanging around even after firefox process exits. > > linux-f10-flashplugin-10.0r45 > nspluginwrapper-1.2.2_5 > firefox-3.5.8,1 > > Yuri > _______________________________________________ > 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" > I map a key to `killall npviewer.bin` -- crude and hack-ish, but it's all that seems to work. I just refresh the browser page(s) containing any other flash objects that I WANT to use or view (sometimes the refresh happens automagically). -Brandon From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 03:46:04 2010 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 93D02106566C for ; Fri, 19 Mar 2010 03:46:04 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 2CAEE8FC17 for ; Fri, 19 Mar 2010 03:46:03 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o2J3jwsA028279; Thu, 18 Mar 2010 21:45:58 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o2J3jwZl028276; Thu, 18 Mar 2010 21:45:58 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 18 Mar 2010 21:45:58 -0600 (MDT) From: Warren Block To: Adam Vande More In-Reply-To: <6201873e1003181811s2e9a9f6fsf0a8181cce339cdc@mail.gmail.com> Message-ID: References: <4BA2C900.5010400@comclark.com> <6201873e1003181811s2e9a9f6fsf0a8181cce339cdc@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Thu, 18 Mar 2010 21:45:58 -0600 (MDT) Cc: Aiza , FreeBSD Questions Subject: Re: VirtualBox from the command line 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, 19 Mar 2010 03:46:04 -0000 On Thu, 18 Mar 2010, Adam Vande More wrote: > On Thu, Mar 18, 2010 at 7:44 PM, Aiza wrote: > >> Does VirtualBox launch from the FBSD command line? >> Is there a package for it in the pkg system? >> > > # VirtualBox -h > Sun VirtualBox Graphical User Interface 3.1.2_OSE > (C) 2005-2009 Sun Microsystems, Inc. > All rights reserved. > > Usage: > --startvm start a VM by specifying its UUID or name > --rmode sdl|image select different render mode (default is sdl) > > There are other ways too, eg VBoxHeadless And VBoxSDL. And VBoxManage. You can even create VMs from the command line, but it's fairly involved. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 03:46:54 2010 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 20293106566B for ; Fri, 19 Mar 2010 03:46:54 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id 8FBA18FC19 for ; Fri, 19 Mar 2010 03:46:53 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjEhAFaQokvKRa39OWdsb2JhbAAHmzQBAQEBNwa7VoR5BIMbhmc X-IronPort-AV: E=Sophos;i="4.51,272,1267372800"; d="scan'208";a="10161479" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.253]) by avmxsmtp3.comclark.com with ESMTP; 19 Mar 2010 11:46:51 +0800 Message-ID: <4BA2F3AB.6030108@comclark.com> Date: Fri, 19 Mar 2010 11:46:51 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Adam Vande More References: <4BA2C900.5010400@comclark.com> <6201873e1003181811s2e9a9f6fsf0a8181cce339cdc@mail.gmail.com> In-Reply-To: <6201873e1003181811s2e9a9f6fsf0a8181cce339cdc@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: lists@lizardhill.com, FreeBSD Questions Subject: Re: VirtualBox from the command line 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, 19 Mar 2010 03:46:54 -0000 > On Thu, Mar 18, 2010 at 7:44 PM, Aiza > wrote: > > Does VirtualBox launch from the FBSD command line? > Is there a package for it in the pkg system? > > > # VirtualBox -h > Sun VirtualBox Graphical User Interface 3.1.2_OSE > (C) 2005-2009 Sun Microsystems, Inc. > All rights reserved. > > Usage: > --startvm start a VM by specifying its UUID or name > --rmode sdl|image select different render mode (default is sdl) > > There are other ways too, eg VBoxHeadless > > -- > Adam Vande More I read the VirtualBox section in the handbook. Not very informative. I also read the VirtualBox manual here http://www.virtualbox.org/manual/ch02.html#startingvboxonlinux The VirtualBox website http://www.virtualbox.org shows a GUI manager for configuring the host and guest setups. I did pkg_add -r virtualbox During the install got these messages Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". Since i Want to run virtualbox under vga I did this set env SDL_VIDEODRIVER=vgl added vesa_load="YES" to /boot/loader.conf At the end of the package install it says to Add vboxdrv_load="YES" to /boot/loader.conf and reboot which i did. before launching do mount -t procfs proc /proc pw groupmod vboxusers -m root To launch it enter VirtualBox on the command line. [take special note of the capital letters V & B in the command name] I get msg "Failed to open the X11 display." tried starting VBoxSDL get this error VBoxSDL: Error -1908 in suplibOsInit! VBoxSDL: Kernel driver not installed VBoxSDL: Tip! Make sure the kernel module is loaded. It may also help to reinstall VirtualBox. Tried starting VBoxManager VBoxManager: Command not found. Tried starting VBoxHeadless VBoxHeadless: Error -1908 in suplibOsInit! VBoxHeadless: Kernel driver not installed VBoxHeadless: Tip! Make sure the kernel module is loaded. It may also help to reinstall VirtualBox. Why don't virtual box GUI start in vga mode? Is this telling me that I have to have Xorg and some desktop running before VirtualBox's gui will function? Are the scripts provided by vboxtool the only way to have command line control of VirtualBox? http://vboxtool.sourceforge.net/ See talk about vboxweb as alternate VirtualBox manager. http://vboxweb.blogspot.com/ Does not look like this is out of development yet. Anybody using this? From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 04:08:54 2010 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 B15781065675 for ; Fri, 19 Mar 2010 04:08:54 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 5FABE8FC21 for ; Fri, 19 Mar 2010 04:08:53 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o2J48jDb028352; Thu, 18 Mar 2010 22:08:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o2J48jhj028349; Thu, 18 Mar 2010 22:08:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 18 Mar 2010 22:08:45 -0600 (MDT) From: Warren Block To: Jamie Griffin In-Reply-To: <201003190138.o2J1cmlh091501@fix.fantomatic.co.uk> Message-ID: References: <201003190138.o2J1cmlh091501@fix.fantomatic.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Thu, 18 Mar 2010 22:08:45 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: greylisting with sendmail recommendations 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, 19 Mar 2010 04:08:54 -0000 On Fri, 19 Mar 2010, Jamie Griffin wrote: > > I'm thinking of implementing a greylisting milter for sendmail. I just > wanted to ask here first to see if anyone has any feedback on which > one might be the best to go with. I was looking at milter-greylist > from ports, which seems quite popular, does anyone use this and have > you found it to be effective? It works for me. Article that's a bit old but probably still close: http://www.wonkity.com/~wblock/docs/greylist.pdf -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 04:53:17 2010 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 1F631106566C for ; Fri, 19 Mar 2010 04:53:17 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 069248FC13 for ; Fri, 19 Mar 2010 04:53:16 +0000 (UTC) Received: from omta09.emeryville.ca.mail.comcast.net ([76.96.30.20]) by qmta06.emeryville.ca.mail.comcast.net with comcast id usZZ1d0010S2fkCA6stHTC; Fri, 19 Mar 2010 04:53:17 +0000 Received: from comcast.net ([98.203.142.76]) by omta09.emeryville.ca.mail.comcast.net with comcast id ustF1d00E1f6R9u8VstGAC; Fri, 19 Mar 2010 04:53:17 +0000 Received: by comcast.net (sSMTP sendmail emulation); Thu, 18 Mar 2010 21:53:14 -0700 Date: Thu, 18 Mar 2010 21:53:13 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20100319045313.GA29575@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <4cac4bed1003181028h74aff209y31e9c70bfb6ec367@mail.gmail.com> <4BA2D398.6000104@stormy.smart-serv.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4BA2D398.6000104@stormy.smart-serv.net> X-Mailer: Mutt 1.5.20 X-Composer: VIM 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: API to find the memory usage of a process. 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, 19 Mar 2010 04:53:17 -0000 On Thu 18 Mar 2010 at 18:30:00 PDT J. Johnston wrote: >On 03/18/10 10:28, Jayadev Kumar wrote: >>Hi, >> >> I need to find the memory usage of a process, from inside the process. >>Is there any system call >>do this ? I was trying to find it from 'top' utility source code. I couldn't >>find the port which it is coming >>from yet. >> >>Thanks, >>Jayadev. > >the source for top is located in /usr/src/usr.bin/top whereis -sq foo will get you the source directory for foo, assuming you installed the system sources, or if "foo" is also the name of the port. If foo was installed by a port with some other name, you can find it with pkg_info -W foo From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 08:13:03 2010 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 DB44A1065675 for ; Fri, 19 Mar 2010 08:13:03 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 6CF698FC25 for ; Fri, 19 Mar 2010 08:13:02 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so173291fgg.13 for ; Fri, 19 Mar 2010 01:13:01 -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=QeN+dGF25PLRPxycBdu4TItmOuUR5mzzWj30suaeZwg=; b=hMP065KtaVEcBuQs5uAOzv/jMDp9/RDlPdUzNA4rrJ9kzImXFcOYaCsSYCgMQVNHV8 c1Drz45oygCi8E3rCQUgnq54MX6KaH+UDnlkS5aKEI1DvYSfx24rssYDBXgRaXUKdQRh QYWGYFVc6AmDKZ6VHujUzmMPClLC4CjgALcYE= 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=x8A+COigzYzi5lkxad8P2AmMTaFZ7COwMSCXNSdpVIlIvKc46HG+WloU48ZhWqLvHl 94+HnHwJuHsEQQqdPgz2wX3kftcyeXqK+8klUiq2YMDUYPAe2OphyfCqk0a6+OEc2G7h R4Nq0rKV7RiFS+K8gASJBXfqoTN7TuJ/ECiR0= MIME-Version: 1.0 Received: by 10.239.186.11 with SMTP id e11mr106988hbh.82.1268986381165; Fri, 19 Mar 2010 01:13:01 -0700 (PDT) In-Reply-To: <201003181930.37822.jpaetzel@freebsd.org> References: <23ed14b81003180137n61261b5axa22677a0a7bbe544@mail.gmail.com> <201003181930.37822.jpaetzel@freebsd.org> Date: Fri, 19 Mar 2010 09:13:01 +0100 Message-ID: <23ed14b81003190113id182c66x225885affd0ed05b@mail.gmail.com> From: Andy Wodfer To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Hardware RAID controller questions - 3Ware vs RocketRaid 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, 19 Mar 2010 08:13:03 -0000 Thanks for all your feedback. The problem occurs in the RAID controller BIOS (before we even boot or get to the OS install). Thanks to John for confirming these cards do work above 2TB. I will look into upgrading the firmware (on these brand new cards). Perhaps it's just the current firmware that can't handle 2TB harddrives x 3 in RAID. Cheers, Andreas From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 08:38:20 2010 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 13F09106564A for ; Fri, 19 Mar 2010 08:38:20 +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 798808FC0A for ; Fri, 19 Mar 2010 08:38:19 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o2J8c7QY048638 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 19 Mar 2010 08:38:07 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BA337EF.2070907@infracaninophile.co.uk> Date: Fri, 19 Mar 2010 08:38:07 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Warren Block References: <201003190138.o2J1cmlh091501@fix.fantomatic.co.uk> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk Cc: Jamie Griffin , freebsd-questions@freebsd.org Subject: Re: greylisting with sendmail recommendations 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, 19 Mar 2010 08:38:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/03/2010 04:08:45, Warren Block wrote: > On Fri, 19 Mar 2010, Jamie Griffin wrote: >> >> I'm thinking of implementing a greylisting milter for sendmail. I just >> wanted to ask here first to see if anyone has any feedback on which >> one might be the best to go with. I was looking at milter-greylist >> from ports, which seems quite popular, does anyone use this and have >> you found it to be effective? > > It works for me. Article that's a bit old but probably still close: > http://www.wonkity.com/~wblock/docs/greylist.pdf I like spamd from OpenBSD -- this is actually a firewall plugin which intercepts traffic to port 25. Works with any MTA. Not just greylisting, but greytrapping and teergrube. Every time you run obspamd, you make a spammer cry. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkujN+8ACgkQ8Mjk52CukIzhvACfW3AHSZ1d+QDfTxY2GVV/qy3+ oNYAoIK7n3QCv1TqGiTRqIouAZXsyZan =4t2W -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 11:25:51 2010 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 EC751106564A for ; Fri, 19 Mar 2010 11:25:51 +0000 (UTC) (envelope-from jg@fantomatic.co.uk) Received: from fix.fantomatic.co.uk (fix.fantomatic.co.uk [81.174.154.245]) by mx1.freebsd.org (Postfix) with ESMTP id 59FC18FC0A for ; Fri, 19 Mar 2010 11:25:50 +0000 (UTC) Received: from fix.fantomatic.co.uk (localhost [127.0.0.1]) by fix.fantomatic.co.uk (8.14.3/8.14.3) with ESMTP id o2JBPvVi001644 for ; Fri, 19 Mar 2010 11:25:57 GMT (envelope-from jg@fix.fantomatic.co.uk) Received: (from jg@localhost) by fix.fantomatic.co.uk (8.14.3/8.14.3/Submit) id o2JBPvCO001642 for freebsd-questions@freebsd.org; Fri, 19 Mar 2010 11:25:57 GMT (envelope-from jg) Message-Id: <201003191125.o2JBPvCO001642@fix.fantomatic.co.uk> To: freebsd-questions@freebsd.org Date: Fri, 19 Mar 2010 11:25:57 +0000 (GMT) In-Reply-To: <4BA337EF.2070907@infracaninophile.co.uk> From: Jamie Griffin X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: greylisting with sendmail recommendations 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, 19 Mar 2010 11:25:52 -0000 > I like spamd from OpenBSD -- this is actually a firewall plugin which > intercepts traffic to port 25. Works with any MTA. > Not just greylisting, but greytrapping and teergrube. Every time you > run obspamd, you make a spammer cry. > > Cheers, > > Matthew Thanks Matthew, I like the sound of that and will check it out. Jamie From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 11:34:24 2010 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 69AF3106566C for ; Fri, 19 Mar 2010 11:34:24 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id 36F948FC1D for ; Fri, 19 Mar 2010 11:34:23 +0000 (UTC) Received: from [192.168.2.164] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Fri, 19 Mar 2010 07:49:59 -0400 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::25 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= Message-ID: <4BA3613F.4070606@comcast.net> Date: Fri, 19 Mar 2010 07:34:23 -0400 From: Steve Polyack User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100311 Thunderbird/3.0.1 MIME-Version: 1.0 To: User Questions , freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: bseklecki@noc.cfi.pgh.pa.us Subject: FreeBSD NFS client goes into infinite retry loop 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, 19 Mar 2010 11:34:24 -0000 Hi, we use a FreeBSD 8-STABLE (from shortly after release) system as an NFS server to provide user home directories which get mounted across a few machines (all 6.3-RELEASE). For the past few weeks we have been running into problems where one particular client will go into an infinite loop where it is repeatedly trying to write data which causes the NFS server to return "reply ok 40 write ERROR: Input/output error PRE: POST:". This retry loop can cause between 20mbps and 500mbps of constant traffic on our network, depending on the size of the data associated with the failed write. We spent some time on the issue and determined that something on one of the clients is deleting a file as it is being written to by another NFS client. We were able to enable the NFS lockmgr and use lockf(1) to fix most of these conditions, and the frequency of this problem has dropped from once a night to once a week. However, it's still a problem and we can't necessarily force all of our users to "play nice" and use lockf/flock. Has anyone seen this before? No errors are being logged on the NFS server itself, but the "Server Ret-Failed" counter begins to increase rapidly whenever a client gets stuck in this infinite retry loop: Server Ret-Failed 224768961 I have a feeling that using NFS in such a matter may simply be prone to such problems, but what confuses me is why the NFS client system is infinitely retrying the write operation and causing itself so much grief. Thanks for any suggestions anyone can provide, Steve Polyack From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 13:19:29 2010 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 2792B1065675; Fri, 19 Mar 2010 13:19:29 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id ECA4B8FC14; Fri, 19 Mar 2010 13:19:28 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 9A84246B1A; Fri, 19 Mar 2010 09:19:28 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id D91F28A025; Fri, 19 Mar 2010 09:19:27 -0400 (EDT) From: John Baldwin To: freebsd-fs@freebsd.org Date: Fri, 19 Mar 2010 08:31:00 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <4BA3613F.4070606@comcast.net> In-Reply-To: <4BA3613F.4070606@comcast.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003190831.00950.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 19 Mar 2010 09:19:27 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Steve Polyack , bseklecki@noc.cfi.pgh.pa.us, User Questions Subject: Re: FreeBSD NFS client goes into infinite retry loop 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, 19 Mar 2010 13:19:29 -0000 On Friday 19 March 2010 7:34:23 am Steve Polyack wrote: > Hi, we use a FreeBSD 8-STABLE (from shortly after release) system as an > NFS server to provide user home directories which get mounted across a > few machines (all 6.3-RELEASE). For the past few weeks we have been > running into problems where one particular client will go into an > infinite loop where it is repeatedly trying to write data which causes > the NFS server to return "reply ok 40 write ERROR: Input/output error > PRE: POST:". This retry loop can cause between 20mbps and 500mbps of > constant traffic on our network, depending on the size of the data > associated with the failed write. > > We spent some time on the issue and determined that something on one of > the clients is deleting a file as it is being written to by another NFS > client. We were able to enable the NFS lockmgr and use lockf(1) to fix > most of these conditions, and the frequency of this problem has dropped > from once a night to once a week. However, it's still a problem and we > can't necessarily force all of our users to "play nice" and use lockf/flock. > > Has anyone seen this before? No errors are being logged on the NFS > server itself, but the "Server Ret-Failed" counter begins to increase > rapidly whenever a client gets stuck in this infinite retry loop: > Server Ret-Failed > 224768961 > > I have a feeling that using NFS in such a matter may simply be prone to > such problems, but what confuses me is why the NFS client system is > infinitely retrying the write operation and causing itself so much grief. Yes, your feeling is correct. This sort of race is inherent to NFS if you do not use some sort of locking protocol to resolve the race. The infinite retries sound like a client-side issue. Have you been able to try a newer OS version on a client to see if it still causes the same behavior? -- John Baldwin From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 13:20:55 2010 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 2D2591065673 for ; Fri, 19 Mar 2010 13:20:55 +0000 (UTC) (envelope-from anoop.kn@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 04F278FC1C for ; Fri, 19 Mar 2010 13:20:54 +0000 (UTC) Received: by pvc7 with SMTP id 7so340396pvc.13 for ; Fri, 19 Mar 2010 06:20:54 -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=QYGjT6POaaEy2QOEvCa4ebdKqsJVmLiGrnxpaUBnQ0M=; b=iXJBsyFcTrfsqyqrFULQR+deC6bTtm+pTC3uFCZNa4Tq0NC1t72A8MJuCT5c6AIMGN 8CrnA8lQgnUOUzX8KfqrkBQ38cg8y1a97TcbB3a1LHVZNtwYDVNKWjEtBGFRbmOgEH3W Kx0iEdJFOf2dgyBkqy/+os5uhZBnu4VQW92SI= 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=jKWnRUX8CGsOfMjQBhyRAWOJ4KIHvOryf+3BYTxnhf/nmRsOWrK/K+mxlH4XoHQ5Vp C8H6r8Rx4kTGcF8HGvl5O5awYg4Du7HqEB+F3xnm1rn3qnmGEjckpYx+QWcXjtmT9E/g Q63kQAocLW1htGqoCTaZqX+6Q9pNCPfMQGI1U= MIME-Version: 1.0 Received: by 10.143.20.7 with SMTP id x7mr948543wfi.328.1269004854584; Fri, 19 Mar 2010 06:20:54 -0700 (PDT) In-Reply-To: <7ff5545f1003120000t3db354b0pe405b9f56b38979b@mail.gmail.com> References: <7ff5545f1003120000t3db354b0pe405b9f56b38979b@mail.gmail.com> Date: Fri, 19 Mar 2010 18:50:54 +0530 Message-ID: <7ff5545f1003190620n5835d60dh6168c9c2621becd5@mail.gmail.com> From: Anoop Kumar Narayanan To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: FreeBSD 8.0 Booting Problem on ZV5320US Laptop 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, 19 Mar 2010 13:20:55 -0000 I have recently installed FreeBSD8.0 on my 5 year old HP laptop with absolute 0 battery backup (behaviour same when batter removed). Installation works fine but when I try to boot into FreeBSD I get to the BTX loader screen, after having made any selection and it pauses for about 15 secs and the computer suddenly powers down. I was able to boot into the system occasionally lets say about 1 in 5 boots. I am able to install and boot into Linux without any problem. On successful boot, I did see a message "battery0: battery initialization failed" 1. Is there any way to increase the amount of debug messages printed on the screen to figure out what's happening ? 2. Has it got to do with some module crashing as, I am able to install and run LINUX without any problem ? 3. Why is there a pause of 15 secs after making the selection ? From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 13:23:55 2010 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 D57AF106564A for ; Fri, 19 Mar 2010 13:23:55 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id 8FF6C8FC14 for ; Fri, 19 Mar 2010 13:23:55 +0000 (UTC) Received: from [192.168.2.164] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Fri, 19 Mar 2010 09:39:29 -0400 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::530 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= Message-ID: <4BA37AE9.4060806@comcast.net> Date: Fri, 19 Mar 2010 09:23:53 -0400 From: Steve Polyack User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100311 Thunderbird/3.0.1 MIME-Version: 1.0 To: John Baldwin References: <4BA3613F.4070606@comcast.net> <201003190831.00950.jhb@freebsd.org> In-Reply-To: <201003190831.00950.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, User Questions , bseklecki@noc.cfi.pgh.pa.us Subject: Re: FreeBSD NFS client goes into infinite retry loop 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, 19 Mar 2010 13:23:55 -0000 On 03/19/10 08:31, John Baldwin wrote: > On Friday 19 March 2010 7:34:23 am Steve Polyack wrote: > >> Hi, we use a FreeBSD 8-STABLE (from shortly after release) system as an >> NFS server to provide user home directories which get mounted across a >> few machines (all 6.3-RELEASE). For the past few weeks we have been >> running into problems where one particular client will go into an >> infinite loop where it is repeatedly trying to write data which causes >> the NFS server to return "reply ok 40 write ERROR: Input/output error >> PRE: POST:". This retry loop can cause between 20mbps and 500mbps of >> constant traffic on our network, depending on the size of the data >> associated with the failed write. >> >> We spent some time on the issue and determined that something on one of >> the clients is deleting a file as it is being written to by another NFS >> client. We were able to enable the NFS lockmgr and use lockf(1) to fix >> most of these conditions, and the frequency of this problem has dropped >> from once a night to once a week. However, it's still a problem and we >> can't necessarily force all of our users to "play nice" and use lockf/flock. >> >> Has anyone seen this before? No errors are being logged on the NFS >> server itself, but the "Server Ret-Failed" counter begins to increase >> rapidly whenever a client gets stuck in this infinite retry loop: >> Server Ret-Failed >> 224768961 >> >> I have a feeling that using NFS in such a matter may simply be prone to >> such problems, but what confuses me is why the NFS client system is >> infinitely retrying the write operation and causing itself so much grief. >> > Yes, your feeling is correct. This sort of race is inherent to NFS if you do > not use some sort of locking protocol to resolve the race. The infinite > retries sound like a client-side issue. Have you been able to try a newer OS > version on a client to see if it still causes the same behavior? > > I can't try a newer FBSD version on the client where we are seeing the problems, but I can recreate the problem fairly easily. Perhaps I'll try it with an 8.0 client. If I remember correctly, one of the strange things is that it doesn't seem to hit "critical mass" until a few hours after the operation first fails. I may be wrong, but I'll double check that when I check vs. 8.0-release. I forgot to add this in the first post, but these are all TCP NFS v3 mounts. Thanks for the response. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 14:19:16 2010 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 E1024106564A for ; Fri, 19 Mar 2010 14:19:15 +0000 (UTC) (envelope-from richard.delaurell@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 756F08FC19 for ; Fri, 19 Mar 2010 14:19:15 +0000 (UTC) Received: by wwb18 with SMTP id 18so1941624wwb.13 for ; Fri, 19 Mar 2010 07:19:14 -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=tUwUpMqVHLv/tyv7NOBz+l35+3rTV2CedDljrzsXUQY=; b=FeW4kMmawki7ANq4MLN9kljruBskdUiyp7K1HxYvW1xlU9SM0tbF0O7QWKpJUB6lqP rKUY05JwwsuySlwOnuQv62X4X4IPHVV9qXVSfa9Vg9L9Ke6SvgUtm/dRibjeRL4zwomr 3DjYZzpj6ktdmd5CUNB91r/ykNUqs9IAFJOAA= 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=kOe/aPVE1jPAB96tq9vnP5RfSPlly8LmgkvX3cy8ZcLgy049y8+a+FgjuiY0v7zTPN D23Yiw62iAHCG/e8o6xbYeQEBc5xQmx5eiJQIKg4CLk12VpTk+H5HZMFTkK2tTBrh/+A jKbOIHGmnPefohRBk3I03UEUeZ+6Am9hlPJAE= MIME-Version: 1.0 Received: by 10.216.89.195 with SMTP id c45mr2147684wef.38.1269008353600; Fri, 19 Mar 2010 07:19:13 -0700 (PDT) In-Reply-To: <7ff5545f1003190620n5835d60dh6168c9c2621becd5@mail.gmail.com> References: <7ff5545f1003120000t3db354b0pe405b9f56b38979b@mail.gmail.com> <7ff5545f1003190620n5835d60dh6168c9c2621becd5@mail.gmail.com> Date: Fri, 19 Mar 2010 09:19:13 -0500 Message-ID: <4324dbec1003190719t45036b4fvb44ecff3049e38e2@mail.gmail.com> From: Richard DeLaurell To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD 8.0 Booting Problem on ZV5320US Laptop 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, 19 Mar 2010 14:19:16 -0000 >On Fri, Mar 19, 2010 at 8:20 AM, Anoop Kumar Narayanan wrote: >I have recently installed FreeBSD8.0 on my 5 year old HP laptop with >absolute 0 battery backup (behaviour same when batter removed). >Installation works fine but when I try to boot into FreeBSD I get to >the BTX loader screen, after having made any selection and it pauses >for about 15 secs and the computer suddenly powers down. I was able to >boot into the system occasionally lets say about 1 in 5 boots. I am >able to install and boot into Linux without any problem. So then you are attempting to startup using a power adaptor (i.e. your computer is plugged in to a wall socket)? I had the reverse problem a while ago with Slackware shutting down in the middle of installation onto a Toshiba laptop while FreeBSD has always been no problem. My guess is that these issues reflect power management settings, perhaps even something in the bios. Does this occur when you use the installation or boot-only disks? Sorry this is not more help to you. Richard From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 14:30:14 2010 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 3DED5106564A for ; Fri, 19 Mar 2010 14:30:14 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from gate.criticalsoftware.com (gate.criticalsoftware.com [62.28.132.186]) by mx1.freebsd.org (Postfix) with ESMTP id E90AA8FC12 for ; Fri, 19 Mar 2010 14:30:13 +0000 (UTC) Received: from [192.168.1.98] (unknown [192.168.1.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.criticalsoftware.com (Postfix) with ESMTP id CD5A5228588; Fri, 19 Mar 2010 14:30:11 +0000 (WET) Message-ID: <4BA38A74.2030606@gmail.com> Date: Fri, 19 Mar 2010 14:30:12 +0000 From: Ricardo Jesus User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b2pre Thunderbird/3.0 MIME-Version: 1.0 To: Warren Block References: <4BA2C900.5010400@comclark.com> <6201873e1003181811s2e9a9f6fsf0a8181cce339cdc@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Adam Vande More , Aiza , FreeBSD Questions Subject: Re: VirtualBox from the command line X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ricardo.m.jesus@criticalsoftware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 14:30:14 -0000 On 19/03/2010 03:45, Warren Block wrote: > On Thu, 18 Mar 2010, Adam Vande More wrote: > >> On Thu, Mar 18, 2010 at 7:44 PM, Aiza wrote: >> >>> Does VirtualBox launch from the FBSD command line? >>> Is there a package for it in the pkg system? >>> >> >> # VirtualBox -h >> Sun VirtualBox Graphical User Interface 3.1.2_OSE >> (C) 2005-2009 Sun Microsystems, Inc. >> All rights reserved. >> >> Usage: >> --startvm start a VM by specifying its UUID or name >> --rmode sdl|image select different render mode (default is sdl) >> >> There are other ways too, eg VBoxHeadless > > And VBoxSDL. And VBoxManage. You can even create VMs from the command > line, but it's fairly involved. > > -Warren Block * Rapid City, South Dakota USA > _______________________________________________ > 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" > The problem with headless VirtualBox on FreeBSD is that the VRDP Connection is set to not active on VirtualBox OSE. AFAIK that makes it impossible to use headless VirtualBox on FreeBSD. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 14:38:31 2010 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 E35B61065672 for ; Fri, 19 Mar 2010 14:38:31 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 9F3DE8FC23 for ; Fri, 19 Mar 2010 14:38:31 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1NsdLK-00084e-KC>; Fri, 19 Mar 2010 15:38:30 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1NsdLK-0005zI-IN>; Fri, 19 Mar 2010 15:38:30 +0100 Message-ID: <4BA38CD4.3020300@zedat.fu-berlin.de> Date: Fri, 19 Mar 2010 14:40:20 +0000 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.8) Gecko/20100317 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Subject: How to set LD_PATH elegant? 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, 19 Mar 2010 14:38:32 -0000 I'm a little bit new to setting library paths, so sorry for the noise. I install some packages and libraries apart the FreeBSD package/ports system and need to setup the search path for shared libraries the proper way. At this very moment I 'hardcode' this additional search path by setting ldconfig_paths= in /etc/rc.conf, but since this is a 'system related' location I'm looking for a proper and clean method setting this search path via environment variable and/or some /usr/local/etc/rc.conf.add stuff or similar. I appreciate any hint. Regards, Oliver Hartmann From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 14:44:04 2010 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 E0B81106564A for ; Fri, 19 Mar 2010 14:44:04 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-qy0-f190.google.com (mail-qy0-f190.google.com [209.85.221.190]) by mx1.freebsd.org (Postfix) with ESMTP id A59A68FC0C for ; Fri, 19 Mar 2010 14:44:04 +0000 (UTC) Received: by qyk28 with SMTP id 28so1997743qyk.14 for ; Fri, 19 Mar 2010 07:44:03 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.222.76 with SMTP id if12mr345848qcb.17.1269009843538; Fri, 19 Mar 2010 07:44:03 -0700 (PDT) In-Reply-To: <4BA38CD4.3020300@zedat.fu-berlin.de> References: <4BA38CD4.3020300@zedat.fu-berlin.de> Date: Fri, 19 Mar 2010 10:44:03 -0400 X-Google-Sender-Auth: 0c1b8e12624ce7bc Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: How to set LD_PATH elegant? 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, 19 Mar 2010 14:44:05 -0000 On Fri, Mar 19, 2010 at 10:40 AM, O. Hartmann wrote: > I'm a little bit new to setting library paths, so sorry for the noise. > > I install some packages and libraries apart the FreeBSD package/ports system > and need > to setup the search path for shared libraries the proper way. > > At this very moment I 'hardcode' this additional search path by setting > > ldconfig_paths= > > in /etc/rc.conf, > > > but since this is a 'system related' location I'm looking for a proper and > clean method setting this search path > via environment variable and/or some /usr/local/etc/rc.conf.add stuff or > similar. > If I understand your question correctly perhaps the LD_LIBRARY_PATH is what you are looking for. It will set the search order for the libraries, not the executables which is what PATH variable is for. > I appreciate any hint. > > Regards, > > Oliver Hartmann > _______________________________________________ > 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 Mar 19 14:44:33 2010 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 B803F1065675 for ; Fri, 19 Mar 2010 14:44:33 +0000 (UTC) (envelope-from tom@tompurl.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 394338FC21 for ; Fri, 19 Mar 2010 14:44:32 +0000 (UTC) Received: by fxm24 with SMTP id 24so500273fxm.3 for ; Fri, 19 Mar 2010 07:44:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.155.1 with SMTP id g1mr1614404hbc.121.1269008289821; Fri, 19 Mar 2010 07:18:09 -0700 (PDT) Date: Fri, 19 Mar 2010 09:18:09 -0500 Message-ID: From: Tom Purl To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Trouble Installing JKD15 On A Vanilla 8.0 Installation 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, 19 Mar 2010 14:44:33 -0000 I wanted to create a small test system that could host SSH, Apache, and Jboss, so I decided to install the 8.0 version of FreeBSD on Virtualbox. Everything had gone very well until I tried to install the jdk15 port. Please note that I am very comfortable with Linux (I've been using it at home for 9 years), but I'm very new to the world of FreeBSD. First, after the port had compiled on my system for many hours, it crashed with an error message stating that I was "out of swap space". I had only devoted 128 MB of RAM to the VM at this point (I planned to increase it later), so I doubled that to 256 MB and re-ran "make install clean". After doing that, I got the following error message: ===> Building for jdk-1.5.0.16p9_3,1 # Start of jdk build bsd i586 1.5.0_16-p9 build started: 10-03-19 03:37 if [ -r ./../../deploy/make/Makefile ]; then \ ( cd ./../../deploy/make; gmake sanity EXTERNALSANITYCONTROL=true CONTROL_TOPDIR=/usr/ports/java/jdk15/work/control CONTROL_TOPDIR_NAME=control ALT_OUTPUTDIR=/usr/ports/java/jdk15/work/control/build/bsd-i586 ARCH_DATA_MODEL=32 MILESTONE=p9 BUILD_NUMBER=root_19_mar_2010_03_37 JDK_BUILD_NUMBER=b00 ; ); \ fi gmake[1]: Entering directory `/usr/ports/java/jdk15/work/deploy/make' gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make' gmake[1]: Entering directory `/usr/ports/java/jdk15/work/j2se/make' gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' if [ -r ./../../install/make/Makefile ]; then \ ( cd ./../../install/make; gmake sanity MAKEFLAGS= EXTERNALSANITYCONTROL=true ALT_CONTROL_TOPDIR=/usr/ports/java/jdk15/work/control ALT_J2SE_TOPDIR=/usr/ports/java/jdk15/work/j2se ALT_OUTPUTDIR=/usr/ports/java/jdk15/work/control/build/bsd-i586 ALT_RTPATCH_DIR= ALT_BASE_IMAGE_ZIP= ALT_BASE_IMAGE_DIR= ALT_NEW_IMAGE_DIR= ALT_BUNDLE_DATE=19_mar_2010 ; ); \ fi gmake[1]: Entering directory `/usr/ports/java/jdk15/work/install/make' gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/install/make' Build Machine Information: build machine = Build Directory Structure: CWD = /usr/ports/java/jdk15/work/control/make TOPDIR = ./../.. CONTROL_TOPDIR = ./../../control HOTSPOT_TOPDIR = ./../../hotspot J2SE_TOPDIR = ./../../j2se DEPLOY_TOPDIR = ./../../deploy INSTALL_TOPDIR = ./../../install SPONSORS_TOPDIR = ./../../sponsors Build Directives: BUILD_HOTSPOT = true BUILD_MOTIF = false BUILD_INSTALL = true BUILD_SPONSORS = false Hotspot Settings: HOTSPOT_BUILD_JOBS = Bootstrap Settings: JAVAWS_BOOTDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586 BOOTSTRAP J2SDK VERSION: OUTPUTDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586 Build Tool Settings: JDK_DEVTOOLS_DIR = UNIXCOMMAND_PATH = /bin/ COMPILER_PATH = /usr/bin/ DEVTOOLS_PATH = /usr/local/bin/ USRBIN_PATH = /usr/bin/ MOZILLA_HEADERS_PATH = ../src/plugin/include CC_VER = 4.2.1 PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin Build Directives: PEDANTIC = INSANE = Build Platform Settings: PLATFORM = bsd ARCH = i586 LIBARCH = i386 ARCH_FAMILY = i586 ARCH_DATA_MODEL = 32 OS_VERSION = 8.0-RELEASE FREE_SPACE = 4337918 GNU Make Settings: MAKE = gmake MAKE VERSION = MAKECMDGOALS = sanity MAKEFLAGS = w -- JDK_BUILD_NUMBER=b00 BUILD_NUMBER=root_19_mar_2010_03_37 MILESTONE=p9 ARCH_DATA_MODEL=32 ALT_OUTPUTDIR=/usr/ports/java/jdk15/work/control/build/bsd-i586 CONTROL_TOPDIR_NAME=control CONTROL_TOPDIR=/usr/ports/java/jdk15/work/control EXTERNALSANITYCONTROL=true SHELL = /bin/sh Target Build Versions: JAVAWS_VERSION = 1.5.0_16 MILESTONE = p9 BUILD_NUMBER = root_19_mar_2010_03_37 Bootstrap Settings: BOOTDIR = /usr/local/diablo-jdk1.6.0 BOOTSTRAP J2SDK VERSION: 1.6.0_07 OUTPUTDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586 Build Tool Settings: JDK_DEVTOOLS_DIR = UNIXCOMMAND_PATH = /bin/ COMPILER_PATH = /usr/bin/ DEVTOOLS_PATH = /usr/local/bin/ USRBIN_PATH = /usr/bin/ MOTIF_DIR = /usr/local CC_VER = 4.2.1 ZIP_VER = 3.0 PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin TMPDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp Build Directives: USE_ONLY_BOOTDIR_TOOLS = USE_HOTSPOT_INTERPRETER_MODE = PEDANTIC = DEV_ONLY = J2RE_ONLY = NO_DOCS = NO_IMAGES = TOOLS_ONLY = INSANE = PARALLEL_COMPILES = false PARALLEL_COMPILE_JOBS = 2 FASTDEBUG = false INCREMENTAL_BUILD = false Build Platform Settings: PLATFORM = bsd ARCH = i586 LIBARCH = i386 ARCH_FAMILY = i586 ARCH_DATA_MODEL = 32 TRUE_PLATFORM = FreeBSD OS_VERSION = 8.0-RELEASE FREE_SPACE = 4337918 GNU Make Settings: MAKE = gmake MAKE VERSION = MAKECMDGOALS = sanity MAKEFLAGS = SHELL = /bin/sh Target Build Versions: JDK_VERSION = 1.5.0_16 MILESTONE = p9 BUILD_NUMBER = root_19_mar_2010_03_37 External File/Binary Locations: HOTSPOT_SERVER_PATH = /usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/server HOTSPOT_CLIENT_PATH = /usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/client HOTSPOT_IMPORT_PATH = /usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/import MOTIF_DIR = /usr/local CACERTS_FILE = ./../src/share/lib/security/cacerts No setting required for Unix Systems WARNING: Your are not building SPONSORS workspace from the control build. This will result in a development-only build of the J2SE workspace, lacking the installation bundles WARNING: Your FreeBSD installation is not valid for building a the J2SDK. You must be using FreeBSD 4.1[01]|5.[345]|6.*. Your release is 8.0-RELEASE WARNING: The zip file version must be 2.[23456789]. You are using the following zip file version: 3.0 The zip file was obtained from the following location: /usr/local/bin/zip Please change your zip file. Sanity check passed. (cd ./../build/bsd-i586/hotspot-i586/tmp; \ gmake -f /usr/ports/java/jdk15/work/hotspot/build/bsd/Makefile product \ HOTSPOT_BUILD_VERSION=1.5.0_16-p9-root_19_mar_2010_03_37 GAMMADIR=/usr/ports/java/jdk15/work/hotspot ; ) gmake[1]: Entering directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp' if [ `/usr/local/diablo-jdk1.6.0/bin/java -fullversion 2>&1 | grep -c '1\.[4567]'` -eq 0 ] ; then \ /usr/local/diablo-jdk1.6.0/bin/java -version; \ echo "*** An XSLT processor (J2SE 1.4.x or newer) is required to bootstrap this build"; \ exit 1; \ fi sh /usr/ports/java/jdk15/work/hotspot/build/bsd/makefiles/buildATree.sh compiler2 /usr/ports/java/jdk15/work/hotspot bsd i486 (cd bsd_i486_compiler2/product; gmake) gmake[2]: Entering directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[3]: Entering directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' Rescanned ../generated/adfiles/bsd_i486.ad but encountered no changes. gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[3]: Entering directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[3]: Entering directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' if [ -d /usr/ports/java/jdk15/work/hotspot/agent -a "i486" != "ia64" ] ; then \ gmake -f sa.make ../generated/sa-jdi.jar; \ fi gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[3]: Entering directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' Linking launcher... gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp' *** Error code 2 Stop in /usr/ports/java/jdk15. *** Error code 1 Stop in /usr/ports/java/jdk15. It appears that the Diablo version of Java 6 (which appears to be a dependency for Java 5?) was install properly: frisbee# which java /usr/local/bin/java frisbee# java -version java version "1.6.0_07" Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) Diablo Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing) So finally, here are my questions: 1. Is Java 5 not supported on version 8 of FreeBSD? I found the following tip that apparently eliminates this error, but it really seems to be a hack to me. Is there a better way? * http://lists.freebsd.org/pipermail/freebsd-ports/2008-July/049686.html 2. I think there's a possibility that this error is due to the earlier segfault of the package manager. Would it therefore make sense to re-install it using the "make deinstall && make install clean" command? Thanks in advance! Tom Purl From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 15:02:11 2010 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 3AB7B106564A for ; Fri, 19 Mar 2010 15:02:11 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by mx1.freebsd.org (Postfix) with ESMTP id 1104A8FC19 for ; Fri, 19 Mar 2010 15:02:10 +0000 (UTC) Received: by pxi38 with SMTP id 38so2021891pxi.27 for ; Fri, 19 Mar 2010 08:02:10 -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=HHrgj8+kZiEzTtvT4ZTZb9gzR41/nLIOeG6XfQDUaVg=; b=FcPbPF6HpI0kX1QV6V5S6JNj5HlDHQZ8QBFmUNgKXe2b95hfnSD8KK2Q5zoLI8En23 UG/ZLy+/ZOv0MYRwCJmzYAD5lJW8un3XXTQv7PlM9OXIxgvdWR3+azwiX/e+lwY3Wcz/ yNl9rIooshuKsZ4IMOFh4OWnVA17qCAxBl8IE= 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=qqG+rm6EWdgwL1mlhJNTYo7hqspOSHrPaAV1zNfw51wa/YJmBttcUG0wGvk9k4Cp8V pATO/bXG3HnXRjXmtS8WeRLWOFF8l9Li344kLKCBCNqm5eRkVNEX/MPnlTHUmLUOxFgy 6TpjnCmA08ntB4UnbXfENJk+me2y4pmlgQJ8A= MIME-Version: 1.0 Received: by 10.141.187.27 with SMTP id o27mr4200643rvp.299.1269010930436; Fri, 19 Mar 2010 08:02:10 -0700 (PDT) In-Reply-To: <20100314170012.GA38210@slackbox.erewhon.net> References: <539c60b91003140931o1f0d2d00u7ff7f5d021718b7c@mail.gmail.com> <20100314170012.GA38210@slackbox.erewhon.net> Date: Fri, 19 Mar 2010 08:02:10 -0700 Message-ID: <539c60b91003190802l54e91581pb393dce81d0be76e@mail.gmail.com> From: Steve Franks To: Roland Smith Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List Subject: Re: tunefs -L 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, 19 Mar 2010 15:02:11 -0000 Wait a second. What do I have to do, mount single user to find the darn things? They have completely disappeared, not even a 'GEOM_LABEL: Label ufsid/482b3a7c20b36d8c removed' in dmesg! (thought I was previously seeing that on shutdown, not startup, now neither) Even in single user mode, root is already mounted, so I'm never going to find the label for it. I'm afraid man geom is just leaving me guessing (see below). geom label doesn't seem to think I have any disks... Handbook: % glabel status Name Status Components ufsid/486b6fc38d330916 N/A ad4s1d ufsid/486b6fc16926168e N/A ad4s1f Local: [steve@fyre /usr/home/steve]$ glabel status Name Status Components iso9660/WALL_E N/A acd0 [steve@fyre /usr/home/steve]$ ??? Steve [steve@fyre /usr/home/steve]$ glabel status Name Status Components iso9660/WALL_E N/A acd0 [steve@fyre /usr/home/steve]$ geom ufs list geom: Command 'list' not available. [steve@fyre /usr/home/steve]$ sudo geom ufs list geom: Command 'list' not available. [steve@fyre /usr/home/steve]$ sudo geom ufs help usage: geom ufs help geom ufs list [name ...] geom ufs status [-s] [name ...] geom ufs load [-v] geom ufs unload [-v] [steve@fyre /usr/home/steve]$ sudo geom ufs list /dev/ad0 geom: Command 'list' not available. [steve@fyre /usr/home/steve]$ sudo geom ufs list /dev/ad0s1 geom: Command 'list' not available. [steve@fyre /usr/home/steve]$ sudo geom ufs status geom: Command 'status' not available. [steve@fyre /usr/home/steve]$ sudo geom ufs load geom: Command 'load' not available. [steve@fyre /usr/home/steve]$ sudo geom disk list Geom name: ad0 Providers: 1. Name: ad0 Mediasize: 400087375360 (373G) Sectorsize: 512 Mode: r5w5e14 fwsectors: 63 fwheads: 16 Geom name: cd0 Providers: 1. Name: cd0 Mediasize: 4681957376 (4.4G) Sectorsize: 2048 Mode: r0w0e0 fwsectors: 0 fwheads: 0 Geom name: da0 Providers: 1. Name: da0 Mediasize: 0 (0B) Sectorsize: 0 Mode: r0w0e0 fwsectors: 0 fwheads: 0 Geom name: da1 Providers: 1. Name: da1 Mediasize: 0 (0B) Sectorsize: 0 Mode: r0w0e0 fwsectors: 0 fwheads: 0 Geom name: da2 Providers: 1. Name: da2 Mediasize: 0 (0B) Sectorsize: 0 Mode: r0w0e0 fwsectors: 0 fwheads: 0 Geom name: da3 Providers: 1. Name: da3 Mediasize: 0 (0B) Sectorsize: 0 Mode: r0w0e0 fwsectors: 0 fwheads: 0 [steve@fyre /usr/home/steve]$ sudo geom label list Geom name: acd0 Providers: 1. Name: iso9660/WALL_E Mediasize: 4681957376 (4.4G) Sectorsize: 2048 Mode: r0w0e0 secoffset: 0 offset: 0 seclength: 9144448 length: 4681957376 index: 0 Consumers: 1. Name: acd0 Mediasize: 4681957376 (4.4G) Sectorsize: 2048 Mode: r0w0e0 [steve@fyre /usr/home/steve]$ From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 15:03:56 2010 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 0F887106566B for ; Fri, 19 Mar 2010 15:03:56 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id A45D58FC22 for ; Fri, 19 Mar 2010 15:03:55 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o2JF3sKv031037; Fri, 19 Mar 2010 09:03:54 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o2JF3sGe031034; Fri, 19 Mar 2010 09:03:54 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 19 Mar 2010 09:03:54 -0600 (MDT) From: Warren Block To: Tom Purl In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Fri, 19 Mar 2010 09:03:54 -0600 (MDT) Cc: freebsd-questions Subject: Re: Trouble Installing JKD15 On A Vanilla 8.0 Installation 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, 19 Mar 2010 15:03:56 -0000 On Fri, 19 Mar 2010, Tom Purl wrote: > I wanted to create a small test system that could host SSH, Apache, > and Jboss, so I decided to install the 8.0 version of FreeBSD on > Virtualbox. Everything had gone very well until I tried to install the > jdk15 port. Please note that I am very comfortable with Linux (I've > been using it at home for 9 years), but I'm very new to the world of > FreeBSD. > > First, after the port had compiled on my system for many hours, it > crashed with an error message stating that I was "out of swap space". I > had only devoted 128 MB of RAM to the VM at this point (I planned to > increase it later), so I doubled that to 256 MB That still seems pretty small for a Java build from source. Give the VM as much memory as the host can afford. You can always reduce that after the build is done. > and re-ran "make install clean". There may have been a half-built work directory still in place from the failed build. If that happens, clear it with a 'make clean'. For big ports like Java, it helps to break up the steps. Do just a make, then if it builds, make install, then after that succeeds, make clean. > 1. Is Java 5 not supported on version 8 of FreeBSD? I found the > following tip that apparently eliminates this error, but it really seems > to be a hack to me. Is there a better way? > > * http://lists.freebsd.org/pipermail/freebsd-ports/2008-July/049686.html Don't know, but jkd16 works on 8. Except the Firefox plugin. > 2. I think there's a possibility that this error is due to the earlier > segfault of the package manager. That was not shown in your message, so it's hard to tell exactly what you mean. Unless you're talking about the port build error, which wasn't a segfault or a package manager. > Would it therefore make sense to re-install it using the "make > deinstall && make install clean" command? Which "it"? -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 15:05:23 2010 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 DE1E71065670 for ; Fri, 19 Mar 2010 15:05:22 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id 987008FC13 for ; Fri, 19 Mar 2010 15:05:22 +0000 (UTC) Received: from [192.168.2.164] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Fri, 19 Mar 2010 11:20:56 -0400 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::599 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= Message-ID: <4BA392B1.4050107@comcast.net> Date: Fri, 19 Mar 2010 11:05:21 -0400 From: Steve Polyack User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100311 Thunderbird/3.0.1 MIME-Version: 1.0 To: John Baldwin References: <4BA3613F.4070606@comcast.net> <201003190831.00950.jhb@freebsd.org> <4BA37AE9.4060806@comcast.net> In-Reply-To: <4BA37AE9.4060806@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, User Questions , bseklecki@noc.cfi.pgh.pa.us Subject: Re: FreeBSD NFS client goes into infinite retry loop 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, 19 Mar 2010 15:05:23 -0000 On 03/19/10 09:23, Steve Polyack wrote: > On 03/19/10 08:31, John Baldwin wrote: >> On Friday 19 March 2010 7:34:23 am Steve Polyack wrote: >>> Hi, we use a FreeBSD 8-STABLE (from shortly after release) system as an >>> NFS server to provide user home directories which get mounted across a >>> few machines (all 6.3-RELEASE). For the past few weeks we have been >>> running into problems where one particular client will go into an >>> infinite loop where it is repeatedly trying to write data which causes >>> the NFS server to return "reply ok 40 write ERROR: Input/output error >>> PRE: POST:". This retry loop can cause between 20mbps and 500mbps of >>> constant traffic on our network, depending on the size of the data >>> associated with the failed write. >>> >>> We spent some time on the issue and determined that something on one of >>> the clients is deleting a file as it is being written to by another NFS >>> client. We were able to enable the NFS lockmgr and use lockf(1) to fix >>> most of these conditions, and the frequency of this problem has dropped >>> from once a night to once a week. However, it's still a problem and we >>> can't necessarily force all of our users to "play nice" and use >>> lockf/flock. >>> >>> Has anyone seen this before? No errors are being logged on the NFS >>> server itself, but the "Server Ret-Failed" counter begins to increase >>> rapidly whenever a client gets stuck in this infinite retry loop: >>> Server Ret-Failed >>> 224768961 >>> >>> I have a feeling that using NFS in such a matter may simply be prone to >>> such problems, but what confuses me is why the NFS client system is >>> infinitely retrying the write operation and causing itself so much >>> grief. >> Yes, your feeling is correct. This sort of race is inherent to NFS >> if you do >> not use some sort of locking protocol to resolve the race. The infinite >> retries sound like a client-side issue. Have you been able to try a >> newer OS >> version on a client to see if it still causes the same behavior? >> > I can't try a newer FBSD version on the client where we are seeing the > problems, but I can recreate the problem fairly easily. Perhaps I'll > try it with an 8.0 client. If I remember correctly, one of the > strange things is that it doesn't seem to hit "critical mass" until a > few hours after the operation first fails. I may be wrong, but I'll > double check that when I check vs. 8.0-release. > > I forgot to add this in the first post, but these are all TCP NFS v3 > mounts. > > Thanks for the response. Ok, so I'm still able to trigger what appears to be the same retry loop with an 8.0-RELEASE nfsv3 client (going on 1.5 hours now): $ cat nfs.sh client#!/usr/local/bin/bash for a in {1..15} ; do sleep 1; echo "$a$a$"; done client$ ./nfs.sh >~/output the on the server while the above is running: server$ rm ~/output What happens is that you will see 3-4 of the same write attempts happen per minute via tcpdump. Our previous logs show that this is how it starts, and then ~4 hours later it begins to spiral out of control, throwing out up to 3,000 of the same failed write requests per second. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 15:09:39 2010 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 21E5E106567D for ; Fri, 19 Mar 2010 15:09:39 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id CFF568FC16 for ; Fri, 19 Mar 2010 15:09:38 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o2JF9MkP031059; Fri, 19 Mar 2010 09:09:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o2JF9Ljh031056; Fri, 19 Mar 2010 09:09:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 19 Mar 2010 09:09:21 -0600 (MDT) From: Warren Block To: ricardo.m.jesus@criticalsoftware.com In-Reply-To: <4BA38A74.2030606@gmail.com> Message-ID: References: <4BA2C900.5010400@comclark.com> <6201873e1003181811s2e9a9f6fsf0a8181cce339cdc@mail.gmail.com> <4BA38A74.2030606@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Fri, 19 Mar 2010 09:09:22 -0600 (MDT) Cc: Adam Vande More , Aiza , FreeBSD Questions Subject: Re: VirtualBox from the command line 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, 19 Mar 2010 15:09:39 -0000 On Fri, 19 Mar 2010, Ricardo Jesus wrote: > > The problem with headless VirtualBox on FreeBSD is that the VRDP Connection > is set to not active on VirtualBox OSE. AFAIK that makes it impossible to use > headless VirtualBox on FreeBSD. There are patches to use VNC with the OSE version: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=170485+0+archive/2010/freebsd-stable/20100221.freebsd-stable -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 16:35:33 2010 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 6B8671065675 for ; Fri, 19 Mar 2010 16:35:33 +0000 (UTC) (envelope-from aimass@yabarana.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 35EBC8FC1A for ; Fri, 19 Mar 2010 16:35:32 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so458645qwi.7 for ; Fri, 19 Mar 2010 09:35:32 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.223.201 with SMTP id il9mr84252qcb.104.1269016530848; Fri, 19 Mar 2010 09:35:30 -0700 (PDT) Date: Fri, 19 Mar 2010 12:35:30 -0400 X-Google-Sender-Auth: 85a7f80f9e9f2750 Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Elegant way to hack port source 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, 19 Mar 2010 16:35:33 -0000 Hi, I need to modify a file from a port before building. Specifically, the sane-backends pnm.c driver has a bug and the folks at the original project has not fixed for a while. I need to modify pnm.c in the work directory before compiling. What is an elegant way of doing this? If I make and then modify, the main make file does not see the change made in the file and will not recompile. And since there is no actual makefile in the work subdirectory I can't compile there either! There must be a FreeBSD way of dealing with modifying a port source before compiling. Please advise. Thanks in advance, Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 16:44:59 2010 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 E3ADD106564A for ; Fri, 19 Mar 2010 16:44:59 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 7A23F8FC27 for ; Fri, 19 Mar 2010 16:44:59 +0000 (UTC) Received: by fxm24 with SMTP id 24so626921fxm.3 for ; Fri, 19 Mar 2010 09:44: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 :date:message-id:subject:from:to:cc:content-type; bh=6TQD3iSRwwIt2ei2t/Cd1lB1q8hWs5/9rz+2Dx5MSVQ=; b=JyaHjFistrM9Q7s0KWFaT1o/GprfGt46QUDxiNT1SXBk/eMJ5BAzCPRKWni2uj4bSN RJHpV9lbUmq6rVzPahaxtZM4rbdRTc2TPil5+lkPsIt8EB8rsRXVXKDQG8gZWpwTNGaR M+u+z2Kc74YnaTuFFAq9eAv4T35orCt/v00Ds= 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=KF1iW3CICEqOnzXOGQG8jl/pS++U1UAAF49FMcx7GdvnZUuCrRwdZeZieCz7YA+U+T 9QAJAPR7/oEPhc0ZPiP94+PPHawgPyOeUIA9BYxEjmlv289nCnvb6AUjGlbpW7mpxoFZ rfdpXu+AHTuir8sFw/d17hXC2nnLJzrfQh0ck= MIME-Version: 1.0 Received: by 10.239.142.20 with SMTP id e20mr1560184hba.70.1269017097894; Fri, 19 Mar 2010 09:44:57 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Mar 2010 12:14:57 -0430 Message-ID: <286906751003190944q4ad81a6eu5422af0409e30046@mail.gmail.com> From: Alberto Mijares To: Alejandro Imass Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: Elegant way to hack port source 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, 19 Mar 2010 16:45:00 -0000 On Fri, Mar 19, 2010 at 12:05 PM, Alejandro Imass wrote: > Hi, > > I need to modify a file from a port before building. Specifically, the > sane-backends pnm.c driver has a bug and the folks at the original > project has not fixed for a while. I need to modify pnm.c in the work > directory before compiling. What is an elegant way of doing this? If I > make and then modify, the main make file does not see the change made > in the file and will not recompile. And since there is no actual > makefile in the work subdirectory I can't compile there either! You could make a copy of graphics/sane-backends to graphics/sane-backends-devel, fix the source in the new port's directory and install it as a regular port. Check this out too http://www.freebsd.org/doc/en/books/porters-handbook/ Best regards Alberto Mijares From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 16:55:14 2010 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 7A8681065670 for ; Fri, 19 Mar 2010 16:55:14 +0000 (UTC) (envelope-from anoop.kn@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 50C4A8FC14 for ; Fri, 19 Mar 2010 16:55:14 +0000 (UTC) Received: by pwj4 with SMTP id 4so2644669pwj.13 for ; Fri, 19 Mar 2010 09:55: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:content-type; bh=sTuIPD/LI1p///QbCrXt4nB085wtNDLHEHUESjPxvMQ=; b=SU4PzX+kxmMEpthB8eq3hT0+9pTwPkrIWkqJ5eEa2CeA2Yz+TEm9AHbuNmMJarpJ1M zFDzXZeeB5vAyTrU7ZhVosvygH9G+7N4x+MSF3jd5RO1HEMRnYc0MhTXesyGN2QrQ2BA JLNOIQyI61eR8XjsKqnwdJj6gX1ZkhuOTMRok= 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=tWNP3bBRx/WEIdpu4H4ox6ZVWCA7M6a8Uo0xg1aQmyIQa3vlLz4YpCMNTxL0wEkvmp lvYuuugDI/h8TmHk9f4iD7Jgcae8ZmS/D+N2Cp1+M10EsrFAwjyhF1SaNqkwda1ui4RX fR/u+b64v9GfrjCL5UC8ZQnjIdal3ZeYfTvSw= MIME-Version: 1.0 Received: by 10.142.75.21 with SMTP id x21mr725532wfa.212.1269017712323; Fri, 19 Mar 2010 09:55:12 -0700 (PDT) In-Reply-To: <4324dbec1003190719t45036b4fvb44ecff3049e38e2@mail.gmail.com> References: <7ff5545f1003120000t3db354b0pe405b9f56b38979b@mail.gmail.com> <7ff5545f1003190620n5835d60dh6168c9c2621becd5@mail.gmail.com> <4324dbec1003190719t45036b4fvb44ecff3049e38e2@mail.gmail.com> Date: Fri, 19 Mar 2010 22:25:12 +0530 Message-ID: <7ff5545f1003190955m4a4b3050p369e1044216edab1@mail.gmail.com> From: Anoop Kumar Narayanan To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: FreeBSD 8.0 Booting Problem on ZV5320US Laptop 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, 19 Mar 2010 16:55:14 -0000 On Fri, Mar 19, 2010 at 7:49 PM, Richard DeLaurell wrote: >>On Fri, Mar 19, 2010 at 8:20 AM, Anoop Kumar Narayanan wrote: >>I have recently installed FreeBSD8.0 on my 5 year old HP laptop with >>absolute 0 battery backup (behaviour same when batter removed). >>Installation works fine but when I try to boot into FreeBSD I get to >>the BTX loader screen, after having made any selection and it pauses >>for about 15 secs and the computer suddenly powers down. I was able to >>boot into the system occasionally lets say about 1 in 5 boots. I am >>able to install and boot into Linux without any problem. > > > So then you are attempting to startup using a power adaptor (i.e. your > computer is plugged in to a wall socket)? Yes. I don't know if its a specific Athlon XP related problem as I did observe a similar post some years ago. And, Apparently its the same thing. http://osdir.com/ml/os.freebsd.devel.hardware/2004-10/msg00044.html In this case its the installation. In my case its after the installation. > > I had the reverse problem a while ago with Slackware shutting down in the > middle of installation onto a Toshiba laptop while FreeBSD has always been > no problem. > > My guess is that these issues reflect power management settings, perhaps > even something in the bios. Maybe its something in the BIOS, but the thing is that Linux boots fine on the machine. Maybe some driver is crashing and is causing a reboot of the machine. Are there any critical drivers in the system that can result in such a problem. > > Does this occur when you use the installation or boot-only disks? I can install it just fine, but can't seem to to boot into the installed version (Once its been installed). I did create the FreeBSD swap partition before the root file-system (and it still seems to label the root file-system as 'a'), Would this affect the system boot up in anyway ? > > Sorry this is not more help to you. > > Richard > _______________________________________________ > 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 Mar 19 16:57:10 2010 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 0A9B2106564A for ; Fri, 19 Mar 2010 16:57:10 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id 789F08FC0C for ; Fri, 19 Mar 2010 16:57:09 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id o2JGv85x041857; Fri, 19 Mar 2010 17:57:08 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 357DCBA98; Fri, 19 Mar 2010 17:57:08 +0100 (CET) Date: Fri, 19 Mar 2010 17:57:08 +0100 From: Roland Smith To: Steve Franks Message-ID: <20100319165708.GA71392@slackbox.erewhon.net> References: <539c60b91003140931o1f0d2d00u7ff7f5d021718b7c@mail.gmail.com> <20100314170012.GA38210@slackbox.erewhon.net> <539c60b91003190802l54e91581pb393dce81d0be76e@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline In-Reply-To: <539c60b91003190802l54e91581pb393dce81d0be76e@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing List Subject: Re: tunefs -L 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, 19 Mar 2010 16:57:10 -0000 --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 19, 2010 at 08:02:10AM -0700, Steve Franks wrote: > Wait a second. What do I have to do, mount single user to find the > darn things? They have completely disappeared, not even a > 'GEOM_LABEL: Label ufsid/482b3a7c20b36d8c removed' in dmesg! (thought > I was previously seeing that on shutdown, not startup, now neither) The following command looks also in the old messages files; bzgrep 'Label for.*ufsid' /var/log/messages.* | less > Even in single user mode, root is already mounted, so I'm never going > to find the label for it. I'm afraid man geom is just leaving me > guessing (see below). geom label doesn't seem to think I have any > disks... >=20 > Handbook: >=20 > % glabel status > Name Status Components > ufsid/486b6fc38d330916 N/A ad4s1d > ufsid/486b6fc16926168e N/A ad4s1f >=20 > Local: >=20 > [steve@fyre /usr/home/steve]$ glabel status > Name Status Components > iso9660/WALL_E N/A acd0 > [steve@fyre /usr/home/steve]$ >=20 I don't see anything here either on my system. Doesn't tunefs -L work? (sorry, can't recall the beginning of this thread). =20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkujrOQACgkQEnfvsMMhpyX41QCfd56ECcr5on003cNKskJPajel avoAoKiM+SVVOuaczFECAJwVUBzbug0R =YhyQ -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 16:57:56 2010 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 6985F1065676 for ; Fri, 19 Mar 2010 16:57:56 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 5083E8FC24 for ; Fri, 19 Mar 2010 16:57:55 +0000 (UTC) Received: from eggman.experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id 2442F4A2E703; Fri, 19 Mar 2010 08:51:34 -0800 (PST) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Fri, 19 Mar 2010 09:56:12 -0700 Date: Fri, 19 Mar 2010 09:56:12 -0700 From: Jason To: Alejandro Imass Message-ID: <20100319165607.GH45355@eggman.experts-exchange.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 7.2-RELEASE-p7 X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Elegant way to hack port source 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, 19 Mar 2010 16:57:56 -0000 You can do it this way in the ports system: http://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html I handle all my patching for ports this way. -jgh On Fri, Mar 19, 2010 at 12:35:30PM -0400, Alejandro Imass thus spake: >Hi, > >I need to modify a file from a port before building. Specifically, the >sane-backends pnm.c driver has a bug and the folks at the original >project has not fixed for a while. I need to modify pnm.c in the work >directory before compiling. What is an elegant way of doing this? If I >make and then modify, the main make file does not see the change made >in the file and will not recompile. And since there is no actual >makefile in the work subdirectory I can't compile there either! > >There must be a FreeBSD way of dealing with modifying a port source >before compiling. Please advise. > >Thanks in advance, >Alejandro Imass >_______________________________________________ >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 Mar 19 16:58:09 2010 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 333671065673 for ; Fri, 19 Mar 2010 16:58:09 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-qy0-f190.google.com (mail-qy0-f190.google.com [209.85.221.190]) by mx1.freebsd.org (Postfix) with ESMTP id E91708FC19 for ; Fri, 19 Mar 2010 16:58:08 +0000 (UTC) Received: by qyk28 with SMTP id 28so2090415qyk.14 for ; Fri, 19 Mar 2010 09:58:08 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.88.193 with SMTP id b1mr4575302qcm.27.1269017887976; Fri, 19 Mar 2010 09:58:07 -0700 (PDT) In-Reply-To: <286906751003190944q4ad81a6eu5422af0409e30046@mail.gmail.com> References: <286906751003190944q4ad81a6eu5422af0409e30046@mail.gmail.com> Date: Fri, 19 Mar 2010 12:58:07 -0400 X-Google-Sender-Auth: a10097a1414f9a08 Message-ID: From: Alejandro Imass To: Alberto Mijares Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Elegant way to hack port source 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, 19 Mar 2010 16:58:09 -0000 On Fri, Mar 19, 2010 at 12:44 PM, Alberto Mijares wrote: > On Fri, Mar 19, 2010 at 12:05 PM, Alejandro Imass wrote: >> Hi, >> >> I need to modify a file from a port before building. Specifically, the >> sane-backends pnm.c driver has a bug and the folks at the original >> project has not fixed for a while. I need to modify pnm.c in the work >> directory before compiling. What is an elegant way of doing this? If I >> make and then modify, the main make file does not see the change made >> in the file and will not recompile. And since there is no actual >> makefile in the work subdirectory I can't compile there either! > > > > You could make a copy of graphics/sane-backends to > graphics/sane-backends-devel, fix the source in the new port's > directory and install it as a regular port. > > Check this out too > > http://www.freebsd.org/doc/en/books/porters-handbook/ > > Best regards > Thanks Alberto. I have checked the porter's handbook before writing this, in fact I discovered the CONFIGURE_ARGS variable which proved very useful for passing the --enable-pnm-backend switch to the configure script. (http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/building.html#USING-CONFIGURE). Nevertheless, the problem is that pnm.c has a bug since last year and it has not been fixed, and only developers use that driver, so I guess we've all gotten used to fiddling with the source, instead of forcing the maintainer to fix it. BTW today I got tired of this BS so I formnally filed the bug: https://alioth.debian.org/tracker/index.php?func=detail&aid=312401&group_id=30186&atid=410366 Anyway, back to the port, this is the problem I have: whe I type make CONFIGURE_ARGS=--enable-pnm-backend it effectively makes all the backends in the correct way, including the infamous pnm backend. I later go to the work directory, go into the sane-backendsxxxx sub-directory and modify backends/pnm.c. I latter go back to the root of the port (/usr/ports/graphics/sane-backends/) and type make again and nothing happens. In a normal make scenario, make would detct the .c had changed and re-compile and link just that file(s). In the ports make scenario, make doesn't do that. Is there a special switch to the port's make process, to actually go and re-make the source? Thanks, Alejandro Imass > > Alberto Mijares > From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 17:01:02 2010 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 D43F3106566B for ; Fri, 19 Mar 2010 17:01:02 +0000 (UTC) (envelope-from aimass@yabarana.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 9BF6E8FC22 for ; Fri, 19 Mar 2010 17:01:02 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so465765qwi.7 for ; Fri, 19 Mar 2010 10:01:01 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.35.80 with SMTP id o16mr4763557qcd.93.1269018061231; Fri, 19 Mar 2010 10:01:01 -0700 (PDT) In-Reply-To: <20100319165607.GH45355@eggman.experts-exchange.com> References: <20100319165607.GH45355@eggman.experts-exchange.com> Date: Fri, 19 Mar 2010 13:01:01 -0400 X-Google-Sender-Auth: 64a1685734c08515 Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Elegant way to hack port source 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, 19 Mar 2010 17:01:02 -0000 On Fri, Mar 19, 2010 at 12:56 PM, Jason wrote: > You can do it this way in the ports system: > > http://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html > > I handle all my patching for ports this way. Ok. I guess I'll stop my laziness and RT-W-FM! Thanks! Alejandro Imass > > -jgh > > On Fri, Mar 19, 2010 at 12:35:30PM -0400, Alejandro Imass thus spake: >> >> Hi, >> >> I need to modify a file from a port before building. Specifically, the >> sane-backends pnm.c driver has a bug and the folks at the original >> project has not fixed for a while. I need to modify pnm.c in the work >> directory before compiling. What is an elegant way of doing this? If I >> make and then modify, the main make file does not see the change made >> in the file and will not recompile. And since there is no actual >> makefile in the work subdirectory I can't compile there either! >> >> There must be a FreeBSD way of dealing with modifying a port source >> before compiling. Please advise. >> >> Thanks in advance, >> Alejandro Imass >> _______________________________________________ >> 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 Mar 19 17:02:08 2010 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 25B5A106566C for ; Fri, 19 Mar 2010 17:02:08 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id AFBEB8FC1F for ; Fri, 19 Mar 2010 17:02:07 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id o2JH20nU076873; Fri, 19 Mar 2010 18:02:00 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id B71D8BA98; Fri, 19 Mar 2010 18:01:59 +0100 (CET) Date: Fri, 19 Mar 2010 18:01:59 +0100 From: Roland Smith To: Alejandro Imass Message-ID: <20100319170159.GB71392@slackbox.erewhon.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3lcZGd9BuhuYXNfi" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Elegant way to hack port source 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, 19 Mar 2010 17:02:08 -0000 --3lcZGd9BuhuYXNfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 19, 2010 at 12:35:30PM -0400, Alejandro Imass wrote: > Hi, >=20 > I need to modify a file from a port before building. Specifically, the > sane-backends pnm.c driver has a bug and the folks at the original > project has not fixed for a while. I need to modify pnm.c in the work > directory before compiling. What is an elegant way of doing this? If I > make and then modify, the main make file does not see the change made > in the file and will not recompile. And since there is no actual > makefile in the work subdirectory I can't compile there either! >=20 > There must be a FreeBSD way of dealing with modifying a port source > before compiling. Please advise. =20 Add the patch to the files/ directory of the port. The patch should be relative to the main source directory of the port, e.g. work/foo-x.y for the foo port. Use a name for the patch that doesn't exist yet. After creating the patch, use chflags to set the uschg and uunlnk flags for your patch. This way, if the port is updated, your patch cannot be removed. But you might need to update it. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --3lcZGd9BuhuYXNfi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkujrgcACgkQEnfvsMMhpyVKWwCghvJaZyiJV6qxGxxAyMmH2GYq ED8An10CKhZkl9lBA7i2wHeiGSZQGHMI =LQTX -----END PGP SIGNATURE----- --3lcZGd9BuhuYXNfi-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 17:36:35 2010 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 0C7F2106566C for ; Fri, 19 Mar 2010 17:36:35 +0000 (UTC) (envelope-from prvs=687c63757=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id D12E68FC1A for ; Fri, 19 Mar 2010 17:36:34 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAN9So0uBbgog/2dsb2JhbACcL7pDhHoEgx2GZQ X-IronPort-AV: E=Sophos;i="4.51,275,1267423200"; d="scan'208";a="27287849" Received: from zxtm01.utdallas.edu (HELO utd65257.utdallas.edu) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Mar 2010 12:36:34 -0500 Date: Fri, 19 Mar 2010 12:36:33 -0500 From: Paul Schmehl To: Aiza , Adam Vande More Message-ID: In-Reply-To: <4BA2F3AB.6030108@comclark.com> References: <4BA2C900.5010400@comclark.com> <6201873e1003181811s2e9a9f6fsf0a8181cce339cdc@mail.gmail.com> <4BA2F3AB.6030108@comclark.com> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: lists@lizardhill.com, FreeBSD Questions Subject: Re: VirtualBox from the command line X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 17:36:35 -0000 --On Friday, March 19, 2010 11:46:51 +0800 Aiza wrote: > > Why don't virtual box GUI start in vga mode? > VirtualBox is in ports and installs as an application like Firefox. Here's a screenshot of it running on my workstation: http://www.utdallas.edu/~pauls/VirtualBox_on_FreeBSD.png And here's a shot of the menu item in KDE4: http://www.utdallas.edu/~pauls/VirtualBox_menu_KDE4.png It's the second item from the top, because it's a recently used program. It also appears in the System menu on KDE4. However you create icons to launch programs in your window manager, that's how you would create one to start VirtualBox. It has to start as an X11 program, not a commandline (terminal) program. > Is this telling me that I have to have Xorg and some > desktop running before VirtualBox's gui will function? > Yes. VirtualBox is a GUI program designed to run alternative OSes inside the native OS. (There may be a commandline version that I'm not familiar with.) > Are the scripts provided by vboxtool the only way to have > command line control of VirtualBox? > http://vboxtool.sourceforge.net/ > > See talk about vboxweb as alternate VirtualBox manager. > http://vboxweb.blogspot.com/ > Does not look like this is out of development yet. > Anybody using this? > Well, clearly I'm using the GUI version. I also use it on Mac Snow Leopard. It beats the hell out of VMware or having to run Windows natively. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 17:43:18 2010 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 EF47D1065672 for ; Fri, 19 Mar 2010 17:43:18 +0000 (UTC) (envelope-from aimass@yabarana.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 7D0A28FC08 for ; Fri, 19 Mar 2010 17:43:18 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so477066qwi.7 for ; Fri, 19 Mar 2010 10:43:17 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.131.39 with SMTP id v39mr503154qcs.66.1269020597502; Fri, 19 Mar 2010 10:43:17 -0700 (PDT) In-Reply-To: <20100319170159.GB71392@slackbox.erewhon.net> References: <20100319170159.GB71392@slackbox.erewhon.net> Date: Fri, 19 Mar 2010 13:43:17 -0400 X-Google-Sender-Auth: fe47663a0d80cf0e Message-ID: From: Alejandro Imass To: Roland Smith Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Elegant way to hack port source 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, 19 Mar 2010 17:43:19 -0000 On Fri, Mar 19, 2010 at 1:01 PM, Roland Smith wrote: > On Fri, Mar 19, 2010 at 12:35:30PM -0400, Alejandro Imass wrote: >> Hi, >> >> I need to modify a file from a port before building. Specifically, the [...] > > Add the patch to the files/ directory of the port. The patch should be > relative to the main source directory of the port, e.g. work/foo-x.y for = the > foo port. Use a name for the patch that doesn't exist yet. > > After creating the patch, use chflags to set the uschg and uunlnk flags f= or > your patch. This way, if the port is updated, your patch cannot be > removed. But you might need to update it. > Thanks! Worked like a charm!!! Nevertheless, now there is another bug :-( Cheers! Alejandro Imass > Roland > -- > R.F.Smith =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 =A0B7CE 1277 EFB0 C321 A725 (KeyID: C321A72= 5) > From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 17:53:43 2010 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 88012106564A for ; Fri, 19 Mar 2010 17:53:43 +0000 (UTC) (envelope-from prvs=687c63757=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id 5B2638FC0A for ; Fri, 19 Mar 2010 17:53:43 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAN5Po0uBbgog/2dsb2JhbACcLbpRhHoEgx0 X-IronPort-AV: E=Sophos;i="4.51,275,1267423200"; d="scan'208";a="29236870" Received: from zxtm01.utdallas.edu (HELO utd65257.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Mar 2010 12:24:34 -0500 Date: Fri, 19 Mar 2010 12:24:34 -0500 From: Paul Schmehl To: Aiza , FreeBSD Questions Message-ID: <4A7DF2944A3014E4C68AACAF@utd65257.utdallas.edu> In-Reply-To: <4BA2C900.5010400@comclark.com> References: <4BA2C900.5010400@comclark.com> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: VirtualBox from the command line X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 17:53:43 -0000 --On Friday, March 19, 2010 08:44:48 +0800 Aiza wrote: > Does VirtualBox launch from the FBSD command line? > Is there a package for it in the pkg system? It's in ports. I don't know if there's a package for it, but I suspect there is, and it's probably older than the ports version. It's an application. Just like Firefox. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 19:21:28 2010 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 6C986106564A for ; Fri, 19 Mar 2010 19:21:28 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3F73B8FC14 for ; Fri, 19 Mar 2010 19:21:27 +0000 (UTC) Received: by pwj4 with SMTP id 4so2743907pwj.13 for ; Fri, 19 Mar 2010 12:21: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 :content-transfer-encoding; bh=KgH/MYDbxg1YAg6g85Ec7+zWLaZuVmzBz0fe35aho/Y=; b=AWLX9D1qWcZn45r4Sl5FY1XpLXqWWAXe948G1Ny3CmrmU7++oiBFvlzkLEZQQNtwyP O3ErywdhCXtqIxlQEOMqol8bMCfH+0BUSm16qV7+fxzSFx6ahRUz4oeyANKcVpu6ATdg mFtxGF+IcdXNw4t8Gp6RjskMuA3yd4bB5ubSA= 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=x687GEjbjAFgaIAkBZlpmDAC1uBqhUlcvDuHymQQlaBO3vJFyAsn2IdFOflcAlON5R JpEE2BCb8IUVot6L0mdeleus6Suii2Dt00eGVx8jrbrsqmUy5eDVcpcVgJQBrwDpQCrG v7q6ND92j2wexUuAaEJ2a1zENjhxi69u/0xuo= MIME-Version: 1.0 Received: by 10.141.90.14 with SMTP id s14mr3030780rvl.191.1269026487587; Fri, 19 Mar 2010 12:21:27 -0700 (PDT) In-Reply-To: <20100319165708.GA71392@slackbox.erewhon.net> References: <539c60b91003140931o1f0d2d00u7ff7f5d021718b7c@mail.gmail.com> <20100314170012.GA38210@slackbox.erewhon.net> <539c60b91003190802l54e91581pb393dce81d0be76e@mail.gmail.com> <20100319165708.GA71392@slackbox.erewhon.net> Date: Fri, 19 Mar 2010 12:21:27 -0700 Message-ID: <539c60b91003191221g59364484l89c4c140780677a4@mail.gmail.com> From: Steve Franks To: Roland Smith Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: tunefs -L 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, 19 Mar 2010 19:21:28 -0000 On Fri, Mar 19, 2010 at 9:57 AM, Roland Smith wrote: > On Fri, Mar 19, 2010 at 08:02:10AM -0700, Steve Franks wrote: >> Wait a second. =A0What do I have to do, mount single user to find the >> darn things? =A0They have completely disappeared, not even a >> 'GEOM_LABEL: Label ufsid/482b3a7c20b36d8c removed' in dmesg! (thought >> I was previously seeing that on shutdown, not startup, now neither) > > The following command looks also in the old messages files; > > =A0 =A0bzgrep 'Label for.*ufsid' /var/log/messages.* | less > >> Even in single user mode, root is already mounted, so I'm never going >> to find the label for it. =A0I'm afraid man geom is just leaving me >> guessing (see below). =A0geom label doesn't seem to think I have any >> disks... >> >> Handbook: >> >> % glabel status >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Name =A0Status =A0Components >> ufsid/486b6fc38d330916 =A0 =A0 N/A =A0ad4s1d >> ufsid/486b6fc16926168e =A0 =A0 N/A =A0ad4s1f >> >> Local: >> >> [steve@fyre /usr/home/steve]$ glabel status >> =A0 =A0 =A0 =A0 =A0 Name =A0Status =A0Components >> iso9660/WALL_E =A0 =A0 N/A =A0acd0 >> [steve@fyre /usr/home/steve]$ >> > > I don't see anything here either on my system. > > Doesn't tunefs -L work? (sorry, can't recall the beginning of this thread= ). Apparently, but only in single-user mode. I think my problem is more one of documentation. The handbook is rather obtuse on the subject. The inability to even locate or read the labels on a mounted system is about as un-POLS as I've come across lately.... Thanks for the help, though. I booted single-user, mounted a usb-stick, and piped the output of geom label to a file on the stick. Not fun. Only having run FBSD for 4 years or so now, I wasn't aware of any good sources for this kind of info except dmesg. I'll be looking into /var/log/messages more closely in the future. You don't see it mentioned too often in reference to noob questions. Thanks, Steve From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 19:54:40 2010 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 42ED6106567F for ; Fri, 19 Mar 2010 19:54:40 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr18.xs4all.nl (smtp-vbr18.xs4all.nl [194.109.24.38]) by mx1.freebsd.org (Postfix) with ESMTP id C90618FC20 for ; Fri, 19 Mar 2010 19:54:39 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr18.xs4all.nl (8.13.8/8.13.8) with ESMTP id o2JJsc6o005715; Fri, 19 Mar 2010 20:54:38 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 02257BA98; Fri, 19 Mar 2010 20:54:38 +0100 (CET) Date: Fri, 19 Mar 2010 20:54:37 +0100 From: Roland Smith To: Steve Franks Message-ID: <20100319195437.GA54241@slackbox.erewhon.net> References: <539c60b91003140931o1f0d2d00u7ff7f5d021718b7c@mail.gmail.com> <20100314170012.GA38210@slackbox.erewhon.net> <539c60b91003190802l54e91581pb393dce81d0be76e@mail.gmail.com> <20100319165708.GA71392@slackbox.erewhon.net> <539c60b91003191221g59364484l89c4c140780677a4@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <539c60b91003191221g59364484l89c4c140780677a4@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing List Subject: Re: tunefs -L 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, 19 Mar 2010 19:54:40 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 19, 2010 at 12:21:27PM -0700, Steve Franks wrote: > On Fri, Mar 19, 2010 at 9:57 AM, Roland Smith wrote: > > On Fri, Mar 19, 2010 at 08:02:10AM -0700, Steve Franks wrote: > >> Wait a second. =A0What do I have to do, mount single user to find the > >> darn things? =A0They have completely disappeared, not even a > >> 'GEOM_LABEL: Label ufsid/482b3a7c20b36d8c removed' in dmesg! (thought > >> I was previously seeing that on shutdown, not startup, now neither) > > > > The following command looks also in the old messages files; > > > > =A0 =A0bzgrep 'Label for.*ufsid' /var/log/messages.* | less > > > >> Even in single user mode, root is already mounted, so I'm never going > >> to find the label for it. =A0I'm afraid man geom is just leaving me > >> guessing (see below). =A0geom label doesn't seem to think I have any > >> disks... > >> > >> Handbook: > >> > >> % glabel status > >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Name =A0Status =A0Components > >> ufsid/486b6fc38d330916 =A0 =A0 N/A =A0ad4s1d > >> ufsid/486b6fc16926168e =A0 =A0 N/A =A0ad4s1f > >> > >> Local: > >> > >> [steve@fyre /usr/home/steve]$ glabel status > >> =A0 =A0 =A0 =A0 =A0 Name =A0Status =A0Components > >> iso9660/WALL_E =A0 =A0 N/A =A0acd0 > >> [steve@fyre /usr/home/steve]$ > >> > > > > I don't see anything here either on my system. > > >=20 >=20 > > Doesn't tunefs -L work? (sorry, can't recall the beginning of this thre= ad). >=20 > Apparently, but only in single-user mode. =20 According to tunefs(8) you should be able to run it on a filesystem that has been made read-only. You can make a mounted filesystem read-only with 'mount -u -r '= =2E=20 You can afterwards make it read/write again with 'mount -u -w '= =2E=20 > I think my problem is more > one of documentation. The handbook is rather obtuse on the subject. > The inability to even locate or read the labels on a mounted system is > about as un-POLS as I've come across lately.... The ufsid labels are automatically removed from a filesystem when it is mounted. So it is not surprising that no ufsid labels are found on a running system. And IIRC, the automatic ufsid labels are a new feature. The handbook might be slightly behind the times. =20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkuj1n0ACgkQEnfvsMMhpyVO4wCeNgf0G/Cc61VXSQzkbr82paqi RYwAn3xXq1MFWd0dRWZlnV99PR6EuR1g =VPx3 -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 19:59:32 2010 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 3B7C2106566C for ; Fri, 19 Mar 2010 19:59:32 +0000 (UTC) (envelope-from aimass@yabarana.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 F2E488FC14 for ; Fri, 19 Mar 2010 19:59:31 +0000 (UTC) Received: by qyk5 with SMTP id 5so2310259qyk.13 for ; Fri, 19 Mar 2010 12:59:31 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.227.83 with SMTP id iz19mr615378qcb.44.1269028771129; Fri, 19 Mar 2010 12:59:31 -0700 (PDT) Date: Fri, 19 Mar 2010 15:59:31 -0400 X-Google-Sender-Auth: e821bdf204d025ed Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Debugging symbols in ports 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, 19 Mar 2010 19:59:32 -0000 Hi, Is there an elegant way to enable debugging symbols in ports in general, or is this port-specific? I have read _many_ threads regarding this but I can't seem to find a definitive position on this. I would not like to resort to the original sources but work from the ports themselves. Thanks! Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 20:01:35 2010 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 3B7CA106566B for ; Fri, 19 Mar 2010 20:01:35 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id DCB468FC2E for ; Fri, 19 Mar 2010 20:01:34 +0000 (UTC) Received: from omta01.westchester.pa.mail.comcast.net ([76.96.62.11]) by qmta05.westchester.pa.mail.comcast.net with comcast id uzyY1d0070EZKEL5581blK; Fri, 19 Mar 2010 20:01:35 +0000 Received: from comcast.net ([98.203.142.76]) by omta01.westchester.pa.mail.comcast.net with comcast id v81Y1d0051f6R9u3M81ZSE; Fri, 19 Mar 2010 20:01:35 +0000 Received: by comcast.net (sSMTP sendmail emulation); Fri, 19 Mar 2010 13:01:30 -0700 Date: Fri, 19 Mar 2010 13:01:30 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20100319200130.GE265@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20100319170159.GB71392@slackbox.erewhon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20100319170159.GB71392@slackbox.erewhon.net> X-Mailer: Mutt 1.5.20 X-Composer: VIM 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Elegant way to hack port source 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, 19 Mar 2010 20:01:35 -0000 On Fri 19 Mar 2010 at 10:01:59 PDT Roland Smith wrote: >On Fri, Mar 19, 2010 at 12:35:30PM -0400, Alejandro Imass wrote: >> Hi, >> >> I need to modify a file from a port before building. Specifically, the >> sane-backends pnm.c driver has a bug and the folks at the original >> project has not fixed for a while. I need to modify pnm.c in the work >> directory before compiling. What is an elegant way of doing this? If I >> make and then modify, the main make file does not see the change made >> in the file and will not recompile. And since there is no actual >> makefile in the work subdirectory I can't compile there either! >> >> There must be a FreeBSD way of dealing with modifying a port source >> before compiling. Please advise. > >Add the patch to the files/ directory of the port. The patch should be >relative to the main source directory of the port, e.g. work/foo-x.y for the >foo port. Use a name for the patch that doesn't exist yet. > >After creating the patch, use chflags to set the uschg and uunlnk flags for >your patch. This way, if the port is updated, your patch cannot be >removed. But you might need to update it. If the port already patches the file(s) in question, run 'make patch' with the port makefile first, so you don't lose that work. Then cd to the working directory and make your additional changes. If you need to change a file that wasn't already patched by the port, first save a copy of it using 'cp foo{,.orig}'. Then edit the copy without the .orig suffix. When you're done with those, use 'diff -u foo{.orig,}' to generate an updated patchfile. The convention is to name the patchfile 'patch-foo' (substituting the actual name of the source file for 'foo'). But if the existing patch uses some other pattern, use that instead. So, if you're updating or creating a patch to foo.c which is in the toplevel working directory for port bar, and you're in work/bar-x.y, you would use something like the following: diff -u foo.c{.orig,} > ../../files/patch-foo.c Now run 'make clean' with the port makefile. From here on, 'make build' or 'make install' will apply your new patches along with any pre-existing ones. Whenever I modify a port like this, I usually make a copy of it under root's home directory and install it from there. That way, I can keep my copy of the portstree in complete synch with the official one, and there's no need to worry about updates quashing my changes. It also provides a quick-and-dirty way to see which ports I've modified. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 20:04:50 2010 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 AB391106564A for ; Fri, 19 Mar 2010 20:04:50 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 87C678FC1B for ; Fri, 19 Mar 2010 20:04:50 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NsiQn-00034J-K3; Fri, 19 Mar 2010 16:04:34 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id BA8253D1E8A8; Fri, 19 Mar 2010 16:04:29 -0400 (EDT) Message-ID: <4BA3D8CF.3070803@FreeBSD.org> Date: Fri, 19 Mar 2010 16:04:31 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Alejandro Imass References: In-Reply-To: X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) Cc: freebsd-questions@freebsd.org Subject: Re: Debugging symbols in ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 20:04:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alejandro Imass wrote: > Hi, > > Is there an elegant way to enable debugging symbols in ports in > general, or is this port-specific? I have read _many_ threads > regarding this but I can't seem to find a definitive position on this. > I would not like to resort to the original sources but work from the > ports themselves. > > Thanks! > Alejandro Imass Hi Alejandro, Try this: make WITH_DEBUG=yes install clean WITH_DEBUG adds -g to the CFLAGS and prevents the binary from being stripped during installation. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLo9jP0sRouByUApARAuTUAJ0X0hp7txxe6J3OAX37kEyow4WeRQCgvFQA Lz28yinkSFM79WxThqx4d04= =HAVD -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 20:06:43 2010 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 02A03106566B for ; Fri, 19 Mar 2010 20:06:43 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from blue.stonehenge.com (cl-52.chi-02.us.sixxs.net [IPv6:2001:4978:f:33::2]) by mx1.freebsd.org (Postfix) with ESMTP id C7D3D8FC31 for ; Fri, 19 Mar 2010 20:06:42 +0000 (UTC) Received: by blue.stonehenge.com (Postfix, from userid 1001) id 1E2821DE17B; Fri, 19 Mar 2010 13:06:42 -0700 (PDT) To: freebsd-questions@freebsd.org References: <20100319170159.GB71392@slackbox.erewhon.net> <20100319200130.GE265@comcast.net> From: merlyn@stonehenge.com (Randal L. Schwartz) x-mayan-date: Long count = 12.19.17.3.12; tzolkin = 10 Eb; haab = 10 Cumku Date: Fri, 19 Mar 2010 13:06:41 -0700 In-Reply-To: <20100319200130.GE265@comcast.net> (Charlie Kester's message of "Fri, 19 Mar 2010 13:01:30 -0700") Message-ID: <86k4t8cbzi.fsf@blue.stonehenge.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Elegant way to hack port source 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, 19 Mar 2010 20:06:43 -0000 >>>>> "Charlie" == Charlie Kester writes: Charlie> Whenever I modify a port like this, I usually make a copy of it under Charlie> root's home directory and install it from there. That way, I can keep Charlie> my copy of the portstree in complete synch with the official one, and Charlie> there's no need to worry about updates quashing my changes. It also Charlie> provides a quick-and-dirty way to see which ports I've modified. Isn't that also what /usr/ports/local is for? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 20:18:14 2010 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 97DA91065678 for ; Fri, 19 Mar 2010 20:18:14 +0000 (UTC) (envelope-from prvs=687c63757=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id 684A28FC17 for ; Fri, 19 Mar 2010 20:18:13 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAJx4o0uBbgog/2dsb2JhbACcMLoghHoEgx0 X-IronPort-AV: E=Sophos;i="4.51,276,1267423200"; d="scan'208";a="27297215" Received: from zxtm01.utdallas.edu (HELO utd65257.utdallas.edu) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Mar 2010 15:18:13 -0500 Date: Fri, 19 Mar 2010 15:18:13 -0500 From: Paul Schmehl To: freebsd-questions@freebsd.org Message-ID: <3D386E86A152519AA850205C@utd65257.utdallas.edu> In-Reply-To: <20100319200130.GE265@comcast.net> References: <20100319170159.GB71392@slackbox.erewhon.net> <20100319200130.GE265@comcast.net> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: Elegant way to hack port source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 20:18:14 -0000 --On Friday, March 19, 2010 13:01:30 -0700 Charlie Kester wrote: > > Whenever I modify a port like this, I usually make a copy of it under > root's home directory and install it from there. That way, I can keep > my copy of the portstree in complete synch with the official one, and > there's no need to worry about updates quashing my changes. It also > provides a quick-and-dirty way to see which ports I've modified. > To the O.P.: How about submiting the patch to the community so it can be added by the port maintainer? If it actually fixes a bug in the software you can't be the only one would benefit from the patch. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 20:29:49 2010 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 A54C9106564A for ; Fri, 19 Mar 2010 20:29:49 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id 5E7488FC19 for ; Fri, 19 Mar 2010 20:29:49 +0000 (UTC) Received: from [192.168.2.164] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Fri, 19 Mar 2010 16:45:20 -0400 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::1300 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= Message-ID: <4BA3DEBC.2000608@comcast.net> Date: Fri, 19 Mar 2010 16:29:48 -0400 From: Steve Polyack User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100311 Thunderbird/3.0.1 MIME-Version: 1.0 To: John Baldwin References: <4BA3613F.4070606@comcast.net> <201003190831.00950.jhb@freebsd.org> <4BA37AE9.4060806@comcast.net> <4BA392B1.4050107@comcast.net> In-Reply-To: <4BA392B1.4050107@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, User Questions , bseklecki@noc.cfi.pgh.pa.us Subject: Re: FreeBSD NFS client goes into infinite retry loop 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, 19 Mar 2010 20:29:49 -0000 On 03/19/10 11:05, Steve Polyack wrote: > On 03/19/10 09:23, Steve Polyack wrote: >> On 03/19/10 08:31, John Baldwin wrote: >>> On Friday 19 March 2010 7:34:23 am Steve Polyack wrote: >>>> Hi, we use a FreeBSD 8-STABLE (from shortly after release) system >>>> as an >>>> NFS server to provide user home directories which get mounted across a >>>> few machines (all 6.3-RELEASE). For the past few weeks we have been >>>> running into problems where one particular client will go into an >>>> infinite loop where it is repeatedly trying to write data which causes >>>> the NFS server to return "reply ok 40 write ERROR: Input/output error >>>> PRE: POST:". This retry loop can cause between 20mbps and 500mbps of >>>> constant traffic on our network, depending on the size of the data >>>> associated with the failed write. >>>> >>> Yes, your feeling is correct. This sort of race is inherent to NFS >>> if you do >>> not use some sort of locking protocol to resolve the race. The >>> infinite >>> retries sound like a client-side issue. Have you been able to try a >>> newer OS >>> version on a client to see if it still causes the same behavior? >>> >> I can't try a newer FBSD version on the client where we are seeing >> the problems, but I can recreate the problem fairly easily. Perhaps >> I'll try it with an 8.0 client. If I remember correctly, one of the >> strange things is that it doesn't seem to hit "critical mass" until a >> few hours after the operation first fails. I may be wrong, but I'll >> double check that when I check vs. 8.0-release. >> >> I forgot to add this in the first post, but these are all TCP NFS v3 >> mounts. >> >> Thanks for the response. > > Ok, so I'm still able to trigger what appears to be the same retry > loop with an 8.0-RELEASE nfsv3 client (going on 1.5 hours now): > $ cat nfs.sh > client#!/usr/local/bin/bash > for a in {1..15} ; do > sleep 1; > echo "$a$a$"; > done > client$ ./nfs.sh >~/output > > the on the server while the above is running: > server$ rm ~/output > > What happens is that you will see 3-4 of the same write attempts > happen per minute via tcpdump. Our previous logs show that this is > how it starts, and then ~4 hours later it begins to spiral out of > control, throwing out up to 3,000 of the same failed write requests > per second. To anyone who is interested: I did some poking around with DTrace, which led me to the nfsiod client code. In src/sys/nfsclient/nfs_nfsiod.c: } else { if (bp->b_iocmd == BIO_READ) (void) nfs_doio(bp->b_vp, bp, bp->b_rcred, NULL); else (void) nfs_doio(bp->b_vp, bp, bp->b_wcred, NULL); } These two calls to nfs_doio trash the return codes (which are errors cascading up from various other NFS write-related functions). I'm not entirely familiar with the way nfsiod works, but if nfs_doio() or other subsequent functions are supposed to be removing the current async NFS operation from a queue which nfsiod handles, they are not doing so when they encounter an error. They simply report the error back to the caller, who in this case is not even looking at the value. I've tested this by pushing the return code into a new int, errno, and adding: if (errno) { NFS_DPF(ASYNCIO, ("nfssvc_iod: iod %d nfs_doio returned errno: %d\n", myiod, errno)); } The result is that my problematic repeatable circumstance begins logging "nfssvc_iod: iod 0 nfs_doio returned errno: 5" (corresponding to NFSERR_INVAL?) for each repetition of the failed write. The only things triggering this are my failed writes. I can also see the nfsiod0 process waking up each iteration. Do we need some kind of "retry x times then abort" logic within nfsiod_iod(), or does this belong in the subsequent functions, such as nfs_doio()? I think it's best to avoid these sorts of infinite loops which have the potential to take out the system or overload the network due to dumb decisions made by unprivileged users. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 20:35:16 2010 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 DBDAE1065677 for ; Fri, 19 Mar 2010 20:35:16 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [76.96.59.211]) by mx1.freebsd.org (Postfix) with ESMTP id 880F98FC1E for ; Fri, 19 Mar 2010 20:35:15 +0000 (UTC) Received: from omta03.westchester.pa.mail.comcast.net ([76.96.62.27]) by QMTA11.westchester.pa.mail.comcast.net with comcast id v62r1d0040bG4ec5B8bGMs; Fri, 19 Mar 2010 20:35:16 +0000 Received: from comcast.net ([98.203.142.76]) by omta03.westchester.pa.mail.comcast.net with comcast id v8bE1d0061f6R9u3P8bFJb; Fri, 19 Mar 2010 20:35:16 +0000 Received: by comcast.net (sSMTP sendmail emulation); Fri, 19 Mar 2010 13:35:12 -0700 Date: Fri, 19 Mar 2010 13:35:12 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20100319203512.GG265@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20100319170159.GB71392@slackbox.erewhon.net> <20100319200130.GE265@comcast.net> <86k4t8cbzi.fsf@blue.stonehenge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <86k4t8cbzi.fsf@blue.stonehenge.com> X-Mailer: Mutt 1.5.20 X-Composer: VIM 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Elegant way to hack port source 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, 19 Mar 2010 20:35:16 -0000 On Fri 19 Mar 2010 at 13:06:41 PDT Randal L. Schwartz wrote: >>>>>> "Charlie" == Charlie Kester writes: > >Charlie> Whenever I modify a port like this, I usually make a copy of it under >Charlie> root's home directory and install it from there. That way, I can keep >Charlie> my copy of the portstree in complete synch with the official one, and >Charlie> there's no need to worry about updates quashing my changes. It also >Charlie> provides a quick-and-dirty way to see which ports I've modified. > >Isn't that also what /usr/ports/local is for? I think so. Hopefully somebody more knowledgeable than me will confirm or deny. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 21:04:18 2010 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 B1584106566B for ; Fri, 19 Mar 2010 21:04:18 +0000 (UTC) (envelope-from aimass@yabarana.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 735718FC1A for ; Fri, 19 Mar 2010 21:04:18 +0000 (UTC) Received: by qyk5 with SMTP id 5so2351072qyk.13 for ; Fri, 19 Mar 2010 14:04:17 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.251.69 with SMTP id mr5mr232828qcb.91.1269032657433; Fri, 19 Mar 2010 14:04:17 -0700 (PDT) In-Reply-To: <3D386E86A152519AA850205C@utd65257.utdallas.edu> References: <20100319170159.GB71392@slackbox.erewhon.net> <20100319200130.GE265@comcast.net> <3D386E86A152519AA850205C@utd65257.utdallas.edu> Date: Fri, 19 Mar 2010 17:04:17 -0400 X-Google-Sender-Auth: 98481388cf335e04 Message-ID: From: Alejandro Imass To: Paul Schmehl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Elegant way to hack port source 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, 19 Mar 2010 21:04:18 -0000 On Fri, Mar 19, 2010 at 4:18 PM, Paul Schmehl wr= ote: > --On Friday, March 19, 2010 13:01:30 -0700 Charlie Kester > wrote: >> >> Whenever I modify a port like this, I usually make a copy of it under >> root's home directory and install it from there. =A0That way, I can keep >> my copy of the portstree in complete synch with the official one, and >> there's no need to worry about updates quashing my changes. =A0It also >> provides a quick-and-dirty way to see which ports I've modified. >> > > To the O.P.: > > How about submiting the patch to the community so it can be added by the > port maintainer? =A0If it actually fixes a bug in the software you can't = be > the only one would benefit from the patch. > That was going to be my next question, but I am currently debugging to see why this common fix I've used in Linux is not not working on FBSD. The good news is that is blowing up in the same place, just that my quick and dirty patch is not working here. I submitted a bug this morning to the sane team to see what their official take is on this, and if I get it fixed temporarily for FBSD I will be sure to contact the port maintainer and send the patch. Is there a more formal way to submit patches to ports? or do I just figure out who the port maintainer is and send them patch directly? > -- > Paul Schmehl, Senior Infosec Analyst > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > "It is as useless to argue with those who have > renounced the use of reason as to administer > medication to the dead." Thomas Jefferson > > _______________________________________________ > 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 Mar 19 21:14:51 2010 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 AF99B1065678; Fri, 19 Mar 2010 21:14:51 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id B63CD8FC1F; Fri, 19 Mar 2010 21:14:50 +0000 (UTC) Received: by bwz8 with SMTP id 8so3431141bwz.3 for ; Fri, 19 Mar 2010 14:14:49 -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=VtYu6IlkRcrTpjamNmL7ifAXdEWEVeuZkVCUKd06v1k=; b=ijz+NKqoXWkZutS6lPlKUEtDKCs4ck+1/p5/XZ3juAhvBSBt3mzFE36YdUJu71Jjlh gITWTtykZyZGq9AIrIZzltARRdx2fqjs/tIoJBG0GSpX0RQ+c2NRlh5J6SK1bwJtea2T hczGm5pIBSq3SvjURZ42gULHnxrReyHTx4SxM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ANKV6hYVoEMX+Caef8LR7TNcEHYD23tUdMTQfSQq0MyTHKUuUIbZiV0eOYfavHyAlC 7bf19ZG3xyvjbu1H51oGFxuMMrca7n5pnVtd07HERmZ9BHFzoR5ZMYf1ajCTbrzsTCMr UswHies4ahCgS5DAr5uVKhL5ArGO8daWRV7NU= MIME-Version: 1.0 Received: by 10.204.85.73 with SMTP id n9mr1890804bkl.71.1269033288061; Fri, 19 Mar 2010 14:14:48 -0700 (PDT) Date: Fri, 19 Mar 2010 23:14:47 +0200 Message-ID: From: Dan Naumov To: freebsd-net@freebsd.org, freebsd-questions@freebsd.org, FreeBSD-STABLE Mailing List , freebsd-performance@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Samba read speed performance tuning 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, 19 Mar 2010 21:14:51 -0000 On a FreeBSD 8.0-RELEASE/amd64 system with a Supermicro X7SPA-H board using an Intel gigabit nic with the em driver, running on top of a ZFS mirror, I was seeing a strange issue. Local reads and writes to the pool easily saturate the disks with roughly 75mb/s throughput, which is roughly the best these drives can do. However, working with Samba, writes to a share could easily pull off 75mb/s and saturate the disks, but reads off a share were resulting in rather pathetic 18mb/s throughput. I found a threadon the FreeBSD forums (http://forums.freebsd.org/showthread.php?t=9187) and followed the suggested advice. I rebuilt Samba with AIO support, kldloaded the aio module and made the following changes to my smb.conf From: socket options=TCP_NODELAY To: socket options=SO_RCVBUF=131072 SO_SNDBUF=131072 TCP_NODELAY min receivefile size=16384 use sendfile=true aio read size = 16384 aio write size = 16384 aio write behind = true dns proxy = no[/CODE] This showed a very welcome improvement in read speed, I went from 18mb/s to 48mb/s. The write speed remained unchanged and was still saturating the disks. Now I tried the suggested sysctl tunables: atombsd# sysctl net.inet.tcp.delayed_ack=0 net.inet.tcp.delayed_ack: 1 -> 0 atombsd# sysctl net.inet.tcp.path_mtu_discovery=0 net.inet.tcp.path_mtu_discovery: 1 -> 0 atombsd# sysctl net.inet.tcp.recvbuf_inc=524288 net.inet.tcp.recvbuf_inc: 16384 -> 524288 atombsd# sysctl net.inet.tcp.recvbuf_max=16777216 net.inet.tcp.recvbuf_max: 262144 -> 16777216 atombsd# sysctl net.inet.tcp.sendbuf_inc=524288 net.inet.tcp.sendbuf_inc: 8192 -> 524288 atombsd# sysctl net.inet.tcp.sendbuf_max=16777216 net.inet.tcp.sendbuf_max: 262144 -> 16777216 atombsd# sysctl net.inet.tcp.sendspace=65536 net.inet.tcp.sendspace: 32768 -> 65536 atombsd# sysctl net.inet.udp.maxdgram=57344 net.inet.udp.maxdgram: 9216 -> 57344 atombsd# sysctl net.inet.udp.recvspace=65536 net.inet.udp.recvspace: 42080 -> 65536 atombsd# sysctl net.local.stream.recvspace=65536 net.local.stream.recvspace: 8192 -> 65536 atombsd# sysctl net.local.stream.sendspace=65536 net.local.stream.sendspace: 8192 -> 65536 This improved the read speeds a further tiny bit, now I went from 48mb/s to 54mb/s. This is it however, I can't figure out how to increase Samba read speed any further. Any ideas? From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 21:34:25 2010 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 DF528106564A for ; Fri, 19 Mar 2010 21:34:25 +0000 (UTC) (envelope-from prvs=687c63757=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id AAD8D8FC19 for ; Fri, 19 Mar 2010 21:34:25 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsIEAFqLo0uBbgog/2dsb2JhbACDCZdXgVCqKpBLgSyCZGoEgx0 X-IronPort-AV: E=Sophos;i="4.51,276,1267423200"; d="scan'208";a="27300648" Received: from zxtm01.utdallas.edu (HELO utd65257.utdallas.edu) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Mar 2010 16:34:23 -0500 Date: Fri, 19 Mar 2010 16:34:23 -0500 From: Paul Schmehl To: Alejandro Imass Message-ID: <8B123BA51B43B4AAC86E0F3C@utd65257.utdallas.edu> In-Reply-To: References: <20100319170159.GB71392@slackbox.erewhon.net> <20100319200130.GE265@comcast.net> <3D386E86A152519AA850205C@utd65257.utdallas.edu> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: freebsd-questions@freebsd.org Subject: Re: Elegant way to hack port source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 21:34:26 -0000 --On Friday, March 19, 2010 17:04:17 -0400 Alejandro Imass = wrote: >> >> To the O.P.: >> >> How about submiting the patch to the community so it can be added by the >> port maintainer? =C2=A0If it actually fixes a bug in the software you can't = be >> the only one would benefit from the patch. >> > > That was going to be my next question, but I am currently debugging to > see why this common fix I've used in Linux is not not working on FBSD. Ports can throw you for a loop if you're used to building from source. Others=20 have given you good instructions on how to fix the problem, but here's a brief=20 overview: 1) Go in to the port directory 2) Type make clean to remove any work directories 3) Type make extract - this extracts the tarball into the working directories=20 that FreeBSD expects to find 4) Type make patch to apply any patches that the port maintainer has included 5) Enter the directory where the problem source file is - usually=20 work/portname-version/some subdir 6) Copy it to filename.c.orig 7) Edit filename.c to include your changes 8) Diff the two files and put the resulting patch file in portdir/files (Note:=20 If the file in question is already being patched by the port, you will need to=20 apply your diff to file as well as the edits in the existing patch - doing that = is not an exercise for the faint of heart. If that's the case here, respond=20 and folks will help you sort it out.) 9) Edit the patch file (now in portdir/files) so that the first two lines=20 "point" to the actual location of the file in the working directories. (For=20 example, if the working directory has a subdir named "sc", and your file is in=20 there, the first two lines of the patch would be edited thus: from filename.c to src/filename.c and from filename.c.orig to=20 src/filename.c.orig 10) Return to the portdir and type make clean 11) Type make extract and then make patch - if it works, you should be able to=20 do the install - if it doesn't work, post the errors here and we'll figure it=20 out --=20 Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 22:01:31 2010 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 4AE2C106566B for ; Fri, 19 Mar 2010 22:01:31 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by mx1.freebsd.org (Postfix) with ESMTP id E84268FC15 for ; Fri, 19 Mar 2010 22:01:30 +0000 (UTC) Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74]) by qmta08.westchester.pa.mail.comcast.net with comcast id v78t1d01T1c6gX858A1WD6; Fri, 19 Mar 2010 22:01:30 +0000 Received: from comcast.net ([98.203.142.76]) by omta23.westchester.pa.mail.comcast.net with comcast id vA4X1d00B1f6R9u3jA4Yv4; Fri, 19 Mar 2010 22:04:33 +0000 Received: by comcast.net (sSMTP sendmail emulation); Fri, 19 Mar 2010 15:01:27 -0700 Date: Fri, 19 Mar 2010 15:01:27 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20100319220126.GH265@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20100319170159.GB71392@slackbox.erewhon.net> <20100319200130.GE265@comcast.net> <3D386E86A152519AA850205C@utd65257.utdallas.edu> <8B123BA51B43B4AAC86E0F3C@utd65257.utdallas.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <8B123BA51B43B4AAC86E0F3C@utd65257.utdallas.edu> X-Mailer: Mutt 1.5.20 X-Composer: VIM 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Elegant way to hack port source 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, 19 Mar 2010 22:01:31 -0000 On Fri 19 Mar 2010 at 14:34:23 PDT Paul Schmehl wrote: >--On Friday, March 19, 2010 17:04:17 -0400 Alejandro Imass = wrote: >>> >>>To the O.P.: >>> >>>How about submiting the patch to the community so it can be added by the >>>port maintainer? =A0If it actually fixes a bug in the software you can't= be >>>the only one would benefit from the patch. >>> >> >>That was going to be my next question, but I am currently debugging to >>see why this common fix I've used in Linux is not not working on FBSD. > >Ports can throw you for a loop if you're used to building from=20 >source. Others have given you good instructions on how to fix the=20 >problem, but here's a brief overview: > >1) Go in to the port directory >2) Type make clean to remove any work directories >3) Type make extract - this extracts the tarball into the working=20 >directories that FreeBSD expects to find >4) Type make patch to apply any patches that the port maintainer has inclu= ded 'make patch' will also do the extract from the distfile, so you don't need your step 3 >5) Enter the directory where the problem source file is - usually=20 >work/portname-version/some subdir >6) Copy it to filename.c.orig If the port maintainer has already patched filename.c, 'make patch' will=20 already have created filename.c.orig >7) Edit filename.c to include your changes >8) Diff the two files and put the resulting patch file in=20 >portdir/files (Note: If the file in question is already being patched=20 >by the port, you will need to apply your diff to file as well as the=20 >edits in the existing patch - doing that is not an exercise for the=20 >faint of heart. If that's the case here, respond and folks will help=20 >you sort it out.) Not true. If the maintainer patched filename.c, 'make patch' will create filename.c.orig (which is the original author's file) and filename.c (which is the result of the maintainer's patches.) If you edit filename.c and then diff it from filename.c.orig, the result is a patch the includes your changes AND the maintainer's. >9) Edit the patch file (now in portdir/files) so that the first two=20 >lines "point" to the actual location of the file in the working=20 >directories. (For example, if the working directory has a subdir=20 >named "sc", and your file is in there, the first two lines of the=20 >patch would be edited thus: >from filename.c to src/filename.c and from filename.c.orig to=20 >src/filename.c.orig No need for this if you do the diff from the top level of the working directory. I.e., if filename.c is in work/foo-x.y/bar/ you should cd to work/foo-x.y/ and then run diff -u bar/filename.c.orig bar/filename.c > ../../files/patch-filename.c >10) Return to the portdir and type make clean >11) Type make extract and then make patch - if it works, you should=20 >be able to do the install - if it doesn't work, post the errors here >and we'll figure it out Again, no need for the separate 'make extract' step. =20 In fact, I'd go straight to 'make build' or 'make install' here, and skip the separate 'make patch' too. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 22:06:34 2010 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 949A1106566C for ; Fri, 19 Mar 2010 22:06:34 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 5A6E08FC19 for ; Fri, 19 Mar 2010 22:06:34 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o2JM6Weo092982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 19 Mar 2010 17:06:32 -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.4/8.14.3) with ESMTP id o2JM6Wo7017517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 19 Mar 2010 17:06:32 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o2JM6VR8017514; Fri, 19 Mar 2010 17:06:32 -0500 (CDT) (envelope-from dan) Date: Fri, 19 Mar 2010 17:06:31 -0500 From: Dan Nelson To: "O. Hartmann" Message-ID: <20100319220631.GC12330@dan.emsphone.com> References: <4BA38CD4.3020300@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BA38CD4.3020300@zedat.fu-berlin.de> X-OS: FreeBSD 8.0-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Fri, 19 Mar 2010 17:06:32 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: How to set LD_PATH elegant? 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, 19 Mar 2010 22:06:34 -0000 In the last episode (Mar 19), O. Hartmann said: > I'm a little bit new to setting library paths, so sorry for the noise. > > I install some packages and libraries apart the FreeBSD package/ports > system and need to setup the search path for shared libraries the proper > way. > > At this very moment I 'hardcode' this additional search path by setting > > ldconfig_paths= > > in /etc/rc.conf, > > but since this is a 'system related' location I'm looking for a proper and > clean method setting this search path via environment variable and/or some > /usr/local/etc/rc.conf.add stuff or similar. Create a file in /usr/local/libdata/ldconfig/ containing the directories you want added to the ld search path. Call it something descriptive so you know what it's for. /etc/rc.d/ldconfig will process those files and run ldconfig on them on bootup. If you've installed zsh, mysql, or firefox from ports, you may already have a couple files in there. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 22:07:45 2010 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 C0B58106566C for ; Fri, 19 Mar 2010 22:07:45 +0000 (UTC) (envelope-from prvs=687c63757=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id 8E3718FC14 for ; Fri, 19 Mar 2010 22:07:45 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAGOSo0uBbgog/2dsb2JhbACcMLsahHoEgx0 X-IronPort-AV: E=Sophos;i="4.51,276,1267423200"; d="scan'208";a="27301850" Received: from zxtm01.utdallas.edu (HELO utd65257.utdallas.edu) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Mar 2010 17:07:44 -0500 Date: Fri, 19 Mar 2010 17:07:44 -0500 From: Paul Schmehl To: freebsd-questions@freebsd.org Message-ID: <2C40431FF3AE42C7B0234A97@utd65257.utdallas.edu> In-Reply-To: <20100319220126.GH265@comcast.net> References: <20100319170159.GB71392@slackbox.erewhon.net> <20100319200130.GE265@comcast.net> <3D386E86A152519AA850205C@utd65257.utdallas.edu> <8B123BA51B43B4AAC86E0F3C@utd65257.utdallas.edu> <20100319220126.GH265@comcast.net> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: Elegant way to hack port source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 22:07:45 -0000 --On Friday, March 19, 2010 15:01:27 -0700 Charlie Kester wrote: > > Again, no need for the separate 'make extract' step. > In fact, I'd go straight to 'make build' or 'make install' here, and > skip the separate 'make patch' too. > Thanks, Charles. You taught me something today. :-) -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 22:21:46 2010 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 BBEE7106564A for ; Fri, 19 Mar 2010 22:21:46 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id 9DF2F8FC0A for ; Fri, 19 Mar 2010 22:21:46 +0000 (UTC) Received: from omta21.emeryville.ca.mail.comcast.net ([76.96.30.88]) by qmta09.emeryville.ca.mail.comcast.net with comcast id v6wk1d0041u4NiLA9AMnWJ; Fri, 19 Mar 2010 22:21:47 +0000 Received: from comcast.net ([98.203.142.76]) by omta21.emeryville.ca.mail.comcast.net with comcast id vAMl1d00F1f6R9u8hAMlRn; Fri, 19 Mar 2010 22:21:47 +0000 Received: by comcast.net (sSMTP sendmail emulation); Fri, 19 Mar 2010 15:21:43 -0700 Date: Fri, 19 Mar 2010 15:21:43 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20100319222143.GI265@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20100319170159.GB71392@slackbox.erewhon.net> <20100319200130.GE265@comcast.net> <3D386E86A152519AA850205C@utd65257.utdallas.edu> <8B123BA51B43B4AAC86E0F3C@utd65257.utdallas.edu> <20100319220126.GH265@comcast.net> <2C40431FF3AE42C7B0234A97@utd65257.utdallas.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <2C40431FF3AE42C7B0234A97@utd65257.utdallas.edu> X-Mailer: Mutt 1.5.20 X-Composer: VIM 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Elegant way to hack port source 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, 19 Mar 2010 22:21:46 -0000 On Fri 19 Mar 2010 at 15:07:44 PDT Paul Schmehl wrote: >--On Friday, March 19, 2010 15:01:27 -0700 Charlie Kester > wrote: >> >>Again, no need for the separate 'make extract' step. >>In fact, I'd go straight to 'make build' or 'make install' here, and >>skip the separate 'make patch' too. >> > >Thanks, Charles. You taught me something today. :-) You're welcome. We're here to help. :) The main point I wanted to make was to run "make patch" BEFORE editing the port's sourcecode, so you don't lose the work done by the maintainer And you would lose that if you simply did "make extract" and then started hacking on the result. Or, what amounts to the same thing, if you grabbed the distfile and unzipped it into your home directory or somewhere. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 22:30:23 2010 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 A55B3106566C for ; Fri, 19 Mar 2010 22:30:23 +0000 (UTC) (envelope-from richard.delaurell@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 310388FC17 for ; Fri, 19 Mar 2010 22:30:23 +0000 (UTC) Received: by wwb18 with SMTP id 18so2254644wwb.13 for ; Fri, 19 Mar 2010 15:30:22 -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=O2sS3YAMzJAKaIPd8i9ZG7Yn+P6ldwzGcNE5AyXKoa4=; b=OJFGQhD72yrj4PhVlBwrBbOC2itwN5z4xcWsLbjfhMJHPqkZZdPqSnoNhQZfMucadK zyEGuPdqjplM65mfZqn99JrbM5q9EUo+l/YTjqWg03PgebedzzZp9YJKo7r/uI+XrNt5 PBgBwCeABm9mhT4fNQ4oL/Aa88r8SQmxjLEMs= 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=KvTnfk9nRUbsCQNrYsTxRLtOT8rkQ6KSCn3kjZNQKhfdgjKLc+sB/8AdqBW/Yvc5xq qsBJ7j6Xm/whVurAxmU/+PStYI1uYo4e0CgxV12bUNpI5c7PSI91kaMxdPEvQCwasSzb +1OS335h5Au8bptB+dYciGjuMwRSf/NrnPf7s= MIME-Version: 1.0 Received: by 10.216.88.5 with SMTP id z5mr1733114wee.192.1269037821734; Fri, 19 Mar 2010 15:30:21 -0700 (PDT) In-Reply-To: <7ff5545f1003190955m4a4b3050p369e1044216edab1@mail.gmail.com> References: <7ff5545f1003120000t3db354b0pe405b9f56b38979b@mail.gmail.com> <7ff5545f1003190620n5835d60dh6168c9c2621becd5@mail.gmail.com> <4324dbec1003190719t45036b4fvb44ecff3049e38e2@mail.gmail.com> <7ff5545f1003190955m4a4b3050p369e1044216edab1@mail.gmail.com> Date: Fri, 19 Mar 2010 17:30:21 -0500 Message-ID: <4324dbec1003191530x42fe13cbxd82ab262163f4f74@mail.gmail.com> From: Richard DeLaurell To: Anoop Kumar Narayanan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 8.0 Booting Problem on ZV5320US Laptop 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, 19 Mar 2010 22:30:23 -0000 Are you able to get to the FreeBSD splash screen (where you get a countdown to startup with a menu of 6 selections)? One of the choices there is boot w/o ACPI; you could try that if you get that far. Good luck-- Richard On Fri, Mar 19, 2010 at 11:55 AM, Anoop Kumar Narayanan wrote: > On Fri, Mar 19, 2010 at 7:49 PM, Richard DeLaurell > wrote: > >>On Fri, Mar 19, 2010 at 8:20 AM, Anoop Kumar Narayanan gmail.com>wrote: > >>I have recently installed FreeBSD8.0 on my 5 year old HP laptop with > >>absolute 0 battery backup (behaviour same when batter removed). > >>Installation works fine but when I try to boot into FreeBSD I get to > >>the BTX loader screen, after having made any selection and it pauses > >>for about 15 secs and the computer suddenly powers down. I was able to > >>boot into the system occasionally lets say about 1 in 5 boots. I am > >>able to install and boot into Linux without any problem. > > > > > > So then you are attempting to startup using a power adaptor (i.e. your > > computer is plugged in to a wall socket)? > Yes. I don't know if its a specific Athlon XP related problem as I did > observe a similar post some years ago. And, Apparently its the same > thing. > http://osdir.com/ml/os.freebsd.devel.hardware/2004-10/msg00044.html > In this case its the installation. In my case its after the installation. > > > > I had the reverse problem a while ago with Slackware shutting down in the > > middle of installation onto a Toshiba laptop while FreeBSD has always > been > > no problem. > > > > My guess is that these issues reflect power management settings, perhaps > > even something in the bios. > Maybe its something in the BIOS, but the thing is that Linux boots > fine on the machine. Maybe some driver is crashing and is causing a > reboot of the machine. Are there any critical drivers in the system > that can result in such a problem. > > > > Does this occur when you use the installation or boot-only disks? > I can install it just fine, but can't seem to to boot into the > installed version (Once its been installed). > I did create the FreeBSD swap partition before the root file-system > (and it still seems to label the root file-system as 'a'), Would this > affect the system boot up in anyway ? > > > > Sorry this is not more help to you. > > > > Richard > > _______________________________________________ > > 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" > > > _______________________________________________ > 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 Mar 19 22:49:35 2010 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 CB1F1106566C for ; Fri, 19 Mar 2010 22:49:35 +0000 (UTC) (envelope-from wooh@wooh.hu) Received: from mail.netidea.hu (netwarehouse.netidea.hu [195.228.254.126]) by mx1.freebsd.org (Postfix) with ESMTP id 86B0A8FC0C for ; Fri, 19 Mar 2010 22:49:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netidea.hu (Postfix) with ESMTP id C4D88128CCC for ; Fri, 19 Mar 2010 23:18:57 +0100 (CET) X-Virus-Scanned: amavisd-new at netidea.hu Received: from mail.netidea.hu ([127.0.0.1]) by localhost (mail.netidea.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DCFRAGuZAL0U for ; Fri, 19 Mar 2010 23:18:55 +0100 (CET) Received: from jamms-MacBook.local (catv-80-98-233-66.catv.broadband.hu [80.98.233.66]) by mail.netidea.hu (Postfix) with ESMTP id 9F11912655C for ; Fri, 19 Mar 2010 23:18:55 +0100 (CET) Message-ID: <4BA3F8C1.1010606@wooh.hu> Date: Fri, 19 Mar 2010 23:20:49 +0100 From: Adam PAPAI User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 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 send a patch in a proper way? 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, 19 Mar 2010 22:49:35 -0000 Hi, As of today I'll try to help and create bugfix patches for usr/src and usr/ports. I've already done 2 patches and posted it to the -current list but don't really know what is the best way to post the patches. Who will "check" them? who will make the decision to use them? How should I send the patches? diff -u full path or relative path? Is there any FAQ about this issue? Thanks in advance, -- Adam PAPAI From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 23:03:02 2010 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 6A5E5106566B for ; Fri, 19 Mar 2010 23:03:02 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 40F268FC12 for ; Fri, 19 Mar 2010 23:03:02 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NslDJ-000433-Hr; Fri, 19 Mar 2010 19:02:50 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id DDE9D3D201A5; Fri, 19 Mar 2010 19:02:45 -0400 (EDT) Message-ID: <4BA40295.4090006@FreeBSD.org> Date: Fri, 19 Mar 2010 19:02:45 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100319170159.GB71392@slackbox.erewhon.net> <20100319200130.GE265@comcast.net> <3D386E86A152519AA850205C@utd65257.utdallas.edu> <8B123BA51B43B4AAC86E0F3C@utd65257.utdallas.edu> <20100319220126.GH265@comcast.net> <2C40431FF3AE42C7B0234A97@utd65257.utdallas.edu> <20100319222143.GI265@comcast.net> In-Reply-To: <20100319222143.GI265@comcast.net> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) Cc: Paul Schmehl , "corky1951@comcast.net >> Charlie Kester" Subject: Re: Elegant way to hack port source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 23:03:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Charlie Kester wrote: > On Fri 19 Mar 2010 at 15:07:44 PDT Paul Schmehl wrote: >> --On Friday, March 19, 2010 15:01:27 -0700 Charlie Kester >> wrote: >>> >>> Again, no need for the separate 'make extract' step. >>> In fact, I'd go straight to 'make build' or 'make install' here, and >>> skip the separate 'make patch' too. >>> >> >> Thanks, Charles. You taught me something today. :-) > > You're welcome. We're here to help. :) > > The main point I wanted to make was to run "make patch" BEFORE > editing the port's sourcecode, so you don't lose the work done by > the maintainer > > And you would lose that if you simply did "make extract" and then > started hacking on the result. Or, what amounts to the same thing, if > you grabbed the distfile and unzipped it into your home directory or > somewhere. Here's something else that I've found really useful as a port creator, maintainer and troubleshooter. If I want to make some additional changes to a source file that is patched by a file stored in files/patch-...., I'll do this: make patch # extracts source and patches files cd work/foobar/... # Now make additional edits in patched file, leaving the # .orig file alone cd ../back/to/port/directory make makepatch The makepatch target recurses through the work/foobar directory and creates diffs for all file.ext/file.ext.orig pairs. It writes them to the files/ directory with the patch- prefix on each so the patch target processes them. The only thing to watch out for here, is that makepatch has its own file naming convention that doesn't always mirror the port creator's. For instance, some ports have patch files named "patch-aa", "patch-ab", etc. The makepatch target will recreate them with filenames based on the directory and filename of the file to be patched during the build. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLpAKV0sRouByUApARAjBOAJwLRfrND7Jky6egSVDkSuRiUdiOiACgqglr cGhgsIvFPnXzOMdVTAxWhOM= =T5+p -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 23:05:38 2010 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 0B65D106564A for ; Fri, 19 Mar 2010 23:05:38 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta15.emeryville.ca.mail.comcast.net (qmta15.emeryville.ca.mail.comcast.net [76.96.27.228]) by mx1.freebsd.org (Postfix) with ESMTP id E76568FC13 for ; Fri, 19 Mar 2010 23:05:37 +0000 (UTC) Received: from omta24.emeryville.ca.mail.comcast.net ([76.96.30.92]) by qmta15.emeryville.ca.mail.comcast.net with comcast id vAzj1d0091zF43QAFB5egp; Fri, 19 Mar 2010 23:05:38 +0000 Received: from comcast.net ([98.203.142.76]) by omta24.emeryville.ca.mail.comcast.net with comcast id vB8T1d00P1f6R9u8kB8UhP; Fri, 19 Mar 2010 23:08:29 +0000 Received: by comcast.net (sSMTP sendmail emulation); Fri, 19 Mar 2010 16:05:35 -0700 Date: Fri, 19 Mar 2010 16:05:35 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20100319230535.GJ265@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <4BA3F8C1.1010606@wooh.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4BA3F8C1.1010606@wooh.hu> X-Mailer: Mutt 1.5.20 X-Composer: VIM 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: How to send a patch in a proper way? 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, 19 Mar 2010 23:05:38 -0000 On Fri 19 Mar 2010 at 15:20:49 PDT Adam PAPAI wrote: >Hi, > >As of today I'll try to help and create bugfix patches for usr/src >and usr/ports. > >I've already done 2 patches and posted it to the -current list but >don't really know what is the best way to post the patches. Who will >"check" them? who will make the decision to use them? How should I >send the patches? diff -u full path or relative path? > >Is there any FAQ about this issue? For a general discussion about submitting bug reports (PR's), see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/contrib-how.html#CONTRIB-GENERAL For PR's related to ports, see http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/port-upgrading.html Make sure that your PR uses the category "ports" and it will be reviewed by the ports committers. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 23:09:53 2010 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 76C20106564A for ; Fri, 19 Mar 2010 23:09:53 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id 58DDE8FC1B for ; Fri, 19 Mar 2010 23:09:53 +0000 (UTC) Received: from omta06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by qmta07.emeryville.ca.mail.comcast.net with comcast id vAVv1d00316AWCUA7B9uHs; Fri, 19 Mar 2010 23:09:54 +0000 Received: from comcast.net ([98.203.142.76]) by omta06.emeryville.ca.mail.comcast.net with comcast id vB9s1d0011f6R9u8SB9szd; Fri, 19 Mar 2010 23:09:53 +0000 Received: by comcast.net (sSMTP sendmail emulation); Fri, 19 Mar 2010 16:09:50 -0700 Date: Fri, 19 Mar 2010 16:09:50 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20100319230950.GK265@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20100319170159.GB71392@slackbox.erewhon.net> <20100319200130.GE265@comcast.net> <3D386E86A152519AA850205C@utd65257.utdallas.edu> <8B123BA51B43B4AAC86E0F3C@utd65257.utdallas.edu> <20100319220126.GH265@comcast.net> <2C40431FF3AE42C7B0234A97@utd65257.utdallas.edu> <20100319222143.GI265@comcast.net> <4BA40295.4090006@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4BA40295.4090006@FreeBSD.org> X-Mailer: Mutt 1.5.20 X-Composer: VIM 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Elegant way to hack port source 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, 19 Mar 2010 23:09:53 -0000 On Fri 19 Mar 2010 at 16:02:45 PDT Greg Larkin wrote: > >The makepatch target recurses through the work/foobar directory and >creates diffs for all file.ext/file.ext.orig pairs. It writes them to >the files/ directory with the patch- prefix on each so the patch target >processes them. Now it's my turn to say "Thanks, you taught me something today!" -- Charlie From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 00:45:03 2010 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 5E45E106564A for ; Sat, 20 Mar 2010 00:45:03 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 909718FC0A for ; Sat, 20 Mar 2010 00:45:02 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o2K0is5s078214 for ; Fri, 19 Mar 2010 17:44:54 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 19 Mar 2010 17:44:53 -0700 (PDT) Date: Fri, 19 Mar 2010 17:44:53 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100320004449.GA11812@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=-0.1 required=3.6 tests=ALL_TRUSTED,BAYES_00, DNS_FROM_OPENWHOIS,FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Subject: shell script to cap first letter? 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, 20 Mar 2010 00:45:03 -0000 guys, i'm wondering if there is a script that i could run my plaintext files thru that would capitalize thef first letter of each sentence [[ assuming the character wasn't already a cap!]] more and more, in recent years, i have posted questions or written things that have been sloppily or casually hacked together in all lower case. this filter would have to determine what was and was not a sentence. or a sentence fragment. [ai]spell can catch "i've" and suggest "I've", etc. ideas? -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 00:58:16 2010 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 E5E4D106564A; Sat, 20 Mar 2010 00:58:15 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 2B9AB8FC19; Sat, 20 Mar 2010 00:58:14 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAEW6o0uDaFvH/2dsb2JhbACbPnO7O4R8BA X-IronPort-AV: E=Sophos;i="4.51,277,1267419600"; d="scan'208";a="69311447" Received: from danube.cs.uoguelph.ca ([131.104.91.199]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 19 Mar 2010 20:58:14 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id D69A410842BD; Fri, 19 Mar 2010 20:58:13 -0400 (EDT) X-Virus-Scanned: amavisd-new at danube.cs.uoguelph.ca Received: from danube.cs.uoguelph.ca ([127.0.0.1]) by localhost (danube.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eQWt1OGBglIs; Fri, 19 Mar 2010 20:58:13 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id 635CB108402D; Fri, 19 Mar 2010 20:58:13 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id o2K1B3S21356; Fri, 19 Mar 2010 21:11:03 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Fri, 19 Mar 2010 21:11:03 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: John Baldwin In-Reply-To: <201003190831.00950.jhb@freebsd.org> Message-ID: References: <4BA3613F.4070606@comcast.net> <201003190831.00950.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-fs@freebsd.org, User Questions , bseklecki@noc.cfi.pgh.pa.us Subject: Re: FreeBSD NFS client goes into infinite retry loop 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, 20 Mar 2010 00:58:16 -0000 On Fri, 19 Mar 2010, John Baldwin wrote: > On Friday 19 March 2010 7:34:23 am Steve Polyack wrote: >> Hi, we use a FreeBSD 8-STABLE (from shortly after release) system as an >> NFS server to provide user home directories which get mounted across a >> few machines (all 6.3-RELEASE). For the past few weeks we have been >> running into problems where one particular client will go into an >> infinite loop where it is repeatedly trying to write data which causes >> the NFS server to return "reply ok 40 write ERROR: Input/output error >> PRE: POST:". This retry loop can cause between 20mbps and 500mbps of I'm afraid I don't quite understand what you mean by "causes the NFS server to return "reply ok 40 write ERROR..."". Is this something logged by syslog (I can't find a printf like this in the kernel sources) or is this something that tcpdump is giving you or ??? Why I ask is that it seems to say that the server is returning EIO (or maybe 40 == EMSGSIZE). The server should return ESTALE (NFSERR_STALE) after a file has been deleted. If it is returning EIO, then that will cause the client to keep trying to write the dirty block to the server. (EIO is interpreted by the client as a "transient error".) [good stuff snipped] >> >> I have a feeling that using NFS in such a matter may simply be prone to >> such problems, but what confuses me is why the NFS client system is >> infinitely retrying the write operation and causing itself so much grief. > > Yes, your feeling is correct. This sort of race is inherent to NFS if you do > not use some sort of locking protocol to resolve the race. The infinite > retries sound like a client-side issue. Have you been able to try a newer OS > version on a client to see if it still causes the same behavior? > As John notes, having one client delete a file while another is trying to write it, is not a good thing. However, the server should return ESTALE after the file is deleted and that tells the client that the write can never succeed, so it marks the buffer cache block invalid and returns the error to the app. (The app. may not see it, if it doesn't check for error returns upon close as well as write, but that's another story...) If you could look at a packet trace via wireshark when the problem occurs, it would be nice to see what the server is returning. (If it isn't ESTALE and the file no longer exists on the server, then thats a server problem.) If it is returning ESTALE, then the client is busted. (At a glance, the client code looks like it would handle ESTALE as a fatal error for the buffer cache, but that doesn't mean it isn't broken, just that it doesn't appear wrong. Also, it looks like mmap'd writes won't recognize a fatal write error and will just keep trying to write the dirty page back to the server. Take this with a big grain of salt, since I just took a quick look at the sources. FreeBSD6->8 appear to be pretty much the same as far as this goes, in the client. Please let us know if you can see the server's error reply code. Good luck with it, rick ps: If the server isn't returning ESTALE, you could try switching to the experimental nfs server and see if it exhibits the same behaviour? ("-e" option on both mountd and nfsd, assuming the server is FreeBSD8.) From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 01:20:02 2010 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 D0AC9106566C; Sat, 20 Mar 2010 01:20:02 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 54A2D8FC0C; Sat, 20 Mar 2010 01:20:02 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAGO/o0uDaFvJ/2dsb2JhbACbPnO7OoR8BA X-IronPort-AV: E=Sophos;i="4.51,277,1267419600"; d="scan'208";a="69651639" Received: from ganges.cs.uoguelph.ca ([131.104.91.201]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 19 Mar 2010 21:20:01 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by ganges.cs.uoguelph.ca (Postfix) with ESMTP id C5821FB809B; Fri, 19 Mar 2010 21:20:00 -0400 (EDT) X-Virus-Scanned: amavisd-new at ganges.cs.uoguelph.ca Received: from ganges.cs.uoguelph.ca ([127.0.0.1]) by localhost (ganges.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CrkY7SyDEoUh; Fri, 19 Mar 2010 21:20:00 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by ganges.cs.uoguelph.ca (Postfix) with ESMTP id 5766FFB8066; Fri, 19 Mar 2010 21:20:00 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id o2K1WoZ23611; Fri, 19 Mar 2010 21:32:50 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Fri, 19 Mar 2010 21:32:50 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Steve Polyack In-Reply-To: <4BA3DEBC.2000608@comcast.net> Message-ID: References: <4BA3613F.4070606@comcast.net> <201003190831.00950.jhb@freebsd.org> <4BA37AE9.4060806@comcast.net> <4BA392B1.4050107@comcast.net> <4BA3DEBC.2000608@comcast.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-fs@freebsd.org, bseklecki@noc.cfi.pgh.pa.us, User Questions , John Baldwin Subject: Re: FreeBSD NFS client goes into infinite retry loop 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, 20 Mar 2010 01:20:03 -0000 On Fri, 19 Mar 2010, Steve Polyack wrote: > > To anyone who is interested: I did some poking around with DTrace, which led > me to the nfsiod client code. > In src/sys/nfsclient/nfs_nfsiod.c: > } else { > if (bp->b_iocmd == BIO_READ) > (void) nfs_doio(bp->b_vp, bp, bp->b_rcred, NULL); > else > (void) nfs_doio(bp->b_vp, bp, bp->b_wcred, NULL); > } > If you look t nfs_doio(), it decides whether or not to mark the buffer invalid, based on the return value it gets. Some (EINTR, ETIMEDOUT, EIO) are not considered fatal, but the others are. (When the async I/O daemons call nfs_doio(), they are threads that couldn't care less if the underlying I/O op succeeded. The outcome of the I/O operation determines what nfs_doio() does with the buffer cache block.) > > The result is that my problematic repeatable circumstance begins logging > "nfssvc_iod: iod 0 nfs_doio returned errno: 5" (corresponding to > NFSERR_INVAL?) for each repetition of the failed write. The only things > triggering this are my failed writes. I can also see the nfsiod0 process > waking up each iteration. > Nope, errno 5 is EIO and that's where the problem is. I don't know why the server is returning EIO after the file has been deleted on the server (I assume you did that when running your little shell script?). > Do we need some kind of "retry x times then abort" logic within nfsiod_iod(), > or does this belong in the subsequent functions, such as nfs_doio()? I think > it's best to avoid these sorts of infinite loops which have the potential to > take out the system or overload the network due to dumb decisions made by > unprivileged users. > Nope, people don't like data not getting written back to a server when it is slow or temporarily network partitioned. The only thing that should stop a client from retrying a write back to the server is a fatal error from the server that says "this won't ever succeed". I think we need to figure out if the EIO (NFS3ERR_IO in wireshark) or if the server is sending NFS3ERR_STALE and the client is somehow munging that into EIO, causing the confusion. rick From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 01:28:05 2010 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 56EF91065673; Sat, 20 Mar 2010 01:28:05 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 5E8888FC12; Sat, 20 Mar 2010 01:28:04 +0000 (UTC) Received: by bwz8 with SMTP id 8so3538697bwz.3 for ; Fri, 19 Mar 2010 18:28:03 -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=6r7Ruld4lQK7PdbGvYJaSwXnS0Y+83oNhcyHTfti57k=; b=YctfHydih6/5jek5ROfggr8KpAqkbnwsOJLDKJn9evraOGfuZC1uZ7OTfVHOVSZzX1 K5kWBkyCixamY9XP8Eu9zo4TRP7nU1lmlKkX9/Xyl7X0yRdrNoZaF8ux+apCwfRfNrBF ChMQzpFCxlQYAzbRg3K9jxLtKqragYzlACS3E= 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=jHSECJ3aaST4Vir0rdb51HRM/gAUjT7Jk6bM1VrJ9Q7OYvjOd6oIcMC+HsoPoHCeMM RjYgOWldoe2dx2byDdq6FkbnM685tJ+EuS0zwmCQR7H5vI86/8FgDP3ByRGVgpVsXatN n2v+RQiUqkCoB/johF01auN8Xy9t/GWhhB5P8= MIME-Version: 1.0 Received: by 10.204.1.136 with SMTP id 8mr1457434bkf.92.1269048482999; Fri, 19 Mar 2010 18:28:02 -0700 (PDT) In-Reply-To: References: Date: Sat, 20 Mar 2010 03:28:02 +0200 Message-ID: From: Dan Naumov To: freebsd-net@freebsd.org, freebsd-questions@freebsd.org, FreeBSD-STABLE Mailing List , freebsd-performance@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: Samba read speed performance tuning 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, 20 Mar 2010 01:28:05 -0000 On Fri, Mar 19, 2010 at 11:14 PM, Dan Naumov wrote: > On a FreeBSD 8.0-RELEASE/amd64 system with a Supermicro X7SPA-H board > using an Intel gigabit nic with the em driver, running on top of a ZFS > mirror, I was seeing a strange issue. Local reads and writes to the > pool easily saturate the disks with roughly 75mb/s throughput, which > is roughly the best these drives can do. However, working with Samba, > writes to a share could easily pull off 75mb/s and saturate the disks, > but reads off a share were resulting in rather pathetic 18mb/s > throughput. > > I found a threadon the FreeBSD forums > (http://forums.freebsd.org/showthread.php?t=9187) and followed the > suggested advice. I rebuilt Samba with AIO support, kldloaded the aio > module and made the following changes to my smb.conf > > From: > socket options=TCP_NODELAY > > To: > socket options=SO_RCVBUF=131072 SO_SNDBUF=131072 TCP_NODELAY > min receivefile size=16384 > use sendfile=true > aio read size = 16384 > aio write size = 16384 > aio write behind = true > dns proxy = no[/CODE] > > This showed a very welcome improvement in read speed, I went from > 18mb/s to 48mb/s. The write speed remained unchanged and was still > saturating the disks. Now I tried the suggested sysctl tunables: > > atombsd# sysctl net.inet.tcp.delayed_ack=0 > net.inet.tcp.delayed_ack: 1 -> 0 > > atombsd# sysctl net.inet.tcp.path_mtu_discovery=0 > net.inet.tcp.path_mtu_discovery: 1 -> 0 > > atombsd# sysctl net.inet.tcp.recvbuf_inc=524288 > net.inet.tcp.recvbuf_inc: 16384 -> 524288 > > atombsd# sysctl net.inet.tcp.recvbuf_max=16777216 > net.inet.tcp.recvbuf_max: 262144 -> 16777216 > > atombsd# sysctl net.inet.tcp.sendbuf_inc=524288 > net.inet.tcp.sendbuf_inc: 8192 -> 524288 > > atombsd# sysctl net.inet.tcp.sendbuf_max=16777216 > net.inet.tcp.sendbuf_max: 262144 -> 16777216 > > atombsd# sysctl net.inet.tcp.sendspace=65536 > net.inet.tcp.sendspace: 32768 -> 65536 > > atombsd# sysctl net.inet.udp.maxdgram=57344 > net.inet.udp.maxdgram: 9216 -> 57344 > > atombsd# sysctl net.inet.udp.recvspace=65536 > net.inet.udp.recvspace: 42080 -> 65536 > > atombsd# sysctl net.local.stream.recvspace=65536 > net.local.stream.recvspace: 8192 -> 65536 > > atombsd# sysctl net.local.stream.sendspace=65536 > net.local.stream.sendspace: 8192 -> 65536 > > This improved the read speeds a further tiny bit, now I went from > 48mb/s to 54mb/s. This is it however, I can't figure out how to > increase Samba read speed any further. Any ideas? Oh my god... Why did noone tell me how much of an enormous performance boost vfs.zfs.prefetch_disable=0 (aka actually enabling prefetch) is. My local reads off the mirror pool jumped from 75mb/s to 96mb/s (ie. they are now nearly 25% faster than reading off an individual disk) and reads off a Samba share skyrocketed from 50mb/s to 90mb/s. By default, FreeBSD sets vfs.zfs.prefetch_disable to 1 on any i386 systems and on any amd64 systems with less than 4GB of avaiable memory. My system is amd64 with 4gb ram, but integrated video eats some of that, so the autotuning disabled the prefetch. I had read up on it and a fair amount of people seemed to have performance issues caused by having prefetch enabled and get better results with it turned off, in my case however, it seems that enabling it gave a really solid boost to performance. - Sincerely Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 01:49:46 2010 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 6DEEE106566B for ; Sat, 20 Mar 2010 01:49:46 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 2A7EE8FC13 for ; Sat, 20 Mar 2010 01:49:46 +0000 (UTC) Received: from emlpfilt2.waddell.com (emlpfilt2.waddell.com [10.1.10.30]) by mailhost0.waddell.com (Postfix) with ESMTP id CBEF226362D; Fri, 19 Mar 2010 20:47:27 -0500 (CDT) Received: from emlpfilt2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 7D21D2F8002; Fri, 19 Mar 2010 20:49:35 -0500 (CDT) Received: from advpexv0.wradvisors.com (advpexb1.wradvisors.com [192.168.203.21]) by emlpfilt2.waddell.com (Postfix) with ESMTP id 74DF42F8001; Fri, 19 Mar 2010 20:49:35 -0500 (CDT) Received: from ADVPHTCAS0.wradvisors.com ([192.168.203.228]) by advpexv0.wradvisors.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 19 Mar 2010 20:49:35 -0500 Received: from WADPMBXV0.waddell.com ([169.254.1.205]) by ADVPHTCAS0.wradvisors.com ([192.168.203.228]) with mapi; Fri, 19 Mar 2010 20:49:34 -0500 From: Gary Gatten To: "'dan.naumov@gmail.com'" , "'freebsd-net@freebsd.org'" , "'freebsd-questions@freebsd.org'" , "'freebsd-stable@freebsd.org'" , "'freebsd-performance@freebsd.org'" Date: Fri, 19 Mar 2010 20:49:34 -0500 Thread-Topic: Samba read speed performance tuning Thread-Index: AcrHzOlSisOlux8WQhGh78s4+fcm6AAAq4gk Message-ID: <30209_1269049775_4BA429AF_30209_895_1_D9B37353831173459FDAA836D3B434994A334315@WADPMBXV0.waddell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginalArrivalTime: 20 Mar 2010 01:49:35.0203 (UTC) FILETIME=[97C6DB30:01CAC7CF] Cc: Subject: Re: Samba read speed performance tuning 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, 20 Mar 2010 01:49:46 -0000 SXQgTUFZIG1ha2UgYSBiaWcgZGlmZiwgYnV0IG1ha2Ugc3VyZSBkdXJpbmcgeW91ciB0ZXN0cyB5 b3UgdXNlIHVuaXF1ZSBmaWxlcyBvciBmbHVzaCB0aGUgY2FjaGUgb3IgeW91J2xsIG1lIHRlc3Rp bmcgY2FjaGUgc3BlZWQgYW5kIG5vdCBkaXNrIHNwZWVkLg0KDQotLS0tLSBPcmlnaW5hbCBNZXNz YWdlIC0tLS0tDQpGcm9tOiBvd25lci1mcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZyA8b3du ZXItZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc+DQpUbzogZnJlZWJzZC1uZXRAZnJlZWJz ZC5vcmcgPGZyZWVic2QtbmV0QGZyZWVic2Qub3JnPjsgZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJz ZC5vcmcgPGZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnPjsgRnJlZUJTRC1TVEFCTEUgTWFp bGluZyBMaXN0IDxmcmVlYnNkLXN0YWJsZUBmcmVlYnNkLm9yZz47IGZyZWVic2QtcGVyZm9ybWFu Y2VAZnJlZWJzZC5vcmcgPGZyZWVic2QtcGVyZm9ybWFuY2VAZnJlZWJzZC5vcmc+DQpTZW50OiBG cmkgTWFyIDE5IDIwOjI4OjAyIDIwMTAKU3ViamVjdDogUmU6IFNhbWJhIHJlYWQgc3BlZWQgcGVy Zm9ybWFuY2UgdHVuaW5nDQoNCk9uIEZyaSwgTWFyIDE5LCAyMDEwIGF0IDExOjE0IFBNLCBEYW4g TmF1bW92IDxkYW4ubmF1bW92QGdtYWlsLmNvbT4gd3JvdGU6DQo+IE9uIGEgRnJlZUJTRCA4LjAt UkVMRUFTRS9hbWQ2NCBzeXN0ZW0gd2l0aCBhIFN1cGVybWljcm8gWDdTUEEtSCBib2FyZA0KPiB1 c2luZyBhbiBJbnRlbCBnaWdhYml0IG5pYyB3aXRoIHRoZSBlbSBkcml2ZXIsIHJ1bm5pbmcgb24g dG9wIG9mIGEgWkZTDQo+IG1pcnJvciwgSSB3YXMgc2VlaW5nIGEgc3RyYW5nZSBpc3N1ZS4gTG9j YWwgcmVhZHMgYW5kIHdyaXRlcyB0byB0aGUNCj4gcG9vbCBlYXNpbHkgc2F0dXJhdGUgdGhlIGRp c2tzIHdpdGggcm91Z2hseSA3NW1iL3MgdGhyb3VnaHB1dCwgd2hpY2gNCj4gaXMgcm91Z2hseSB0 aGUgYmVzdCB0aGVzZSBkcml2ZXMgY2FuIGRvLiBIb3dldmVyLCB3b3JraW5nIHdpdGggU2FtYmEs DQo+IHdyaXRlcyB0byBhIHNoYXJlIGNvdWxkIGVhc2lseSBwdWxsIG9mZiA3NW1iL3MgYW5kIHNh dHVyYXRlIHRoZSBkaXNrcywNCj4gYnV0IHJlYWRzIG9mZiBhIHNoYXJlIHdlcmUgcmVzdWx0aW5n IGluIHJhdGhlciBwYXRoZXRpYyAxOG1iL3MNCj4gdGhyb3VnaHB1dC4NCj4NCj4gSSBmb3VuZCBh IHRocmVhZG9uIHRoZSBGcmVlQlNEIGZvcnVtcw0KPiAoaHR0cDovL2ZvcnVtcy5mcmVlYnNkLm9y Zy9zaG93dGhyZWFkLnBocD90PTkxODcpIGFuZCBmb2xsb3dlZCB0aGUNCj4gc3VnZ2VzdGVkIGFk dmljZS4gSSByZWJ1aWx0IFNhbWJhIHdpdGggQUlPIHN1cHBvcnQsIGtsZGxvYWRlZCB0aGUgYWlv DQo+IG1vZHVsZSBhbmQgbWFkZSB0aGUgZm9sbG93aW5nIGNoYW5nZXMgdG8gbXkgc21iLmNvbmYN Cj4NCj4gRnJvbToNCj4gc29ja2V0IG9wdGlvbnM9VENQX05PREVMQVkNCj4NCj4gVG86DQo+IHNv Y2tldCBvcHRpb25zPVNPX1JDVkJVRj0xMzEwNzIgU09fU05EQlVGPTEzMTA3MiBUQ1BfTk9ERUxB WQ0KPiBtaW4gcmVjZWl2ZWZpbGUgc2l6ZT0xNjM4NA0KPiB1c2Ugc2VuZGZpbGU9dHJ1ZQ0KPiBh aW8gcmVhZCBzaXplID0gMTYzODQNCj4gYWlvIHdyaXRlIHNpemUgPSAxNjM4NA0KPiBhaW8gd3Jp dGUgYmVoaW5kID0gdHJ1ZQ0KPiBkbnMgcHJveHkgPSBub1svQ09ERV0NCj4NCj4gVGhpcyBzaG93 ZWQgYSB2ZXJ5IHdlbGNvbWUgaW1wcm92ZW1lbnQgaW4gcmVhZCBzcGVlZCwgSSB3ZW50IGZyb20N Cj4gMThtYi9zIHRvIDQ4bWIvcy4gVGhlIHdyaXRlIHNwZWVkIHJlbWFpbmVkIHVuY2hhbmdlZCBh bmQgd2FzIHN0aWxsDQo+IHNhdHVyYXRpbmcgdGhlIGRpc2tzLiBOb3cgSSB0cmllZCB0aGUgc3Vn Z2VzdGVkIHN5c2N0bCB0dW5hYmxlczoNCj4NCj4gYXRvbWJzZCMgc3lzY3RsIG5ldC5pbmV0LnRj cC5kZWxheWVkX2Fjaz0wDQo+IG5ldC5pbmV0LnRjcC5kZWxheWVkX2FjazogMSAtPiAwDQo+DQo+ IGF0b21ic2QjIHN5c2N0bCBuZXQuaW5ldC50Y3AucGF0aF9tdHVfZGlzY292ZXJ5PTANCj4gbmV0 LmluZXQudGNwLnBhdGhfbXR1X2Rpc2NvdmVyeTogMSAtPiAwDQo+DQo+IGF0b21ic2QjIHN5c2N0 bCBuZXQuaW5ldC50Y3AucmVjdmJ1Zl9pbmM9NTI0Mjg4DQo+IG5ldC5pbmV0LnRjcC5yZWN2YnVm X2luYzogMTYzODQgLT4gNTI0Mjg4DQo+DQo+IGF0b21ic2QjIHN5c2N0bCBuZXQuaW5ldC50Y3Au cmVjdmJ1Zl9tYXg9MTY3NzcyMTYNCj4gbmV0LmluZXQudGNwLnJlY3ZidWZfbWF4OiAyNjIxNDQg LT4gMTY3NzcyMTYNCj4NCj4gYXRvbWJzZCMgc3lzY3RsIG5ldC5pbmV0LnRjcC5zZW5kYnVmX2lu Yz01MjQyODgNCj4gbmV0LmluZXQudGNwLnNlbmRidWZfaW5jOiA4MTkyIC0+IDUyNDI4OA0KPg0K PiBhdG9tYnNkIyBzeXNjdGwgbmV0LmluZXQudGNwLnNlbmRidWZfbWF4PTE2Nzc3MjE2DQo+IG5l dC5pbmV0LnRjcC5zZW5kYnVmX21heDogMjYyMTQ0IC0+IDE2Nzc3MjE2DQo+DQo+IGF0b21ic2Qj IHN5c2N0bCBuZXQuaW5ldC50Y3Auc2VuZHNwYWNlPTY1NTM2DQo+IG5ldC5pbmV0LnRjcC5zZW5k c3BhY2U6IDMyNzY4IC0+IDY1NTM2DQo+DQo+IGF0b21ic2QjIHN5c2N0bCBuZXQuaW5ldC51ZHAu bWF4ZGdyYW09NTczNDQNCj4gbmV0LmluZXQudWRwLm1heGRncmFtOiA5MjE2IC0+IDU3MzQ0DQo+ DQo+IGF0b21ic2QjIHN5c2N0bCBuZXQuaW5ldC51ZHAucmVjdnNwYWNlPTY1NTM2DQo+IG5ldC5p bmV0LnVkcC5yZWN2c3BhY2U6IDQyMDgwIC0+IDY1NTM2DQo+DQo+IGF0b21ic2QjIHN5c2N0bCBu ZXQubG9jYWwuc3RyZWFtLnJlY3ZzcGFjZT02NTUzNg0KPiBuZXQubG9jYWwuc3RyZWFtLnJlY3Zz cGFjZTogODE5MiAtPiA2NTUzNg0KPg0KPiBhdG9tYnNkIyBzeXNjdGwgbmV0LmxvY2FsLnN0cmVh bS5zZW5kc3BhY2U9NjU1MzYNCj4gbmV0LmxvY2FsLnN0cmVhbS5zZW5kc3BhY2U6IDgxOTIgLT4g NjU1MzYNCj4NCj4gVGhpcyBpbXByb3ZlZCB0aGUgcmVhZCBzcGVlZHMgYSBmdXJ0aGVyIHRpbnkg Yml0LCBub3cgSSB3ZW50IGZyb20NCj4gNDhtYi9zIHRvIDU0bWIvcy4gVGhpcyBpcyBpdCBob3dl dmVyLCBJIGNhbid0IGZpZ3VyZSBvdXQgaG93IHRvDQo+IGluY3JlYXNlIFNhbWJhIHJlYWQgc3Bl ZWQgYW55IGZ1cnRoZXIuIEFueSBpZGVhcz8NCg0KDQpPaCBteSBnb2QuLi4gV2h5IGRpZCBub29u ZSB0ZWxsIG1lIGhvdyBtdWNoIG9mIGFuIGVub3Jtb3VzIHBlcmZvcm1hbmNlDQpib29zdCB2ZnMu emZzLnByZWZldGNoX2Rpc2FibGU9MCAoYWthIGFjdHVhbGx5IGVuYWJsaW5nIHByZWZldGNoKSBp cy4NCk15IGxvY2FsIHJlYWRzIG9mZiB0aGUgbWlycm9yIHBvb2wganVtcGVkIGZyb20gNzVtYi9z IHRvIDk2bWIvcyAoaWUuDQp0aGV5IGFyZSBub3cgbmVhcmx5IDI1JSBmYXN0ZXIgdGhhbiByZWFk aW5nIG9mZiBhbiBpbmRpdmlkdWFsIGRpc2spDQphbmQgcmVhZHMgb2ZmIGEgU2FtYmEgc2hhcmUg c2t5cm9ja2V0ZWQgZnJvbSA1MG1iL3MgdG8gOTBtYi9zLg0KDQpCeSBkZWZhdWx0LCBGcmVlQlNE IHNldHMgdmZzLnpmcy5wcmVmZXRjaF9kaXNhYmxlIHRvIDEgb24gYW55IGkzODYNCnN5c3RlbXMg YW5kIG9uIGFueSBhbWQ2NCBzeXN0ZW1zIHdpdGggbGVzcyB0aGFuIDRHQiBvZiBhdmFpYWJsZQ0K bWVtb3J5LiBNeSBzeXN0ZW0gaXMgYW1kNjQgd2l0aCA0Z2IgcmFtLCBidXQgaW50ZWdyYXRlZCB2 aWRlbyBlYXRzDQpzb21lIG9mIHRoYXQsIHNvIHRoZSBhdXRvdHVuaW5nIGRpc2FibGVkIHRoZSBw cmVmZXRjaC4gSSBoYWQgcmVhZCB1cA0Kb24gaXQgYW5kIGEgZmFpciBhbW91bnQgb2YgcGVvcGxl IHNlZW1lZCB0byBoYXZlIHBlcmZvcm1hbmNlIGlzc3Vlcw0KY2F1c2VkIGJ5IGhhdmluZyBwcmVm ZXRjaCBlbmFibGVkIGFuZCBnZXQgYmV0dGVyIHJlc3VsdHMgd2l0aCBpdA0KdHVybmVkIG9mZiwg aW4gbXkgY2FzZSBob3dldmVyLCBpdCBzZWVtcyB0aGF0IGVuYWJsaW5nIGl0IGdhdmUgYQ0KcmVh bGx5IHNvbGlkIGJvb3N0IHRvIHBlcmZvcm1hbmNlLg0KDQoNCi0gU2luY2VyZWx5DQpEYW4gTmF1 bW92DQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KZnJl ZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcgbWFpbGluZyBsaXN0DQpodHRwOi8vbGlzdHMuZnJl ZWJzZC5vcmcvbWFpbG1hbi9saXN0aW5mby9mcmVlYnNkLXF1ZXN0aW9ucw0KVG8gdW5zdWJzY3Jp YmUsIHNlbmQgYW55IG1haWwgdG8gImZyZWVic2QtcXVlc3Rpb25zLXVuc3Vic2NyaWJlQGZyZWVi c2Qub3JnIg0KCgoKCgo8Zm9udCBzaXplPSIxIj4KPGRpdiBzdHlsZT0nYm9yZGVyOm5vbmU7Ym9y ZGVyLWJvdHRvbTpkb3VibGUgd2luZG93dGV4dCAyLjI1cHQ7cGFkZGluZzowaW4gMGluIDEuMHB0 IDBpbic+CjwvZGl2PgoiVGhpcyBlbWFpbCBpcyBpbnRlbmRlZCB0byBiZSByZXZpZXdlZCBieSBv bmx5IHRoZSBpbnRlbmRlZCByZWNpcGllbnQKIGFuZCBtYXkgY29udGFpbiBpbmZvcm1hdGlvbiB0 aGF0IGlzIHByaXZpbGVnZWQgYW5kL29yIGNvbmZpZGVudGlhbC4KIElmIHlvdSBhcmUgbm90IHRo ZSBpbnRlbmRlZCByZWNpcGllbnQsIHlvdSBhcmUgaGVyZWJ5IG5vdGlmaWVkIHRoYXQKIGFueSBy ZXZpZXcsIHVzZSwgZGlzc2VtaW5hdGlvbiwgZGlzY2xvc3VyZSBvciBjb3B5aW5nIG9mIHRoaXMg ZW1haWwKIGFuZCBpdHMgYXR0YWNobWVudHMsIGlmIGFueSwgaXMgc3RyaWN0bHkgcHJvaGliaXRl ZC4gIElmIHlvdSBoYXZlCiByZWNlaXZlZCB0aGlzIGVtYWlsIGluIGVycm9yLCBwbGVhc2UgaW1t ZWRpYXRlbHkgbm90aWZ5IHRoZSBzZW5kZXIgYnkKIHJldHVybiBlbWFpbCBhbmQgZGVsZXRlIHRo aXMgZW1haWwgZnJvbSB5b3VyIHN5c3RlbS4iCjwvZm9udD4KCg== From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 02:32:51 2010 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 BB0F0106566B; Sat, 20 Mar 2010 02:32:51 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 762778FC0A; Sat, 20 Mar 2010 02:32:51 +0000 (UTC) Received: by pvc7 with SMTP id 7so646974pvc.13 for ; Fri, 19 Mar 2010 19:32:51 -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=mPNlbUL+WVv1mC9T/ih8I16WRWUWrHlDRJWYTNG8TgQ=; b=Nb8gj7NroCQVlnt0obX5bTbXHiO5a5f/fDovdjyj5PTLdgfTlcB5ecHEfHGPY2P+dt qh4edUhg9NFfFXv2ze9+HQm5eOPLdmQSxLLfhDn/G9/wPDP+VZyUOXiK1hiyPDOv67k9 GLKtrD/9OD4WGPwye5mhJ+s70g52jaRjKsotM= 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=IID94jeo8fUzY/Vunz/G8Ypfh25dRkn+q5LhrzZLW/1v6jyzQdXXC0UhoISLVU65YO waR7opeOmmBZiTGLo3oTVXlyX1IMLJAwfm/F5CcgBnjeDs7yzvvA7zvRQ/LwcgcIppW0 4DE8Jgac68MfT4nsT6Xh653YEzNLQgjRmiSC4= MIME-Version: 1.0 Received: by 10.142.8.22 with SMTP id 22mr1435039wfh.194.1269052370909; Fri, 19 Mar 2010 19:32:50 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Mar 2010 21:32:50 -0500 Message-ID: <6201873e1003191932g447cb261rbc928324408b959b@mail.gmail.com> From: Adam Vande More To: Dan Naumov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org, freebsd-performance@freebsd.org, FreeBSD-STABLE Mailing List , freebsd-questions@freebsd.org Subject: Re: Samba read speed performance tuning 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, 20 Mar 2010 02:32:51 -0000 On Fri, Mar 19, 2010 at 8:28 PM, Dan Naumov wrote: > Oh my god... Why did noone tell me how much of an enormous performance > boost vfs.zfs.prefetch_disable=0 (aka actually enabling prefetch) is. > My local reads off the mirror pool jumped from 75mb/s to 96mb/s (ie. > they are now nearly 25% faster than reading off an individual disk) > and reads off a Samba share skyrocketed from 50mb/s to 90mb/s. > > By default, FreeBSD sets vfs.zfs.prefetch_disable to 1 on any i386 > systems and on any amd64 systems with less than 4GB of avaiable > memory. My system is amd64 with 4gb ram, but integrated video eats > some of that, so the autotuning disabled the prefetch. I had read up > on it and a fair amount of people seemed to have performance issues > caused by having prefetch enabled and get better results with it > turned off, in my case however, it seems that enabling it gave a > really solid boost to performance. > My home VBox server is similar specs and I enabled the prefetch from the start. A few days ago, I added an intel SSD as the zpool cache device and the read speed is mind blowing now. This is from inside a VM frunning on it meaning ad0 is really a vdi. Once the cache is populated, HD latency is mostly a thing of the past. # diskinfo -tv /dev/ad0 /dev/ad0 512 # sectorsize 12884901888 # mediasize in bytes (12G) 25165824 # mediasize in sectors 24966 # Cylinders according to firmware. 16 # Heads according to firmware. 63 # Sectors according to firmware. VBf9752473-05343e4e # Disk ident. Seek times: Full stroke: 250 iter in 0.082321 sec = 0.329 msec Half stroke: 250 iter in 0.078944 sec = 0.316 msec Quarter stroke: 500 iter in 0.161266 sec = 0.323 msec Short forward: 400 iter in 0.128624 sec = 0.322 msec Short backward: 400 iter in 0.131770 sec = 0.329 msec Seq outer: 2048 iter in 0.667510 sec = 0.326 msec Seq inner: 2048 iter in 0.691691 sec = 0.338 msec Transfer rates: outside: 102400 kbytes in 0.722864 sec = 141659 kbytes/sec middle: 102400 kbytes in 0.813619 sec = 125857 kbytes/sec inside: 102400 kbytes in 0.838129 sec = 122177 kbytes/sec -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 02:41:03 2010 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 DD526106564A for ; Sat, 20 Mar 2010 02:41:02 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from qmta02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by mx1.freebsd.org (Postfix) with ESMTP id 871C88FC21 for ; Sat, 20 Mar 2010 02:41:02 +0000 (UTC) Received: from omta04.westchester.pa.mail.comcast.net ([76.96.62.35]) by qmta02.westchester.pa.mail.comcast.net with comcast id vEG51d0060ldTLk52ETniK; Sat, 20 Mar 2010 02:27:47 +0000 Received: from [10.0.0.51] ([71.199.122.142]) by omta04.westchester.pa.mail.comcast.net with comcast id vETm1d00334Sj4f3QETn5K; Sat, 20 Mar 2010 02:27:47 +0000 Message-ID: <4BA432C8.4040707@comcast.net> Date: Fri, 19 Mar 2010 22:28:24 -0400 From: Steve Polyack User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: Rick Macklem References: <4BA3613F.4070606@comcast.net> <201003190831.00950.jhb@freebsd.org> <4BA37AE9.4060806@comcast.net> <4BA392B1.4050107@comcast.net> <4BA3DEBC.2000608@comcast.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, bseklecki@noc.cfi.pgh.pa.us, User Questions , John Baldwin Subject: Re: FreeBSD NFS client goes into infinite retry loop 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, 20 Mar 2010 02:41:03 -0000 On 3/19/2010 9:32 PM, Rick Macklem wrote: > > On Fri, 19 Mar 2010, Steve Polyack wrote: > >> >> To anyone who is interested: I did some poking around with DTrace, >> which led me to the nfsiod client code. >> In src/sys/nfsclient/nfs_nfsiod.c: >> } else { >> if (bp->b_iocmd == BIO_READ) >> (void) nfs_doio(bp->b_vp, bp, bp->b_rcred, NULL); >> else >> (void) nfs_doio(bp->b_vp, bp, bp->b_wcred, NULL); >> } >> > > If you look t nfs_doio(), it decides whether or not to mark the buffer > invalid, based on the return value it gets. Some (EINTR, ETIMEDOUT, EIO) > are not considered fatal, but the others are. (When the async I/O > daemons call nfs_doio(), they are threads that couldn't care less if > the underlying I/O op succeeded. The outcome of the I/O operation > determines what nfs_doio() does with the buffer cache block.) I was looking at this and noticed the above after my last post. >> >> The result is that my problematic repeatable circumstance begins >> logging "nfssvc_iod: iod 0 nfs_doio returned errno: 5" (corresponding >> to NFSERR_INVAL?) for each repetition of the failed write. The only >> things triggering this are my failed writes. I can also see the >> nfsiod0 process waking up each iteration. >> > > Nope, errno 5 is EIO and that's where the problem is. I don't know why > the server is returning EIO after the file has been deleted on the > server (I assume you did that when running your little shell script?). Yes, while running the simple shell script I simply deleted the file on the NFS server itself. >> Do we need some kind of "retry x times then abort" logic within >> nfsiod_iod(), or does this belong in the subsequent functions, such >> as nfs_doio()? I think it's best to avoid these sorts of infinite >> loops which have the potential to take out the system or overload the >> network due to dumb decisions made by unprivileged users. >> > Nope, people don't like data not getting written back to a server when > it is slow or temporarily network partitioned. The only thing that should > stop a client from retrying a write back to the server is a fatal error > from the server that says "this won't ever succeed". > > I think we need to figure out if the EIO (NFS3ERR_IO in wireshark) or > if the server is sending NFS3ERR_STALE and the client is somehow munging > that into EIO, causing the confusion. This makes sense. According to wireshark, the server is indeed transmitting "Status: NFS3ERR_IO (5)". Perhaps this should be STALE instead; it sounds more correct than marking it a general IO error. Also, the NFS server is serving its share off of a ZFS filesystem, if it makes any difference. I suppose ZFS could be talking to the NFS server threads with some mismatched language, but I doubt it. Thanks for the informative response, Steve From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 03:14:24 2010 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 DCC65106566C; Sat, 20 Mar 2010 03:14:24 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5E9F28FC1D; Sat, 20 Mar 2010 03:14:24 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAFbao0uDaFvH/2dsb2JhbACbPnO7EYR8BA X-IronPort-AV: E=Sophos;i="4.51,278,1267419600"; d="scan'208";a="69657474" Received: from danube.cs.uoguelph.ca ([131.104.91.199]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 19 Mar 2010 23:14:23 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id 6E2F2108427E; Fri, 19 Mar 2010 23:14:23 -0400 (EDT) X-Virus-Scanned: amavisd-new at danube.cs.uoguelph.ca Received: from danube.cs.uoguelph.ca ([127.0.0.1]) by localhost (danube.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p0DKoEaI02CN; Fri, 19 Mar 2010 23:14:23 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id E190410841FA; Fri, 19 Mar 2010 23:14:22 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id o2K3RDc06841; Fri, 19 Mar 2010 23:27:13 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Fri, 19 Mar 2010 23:27:13 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Steve Polyack In-Reply-To: <4BA432C8.4040707@comcast.net> Message-ID: References: <4BA3613F.4070606@comcast.net> <201003190831.00950.jhb@freebsd.org> <4BA37AE9.4060806@comcast.net> <4BA392B1.4050107@comcast.net> <4BA3DEBC.2000608@comcast.net> <4BA432C8.4040707@comcast.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-fs@freebsd.org, bseklecki@noc.cfi.pgh.pa.us, User Questions , John Baldwin Subject: Re: FreeBSD NFS client goes into infinite retry loop 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, 20 Mar 2010 03:14:25 -0000 On Fri, 19 Mar 2010, Steve Polyack wrote: [good stuff snipped] > > This makes sense. According to wireshark, the server is indeed transmitting > "Status: NFS3ERR_IO (5)". Perhaps this should be STALE instead; it sounds > more correct than marking it a general IO error. Also, the NFS server is > serving its share off of a ZFS filesystem, if it makes any difference. I > suppose ZFS could be talking to the NFS server threads with some mismatched > language, but I doubt it. > Ok, now I think we're making progress. If VFS_FHTOVP() doesn't return ESTALE when the file no longer exists, the NFS server returns whatever error it has returned. So, either VFS_FHTOVP() succeeds after the file has been deleted, which would be a problem that needs to be fixed within ZFS OR ZFS returns an error other than ESTALE when it doesn't exist. Try the following patch on the server (which just makes any error returned by VFS_FHTOVP() into ESTALE) and see if that helps. --- nfsserver/nfs_srvsubs.c.sav 2010-03-19 22:06:43.000000000 -0400 +++ nfsserver/nfs_srvsubs.c 2010-03-19 22:07:22.000000000 -0400 @@ -1127,6 +1127,8 @@ } } error = VFS_FHTOVP(mp, &fhp->fh_fid, vpp); + if (error != 0) + error = ESTALE; vfs_unbusy(mp); if (error) goto out; Please let me know if the patch helps, rick From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 07:37:54 2010 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 C8F57106564A for ; Sat, 20 Mar 2010 07:37:54 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id 451838FC08 for ; Sat, 20 Mar 2010 07:37:53 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApEBAIv6o0vKRa39/2dsb2JhbAAH1yCEfQSDHA X-IronPort-AV: E=Sophos;i="4.51,278,1267372800"; d="scan'208";a="10280128" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.253]) by avmxsmtp4.comclark.com with ESMTP; 20 Mar 2010 13:29:46 +0800 Message-ID: <4BA45D44.6090806@comclark.com> Date: Sat, 20 Mar 2010 13:29:40 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: GBDE encryped File system 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, 20 Mar 2010 07:37:54 -0000 In release 8.0 is GBDE now part of the base system? If not what is the /boot/loader.conf command to add to enable it? From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 08:00:53 2010 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 A81831065673 for ; Sat, 20 Mar 2010 08:00:53 +0000 (UTC) (envelope-from wooh@wooh.hu) Received: from mail.netidea.hu (netwarehouse.netidea.hu [195.228.254.126]) by mx1.freebsd.org (Postfix) with ESMTP id 640BA8FC08 for ; Sat, 20 Mar 2010 08:00:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netidea.hu (Postfix) with ESMTP id D96C6128D14 for ; Sat, 20 Mar 2010 08:58:56 +0100 (CET) X-Virus-Scanned: amavisd-new at netidea.hu Received: from mail.netidea.hu ([127.0.0.1]) by localhost (mail.netidea.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZkuW6ycz22KF for ; Sat, 20 Mar 2010 08:58:53 +0100 (CET) Received: from jamms-MacBook.local (catv-80-98-233-66.catv.broadband.hu [80.98.233.66]) by mail.netidea.hu (Postfix) with ESMTP id 64689128D08 for ; Sat, 20 Mar 2010 08:58:53 +0100 (CET) Message-ID: <4BA480B0.7010906@wooh.hu> Date: Sat, 20 Mar 2010 09:00:48 +0100 From: Adam PAPAI User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4BA45D44.6090806@comclark.com> In-Reply-To: <4BA45D44.6090806@comclark.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: GBDE encryped File system 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, 20 Mar 2010 08:00:53 -0000 On 3/20/10 6:29 AM, Aiza wrote: > In release 8.0 is GBDE now part of the base system? > If not what is the /boot/loader.conf command to add to enable it? You don't have to enable it. Nothing to add to the loader.conf. But if you want to mount the partitions during the boot: 18.16.1.2.1 Automatically Mounting Encrypted Partitions It is possible to create a script to automatically attach, check, and mount an encrypted partition, but for security reasons the script should not contain the gbde(8) password. Instead, it is recommended that such scripts be run manually while providing the password via the console or ssh(1). Please read: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html -- Adam PAPAI From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 08:16:51 2010 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 E598A106566C; Sat, 20 Mar 2010 08:16:51 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 1E6DA8FC1C; Sat, 20 Mar 2010 08:16:50 +0000 (UTC) Received: by bwz8 with SMTP id 8so3628779bwz.3 for ; Sat, 20 Mar 2010 01:16: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=ZGEJNCP9LNysm18UdMBs2XqHr5ZsHJieCtGNrH0LcoY=; b=d6yZFF4iuAJrnYCvHnrgLreFc/mmy14qY9y3zEPYujFdGkTeNCIIBpDNJtsR8hmFP9 Xtkx1lgbrZUGsOFaZNIzH5Av1SOWkf9onHWlqv7xxdPiEFwWuhlESgybcVIyGPzml5gF 2b2ew853pnu2CcHTY6UBxuAxSl4ObW3XyP4iw= 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=lUHNQx5lYzNnKo4BVIlb7GhynV8CJu4EFvfZzY5LvNUOhrLy2iIeL3pSrSU26CkdeE Akks9LpBp5fSKAV4cObpFUubkxJeVZb9YP/fyPXXnuKLlgUBDcMu8azQxyYQdIJ44HuW r4NoxWVSSIfrMirAyh8vryhAgoWP5xM8uFUKM= MIME-Version: 1.0 Received: by 10.204.138.79 with SMTP id z15mr4003924bkt.167.1269073009288; Sat, 20 Mar 2010 01:16:49 -0700 (PDT) In-Reply-To: <30209_1269049775_4BA429AF_30209_895_1_D9B37353831173459FDAA836D3B434994A334315@WADPMBXV0.waddell.com> References: <30209_1269049775_4BA429AF_30209_895_1_D9B37353831173459FDAA836D3B434994A334315@WADPMBXV0.waddell.com> Date: Sat, 20 Mar 2010 10:16:49 +0200 Message-ID: From: Dan Naumov To: Gary Gatten Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-performance@freebsd.org" , "freebsd-stable@freebsd.org" , "freebsd-questions@freebsd.org" Subject: Re: Samba read speed performance tuning 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, 20 Mar 2010 08:16:52 -0000 On Sat, Mar 20, 2010 at 3:49 AM, Gary Gatten wrote: > It MAY make a big diff, but make sure during your tests you use unique files or flush the cache or you'll me testing cache speed and not disk speed. Yeah I did make sure to use unique files for testing the effects of prefetch. This is Atom D510 / Supermicro X75SPA-H / 4Gb Ram with 2 x slow 2tb WD Green (WD20EADS) disks with 32mb cache in a ZFS mirror after enabling prefetch.: Code: bonnie -s 8192 -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 8192 29065 68.9 52027 39.8 39636 33.3 54057 95.4 105335 34.6 174.1 7.9 DD read: dd if=/dev/urandom of=test2 bs=1M count=8192 dd if=test2 of=/dev/zero bs=1M 8589934592 bytes transferred in 76.031399 secs (112978779 bytes/sec) (107,74mb/s) Individual disks read capability: 75mb/s Reading off a mirror of 2 disks with prefetch disabled: 60mb/s Reading off a mirror of 2 disks with prefetch enabled: 107mb/s - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 09:48:58 2010 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 0428A106564A for ; Sat, 20 Mar 2010 09:48:58 +0000 (UTC) (envelope-from jozsi.avadkan@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 87F878FC14 for ; Sat, 20 Mar 2010 09:48:56 +0000 (UTC) Received: by fxm24 with SMTP id 24so126739fxm.3 for ; Sat, 20 Mar 2010 02:48:55 -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=TdZTlR74qqLWdVzos0zAb04ni4oEOVwy4yIUDU2smk4=; b=dCsubE1S/2tkqQvnH4+LridB5fF29r9XMTKbC+WhFmVdix4Rh6XPl0AgXRCb4nmPJZ kPpM7Et2ckPT+8J1er6NX6vv9vGaDm7wrTz9K6rANXpmdvBCGw4KWHb+J7whfZSo+P2S RntNBFEJMfGkTIqz0WBNWA85guA9dIOzN5bl0= 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=LlLoa243ukVrbO4TxwL4iVfNwfrUpbs7QF6ahvxugUm7olHGje8ydF/YaaXvdT8cdV yZfKHJ7nfi33XXQBldoEGRsFcNIEhUHS2Cgpm54Y4HWkJ5OxbvFdA8s0AN0mpFl6/tgg EUQgnAJtQVI9qsrABp20dDwBfHHlM0r50nTLM= Received: by 10.103.3.7 with SMTP id f7mr9878334mui.62.1269078535616; Sat, 20 Mar 2010 02:48:55 -0700 (PDT) Received: from [192.168.0.88] (178-164-140-81.pool.digikabel.hu [178.164.140.81]) by mx.google.com with ESMTPS id t10sm10938633muh.59.2010.03.20.02.48.53 (version=SSLv3 cipher=RC4-MD5); Sat, 20 Mar 2010 02:48:55 -0700 (PDT) From: Vadkan Jozsef To: FreeBSD Mailing list Content-Type: text/plain; charset="UTF-8" Date: Sat, 20 Mar 2010 10:48:51 +0100 Message-ID: <1269078531.32263.31.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Subject: freenas-like solution for aoe? 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, 20 Mar 2010 09:48:58 -0000 Does anybody know a FreeNAS-like solution, that supports AoE? - Ata over Ethernet? Thank you! From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 10:53:00 2010 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 8AA68106566B for ; Sat, 20 Mar 2010 10:53:00 +0000 (UTC) (envelope-from anoop.kn@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5DDD98FC12 for ; Sat, 20 Mar 2010 10:53:00 +0000 (UTC) Received: by pwj4 with SMTP id 4so3108662pwj.13 for ; Sat, 20 Mar 2010 03:52: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 :date:message-id:subject:from:to:content-type; bh=dcfLfR6zHz4v7VpShwPEmuALC5JJTo8fO59wdcVzzQo=; b=a10CDflGVfTMURW3q6m2nb+Ho4ubnwYbA2Flkc/+CG/ws7Y7VYfdkpGYmoEdNEz6ba kGleig+yVFWBTbLG1fOcwlSg1jC1rMod5B1Y12X3zFnL7tU7vbXWgFYqcoL1gBM3jX/H FopKCoMAWiQorZRwjiIawuXprFLiTvlz5Jz3U= 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=eE6FPbgzPbca8+TNGrTMy2Aq45ES91kdT910Gd+k7oNuGWRh1xOto6F3VVuuCdEVS/ Lym863fbufcOV2eZc25MxsPr9pkdFfDEiGh1HGYS+K0Wd6sphWvj6+BCSPH9mbxRAUsg C+zMKqSFiHFQbcGs2r+EaP43AOddXx7JPcV6Y= MIME-Version: 1.0 Received: by 10.143.20.35 with SMTP id x35mr2220127wfi.116.1269082379762; Sat, 20 Mar 2010 03:52:59 -0700 (PDT) In-Reply-To: <7ff5545f1003200351r2f971d5fra78d996d87ccedfa@mail.gmail.com> References: <7ff5545f1003120000t3db354b0pe405b9f56b38979b@mail.gmail.com> <7ff5545f1003190620n5835d60dh6168c9c2621becd5@mail.gmail.com> <4324dbec1003190719t45036b4fvb44ecff3049e38e2@mail.gmail.com> <7ff5545f1003190955m4a4b3050p369e1044216edab1@mail.gmail.com> <4324dbec1003191530x42fe13cbxd82ab262163f4f74@mail.gmail.com> <7ff5545f1003200351r2f971d5fra78d996d87ccedfa@mail.gmail.com> Date: Sat, 20 Mar 2010 16:22:59 +0530 Message-ID: <7ff5545f1003200352m663870c0g7a448a78a4a9ffdd@mail.gmail.com> From: Anoop Kumar Narayanan To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: FreeBSD 8.0 Booting Problem on ZV5320US Laptop 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, 20 Mar 2010 10:53:00 -0000 wrote: > Are you able to get to the FreeBSD splash screen (where you get a countdown > to startup with a menu of 6 selections)? Yes, It doesn't go beyond that selection most of the time. > > One of the choices there is boot w/o ACPI; you could try that if you get > that far. That is exactly where I am, at that screen when I make the selection (any selection) it just pauses for about 30 Secs before the computer shuts down. Tried all options including 'set hint.acpi.0.disabled="1"' followed by 'boot' at the loader prompt. Its more or less 1 successful boot in 7 attempts, totally random, not dependent on w/o ACPI is picked or not, sometimes it just works with verbose logging or normal boot. It is definitely something to do with the RESET BIOS timer (If at all there is anything like that) expiring before FreeBSD kernel can fully load or something... Thank you HP ! -Anoop > > Good luck-- > > Richard > > On Fri, Mar 19, 2010 at 11:55 AM, Anoop Kumar Narayanan > wrote: >> >> On Fri, Mar 19, 2010 at 7:49 PM, Richard DeLaurell >> wrote: >> >>On Fri, Mar 19, 2010 at 8:20 AM, Anoop Kumar Narayanan >> >> wrote: >> >>I have recently installed FreeBSD8.0 on my 5 year old HP laptop with >> >>absolute 0 battery backup (behaviour same when batter removed). >> >>Installation works fine but when I try to boot into FreeBSD I get to >> >>the BTX loader screen, after having made any selection and it pauses >> >>for about 15 secs and the computer suddenly powers down. I was able to >> >>boot into the system occasionally lets say about 1 in 5 boots. I am >> >>able to install and boot into Linux without any problem. >> > >> > >> > So then you are attempting to startup using a power adaptor (i.e. your >> > computer is plugged in to a wall socket)? >> Yes. I don't know if its a specific Athlon XP related problem as I did >> observe a similar post some years ago. And, Apparently its the same >> thing. >> http://osdir.com/ml/os.freebsd.devel.hardware/2004-10/msg00044.html >> In this case its the installation. In my case its after the installation. >> > >> > I had the reverse problem a while ago with Slackware shutting down in >> > the >> > middle of installation onto a Toshiba laptop while FreeBSD has always >> > been >> > no problem. >> > >> > My guess is that these issues reflect power management settings, perhaps >> > even something in the bios. >> Maybe its something in the BIOS, but the thing is that Linux boots >> fine on the machine. Maybe some driver is crashing and is causing a >> reboot of the machine. Are there any critical drivers in the system >> that can result in such a problem. >> > >> > Does this occur when you use the installation or boot-only disks? >> I can install it just fine, but can't seem to to boot into the >> installed version (Once its been installed). >> I did create the FreeBSD swap partition before the root file-system >> (and it still seems to label the root file-system as 'a'), Would this >> affect the system boot up in anyway ? >> > >> > Sorry this is not more help to you. >> > >> > Richard >> > _______________________________________________ >> > 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" >> > >> _______________________________________________ >> 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 Sat Mar 20 11:35:12 2010 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 4E5D5106564A for ; Sat, 20 Mar 2010 11:35:12 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp1.comclark.com (avmxsmtp1.comclark.com [202.69.191.115]) by mx1.freebsd.org (Postfix) with ESMTP id C1AE08FC18 for ; Sat, 20 Mar 2010 11:35:11 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApEBAONNpEvKRa39/2dsb2JhbAAH2T2EfQSDHA X-IronPort-AV: E=Sophos;i="4.51,279,1267372800"; d="scan'208";a="10301911" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.253]) by avmxsmtp5.comclark.com with ESMTP; 20 Mar 2010 19:28:06 +0800 Message-ID: <4BA4B127.7080202@comclark.com> Date: Sat, 20 Mar 2010 19:27:35 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: GBDE and fixit.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: Sat, 20 Mar 2010 11:35:12 -0000 Does the fixit.iso file include the GBDE application? From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 13:18:30 2010 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 BFD2A106566B for ; Sat, 20 Mar 2010 13:18:30 +0000 (UTC) (envelope-from jg@fantomatic.co.uk) Received: from fix.fantomatic.co.uk (fix.fantomatic.co.uk [81.174.154.245]) by mx1.freebsd.org (Postfix) with ESMTP id 4308D8FC0C for ; Sat, 20 Mar 2010 13:18:30 +0000 (UTC) Received: from fix.fantomatic.co.uk (localhost [127.0.0.1]) by fix.fantomatic.co.uk (8.14.3/8.14.3) with ESMTP id o2KDIcnq001243 for ; Sat, 20 Mar 2010 13:18:38 GMT (envelope-from jg@fix.fantomatic.co.uk) Received: (from jg@localhost) by fix.fantomatic.co.uk (8.14.3/8.14.3/Submit) id o2KDIcIt001241 for freebsd-questions@freebsd.org; Sat, 20 Mar 2010 13:18:38 GMT (envelope-from jg) Message-Id: <201003201318.o2KDIcIt001241@fix.fantomatic.co.uk> To: freebsd-questions@freebsd.org Date: Sat, 20 Mar 2010 13:18:38 +0000 (GMT) From: Jamie Griffin X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: securing sshd 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, 20 Mar 2010 13:18:30 -0000 Hello I've been reading up on securing sshd after being bombarded with attempted logins. The steps i've taken so far to make things more secure are: * changed the encryption method for passwords in /etc/login.conf from md5 to blowfish and changed all the passwords to ridiculously obscure ones (at least as obscure as I could think of). * changed /etc/ttys secure entries to insecure to prevent root logins on the console (the above are not really sshd specific i know.) * Disabled root login by ssh in /etc/ssh/sshd_config * Set myself as the only user able to login by ssh * Disabled password logins completely, and to only allow public key authentication * Changed the default ssh port from 22 to something much higher I'm the only user that will ever need to log into the machine. I wondered, does this setup seem ok and are there any other methods used by anyone on list that might help me to secure remote logins even further? Thanks for any help. Jamie From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 15:32:32 2010 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 B0812106564A for ; Sat, 20 Mar 2010 15:32:32 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 5F3AC8FC1E for ; Sat, 20 Mar 2010 15:32:32 +0000 (UTC) Received: from beta.local (ppp-88-217-26-61.dynamic.mnet-online.de [88.217.26.61]) by mail.locolomo.org (Postfix) with ESMTPSA id 3D6801C0871 for ; Sat, 20 Mar 2010 16:32:30 +0100 (CET) Message-ID: <4BA4EA8C.3090702@locolomo.org> Date: Sat, 20 Mar 2010 16:32:28 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201003201318.o2KDIcIt001241@fix.fantomatic.co.uk> In-Reply-To: <201003201318.o2KDIcIt001241@fix.fantomatic.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: securing sshd 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, 20 Mar 2010 15:32:32 -0000 On 20/03/10 14:18, Jamie Griffin wrote: > I've been reading up on securing sshd after being bombarded with attempted logins. Hi! First step to ssh security is: Don't panic! Take your time to read the logs and understand what's going on. So, you've got bombarded with login attempts, but they failed. Just because there is some log entry doesn't mean you have to act on it. I recall reading an analysis of this kind of brute force attacks on securityfocus.com. These brute force attacks are pretty harmless if you've got basic security in place. This was also discussed on the list two weeks ago, check the archives. > * Disabled root login by ssh in /etc/ssh/sshd_config Good, if you read the logs you will see that about 50% of the attempts are against the root account. > * Set myself as the only user able to login by ssh Good, if you read the logs you will see that about 40% of the attempts are against standard unix accounts, and guest. The remaining are against randomly generated user names usually based on common names (john, smith, etc) you can get this statistic from your logs. > * Disabled password logins completely, and to only allow public key authentication This seems good for security, but not always practical. Now you have to walk around with a USB or have keys on your laptop and if you loose the USB or the laptop gets stolen you can't get access. Worse, you can't revoke the keys till you get back home. > * Changed the default ssh port from 22 to something much higher Number is irrelevant and I discourage this. If you ever find yourself behind somebody else's firewall, if access is enabled it is enabled for the default port. > I'm the only user that will ever need to log into the machine. I wondered, does this setup seem ok and are there any other methods used by anyone on list that might help me to secure remote logins even further? Since you're the only one on that system, you know where you're going to connect from, at least roughly. Why allow connections from anywhere? Restrict the client access to certain ranges of IPs. The different registries publish ip ranges assigned per country and you can create a list blocking countries you are certain not to visit, you can use my script: http://www.locolomo.org/pub/src/toolbox/inet.pl The last things I can think of is not to have your user name as in your mail address, not have mail password as your unix account password and remember to password protect your ssh keys. Run other services such as mail, http, dns etc. in jails - if possible separate jails. All this all depends on your paranoia. BR, Erik -- Erik Nrgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 15:32:50 2010 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 C5E70106575F for ; Sat, 20 Mar 2010 15:32:50 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.pcl-ipout01.plus.net (relay.pcl-ipout01.plus.net [212.159.7.99]) by mx1.freebsd.org (Postfix) with ESMTP id 622B08FC13 for ; Sat, 20 Mar 2010 15:32:50 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAE6HpEvUnw4U/2dsb2JhbACbPnO9KoR9BA Received: from pih-relay08.plus.net ([212.159.14.20]) by relay.pcl-ipout01.plus.net with ESMTP; 20 Mar 2010 15:32:49 +0000 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by pih-relay08.plus.net with esmtp (Exim) id 1Nt0fR-0003dR-6k for freebsd-questions@freebsd.org; Sat, 20 Mar 2010 15:32:49 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1Nt0fQ-000LWR-TB for freebsd-questions@freebsd.org; Sat, 20 Mar 2010 15:32:49 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sat, 20 Mar 2010 15:32:48 +0000 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201003201532.48793.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: ba6307b70eb23bd8be10c5361955ab23 Subject: Copying mirrored partitions - will this work? 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, 20 Mar 2010 15:32:50 -0000 I'm currently running 8.0-RELEASE and am considering experimenting with 8.0-STABLE. I'd like to preserve my existing system in case things go pear-shaped so I'll copy the entire system onto a spare slice and then use csup to upgrade the copy to STABLE. Normally I'd go through the steps of bsdlabel, newfs and then dump|restore to create the copy but I'm wondering if I can take advantage of my recently created gmirror to cut down the work. I have two 500GB disks, /dev/ad4 and /dev/ad8, each partitioned into 4 slices of 88, 88, 42 and 259GB. My system is installed on the first slices (ad4s1 and ad8s1) which are mirrored as /dev/mirror/gm0. The second slices (ad4s2 and ad8s2) are currently unused. My thoughts are to temporarily add ad4s2 into gm0 with "gmirror insert gm0 ad4s2" and wait for the mirror to synchronise. I should then be able to remove the temporary addition with "gmirror remove gm0 /dev/ad4s2" at which point ad4s2 should be a duplicate of the original system and I can then go ahead and create a new mirror with "gmirror label -b load gm1 ad4s2" and "gmirror insert gm1 ad8s2". After editing /etc/fstab in the new mirror to use gm1 instead of gm0 I should then be able to boot into the system on slice 2 and upgrade it to STABLE while still keeping my original system to fall back to if required. Is this approach of moving disks from one mirror to another workable, or have I missed something that would lead me into deep trouble? I don't mind unduly if I make a mess of the second slice and have to start again but I don't want to lose the contents of my original system on slice 1. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 16:14:20 2010 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 DC4E3106566B for ; Sat, 20 Mar 2010 16:14:19 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp102.prem.mail.ac4.yahoo.com (smtp102.prem.mail.ac4.yahoo.com [76.13.13.41]) by mx1.freebsd.org (Postfix) with SMTP id 7F82C8FC13 for ; Sat, 20 Mar 2010 16:14:19 +0000 (UTC) Received: (qmail 81137 invoked from network); 20 Mar 2010 16:14:18 -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=g/YAlEiEyRI+hpIIpKCI63fp7s46a0QEbCuFFo+uNS48NT1GCTJcgU/iZBwWkUJ0GbNxGyp2zGm4O8tR/6gaTx9Ylv6uDgiyaPpycf9x9MIM6GtkPLZXIPmLQQViimrRI5f0/iIBy7d4fIxQIwrFD0jU+dggup1GpdO2mn60F6I= ; Received: from c-67-189-160-65.hsd1.ny.comcast.net (gesbbb@67.189.160.65 with login) by smtp102.prem.mail.ac4.yahoo.com with SMTP; 20 Mar 2010 09:14:18 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: SZBUlgYVM1laNfkzYIQrysvpgBahnNgubbZ7Gm2s4yDINIjxThbcPIHEEXQtHqZGOXTA6K901nys.We8FbO3soOy1Fqt80evETXAPN.5kI3ayse5auOo_Jy8VVuCAToWck33ieaieAmpAbs41P9Wk910clJ36hYZ3pncaRvDT_2TZUCW8cK8xuSaKwKVjJMgNG7li1F9oLVpqKxcvcv20t99S6TWBqMcsYkdxF5STbpBQSC7WyE4exYXSlzZc6gn2_BpPNWfp7yIoRgbo6sNiveOmqDS1I7JWi_eSf6dC22.NvqNISC3kh3mTcYcM.QtVAl17vV2lw7xrUCK9c.S6w4q5A-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (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 F26E522830 for ; Sat, 20 Mar 2010 12:14:17 -0400 (EDT) Date: Sat, 20 Mar 2010 12:14:17 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100320121417.67724938@scorpio.seibercom.net> In-Reply-To: <4BA4EA8C.3090702@locolomo.org> References: <201003201318.o2KDIcIt001241@fix.fantomatic.co.uk> <4BA4EA8C.3090702@locolomo.org> Organization: seibercom.net X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd7.3) 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=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: securing sshd 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: Sat, 20 Mar 2010 16:14:20 -0000 On Sat, 20 Mar 2010 16:32:28 +0100 Erik Norgaard articulated: > > * Disabled password logins completely, and to only allow public key > > authentication > > This seems good for security, but not always practical. Now you have > to walk around with a USB or have keys on your laptop and if you > loose the USB or the laptop gets stolen you can't get access. Worse, > you can't revoke the keys till you get back home. Worse yet, if you get shot and killed you won't be able to access your data no matter how hard you try. Seriously, disabling password log-ins and using key authentication is extremely secure. Do make sure that you password protect your keys however. In any event, if you laptop or whatever is stolen, you have more than just one problem to contend with anyway. -- Jerry gesbbb@yahoo.com Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ It's not whether you win or lose, it's how you place the blame. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 16:31:08 2010 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 3922A106564A for ; Sat, 20 Mar 2010 16:31:08 +0000 (UTC) (envelope-from eliaschr@cha.forthnet.gr) Received: from mx-out.forthnet.gr (mx-out.forthnet.gr [193.92.150.104]) by mx1.freebsd.org (Postfix) with ESMTP id A2A578FC12 for ; Sat, 20 Mar 2010 16:31:07 +0000 (UTC) Received: from mx-av-03.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-01.forthnet.gr (8.14.3/8.14.3) with ESMTP id o2KGV5pP014003 for ; Sat, 20 Mar 2010 18:31:05 +0200 Received: from MX-IN-05.forthnet.gr (mx-in-05.forthnet.gr [193.92.150.30]) by mx-av-03.forthnet.gr (8.14.3/8.14.3) with ESMTP id o2KGV5Ch023253 for ; Sat, 20 Mar 2010 18:31:05 +0200 Received: from pluto.universe (62.1.165.170.dsl.dyn.forthnet.gr [62.1.165.170]) by MX-IN-05.forthnet.gr (8.14.3/8.14.3) with ESMTP id o2KGV434011141 for ; Sat, 20 Mar 2010 18:31:04 +0200 Authentication-Results: MX-IN-05.forthnet.gr smtp.mail=eliaschr@cha.forthnet.gr; spf=neutral Authentication-Results: MX-IN-05.forthnet.gr header.from=eliaschr@cha.forthnet.gr; sender-id=neutral From: Elias Chrysocheris To: freebsd-questions@freebsd.org Date: Sat, 20 Mar 2010 18:31:03 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-RELEASE-p2; KDE/4.3.5; amd64; ; ) References: <201003201318.o2KDIcIt001241@fix.fantomatic.co.uk> <4BA4EA8C.3090702@locolomo.org> <20100320121417.67724938@scorpio.seibercom.net> In-Reply-To: <20100320121417.67724938@scorpio.seibercom.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201003201831.03969.eliaschr@cha.forthnet.gr> Subject: Re: securing sshd 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, 20 Mar 2010 16:31:08 -0000 On Saturday 20 of March 2010 18:14:17 Jerry wrote: > On Sat, 20 Mar 2010 16:32:28 +0100 > > Erik Norgaard articulated: > > > * Disabled password logins completely, and to only allow public key > > > authentication > > > > This seems good for security, but not always practical. Now you have > > to walk around with a USB or have keys on your laptop and if you > > loose the USB or the laptop gets stolen you can't get access. Worse, > > you can't revoke the keys till you get back home. > > Worse yet, if you get shot and killed you won't be able to access your > data no matter how hard you try. > > Seriously, disabling password log-ins and using key authentication is > extremely secure. Do make sure that you password protect your keys > however. In any event, if you laptop or whatever is stolen, you have > more than just one problem to contend with anyway. > Another thing you could do is perhaps to secure your sshd using a program like sshguard. This is another measure you could take against brute force attack to your ssh. Elias From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 17:06:36 2010 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 1395A106566B for ; Sat, 20 Mar 2010 17:06:36 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id BCFA98FC19 for ; Sat, 20 Mar 2010 17:06:35 +0000 (UTC) Received: from beta.local (ppp-88-217-26-61.dynamic.mnet-online.de [88.217.26.61]) by mail.locolomo.org (Postfix) with ESMTPSA id 3D02D1C0871 for ; Sat, 20 Mar 2010 18:06:34 +0100 (CET) Message-ID: <4BA50098.7080602@locolomo.org> Date: Sat, 20 Mar 2010 18:06:32 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201003201318.o2KDIcIt001241@fix.fantomatic.co.uk> <4BA4EA8C.3090702@locolomo.org> <20100320121417.67724938@scorpio.seibercom.net> In-Reply-To: <20100320121417.67724938@scorpio.seibercom.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: securing sshd 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, 20 Mar 2010 17:06:36 -0000 On 20/03/10 17:14, Jerry wrote: > Seriously, disabling password log-ins and using key authentication is > extremely secure. Do make sure that you password protect your keys > however. In any event, if you laptop or whatever is stolen, you have > more than just one problem to contend with anyway. I don't doubt that it is much harder to brute force a key than a password. I simply say that it is not always practical. Anyone stealing or finding your usb or laptop will likely not be too interested in your data. But, now you have to carry the key and protect it. If you travel a lot, and travel light, you bring just a usb stick which is easily lost, and being without access for months is not fun. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 17:07:43 2010 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 34490106564A for ; Sat, 20 Mar 2010 17:07:43 +0000 (UTC) (envelope-from ltsampros@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id A1EDA8FC1C for ; Sat, 20 Mar 2010 17:07:42 +0000 (UTC) Received: by bwz8 with SMTP id 8so3846109bwz.3 for ; Sat, 20 Mar 2010 10:07:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :references:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=csxOod28s0GtL18LkYpc/vSTKIyKxO51uS62K8VcuF8=; b=DcCymsZ0GeqLQ3A/FkOsFHb3Km+L0xDNKfBso7hliFhWBGSN6TaQETu6yn35jG6Xil kXVDJSMfw8KO9sgjzgus7nU7X1ynCX3ezozml9WahOBCsz054h4RETv4GHmIJno0JoyK aTyJ8/Fvtgg4lY3G91xWmW1vCUs8d89VO7MSo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=lH0+DDt3BZMOkTdHvSzYkDw5HW3LSAggSaiKTFq0FYsJQSrUj4SIhzdiUVEs/PVebf pWOsdW/mvsrcdu20BFdBjBAWsy4SJREiqwwZ6KMOL/DhL87RIobbSfj4W6sRzsdhVxmn S/jLGINl0avQCSt/ZvKtXSvYyhyXiE2M200CI= Received: by 10.204.131.85 with SMTP id w21mr2139261bks.174.1269104861522; Sat, 20 Mar 2010 10:07:41 -0700 (PDT) Received: from ltsampros-laptop.bifteki.lan (ppp-94-66-87-24.home.otenet.gr [94.66.87.24]) by mx.google.com with ESMTPS id s17sm10308149bkd.16.2010.03.20.10.07.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 20 Mar 2010 10:07:41 -0700 (PDT) Sender: Leonidas Tsampros From: Leonidas Tsampros To: Jamie Griffin References: <201003201318.o2KDIcIt001241@fix.fantomatic.co.uk> Date: Sat, 20 Mar 2010 19:07:34 +0200 In-Reply-To: <201003201318.o2KDIcIt001241@fix.fantomatic.co.uk> (Jamie Griffin's message of "Sat, 20 Mar 2010 13:18:38 +0000 (GMT)") Message-ID: <87wrx69b1l.fsf@upnet.gr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: securing sshd 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, 20 Mar 2010 17:07:43 -0000 Jamie Griffin writes: > Hello > > I've been reading up on securing sshd after being bombarded with attempted logins. > > The steps i've taken so far to make things more secure are: > > * changed the encryption method for passwords in /etc/login.conf from md5 to blowfish and changed all the passwords to ridiculously obscure ones (at least as obscure as I could think of). > > * changed /etc/ttys secure entries to insecure to prevent root logins on the console > > (the above are not really sshd specific i know.) > > * Disabled root login by ssh in /etc/ssh/sshd_config > > * Set myself as the only user able to login by ssh > > * Disabled password logins completely, and to only allow public key authentication > > * Changed the default ssh port from 22 to something much higher > > I'm the only user that will ever need to log into the machine. I wondered, does this setup seem ok and are there any other methods used by anyone on list that might help me to secure remote logins even further? Hi, I'm using the following pf snippet in order to "protect" myself and my system's logs against brute force attemps on sshd: # # Block them all # block log quick from # # connection rate the incoming ssh connections and fill the bruteforce # table # pass in log inet proto tcp from any to any port = 22 \ flags S/SA keep state \ (max-src-conn 10, max-src-conn-rate 5/4, \ overload flush global) For more information on how this works, take a look at pf.conf(5). I don't know if it's complete (or even good practice), but a) I think it works for me and b) it does not depend on a port-provided solution. > Thanks for any help. > > Jamie > _______________________________________________ > 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 Sat Mar 20 17:23:44 2010 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 3647C1065670 for ; Sat, 20 Mar 2010 17:23:44 +0000 (UTC) (envelope-from jg@fantomatic.co.uk) Received: from fix.fantomatic.co.uk (fix.fantomatic.co.uk [81.174.154.245]) by mx1.freebsd.org (Postfix) with ESMTP id B10AA8FC1C for ; Sat, 20 Mar 2010 17:23:43 +0000 (UTC) Received: from fix.fantomatic.co.uk (localhost [127.0.0.1]) by fix.fantomatic.co.uk (8.14.3/8.14.3) with ESMTP id o2KHNq0f001282 for ; Sat, 20 Mar 2010 17:23:52 GMT (envelope-from jg@fix.fantomatic.co.uk) Received: (from jg@localhost) by fix.fantomatic.co.uk (8.14.3/8.14.3/Submit) id o2KHNqBd001280 for freebsd-questions@freebsd.org; Sat, 20 Mar 2010 17:23:52 GMT (envelope-from jg) Message-Id: <201003201723.o2KHNqBd001280@fix.fantomatic.co.uk> To: freebsd-questions@freebsd.org Date: Sat, 20 Mar 2010 17:23:51 +0000 (GMT) In-Reply-To: <87wrx69b1l.fsf@upnet.gr> From: Jamie Griffin X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: securing sshd 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, 20 Mar 2010 17:23:44 -0000 I think on reflection I might have been a little over the top with blocking password logins and I think the point about carrying a key on a usb stick, etc, is a very good one. The reason I went with that decision is because I only expect to be logging in to the server from two locations: at home or from a computer at my university, where the public key can be kept in the accounts I use at each location. Also, there are no other users loggin into it so it won't be too much of a problem doing it this way, i hope. When I saw hundreds of failed login attemps I panicked a bit i think :-) I really like the pf option and have just set up a similar rule actually, which i think will work well because i've also got it working with spamd to greylist inbound mail, as recommended by someone on this list the other day. Really appreciate all the good advice though, thanks. Jamie From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 18:26:04 2010 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 A5112106566C for ; Sat, 20 Mar 2010 18:26:04 +0000 (UTC) (envelope-from tom@tompurl.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 466D88FC16 for ; Sat, 20 Mar 2010 18:26:03 +0000 (UTC) Received: by fxm22 with SMTP id 22so3906227fxm.14 for ; Sat, 20 Mar 2010 11:26:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.155.1 with SMTP id g1mr1784823hbc.121.1269109562908; Sat, 20 Mar 2010 11:26:02 -0700 (PDT) In-Reply-To: References: Date: Sat, 20 Mar 2010 13:26:02 -0500 Message-ID: From: Tom Purl To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Trouble Installing JKD15 On A Vanilla 8.0 Installation 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, 20 Mar 2010 18:26:04 -0000 On Fri, Mar 19, 2010 at 10:03 AM, Warren Block wrote: > On Fri, 19 Mar 2010, Tom Purl wrote: >> First, after the port had compiled on my system for many hours, it >> crashed with an error message stating that I was "out of swap space". I >> had only devoted 128 MB of RAM to the VM at this point (I planned to >> increase it later), so I doubled that to 256 MB > > That still seems pretty small for a Java build from source. Give the VM as > much memory as the host can afford. You can always reduce that after the > build is done. > >> and re-ran "make install clean". > > There may have been a half-built work directory still in place from the > failed build. If that happens, clear it with a 'make clean'. > > For big ports like Java, it helps to break up the steps. Do just a make, > then if it builds, make install, then after that succeeds, make clean. Thanks for the advice Warren! I ended up doing the following: * Giving the VM 512 MB of RAM. I also tried with 256, but I got the same "out of swap space" error. * cd /usr/ports/java/jdk15 && make clean * make # wait 4 or 5 hours for this package alone :) * make install * make clean * make distclean This finally worked for me I didn't get any other errors. >> 1. Is Java 5 not supported on version 8 of FreeBSD? I found the >> following tip that apparently eliminates this error, but it really seems >> to be a hack to me. Is there a better way? >> >> * http://lists.freebsd.org/pipermail/freebsd-ports/2008-July/049686.html > > Don't know, but jkd16 works on 8. Except the Firefox plugin. It's now clear to me that jdk15 does work on 8. Thanks again Warren! Tom Purl From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 18:40:05 2010 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 AC215106566C for ; Sat, 20 Mar 2010 18:40:05 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 5DD868FC0C for ; Sat, 20 Mar 2010 18:40:05 +0000 (UTC) Received: from beta.local (ppp-88-217-26-61.dynamic.mnet-online.de [88.217.26.61]) by mail.locolomo.org (Postfix) with ESMTPSA id C23791C0871 for ; Sat, 20 Mar 2010 19:40:03 +0100 (CET) Message-ID: <4BA51681.4020209@locolomo.org> Date: Sat, 20 Mar 2010 19:40:01 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201003201723.o2KHNqBd001280@fix.fantomatic.co.uk> In-Reply-To: <201003201723.o2KHNqBd001280@fix.fantomatic.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: securing sshd 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, 20 Mar 2010 18:40:05 -0000 On 20/03/10 18:23, Jamie Griffin wrote: > The reason I went with that decision is because I only expect to be > logging in to the server from two locations: at home or from a > computer at my university In that case, the best thing you can do is figure out the IP ranges of either location. Check your log for your own successful logins to find the source IP, then look up the range with whois. You can be pretty sure that wherever you are on campus, the assigned IP will be in that range. Then just allow access from those ranges and block everything else in your firewall. Whitelists are far easier to manage than black lists. Having some daemon running to monitor illicit attempts to login and block the source is futile. You can be almost certain that you won't see that IP in your logs again, partly because these attempts may come from botnets, partly because the source may be assigned IP dynamically. Btw. I found two articles on securityfocus.com, the first is analysis using a honeypot, as you see these attacks are pretty lame: http://www.symantec.com/connect/articles/analyzing-malicious-ssh-login-attempts Then somebody having to respond, because security was pretty lame: http://www.symantec.com/connect/articles/responding-brute-force-ssh-attack?ref=rss BR, Erik -- Erik Nrgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 18:46:42 2010 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 4EDA81065672 for ; Sat, 20 Mar 2010 18:46:42 +0000 (UTC) (envelope-from fbsd@brightstar.bomgardner.net) Received: from brightstar.bomgardner.net (brightstar.bomgardner.net [209.240.79.79]) by mx1.freebsd.org (Postfix) with ESMTP id 0FD288FC0A for ; Sat, 20 Mar 2010 18:46:41 +0000 (UTC) Received: from brightstar.bomgardner.net (localhost [127.0.0.1]) by brightstar.bomgardner.net (Postfix) with ESMTP id BC578119C09 for ; Sat, 20 Mar 2010 13:46:40 -0500 (CDT) From: "Gene" To: FreeBSD-Questions@FreeBSD.org Date: Sat, 20 Mar 2010 12:46:40 -0600 Message-Id: <20100320184228.M62623@brightstar.bomgardner.net> X-Mailer: OpenWebMail 2.52 20060502 X-OriginatingIP: 192.168.0.2 (fbsd) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: Subject: AMD 64 X2 - Dual Core? 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, 20 Mar 2010 18:46:42 -0000 Hi - I just got a board with an AMD Athlon 64 X2 cpu. I was wondering - 1) Is the amd64 8.0 release the fbsd of choice here? and 2) Does it take advantage of the athlon's dual cores? Thanks, IHN, Gene -- To everything there is a season, And a time to every purpose under heaven. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 18:50:24 2010 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 009C01065676 for ; Sat, 20 Mar 2010 18:50:24 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp2.utsp.utwente.nl [130.89.2.9]) by mx1.freebsd.org (Postfix) with ESMTP id 791828FC0C for ; Sat, 20 Mar 2010 18:50:22 +0000 (UTC) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id o2KIoFk5018728; Sat, 20 Mar 2010 19:50:15 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Sat, 20 Mar 2010 19:50:15 +0100 User-Agent: KMail/1.9.10 References: <4cac4bed1003181028h74aff209y31e9c70bfb6ec367@mail.gmail.com> In-Reply-To: <4cac4bed1003181028h74aff209y31e9c70bfb6ec367@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201003201950.15698.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact icts.servicedesk@utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Jayadev Kumar Subject: Re: API to find the memory usage of a process. 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, 20 Mar 2010 18:50:24 -0000 On Thursday 18 March 2010 18:28:48 Jayadev Kumar wrote: > Hi, > > I need to find the memory usage of a process, from inside the process. > Is there any system call > do this ? I was trying to find it from 'top' utility source code. I > couldn't find the port which it is coming > from yet. > > Thanks, > Jayadev. Check out getrusage(2). - Pieter From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 18:58:41 2010 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 087F9106564A for ; Sat, 20 Mar 2010 18:58:41 +0000 (UTC) (envelope-from jg@fantomatic.co.uk) Received: from fix.fantomatic.co.uk (fix.fantomatic.co.uk [81.174.154.245]) by mx1.freebsd.org (Postfix) with ESMTP id 640C18FC14 for ; Sat, 20 Mar 2010 18:58:40 +0000 (UTC) Received: from fix.fantomatic.co.uk (localhost [127.0.0.1]) by fix.fantomatic.co.uk (8.14.3/8.14.3) with ESMTP id o2KIwmet001399 for ; Sat, 20 Mar 2010 18:58:48 GMT (envelope-from jg@fix.fantomatic.co.uk) Received: (from jg@localhost) by fix.fantomatic.co.uk (8.14.3/8.14.3/Submit) id o2KIwmiB001397 for freebsd-questions@freebsd.org; Sat, 20 Mar 2010 18:58:48 GMT (envelope-from jg) Message-Id: <201003201858.o2KIwmiB001397@fix.fantomatic.co.uk> To: freebsd-questions@freebsd.org Date: Sat, 20 Mar 2010 18:58:48 +0000 (GMT) In-Reply-To: <4BA51681.4020209@locolomo.org> From: Jamie Griffin X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: securing sshd 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, 20 Mar 2010 18:58:41 -0000 > In that case, the best thing you can do is figure out the IP ranges of > either location. Definately a good idea, thanks Eric. > Btw. I found two articles on securityfocus.com, the first is analysis > using a honeypot, as you see these attacks are pretty lame: > http://www.symantec.com/connect/articles/analyzing-malicious-ssh-login-attempts > Then somebody having to respond, because security was pretty lame: > http://www.symantec.com/connect/articles/responding-brute-force-ssh-attack?ref=rss Thanks for posting those links, interesting information there. Jamie From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 19:00:55 2010 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 99782106566B for ; Sat, 20 Mar 2010 19:00:55 +0000 (UTC) (envelope-from gosand1982@yahoo.com) Received: from n2-vm1.bullet.mail.gq1.yahoo.com (n2-vm1.bullet.mail.gq1.yahoo.com [67.195.23.155]) by mx1.freebsd.org (Postfix) with SMTP id 675F38FC0A for ; Sat, 20 Mar 2010 19:00:55 +0000 (UTC) Received: from [98.137.27.132] by n2.bullet.mail.gq1.yahoo.com with NNFMP; 20 Mar 2010 19:00:54 -0000 Received: from [67.195.9.99] by t4.bullet.mail.gq1.yahoo.com with NNFMP; 20 Mar 2010 19:00:54 -0000 Received: from [127.0.0.1] by omp103.mail.gq1.yahoo.com with NNFMP; 20 Mar 2010 19:00:54 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 606341.5466.bm@omp103.mail.gq1.yahoo.com Received: (qmail 21515 invoked by uid 60001); 20 Mar 2010 19:00:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1269111654; bh=2UaJV9u3b592oBMHy3vwFodnsCddOgY/ap/RawwdLXY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=5dSU6rD2js2DSyIPEA77nU85uV498R6RaHWFaRAtg3jEv+ZUXOvQ2BaQH5J8uWP9EfF2OX4uiJOR5rsNfJowvJpE3FyP/mphb1S5VcFRlEsCPM0mcHCiNnEGqDPGFTfxJvS7IfalRdpif3rY2fzxdFUz+20qXq5TtGlWGFnX370= 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:MIME-Version:Content-Type; b=ycOSyhwWxIg+QxRv1QBp4yjCO3HdvF9kqwyB2ARIPNSx097ojJuJdTcI14APi2EJxbgMojqxdaNGu8VVfAPq6C4x51PKSDLBZm8mvM6wlSuU3PxN3Ve1yVKc6sMu1meDAi7xQF1CXC8GljeJ7sC0XjMgbOnveiSy4dvqktq5JBI=; Message-ID: <99570.21512.qm@web111604.mail.gq1.yahoo.com> X-YMail-OSG: Q3bg0E0VM1kFvyr0f5FFN4NkNdikWuazZZcj35yPmBwO6NE JoPO_KwZ6cc2Qn9za_TZim8unHwnRlYfvG5cTSGeMCflL5mGQ5xIm734kRqW xKPcoRclsNsxZ.h1WCYqcj1ecS0lNnWNilm9rEJ3sJG.ToGERaMIoTdAXaGt Rl7m1Mgc3oC3ii5qRu7EySB1zTH0mw6LGQ6uTziV2bJUP4FOomc7or0eTqN1 Ra3_hMzEfwOkH9KM4QY8urpYeyX2Czlj3b.PHk6Pj2nm.AcU2gbzEZCaxzUr TOWDgO6s- Received: from [24.5.102.43] by web111604.mail.gq1.yahoo.com via HTTP; Sat, 20 Mar 2010 12:00:53 PDT X-Mailer: YahooMailRC/324.3 YahooMailWebService/0.8.100.260964 Date: Sat, 20 Mar 2010 12:00:53 -0700 (PDT) From: George Sanders To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: RE: How do I fix the broken python26 port in 7.2-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: Sat, 20 Mar 2010 19:00:55 -0000 > Virgin 7.2-RELEASE install. > > I run: > > csup -h cvsup4.freebsd.org -i ports/lang/python26 -g -L 2 > /usr/share/examples/cvsup/ports-supfile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > and now I have a /usr/ports/lang/python26/distinfo that looks like: > > MD5 (python/Python-2.6.4.tgz) = 17dcac33e4f3adb69a57c2607b6de246 > SHA256 (python/Python-2.6.4.tgz) = > 1a25a47506e4165704cfe2b07c0a064b0b5762a2d18b8fbdad5af688aeacd252 SIZE > (python/Python-2.6.4.tgz) = 13322131 > > This looks like mine. > > Perfect. I'll just do a 'make install' and ... > > # make install > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for python26-2.6.4 > => Python-2.6.1.tgz is not in /usr/ports/lang/python26/distinfo. > => Either /usr/ports/lang/python26/distinfo is out of date, or > => Python-2.6.1.tgz is spelled incorrectly. > *** Error code 1 > > This is the wrong distfile. Ok, but as you can see from the paste above, I _do_ have the right distfile in my /ports/lang/python26 directory. So where is it getting this wrong distfile from, and why is it using it ? I am NOT csup'ing and installing the port all in one operation - I am doing two distinct things: 1. csup ONLY the python26 port 2. make install the python26 port Why is this rocket science ? From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 19:11:34 2010 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 58A18106564A for ; Sat, 20 Mar 2010 19:11:34 +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 D97738FC17 for ; Sat, 20 Mar 2010 19:11:33 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nt456-0005qW-Fp for freebsd-questions@freebsd.org; Sat, 20 Mar 2010 20:11:32 +0100 Received: from pool-68-239-65-75.res.east.verizon.net ([68.239.65.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Mar 2010 20:11:32 +0100 Received: from nightrecon by pool-68-239-65-75.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Mar 2010 20:11:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 20 Mar 2010 15:11:06 -0400 Lines: 60 Message-ID: References: <99570.21512.qm@web111604.mail.gq1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-68-239-65-75.res.east.verizon.net Subject: RE: How do I fix the broken python26 port in 7.2-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: Sat, 20 Mar 2010 19:11:34 -0000 George Sanders wrote: > > >> Virgin 7.2-RELEASE install. >> >> I run: >> >> csup -h cvsup4.freebsd.org -i ports/lang/python26 -g -L 2 >> /usr/share/examples/cvsup/ports-supfile > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> and now I have a /usr/ports/lang/python26/distinfo that looks like: >> >> MD5 (python/Python-2.6.4.tgz) = 17dcac33e4f3adb69a57c2607b6de246 >> SHA256 (python/Python-2.6.4.tgz) = >> 1a25a47506e4165704cfe2b07c0a064b0b5762a2d18b8fbdad5af688aeacd252 SIZE >> (python/Python-2.6.4.tgz) = 13322131 >> >> This looks like mine. >> >> Perfect. I'll just do a 'make install' and ... >> >> # make install >> ===> Vulnerability check disabled, database not found >> ===> Found saved configuration for python26-2.6.4 >> => Python-2.6.1.tgz is not in /usr/ports/lang/python26/distinfo. >> => Either /usr/ports/lang/python26/distinfo is out of date, or >> => Python-2.6.1.tgz is spelled incorrectly. >> *** Error code 1 >> >> This is the wrong distfile. > > > Ok, but as you can see from the paste above, I _do_ have the right > distfile in my /ports/lang/python26 directory. > > So where is it getting this wrong distfile from, and why is it using it ? > > I am NOT csup'ing and installing the port all in one operation - I am > doing two distinct things: > > 1. csup ONLY the python26 port And by doing this and not refreshing the entire ports tree you are trying to build with an out of date /usr/ports/Mk. With other ports which have dependencies this would become apparent much quicker. Since python26 does not, it would seem the bsd.python.mk thinks you should be trying to build python 2.6.1. > 2. make install the python26 port > > Why is this rocket science ? > Dunno - works for me. -Mike From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 19:16:06 2010 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 7ABE2106564A for ; Sat, 20 Mar 2010 19:16:06 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 455958FC08 for ; Sat, 20 Mar 2010 19:16:05 +0000 (UTC) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id o2KJFuHM080794; Sat, 20 Mar 2010 15:15:56 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <201003201915.o2KJFuHM080794@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sat, 20 Mar 2010 15:15:35 -0400 To: "Gene" , FreeBSD-Questions@freebsd.org From: Mike Tancsa In-Reply-To: <20100320184228.M62623@brightstar.bomgardner.net> References: <20100320184228.M62623@brightstar.bomgardner.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: AMD 64 X2 - Dual Core? 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, 20 Mar 2010 19:16:06 -0000 At 02:46 PM 3/20/2010, Gene wrote: >Hi - >I just got a board with an AMD Athlon 64 X2 cpu. I was wondering - > >1) Is the amd64 8.0 release the fbsd of choice here? Yes. 8.0R is the way to go. However, you might want to bring it upto date after installing it as there are a number of bug fixes and feature enhancements since the release of 8.0. The FreeBSD handbook tells you how to do it. >and > >2) Does it take advantage of the athlon's dual cores? Both the i386 (32bit) and AMD64 (64bit) versions take advantage of multiple cores. If you have more than 4G of RAM, use the 64 bit version, otherwise use the 32bit install. ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 20:35:46 2010 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 97F36106564A for ; Sat, 20 Mar 2010 20:35:46 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 296E88FC12 for ; Sat, 20 Mar 2010 20:35:45 +0000 (UTC) Received: by fxm22 with SMTP id 22so3956098fxm.14 for ; Sat, 20 Mar 2010 13:35:45 -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:content-type; bh=OvoMi7dysBVfeTy3GVAktR2pUdJnmCiXgLUpffm8z1I=; b=YkGWk6Afo+vVQ1S9DYusbqnrpmttpjtblcKscHqnhkGNYs5rCus1VOa/4OneL1Wujc qfruHox4oojed8wAxhUSf72kLFkIAakYXbUa20M3o6yGjGXa6mfhm2CUygWMgGunQynS 8fQwL/J4pBMZ0aAKh3Yes4mIh6V0beAZ5E7cc= 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 :content-type; b=edliyQLFcaIFvNJBapNp/SoDqVHRSH4edUr5LvqchNhXmo9SupSihPY2hU4N7UPWUD W0tF0W9blYuZBMdimh/u2I8RQJBJGwgaKhJNYh0QglVDOvbIjiU+LxQcB/xZwJK4Cc3W DkoKOiX9dbX2xNaM4b4M5wbU25CLTvRikZj2Y= MIME-Version: 1.0 Received: by 10.239.186.11 with SMTP id e11mr305334hbh.82.1269117344592; Sat, 20 Mar 2010 13:35:44 -0700 (PDT) In-Reply-To: <20100320184228.M62623@brightstar.bomgardner.net> References: <20100320184228.M62623@brightstar.bomgardner.net> Date: Sat, 20 Mar 2010 20:35:44 +0000 Message-ID: From: krad To: Gene , FreeBSD-Questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: AMD 64 X2 - Dual Core? 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, 20 Mar 2010 20:35:46 -0000 I totally disagree with using the 32bit unless you have a specific need or potentially if you are running it as a desktop. 64 everytime for servers for loads of reasons. If you are running less than 4 gig their is a fair chance you will in the next few years On 3/20/10, Gene wrote: > Hi - > I just got a board with an AMD Athlon 64 X2 cpu. I was wondering - > > 1) Is the amd64 8.0 release the fbsd of choice here? > > and > > 2) Does it take advantage of the athlon's dual cores? > > Thanks, > > IHN, > Gene > > -- > To everything there is a season, > And a time to every purpose under heaven. > > _______________________________________________ > 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" > -- Sent from my mobile device From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 22:15:31 2010 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 EE4AB1065672 for ; Sat, 20 Mar 2010 22:15:31 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 865AB8FC08 for ; Sat, 20 Mar 2010 22:15:31 +0000 (UTC) Received: by fxm22 with SMTP id 22so3990815fxm.14 for ; Sat, 20 Mar 2010 15:15:30 -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=JXbQ73PlemzRMs/MdSgy3uNm9B1eRP5OskLugIsuuiA=; b=krP512t3ZK96klp3UTNxTSoQ+6wAo9v7/jAob3r9n8vkFycbziDDWaastQ0idYhf42 6MxKrvPmXUAZsH8H+OF1opgoCqsRA1DJMoWjcok1kvysc4kNZpwutywzHZ9thWZgKmMo vkF15x8QD+SgPiuZFnmLT7arBGNNYv4QW5BM4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=neghiR0TOszq91cU7Rle0zc/3r+xSVEJj67wVl8S9aSrUehkEIIWu3tdlbiq4qNelk D1eC/S40iQ0NCzPinf3fifP5Y0ldKxnPhTpTKvNA/yDb29H4Onw70+Qoimp0pEMfNL58 zlencUKBw//P3PZhuoayujkso30wlnFpAj1to= MIME-Version: 1.0 Received: by 10.239.134.13 with SMTP id 13mr300533hbx.195.1269123330261; Sat, 20 Mar 2010 15:15:30 -0700 (PDT) Date: Sat, 20 Mar 2010 22:15:30 +0000 Message-ID: From: krad To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: net-snmp pass scripts 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, 20 Mar 2010 22:15:32 -0000 Hi, I know this isn't the ideal, place but im not having much joy on the net-snmp users mailing list. Does anyone have any good guides for writing or examples of snmp pass scripts? From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 22:17:31 2010 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 CAF8D106566B for ; Sat, 20 Mar 2010 22:17:31 +0000 (UTC) (envelope-from jozsi.avadkan@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 5C0C98FC0C for ; Sat, 20 Mar 2010 22:17:30 +0000 (UTC) Received: by fxm22 with SMTP id 22so3991556fxm.14 for ; Sat, 20 Mar 2010 15:17:29 -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=wI78JOvgakPgVkSZtIdv1dT0BfB0kXdm6U3jx3ZSAWo=; b=vv0dWd9J+QoBuQBLFaR8oLMeE/pCQQXlZ0R4HqkwgO0bg4jvDNpsD96btZS4OIwuXp S8UaBvUOZXbb0qcxK0JYldVnlqo1v59gWlUuFrG0ZQjdX6zEoaK2cPaVdF1MIYHFDMqp h4pOfqT4NXW/TuYsd8LjFn40cEUCRUZd67Y6o= 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=hEXD+1gdehNu8OTdU4Gwa7CcRhBMzv47yvsv7a8aCZFG0SDsGXeFVHQvPFgCQgzxmQ 30pzNGQamgpe/mONP0GSay8NQ4DSpUpwuZ2N7vxDvZBWzE0GGL+u4JlrftcEBhxkfLYc 3jF0VCu24zqLUubLA9YljrRUKxbUXDlZch8cU= Received: by 10.102.169.39 with SMTP id r39mr132777mue.126.1269123449324; Sat, 20 Mar 2010 15:17:29 -0700 (PDT) Received: from [192.168.0.88] (178-164-140-81.pool.digikabel.hu [178.164.140.81]) by mx.google.com with ESMTPS id 12sm6517735muq.1.2010.03.20.15.17.28 (version=SSLv3 cipher=RC4-MD5); Sat, 20 Mar 2010 15:17:28 -0700 (PDT) From: Vadkan Jozsef To: FreeBSD Mailing list Content-Type: text/plain; charset="UTF-8" Date: Sat, 20 Mar 2010 23:17:24 +0100 Message-ID: <1269123444.32263.53.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Subject: bruteforce protection howto 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, 20 Mar 2010 22:17:31 -0000 Two pc's: 1 - router 2 - logger Situation: someone tries to bruteforce into a server, and the logger get's a log about it [e.g.: ssh login failed]. What's the best method to ban that ip [what is bruteforcig a server] what was logged on the logger? I need to ban the ip on the router pc. How can i send the bad ip to the router, to ban it? Just run a cronjob, and e.g.: scp the list of ip's from the logger to the router, then ban the ip from the list on the router pc? Or is there any "offical" method for this? I'm just asking for docs/howtos.. :\ to get started.. Thank you! From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 22:59:33 2010 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 B4E871065670 for ; Sat, 20 Mar 2010 22:59:33 +0000 (UTC) (envelope-from jg@fantomatic.co.uk) Received: from fix.fantomatic.co.uk (fix.fantomatic.co.uk [81.174.154.245]) by mx1.freebsd.org (Postfix) with ESMTP id 3D2F98FC26 for ; Sat, 20 Mar 2010 22:59:32 +0000 (UTC) Received: from fix.fantomatic.co.uk (localhost [127.0.0.1]) by fix.fantomatic.co.uk (8.14.3/8.14.3) with ESMTP id o2KMxetN002296 for ; Sat, 20 Mar 2010 22:59:40 GMT (envelope-from jg@fix.fantomatic.co.uk) Received: (from jg@localhost) by fix.fantomatic.co.uk (8.14.3/8.14.3/Submit) id o2KMxeXo002295 for freebsd-questions@freebsd.org; Sat, 20 Mar 2010 22:59:40 GMT (envelope-from jg) Message-Id: <201003202259.o2KMxeXo002295@fix.fantomatic.co.uk> To: freebsd-questions@freebsd.org Date: Sat, 20 Mar 2010 22:59:40 +0000 (GMT) In-Reply-To: <1269123444.32263.53.camel@ubuntu> From: Jamie Griffin X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: bruteforce protection howto 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, 20 Mar 2010 22:59:33 -0000 > Two pc's: > 1 - router > 2 - logger > Situation: someone tries to bruteforce into a server, and the logger > get's a log about it [e.g.: ssh login failed]. > What's the best method to ban that ip [what is bruteforcig a server] > what was logged on the logger? > I need to ban the ip on the router pc. > > How can i send the bad ip to the router, to ban it? I was asking about this earlier, I went with pf which is already in the base system and also making sshd more secure by using the options in /etc/ssh/sshd_config. Have a look at `man 5 sshd_config` and there is loads of stuff on goodgle about this. So far, I really like what pf can do, check it out. `man pf.conf` and again there are lots of old posts on google, and the OpenBSD pf guide is good too: https://calomel.org/pf_config.html http://www.freebsd.org/doc/handbook/firewalls-pf.html http://www.openbsd.org/faq/pf/ Jamie From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 23:18:22 2010 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 7C62C106566B for ; Sat, 20 Mar 2010 23:18:22 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-qy0-f126.google.com (mail-qy0-f126.google.com [209.85.221.126]) by mx1.freebsd.org (Postfix) with ESMTP id 29F1A8FC15 for ; Sat, 20 Mar 2010 23:18:21 +0000 (UTC) Received: by qyk32 with SMTP id 32so272931qyk.13 for ; Sat, 20 Mar 2010 16:18:21 -0700 (PDT) Received: by 10.229.232.149 with SMTP id ju21mr2204887qcb.87.1269126311092; Sat, 20 Mar 2010 16:05:11 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id 23sm494043qyk.3.2010.03.20.16.05.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 20 Mar 2010 16:05:10 -0700 (PDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) by scorpio.seibercom.net (Postfix) with ESMTP id 0AEE722830 for ; Sat, 20 Mar 2010 19:05:08 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.3 at scorpio.seibercom.net Date: Sat, 20 Mar 2010 19:05:07 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100320190507.1fa4a50b@scorpio.seibercom.net> In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd7.3) 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=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: confirm 0e468fd0cede091de70f462228a30f3c07dd71fa 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: Sat, 20 Mar 2010 23:18:22 -0000 On Sat, 20 Mar 2010 21:34:27 +0000 freebsd-questions-request@freebsd.org freebsd-questions-request@freebsd.org articulated: > Mailing list subscription confirmation notice for mailing list > freebsd-questions > > We have received a request for subscription of your email address, > "FreeBSD.user@seibercom.net", to the freebsd-questions@freebsd.org > mailing list. To confirm that you want to be added to this mailing > list, simply reply to this message, keeping the Subject: header > intact. Or visit this web page: > > http://lists.freebsd.org/mailman/confirm/freebsd-questions/0e468fd0cede091de70f462228a30f3c07dd71fa > > > Or include the following line -- and only the following line -- in a > message to freebsd-questions-request@freebsd.org: > > confirm 0e468fd0cede091de70f462228a30f3c07dd71fa > > Note that simply sending a `reply' to this message should work from > most mail readers, since that usually leaves the Subject: line in the > right form (additional "Re:" text in the Subject: is okay). > > If you do not wish to be subscribed to this list, please simply > disregard this message. If you think you are being maliciously > subscribed to the list, or have any other questions, send them to > freebsd-questions-owner@freebsd.org.