From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 00:02:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA0E21065672 for ; Sun, 13 Dec 2009 00:02:38 +0000 (UTC) (envelope-from carlj@peak.org) Received: from mailscanner1.peak.org (mailscanner1.peak.org [69.59.192.38]) by mx1.freebsd.org (Postfix) with ESMTP id A62608FC14 for ; Sun, 13 Dec 2009 00:02:38 +0000 (UTC) Received: from peak-mail-gateway.peak.org (mail01.peak.org [69.59.192.41]) by mailscanner1.peak.org (8.13.8/8.13.8) with ESMTP id nBD02QUV009855 for ; Sat, 12 Dec 2009 16:02:26 -0800 Received: from cjlinux.localnet (dialup-4.255.65.21.Dial1.Seattle1.Level3.net [4.255.65.21]) (authenticated bits=0) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id nBD02M61034222 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sat, 12 Dec 2009 16:02:25 -0800 (PST) Received: from carlj by cjlinux.localnet with local (Exim 4.69) (envelope-from ) id 1NJbrK-0000nE-QG for freebsd-questions@freebsd.org; Sat, 12 Dec 2009 15:58:46 -0800 To: freebsd-questions@freebsd.org References: <4B23CD8A.50203@webtent.com> <20091212175949.GB3084@ozzmosis.com> <4B23DED5.3010308@webtent.net> From: Carl Johnson Date: Sat, 12 Dec 2009 15:58:46 -0800 In-Reply-To: <4B23DED5.3010308@webtent.net> (Robert Fitzpatrick's message of "Sat\, 12 Dec 2009 13\:20\:05 -0500") Message-ID: <87aaxnn3rd.fsf@cjlinux.localnet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-mailscanner1-MailScanner-Information: Please contact the ISP for more information X-mailscanner1-MailScanner-ID: nBD02QUV009855 X-mailscanner1-MailScanner: Found to be clean X-mailscanner1-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.573, required 6, autolearn=not spam, AWL 0.03, BAYES_00 -2.60) X-mailscanner1-MailScanner-From: carlj@peak.org X-Spam-Status: No Subject: Re: slow clock on FreeBSD 7.2 on 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: Sun, 13 Dec 2009 00:02:38 -0000 Robert Fitzpatrick writes: > On 12/12/2009 12:59 PM, andrew clarke wrote: >> On Sat 2009-12-12 12:06:18 UTC-0500, Robert Fitzpatrick (robert@webtent.com) wrote: >> >> >>> pgsql# cat /boot/loader.conf >>> kern.ipc.semmni=32 >>> kern.ipc.semmns=512 >>> hint.apic.0.disabled=1 >>> >> According to the loader.conf man page these should all be in the format: >> >> kern.ipc.semmni="32" >> kern.ipc.semmns="512" >> hint.apic.0.disabled="1" >> >> I don't know if this matters. >> >> I'm not sure hint.apic.0.disabled is valid for 7.2. sysctl -a doesn't >> list this variable on my machine. Maybe it's only available on some >> machines. >> >> >>> The only way I'm able to keep the clock up to date is to sync with >>> an Internet time server regularly. Anyone have an idea how fix this >>> issue? >>> >> Can you use ntpd? >> >> Regards >> Andrew >> > > I'm pulling from a time server now every hour, keeps it from getting > behind too much. Perhaps that is what I'll end up doing, loading the > ntp server, I guess that would keep it up to date better? Thanks. If it is consistently off by a certain amount, then you might want to look into /usr/sbin/ntptime to set a frequency offset. If it works, then you can put it into somewhere like /etc/rc.local. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 00:23:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDE4E10656F7 for ; Sun, 13 Dec 2009 00:23:04 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id 9548E8FC12 for ; Sun, 13 Dec 2009 00:23:04 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C001A862AE; Sun, 13 Dec 2009 01:23:02 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmthADrCI0tV44PPPGdsb2JhbACBSpcdgkcBAQEBN7gChCsEgWKEAQ X-IronPort-AV: E=Sophos;i="4.47,389,1257116400"; d="scan'208";a="14990059" 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; 13 Dec 2009 01:23:02 +0100 Message-ID: <4B2433E4.2040809@lazlarlyricon.com> Date: Sun, 13 Dec 2009 01:23:00 +0100 From: Rolf Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: "Sam Fourman Jr." References: <20091210144141.GB834@mech-cluster241.men.bris.ac.uk> <20091210095122.a164bf95.wmoran@potentialtech.com> <20091212.163352.850602504923947435.imp@bsdimp.com> <11167f520912121544j471e2f15oc2b2bdba926b46ab@mail.gmail.com> In-Reply-To: <11167f520912121544j471e2f15oc2b2bdba926b46ab@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Root exploit for FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2009 00:23:04 -0000 Sam Fourman Jr. wrote: >> Are you sure that OpenBSD has a better record? > > > I found this for loose reference. > http://en.wikipedia.org/wiki/OpenBSD#Security_and_code_auditing > > I will say that even though on the surface OpenBSD appears to have a > better track record security wise > I tend to use FreeBSD for my desktop needs because of things like > Nvidia Graphics (esp now that there is amd64 support) Where's that? The Nvidia site says nothing about it yet, and the makefile for x11/nvidia-driver still says ONLY_FOR_ARCHS=i386. I'm eagerly waiting for it, but I can't find anything other than a forum post (I don't have the address handy at this computer, but I know it's somewhere in the mailing list archive) from Zander at Nvidia corporation saying it's on its way. > also wine works in FreeBSD and some of my clinets still run windows apps. > > I find FreeBSD is the middle ground the world needs between Linix and OpenBSD > > Sam Fourman Jr. > Fourman Networks > _______________________________________________ > 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 Sun Dec 13 01:03:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2359106566B for ; Sun, 13 Dec 2009 01:03:47 +0000 (UTC) (envelope-from geo.liaskos@gmail.com) Received: from mail-fx0-f228.google.com (mail-fx0-f228.google.com [209.85.220.228]) by mx1.freebsd.org (Postfix) with ESMTP id 468D38FC0A for ; Sun, 13 Dec 2009 01:03:46 +0000 (UTC) Received: by fxm28 with SMTP id 28so450409fxm.13 for ; Sat, 12 Dec 2009 17:03:46 -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=ZgVF05X9L/7XVdLrHYyChbVU7rUDcc79gZNuXuFOTcw=; b=tyYVqbPmkApUGK+uWIatlgOWrA50cdwhqBYJMBMMcupXmLbcUj8QERp38/Wfe4cuPU RzkUkY5Z8Uu2X7ZKGjEZRMbgTAY1+8BgSLlM0kCzyJ3+KrTIZpq3VtJQ33iyg1g1eN7Y zQTQrDcBMCVcEWdOS+ZXUNsEttQbVCzghIero= 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=LSZnh6zY5r90MyV9sPaomsedAS4Z0W+k9CIPFwC2S525Dv4KvCFoedFJTy55DXNXb6 O1scf/8mAqnGzOuZfMLZbC4d/C2Qn5sV88wjferXF9f1mYtaTzIK7t+G0zqxg1rYho4z M1MAGBHvmhxAu4xNPejmqPNNqc1W7M7c0mvBc= MIME-Version: 1.0 Received: by 10.223.4.216 with SMTP id 24mr3444052fas.67.1260666226043; Sat, 12 Dec 2009 17:03:46 -0800 (PST) In-Reply-To: <4B2433E4.2040809@lazlarlyricon.com> References: <20091210144141.GB834@mech-cluster241.men.bris.ac.uk> <20091210095122.a164bf95.wmoran@potentialtech.com> <20091212.163352.850602504923947435.imp@bsdimp.com> <11167f520912121544j471e2f15oc2b2bdba926b46ab@mail.gmail.com> <4B2433E4.2040809@lazlarlyricon.com> Date: Sun, 13 Dec 2009 03:03:45 +0200 Message-ID: From: George Liaskos To: Rolf Nielsen Content-Type: text/plain; charset=ISO-8859-1 Cc: "Sam Fourman Jr." , freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Root exploit for FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2009 01:03:47 -0000 http://www.nvnews.net/vbulletin/showthread.php?t=142120 On Sun, Dec 13, 2009 at 2:23 AM, Rolf Nielsen wrote: > Sam Fourman Jr. wrote: >>> >>> Are you sure that OpenBSD has a better record? >> >> >> I found this for loose reference. >> http://en.wikipedia.org/wiki/OpenBSD#Security_and_code_auditing >> >> I will say that even though on the surface OpenBSD appears to have a >> better track record security wise >> I tend to use FreeBSD for my desktop needs because of things like >> Nvidia Graphics (esp now that there is amd64 support) > > Where's that? The Nvidia site says nothing about it yet, and the makefile > for x11/nvidia-driver still says ONLY_FOR_ARCHS=i386. I'm eagerly waiting > for it, but I can't find anything other than a forum post (I don't have the > address handy at this computer, but I know it's somewhere in the mailing > list archive) from Zander at Nvidia corporation saying it's on its way. > >> also wine works in FreeBSD and some of my clinets still run windows apps. >> >> I find FreeBSD is the middle ground the world needs between Linix and >> OpenBSD >> >> Sam Fourman Jr. >> Fourman Networks >> _______________________________________________ >> 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 Sun Dec 13 01:10:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 344FA1065692 for ; Sun, 13 Dec 2009 01:10:35 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.211.172]) by mx1.freebsd.org (Postfix) with ESMTP id EB36D8FC0C for ; Sun, 13 Dec 2009 01:10:34 +0000 (UTC) Received: by ywh2 with SMTP id 2so2096334ywh.27 for ; Sat, 12 Dec 2009 17:10:34 -0800 (PST) Received: by 10.150.127.23 with SMTP id z23mr4940768ybc.179.1260666633758; Sat, 12 Dec 2009 17:10:33 -0800 (PST) Received: from papi.localnet ([187.78.131.138]) by mx.google.com with ESMTPS id 9sm1151982ywe.11.2009.12.12.17.10.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 12 Dec 2009 17:10:33 -0800 (PST) From: Mario Lobo To: freebsd-questions@freebsd.org Date: Sat, 12 Dec 2009 22:09:30 -0300 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; amd64; ; ) References: <20091210144141.GB834@mech-cluster241.men.bris.ac.uk> <11167f520912121544j471e2f15oc2b2bdba926b46ab@mail.gmail.com> <4B2433E4.2040809@lazlarlyricon.com> In-Reply-To: <4B2433E4.2040809@lazlarlyricon.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912122209.30186.lobo@bsd.com.br> Subject: Re: Root exploit for FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2009 01:10:35 -0000 On Saturday 12 December 2009 21:23:00 Rolf Nielsen wrote: > Where's that? The Nvidia site says nothing about it yet, and the > makefile for x11/nvidia-driver still says ONLY_FOR_ARCHS=i386. I'm > eagerly waiting for it, but I can't find anything other than a forum > post (I don't have the address handy at this computer, but I know it's > somewhere in the mailing list archive) from Zander at Nvidia corporation > saying it's on its way. > http://www.nvnews.net/vbulletin/showthread.php?t=142120 -- 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 Sun Dec 13 01:44:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE76B106566B for ; Sun, 13 Dec 2009 01:44:57 +0000 (UTC) (envelope-from lazlar@lazlarlyricon.com) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id 68EAB8FC0C for ; Sun, 13 Dec 2009 01:44:57 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy3.bredband.net (7.3.140.3) id 4AD3E1BA0199D30B for freebsd-questions@freebsd.org; Sun, 13 Dec 2009 02:44:55 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmthACbWI0tV44PPPGdsb2JhbACBSpcdgkcBAQEBN4hArxWEKwQ X-IronPort-AV: E=Sophos;i="4.47,389,1257116400"; d="scan'208";a="15005351" 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; 13 Dec 2009 02:44:55 +0100 Message-ID: <4B244716.3090505@lazlarlyricon.com> Date: Sun, 13 Dec 2009 02:44:54 +0100 From: Rolf G Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20091210144141.GB834@mech-cluster241.men.bris.ac.uk> <11167f520912121544j471e2f15oc2b2bdba926b46ab@mail.gmail.com> <4B2433E4.2040809@lazlarlyricon.com> <200912122209.30186.lobo@bsd.com.br> In-Reply-To: <200912122209.30186.lobo@bsd.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Root exploit for FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2009 01:44:57 -0000 Mario Lobo wrote: > On Saturday 12 December 2009 21:23:00 Rolf Nielsen wrote: >> Where's that? The Nvidia site says nothing about it yet, and the >> makefile for x11/nvidia-driver still says ONLY_FOR_ARCHS=i386. I'm >> eagerly waiting for it, but I can't find anything other than a forum >> post (I don't have the address handy at this computer, but I know it's >> somewhere in the mailing list archive) from Zander at Nvidia corporation >> saying it's on its way. >> > > http://www.nvnews.net/vbulletin/showthread.php?t=142120 > Thanks Mario and George. Just installed it and rebooted now. :D From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 02:21:37 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18259106566C for ; Sun, 13 Dec 2009 02:21:37 +0000 (UTC) (envelope-from freebsd@insightbb.com) Received: from mxsf04.insightbb.com (mxsf04.insightbb.com [74.128.0.74]) by mx1.freebsd.org (Postfix) with ESMTP id DACF78FC15 for ; Sun, 13 Dec 2009 02:21:36 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArEEAA7fI0vQLicL/2dsb2JhbACBStF8hCsE X-IronPort-AV: E=Sophos;i="4.47,389,1257138000"; d="scan'208";a="770867703" Received: from unknown (HELO asav01.insightbb.com) ([172.31.249.123]) by mxsf04.insightbb.com with ESMTP; 12 Dec 2009 21:21:35 -0500 X-IronPort-AV: E=Sophos;i="4.47,389,1257138000"; d="scan'208";a="238040128" Received: from 208-46-39-11.dia.static.qwest.net (HELO laptop2.stevenfriedrich.org) ([208.46.39.11]) by asavout01.insightbb.com with ESMTP; 12 Dec 2009 21:21:35 -0500 From: Steven Friedrich To: questions@freebsd.org Date: Sat, 12 Dec 2009 21:21:34 -0500 User-Agent: KMail/1.12.4 (FreeBSD/7.2-RELEASE-p5; KDE/4.3.4; i386; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200912122121.34980.freebsd@insightbb.com> Cc: Subject: Source upgrade from 7.2R o 8.0R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Dec 2009 02:21:37 -0000 When I try to build a kernel, make buildkernel, it complains that several directories are missing, i.e., axe, ums, umass, etc. I'm doing a make update and my file says src-all, so how could there be missing directories? I'm using csup. I tried to go back and use cvsup, but it appears it's been removed. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 02:41:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CCB5106566C for ; Sun, 13 Dec 2009 02:41: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 17BBE8FC16 for ; Sun, 13 Dec 2009 02:41:54 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NJePA-0002iE-N0 for freebsd-questions@freebsd.org; Sun, 13 Dec 2009 03:41:52 +0100 Received: from pool-70-21-24-48.res.east.verizon.net ([70.21.24.48]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Dec 2009 03:41:52 +0100 Received: from nightrecon by pool-70-21-24-48.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Dec 2009 03:41:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 12 Dec 2009 21:41:12 -0500 Lines: 59 Message-ID: References: <20091212104900.4587010656B6@hub.freebsd.org> <503306.54962.qm@web65506.mail.ac4.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-24-48.res.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: disk with high frequency noise only 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: Sun, 13 Dec 2009 02:41:54 -0000 James Phillips wrote: > >> Date: Fri, 11 Dec > 2009 23:52:50 +0200 > From: ly4uk Root >> Subject: disk with high frequency noise only on FreeBSD [snip] > > Now, this post is interesting. I'm sure many people with a software > background may be tempted to write this report off as completely > implausible. The truth is even "non-moving" parts such as inductors > and possibly capacitors can move in response to an applied signal. > For example, my ADSL modem with no moving parts makes an audible > hissing noise louder than the (80mm) fan noise of my BSD server. It is possible for one or more electronic components to emit a noise, even an integrated circuit. This is usually the result of an abnormal operating condition which has established a self sustaining oscillation, which requires some form of feedback loop to operate. The quintessential example is the horizontal output transistor in an analog television or CRT style monitor. These normally operate at about 15KHz but not audibly. When the components around them have altered value enough to change bias voltages they will oscillate and produce a loud high pitched whine. Failure is what eventually occurs in this situation. I had one machine that the memory would "sing" only when a make buildworld was run in FreeBSD. I have an old British Airways movie headphone set from back when their system was acoustic with air tubes. This works really well for examining where a sound is coming from. > I have no idea what would be causing this in 8.0-RC2, but I can > suggest what to look for: anything polling the drive in the audible > frequency range (20 to 20 thousand times per second). Another > possiblity is any action the repeats at that rate, but was not > present in ealier versions. The timer interrupt is in that range, but > other systems like GNU/Linux (before the tickless kernel) and Windows > use a similar timer. There are now 3 timers to choose from, and I think the default changed to the acpi fast timer. Interesting analysis, but very well could be related. > To the original poster: you say this is a laptop. How do you know the > noise is coming from the hard drive and not some other component like > the speakers/Network card/fan? > Regards, > Yes, the noise could be coming from elsewhere. And if it is indeed coming from a VLSI type of chip it does not bode well. This indicates some form of abnormal operation which is most often eventually destructive in nature. There is actually probably very little you can actually do about it, so just live with it and "if it ain't broke don't fix it". When it is broke hit repeatedly with progressively larger hammers until it's in pieces and you now need a new one. -Mike From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 03:52:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3B281065672 for ; Sun, 13 Dec 2009 03:52:59 +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 18A698FC08 for ; Sun, 13 Dec 2009 03:52:59 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 0FB6FEB4763; Sun, 13 Dec 2009 05:52:58 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id E720E4533B; Sun, 13 Dec 2009 05:52:57 +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 LRwlyU5iQZhK; Sun, 13 Dec 2009 05:52:57 +0200 (EET) Received: from kobe.laptop (ppp-94-64-203-39.home.otenet.gr [94.64.203.39]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 568F9451B2; Sun, 13 Dec 2009 05:52:57 +0200 (EET) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id nBD3qtDe042249 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 13 Dec 2009 05:52:55 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id nBD3qqqK042246; Sun, 13 Dec 2009 05:52:52 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Gary Kline References: <20091212080949.GA2606@thought.org> <87fx7ga7lw.fsf@kobe.laptop> <20091212182115.GB4431@thought.org> <87bpi3aks5.fsf_-_@kobe.laptop> <20091213032543.GA5795@thought.org> Date: Sun, 13 Dec 2009 05:52:51 +0200 In-Reply-To: <20091213032543.GA5795@thought.org> (Gary Kline's message of "Sat, 12 Dec 2009 19:25:43 -0800") Message-ID: <87r5qzedik.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: DNS problems at thought.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Dec 2009 03:52:59 -0000 On Sat, 12 Dec 2009 19:25:43 -0800, Gary Kline wrote: > On Sun, Dec 13, 2009 at 12:29:30AM +0200, Giorgos Keramidas wrote: >> You have some serious DNS issues with your current setup. I think you >> should start by: >> >> 1) *Removing* from the NS records of your domain the name servers that >> are not necessary (the celestial.com ones). >> >> 2) *Updating* the NS list of the same domain at the DNS registrar you are >> using to use ns1.thought.org and ns1.localhostservices.net. >> >> 3) Checking the firewall settings at ns1.thought.org to see why it does >> not respond to queries. > Jon just got home ansd mailed me about my secondaries. With > what he said, or tired to explain, and what you have below, > the picture is pretty clear. Jon think I need to drop the > ns2.secondary.com secondaries and others that are not consistent. > > Some point to aristotle; others to ethic. Yes, that makes perfect sense. It's the main reason why I wrote step 1 in the above list. >> When you *do* update the NS listing through your DNS registration >> service, point it _only_ at name servers that really have a valid >> copy of your zone files and are set up to serve as secondaries. >> After a while, when the changes propagate to all the name servers, >> your domain should work fine with bind (either the base-system or >> ports version). > > Thijngs may be happening. Since I have no webserver apps [GUI] I gave > the gkg.net info to Jon and asked him to edit my files there. i use > pfsense as my firewall. I'm still in learning mode about its fine > points, but from what I understand, it points only to ethic ... I > think in the past few days--two or three days. > > *Thanks* for filling in the blank spaces. No problem. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 04:11:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C998510656A5 for ; Sun, 13 Dec 2009 04:11:53 +0000 (UTC) (envelope-from LConrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id 8E6758FC0C for ; Sun, 13 Dec 2009 04:11:53 +0000 (UTC) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id C7EEF471FCA for ; Sun, 13 Dec 2009 05:11:52 +0100 (CET) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id E39D43865B6 for ; Sun, 13 Dec 2009 05:11:52 +0100 (CET) (envelope-from LConrad@Go2France.com) Received: from W500.Go2France.com [72.48.240.99] by mail.Go2France.com with ESMTP (SMTPD32-7.07) id A9838DFF00B2; Sun, 13 Dec 2009 05:11:47 +0100 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sat, 12 Dec 2009 22:11:39 -0600 To: freebsd-questions@freebsd.org From: Len Conrad In-Reply-To: <200912101850.AA408355014@mail.Go2France.com> References: <200912101850.AA408355014@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <200912130511311.SM01748@W500.Go2France.com> Subject: Re: can't get a full fbsd 7.2 amd64 install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2009 04:11:53 -0000 At 11:50 AM 12/10/2009, you wrote: >fbsd 7.2 >amd64 >"kernel developer" install > >Here's a successful install du > >du -d1 -h / >2.0K /.snap >2.0K /dev >1.8G /usr >1.6G /var >1.7M /etc >2.0K /cdrom >2.0K /dist >1.1M /bin >206M /boot >6.7M /lib >396K /libexec >2.0K /media >2.0K /mnt >2.0K /proc >4.0M /rescue > 42K /root >4.3M /sbin > 24K /tmp >3.6G / <<<<<<<<<<<<< > >here's what we're getting on another machine, way too little: > >du -h -d1 / >2.0K /.snap >2.0K /dev >1.1G /usr >238K /var >1.7M /etc >2.0K /cdrom >2.0K /dist >1.1M /bin >411M /boot >6.7M /lib >396K /libexec >2.0K /media >2.0K /mnt >2.0K /proc >4.0M /rescue > 10K /root >4.3M /sbin > 12K /tmp >1.5G / <<<<<<<<<<<<< > >and /usr is also missing 800 MB just after install. > >using 7.2 amd64 disc01, as forever. > >I ran sysinstall, post install config, and checked stuff, but still didn't get, eg, anything in /usr/bin/ > >comments? > >Could my client have chosen the wrong .iso? the amd64 .iso is verified as disc01 and we have the same partial install failure, with no install errors, on two machines, Dell 1850, with amd64 and i386. any ideas? Len From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 04:32:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BF261065670 for ; Sun, 13 Dec 2009 04:32:31 +0000 (UTC) (envelope-from sektie@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 1E6858FC08 for ; Sun, 13 Dec 2009 04:32:30 +0000 (UTC) Received: by pwi15 with SMTP id 15so1483481pwi.3 for ; Sat, 12 Dec 2009 20:32:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=PD0vE8aWmK6bfFwcZG9m+g3Y3lEkdMp9PgpJH+BEMwY=; b=GXuu4DU0jpja8qEVoGZZfQZ+ZAji6NAqaMJ9ILh6MH7foQ+HNd3FrHok8FKMM3dJqu mQPLCxaqeVfXVcLlgbinGhg/UCpkSOSJcpSfSEQyFiiv+6PBjtdKPdr72iIOIMXLWdqt 9Iniwh+ZphjZ567hMqIFM460+6yrt3hFdLJfs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=CIUhHFuV47F+jyuR00nKmwTncUJ1JtsIGWUUnfQM9byBabfT7kF8XZupfeEc04iE+x 1yiFsDffl7CaMQRr0oxqGO2Za45mtGAIUJjT/WZlDTPp6jAMMvSL8+n8WCK0BLlyfiOl MkXPAk7Vw4woP81PIaiazNFl7v9izuI8dkrPs= MIME-Version: 1.0 Sender: sektie@gmail.com Received: by 10.142.6.42 with SMTP id 42mr2051264wff.88.1260678750651; Sat, 12 Dec 2009 20:32:30 -0800 (PST) In-Reply-To: <200912130511311.SM01748@W500.Go2France.com> References: <200912101850.AA408355014@mail.Go2France.com> <200912130511311.SM01748@W500.Go2France.com> Date: Sat, 12 Dec 2009 20:32:30 -0800 X-Google-Sender-Auth: 90861cb752512342 Message-ID: From: Randi Harper To: Len Conrad Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: can't get a full fbsd 7.2 amd64 install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2009 04:32:31 -0000 I could be mistaken, but that sounds like an awfully big /var and /usr. Are you sure this is a vanilla install that no one has touched? -- randi On Sat, Dec 12, 2009 at 8:11 PM, Len Conrad wrote: > At 11:50 AM 12/10/2009, you wrote: >>fbsd 7.2 >>amd64 >>"kernel developer" install >> >>Here's a successful install du >> >>du -d1 -h / >>2.0K =A0 =A0/.snap >>2.0K =A0 =A0/dev >>1.8G =A0 =A0/usr >>1.6G =A0 =A0/var >>1.7M =A0 =A0/etc >>2.0K =A0 =A0/cdrom >>2.0K =A0 =A0/dist >>1.1M =A0 =A0/bin >>206M =A0 =A0/boot >>6.7M =A0 =A0/lib >>396K =A0 =A0/libexec >>2.0K =A0 =A0/media >>2.0K =A0 =A0/mnt >>2.0K =A0 =A0/proc >>4.0M =A0 =A0/rescue >> 42K =A0 =A0/root >>4.3M =A0 =A0/sbin >> 24K =A0 =A0/tmp >>3.6G =A0 =A0/ =A0<<<<<<<<<<<<< >> >>here's what we're getting on another machine, way too little: >> >>du -h -d1 / >>2.0K =A0 =A0/.snap >>2.0K =A0 =A0/dev >>1.1G =A0 =A0/usr >>238K =A0 =A0/var >>1.7M =A0 =A0/etc >>2.0K =A0 =A0/cdrom >>2.0K =A0 =A0/dist >>1.1M =A0 =A0/bin >>411M =A0 =A0/boot >>6.7M =A0 =A0/lib >>396K =A0 =A0/libexec >>2.0K =A0 =A0/media >>2.0K =A0 =A0/mnt >>2.0K =A0 =A0/proc >>4.0M =A0 =A0/rescue >> 10K =A0 =A0/root >>4.3M =A0 =A0/sbin >> 12K =A0 =A0/tmp >>1.5G =A0 =A0/ =A0 =A0 <<<<<<<<<<<<< >> >>and /usr is also missing 800 MB just after install. >> >>using 7.2 amd64 disc01, as forever. >> >>I ran sysinstall, post install config, and checked stuff, but still didn'= t get, eg, anything in /usr/bin/ >> >>comments? >> >>Could my client have chosen the wrong .iso? > > the amd64 .iso is verified as disc01 and we have the same partial install= failure, with no install errors, on two machines, Dell 1850, with amd64 an= d i386. > > any ideas? > > Len > > _______________________________________________ > 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 Sun Dec 13 09:48:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86B7A1065676 for ; Sun, 13 Dec 2009 09:48:19 +0000 (UTC) (envelope-from LConrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id 4A4A58FC0C for ; Sun, 13 Dec 2009 09:48:19 +0000 (UTC) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 90740471FD0 for ; Sun, 13 Dec 2009 10:48:19 +0100 (CET) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id D46783866AB for ; Sun, 13 Dec 2009 10:48:19 +0100 (CET) (envelope-from LConrad@Go2France.com) Received: from W500.Go2France.com [72.48.240.99] by mail.Go2France.com with ESMTP (SMTPD32-7.07) id A85D920900B2; Sun, 13 Dec 2009 10:48:13 +0100 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 13 Dec 2009 03:48:12 -0600 To: freebsd-questions@freebsd.org From: Len Conrad In-Reply-To: References: <200912101850.AA408355014@mail.Go2France.com> <200912130511311.SM01748@W500.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <200912131048826.SM01748@W500.Go2France.com> Subject: Re: can't get a full fbsd 7.2 amd64 install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2009 09:48:19 -0000 >I could be mistaken, but that sounds like an awfully big /var and >/usr. Are you sure this is a vanilla install that no one has touched? the install is running off the i386/amd64 disc1 .iso. /usr is with /usr/ports Len >-- randi > > > >On Sat, Dec 12, 2009 at 8:11 PM, Len Conrad wrote: >> At 11:50 AM 12/10/2009, you wrote: >>>fbsd 7.2 >>>amd64 >>>"kernel developer" install >>> >>>Here's a successful install du >>> >>>du -d1 -h / >>>2.0K /.snap >>>2.0K /dev >>>1.8G /usr >>>1.6G /var >>>1.7M /etc >>>2.0K /cdrom >>>2.0K /dist >>>1.1M /bin >>>206M /boot >>>6.7M /lib >>>396K /libexec >>>2.0K /media >>>2.0K /mnt >>>2.0K /proc >>>4.0M /rescue >>> 42K /root >>>4.3M /sbin >>> 24K /tmp >>>3.6G / <<<<<<<<<<<<< >>> >>>here's what we're getting on another machine, way too little: >>> >>>du -h -d1 / >>>2.0K /.snap >>>2.0K /dev >>>1.1G /usr >>>238K /var >>>1.7M /etc >>>2.0K /cdrom >>>2.0K /dist >>>1.1M /bin >>>411M /boot >>>6.7M /lib >>>396K /libexec >>>2.0K /media >>>2.0K /mnt >>>2.0K /proc >>>4.0M /rescue >>> 10K /root >>>4.3M /sbin >>> 12K /tmp >>>1.5G / <<<<<<<<<<<<< >>> >>>and /usr is also missing 800 MB just after install. >>> >>>using 7.2 amd64 disc01, as forever. >>> >>>I ran sysinstall, post install config, and checked stuff, but still didn't get, eg, anything in /usr/bin/ >>> >>>comments? >>> >>>Could my client have chosen the wrong .iso? >> >> the amd64 .iso is verified as disc01 and we have the same partial install failure, with no install errors, on two machines, Dell 1850, with amd64 and i386. >> >> any ideas? >> >> Len >> >> _______________________________________________ >> 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" ______________________________________________ IMGate OpenSource Mail Firewall www.IMGate.net From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 11:08:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BF961065670 for ; Sun, 13 Dec 2009 11:08:56 +0000 (UTC) (envelope-from samuel.lethiec@intelunix.fr) Received: from www2.intelunix.fr (mail.intelunix.fr [88.191.80.46]) by mx1.freebsd.org (Postfix) with ESMTP id F1D5C8FC14 for ; Sun, 13 Dec 2009 11:08:55 +0000 (UTC) Received: (qmail 7040 invoked by uid 210); 13 Dec 2009 10:44:18 -0000 Received: from 41.223.187.190 by www.intelunix.fr (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.95.1/10157. spamassassin: 3.2.1. perlscan: 1.25st. Clear:RC:1(41.223.187.190):. Processed in 4.405949 secs); 13 Dec 2009 10:44:18 -0000 Received: from unknown (HELO localhost) (samuel.lethiec@intelunix.fr@41.223.187.190) by mail.intelunix.fr with ESMTPA; 13 Dec 2009 10:44:14 -0000 Date: Sun, 13 Dec 2009 11:39:55 +0100 From: SamLT To: freebsd-questions@freebsd.org Message-ID: <20091213103629.GA1886@slt> MIME-Version: 1.0 Content-Type: text/plain; charset*=utf-8''%E2%80%9Cus-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Missing pkg-descr for xterm-251_1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2009 11:08:56 -0000 Hello, First of all, I'm new to freebsd, so I may be missing something obvious. I install RELENG-8, then updated STABLE following the handbook. I'm now trying to install xorg with portmaster -P x11/xorg but I am having a problem with the xterm ports: | ===>>> Starting check for runtime dependencies | ===>>> Gathering dependency list for x11/xterm from ports | ===>>> Starting dependency check | ===>>> Dependency check complete for x11/xterm | x11/xorg >> x11/xorg-apps >> x11/xterm | | ===> Installing for xterm-251_1 | ===> Generating temporary packing list | ** Missing pkg-descr for xterm-251_1. | *** Error code 1 | | Stop in /usr/ports/x11/xterm. | | ===>>> Installation of xterm-251_1 (x11/xterm) failed | ===>>> Aborting update | | ===>>> Update for x11/xterm failed | ===>>> Aborting update I don't understand, since the file exists: | wc /usr/ports/x11/xterm/pkg-descr | 10 68 479 /usr/ports/x11/xterm/pkg-descr I already had the same problem with the xf86-video-ati ports, I updated the ports tree (portsnap fetch&update), but now, portsnap the tree is up-to-date. I also tried deleting /usr/ports/distfiles/xterm-251.tgz and starting again, but it didn't work. I don't know what else to do. Any idea? The only thing special in here is that I have a really slow internet connection, but I don't see how it could cause such a problem. Thank you in advance samlt From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 12:19:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6CC61065672 for ; Sun, 13 Dec 2009 12:19:48 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 789818FC0A for ; Sun, 13 Dec 2009 12:19:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 9AC955E38A; Sun, 13 Dec 2009 13:19:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.206 X-Spam-Level: X-Spam-Status: No, score=-2.206 tagged_above=-999 required=5 tests=[AWL=0.394, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SdD6LkmJy6rY; Sun, 13 Dec 2009 13:19:44 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id BF3BE5E3AB; Sun, 13 Dec 2009 13:19:44 +0100 (CET) Message-ID: <4B24DBE0.7090100@eskk.nu> Date: Sun, 13 Dec 2009 13:19:44 +0100 From: Leslie Jensen User-Agent: Thunderbird 2.0.0.23 (X11/20091208) MIME-Version: 1.0 To: Polytropon References: <4B22553A.9010003@eskk.nu> <20091211181304.2c710d8e.freebsd@edvax.de> <4B23AEB3.3060808@eskk.nu> <20091212183932.4cad565f.freebsd@edvax.de> In-Reply-To: <20091212183932.4cad565f.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: pieter@degoeje.nl, herbert.raimund@gmx.net, freebsd-questions@freebsd.org Subject: Re: A question about yell on a 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: Sun, 13 Dec 2009 12:19:49 -0000 Polytropon skrev: > On Sat, 12 Dec 2009 15:54:43 +0100, Leslie Jensen wrote: >> That's what troubles me, I'm used to use Yell so I'm certain that my >> config is ok. One thing I've been made aware of is that a laptop >> computer maybe do not have a "speaker". Only a sound card will produce >> sound in the speakers. Any comments on that? > > It's quite possible that your laptop doesn't have the > "PC speaker functionality". > > Traditionally, the PC speaker was completely independant > from any sound cards. It even was present when no sound > card did exist. Early laptops also included such a speaker. > > More modern laptops then included a sound card and the > speaker (three speakers internally), but quicky the > PC speaker got removed, and access to its functionality > is provided through the sound card, offering a kind of > "PC speaker API". > > And maybe this "PC speaker API" isn't present on your > laptop anymore. > > Does dmesg show any "speaker" lines, such as this? > > speaker0: port 0x61 on acpi0 No entry at all! > > And even if it is shown this way, it doesn't imply that > the "PC speaker API" of the sound card is handling the > corresponding calls. > > Finally, and maybe you've already checked it, what is > the mixser setting for the PC speaker channel of the > sound card, if it does exist? mixer setting is Mixer vol is currently set to 84:84 Mixer pcm is currently set to 85:85 Mixer speaker is currently set to 99:99 Mixer mix is currently set to 0:0 Mixer rec is currently set to 0:0 /Leslie From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 12:46:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B073A106568B for ; Sun, 13 Dec 2009 12:46:01 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s20.blu0.hotmail.com (blu0-omc4-s20.blu0.hotmail.com [65.55.111.159]) by mx1.freebsd.org (Postfix) with ESMTP id 638708FC13 for ; Sun, 13 Dec 2009 12:46:01 +0000 (UTC) Received: from BLU0-SMTP14 ([65.55.111.137]) by blu0-omc4-s20.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 13 Dec 2009 04:46:01 -0800 X-Originating-IP: [67.189.183.172] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([67.189.183.172]) by BLU0-SMTP14.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Sun, 13 Dec 2009 04:46:00 -0800 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 472992282C for ; Sun, 13 Dec 2009 07:45:59 -0500 (EST) Date: Sun, 13 Dec 2009 07:45:58 -0500 From: Carmel To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Dec 2009 12:46:00.0578 (UTC) FILETIME=[39386620:01CA7BF2] Subject: mounting shares on WinXP machine as unprivileged user 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, 13 Dec 2009 12:46:01 -0000 FreeBSD-7.2 I have created a folder named: 'laptop' in my home directory. I also have Samba up and running. I want to mount a share on the laptop which is running WinXP. When I run the following command: mount_smbfs -N //user@comp-name/share /usr/home/user/laptop or just mount -N //user@comp-name/share /usr/home/user/laptop I receive this error message: mount_smbfs: can not setup kernel iconv table (ISO8859-1:tolower): syserr = Operation not permitted The ~/.nsmbrc file is correctly populated as is the /etc/fstab file. I can make a successful connection if I run the command as root; however, I do not want to do that. Connections via the WinXP laptop work flawlessly as do the connections via the FreeBSD machine if executed with root privileges. -- Carmel carmel_ny@hotmail.com |::::======= |::::======= |=========== |=========== | The all-softening overpowering knell, the dinner bell. Lord Byron From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 12:55:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7EDE106568B for ; Sun, 13 Dec 2009 12:55:11 +0000 (UTC) (envelope-from computing.account@googlemail.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 6800E8FC1F for ; Sun, 13 Dec 2009 12:55:10 +0000 (UTC) Received: by ewy26 with SMTP id 26so2699311ewy.3 for ; Sun, 13 Dec 2009 04:55:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=L2AZPJkGeZoN8aK1pcCtv9yG/0PYv305Rqt1vYuhEHE=; b=MlIFS1J/oPN2FlD/8AThR9dDU56oktEfj/Q6VO7hKoZSCLrnOR7IpdjLzSHfudmCp1 xTvvxhF54h3hO2c+GZ1ppqjccYnxFQpeffieHgU5KwDXgPbDKJxIhQXHwpnzevYU/yd/ TFwxmfvKFGCcg68aQEKwBce2uNUNWaPjvMlTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=DKusrLMAHlZLzN+jCY2bjBNl/LBLoRd+4tXNX/N3+VRYeou/Jm4Z4rgyBzOEKq7+SK EbRUuMntOzj5dmJqnS+xulJWRDZuIqOOdg/J66aioFO+lkK8h0ScxtmpaaLRicGfzfkC r2YYF7I+vzHRe+/HAdh4gMO0zZyZ+Hl+VY+Mc= Received: by 10.213.0.151 with SMTP id 23mr2096091ebb.43.1260708910282; Sun, 13 Dec 2009 04:55:10 -0800 (PST) Received: from ?192.168.1.40? (78-105-132-248.zone3.bethere.co.uk [78.105.132.248]) by mx.google.com with ESMTPS id 13sm2392978ewy.5.2009.12.13.04.55.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 13 Dec 2009 04:55:09 -0800 (PST) Message-ID: <4B24E44C.5010609@gmail.com> Date: Sun, 13 Dec 2009 12:55:40 +0000 From: AG User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: New installation of FreeBSD with Debian dual boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Dec 2009 12:55:11 -0000 Hello all I'm looking to install FreeBSD 8.0 on my system today, where it would dual boot with Debian. I have the *.iso all ready to go, so just wanted to check a couple of points before I log out of Debian and boot into the DVD to install. Perhaps some veterans can advise me on the following: (1) The Debian is the only OS on my system, so I will have to resize the partitions (I currently have /, swap, and /home). I am assuming that (after backing up) there shouldn't be any problems in doing so, but is the partition editor (i.e. the tools that one uses to allocate partition space) reasonably sane and plays nicely with a GNU/Linux distro? (2) I use a Seagate FreeAgent USB drive to hold media files and back ups. With Debian I had to edit some rules and install a driver for this. What's the situation like under FreeBSD for supporting these kinds of external (NTFS) drives? (3) If I wanted to share files between Debian and FreeBSD, aside from using a data stick are there any ways that I can access my Debian drive from FreeBSD and vice versa? (4) I do intend to use the installation handbook, accessed via a different computer, while I install. Are there any gotchas in FreeBSD 8.0 (for i386 architectures) that aren't covered in the handbook? Many thanks. I hope that next time I contact this list it will be from my FreeBSD desktop. Cheers AG From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 13:07:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB9121065676 for ; Sun, 13 Dec 2009 13:07:45 +0000 (UTC) (envelope-from modulok@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 878DC8FC08 for ; Sun, 13 Dec 2009 13:07:45 +0000 (UTC) Received: by pxi12 with SMTP id 12so788971pxi.3 for ; Sun, 13 Dec 2009 05:07:44 -0800 (PST) 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=YqCceEOx+HYySXkNko1UNEmj+thNgT1C3xFQd8P7jFY=; b=N6GWoWRV87LB5gSGGQOVX+R4cPElStoPBeOmkUjAui4OuKzQTkb1UtLSUGQH2hes2A ubT9OTRux3E7TBz59RNkr4mLSTon2x/nNkT3otV6zbcyVDcV9ZvVKhGmdlXObV9vPQv4 SQ/Bf3+pybJeS8uYIoMALcBWaIM5BuqZSgJp0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Rc0vWQp3/SDaQ+Q7nM+wTHjDc2pgqVIFDcLG1PCUFzfUlKn69cEvcHTjsc18KnJxHR HjiVwbGfXld/OAbTPREc3Rkd1zxzMddkn6ZAB8YzGmattqYrjzGsoKMXVPtEHbi5y9jd oWBeBxJ/8ir02GH9k5lfH0gORiLAVWBfu3ALA= MIME-Version: 1.0 Received: by 10.142.120.8 with SMTP id s8mr2236268wfc.276.1260709664645; Sun, 13 Dec 2009 05:07:44 -0800 (PST) Date: Sun, 13 Dec 2009 06:07:44 -0700 Message-ID: <64c038660912130507r25592013q6b79bfad43a2ddbe@mail.gmail.com> From: Modulok To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: FreeBSD 8 USB stack - Thank you! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Dec 2009 13:07:45 -0000 I just installed FreeBSD 8. I'm not sure which developers had a hand in the new USB stack, but I appreciate the effort put forth. Thank you all! Finally, I can use my printer without having to hack the ulpt.c file. I'm so happy! :-) -Modulok- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 13:32:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75C9A1065670 for ; Sun, 13 Dec 2009 13:32:35 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.211.172]) by mx1.freebsd.org (Postfix) with ESMTP id 3AA948FC18 for ; Sun, 13 Dec 2009 13:32:34 +0000 (UTC) Received: by ywh2 with SMTP id 2so2314795ywh.27 for ; Sun, 13 Dec 2009 05:32:34 -0800 (PST) Received: by 10.100.75.32 with SMTP id x32mr1547228ana.121.1260711153848; Sun, 13 Dec 2009 05:32:33 -0800 (PST) Received: from papi.localnet ([187.78.109.40]) by mx.google.com with ESMTPS id 8sm1258465ywg.4.2009.12.13.05.32.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 13 Dec 2009 05:32:32 -0800 (PST) From: Mario Lobo To: freebsd-questions@freebsd.org Date: Sun, 13 Dec 2009 10:31:29 -0300 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; amd64; ; ) References: <20091210144141.GB834@mech-cluster241.men.bris.ac.uk> <200912122209.30186.lobo@bsd.com.br> <4B244716.3090505@lazlarlyricon.com> In-Reply-To: <4B244716.3090505@lazlarlyricon.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912131031.29126.lobo@bsd.com.br> Cc: Rolf G Nielsen Subject: Re: Nvidia amd64 driver (WAS: Root exploit for FreeBSD ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2009 13:32:35 -0000 On Saturday 12 December 2009 22:44:54 Rolf G Nielsen wrote: > Mario Lobo wrote: > > On Saturday 12 December 2009 21:23:00 Rolf Nielsen wrote: > >> Where's that? The Nvidia site says nothing about it yet, and the > >> makefile for x11/nvidia-driver still says ONLY_FOR_ARCHS=i386. I'm > >> eagerly waiting for it, but I can't find anything other than a forum > >> post (I don't have the address handy at this computer, but I know it's > >> somewhere in the mailing list archive) from Zander at Nvidia corporation > >> saying it's on its way. > > > > http://www.nvnews.net/vbulletin/showthread.php?t=142120 > > Thanks Mario and George. Just installed it and rebooted now. :D You're welcome Rolf! The driver DOES rock, doesn't it? How is it working for you? any instabilities? I am having some issues with virtualbox and KDE4. KDE has 2 options for composite: OpenGL and xRender I have composite enabled with openGl. If any vbox guest (winedows actually) has 3d acceleration enabled, the host freezes completely. only the reset button works ! I have to completely disable 3d accel on the Win guests. But if composite is done with Xrender, the 3d accel on the guests doesn't freeze the host, but I loose a lot of performance, smoothness and most of the desktop effects on KDE. I followed the advice on http://www.nvnews.net/vbulletin/showthread.php?t=58498 to enable HPET and that seemed to improve things on this issue but I still have to keep 3d disabled Other than that, EVERYTHING else works perfectly. nVidia is much superior than my onboard radeon HD 3300, which I unceremoniously dumped for a GeForce 9800 GT. -- 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 Sun Dec 13 14:19:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99B7A1065670 for ; Sun, 13 Dec 2009 14:19:37 +0000 (UTC) (envelope-from lazlar@lazlarlyricon.com) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id 53C0F8FC29 for ; Sun, 13 Dec 2009 14:19:37 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C001AA8101 for freebsd-questions@freebsd.org; Sun, 13 Dec 2009 15:19:35 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuNgABqHJEtV44PPPGdsb2JhbACBSpccgkcBAQEBN4hArRmEKwSBYg X-IronPort-AV: E=Sophos;i="4.47,390,1257116400"; d="scan'208";a="15168460" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb1.telenor.se with ESMTP; 13 Dec 2009 15:19:35 +0100 Message-ID: <4B24F7F6.4090200@lazlarlyricon.com> Date: Sun, 13 Dec 2009 15:19:34 +0100 From: Rolf G Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Mario Lobo References: <20091210144141.GB834@mech-cluster241.men.bris.ac.uk> <200912122209.30186.lobo@bsd.com.br> <4B244716.3090505@lazlarlyricon.com> <200912131031.29126.lobo@bsd.com.br> In-Reply-To: <200912131031.29126.lobo@bsd.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Nvidia amd64 driver (WAS: Root exploit for FreeBSD ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2009 14:19:37 -0000 Mario Lobo wrote: > On Saturday 12 December 2009 22:44:54 Rolf G Nielsen wrote: >> Mario Lobo wrote: >>> On Saturday 12 December 2009 21:23:00 Rolf Nielsen wrote: >>>> Where's that? The Nvidia site says nothing about it yet, and the >>>> makefile for x11/nvidia-driver still says ONLY_FOR_ARCHS=i386. I'm >>>> eagerly waiting for it, but I can't find anything other than a forum >>>> post (I don't have the address handy at this computer, but I know it's >>>> somewhere in the mailing list archive) from Zander at Nvidia corporation >>>> saying it's on its way. >>> http://www.nvnews.net/vbulletin/showthread.php?t=142120 >> Thanks Mario and George. Just installed it and rebooted now. :D > > You're welcome Rolf! > > The driver DOES rock, doesn't it? > > How is it working for you? any instabilities? > > I am having some issues with virtualbox and KDE4. > > KDE has 2 options for composite: OpenGL and xRender > > I have composite enabled with openGl. If any vbox guest (winedows actually) > has 3d acceleration enabled, the host freezes completely. only the reset > button works ! I have to completely disable 3d accel on the Win guests. > > But if composite is done with Xrender, the 3d accel on the guests doesn't > freeze the host, but I loose a lot of performance, smoothness and most of the > desktop effects on KDE. > > I followed the advice on > http://www.nvnews.net/vbulletin/showthread.php?t=58498 > to enable HPET and that seemed to improve things on this issue but I still > have to keep 3d disabled > > Other than that, EVERYTHING else works perfectly. nVidia is much superior than > my onboard radeon HD 3300, which I unceremoniously dumped for a GeForce 9800 > GT. > I haven't tested it out that extensively yet. I tried installing games/quake2lnx, and it installs fine, but I get no graphics at all, just a black window, but since I haven't tried it on amd64 before, it might be that it doesn't work well on 64 bit. But since I'm not really a gamer, I don't worry much about it, though it would be fun to get it running. I'm running Windowmaker as my window manager, and it doesn't make use of any OpenGL AFAIK. So basically all I've tested is that xv works for playing video with mplayer and running OpenGL xscreensaver hacks. Both seem to work flawlessly. Compiling the driver was a bit of a hassle, since it depends on Linux compatibilty by default, and I haven't got that enabled. And since I've enabled MODULES_OVERRIDE in my kernel config to include only those modules I actually use, nvidia.ko couldn't find linux.ko. I solved it by commenting out a #define line in nv-freebsd.h. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 16:05:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 331CA1065692 for ; Sun, 13 Dec 2009 16:05:32 +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 808A88FC0C for ; Sun, 13 Dec 2009 16:05:31 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nBDG5PHY024214; Sun, 13 Dec 2009 16:05:25 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nBDG5PHY024214 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1260720325; bh=a2DFX9exPc4XgDnhHqxezOa5O13idZOs+AULnvHqwZE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B2510BE.2040007@infracaninophile.co.uk>|Date:=20S un,=2013=20Dec=202009=2016:05:18=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20AG=20|CC:=20fre ebsd-questions@freebsd.org|Subject:=20Re:=20New=20installation=20o f=20FreeBSD=20with=20Debian=20dual=20boot|References:=20<4B24E44C. 5010609@gmail.com>|In-Reply-To:=20<4B24E44C.5010609@gmail.com>|X-E nigmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B=20mi calg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signature "=3B=0D=0A=20boundary=3D"------------enig33F27D00BD52BBC4C1BADD8F" ; b=hvKtmkYkd0oJjeMv8MerzvC5bniCFIBgN2mwkZ6EgUHlb/Gfltq8FljPorWJfGoDX lbbrX35FIhuV+5Jy1whddl2AkQ9+yjAB0Xo+6FmwtTx8gpVhZEtvVJ1uMrO05k4qYn Y9rLC3XjjLMT8tzzmiYbXX0LTN3kpmKqPn/hsdzI= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B2510BE.2040007@infracaninophile.co.uk> Date: Sun, 13 Dec 2009 16:05:18 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: AG References: <4B24E44C.5010609@gmail.com> In-Reply-To: <4B24E44C.5010609@gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig33F27D00BD52BBC4C1BADD8F" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: New installation of FreeBSD with Debian dual boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Dec 2009 16:05:32 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig33F27D00BD52BBC4C1BADD8F Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable AG wrote: > Hello all >=20 > I'm looking to install FreeBSD 8.0 on my system today, where it would=20 > dual boot with Debian. I have the *.iso all ready to go, so just wante= d=20 > to check a couple of points before I log out of Debian and boot into th= e=20 > DVD to install. Perhaps some veterans can advise me on the following: >=20 >=20 > (1) The Debian is the only OS on my system, so I will have to resize th= e=20 > partitions (I currently have /, swap, and /home). I am assuming that = > (after backing up) there shouldn't be any problems in doing so, but is = > the partition editor (i.e. the tools that one uses to allocate partitio= n=20 > space) reasonably sane and plays nicely with a GNU/Linux distro? Sure. The FreeBSD partition type in fdisk is 165 IIRC. Linux uses parti= tions from the MBR pretty much directly, but FreeBSD expects to have one big ch= unk of space (known in FreeBSD-speak as a *slice*) within which you create OS= -level partitions. Thus for SATA drives, Linux's /dev/hda1 (1st partition on th= e=20 master drive (hda) on the first SATA bus) would be known to FreeBSD as /d= ev/ad0s1 (slice one on the first drive (ad0)). If that slice contained a FreeBSD = install, then it would be sub divided into partitions /dev/ad0s1a [traditionally t= he root fs], /dev/ad0s1b [swap], /dev/ad0s1c [a legacy thing -- a partition cover= ing the whole of s1, not generally used for anything much nowadays] and /dev/ad0s= 1[d-z] [data partitions or whatever you will]. The FreeBSD installer can only install into a primary partition and (I th= ink) FreeBSD can only boot from a 1ary partition, but otherwise it is possible= to access logical partitions.=20 Note that this is assuming you use the defaults available through the Sys= install program on the FreeBSD installation media. There are a number of new par= titioning schemes / disk management systems now available (gpart, ZFS) and also new= disk drivers (ada(4), ahci(4)) but these are not yet possible to set up throug= h the Sysinstall program and require things like booting off removable media an= d then hacking around with the command line inside a chroot to get going. (Prob= ably not something you should attempt on your first install). FreeBSD has support for Linux ext3 filesystems, except it doesn't do jour= nalling. It's probably good enough for passing files between OS images though. Fa= iling that, you can use the MS-DOS derived FAT-32 filesystem as the lowest common den= ominator. Another trick is to fire up one of the OSes in a VM hosted on the other O= S, and set up network shares or the like between the two. > (2) I use a Seagate FreeAgent USB drive to hold media files and back=20 > ups. With Debian I had to edit some rules and install a driver for=20 > this. What's the situation like under FreeBSD for supporting these=20 > kinds of external (NTFS) drives? It should just work -- appropriate drivers will be autoloaded when you pl= ug the device in. The OS should find any disk partitions on the device, but= you'll still have to set up something to mount the filesystems. I think this ca= n be done automatically by suitable use of amd(8), but you'll have to google for th= e details. > (3) If I wanted to share files between Debian and FreeBSD, aside from=20 > using a data stick are there any ways that I can access my Debian drive= =20 > from FreeBSD and vice versa? Oh, many weird and arcane ways, but I've already described most of the pr= actical ones. > (4) I do intend to use the installation handbook, accessed via a=20 > different computer, while I install. Are there any gotchas in FreeBSD = > 8.0 (for i386 architectures) that aren't covered in the handbook? The Handbook is really very good. Of course,there are always problematic= bits of hardware: laptops are often a bit tricky to install correctly and= hard to get all the hardware working right, but desktops and servers are a lot= more forgiving and will either work straight away, require you to tweak = some BIOS=20 settings / update your BIOS / turn off ACPI and then work fine or else ba= sically some critical device won't be supported and the whole thing will be a non= -starter. It's generally best with FreeBSD to aim to get the OS installed and boote= d up with minimal extras at first, then work from within the OS to install X, = desktop environments, applications, setup user accounts etc. This will r= equire a reasonable degree of competence with the Unix CLI, and you'll need to rea= d up on such things as the ports, csup(1), portsnap(8), freebsd-update(8), pkg= _add(1), pkg_info(1), portupgrade(1) or portmaster(8) all of which are covered in = the Handbook pretty well. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig33F27D00BD52BBC4C1BADD8F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkslEMUACgkQ8Mjk52CukIyltACglGbmlgoMjMB31jm46FdtadUU GD8An12jGwbJwQ7Ss89aZFYr763j0jNj =aviK -----END PGP SIGNATURE----- --------------enig33F27D00BD52BBC4C1BADD8F-- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 16:09:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83C02106568B for ; Sun, 13 Dec 2009 16:09:26 +0000 (UTC) (envelope-from lordofhyphens@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id 46CB78FC16 for ; Sun, 13 Dec 2009 16:09:26 +0000 (UTC) Received: by iwn36 with SMTP id 36so1579951iwn.3 for ; Sun, 13 Dec 2009 08:09:25 -0800 (PST) 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=X13QNHxz4ZgmGahrzddBiT2F3o/eWfozSLDSLDF5peQ=; b=Wk7etCj23ldyieUpB1emSsZkB9GxkKU6OIH1yPAGZIN9JvydxDuJIublXGyfpppFV4 mcuwyW7BHvBDe+we58VP3TnGysFOyQnyevkx+LyPO3ORDn0DEkiBCwGkZjasKZP6Sd8Z VxksYnDLRV/Y3RXxhba2VZjnSuoU6/U76Nom0= 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=vFFZ0vteTrrvKBk/0ZwV6fWEv/oezl/0AQv49LzjIVWQ5jMss1g++T+Lbk2g78k0ld l8WsE8KILoZs+mT8EcqH+mLK5V667fapzPIGwKBEWMm+jybdujWCQcz6tWvcmOqPUHhY hjCC/56ektTKyBIIJllinGGPpS10S6ODA/gLo= Received: by 10.231.122.36 with SMTP id j36mr143602ibr.21.1260720565239; Sun, 13 Dec 2009 08:09:25 -0800 (PST) Received: from ?192.168.0.249? (173-24-127-191.client.mchsi.com [173.24.127.191]) by mx.google.com with ESMTPS id 20sm2941278iwn.13.2009.12.13.08.09.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 13 Dec 2009 08:09:24 -0800 (PST) Message-ID: <4B2511A7.9050507@gmail.com> Date: Sun, 13 Dec 2009 10:09:11 -0600 From: LoH User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B24E44C.5010609@gmail.com> In-Reply-To: <4B24E44C.5010609@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: New installation of FreeBSD with Debian dual boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Dec 2009 16:09:26 -0000 1) The partition editor is a fdisk variant and very flexible. You shouldn't have any problems. 2) I believe that FreeBSD will support NTFS read, but write support is (as always) flaky. The last time I had a FreeAgent drive (1TB) attached to my box, I was running ntfs-3g through FUSE (google both of those). That seemed to work, but I ran into data corruption later--the drive was being used as storage for a small-scale file server. After rescuing all the data I could, I reformatted the drive as UFS and just left it attached with no problems. Later, when I rebuilt the machine, I broke the casing apart and made the drive internal and started using ZFS instead. Otherwise, the drive should just show up and you can mount it. 3) According to (http://www.linuxquestions.org/questions/debian-26/mount-debian-partition-from-freebsd-386801/), installing *e2fsprogs* from ports should let you just mount the partitions from the other OS. Good luck. --Joe AG wrote: > Hello all > > I'm looking to install FreeBSD 8.0 on my system today, where it would > dual boot with Debian. I have the *.iso all ready to go, so just > wanted to check a couple of points before I log out of Debian and boot > into the DVD to install. Perhaps some veterans can advise me on the > following: > > > (1) The Debian is the only OS on my system, so I will have to resize > the partitions (I currently have /, swap, and /home). I am assuming > that (after backing up) there shouldn't be any problems in doing so, > but is the partition editor (i.e. the tools that one uses to allocate > partition space) reasonably sane and plays nicely with a GNU/Linux > distro? > > (2) I use a Seagate FreeAgent USB drive to hold media files and back > ups. With Debian I had to edit some rules and install a driver for > this. What's the situation like under FreeBSD for supporting these > kinds of external (NTFS) drives? > > (3) If I wanted to share files between Debian and FreeBSD, aside from > using a data stick are there any ways that I can access my Debian > drive from FreeBSD and vice versa? > > (4) I do intend to use the installation handbook, accessed via a > different computer, while I install. Are there any gotchas in FreeBSD > 8.0 (for i386 architectures) that aren't covered in the handbook? > > Many thanks. I hope that next time I contact this list it will be > from my FreeBSD desktop. > > Cheers > > AG > _______________________________________________ > 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 Sun Dec 13 16:29:11 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67CF3106566B for ; Sun, 13 Dec 2009 16:29:11 +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 EFF078FC0C for ; Sun, 13 Dec 2009 16:29:10 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so991197fgg.13 for ; Sun, 13 Dec 2009 08:29:10 -0800 (PST) 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=3JP8PgsGmTl3BuRG4O2HJWsRkyERc8iRdUWDgkGEpGY=; b=gXoRmXoLcgehmPwzMXFd5eHFbG5OLPN3Zjz3O4Uovw0ohX5kuaE8gKEBhMM/VQC5vS sqYsJL/TLhbAmzLgXsnEAp0GBu96L2U0Wa768USyrGutu5+q53skG2r+/dx1/Pefw3Ff B9940qZKQWmV19u5LbSneMcwZ0jw73fv5SO88= 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=cn2Ei37YW+eOcggnJyxkoK8JqdRJ+ClHCKNwdr+EI3VDrn2z8LE6GM2El6LCcKfOCx VzYJVXKA7yHeaM+A0EfWm19JJzmLqlyAMWn3tFLN5n6j17Os3yo4xYHO8iNm5vqJr7F3 9yXhFR/1BcwD9CoRprqzqR5i2E80Pb2u98GZ4= MIME-Version: 1.0 Received: by 10.239.139.132 with SMTP id t4mr393537hbt.88.1260721749793; Sun, 13 Dec 2009 08:29:09 -0800 (PST) In-Reply-To: <200912122121.34980.freebsd@insightbb.com> References: <200912122121.34980.freebsd@insightbb.com> Date: Sun, 13 Dec 2009 16:29:09 +0000 Message-ID: From: krad To: Steven Friedrich Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Source upgrade from 7.2R o 8.0R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Dec 2009 16:29:11 -0000 2009/12/13 Steven Friedrich > When I try to build a kernel, make buildkernel, it complains that several > directories are missing, i.e., axe, ums, umass, etc. > > I'm doing a make update and my file says src-all, so how could there be > missing directories? > > I'm using csup. I tried to go back and use cvsup, but it appears it's been > removed. > _______________________________________________ > 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" > make sure your object tree is clean, to be sure rm -rf /usr/obj/* From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 16:44:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EEA0106566B for ; Sun, 13 Dec 2009 16:44:00 +0000 (UTC) (envelope-from lumiwa@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id E9CA58FC14 for ; Sun, 13 Dec 2009 16:43:59 +0000 (UTC) Received: by qyk6 with SMTP id 6so1182304qyk.3 for ; Sun, 13 Dec 2009 08:43:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=xkUDAG483uCcfMAdxUi4cuZcAzNwJ2MHS4tIHEAJN7g=; b=Ulu/pFtRf8uyPwSWOYI+yIqnrrnu/tSy8C6MCOTCWixKWJG4oblsJYReofQt+SDpDy 707RoDw+ZY01jiGdIp3+xrqV0735cuAb1A56DdCpS9m/64W3AHanPJppTx/qYdTFKwRa 8Jbya2UASAOiL83aMQfGZ3pq4rue23fKU6RkM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=I0BFoXZzoyh17Ll/ffPWUJLdUCl9IcLHYkVZ/ZTuIpXr/8ap3E9TdLjL5tSul786wa qedGL0VdoWM/eCL8JJ9Xt+Lv/M0SrMFttK/nRgLvjB90n71O6ZdCUp05ChpXNLzY9tDK SBMQprl15MSuNSryl9uJlSJGaIxt75JBAZ+OE= Received: by 10.224.35.41 with SMTP id n41mr2274862qad.308.1260722639094; Sun, 13 Dec 2009 08:43:59 -0800 (PST) Received: from athena.wi.rr.com (CPE-65-29-54-222.wi.res.rr.com [65.29.54.222]) by mx.google.com with ESMTPS id 7sm9716552qwb.22.2009.12.13.08.43.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 13 Dec 2009 08:43:58 -0800 (PST) From: ajtiM To: freebsd-questions@freebsd.org Date: Sun, 13 Dec 2009 10:42:50 -0600 User-Agent: KMail/1.12.4 (FreeBSD/8.0-RELEASE; KDE/4.3.4; i386; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200912131042.50936.lumiwa@gmail.com> Subject: boot warnings X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Dec 2009 16:44:00 -0000 Hi! I have a new installed FreeBSD 8.0 and some warnings (errors) during boot a computer: First warning is: ACPI Warning: \_SB_.PCI0.SBRG. FDC_._: Return type mismatch - found Package, expected buffer 20090521 nspredef-1051 The second is for CDROM: acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDR at ata1-master UDMA33 Thanks in advance. Mitja -------- http://redbubble.com From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 16:54:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B5E4106568B for ; Sun, 13 Dec 2009 16:54:31 +0000 (UTC) (envelope-from Lena@lena.kiev.ua) Received: from mx3.cyfra.ua (mx3.cyfra.ua [62.80.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 01FE98FC12 for ; Sun, 13 Dec 2009 16:54:30 +0000 (UTC) Received: from c.206.174.a516.dyn.adsl.cyfra.net ([62.80.174.206] helo=bedside.lena.kiev.ua) by mx3.cyfra.ua with esmtp (Exim 4.68) (envelope-from ) id 1NJriH-0006hu-VI for freebsd-questions@freebsd.org; Sun, 13 Dec 2009 18:54:30 +0200 Received: from bedside.lena.kiev.ua (localhost.lena.kiev.ua [127.0.0.1]) by bedside.lena.kiev.ua (8.14.3/8.14.3) with ESMTP id nBDGsJON019553; Sun, 13 Dec 2009 18:54:19 +0200 (EET) (envelope-from Lena@lena.kiev.ua) Received: (from lena@localhost) by bedside.lena.kiev.ua (8.14.3/8.14.3/Submit) id nBDGsI9q019552; Sun, 13 Dec 2009 18:54:18 +0200 (EET) (envelope-from Lena@lena.kiev.ua) Date: Sun, 13 Dec 2009 18:54:18 +0200 From: Lena@lena.kiev.ua To: Scott Bennett Message-ID: <20091213165418.GA19522@lena.kiev> References: <200912122355.nBCNtGOL007666@mp.cs.niu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200912122355.nBCNtGOL007666@mp.cs.niu.edu> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Mutt and openssl from port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2009 16:54:31 -0000 On Sat, Dec 12, 2009 at 05:55:16PM -0600, Scott Bennett wrote: > On Sat, 12 Dec 2009 21:46:27 +0200 Lena()lena.kiev.ua wrote: > >7.1-PRERELEASE. I'd like Mutt to use zlib compression when connecting to pop3s. > >openssl in base doesn't support zlib. I installed openssl port from package > >(in the port zlib in on by default), wrote in make.conf: > > > >WITH_OPENSSL_PORT=yes > > > >and `portupgrade -f mutt`. However, Mutt still uses openssl from base: > > > >~ $ ldd /usr/local/bin/mutt > >/usr/local/bin/mutt: > > libncursesw.so.7 => /lib/libncursesw.so.7 (0x28103000) > > libssl.so.5 => /usr/lib/libssl.so.5 (0x2814f000) > > libcrypto.so.5 => /lib/libcrypto.so.5 (0x28190000) > > libintl.so.8 => /usr/local/lib/libintl.so.8 (0x282ea000) > > libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x282f3000) > > libc.so.7 => /lib/libc.so.7 (0x283ea000) > > Right. We tor users just went through that, too. The problem is that > what WITH_OPENSSL_PORT=YES does is to add -L/usr/local/lib to the cc or gcc > command that does the link edit step. However, that adds the desired > directory to the *end* of the list of directories to be searched, when what > you want is to put it at the beginning of the list. What I ended up doing > was to add LDFLAGS="-rpath=/usr/local/lib" to the ./configure step for tor, > so you may want to take a look at the "make config" target to see how best > to do that for mutt. Be careful that the use of -rpath won't cause it to > include libraries from /usr/local/lib instead of from the base system for > other stuff where you might not want that to happen. Thanks, this seems to work: =========================================================================== --- Makefile.orig 2009-02-11 21:08:46.000000000 +0200 +++ Makefile 2009-12-13 18:05:06.000000000 +0200 @@ -83,9 +83,9 @@ GNU_CONFIGURE= yes USE_AUTOTOOLS= automake:19 autoconf:262 LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS}" +CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS="-rpath=/usr/local/lib ${LDFLAGS}" CONFIGURE_ARGS= --enable-pop --enable-imap --disable-fcntl \ - --with-ssl=${OPENSSLBASE} --sysconfdir=${PREFIX}/etc \ + --with-ssl=/usr/local --sysconfdir=${PREFIX}/etc \ --with-sharedir=${PREFIX}/share/mutt \ --with-docdir=${DOCSDIR} --with-charmaps \ --enable-compressed =========================================================================== ~ $ ldd /usr/local/bin/mutt /usr/local/bin/mutt: libncursesw.so.7 => /lib/libncursesw.so.7 (0x28103000) libssl.so.5 => /usr/local/lib/libssl.so.5 (0x2814f000) libcrypto.so.5 => /usr/local/lib/libcrypto.so.5 (0x28193000) libintl.so.8 => /usr/local/lib/libintl.so.8 (0x282da000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x282e3000) libc.so.7 => /lib/libc.so.7 (0x283da000) libz.so.4 => /lib/libz.so.4 (0x284d9000) libthr.so.3 => /lib/libthr.so.3 (0x284eb000) From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 17:07:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D9C9106566B for ; Sun, 13 Dec 2009 17:07:01 +0000 (UTC) (envelope-from ulrich@pukruppa.net) Received: from pukruppa.net (pukruppa.net [213.146.114.24]) by mx1.freebsd.org (Postfix) with ESMTP id 727F58FC16 for ; Sun, 13 Dec 2009 17:06:59 +0000 (UTC) Received: from pukruppa.net (localhost [127.0.0.1]) by pukruppa.net (8.14.3/8.14.3) with ESMTP id nBDH8m4h002258 for ; Sun, 13 Dec 2009 18:08:48 +0100 (CET) (envelope-from ulrich@pukruppa.net) Received: (from ulrich@localhost) by pukruppa.net (8.14.3/8.14.3/Submit) id nBDH8mgn002257 for freebsd-questions@freebsd.org; Sun, 13 Dec 2009 18:08:48 +0100 (CET) (envelope-from ulrich@pukruppa.net) From: Peter Ulrich Kruppa To: FreeBsd-Questions Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable Date: Sun, 13 Dec 2009 18:08:48 +0100 Message-ID: <1260724128.2007.16.camel@pukruppa.net> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 FreeBSD GNOME Team Port Subject: cups-1.4.2 usb printer not recognized X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Dec 2009 17:07:01 -0000 Hi, since my update to cups-1.4.2 I can't print anymore :-( I have got a HP Deskjet 990 Cxi attached to an USB port. My system is a FreeBSD 8.0 -STABLE amd64. =20 I can cat some words to /dev/ulpt0 but that's about all. When I access http://localhost:631 no local printer will show up. Any ideas? Thanks Uli. =20 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 13 17:10:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 583FF106566B for ; Sun, 13 Dec 2009 17:10:40 +0000 (UTC) (envelope-from frank@fthieme.net) Received: from wp047.webpack.hosteurope.de (wp047.webpack.hosteurope.de [80.237.132.54]) by mx1.freebsd.org (Postfix) with ESMTP id 183EF8FC0A for ; Sun, 13 Dec 2009 17:10:39 +0000 (UTC) Received: from dslb-094-222-154-200.pools.arcor-ip.net ([94.222.154.200] helo=stars.localnet); authenticated by wp047.webpack.hosteurope.de running ExIM with esmtpsa (TLSv1:DES-CBC3-SHA:168) id 1NJrxu-0004EJ-6c; Sun, 13 Dec 2009 18:10:38 +0100 From: Frank Thieme To: freebsd-questions@freebsd.org Date: Sun, 13 Dec 2009 18:10:38 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.31-ARCH; KDE/4.3.4; x86_64; ; ) References: <200912131042.50936.lumiwa@gmail.com> In-Reply-To: <200912131042.50936.lumiwa@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912131810.38468.frank@fthieme.net> X-bounce-key: webpack.hosteurope.de;frank@fthieme.net;1260724240;c83426d4; Subject: Re: boot warnings X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Dec 2009 17:10:40 -0000 On Sunday 13 December 2009 17:42:50 ajtiM wrote: > The second is for CDROM: > acd0: DMA limited to UDMA33, controller found non-ATA66 cable > acd0: DVDR at ata1-master UDMA33 I don't wanna offend you, but all your information is just written there. You could use more then UDMA33 on this controller, if you would use a modern cable (the ones with 80 wires and system/master/slave printed on it). Most optical drives are limited to UDMA33 anyway... Bye...Frank From owner-freebsd-questions@FreeBSD.ORG Tue Dec 15 21:24:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 987F81065754 for ; Tue, 15 Dec 2009 21:24:19 +0000 (UTC) (envelope-from linda.messerschmidt@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id A64868FC0C for ; Tue, 15 Dec 2009 21:24:18 +0000 (UTC) Received: by fxm27 with SMTP id 27so352636fxm.3 for ; Tue, 15 Dec 2009 13:24:17 -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=oozTxAZzoxt0oj2aAEE8lFzLNihefuMS2Q1DtJGwtCY=; b=ZQjRKdG6DJQF6c6IoXhqVgccnzLaNdjljxiIP/qs5Hpqdu0fpGqrhVn2FSS1obzTIS 8SnppKWeF9+OwjFSO1HN+hg6fGJ4QEwR8RE2WHLnirN7WmdhJ2/RdiiIcnzpIWJXuqmG 9nixuusKzXWLapoPrGZ4Dwzb06CA+vTQ3LmOY= 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=yIN45uGfE4SkYUMdau5r0gWoHdeDTe9pXMNa7XsmNjKueas8j8K/G2b7Isp/JNjGI4 ra+uAO6hylljV4Qsoyr89oJ61oWTPFlmx41c7n9fOCf9r7pkqxqKwplmDGxFk7ET2FLV jlIVcYIzZQiMqiewJ0uOJ2ZbwYwMc3lxKAey0= MIME-Version: 1.0 Received: by 10.216.90.196 with SMTP id e46mr26620wef.194.1260912256427; Tue, 15 Dec 2009 13:24:16 -0800 (PST) In-Reply-To: <20091215175320.GR84026@dan.emsphone.com> References: <237c27100912100909i9c0eb95jd348eb594d86c744@mail.gmail.com> <20091214001304.GN84026@dan.emsphone.com> <237c27100912141931w1a9d50c0hf85b9b8e271902eb@mail.gmail.com> <20091215175320.GR84026@dan.emsphone.com> Date: Tue, 15 Dec 2009 16:24:16 -0500 Message-ID: <237c27100912151324x3003b810v6145e5f5cd163dbf@mail.gmail.com> From: Linda Messerschmidt To: Dan Nelson Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions Subject: Re: 8.0: OpenSSL stat()'s NLS 500+ times causing extreme system load X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Dec 2009 21:24:20 -0000 On Tue, Dec 15, 2009 at 12:53 PM, Dan Nelson wrote: > It's defined in src/lib/libc/Makefile, so you should be able to remove that > line, rebuild libc and reinstall, and see whether your performance issue > goes away. I tried that and as you predicted, all the bogus stat calls went away. Unfortunately the performance issue did not. :( Back to the drawing board for me! Upon further inspection, it seems as though for each check, Nagios spawns a process that spawns a process that spawns a process that runs the check. I did "ktrace -i -t w -p (nagiospid)" on Nagios for 30 seconds and the ktrace output contained records from 2365 different processes spawned in that 30 seconds. During that time, I would expect about 800 checks to have run, so it does seem like it's right at 3 processes per check. I just don't think the system can keep up with all that fork()ing without going all out; it's just a limit of the Nagios plugin architecture. But thank you very much for point me in the right direction! From owner-freebsd-questions@FreeBSD.ORG Tue Dec 15 23:16:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B44E106566B for ; Tue, 15 Dec 2009 23:16:16 +0000 (UTC) (envelope-from felix@mayaxatl.org) Received: from elvis.mayaxatl.org (ip13-124-174-82.adsl2.static.versatel.nl [82.174.124.13]) by mx1.freebsd.org (Postfix) with ESMTP id D4BEA8FC08 for ; Tue, 15 Dec 2009 23:16:15 +0000 (UTC) Received: by elvis.mayaxatl.org (Postfix, from userid 100) id 4196922825; Tue, 15 Dec 2009 23:58:44 +0100 (CET) Received: from jimi.mayaxatl.org (unknown [192.168.0.54]) by elvis.mayaxatl.org (Postfix) with ESMTPA id 277152280B; Tue, 15 Dec 2009 23:58:44 +0100 (CET) Message-ID: <4B28149A.3000805@mayaxatl.org> Date: Tue, 15 Dec 2009 23:58:34 +0100 From: Felix Janssen User-Agent: Thunderbird 2.0.0.23 (X11/20091201) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Problem with snd_hda and Realtek ALC260 and FreeBSD 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Dec 2009 23:16:16 -0000 Hi, I have a Sony Vaio laptop which has a HDA sound card. The sound used to work fine with FreeBSD 6.4. I recently upgraded to FreeBSD 8.0 and I can't get the sound to work. Below are dmesg, sndstat and pindump outputs. Even the beep which sounds when you press esc in a terminal does not work. What could be the problem and how can I fix it? Kind regards, Felix Janssen # dmesg |grep hdac hdac0: mem 0xb0000000-0xb0003fff irq 16 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20091113_0138 hdac0: [ITHREAD] hdac0: HDA Codec #0: Realtek ALC260 hdac0: HDA Codec #1: Conexant (Unknown) hdac0: hdac_audio_as_parse: Duplicate pin 0 (18) in association 1! Disabling association. hdac0: hdac_audio_as_parse: Pin 18 has wrong direction for association 1! Disabling association. hdac0: hdac_audio_as_parse: Duplicate pin 0 (20) in association 2! Disabling association. hdac0: hdac_audio_as_parse: Pin 20 has wrong direction for association 2! Disabling association. pcm0: at cad 0 nid 1 on hdac0 # cat /dev/sndstat Installed devices: pcm0: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex default) # sysctl dev.hdac.0.pindump=1 hdac0: Dumping AFG cad=0 nid=1 pins: hdac0: nid 15 0x02014110 as 1 seq 0 Line-out Jack jack 1 loc 2 color Green misc 1 [DISABLED] hdac0: Caps: IN OUT HP EAPD Sense: 0x80001f41 delay 15730us hdac0: nid 16 0x21011120 as 2 seq 0 Line-out Jack jack 1 loc 33 color Black misc 1 [DISABLED] hdac0: Caps: IN OUT HP EAPD Sense: 0x80001f41 delay 16450us hdac0: nid 17 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: Caps: OUT hdac0: nid 18 0x02a15910 as 1 seq 0 Mic Jack jack 1 loc 2 color Red misc 9 [DISABLED] hdac0: Caps: IN OUT HP VREF Sense: 0x80001f41 delay 16450us hdac0: nid 19 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: Caps: IN OUT HP VREF Sense: 0x80001f41 delay 16440us hdac0: nid 20 0x21845120 as 2 seq 0 Line-in Jack jack 4 loc 33 color Red misc 1 [DISABLED] hdac0: Caps: IN OUT HP VREF Sense: 0x80001f41 delay 16460us hdac0: nid 21 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: Caps: IN OUT HP VREF Sense: 0x80001f41 delay 16450us hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: Caps: IN hdac0: nid 24 0x21451130 as 3 seq 0 SPDIF-out Jack jack 5 loc 33 color Black misc 1 hdac0: Caps: OUT Sense: 0x80000000 hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: Caps: IN Sense: 0x80000000 hdac0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 hdac0: GPIO: data=0x00000000 enable=0x00000000 direction=0x00000000 hdac0: wake=0x00000000 unsol=0x00000000 sticky=0x00000000 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 00:40:30 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 513D11065676 for ; Wed, 16 Dec 2009 00:40:30 +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 D25DC8FC0A for ; Wed, 16 Dec 2009 00:40:29 +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 nBFEw9HD023614 for ; Tue, 15 Dec 2009 06:58:09 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 15 Dec 2009 06:58:09 -0800 (PST) Date: Tue, 15 Dec 2009 06:58:08 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20091215145806.GA9467@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Subject: APC Smartups 1500va sua1500 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 00:40:30 -0000 Guys, A post I send yesterday never showed up, so I'll ask again with the following question: Do we have a driver for the APC SmartUPS 1500VA #sUA1500? 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 Wed Dec 16 03:04:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 095601065676 for ; Wed, 16 Dec 2009 03:04:26 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id B640D8FC1B for ; Wed, 16 Dec 2009 03:04:25 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy3.bredband.net (7.3.140.3) id 4AD3E1BA01AC2663 for freebsd-questions@freebsd.org; Wed, 16 Dec 2009 04:04:24 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvFaAGfdJ0tV44PPPGdsb2JhbACBS5cqgkcBAQEBN7sRhCsE X-IronPort-AV: E=Sophos;i="4.47,403,1257116400"; d="scan'208";a="16090713" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb1.telenor.se with ESMTP; 16 Dec 2009 04:04:24 +0100 Message-ID: <4B284E37.3000909@lazlarlyricon.com> Date: Wed, 16 Dec 2009 04:04:23 +0100 From: Rolf Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Native PDF viewer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 03:04:26 -0000 Hi all, Since I don't have Linux compat layer activated, and I have no need for it, I'd like to ask if anyone can suggest a native PDF viewer (I'm not fond of the idea of installing a compat layer for just one application). Currently I'm using GIMP to view PDF files, but since GIMP opens them either as several single pictures (one per page) or one picture with several layers (one layer per page), it gets a little hard to browse through the pages, especially with big documents, e.g. my camera manual. I founed several apps among the ports, too many to test them all, so if anyone has ideas or can tell me what the pros and cons are for some of those apps, I'd greatly appreciate it. Cheers, Rolf Nielsen From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 03:24:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B4FE106568D for ; Wed, 16 Dec 2009 03:24:47 +0000 (UTC) (envelope-from ambsd@raisa.eu.org) Received: from raisa.eu.org (raisa.eu.org [83.17.178.202]) by mx1.freebsd.org (Postfix) with ESMTP id CA91C8FC0A for ; Wed, 16 Dec 2009 03:24:46 +0000 (UTC) Received: from bolt.zol (62-121-98-25.home.aster.pl [62.121.98.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by raisa.eu.org (Postfix) with ESMTP id E0387254; Wed, 16 Dec 2009 03:55:57 +0100 (CET) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Ben Schumacher" References: <9859143f0912142036k3dd0758fmc9cee9b6f2ce4698@mail.gmail.com> Date: Wed, 16 Dec 2009 03:52:35 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Emil Smolenski" Message-ID: In-Reply-To: <9859143f0912142036k3dd0758fmc9cee9b6f2ce4698@mail.gmail.com> User-Agent: Opera Mail/10.10 (FreeBSD) Cc: freebsd-fs@freebsd.org, freebsd-questions@freebsd.org Subject: Re: SUIDDIR on ZFS? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 03:24:47 -0000 On Tue, 15 Dec 2009 05:36:55 +0100, Ben Schumacher wrote: > At any rate, I've been considering switching this to a ZFS RAIDZ now > that FreeBSD 8 is released and it seems that folks think it's stable, > but I'm curious if it can provide the SUIDDIR functionality I'm > currently using. Yes, it can. From my point of view it works the same way as on UFS. -- am From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 03:48:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E6CC106566C for ; Wed, 16 Dec 2009 03:48:00 +0000 (UTC) (envelope-from ianf@ozemail.com.au) Received: from outbound.icp-qv1-irony-out6.iinet.net.au (outbound.icp-qv1-irony-out6.iinet.net.au [203.59.1.109]) by mx1.freebsd.org (Postfix) with ESMTP id A41358FC0A for ; Wed, 16 Dec 2009 03:47:59 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArMBAHPgJ0t8qAR2/2dsb2JhbAAImG2+B4I4gXMEgWI X-IronPort-AV: E=Sophos;i="4.47,403,1257091200"; d="scan'208";a="43422658" Received: from unknown (HELO [127.0.0.1]) ([124.168.4.118]) by outbound.icp-qv1-irony-out6.iinet.net.au with ESMTP; 16 Dec 2009 11:20:07 +0800 Message-ID: <4B2851DF.1090107@ozemail.com.au> Date: Wed, 16 Dec 2009 14:19:59 +1100 From: Ian Fitzgerald User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 091215-0, 15/12/2009), Outbound message X-Antivirus-Status: Clean Subject: Re-compiling PHP changes server responsiveness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 03:48:00 -0000 Recently upgraded (fresh install) FBSD 8, including MySql, Apache22, phpMyAdmin, KDE4 Gnome2.26 from DVD iso. Running ok as test server, but unusual error from added, complex CMS prompted me to re-install PHP5 and PHP5-extensions as pkg_add -r (using ports files from iso), then with no success, compiling them (using ports files from iso), with slightly different make config. Now server does not respond, either to 'localhost' request on its browser, or specific address request from another machine on local network. I assume re-compiling PHP would not clobber hosts or resolv.conf (they look ok). I get: "[warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter, and no new errors in /var/log/httpd-error.log" four times Tried adding accf_http="YES" to /boot/loader.conf, and re-booting of course. Tried refreshing ports (inital re-compile attempt failed with make complaining that postgres-client had been marked invalid - when will someone fixit?), and re-compiling apache22 => no change. ps -auxc: no httpd. FF3 under Gnome on the machine fetches external pages, of course (using router DNS). What else should I look at? -- ianf From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 03:53:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7549C1065670 for ; Wed, 16 Dec 2009 03:53:39 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4B6CC8FC20 for ; Wed, 16 Dec 2009 03:53:39 +0000 (UTC) Received: from eagle.syrec.org (c-24-6-221-126.hsd1.ca.comcast.net [24.6.221.126]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id nBG3rcIB063587 for ; Tue, 15 Dec 2009 19:53:38 -0800 (PST) Message-ID: <4B2859C1.2040909@rawbw.com> Date: Tue, 15 Dec 2009 19:53:37 -0800 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20091130) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Why VNC server crashes when client disconnects? 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, 16 Dec 2009 03:53:39 -0000 I used vnc while ago without this problem. Now I see that when client gracefully exits (window close) server crashes with exception: terminate called after throwing an instance of 'rdr::EndOfStream' knotify: Fatal IO error: client killed kwin: Fatal IO error: client killed ksmserver: Fatal IO error: client killed kaccess: Fatal IO error: client killed .... Is this something temporary, or somethig's wrong with my system? vnc-4.1.3_2 on vnc-4.1.3_2 Yuri From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 06:15:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ED46106566B for ; Wed, 16 Dec 2009 06:15:59 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by mx1.freebsd.org (Postfix) with ESMTP id 42B168FC0A for ; Wed, 16 Dec 2009 06:15:59 +0000 (UTC) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.3/8.14.3) with ESMTP id nBG6FwRZ028510 for ; Wed, 16 Dec 2009 01:15:58 -0500 (EST) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.3/8.14.3/Submit) with ESMTP id nBG6Fwnx028507 for ; Wed, 16 Dec 2009 01:15:58 -0500 (EST) (envelope-from doug@fledge.watson.org) Date: Wed, 16 Dec 2009 01:15:58 -0500 (EST) From: doug To: freebsd-questions@freebsd.org In-Reply-To: <200912131810.38468.frank@fthieme.net> Message-ID: References: <200912131042.50936.lumiwa@gmail.com> <200912131810.38468.frank@fthieme.net> 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 (fledge.watson.org [127.0.0.1]); Wed, 16 Dec 2009 01:15:58 -0500 (EST) Subject: question about xorg 7.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@safeport.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 06:15:59 -0000 I have a IBM thinkpad T42p. xorg 7.4 is pretty much a disaster for me. First I wonder if anyone has gotten 7.4 to work on this or similar hardware. The system is 3+ years old when it was still IBM. I have done this a time or two starting with the first version of KDE and FreeBSD 4.. I believe I have tried all of the options in the handbook plus a couple of various from this list and google. So I was not going to add xdm and Xorg output, at first anyway. The one thing I have not done is upgrade the BIOS and am not sure that matters. I was/am afraid of breaking an otherwise great system. It runs xorg 7.3 and KDE 3 or 4 fine. I go to this point because I broke things trying to install firefox3 and got all tangled up in upgrading ports and thought I would give xorg 7.4 a try. I am running FreeBSD 7.2. Xorg was installed using pkg_add on a system without any ports. Upon hitting the xdm trap, I also installed that package. All variations give me a black screen with the keyboard locked. startx, xdm and xorg all do the same. I assume this is a hardware issue and hope someone found a way around it. Thank you for any thoughts, tips, ideas, etc. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 07:43:09 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25C6C106566C for ; Wed, 16 Dec 2009 07:43:09 +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 E356C8FC0C for ; Wed, 16 Dec 2009 07:43:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by oceanpt.safeport.com (8.14.2/8.14.2) with ESMTP id nBG7h3QG005130; Wed, 16 Dec 2009 02:43:03 -0500 (EST) (envelope-from doug@safeport.com) Date: Wed, 16 Dec 2009 02:43:03 -0500 (EST) 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]); Wed, 16 Dec 2009 02:43:03 -0500 (EST) Cc: Subject: Up grading ports, Xorg et all X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 07:43:09 -0000 I messed up a KDE 3.5.10 trying to install firefox3 so I thought I would attempt to upgrade using portupgrade and/or portmaster. After a lot of work I think I am back to if you use KDE the only way to upgrade is to start afresh. At this point I thought I would try Xorg 7.4. I did a "pkg_delete -a" and "pkg_add -r xorg". This was a complete disaster. After trying all the configuration options, tips etc in the handbook, google et all, I decided my 3+ year old thinkpad was just not supported so I composed a "can anyone help me" email to questions. This went off into the ether through user error. While I was waiting for help I thought I would try installing Xorg from an iso image. The resulting install worked out of the box using the last variation of xorf.conf I had tried. I am left to assume that what I got from pkg_add does not fit together. Obviously my earlier attempts to get an xorg.conf file worked fine. The code did not. As a thought to the Xorg, I do not think the unbundling makes things more stable. Xfree86 was bad enough (so I thought) with its couple of dozen (or so) components. Starting from scratch I now have 204 ports and two versions of python just to run twm. Given that some number of the 204 component are under active development using pkg_add seems out of the question. The second version of python came in because I could not find xdm in the 7.2-release disk1 iso so I did a pkg_add on xdm. Aside from venting a bit, my message is the Xorg set from a release iso probably has a better chance of working if you run into problems. I do not own or have access to any systems that could build Xorg or KDE in less than a month so I am clueless if building from source would have worked any better. _____ Douglas Denault http://www.safeport.com support@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 15:51:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 820D8106566C for ; Wed, 16 Dec 2009 15:51:30 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.freebsd.org (Postfix) with ESMTP id 25B638FC0A for ; Wed, 16 Dec 2009 15:51:30 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id 78D9E1F08D for ; Wed, 16 Dec 2009 10:51:29 -0500 (EST) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 48B012D35F for ; Wed, 16 Dec 2009 10:51:29 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1NKw9w-0001I6-00 for ; Wed, 16 Dec 2009 10:51:28 -0500 Date: Wed, 16 Dec 2009 10:51:28 -0500 From: stan To: Free BSD Questions list Message-ID: <20091216155128.GA4758@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 10:44:28 up 77 days, 17:57, 1 user, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: USBserial port convertor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 15:51:30 -0000 I need to support 5 RS-232 streams with my FreeBSD 7.2 machine. I just purchased UTS-408A-S1 8 port adapter. When I plug it in, I get the following in dmesg: uhub3: on uhub1 uhub3: single transaction translator uhub3: 4 ports with 4 removable, self powered ucom0: on uhub3 ucom1: on uhub3 uhub4: on uhub3 uhub4: single transaction translator uhub4: 4 ports with 4 removable, self powered Do I need to add a driver to my kernel? Right now I have the GENERIC one installed. What devices should I try? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 16:36:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39FB71065670 for ; Wed, 16 Dec 2009 16:36:47 +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 111EB8FC1E for ; Wed, 16 Dec 2009 16:36:46 +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 nBGGaebB018830 for ; Wed, 16 Dec 2009 10:36:43 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200912161636.nBGGaebB018830@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Date: Wed, 16 Dec 2009 10:36:40 -0600 From: Martin McCormick Subject: sed -f Script Syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 16:36:47 -0000 If you have a sed script that is executable as in the first line starts with #! /usr/bin/sed -f and the following lines are like: /this repetitive line/d /and another repetitive line to go/d This all works great. You just make the file executable and use it as a filter if you want to remove any instance of those lines in text. How does one embed a command in this filter to make sed understand an extended or modern regular expression like: /part 1[[:space:]]text\/html[[:space:]]/d This is normally the -e flag but I haven't figured out how to put it in the script. I would like to either use it to make that one line show up as an extended regular expression or make sed run the entire script in the -e mode. In this particular case, I have made a 14-line script called nuisancefilter that vaporizes annoying blocks of text from Email messages. I have read the man page and it says that this is possible, but I never quite understood how to apply the commands to an executable sed script file. Many thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 17:19:28 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D790F1065694 for ; Wed, 16 Dec 2009 17:19:28 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id B2E128FC26 for ; Wed, 16 Dec 2009 17:19:28 +0000 (UTC) Received: by pwi15 with SMTP id 15so812223pwi.3 for ; Wed, 16 Dec 2009 09:19:28 -0800 (PST) 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=2QOni1ktzK2O39UpGzxUPPF6fRocU8j6JoNVD08Cbo4=; b=m154XBblSk3d2yOjs2w7AN38EaXu0yl+jz90u1GlC4nS8Qu3prO8HmPIfQlywbWoQA HNzKv68jwjto+wpH01tYh2WQe6SYAIMsJ7cVjOH2mXbGXsNOXhZ3zsFinyYHcBTYOtg+ IplskThuXef+QtOKwGmSn7yoCYjb5zkCRmRXA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VA+ZRp/shw3al4B1dYZWOi0yO+7kXz/PFyJO8tluZHIhfOkPRPYRBC99T8fnTNpDEv bLgjdWnt2o2swHwH5XrfjDswL9H2qx1pxP2eueBff0Jr5OeniNfPp2TH2dwHrRlnQsWH wqjjuwVzdWcCZeRFbcIrmRu87uvGZQv4riHQA= MIME-Version: 1.0 Received: by 10.142.117.9 with SMTP id p9mr825986wfc.180.1260982190616; Wed, 16 Dec 2009 08:49:50 -0800 (PST) Date: Wed, 16 Dec 2009 11:49:50 -0500 Message-ID: <54db43990912160849n190a6c30wb9dce88a10624c0c@mail.gmail.com> From: Bob Johnson To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Can I rescan for new PCI devices? Or should hotplugging Expresscards 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: Wed, 16 Dec 2009 17:19:28 -0000 I'm using an ExpressCard for wireless networking because there seems to be no driver for the internal card in my laptop (and NDIS panics the system). The Expresscard shows up as a PCI device and works fine, except that it must be in the system at boot time to be recognized. Judging by old posts I found on the topic, it appears that automated hotplugging of PCI devices is probably still work in progress, but is there a way to manually have the system rescan for PCI devices so I don't have to reboot when I insert the network card? I'm using 8.0 RELEASE amd64. Thanks! -- -- Bob Johnson fbsdlists@gmail.com From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 17:54:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDFAB106566B for ; Wed, 16 Dec 2009 17:54:01 +0000 (UTC) (envelope-from robert@webtent.com) Received: from vnyxbo.webtent.net (vnyxbo.webtent.net [208.38.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 82DE48FC1A for ; Wed, 16 Dec 2009 17:54:00 +0000 (UTC) Received: from [192.168.1.103] (h166.130.89.75.dynamic.ip.windstream.net [75.89.130.166]) (authenticated bits=0) by vnyxbo.webtent.net (8.13.8/8.13.8) with ESMTP id nBGHrweW026703; Wed, 16 Dec 2009 12:53:59 -0500 Message-ID: <4B291EB5.5040605@webtent.com> Date: Wed, 16 Dec 2009 12:53:57 -0500 From: Robert Fitzpatrick User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Jacques Manukyan References: <4B23CD8A.50203@webtent.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: slow clock on FreeBSD 7.2 on 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, 16 Dec 2009 17:54:01 -0000 On 12/15/2009 9:38 AM, Jacques Manukyan wrote: > On Sat, 12 Dec 2009 12:06:18 -0500, Robert Fitzpatrick > wrote: > >> I found posts about this and a possible solution is to disable APIC >> by adding hint.apic.0.disabled=1 to /boot/loader.conf. But after >> doing so, it booted to the mountroot prompt and would not recognize >> my ufs:/dev/da0s1a partition when tried. I went to FixIt and removed >> the line from the loader.conf file and it boots fine. I do have some >> other things to help the pgsql db on this server in the loader.conf >> file, are they interfering? >> >> pgsql# cat /boot/loader.conf >> kern.ipc.semmni=32 >> kern.ipc.semmns=512 >> hint.apic.0.disabled=1 >> > > Try putting: > > kern.hz="50" > > in your /boot/loader.conf Thanks, that worked. I removed the hint.apic.0.disabled line and put the kern.hz line back in except this time with 50 instead of 100 and it boots and seems to be keeping time now fine. Since I am a programmer and not a system admin, not sure what this does and would like to know, what is the kern.hz telling FreeBSD? > > I run multiple FreeBSD servers inside VMWare and I don't have this > problem. Are you running VMWare workstation? Or ESX/ESXi? I am running VMware Server 2.0...thanks again. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 18:03:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43FA41065676 for ; Wed, 16 Dec 2009 18:03:22 +0000 (UTC) (envelope-from dmontalvo@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 1DBA18FC1D for ; Wed, 16 Dec 2009 18:03:21 +0000 (UTC) Received: by pzk15 with SMTP id 15so853740pzk.3 for ; Wed, 16 Dec 2009 10:03:21 -0800 (PST) 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=za/hJeMy2TwR9LUtcO0ZzW0yJLgEnyHLtuLO4HNLYfw=; b=nqWmpvJUrroSl/m+PHD7ltB4NI7EKQHj1OOAbklggR2+fc/kffYyBru5A43ESgZPKb xeiem6akrRzJoYo/hWxF1w8gGvaj79s93/caePpuqSa5sWc7Yulv7pS/osuhkUnBUb/0 PvlDxAuf5Vw7ogIvC+4YreceRPAxwLc56y+E0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QveRN/v4uNynbUe0xQmBFleLsQyc82WUObNfQkp76JFZ2v6PYci+DsNfT8lhSkW9c4 DLJccJmmAscKhCRrw91MuI34w0YE1PZw3gJ/DMcsx8EXwMCpXD7vsCdPyLk4tXhHFT11 yQXnk6I5Nq6xNy/r88FGHWjYFsQTHbNXQyz7I= MIME-Version: 1.0 Received: by 10.142.75.12 with SMTP id x12mr882491wfa.157.1260986601322; Wed, 16 Dec 2009 10:03:21 -0800 (PST) Date: Wed, 16 Dec 2009 10:03:21 -0800 Message-ID: From: Diego Montalvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Have not received emails for a few days now.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 18:03:22 -0000 Is there something wrong with the freebsd-questions@freebsd.org mailing list? perhaps I got booted accidentally. Cheers! Diego From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 19:04:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E327E1065679 for ; Wed, 16 Dec 2009 19:04:33 +0000 (UTC) (envelope-from kryol@bigmir.net) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 868848FC24 for ; Wed, 16 Dec 2009 19:04:33 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so327014eyf.9 for ; Wed, 16 Dec 2009 11:04:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.50.69 with SMTP id y5mr1520281ebf.48.1260988432282; Wed, 16 Dec 2009 10:33:52 -0800 (PST) X-Originating-IP: [93.73.63.153] Date: Wed, 16 Dec 2009 20:33:52 +0200 Message-ID: <4fc8a0960912161033x54f06a1doa8f74f455741101@mail.gmail.com> From: Oleksii Krykun To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ipfilter unwanted blocking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 19:04:34 -0000 Hi, I use FreeBSD 7.2-RELEASE with IPFilter used as proxy server for our LAN. I have following rules for external interface: block in log on rl0 all head 100 block out log on rl0 all head 200 pass out quick proto udp from a.b.c.d/32 to any keep state group 200 pass out quick proto tcp from a.b.c.d/32 to any flags S/SA keep state keep frags group 200 All works but sometimes IPF block all (or most of them) packets to ports 80 and 53 for about 2-3 up to 40-50 s. After this IPF returns to normal operation. How to investigate this problem? I tried remove flags and "keep frags" but without success. No regularity. Is this a IPF problem, wrong packages or kernel settings? Any idea? From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 19:11:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D989106568D for ; Wed, 16 Dec 2009 19:11:12 +0000 (UTC) (envelope-from js.lists@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id F3ED68FC12 for ; Wed, 16 Dec 2009 19:11:11 +0000 (UTC) Received: by yxe1 with SMTP id 1so1293659yxe.3 for ; Wed, 16 Dec 2009 11:11:11 -0800 (PST) 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=JHTyVuxHaN6YgyFMMQkk9DY0NYOZnJ/8BV1ThJwb8FA=; b=EkNddrqqKh091CJYSD4595jVzpyfGA6419Rzogm8VSPvWaw0qz+7p8MjFy3Gh/pBD1 w5nPiacO+1hZGqsCn6mq/7c7tmKeSYiGD/fXuAyCDRFdnX/bs2SFy2HP556lpEjRxjwT Z6dsutS88OGElzu+xkmixSuYOmXZj3KFMCYBg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qY0ntbK/xxoNFX5tBPoM9aNGOWrTUnNVzr1Gn3uNyx2NdnEXbl3I2lz5HOKfHds+vO umz/d3Vy26d6ej3wYZjg2zsharJS4cYXOufbY0vVtiYJU4YywWGTcC03IVC5IAWkY0iU Lu0Zixs+0Uv7OqwKns/Xh/4zDyDl42ux6jltM= MIME-Version: 1.0 Received: by 10.90.168.13 with SMTP id q13mr1428038age.99.1260989246072; Wed, 16 Dec 2009 10:47:26 -0800 (PST) Date: Wed, 16 Dec 2009 10:47:25 -0800 Message-ID: From: Joe S To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: How to apply a patch for Broadcom 5715S X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 19:11:12 -0000 I have the same problem as reported in this bug: http://www.freebsd.org/cgi/query-pr.cgi?pr=122551 Someone attached a patch to the bug that resolves the problem. I don't know how to apply the patch. Can someone please show me how? From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 20:30:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 644471065672 for ; Wed, 16 Dec 2009 20:30:05 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 4C4818FC24 for ; Wed, 16 Dec 2009 20:30:05 +0000 (UTC) Received: by pwi15 with SMTP id 15so929350pwi.3 for ; Wed, 16 Dec 2009 12:30:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.115.66.28 with SMTP id t28mr975455wak.177.1260993906835; Wed, 16 Dec 2009 12:05:06 -0800 (PST) Date: Wed, 16 Dec 2009 12:05:06 -0800 Message-ID: From: Peter Wemm To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: black hole test X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 20:30:05 -0000 Daignostic message to trace mailing list processing, please ignore. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell From nobody Wed Dec 16 20:54:11 2009 From: Peter Wemm To: freebsd-questions@freebsd.org Message-id: <123456789.abcd@freebsd.org> Date: Mon, 15 Dec 2009 08:19:05 +1300 Subject: diagnostic test X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 20:42:04 -0000 Test From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 21:06:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC0CE10656B3 for ; Wed, 16 Dec 2009 21:06:53 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id 215168FC0A for ; Wed, 16 Dec 2009 21:06:52 +0000 (UTC) Received: from pulstar.local (athedsl-4471590.home.otenet.gr [94.71.123.22]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id nBGL6p5W026147; Wed, 16 Dec 2009 23:06:51 +0200 Message-ID: <4B294BEB.2000703@otenet.gr> Date: Wed, 16 Dec 2009 23:06:51 +0200 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Gary Kline References: <20091215145806.GA9467@thought.org> In-Reply-To: <20091215145806.GA9467@thought.org> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: FreeBSD Mailing List Subject: Re: APC Smartups 1500va sua1500 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 21:06:53 -0000 On 15/12/2009 4:58 μ.μ., Gary Kline wrote: > Guys, > > A post I send yesterday never showed up, so I'll ask again > with the following question: Do we have a driver for the > APC SmartUPS 1500VA #sUA1500? > > gary > > > Use sysutils/apcupsd Works great with all APC products I've tried. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 21:19:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73F04106566B for ; Wed, 16 Dec 2009 21:19:44 +0000 (UTC) (envelope-from oloringr@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 F29678FC08 for ; Wed, 16 Dec 2009 21:19:43 +0000 (UTC) Received: by ewy26 with SMTP id 26so518020ewy.3 for ; Wed, 16 Dec 2009 13:19:43 -0800 (PST) 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=9urGkxJqbyX40I85TXpdpTNmZWGeTP3Yy+M94wzW1i4=; b=Tue5hobxxDxLuQ/752G2XByZVS92DtIe6j7O72RQzabRRMippAiCJtCXHJL0jshsAZ tuc54isEr3suVbKCHpCNZxVtCoLh0dh8Dq48GuYcmsDGl3Ax1xT3rIisOgLZT8rGGlmo gBUBWFT2FmjdmDRQSgcYWBfsGn16Rur2h1ZDQ= 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=vPChfvRMlJMwaEcpWtnb5bzdJMJ/7P2uyGk7x0o9zjBd5lQQb379U8HezgPuttgDo1 RcmOF11GrTIZnN7iV6YyT+RbKu7+wH9n6LOzRPGYvlsI8LcKq+4WQ8W0+Qw5Q2KG00ce ke2zIlpVOxbKrmVlxPc5TAaPPIdAVlpEAOswA= Received: by 10.216.88.14 with SMTP id z14mr615891wee.25.1260998382908; Wed, 16 Dec 2009 13:19:42 -0800 (PST) Received: from media.localnet (62.1.242.34.dsl.dyn.forthnet.gr [62.1.242.34]) by mx.google.com with ESMTPS id q9sm4644513gve.15.2009.12.16.13.19.41 (version=SSLv3 cipher=RC4-MD5); Wed, 16 Dec 2009 13:19:42 -0800 (PST) From: Ed Jobs To: freebsd-questions@freebsd.org Date: Wed, 16 Dec 2009 23:19:41 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.31-ARCH; KDE/4.3.4; i686; ; ) References: <4B284E37.3000909@lazlarlyricon.com> In-Reply-To: <4B284E37.3000909@lazlarlyricon.com> X-Face: %5EDs|At1pm>WE%P0}6)Hi*s, JH2J${69~j)R"Yu'^P9R3#fvi{LmpsCzxvX*38/, kxcUd QVrlS0G,}-ll{||\P]; *'Gz`RTG+dzconmNyDY3rJHBmpEJkFj|; %vZO&~T")='B<; 88~[ Cltx6#}N*E MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2368359.hWyghEZXx5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200912162319.41593.oloringr@gmail.com> Subject: Re: Native PDF viewer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 21:19:44 -0000 --nextPart2368359.hWyghEZXx5 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Wednesday 16 December 2009 05:04, Rolf Nielsen wrote: > Hi all, >=20 > Since I don't have Linux compat layer activated, and I have no need for > it, I'd like to ask if anyone can suggest a native PDF viewer (I'm not > fond of the idea of installing a compat layer for just one application). > Currently I'm using GIMP to view PDF files, but since GIMP opens them > either as several single pictures (one per page) or one picture with > several layers (one layer per page), it gets a little hard to browse > through the pages, especially with big documents, e.g. my camera manual. >=20 > I founed several apps among the ports, too many to test them all, so if > anyone has ideas or can tell me what the pros and cons are for some of > those apps, I'd greatly appreciate it. >=20 > Cheers, >=20 > Rolf Nielsen hi, i'm either using epdfview (cause it's lightweight and low on deps) or=20 emacs (which last week i discovered that it can display pdf files) dependin= g=20 on my mood. if you are not familiar with emacs, epdfview is a very good (GTK) client. =2D-=20 Real programmers don't document. If it was hard to write, it should be hard= to=20 understand. --nextPart2368359.hWyghEZXx5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkspTu0ACgkQBPpdVEWKA32o/wCaAsN49U94OSW/tr/9yu8Gg0oi SKUAnRIVZhoUYqBQA5nfO0+UKC1QVFfS =PXaV -----END PGP SIGNATURE----- --nextPart2368359.hWyghEZXx5-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 21:23:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A728106566B for ; Wed, 16 Dec 2009 21:23:50 +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 3A1F68FC13 for ; Wed, 16 Dec 2009 21:23:50 +0000 (UTC) Received: from www.eskk.nu (localhost.gelita.se [127.0.0.1]) by mail.gelita.se (Postfix) with ESMTP id 8670410EE81; Wed, 16 Dec 2009 22:23:47 +0100 (CET) Received: from 78.70.46.42 (SquirrelMail authenticated user leslie) by www.eskk.nu with HTTP; Wed, 16 Dec 2009 22:23:47 +0100 Message-ID: In-Reply-To: <4B284E37.3000909@lazlarlyricon.com> References: <4B284E37.3000909@lazlarlyricon.com> Date: Wed, 16 Dec 2009 22:23:47 +0100 From: "Leslie Jensen" To: "Rolf Nielsen" User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Troback-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 8670410EE81.5312F X-Troback-MailScanner: Found to be clean X-Troback-MailScanner-From: leslie@eskk.nu X-Spam-Status: No Cc: FreeBSD Questions Subject: Re: Native PDF viewer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 21:23:50 -0000 xpdf http://www.freebsd.org/cgi/ports.cgi?query=xpdf&stype=name&sektion=graphics > Hi all, > > Since I don't have Linux compat layer activated, and I have no need for > it, I'd like to ask if anyone can suggest a native PDF viewer (I'm not > fond of the idea of installing a compat layer for just one application). > Currently I'm using GIMP to view PDF files, but since GIMP opens them > either as several single pictures (one per page) or one picture with > several layers (one layer per page), it gets a little hard to browse > through the pages, especially with big documents, e.g. my camera manual. > > I founed several apps among the ports, too many to test them all, so if > anyone has ideas or can tell me what the pros and cons are for some of > those apps, I'd greatly appreciate it. > > Cheers, > > Rolf Nielsen -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 21:59:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44CC91065670 for ; Wed, 16 Dec 2009 21:59:36 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id C7C748FC0A for ; Wed, 16 Dec 2009 21:59:35 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so365383eyf.9 for ; Wed, 16 Dec 2009 13:59:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=YaOfLYphOLDscJYxGPnrcfJfy+0hmyeA/gyiCLohRS8=; b=YTNkKyHmIsT8jM3PNq/R445N8T16BdBTcaW8yqHw4jHRFChp4TsoltiML0eC8tE6uK d6OJyljuUD6bQimXbZRTEAlLBZeii61YrkoLMa9lIcZGHrPxOnP2YHutA3QW2m2u5zNS v6AIpj0j1x9/kAL1kKTSESkZptNebz79jK9M4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:mime-version :content-type:content-transfer-encoding:message-id; b=OpxMf/yoscHEALPYES26IUOZrywS7U4L+bN7//i/oGLNPtHhxO9eRH62/io8jebBxH k8yyrArtw6OaqNGmt5h5VhvhShHwjBXvTRzxM2ueCws+IPB7WAc6ul5kM/oEAWMkEVHj 8m7jtZQBdSG5C212MZog6Za/3IXGd2uXJDSPg= Received: by 10.213.15.14 with SMTP id i14mr1814679eba.50.1261000774703; Wed, 16 Dec 2009 13:59:34 -0800 (PST) Received: from dragon.dg ([41.0.54.20]) by mx.google.com with ESMTPS id 28sm2237744eyg.4.2009.12.16.13.59.33 (version=SSLv3 cipher=RC4-MD5); Wed, 16 Dec 2009 13:59:34 -0800 (PST) From: David Naylor Organization: Private To: freebsd-questions@freebsd.org Date: Wed, 16 Dec 2009 23:59:40 +0200 User-Agent: KMail/1.12.3 (FreeBSD/8.0-PRERELEASE; KDE/4.3.3; amd64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4247331.6cAasCxJsH"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200912162359.44675.naylor.b.david@gmail.com> Subject: Device not configured X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 21:59:36 -0000 --nextPart4247331.6cAasCxJsH Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I booted into single user mode (running FreeBSD 8 RC2) and did: # dd if=3D/dev/ad8 of=3D/dev/ad8 bs=3D1024k After waiting a few hours the command completed without problem (ad8 is the= =20 HDD that has FreeBSD). After that I got the following: # reboot reboot: device not configured # ls vnode_pager_getpages: I/O read error ls: device not configured Pressing the boxes power button results in the above vnode message to spam = the=20 screen. The only way to reset the system was to do a hard reset (root was = ro=20 :-) ). =20 Is this expected behaviour or something wrong with the HDD? =20 I have been having issues with VirtualBox where doing IO (network and HDD)= =20 causes DMA problems resulting in the system panicing and rebooting. Could= =20 this be related? =20 I haven't finished diagnosing the VirtualBox problem but booting the guest = in=20 safe mode (the guest is FreeBSD-current) does not fix the problem. =20 Thanks for your assistance. David --nextPart4247331.6cAasCxJsH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEABECAAYFAkspWFAACgkQUaaFgP9pFrJ89QCdEs1f7P7yFMsMJhOw3WckHpJQ QBoAnjaUznkyjQKSlKpuKPLmedt2fVr3 =lglA -----END PGP SIGNATURE----- --nextPart4247331.6cAasCxJsH-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 22:38:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58010106566B for ; Wed, 16 Dec 2009 22:38:33 +0000 (UTC) (envelope-from mgglist@pdc4u.com) Received: from mail.pdc4u.com (mail.pdc4u.com [71.36.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id EE4698FC1D for ; Wed, 16 Dec 2009 22:38:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.pdc4u.com (Postfix) with ESMTP id 9195B33EE25 for ; Wed, 16 Dec 2009 15:21:50 -0700 (MST) X-Virus-Scanned: amavisd-new at pdc4u.com Received: from mail.pdc4u.com ([127.0.0.1]) by localhost (mailserver.pdc4u.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MogH9Z2HaK6c for ; Wed, 16 Dec 2009 15:21:41 -0700 (MST) Received: from michael-goodells-mac-mini.local (unknown [71.36.92.17]) by mail.pdc4u.com (Postfix) with ESMTP id 6CBC733EE1E for ; Wed, 16 Dec 2009 15:21:40 -0700 (MST) Message-ID: <4B295D72.2030804@pdc4u.com> Date: Wed, 16 Dec 2009 15:21:38 -0700 From: Michael Goodell 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; format=flowed Content-Transfer-Encoding: 7bit Subject: Simple Monitoring Of TCP/IP Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mgglist@pdc4u.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 22:38:33 -0000 Hello . . . Looking for a *simple* protocol monitoring solution to test connectivity of various facets of a system, i.e. HTTP / HTTPS / POP3 / SMTP etc. I am not looking, and don't want to install a *heavy* application like Nagios etc, but rather something much more simple. I have seen checkservice (/usr/ports/sysutils/checkservice) in the past and that looked quite simple to implement. Another question is there anything more preferred that checkservice that anyone knows about? Thank you in advance for any direction. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 23:18:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 254931065679 for ; Wed, 16 Dec 2009 23:18:48 +0000 (UTC) (envelope-from mike.jeays@rogers.com) Received: from smtp108.rog.mail.re2.yahoo.com (smtp108.rog.mail.re2.yahoo.com [68.142.225.206]) by mx1.freebsd.org (Postfix) with SMTP id BF69A8FC12 for ; Wed, 16 Dec 2009 23:18:47 +0000 (UTC) Received: (qmail 97158 invoked from network); 16 Dec 2009 23:18:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:User-Agent:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=jqT5K8FNeC8YVVtXY4kooU2WDuBtNdEJOt+4Nvs2u/kzaXcisGoQjimXim103eYaCjMVufvj/6AeoH07UF6EJ2AeQxEe4WEDRLzN5eRgzqOuoTHgv7UsreG2t2+61i9PnOIjPNxxagxk+77vHHee2TjFq/T386LXP/Bmeg+VSQQ= ; Received: from CPE0018027b43e0-CM0014e88f61fe.cpe.net.cable.rogers.com (mike.jeays@99.224.61.141 with plain) by smtp108.rog.mail.re2.yahoo.com with SMTP; 16 Dec 2009 15:18:46 -0800 PST X-Yahoo-SMTP: N82WFx6swBBjwcHWPFR2CGt6udzA8RPrA.xm0enFFXaK2g-- X-YMail-OSG: 3AbDIHgVM1kQvXvqstXV0q.LzRltc1tOJEgn0jgyoGQtBcOaT0FuF3zEwbi7BWWDlg-- X-Yahoo-Newman-Property: ymail-3 From: Mike Jeays To: freebsd-questions@freebsd.org Date: Wed, 16 Dec 2009 18:18:44 -0500 User-Agent: KMail/1.11.2 (Linux/2.6.28-15-generic; KDE/4.2.2; i686; ; ) References: In-Reply-To: MIME-Version: 1.0 Message-Id: <200912161818.44877.mike.jeays@rogers.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Have not received emails for a few days now.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 23:18:48 -0000 On December 16, 2009 01:03:21 pm Diego Montalvo wrote: > Is there something wrong with the freebsd-questions@freebsd.org > mailing list? perhaps I got booted accidentally. > > Cheers! > Diego > _______________________________________________ > 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 message appeared OK. Hopefully the problem is fixed. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 23:29:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B97871065672 for ; Wed, 16 Dec 2009 23:29:59 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id 739448FC18 for ; Wed, 16 Dec 2009 23:29:58 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy3.bredband.net (7.3.140.3) id 4AD3E1BA01B38469 for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 00:29:57 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar5bAIP8KEtV44PPPGdsb2JhbACBS5c2gkgBAQEBN7klhCsE X-IronPort-AV: E=Sophos;i="4.47,409,1257116400"; d="scan'208";a="16554713" 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; 17 Dec 2009 00:29:56 +0100 Message-ID: <4B296D73.7000400@lazlarlyricon.com> Date: Thu, 17 Dec 2009 00:29:55 +0100 From: Rolf Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Ed Jobs References: <4B284E37.3000909@lazlarlyricon.com> <200912162319.41593.oloringr@gmail.com> In-Reply-To: <200912162319.41593.oloringr@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Native PDF viewer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 23:29:59 -0000 Ed Jobs wrote: > On Wednesday 16 December 2009 05:04, Rolf Nielsen wrote: >> Hi all, >> >> Since I don't have Linux compat layer activated, and I have no need for >> it, I'd like to ask if anyone can suggest a native PDF viewer (I'm not >> fond of the idea of installing a compat layer for just one application). >> Currently I'm using GIMP to view PDF files, but since GIMP opens them >> either as several single pictures (one per page) or one picture with >> several layers (one layer per page), it gets a little hard to browse >> through the pages, especially with big documents, e.g. my camera manual. >> >> I founed several apps among the ports, too many to test them all, so if >> anyone has ideas or can tell me what the pros and cons are for some of >> those apps, I'd greatly appreciate it. >> >> Cheers, >> >> Rolf Nielsen > > hi, i'm either using epdfview (cause it's lightweight and low on deps) or > emacs (which last week i discovered that it can display pdf files) depending > on my mood. > if you are not familiar with emacs, epdfview is a very good (GTK) client. > Thanks Ed, epdfview it is. Does exactly what I want. And does it in my native language. :) Rolf From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 23:32:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EF511065670 for ; Wed, 16 Dec 2009 23:32:11 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (mx3.utsp.utwente.nl [130.89.2.14]) by mx1.freebsd.org (Postfix) with ESMTP id 23CC48FC08 for ; Wed, 16 Dec 2009 23:32:10 +0000 (UTC) Received: from nox-laptop.student.utwente.nl (nox-laptop.student.utwente.nl [130.89.170.109]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id nBGNVwHH000327; Thu, 17 Dec 2009 00:31:58 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org, doug@safeport.com Date: Thu, 17 Dec 2009 00:31:57 +0100 User-Agent: KMail/1.9.10 References: <200912131042.50936.lumiwa@gmail.com> <200912131810.38468.frank@fthieme.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912170031.58151.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: Subject: Re: question about xorg 7.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 23:32:11 -0000 On Wednesday 16 December 2009 07:15:58 doug wrote: > I have a IBM thinkpad T42p. xorg 7.4 is pretty much a disaster for me. > First I wonder if anyone has gotten 7.4 to work on this or similar > hardware. The system is 3+ years old when it was still IBM. > > I have done this a time or two starting with the first version of KDE and > FreeBSD 4.. I believe I have tried all of the options in the > handbook plus a couple of various from this list and google. So I was not > going to add xdm and Xorg output, at first anyway. > > The one thing I have not done is upgrade the BIOS and am not sure that > matters. I was/am afraid of breaking an otherwise great system. It runs > xorg 7.3 and KDE 3 or 4 fine. I go to this point because I broke things > trying to install firefox3 and got all tangled up in upgrading ports and > thought I would give xorg 7.4 a try. > > I am running FreeBSD 7.2. Xorg was installed using pkg_add on a system > without any ports. Upon hitting the xdm trap, I also installed that > package. > > All variations give me a black screen with the keyboard locked. startx, xdm > and xorg all do the same. I assume this is a hardware issue and hope > someone found a way around it. > > Thank you for any thoughts, tips, ideas, etc. Xorg defaults to a black screen instead of a checkerboard pattern these days. Keyboard and mouse input is handled by hald(8), so don't forget to enable and start it before starting Xorg. hald depends on dbus so that also needs to be enabled and started. Add the following to rc.conf: hald_enable="YES" dbus_enable="YES" Good luck, Pieter de Goeje From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 23:33:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14323106568D for ; Wed, 16 Dec 2009 23:33:52 +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 C0D188FC1D for ; Wed, 16 Dec 2009 23:33:51 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBGNXomc097908; Wed, 16 Dec 2009 16:33:50 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBGNXorZ097905; Wed, 16 Dec 2009 16:33:50 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 16 Dec 2009 16:33:50 -0700 (MST) From: Warren Block To: Rolf Nielsen In-Reply-To: <4B284E37.3000909@lazlarlyricon.com> Message-ID: References: <4B284E37.3000909@lazlarlyricon.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]); Wed, 16 Dec 2009 16:33:50 -0700 (MST) Cc: FreeBSD Questions Subject: Re: Native PDF viewer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 23:33:52 -0000 On Wed, 16 Dec 2009, Rolf Nielsen wrote: > Since I don't have Linux compat layer activated, and I have no need for it, > I'd like to ask if anyone can suggest a native PDF viewer (I'm not fond of > the idea of installing a compat layer for just one application). Currently > I'm using GIMP to view PDF files, but since GIMP opens them either as several > single pictures (one per page) or one picture with several layers (one layer > per page), it gets a little hard to browse through the pages, especially with > big documents, e.g. my camera manual. > > I founed several apps among the ports, too many to test them all, so if > anyone has ideas or can tell me what the pros and cons are for some of those > apps, I'd greatly appreciate it. evince is my choice for a reasonable compromise between size and features. It's similar to the older, more reasonable versions of Acrobat Reader. If you print from evince, set your LANG environment variable beforehand. There is no easy way to set paper size, evince infers it from the LANG setting. It could really use a Preferences option, but instead wants to get all settings from GConf. To make evince use Firefox3 for embedded URLs: gconftool-2 -t string -s /desktop/gnome/url-handlers/http/command "firefox3 %s" -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 23:34:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E90D010656A3 for ; Wed, 16 Dec 2009 23:34:05 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id D7A6D8FC08 for ; Wed, 16 Dec 2009 23:34:05 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.40]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 Dec 2009 15:34:05 -0800 Message-ID: <4B296E66.6030405@a1poweruser.com> Date: Thu, 17 Dec 2009 07:33:58 +0800 From: Fbsd1 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 X-OriginalArrivalTime: 16 Dec 2009 23:34:05.0273 (UTC) FILETIME=[418B3C90:01CA7EA8] X-Sender: fbsd1@a1poweruser.com Subject: is this booting info correct? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 23:34:06 -0000 Users with Microsoft/Windows knowledge of how a hard drive is configured may have a terminology issue with FreeBSD. Microsoft/Windows and FreeBSD use the word partition to mean different (but related) things. FreeBSD and Microsoft/Windows have primary-partitions, but they call them different things. FreeBSD calls the Microsoft/Windows primary-partition a slice. The number of hard drive primary-partitions/slices is determined by the motherboard BIOS (Basic input output system), not the operating system. Standard motherboard BIOS limits hard-drives to 4 main divisions Each of those are called primary-partitions in Microsoft/Windows terminology and slices in FreeBSD terminology. Each primary-partition/slice can be sub-divided into smaller chunks. In Microsoft/Windows, they are called extended-partitions. They are implemented very differently and are not compatible with FreeBSD. In FreeBSD the sub-divisions are called partitions. Each one of the 4 max primary-partitions/slices can be made bootable. The first physical track of the allocated space of each primary-partition/slice has an initial sector (512 byte block) that is called the boot sector. If it contains boot up code the motherboard BIOS considers it to be bootable. Each physical hard drive in the PC has it's own MBR (Master Boot Record). The MBR is located in sector-0 of the first physical track on the hard drive. The standard MBR in Microsoft/Windows and FreeBSD defaults to booting the first primary-partition/slice allocated on the first hard drive cabled to the PC. There are MBR booting programs that you can load into the MBR on the first physical cabled hard drive to scan for other bootable primary-partitions/slices on this hard drive and any other hard drives cabled to the PC. It displays a menu giving you the option to choose which one you want to boot from. This gives you the ability to have more that one operating system installed on your PC at one time. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 23:34:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C30810656A6 for ; Wed, 16 Dec 2009 23:34:50 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 5996F8FC1D for ; Wed, 16 Dec 2009 23:34:50 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.40]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 Dec 2009 15:34:50 -0800 Message-ID: <4B296E94.9080307@a1poweruser.com> Date: Thu, 17 Dec 2009 07:34:44 +0800 From: Fbsd1 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 X-OriginalArrivalTime: 16 Dec 2009 23:34:51.0087 (UTC) FILETIME=[5CD9E5F0:01CA7EA8] X-Sender: fbsd1@a1poweruser.com Subject: ipfilter nat redirect udp packets X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 23:34:50 -0000 Have this nat rule rdr rl0 0.0.0.0/0 port 6355 -> 10.0.10.3 port 6355 I can see in the log that tcp packets are being redirected but udp packets are not. Can not find any verbiage in man 5 0r 8 ipnat that states rdr rule only matches on tcp packets. I thought tcp/udp packets should be redirected? Can anyone clarify this? From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 23:40:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F25781065697 for ; Wed, 16 Dec 2009 23:40:37 +0000 (UTC) (envelope-from davidcollins001@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 82F238FC1A for ; Wed, 16 Dec 2009 23:40:37 +0000 (UTC) Received: by ewy26 with SMTP id 26so652692ewy.3 for ; Wed, 16 Dec 2009 15:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:reply-to:to:subject :message-id:references:in-reply-to:user-agent:mime-version :content-type:content-transfer-encoding; bh=HBy6T8aQm7z7hfHzLMlbRQeu57whxThyrwmnGSU2DKg=; b=SrI3M+NA0MqnLr1vrvaEacZ3Ef0ZjyrGHk/5okuqJHTsTYG7pXtpPT9Io4GbRyhEhY FUkU0bIR1SpsqWnsXQ4ao3axEIBzEB+HOtpF/BvvA3Yjn6uhCrCUoiYj6GO4L9QypNEm kiB3LFkFtR6uLrsKql4gUxTXNlKt9vXgUXdVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:reply-to:to:subject:message-id:references:in-reply-to :user-agent:mime-version:content-type:content-transfer-encoding; b=D/CEfkmtHXqRzjfZMw2VYMNQoDfEoqVDAj6Wd6QTLuFHGP+UMwf7Nru6Mhf0gDTgx8 Fh1YD22X5yhGTy/MT/EeRF4LwoDHt0JbZcnH241lMllEFN34BQTt/38Z9aBADVEaBjX6 EoasdvHzcTf35poih6LeF+mqfDXG+i2sbIGx4= Received: by 10.213.48.207 with SMTP id s15mr7507300ebf.8.1261006836520; Wed, 16 Dec 2009 15:40:36 -0800 (PST) Received: from cobra (host86-165-87-66.range86-165.btcentralplus.com [86.165.87.66]) by mx.google.com with ESMTPS id 5sm8663917eyf.2.2009.12.16.15.40.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 16 Dec 2009 15:40:35 -0800 (PST) Date: Wed, 16 Dec 2009 23:40:11 +0000 From: David Collins To: mike.jeays@rogers.com, freebsd-questions@freebsd.org Message-ID: <4b296fdb.b9lUJwBUZKaooVLo%davidcollins001@gmail.com> References: <200912161818.44877.mike.jeays@rogers.com> In-Reply-To: <200912161818.44877.mike.jeays@rogers.com> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: Have not received emails for a few days now.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: davidcollins001@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 23:40:38 -0000 Mike Jeays wrote: > On December 16, 2009 01:03:21 pm Diego Montalvo wrote: > > Is there something wrong with the freebsd-questions@freebsd.org > > mailing list? perhaps I got booted accidentally. > > > > Cheers! > > Diego I have had nothing for a couple of days also, I was beginning to wonder what to do with my spare time at work! David From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 23:45:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26ED5106568D for ; Wed, 16 Dec 2009 23:45:32 +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 DF7A98FC14 for ; Wed, 16 Dec 2009 23:45:31 +0000 (UTC) Received: from mailhost3.waddell.com (mailhost3.waddell.com [10.1.10.28]) by mailhost0.waddell.com (Postfix) with ESMTP id DAD462616DF; Wed, 16 Dec 2009 17:44:55 -0600 (CST) Received: from mailhost3.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 7900B3C33A; Wed, 16 Dec 2009 17:45:21 -0600 (CST) Received: from wadpexf0.waddell.com (wadpexf0.waddell.com [192.168.204.24]) by mailhost3.waddell.com (Postfix) with ESMTP id 6BE513C333; Wed, 16 Dec 2009 17:45:21 -0600 (CST) Received: from WADPEXV0.waddell.com ([192.168.204.25]) by wadpexf0.waddell.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 Dec 2009 17:45:21 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 16 Dec 2009 17:44:48 -0600 Message-ID: <7852_1261007121_4B297111_7852_776_1_70C0964126D66F458E688618E1CD008A08CCF1DA@WADPEXV0.waddell.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Have not received emails for a few days now.... Thread-Index: Acp+qT63xtVRUY+NR86IePzUtMbg9wAAIIOc From: "Gary Gatten" To: , , X-OriginalArrivalTime: 16 Dec 2009 23:45:21.0243 (UTC) FILETIME=[D47412B0:01CA7EA9] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Have not received emails for a few days now.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 23:45:32 -0000 TG1hbyEgSWYgdXIgdGhhdCBib3JlZCBsbWssIEkgaGF2ZSBQTEVOVFkgNCB1IDIgZG8hDQoNCi0t LS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0NCkZyb206IG93bmVyLWZyZWVic2QtcXVlc3Rpb25z QGZyZWVic2Qub3JnIDxvd25lci1mcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZz4NClRvOiBt aWtlLmplYXlzQHJvZ2Vycy5jb20gPG1pa2UuamVheXNAcm9nZXJzLmNvbT47IGZyZWVic2QtcXVl c3Rpb25zQGZyZWVic2Qub3JnIDxmcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZz4NClNlbnQ6 IFdlZCBEZWMgMTYgMTc6NDA6MTEgMjAwOQ0KU3ViamVjdDogUmU6IEhhdmUgbm90IHJlY2VpdmVk IGVtYWlscyBmb3IgYSBmZXcgZGF5cyBub3cuLi4uDQoNCk1pa2UgSmVheXMgPG1pa2UuamVheXNA cm9nZXJzLmNvbT4gd3JvdGU6DQoNCj4gT24gRGVjZW1iZXIgMTYsIDIwMDkgMDE6MDM6MjEgcG0g RGllZ28gTW9udGFsdm8gd3JvdGU6DQo+ID4gSXMgdGhlcmUgc29tZXRoaW5nIHdyb25nIHdpdGgg dGhlIGZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnDQo+ID4gbWFpbGluZyBsaXN0PyBwZXJo YXBzIEkgZ290IGJvb3RlZCBhY2NpZGVudGFsbHkuDQo+ID4NCj4gPiBDaGVlcnMhDQo+ID4gRGll Z28NCkkgaGF2ZSBoYWQgbm90aGluZyBmb3IgYSBjb3VwbGUgb2YgZGF5cyBhbHNvLCBJIHdhcyBi ZWdpbm5pbmcgdG8NCndvbmRlciB3aGF0IHRvIGRvIHdpdGggbXkgc3BhcmUgdGltZSBhdCB3b3Jr IQ0KDQpEYXZpZA0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X18NCmZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnIG1haWxpbmcgbGlzdA0KaHR0cDovL2xp c3RzLmZyZWVic2Qub3JnL21haWxtYW4vbGlzdGluZm8vZnJlZWJzZC1xdWVzdGlvbnMNClRvIHVu c3Vic2NyaWJlLCBzZW5kIGFueSBtYWlsIHRvICJmcmVlYnNkLXF1ZXN0aW9ucy11bnN1YnNjcmli ZUBmcmVlYnNkLm9yZyINCgoKCgoKPGZvbnQgc2l6ZT0iMSI+CjxkaXYgc3R5bGU9J2JvcmRlcjpu b25lO2JvcmRlci1ib3R0b206ZG91YmxlIHdpbmRvd3RleHQgMi4yNXB0O3BhZGRpbmc6MGluIDBp biAxLjBwdCAwaW4nPgo8L2Rpdj4KIlRoaXMgZW1haWwgaXMgaW50ZW5kZWQgdG8gYmUgcmV2aWV3 ZWQgYnkgb25seSB0aGUgaW50ZW5kZWQgcmVjaXBpZW50CiBhbmQgbWF5IGNvbnRhaW4gaW5mb3Jt YXRpb24gdGhhdCBpcyBwcml2aWxlZ2VkIGFuZC9vciBjb25maWRlbnRpYWwuCiBJZiB5b3UgYXJl IG5vdCB0aGUgaW50ZW5kZWQgcmVjaXBpZW50LCB5b3UgYXJlIGhlcmVieSBub3RpZmllZCB0aGF0 CiBhbnkgcmV2aWV3LCB1c2UsIGRpc3NlbWluYXRpb24sIGRpc2Nsb3N1cmUgb3IgY29weWluZyBv ZiB0aGlzIGVtYWlsCiBhbmQgaXRzIGF0dGFjaG1lbnRzLCBpZiBhbnksIGlzIHN0cmljdGx5IHBy b2hpYml0ZWQuICBJZiB5b3UgaGF2ZQogcmVjZWl2ZWQgdGhpcyBlbWFpbCBpbiBlcnJvciwgcGxl YXNlIGltbWVkaWF0ZWx5IG5vdGlmeSB0aGUgc2VuZGVyIGJ5CiByZXR1cm4gZW1haWwgYW5kIGRl bGV0ZSB0aGlzIGVtYWlsIGZyb20geW91ciBzeXN0ZW0uIgo8L2ZvbnQ+Cgo= From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 23:45:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CABB610656DC for ; Wed, 16 Dec 2009 23:45:49 +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 66A528FC20 for ; Wed, 16 Dec 2009 23:45:49 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBGNjmfc097954; Wed, 16 Dec 2009 16:45:48 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBGNjmxE097951; Wed, 16 Dec 2009 16:45:48 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 16 Dec 2009 16:45:48 -0700 (MST) From: Warren Block To: doug@safeport.com In-Reply-To: Message-ID: References: <200912131042.50936.lumiwa@gmail.com> <200912131810.38468.frank@fthieme.net> 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, 16 Dec 2009 16:45:48 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: question about xorg 7.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 23:45:49 -0000 On Wed, 16 Dec 2009, doug wrote: > I have a IBM thinkpad T42p. xorg 7.4 is pretty much a disaster for me. First > I wonder if anyone has gotten 7.4 to work on this or similar hardware. The > system is 3+ years old when it was still IBM. My T42--no P--is the only system that the new Xorg has worked on completely from the start, including 3D acceleration! But it has a Radeon 7500, and yours might have fancier graphics. > I have done this a time or two starting with the first version of KDE and > FreeBSD 4.. I believe I have tried all of the options in the > handbook plus a couple of various from this list and google. So I was not > going to add xdm and Xorg output, at first anyway. > > The one thing I have not done is upgrade the BIOS and am not sure that > matters. I was/am afraid of breaking an otherwise great system. It runs xorg > 7.3 and KDE 3 or 4 fine. I go to this point because I broke things trying to > install firefox3 and got all tangled up in upgrading ports and thought I > would give xorg 7.4 a try. > > I am running FreeBSD 7.2. Xorg was installed using pkg_add on a system > without any ports. Upon hitting the xdm trap, I also installed that package. I would not attempt to install KDE or GNOME until xorg was working and twm works. > All variations give me a black screen with the keyboard locked. startx, xdm > and xorg all do the same. Does ctrl-alt-f1 switch to the console? If so, good news--it's working. You need to run dbus and hal as per the Handbook page. Or disable hal, also as per the Handbook page. > I assume this is a hardware issue and hope someone found a way around > it. It's possible, but hard to tell. If you can post your xorg.conf and Xorg.0.log, that would help. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 23:53:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11F421065672 for ; Wed, 16 Dec 2009 23:53:14 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id 9C6A78FC1E for ; Wed, 16 Dec 2009 23:53:13 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id nBGNrBqA084922; Thu, 17 Dec 2009 00:53:11 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 74465BAAA; Thu, 17 Dec 2009 00:53:11 +0100 (CET) Date: Thu, 17 Dec 2009 00:53:11 +0100 From: Roland Smith To: Free BSD Questions list Message-ID: <20091216235311.GA71135@slackbox.xs4all.nl> References: <20091216155128.GA4758@teddy.fas.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline In-Reply-To: <20091216155128.GA4758@teddy.fas.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: stan Subject: Re: USBserial port convertor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 23:53:14 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 16, 2009 at 10:51:28AM -0500, stan wrote: > I need to support 5 RS-232 streams with my FreeBSD 7.2 machine. I just > purchased UTS-408A-S1 8 port adapter. When I plug it in, I get the > following in dmesg: >=20 > uhub3: on > uhub1 > uhub3: single transaction translator > uhub3: 4 ports with 4 removable, self powered > ucom0: on uhub3 > ucom1: on uhub3 Looks like it works. :-) the ucom(4) driver attaches. > Do I need to add a driver to my kernel? Right now I have the GENERIC one > installed.=20 No. The ucom(4) driver has already recognized them. > What devices should I try? Try /dev/cuaU? and /dev/ttyU? See ucom(4) and comcontrol(1). 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) --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkspcucACgkQEnfvsMMhpyX9YACdEZ7qFiUyEi4v0E+04hegnN+3 VCgAn0AscMwBtm3NMd0bkg423uFYWZW+ =hGMi -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 16 23:56:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23F31106566B for ; Wed, 16 Dec 2009 23:56:19 +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 C4D048FC26 for ; Wed, 16 Dec 2009 23:56:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by oceanpt.safeport.com (8.14.2/8.14.2) with ESMTP id nBGNuA1Y033511; Wed, 16 Dec 2009 18:56:10 -0500 (EST) (envelope-from doug@safeport.com) Date: Wed, 16 Dec 2009 18:56:10 -0500 (EST) From: doug@safeport.com To: Pieter de Goeje In-Reply-To: <200912170031.58151.pieter@degoeje.nl> Message-ID: References: <200912131042.50936.lumiwa@gmail.com> <200912131810.38468.frank@fthieme.net> <200912170031.58151.pieter@degoeje.nl> 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.0 (oceanpt.safeport.com [127.0.0.1]); Wed, 16 Dec 2009 18:56:11 -0500 (EST) Cc: freebsd-questions@freebsd.org Subject: Re: question about xorg 7.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Dec 2009 23:56:19 -0000 On Thu, 17 Dec 2009, Pieter de Goeje wrote: > On Wednesday 16 December 2009 07:15:58 doug wrote: >> I have a IBM thinkpad T42p. xorg 7.4 is pretty much a disaster for me. >> First I wonder if anyone has gotten 7.4 to work on this or similar >> hardware. The system is 3+ years old when it was still IBM. >> >> I have done this a time or two starting with the first version of KDE and >> FreeBSD 4.. I believe I have tried all of the options in the >> handbook plus a couple of various from this list and google. So I was not >> going to add xdm and Xorg output, at first anyway. >> >> The one thing I have not done is upgrade the BIOS and am not sure that >> matters. I was/am afraid of breaking an otherwise great system. It runs >> xorg 7.3 and KDE 3 or 4 fine. I go to this point because I broke things >> trying to install firefox3 and got all tangled up in upgrading ports and >> thought I would give xorg 7.4 a try. >> >> I am running FreeBSD 7.2. Xorg was installed using pkg_add on a system >> without any ports. Upon hitting the xdm trap, I also installed that >> package. >> >> All variations give me a black screen with the keyboard locked. startx, xdm >> and xorg all do the same. I assume this is a hardware issue and hope >> someone found a way around it. >> >> Thank you for any thoughts, tips, ideas, etc. > > Xorg defaults to a black screen instead of a checkerboard pattern these days. > Keyboard and mouse input is handled by hald(8), so don't forget to enable and > start it before starting Xorg. hald depends on dbus so that also needs to be > enabled and started. Add the following to rc.conf: > hald_enable="YES" > dbus_enable="YES" > > Good luck, > Pieter de Goeje Thanks for your reply. I tried all that and more. Installing xorg 7.4 from the 7.2-release iso worked with the last verision of my xorg.conf file which happened to be not using hal and dbus. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 00:02:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9415106568B for ; Thu, 17 Dec 2009 00:02:17 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 62CB08FC18 for ; Thu, 17 Dec 2009 00:02:17 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id nBGNwFm5037470; Wed, 16 Dec 2009 18:58:15 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id nBGNwEXK037469; Wed, 16 Dec 2009 18:58:14 -0500 (EST) (envelope-from jerrymc) Date: Wed, 16 Dec 2009 18:58:14 -0500 From: Jerry McAllister To: Fbsd1 Message-ID: <20091216235814.GA37341@gizmo.acns.msu.edu> References: <4B296E66.6030405@a1poweruser.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B296E66.6030405@a1poweruser.com> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Questions Subject: Re: is this booting info correct? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 00:02:17 -0000 On Thu, Dec 17, 2009 at 07:33:58AM +0800, Fbsd1 wrote: Everything but the last couple of paragraphs are correct. > Users with Microsoft/Windows knowledge of how a hard drive is configured > may have a terminology issue with FreeBSD. Microsoft/Windows and FreeBSD > use the word partition to mean different (but related) things. > > FreeBSD and Microsoft/Windows have primary-partitions, but they call > them different things. FreeBSD calls the Microsoft/Windows > primary-partition a slice. > > The number of hard drive primary-partitions/slices is determined by the > motherboard BIOS (Basic input output system), not the operating system. > Standard motherboard BIOS limits hard-drives to 4 main divisions > > Each of those are called primary-partitions in Microsoft/Windows > terminology and slices in FreeBSD terminology. > > Each primary-partition/slice can be sub-divided into smaller chunks. In > Microsoft/Windows, they are called extended-partitions. They are > implemented very differently and are not compatible with FreeBSD. In > FreeBSD the sub-divisions are called partitions. > > Each one of the 4 max primary-partitions/slices can be made bootable. > The first physical track of the allocated space of each > primary-partition/slice has an initial sector (512 byte block) that is > called the boot sector. If it contains boot up code the motherboard BIOS > considers it to be bootable. This is the '3rd' level (phase) of the boot process. The first being the BIOS, the second being the MBR and the third being the slice boot sector. > > Each physical hard drive in the PC has it's own MBR (Master Boot > Record). The MBR is located in sector-0 of the first physical track on > the hard drive. The standard MBR in Microsoft/Windows and FreeBSD > defaults to booting the first primary-partition/slice allocated on the > first hard drive cabled to the PC. Each drive has a sector 0. When you install FreeBSD you can write an MBR in to that sector 0. You can also install other (third party) MBRs in to that sector. > There are MBR booting programs that you can load into the MBR on the > first physical cabled hard drive to scan for other bootable > primary-partitions/slices on this hard drive and any other hard drives > cabled to the PC. It displays a menu giving you the option to choose > which one you want to boot from. This gives you the ability to have more > that one operating system installed on your PC at one time. The sector isn't the MBR. The code and table that gets written to that sector is the MBR. If you don't want to boot from the drive - eg just use it for data, you can ignore that sector and not write any MBR in to it. The MBR has a little table in which is marked which slice to continue the boot with. The FreeBSD MBR (and some others) sets that to be the current slice when a boot is done. So, the last slice to be booted is always the default boot the next time. You can manually change that with fdisk(8). Some people have wanted to have a fancier MBR than can fit in a single sector. Almost all systems nowdays use that 0 sector, but then just ignore the rest of the track that it is in. So, there are several "wasted" sectors following the MBR. Those people have made use of that space to install a more elaborate MBR, depending on that extra space never being used for anything else - which is a pretty good bet. In fact, I don't quite understand why people don't just go ahead and define the standard so that track is specified as available for MBR. The MBR is fairly basic and conforms to a fairly tight but primative system for finding and initiating boot sectors in slices/primary partitions. Because that part is almost all the same across most systems, most MBRs can boot most OSen on PCs if they want to. MS does not seem to want to, but FreeBSD and Linux can. But, the boot sector in each slice/primary partition is unique to the OS being booted. It has a common boot flag setup and a common place to jump to to begin execution, but the rest is OS specific. Basically, the BIOS does its thing and looks for an MBR in sector 0 of the drives in its boot list. The first one it finds, it loads in and transfers control to it. The MBR does a couple checks and looks for a bootable slice and which is flagged to be the default boot. It puts up a simple boot menu allowing you to choose. If you do not respond in time, it goes with the flag setting. The MBR then reads in the first (boot) sector of the slice and transfers control to it. That sector code knows how to find what it needs to finish the boot, load the kernel, etc and start up init which gets everything else going. The process has changed in detail, but not much in concept since the beginning of computer OSen. The reaason it is called booting is that especially in the old days, when some parts of the startup were keyed in by hand, it had the feeling of the system pulling itself up by its own bootstraps - an old and popular country saying. Anyway, you were essentially correct, except on some details of what the sector 0 and slice boot sector contain and how the default boot slice is determined. ////jerry > > _______________________________________________ > 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 Dec 17 00:05:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D89D1065693 for ; Thu, 17 Dec 2009 00:05:51 +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 AF14C8FC26 for ; Thu, 17 Dec 2009 00:05:50 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBH05n4C098034; Wed, 16 Dec 2009 17:05:49 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBH05nHX098031; Wed, 16 Dec 2009 17:05:49 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 16 Dec 2009 17:05:49 -0700 (MST) From: Warren Block To: doug@safeport.com In-Reply-To: Message-ID: References: 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, 16 Dec 2009 17:05:49 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Up grading ports, Xorg et all X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 00:05:51 -0000 On Wed, 16 Dec 2009, doug@safeport.com wrote: > I messed up a KDE 3.5.10 trying to install firefox3 so I thought I > would attempt to upgrade using portupgrade and/or portmaster. After a > lot of work I think I am back to if you use KDE the only way to > upgrade is to start afresh. > > At this point I thought I would try Xorg 7.4. I did a "pkg_delete -a" > and "pkg_add -r xorg". This was a complete disaster. How, specifically? > After trying all the configuration options, tips etc in the handbook, > google et all, I decided my 3+ year old thinkpad was just not > supported so I composed a "can anyone help me" email to questions. > This went off into the ether through user error. > > While I was waiting for help I thought I would try installing Xorg from an > iso image. The resulting install worked out of the box using the last > variation of xorf.conf I had tried. I am left to assume that what I got from > pkg_add does not fit together. The symptoms described in your earlier mail sound like it worked but was different from what you expected. > Obviously my earlier attempts to get an xorg.conf file worked fine. > The code did not. As a thought to the Xorg, I do not think the > unbundling makes things more stable. Xfree86 was bad enough (so I > thought) with its couple of dozen (or so) components. Starting from > scratch I now have 204 ports and two versions of python just to run > twm. Given that some number of the 204 component are under active > development using pkg_add seems out of the question. The second > version of python came in because I could not find xdm in the > 7.2-release disk1 iso so I did a pkg_add on xdm. This sounds like you are mixing old and new packages. portupgrade (and probably also portmaster) can use packages for you. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 00:06:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DE671065672 for ; Thu, 17 Dec 2009 00:06:46 +0000 (UTC) (envelope-from davidcollins001@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id B124B8FC1B for ; Thu, 17 Dec 2009 00:06:45 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so390235eyf.9 for ; Wed, 16 Dec 2009 16:06:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:reply-to:to:subject :message-id:references:in-reply-to:user-agent:mime-version :content-type:content-transfer-encoding; bh=7i1BxNlKE5qPTG0Owgj+ESVJl0zlCgPufOC6JrUOqj0=; b=mY7YPVTk7+x802jFS+n3m79F8MsF30J3GuvR0iU4bRbZ6xigMbh/C/aZr/kh0/8yjE v9e379AgUs7QBKMwega/pVCWG9CuigZvYgGl9xo+acchomUVkk/Tgx1p0yw/nmeo7zgf Xxiqunt1Hpw9TdQGHNDxuiMXzEPOOcYYq329o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:reply-to:to:subject:message-id:references:in-reply-to :user-agent:mime-version:content-type:content-transfer-encoding; b=qZnHnXclFTZZjjaqmDGaRqxq3DjqNyBfKkIKogkZK2fWiEp7uNFYqkYSwU6msbn5Pf v08tdQ1C7fLvxqlq56o0uuDAiYuwJoE/dVOMhJu8APBSZlCOhkOwcnTT2N7gpRDtT192 3oF4sz+7wRBBlgf8eCxHxNx3gbZeyHFkrmlEs= Received: by 10.213.24.28 with SMTP id t28mr1894057ebb.92.1261008404344; Wed, 16 Dec 2009 16:06:44 -0800 (PST) Received: from cobra (host86-165-87-66.range86-165.btcentralplus.com [86.165.87.66]) by mx.google.com with ESMTPS id 7sm2379692eyb.18.2009.12.16.16.06.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 16 Dec 2009 16:06:43 -0800 (PST) Date: Thu, 17 Dec 2009 00:06:27 +0000 From: David Collins To: mike.jeays@rogers.com, Ggatten@waddell.com, freebsd-questions@freebsd.org Message-ID: <4b297603.IvFAJ3pYSFaBBpVT%davidcollins001@gmail.com> References: <7852_1261007121_4B297111_7852_776_1_70C0964126D66F458E688618E1CD008A08CCF1DA@WADPEXV0.waddell.com> In-Reply-To: <7852_1261007121_4B297111_7852_776_1_70C0964126D66F458E688618E1CD008A08CCF1DA@WADPEXV0.waddell.com> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: Have not received emails for a few days now.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: davidcollins001@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 00:06:46 -0000 "Gary Gatten" wrote: > Lmao! If ur that bored lmk, I have PLENTY 4 u 2 do! haha, I have plenty to do... although I am tempted to swap! > > ----- Original Message ----- > From: owner-freebsd-questions@freebsd.org > To: mike.jeays@rogers.com ; freebsd-questions@freebsd.org > Sent: Wed Dec 16 17:40:11 2009 > Subject: Re: Have not received emails for a few days now.... > > Mike Jeays wrote: > > > On December 16, 2009 01:03:21 pm Diego Montalvo wrote: > > > Is there something wrong with the freebsd-questions@freebsd.org > > > mailing list? perhaps I got booted accidentally. > > > > > > Cheers! > > > Diego > I have had nothing for a couple of days also, I was beginning to > wonder what to do with my spare time at work! > > David > _______________________________________________ > 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 Dec 17 00:09:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D0AB1065670 for ; Thu, 17 Dec 2009 00:09:01 +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 197758FC0A for ; Thu, 17 Dec 2009 00:09:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by oceanpt.safeport.com (8.14.2/8.14.2) with ESMTP id nBH090TC033827; Wed, 16 Dec 2009 19:09:00 -0500 (EST) (envelope-from doug@safeport.com) Date: Wed, 16 Dec 2009 19:09:00 -0500 (EST) From: doug@safeport.com To: Warren Block In-Reply-To: Message-ID: References: <200912131042.50936.lumiwa@gmail.com> <200912131810.38468.frank@fthieme.net> 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.0 (oceanpt.safeport.com [127.0.0.1]); Wed, 16 Dec 2009 19:09:00 -0500 (EST) Cc: freebsd-questions@freebsd.org Subject: Re: question about xorg 7.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 00:09:01 -0000 On Wed, 16 Dec 2009, Warren Block wrote: > On Wed, 16 Dec 2009, doug wrote: > >> I have a IBM thinkpad T42p. xorg 7.4 is pretty much a disaster for me. >> First I wonder if anyone has gotten 7.4 to work on this or similar >> hardware. The system is 3+ years old when it was still IBM. > > My T42--no P--is the only system that the new Xorg has worked on completely > from the start, including 3D acceleration! But it has a Radeon 7500, and > yours might have fancier graphics. > >> I have done this a time or two starting with the first version of KDE and >> FreeBSD 4.. I believe I have tried all of the options in the >> handbook plus a couple of various from this list and google. So I was not >> going to add xdm and Xorg output, at first anyway. >> >> The one thing I have not done is upgrade the BIOS and am not sure that >> matters. I was/am afraid of breaking an otherwise great system. It runs >> xorg 7.3 and KDE 3 or 4 fine. I go to this point because I broke things >> trying to install firefox3 and got all tangled up in upgrading ports and >> thought I would give xorg 7.4 a try. >> >> I am running FreeBSD 7.2. Xorg was installed using pkg_add on a system >> without any ports. Upon hitting the xdm trap, I also installed that >> package. > > I would not attempt to install KDE or GNOME until xorg was working and twm > works. > >> All variations give me a black screen with the keyboard locked. startx, xdm >> and xorg all do the same. > > Does ctrl-alt-f1 switch to the console? If so, good news--it's working. You > need to run dbus and hal as per the Handbook page. Or disable hal, also as > per the Handbook page. > >> I assume this is a hardware issue and hope someone found a way around it. > > It's possible, but hard to tell. If you can post your xorg.conf and > Xorg.0.log, that would help. > > -Warren Block * Rapid City, South Dakota USA I appreciate your input. With the installation from pkg_add, the keyboard was locked. Power off was the only relief. I tried with and without hal/dbus, I changed the Driver to ati because that worked in an earlier of xorg, I commented out dri because I (mistakenly) thought that gave an error. What worked was installing xorg from the 7.2-release iso. Now what I would like to do is get rid of the black background. I actually like twm and use it when upgrading kde. Thank you for your offer to review Xorg.0.log. Unfortunately the current system only keeps two levels. My failures were long gone before questions was restored to health. Doug _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 00:12:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C68F7106568B for ; Thu, 17 Dec 2009 00:12:08 +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 7E94F8FC12 for ; Thu, 17 Dec 2009 00:12:08 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBH0C2V9098068; Wed, 16 Dec 2009 17:12:02 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBH0C2TH098065; Wed, 16 Dec 2009 17:12:02 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 16 Dec 2009 17:12:02 -0700 (MST) From: Warren Block To: Martin McCormick In-Reply-To: <200912161636.nBGGaebB018830@dc.cis.okstate.edu> Message-ID: References: <200912161636.nBGGaebB018830@dc.cis.okstate.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, 16 Dec 2009 17:12:02 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: sed -f Script Syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 00:12:08 -0000 On Wed, 16 Dec 2009, Martin McCormick wrote: > If you have a sed script that is executable as in the first line > starts with > #! /usr/bin/sed -f > and the following lines are like: > > /this repetitive line/d > /and another repetitive line to go/d > > This all works great. You just make the file executable and use > it as a filter if you want to remove any instance of those lines > in text. > > How does one embed a command in this filter to make sed > understand an extended or modern regular expression like: > > /part 1[[:space:]]text\/html[[:space:]]/d > > This is normally the -e flag but I haven't figured out how to put it > in the script. I would like to either use it to make that one line > show up as an extended regular expression or make sed run the entire > script in the -e mode. sed(1) says it should be -E. Looks like it will only work on the whole script. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 00:19:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3DB71065672 for ; Thu, 17 Dec 2009 00:19:52 +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 9379F8FC16 for ; Thu, 17 Dec 2009 00:19:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by oceanpt.safeport.com (8.14.2/8.14.2) with ESMTP id nBH0JpSX034051; Wed, 16 Dec 2009 19:19:51 -0500 (EST) (envelope-from doug@safeport.com) Date: Wed, 16 Dec 2009 19:19:51 -0500 (EST) From: doug@safeport.com To: Warren Block In-Reply-To: Message-ID: References: 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.0 (oceanpt.safeport.com [127.0.0.1]); Wed, 16 Dec 2009 19:19:52 -0500 (EST) Cc: freebsd-questions@freebsd.org Subject: Re: Up grading ports, Xorg et all X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 00:19:53 -0000 On Wed, 16 Dec 2009, Warren Block wrote: > On Wed, 16 Dec 2009, doug@safeport.com wrote: > >> I messed up a KDE 3.5.10 trying to install firefox3 so I thought I would >> attempt to upgrade using portupgrade and/or portmaster. After a lot of work >> I think I am back to if you use KDE the only way to upgrade is to start >> afresh. >> >> At this point I thought I would try Xorg 7.4. I did a "pkg_delete -a" and >> "pkg_add -r xorg". This was a complete disaster. > > How, specifically? The keyboard was locked only the power key worked. As in my earlier response I tried as many variation of the option as indicated by the handbook and my imagination. It is probably true that xorg worked albeit without the keyboard. Neither startx or xdm acted differently. E.g, I got a black screen and a locked system. >> After trying all the configuration options, tips etc in the handbook, >> google et all, I decided my 3+ year old thinkpad was just not supported so >> I composed a "can anyone help me" email to questions. This went off into >> the ether through user error. >> >> While I was waiting for help I thought I would try installing Xorg from an >> iso image. The resulting install worked out of the box using the last >> variation of xorf.conf I had tried. I am left to assume that what I got >> from pkg_add does not fit together. > > The symptoms described in your earlier mail sound like it worked but was > different from what you expected. I do not think so because after installing from the iso, startx and xdm worked with the last version of my xorg.conf file. >> Obviously my earlier attempts to get an xorg.conf file worked fine. The >> code did not. As a thought to the Xorg, I do not think the unbundling makes >> things more stable. Xfree86 was bad enough (so I thought) with its couple >> of dozen (or so) components. Starting from scratch I now have 204 ports and >> two versions of python just to run twm. Given that some number of the 204 >> component are under active development using pkg_add seems out of the >> question. The second version of python came in because I could not find xdm >> in the 7.2-release disk1 iso so I did a pkg_add on xdm. > > This sounds like you are mixing old and new packages. portupgrade (and > probably also portmaster) can use packages for you. Maybe. But if I start with a system with no ports and do a pkg_add, I do not see how I am mixing old and new. This was certainly true before I deleted everything but I was trying only to upgrade firefox2 --> firefox3 on xorg 7.3 using portmaster and then portupgrade. When that did not work (and I have no issues with that) I delete all ports and started with xorg 7.4. I see no other conclusion other than one (or more) of the 204 ports installed by pkg_add was too old (or new). _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 00:40:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 316CB106566C for ; Thu, 17 Dec 2009 00:40:00 +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 DC4BE8FC0A for ; Thu, 17 Dec 2009 00:39:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBH0dwgg098147; Wed, 16 Dec 2009 17:39:58 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBH0dw0k098144; Wed, 16 Dec 2009 17:39:58 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 16 Dec 2009 17:39:58 -0700 (MST) From: Warren Block To: Joe S 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]); Wed, 16 Dec 2009 17:39:59 -0700 (MST) Cc: freebsd-questions Subject: Re: How to apply a patch for Broadcom 5715S X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 00:40:00 -0000 On Wed, 16 Dec 2009, Joe S wrote: > I have the same problem as reported in this bug: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=122551 > > Someone attached a patch to the bug that resolves the problem. > > I don't know how to apply the patch. > > Can someone please show me how? Okay, but realize this is a potentially dangerous operation. Read the man page for patch(1) and the Handbook section on kernel configuration. Also, that patch is from a user and may not be of the same quality as if it were officially part of the FreeBSD source tree. That said, download the patch. It's called patch1.diff. The first three lines show which file will be patched: sys/dev/bge/if_bgereg.h On a normal FreeBSD system, system source file paths are relative to /usr/src. So, as root: cd /usr/src patch < patch1.diff You should see messages about patch hunks succeeding. If there were no errors, you can build from the now-patched source. This patch is to an Ethernet driver, so you probably only need to rebuild the kernel. See the Handbook for custom kernel building and installing: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html If you don't have a custom kernel, you don't need the KERNCONF= entries, or can use KERNCONF=GENERIC. Finally, reboot and hope it works. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 00:56:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 054D0106566B for ; Thu, 17 Dec 2009 00:56:14 +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 B2C648FC0C for ; Thu, 17 Dec 2009 00:56:13 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBH0uCVf098216; Wed, 16 Dec 2009 17:56:12 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBH0uCPw098213; Wed, 16 Dec 2009 17:56:12 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 16 Dec 2009 17:56:12 -0700 (MST) From: Warren Block To: David Naylor In-Reply-To: <200912162359.44675.naylor.b.david@gmail.com> Message-ID: References: <200912162359.44675.naylor.b.david@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]); Wed, 16 Dec 2009 17:56:12 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Device not configured X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 00:56:14 -0000 On Wed, 16 Dec 2009, David Naylor wrote: > I booted into single user mode (running FreeBSD 8 RC2) and did: > > # dd if=/dev/ad8 of=/dev/ad8 bs=1024k That command copies the hard drive... over itself. What were you trying to do? > After waiting a few hours the command completed without problem (ad8 is the > HDD that has FreeBSD). After that I got the following: > > # reboot > reboot: device not configured > # ls > vnode_pager_getpages: I/O read error > ls: device not configured Not good. Maybe trying to swap back in from swap that was just overwritten? > Pressing the boxes power button results in the above vnode message to spam the > screen. The only way to reset the system was to do a hard reset (root was ro > :-) ). Did it come back up? > Is this expected behaviour or something wrong with the HDD? Not expected, exactly, but not surprising. The hardware should be fine. > I have been having issues with VirtualBox where doing IO (network and HDD) > causes DMA problems resulting in the system panicing and rebooting. Could > this be related? That sounds like a separate problem. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 01:10:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71958106566B for ; Thu, 17 Dec 2009 01:10:34 +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 7D8E48FC0A for ; Thu, 17 Dec 2009 01:10:30 +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 nBGMdmVY007046; Wed, 16 Dec 2009 14:39:48 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 16 Dec 2009 14:39:48 -0800 (PST) Date: Wed, 16 Dec 2009 14:39:48 -0800 From: Gary Kline To: Manolis Kiagias Message-ID: <20091216223948.GA14858@thought.org> References: <20091215145806.GA9467@thought.org> <4B294BEB.2000703@otenet.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B294BEB.2000703@otenet.gr> 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=-3.3 required=3.6 tests=ALL_TRUSTED,BAYES_00, URIBL_RHS_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: FreeBSD Mailing List Subject: Re: APC Smartups 1500va sua1500 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 01:10:34 -0000 On Wed, Dec 16, 2009 at 11:06:51PM +0200, Manolis Kiagias wrote: > On 15/12/2009 4:58 ??.??., Gary Kline wrote: > > Guys, > > > > A post I send yesterday never showed up, so I'll ask again > > with the following question: Do we have a driver for the > > APC SmartUPS 1500VA #sUA1500? > > > > gary > > > > > > > > Use sysutils/apcupsd > > Works great with all APC products I've tried. Great, the list is back! Okay, well, very-soon, I'll need to plug in my watt-meter to see how much juice my server, firewall, and maybe one desktop take. Guessing is less than 500w. Is there a tutorial for newbie on how to use this beast? Optimally, I would like the UPS to run for a few minutes, then instruct that things be "shutdown -h 120" (say). That is easy to write; difficult to program. thanks, 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 Thu Dec 17 01:10:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7682D106566C for ; Thu, 17 Dec 2009 01:10:49 +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 2BAF98FC0C for ; Thu, 17 Dec 2009 01:10:48 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBH1AmIS098272; Wed, 16 Dec 2009 18:10:48 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBH1AmZ7098269; Wed, 16 Dec 2009 18:10:48 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 16 Dec 2009 18:10:48 -0700 (MST) From: Warren Block To: doug@safeport.com In-Reply-To: Message-ID: References: <200912131042.50936.lumiwa@gmail.com> <200912131810.38468.frank@fthieme.net> 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, 16 Dec 2009 18:10:48 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: question about xorg 7.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 01:10:49 -0000 On Wed, 16 Dec 2009, doug@safeport.com wrote: >> >>> All variations give me a black screen with the keyboard locked. startx, >>> xdm and xorg all do the same. >> >> Does ctrl-alt-f1 switch to the console? If so, good news--it's working. >> You need to run dbus and hal as per the Handbook page. Or disable hal, >> also as per the Handbook page. >> >>> I assume this is a hardware issue and hope someone found a way around it. >> >> It's possible, but hard to tell. If you can post your xorg.conf and >> Xorg.0.log, that would help. > > I appreciate your input. With the installation from pkg_add, the keyboard was > locked. Power off was the only relief. That's why I asked about ctrl-alt-f1. If X is working even without a keyboard driver, that should still switch to the console. > I tried with and without hal/dbus, I changed the Driver to ati because > that worked in an earlier of xorg, What are you using for a driver now? > I commented out dri because I (mistakenly) thought that gave an error. > What worked was installing xorg from the 7.2-release iso. Which is going back to the older version of xorg. > Now what I would like to do is get rid of the black background. See xsetroot(1). > I actually like twm and use it when upgrading kde. Thank you for your > offer to review Xorg.0.log. Unfortunately the current system only > keeps two levels. My failures were long gone before questions was > restored to health. When you want to try it again, I think we can make it work. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 01:27:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FB0D1065704 for ; Thu, 17 Dec 2009 01:27:27 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 361078FC1E for ; Thu, 17 Dec 2009 01:27:27 +0000 (UTC) Received: from eagle.syrec.org (c-24-6-221-126.hsd1.ca.comcast.net [24.6.221.126]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id nBH1RQbo048315 for ; Wed, 16 Dec 2009 17:27:26 -0800 (PST) Message-ID: <4B2988FD.9050504@rawbw.com> Date: Wed, 16 Dec 2009 17:27:25 -0800 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20091130) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Can display be shared through VNC using xorg vnc module? 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, 17 Dec 2009 01:27:27 -0000 I read here: http://en.gentoo-wiki.com/wiki/X11VNC that in Gentoo xorg can load "vnc" module and it will make it also a vnc server. But I can't find any relevant ports in FreeBSD port tree. I only found net/x11vnc which is a standalone program that connects to xorg server and serves as it's vnc server. Does this meant that "vnc" module isn't supported on FreeBSD? Or it was replaced by x11vnc? Yuri From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 02:27:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7A521065670 for ; Thu, 17 Dec 2009 02:27:05 +0000 (UTC) (envelope-from mailinglists@debank.tv) Received: from smtpout01.onlinespamfilter.nl (smtpout01.onlinespamfilter.nl [217.21.240.161]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC038FC0C for ; Thu, 17 Dec 2009 02:27:05 +0000 (UTC) Received: from smtp.onlinespamfilter.nl (localhost [127.0.0.1]) by smtp.onlinespamfilter.nl (Postfix) with ESMTP id 6C869252BD for ; Thu, 17 Dec 2009 03:26:58 +0100 (CET) Received: from smtp.debank.tv (59-80-ftth.onsneteindhoven.nl [88.159.80.59]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.onlinespamfilter.nl (Postfix) with ESMTP for ; Thu, 17 Dec 2009 03:26:58 +0100 (CET) Received: from smtp.debank.tv (smtp.debank.tv [172.16.143.25]) by smtp.debank.tv (Postfix) with ESMTP id 2000A1DB21C3; Thu, 17 Dec 2009 03:26:58 +0100 (CET) Received: from debank.tv (www.debank.tv [172.16.143.22]) by smtp.debank.tv (Postfix) with ESMTP id F2F661DB21BE; Thu, 17 Dec 2009 03:26:57 +0100 (CET) MIME-Version: 1.0 Date: Thu, 17 Dec 2009 03:26:57 +0100 From: mailinglists To: Message-ID: <591192c5972ba7e0f6de1ec167010f71, 77fa862ed28fc5b6ead3ee575b4b6e49@debank.tv> X-Sender: mailinglists@debank.tv User-Agent: RoundCube Webmail/0.2a Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 X-Virus-Scanned: ClamAV using ClamSMTP @ debank.tv X-OSF-Virus: CLEAN X-OSF-Outgoing: Innocent X-OSF-SUM: 591192c5972ba7e0f6de1ec167010f71 X-OSF-Info: Checked for spam and viruses Cc: etienne@debank.tv Subject: Transfer zfs pool to new hardware X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 02:27:05 -0000 All, My machine had a failing motherboard so it was decided to put the drives of the failed machine in a different machine to be able to continue service. The old server had 2 drives in a mirror setup (gmirror) and these were recovered fine in the new server, these disks contain the OS so everything is up and running again. In addition to the mirrored drives there was a zfs (raidz) volume to contain bulk data, this pool was built using 4 750G drives (all the same disks) but this hasn't come up properly. I'm not sure if the disks were put in the server in the same order and the device naming in the new machine has changed also. One thing that stands out (for me) is that the /dev/ad12 comes up twice in the 'zpool status' output (see below), I'm not sure if this is expected...... Old situation: zfs raidz containing /dev/ad10, /dev/ad12, /dev/ad14 and /dev/ad16 (working fine) In the new machine /dev/ad16 doesn't exist and the drives are numbered different: /dev/ad8, /dev/ad10, /dev/ad12 and /dev/ad14 My question is; can the data on this zfs pool be recovered? Some more detailed information is below, but I'd be happy to provide additional information if needed. Current machine specs: FreeBSD flappie.debank.tv 7.2-STABLE FreeBSD 7.2-STABLE #8: Mon Dec 7 00:45:32 CET 2009 root@flappie.debank.tv:/usr/obj/usr/src/sys/FLAPPIE amd64 Dual core AMD processor, 6G memory, Tyan motherboard >From the dmesg on the new box (all disk are recognized): root@flappie:...home/rob#dmesg | grep "ad[0-9]" ad4: 286188MB at ata2-master SATA150 ad6: 286188MB at ata3-master SATA150 ad8: 715404MB at ata4-master SATA300 ad10: 715404MB at ata5-master SATA300 ad12: 715404MB at ata6-master SATA300 ad14: 715404MB at ata7-master SATA300 Some more output from the various zfs commands: root@flappie:...home/rob#zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT data - - - - FAULTED - root@flappie:...home/rob#zpool status data pool: data state: UNAVAIL status: One or more devices could not be used because the label is missing or invalid. There are insufficient replicas for the pool to continue functioning. action: Destroy and re-create the pool from a backup source. see: http://www.sun.com/msg/ZFS-8000-5E scrub: none requested config: NAME STATE READ WRITE CKSUM data UNAVAIL 0 0 0 insufficient replicas raidz1 UNAVAIL 0 0 0 insufficient replicas ad10 FAULTED 0 0 0 corrupted data ad12 FAULTED 0 0 0 corrupted data ad14 FAULTED 0 0 0 corrupted data ad12 ONLINE 0 0 0 root@flappie:...home/rob#zdb data version=13 name='data' state=0 txg=4552247 pool_guid=10110325244913303479 hostid=376236222 hostname='unset' vdev_tree type='root' id=0 guid=10110325244913303479 children[0] type='raidz' id=0 guid=15844282688259604426 nparity=1 metaslab_array=14 metaslab_shift=34 ashift=9 asize=3000606130176 is_log=0 children[0] type='disk' id=0 guid=12803254643974387344 path='/dev/ad10' devid='ad:S13UJ1KQ236306' whole_disk=0 children[1] type='disk' id=1 guid=9558028561673012056 path='/dev/ad12' devid='ad:S13UJ1KQ236305' whole_disk=0 children[2] type='disk' id=2 guid=12771778087909498297 path='/dev/ad14' devid='ad:S13UJ1KQ236308' whole_disk=0 children[3] type='disk' id=3 guid=9647122164658652650 path='/dev/ad16' devid='ad:S13UJ1KQ236309' whole_disk=0 Thanks for your help, Rob Evers ***deze e-mail is gescand door Onlinespamfilter.nl*** From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 03:20:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66E701065679 for ; Thu, 17 Dec 2009 03:20:46 +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 3AA438FC1B for ; Thu, 17 Dec 2009 03:20:45 +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 nBH3KatB081365 for ; Wed, 16 Dec 2009 21:20:43 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200912170320.nBH3KatB081365@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Date: Wed, 16 Dec 2009 21:20:34 -0600 From: Martin McCormick Subject: Re: sed -f Script Syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 03:20:46 -0000 Warren Block writes: > sed(1) says it should be -E. Looks like it will only work on the whole > script. Many thanks. I have had -e work many times if you call sed from either the command line or a shell script as in sed -f somefile with somefile being 1 or more lines of sed commands. When the file itself is the script, the first line actually calls sed from within the file. I was just wondering if the sed used in freeBSD had a way to let one put the -e flag in there also. -ef or -fe doesn't cut it: sed: 1: "f ": invalid command code f That was with sed -ef. If you try sed -fe, it bombs with the same complaint only now it doesn't understand the e so there can apparently be only one flag after the -. #! /usr/bin/sed -f -e doesn't work either. Someone wrote me off list chiding me that this is not a freebsd question. Well, I am running this under freebsd and there are sometimes slight differences between bsd-style commands and other flavors of Unix such as Linux. They are not numerous, but try date -r1234567890 under freebsd. You get: Fri Feb 13 17:31:30 CST 2009 Try that same command under Linux: date: 1234567890: No such file or directory That date command wants the string in a file to produce similar results. ping -o under freebsd is incredibly useful when you want to know when an interface comes up. Under Linux and earlier versions of FreeBSD, it does nothing but tell you it didn't understand -o. Again, thank you for answering. Martin McCormick From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 03:44:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35FC01065672 for ; Thu, 17 Dec 2009 03:44:42 +0000 (UTC) (envelope-from joey@mingrone.org) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id CCA828FC0A for ; Thu, 17 Dec 2009 03:44:41 +0000 (UTC) Received: by bwz5 with SMTP id 5so1243741bwz.3 for ; Wed, 16 Dec 2009 19:44:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.156.3 with SMTP id u3mr980317bkw.179.1261021479836; Wed, 16 Dec 2009 19:44:39 -0800 (PST) Date: Wed, 16 Dec 2009 23:44:39 -0400 Message-ID: From: Joey Mingrone To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Sun Grid Engine: occasional job submission 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: Thu, 17 Dec 2009 03:44:42 -0000 We are using Freebsd 8.0 / sge-6.2.2.1_1on a computing cluster (http://awarnach.mathstat.dal.ca/). It's been working well, however we see the error below when a lot of jobs are submitted in a short time (e.g. in a loop on the command line) using "qsub". error: commlib error: can't connect to service (Address already in use) Unable to run job: failed sending gdi request. Exiting. Has anyone seen this problem before and found a solution? Cheers, Joey Mingrone From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 03:48:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 736E5106566B for ; Thu, 17 Dec 2009 03:48:22 +0000 (UTC) (envelope-from battdude@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 4F0098FC08 for ; Thu, 17 Dec 2009 03:48:22 +0000 (UTC) Received: by pxi12 with SMTP id 12so1169779pxi.3 for ; Wed, 16 Dec 2009 19:48:21 -0800 (PST) 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=kLaDWDvcpNM8so1DpFOu2mXRqP6ZnK3f3UR8uHiwtjo=; b=lQx90DkFQ6+TQwI4C7sJIEEy5pOktLd4KY12t7f5ffpZKsPKo2oYcKIVP0Y2BAdjFD 6mEhGieO3tgT2KbFCeqN9y85iYO/kjW2BU5KcLJ/XTTQU8jV62bg0gewGLFimVRyxj2H I5v6H0Q6Tv2bTKwvta07S00updiGPV8VrimEs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PD1BVmaYO4ZYGHOkSefZ0VwrClwCTMgIE+c6arhP6d5R30Lqo8U9prHZ9zOeJTYCgF qOETnw1kMsHrSDIwrSHzbjSfVrguJRLCeOh9Rx5QTp6Yr3yByjPdYZEkufKGBbAQnflS TxQjk19N4um4ZzUXBfTCXXFwmEMIBHQfSX85g= MIME-Version: 1.0 Received: by 10.141.188.41 with SMTP id q41mr1367251rvp.117.1261019843733; Wed, 16 Dec 2009 19:17:23 -0800 (PST) Date: Wed, 16 Dec 2009 17:17:23 -1000 Message-ID: <7314e5020912161917s355d02c9l16c996043c753044@mail.gmail.com> From: Kevin To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: portupgrade 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: Thu, 17 Dec 2009 03:48:22 -0000 Hello all, I've been having this problem for a couple of months now, but I just recently decided to try to fix it. I'm running FreeBSD 6.4, and if I try to use portupgrade to upgrade something, I get an error (seems to be the same for other ports): # portupgrade -R squid [Gathering depends for www/squid30 ./usr/local/sbin/portupgrade:878:in `get_all_depends': private method `scan' called for # (NoMethodError) from /usr/local/sbin/portupgrade:871:in `get_all_depends' from /usr/local/lib/ruby/1.8/set.rb:195:in `each' from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key' from /usr/local/lib/ruby/1.8/set.rb:195:in `each' from /usr/local/sbin/portupgrade:870:in `get_all_depends' from /usr/local/sbin/portupgrade:633:in `main' from /usr/local/sbin/portupgrade:607:in `each' from /usr/local/sbin/portupgrade:607:in `main' from /usr/local/sbin/portupgrade:582:in `catch' from /usr/local/sbin/portupgrade:582:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `call' from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `catch' from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch' from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!' from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order' from /usr/local/sbin/portupgrade:559:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize' from /usr/local/sbin/portupgrade:231:in `new' from /usr/local/sbin/portupgrade:231:in `main' from /usr/local/sbin/portupgrade:2213 The only other symptoms I can identify right now are related to the following entries in my crontab: 0 2 * * 6 /usr/local/sbin/portsclean -DD 0 2 * * 5 /usr/local/sbin/portsclean -C The e-mailed results simply say "env: ruby: No such file or directory". However, these commands seem to run fine from an interactive shell (while logged in). I also receive the same message at the end of the output for "/usr/sbin/portsnap cron update && /usr/local/sbin/portsdb -u > /dev/null" run from cron: Removing old files and directories... done. Extracting new files: /usr/ports/MOVED /usr/ports/Mk/bsd.sites.mk /usr/ports/UPDATING <...lines deleted...> /usr/ports/x11/9menu/ /usr/ports/x11/evilvte/ /usr/ports/x11/nvidia-driver/ Building new INDEX files... done. env: ruby: No such file or directory Any help would be greatly appreciated. Thanks, Kevin From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 03:50:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A2CB1065692 for ; Thu, 17 Dec 2009 03:50:38 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.ORG [206.117.18.8]) by mx1.freebsd.org (Postfix) with ESMTP id 1BCB68FC14 for ; Thu, 17 Dec 2009 03:50:37 +0000 (UTC) Received: from [10.0.1.4] (pool-71-109-144-133.lsanca.dsl-w.verizon.net [71.109.144.133]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id nBH3obEc020980 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 16 Dec 2009 19:50:37 -0800 (PST) (envelope-from bc979@lafn.org) References: In-Reply-To: Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Message-Id: <59459CE1-CC01-40A2-88C0-7098F7D2ADE8@lafn.org> Content-Transfer-Encoding: quoted-printable From: Doug Hardie Date: Wed, 16 Dec 2009 19:50:36 -0800 To: freebsd-questions - X-Mailer: Apple Mail (2.1077) X-Virus-Scanned: clamav-milter 0.95.3 at zoom.lafn.org X-Virus-Status: Clean Subject: Re: I am not understanding something about pf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 03:50:38 -0000 On 11 December 2009, at 19:30, Doug Hardie wrote: > I am running 7.2-Stable with pf. I have the following pf.conf: >=20 > no rdr inet proto tcp from to any port smtp > no rdr inet proto tcp from to any port smtp > rdr pass inet proto tcp from any to any port smtp -> 127.0.0.1 port = spamd >=20 > This is the basic spamd configuration with an extra table = which lists hosts to go directly to the mail server. = Everything works properly. Hosts not in either spamd table go to spamd = and those in either spamd table go directly to the mail server. = However, the pf statistics don't seem to make sense to me. I always see = the following: >=20 > no rdr inet proto tcp from to any port =3D smtp > [ Evaluations: 1193433 Packets: 0 Bytes: 0 = States: 0 ] > [ Inserted: uid 0 pid 73310 ] > no rdr inet proto tcp from to any port =3D smtp > [ Evaluations: 110124 Packets: 0 Bytes: 0 = States: 0 ] > [ Inserted: uid 0 pid 73310 ] > rdr pass inet proto tcp from any to any port =3D smtp -> 127.0.0.1 = port 8025 > [ Evaluations: 110124 Packets: 63 Bytes: 3516 = States: 1 ] > [ Inserted: uid 0 pid 73310 ] >=20 > Where the first two entries never show any Packets and the third shows = everything. Does "no rdr" work differently than "rdr" with the = statistics? I understood from the Book of PF that the rules were = evaluated such that the last matching rule is used. Hence I think that = with the above conf file the spamd-white-local table would never get = used as the connection will match one of the 2 following rules. >=20 > So I ran another test by putting the first rule last: >=20 > no rdr inet proto tcp from to any port smtp > rdr pass inet proto tcp from any to any port smtp -> 127.0.0.1 port = spamd > no rdr inet proto tcp from to any port smtp >=20 > Now entries in are ignored and, the statistics are = quite different: >=20 > no rdr inet proto tcp from to any port =3D smtp > [ Evaluations: 79 Packets: 0 Bytes: 0 = States: 0 ] > [ Inserted: uid 0 pid 86983 ] > rdr pass inet proto tcp from any to any port =3D smtp -> 127.0.0.1 = port 8025 > [ Evaluations: 52 Packets: 25 Bytes: 1395 = States: 1 ] > [ Inserted: uid 0 pid 86983 ] > no rdr inet proto tcp from to any port =3D smtp > [ Evaluations: 0 Packets: 0 Bytes: 0 = States: 0 ] > [ Inserted: uid 0 pid 86983 ] >=20 >=20 > Now the last rule says its never evaluated. This indicates that its = the first rule that matches that is used rather than the last. However, = why are there never any packets counted in the "no rdr" rules? >=20 It appears that my reply with the full pf.conf didn't make the list. Am = trying again. MAILHOSTS =3D "{zoon.lafn.org}" table persist table persist table persist file "/etc/mail/whitelist" no rdr on { lo0, lo1 } from any to any no rdr inet proto tcp from to any port smtp no rdr inet proto tcp from to any port smtp rdr pass inet proto tcp from any to any port smtp -> 127.0.0.1 port = spamd pass in log inet proto tcp to $MAILHOSTS port smtp keep state From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 04:04:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A746E106566B for ; Thu, 17 Dec 2009 04:04:34 +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 596A68FC0C for ; Thu, 17 Dec 2009 04:04:34 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBH44Sej098855; Wed, 16 Dec 2009 21:04:28 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBH44Sln098852; Wed, 16 Dec 2009 21:04:28 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 16 Dec 2009 21:04:28 -0700 (MST) From: Warren Block To: Martin McCormick In-Reply-To: <200912170320.nBH3KatB081365@dc.cis.okstate.edu> Message-ID: References: <200912170320.nBH3KatB081365@dc.cis.okstate.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, 16 Dec 2009 21:04:28 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: sed -f Script Syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 04:04:34 -0000 On Wed, 16 Dec 2009, Martin McCormick wrote: > Warren Block writes: >> sed(1) says it should be -E. Looks like it will only work on the whole >> script. > > Many thanks. I have had -e work many times But -e does not mean what you think here: -E Interpret regular expressions as extended (modern) regular expressions rather than basic regular expressions (BREs). The re_format(7) manual page fully describes both formats. -e command Append the editing commands specified by the command argument to the list of commands. So sed -E means "interpret regular expressions as extended" and -e is followed by a command: sed -E -e 's/a/b/' -e 's/x/y/' > if you call sed from either the command line or a shell script as in > > sed -f somefile > > with somefile being 1 or more lines of sed commands. When the > file itself is the script, the first line actually calls sed > from within the file. I'm not clear on why you want to do it that way instead of simply calling sed from a shell script, but sed -Ef seems to do what you want. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 04:19:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B954106568B for ; Thu, 17 Dec 2009 04:19:24 +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 0E6188FC0C for ; Thu, 17 Dec 2009 04:19:23 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBH4JNQA098897; Wed, 16 Dec 2009 21:19:23 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBH4JNNw098894; Wed, 16 Dec 2009 21:19:23 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 16 Dec 2009 21:19:23 -0700 (MST) From: Warren Block To: Kevin In-Reply-To: <7314e5020912161917s355d02c9l16c996043c753044@mail.gmail.com> Message-ID: References: <7314e5020912161917s355d02c9l16c996043c753044@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]); Wed, 16 Dec 2009 21:19:23 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade 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: Thu, 17 Dec 2009 04:19:24 -0000 On Wed, 16 Dec 2009, Kevin wrote: [...] > The only other symptoms I can identify right now are related to the > following entries in my crontab: > > 0 2 * * 6 /usr/local/sbin/portsclean -DD > 0 2 * * 5 /usr/local/sbin/portsclean -C > > The e-mailed results simply say "env: ruby: No such file or > directory". However, these commands seem to run fine from an > interactive shell (while logged in). Paths. When there's a problem with cron it's (almost) always paths. portsclean is a ruby script that starts with this line: #!/usr/bin/env ruby That should find and run ruby. Your /etc/crontab should have these lines: SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin > I also receive the same message at the end of the output for > "/usr/sbin/portsnap cron update && /usr/local/sbin/portsdb -u > > /dev/null" run from cron: portsdb is another ruby script. Same deal; cron running env can't find ruby. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 04:27:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FDD11065670 for ; Thu, 17 Dec 2009 04:27:49 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id A88778FC08 for ; Thu, 17 Dec 2009 04:27:48 +0000 (UTC) Received: by fxm27 with SMTP id 27so1599580fxm.3 for ; Wed, 16 Dec 2009 20:27:47 -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 :content-transfer-encoding; bh=WHji2xgCRctAcCtL3hj1baECd4Hg8C3xO+u/7y09MNI=; b=MMsjeZ42ZrfcjvDcZUtEif0mP552Tt6qbadoIHyd1r+yKzZkIIOymjevNBlbbeEO9Z 8eZtNjeV9GWDmt5pOFgKRI1dukItxVq/Iw+dnlBtPZX4IIpLxBl5Dd5JdutlEwiZCdHy PMNndv2Q3pk8Y4tTEanab6Jr9YTGKH7zVTjpU= 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=TW8THGtdd4Djr/bOHjt8lfdrx1S51IsJR6CexNgoTsonySApTlQ5kI4CVYwFzA/tT6 qNgtNXj8ZCeP7o0H727VfpNDDHYU7lr1l7pr5BKCS4glt5RFVoOBvq0OmImPRkwa66zi VKT+24XzhX746EhwFWdexwzyjuEo4XV2YaWKA= MIME-Version: 1.0 Received: by 10.223.53.149 with SMTP id m21mr2359383fag.101.1261024067667; Wed, 16 Dec 2009 20:27:47 -0800 (PST) In-Reply-To: References: <7314e5020912161917s355d02c9l16c996043c753044@mail.gmail.com> Date: Wed, 16 Dec 2009 23:27:47 -0500 Message-ID: <4ad871310912162027l1bfa4fd6i4b445a34b9ab5be@mail.gmail.com> From: Glen Barber To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Kevin , freebsd-questions@freebsd.org Subject: Re: portupgrade 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: Thu, 17 Dec 2009 04:27:49 -0000 Hi, On Wed, Dec 16, 2009 at 11:19 PM, Warren Block wrote: > On Wed, 16 Dec 2009, Kevin wrote: > > [...] > >> The only other symptoms I can identify right now are related to the >> following entries in my crontab: >> >> 0 2 * * 6 =A0 =A0 =A0 /usr/local/sbin/portsclean -DD >> 0 2 * * 5 =A0 =A0 =A0 /usr/local/sbin/portsclean -C >> >> The e-mailed results simply say "env: ruby: No such file or >> directory". However, these commands seem to run fine from an >> interactive shell (while logged in). > > Paths. =A0When there's a problem with cron it's (almost) always paths. > portsclean is a ruby script that starts with this line: > Interestingly, my homemade port rebuild script is recently broken with similar symptoms, sans the dependencies on ruby. It's a very simple, low-level "for i in `cat list`" type script which recently has begun to fail repeatedly on gettext and autoconf dependencies on multiple machines, when I specifically have them set to be upon the first ports to build. More probably unrelated, but I thought I'd throw this out there just in cas= e. Regards, --=20 Glen Barber From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 04:44:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DA901065672 for ; Thu, 17 Dec 2009 04:44:31 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 2859B8FC14 for ; Thu, 17 Dec 2009 04:44:31 +0000 (UTC) Received: (qmail 30919 invoked from network); 17 Dec 2009 04:44:30 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 17 Dec 2009 04:44:30 -0000 Message-ID: <4B29B757.8050104@telenix.org> Date: Wed, 16 Dec 2009 23:45:11 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: Glen Barber References: <7314e5020912161917s355d02c9l16c996043c753044@mail.gmail.com> <4ad871310912162027l1bfa4fd6i4b445a34b9ab5be@mail.gmail.com> In-Reply-To: <4ad871310912162027l1bfa4fd6i4b445a34b9ab5be@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Kevin , freebsd-questions@freebsd.org Subject: Re: portupgrade 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: Thu, 17 Dec 2009 04:44:31 -0000 Glen Barber wrote: > Hi, > > On Wed, Dec 16, 2009 at 11:19 PM, Warren Block wrote: >> On Wed, 16 Dec 2009, Kevin wrote: >> >> [...] >> >>> The only other symptoms I can identify right now are related to the >>> following entries in my crontab: >>> >>> 0 2 * * 6 /usr/local/sbin/portsclean -DD >>> 0 2 * * 5 /usr/local/sbin/portsclean -C >>> >>> The e-mailed results simply say "env: ruby: No such file or >>> directory". However, these commands seem to run fine from an >>> interactive shell (while logged in). >> Paths. When there's a problem with cron it's (almost) always paths. >> portsclean is a ruby script that starts with this line: >> > > Interestingly, my homemade port rebuild script is recently broken with > similar symptoms, sans the dependencies on ruby. It's a very simple, > low-level "for i in `cat list`" type script which recently has begun > to fail repeatedly on gettext and autoconf dependencies on multiple > machines, when I specifically have them set to be upon the first ports > to build. > > More probably unrelated, but I thought I'd throw this out there just in case. > > Regards, > I don't know if it's of any help, but I had a *somewhat* similar experience, I don't know if this will help, but I'll give it to you for what it's worth: I found in my environment, I had REINPLACE_CMD defined (seemed to be a good value), so (in my shell, tcsh) I removed the REINPLACE_CMD setting with unsetenv, and the problem disappeared. Use either env or printenv to scan your environment for anything to do with sed (as REINP"LACE_CMD does) and try removing it. Oh, BTW, I can't seem to get the -l option to portupgrade to work, any help on that would also be appreciated. I didn't use -L at all. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 04:53:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B6071065672 for ; Thu, 17 Dec 2009 04:53:51 +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 704048FC18 for ; Thu, 17 Dec 2009 04:53:50 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBH4rnQL099034; Wed, 16 Dec 2009 21:53:49 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBH4rnnx099031; Wed, 16 Dec 2009 21:53:49 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 16 Dec 2009 21:53:49 -0700 (MST) From: Warren Block To: Kevin In-Reply-To: Message-ID: References: <7314e5020912161917s355d02c9l16c996043c753044@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]); Wed, 16 Dec 2009 21:53:49 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade 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: Thu, 17 Dec 2009 04:53:51 -0000 On Wed, 16 Dec 2009, Warren Block wrote: > On Wed, 16 Dec 2009, Kevin wrote: > > [...] > >> The only other symptoms I can identify right now are related to the >> following entries in my crontab: >> >> 0 2 * * 6 /usr/local/sbin/portsclean -DD >> 0 2 * * 5 /usr/local/sbin/portsclean -C >> >> The e-mailed results simply say "env: ruby: No such file or >> directory". However, these commands seem to run fine from an >> interactive shell (while logged in). > > Paths. When there's a problem with cron it's (almost) always paths. > portsclean is a ruby script that starts with this line: > > #!/usr/bin/env ruby > > That should find and run ruby. Your /etc/crontab should have these lines: > > SHELL=/bin/sh > PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin And now that I tried a test with these manual paths, the same thing happens: # setenv PATH /etc:/bin:/sbin:/usr/bin:/usr/sbin # env ruby env: ruby: No such file or directory Doh. ruby and ruby18 are in /usr/local/bin. So it's working as designed. A reasonable way to fix this is to add :/usr/local/bin to the crontab path, but that may not be the right way to fix it. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 05:18:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BF88106568D for ; Thu, 17 Dec 2009 05:18:35 +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 3BC378FC1A for ; Thu, 17 Dec 2009 05:18:35 +0000 (UTC) Received: from r55.edvax.de (port-92-195-228-22.dynamic.qsc.de [92.195.228.22]) by mx01.qsc.de (Postfix) with ESMTP id DDD893CB59; Thu, 17 Dec 2009 06:18:32 +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 nBH5IVKt001564; Thu, 17 Dec 2009 06:18:33 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 17 Dec 2009 06:18:31 +0100 From: Polytropon To: Rolf Nielsen Message-Id: <20091217061831.7b702bd6.freebsd@edvax.de> In-Reply-To: <4B284E37.3000909@lazlarlyricon.com> References: <4B284E37.3000909@lazlarlyricon.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: Native PDF viewer 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, 17 Dec 2009 05:18:35 -0000 On Wed, 16 Dec 2009 04:04:23 +0100, Rolf Nielsen wrote: > Hi all, > > Since I don't have Linux compat layer activated, and I have no need for > it, I'd like to ask if anyone can suggest a native PDF viewer (I'm not > fond of the idea of installing a compat layer for just one application). There are gv (which is limited in some way, "fancy" PDF files) and xpdf. I can recommend "xpdf -fullscreen " especially for use in presentations. In both programs, keyboard support (important for comfortably browsing a document) is good. Of course, KDE and Gnome provide their own PDF viewers, but since you don't want to use the Linux ABI just for a PDF viewer program, you surely won't want to install KDE or Gnome just for the same purpose. :-) But I have to tell you that for some very special PDF files, especially those that use nonstandard stuff, and for those that "process" input fields, the acroread port is still on my system as "fallback solution". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 05:39:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CDEC106568F for ; Thu, 17 Dec 2009 05:39:32 +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 D1FAE8FC0A for ; Thu, 17 Dec 2009 05:39:31 +0000 (UTC) Received: from r55.edvax.de (port-92-195-228-22.dynamic.qsc.de [92.195.228.22]) by mx01.qsc.de (Postfix) with ESMTP id D94A33CCA6; Thu, 17 Dec 2009 06:39:29 +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 nBH5dUr9001623; Thu, 17 Dec 2009 06:39:30 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 17 Dec 2009 06:39:29 +0100 From: Polytropon To: mgglist@pdc4u.com Message-Id: <20091217063929.3929c685.freebsd@edvax.de> In-Reply-To: <4B295D72.2030804@pdc4u.com> References: <4B295D72.2030804@pdc4u.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: Simple Monitoring Of TCP/IP Question 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, 17 Dec 2009 05:39:32 -0000 On Wed, 16 Dec 2009 15:21:38 -0700, Michael Goodell wrote: > Looking for a *simple* protocol monitoring solution to test connectivity > of various facets of a system, i.e. HTTP / HTTPS / POP3 / SMTP etc. I was always a fan of Wireshark (ex Etherial). It's lightweight (in comparison to e. g. Nagios), GUI-based and very comfortable. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 05:50:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 455F21065670 for ; Thu, 17 Dec 2009 05:50:02 +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 E0E9E8FC0C for ; Thu, 17 Dec 2009 05:50:01 +0000 (UTC) Received: from r55.edvax.de (port-92-195-228-22.dynamic.qsc.de [92.195.228.22]) by mx01.qsc.de (Postfix) with ESMTP id E21233CC79; Thu, 17 Dec 2009 06:49: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 nBH5o0A6001682; Thu, 17 Dec 2009 06:50:00 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 17 Dec 2009 06:49:59 +0100 From: Polytropon To: Fbsd1 Message-Id: <20091217064959.e62bfdbb.freebsd@edvax.de> In-Reply-To: <4B296E66.6030405@a1poweruser.com> References: <4B296E66.6030405@a1poweruser.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: is this booting info correct? 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, 17 Dec 2009 05:50:02 -0000 On Thu, 17 Dec 2009 07:33:58 +0800, Fbsd1 wrote: > Users with Microsoft/Windows knowledge of how a hard drive is configured > may have a terminology issue with FreeBSD. Microsoft/Windows and FreeBSD > use the word partition to mean different (but related) things. > > FreeBSD and Microsoft/Windows have primary-partitions, but they call > them different things. FreeBSD calls the Microsoft/Windows > primary-partition a slice. FreeBSD's slice is a "DOS primary partition". FreeBSD's partition is comparable (but not equal to) a "logical volume inside a DOS extended partition". > The number of hard drive primary-partitions/slices is determined by the > motherboard BIOS (Basic input output system), not the operating system. > Standard motherboard BIOS limits hard-drives to 4 main divisions The limitation to 4 slices is due to DOS limitations that are still present for legacy in the PC sector. > Each of those are called primary-partitions in Microsoft/Windows > terminology and slices in FreeBSD terminology. Yes. > Each primary-partition/slice can be sub-divided into smaller chunks. In > Microsoft/Windows, they are called extended-partitions. No. As far as I understood and listed before, a "DOS primary partition" cannot be subdivided. That's why the "DOS extended partition" has been "invented" which allows subdivion by the means of "logical volumes". A "DOS extended partition" takes the place of a "DOS primary partition". > They are > implemented very differently and are not compatible with FreeBSD. I've not had problems accessing them so far. > In > FreeBSD the sub-divisions are called partitions. But only the subdivisions of a FreeBSD slice are called this way. > Each one of the 4 max primary-partitions/slices can be made bootable. But not all at the same time. :-) > The first physical track of the allocated space of each > primary-partition/slice has an initial sector (512 byte block) that is > called the boot sector. If it contains boot up code the motherboard BIOS > considers it to be bootable. Yes. > Each physical hard drive in the PC has it's own MBR (Master Boot > Record). The MBR is located in sector-0 of the first physical track on > the hard drive. The standard MBR in Microsoft/Windows and FreeBSD > defaults to booting the first primary-partition/slice allocated on the > first hard drive cabled to the PC. No. The MBR usually branches to the first slice it finds that has the bootable flag set. It doesn't have to be the first one on the disk. In case of FreeBSD, feel free to read "man boot" which gives a good introduction to the topic. > There are MBR booting programs that you can load into the MBR on the > first physical cabled hard drive to scan for other bootable > primary-partitions/slices on this hard drive and any other hard drives > cabled to the PC. It displays a menu giving you the option to choose > which one you want to boot from. This gives you the ability to have more > that one operating system installed on your PC at one time. Exact. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 06:37:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 479B6106566C; Thu, 17 Dec 2009 06:37:32 +0000 (UTC) (envelope-from benschumacher@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 15B888FC13; Thu, 17 Dec 2009 06:37:32 +0000 (UTC) Received: by pwi15 with SMTP id 15so1222810pwi.3 for ; Wed, 16 Dec 2009 22:37:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=1E0FpkDu5ihtI7o+fX4bGcKNHSrDs7doNQjgzYsD/YQ=; b=WR2hnPEMYvGdjTDFnFzkdn3UwIjXYamaH0GyNwD47GkycikUZHIrR6YG1JWZIXnGUM 0sdplNVcf+ZauVf8+4SaKuHUvCPEm2fVxyRO77wGu0vX78i1xXcH6khPrkH04JGrYKXp MKjDEEuE2Au0ZQbIvofEKVESLiSiKugsAzc/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=mHKPeBbqIIrNlJX9dxQFUHVR0nj3HYELaiUDgyYg+nI5BNiMnO4SkaXCM623lWu3MQ r7kpGKTRJBoRi4XEG/WwGOgK82463d7CNFro8MT2EUamOLzGXmFY8fD6vAjtp62GT4WY QNYpLhq/gD1mAsONTRN2q7UgdMEl6H3zPhGHw= MIME-Version: 1.0 Sender: benschumacher@gmail.com Received: by 10.142.1.24 with SMTP id 24mr1394430wfa.108.1261031851627; Wed, 16 Dec 2009 22:37:31 -0800 (PST) In-Reply-To: References: <9859143f0912142036k3dd0758fmc9cee9b6f2ce4698@mail.gmail.com> Date: Wed, 16 Dec 2009 23:37:31 -0700 X-Google-Sender-Auth: f9171b267f75b27a Message-ID: <9859143f0912162237q50fe147ej428905abf63c61b@mail.gmail.com> From: Ben Schumacher To: Emil Smolenski Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org, freebsd-questions@freebsd.org Subject: Re: SUIDDIR on ZFS? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 06:37:32 -0000 On Tue, Dec 15, 2009 at 7:52 PM, Emil Smolenski wrote: > On Tue, 15 Dec 2009 05:36:55 +0100, Ben Schumacher > wrote: > >> At any rate, I've been considering switching this to a ZFS RAIDZ now >> that FreeBSD 8 is released and it seems that folks think it's stable, >> but I'm curious if it can provide the SUIDDIR functionality I'm >> currently using. > > =C2=A0Yes, it can. From my point of view it works the same way as on UFS. Emil- Thanks for your response... I don't know that that's quite right. SUIDDIR has to be enabled in the kernel as an option to enable the functionality on UFS and my tests on ZFS haven't proved fruitful: $ sudo zfs create zroot/shared $ sudo zfs umount zroot/shared $ sudo zfs mount -o suiddir zroot/shared $ sudo chown sats:office /zroot/shared $ sudo chmod 4770 /zroot/shared $ touch /zroot/shared/file $ ls -al /zroot/shared/ total 4 drwsrwx--- 2 sats office 3 Dec 16 23:26 ./ drwxr-xr-x 4 root wheel 9 Dec 16 23:26 ../ -rw-r--r-- 1 ben office 0 Dec 16 23:26 file With a drive mounted with the 'suiddir' option (and the kernel option enabled) the above works with UFS. I was curious if maybe there was an option in 'zfs set' that I was missing. Any clues would be appreciated. Ben From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 07:05:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F372106566B for ; Thu, 17 Dec 2009 07:05:52 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from d.mail.ru.ac.za (d.mail.ru.ac.za [IPv6:2001:4200:1010::25:4]) by mx1.freebsd.org (Postfix) with ESMTP id 588F78FC0A for ; Thu, 17 Dec 2009 07:05:51 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ru-msa; d=ru.ac.za; h=Received:From:Organization:To:Subject:Date:User-Agent:References:In-Reply-To:X-Face:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id:X-Virus-Scanned:X-Authenticated-User; b=WWuzkC0vVqwrXB8ifQvCEcoLXuSdp1Bz4JKcIJdJ6eGFbxcjn2/1fDjkccRRZlEtMxJqvky9qNOnLPbETk5bhapEBCp33NecPBXMjXGdZkX4UmRwnywBw+6DHlS771sA; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:52114) by d.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NLAQn-000EZE-3J for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 09:05:49 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Thu, 17 Dec 2009 09:05:48 +0200 User-Agent: KMail/1.9.10 References: <237c27100912100909i9c0eb95jd348eb594d86c744@mail.gmail.com> <20091215175320.GR84026@dan.emsphone.com> <237c27100912151324x3003b810v6145e5f5cd163dbf@mail.gmail.com> In-Reply-To: <237c27100912151324x3003b810v6145e5f5cd163dbf@mail.gmail.com> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: d.mail.ru.ac.za (2001:4200:1010::25:4) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Subject: Re: 8.0: OpenSSL stat()'s NLS 500+ times causing extreme system load X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 07:05:52 -0000 On Tuesday 15 December 2009 23:24:16 Linda Messerschmidt wrote: > On Tue, Dec 15, 2009 at 12:53 PM, Dan Nelson wrote: > > It's defined in src/lib/libc/Makefile, so you should be able to remove > > that line, rebuild libc and reinstall, and see whether your performance > > issue goes away. > > I tried that and as you predicted, all the bogus stat calls went away. > > Unfortunately the performance issue did not. :( Back to the drawing > board for me! > > Upon further inspection, it seems as though for each check, Nagios > spawns a process that spawns a process that spawns a process that runs > the check. I did "ktrace -i -t w -p (nagiospid)" on Nagios for 30 > seconds and the ktrace output contained records from 2365 different > processes spawned in that 30 seconds. During that time, I would > expect about 800 checks to have run, so it does seem like it's right > at 3 processes per check. > > I just don't think the system can keep up with all that fork()ing > without going all out; it's just a limit of the Nagios plugin > architecture. You've probably already spotted this, but this behaviour is documented in largeinstallationtweaks.html: ``Normally Nagios will fork() twice when it executes host and service checks. This is done to (1) ensure a high level of resistance against plugins that go awry and segfault and (2) make the OS deal with cleaning up the grandchild process once it exits. The extra fork() is not really necessary, so it is skipped when you enable this option. As a result, Nagios will itself clean up child processes that exit (instead of leaving that job to the OS). This feature should result in significant load savings on your Nagios installation.'' It can also be enabled separately in nagios's main config file - child_processes_fork_twice is the option to look for. Jonathan From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 07:18:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29BFB10656A8 for ; Thu, 17 Dec 2009 07:18:40 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from b.mail.ru.ac.za (b.mail.ru.ac.za [IPv6:2001:4200:1010::25:2]) by mx1.freebsd.org (Postfix) with ESMTP id 33F978FC21 for ; Thu, 17 Dec 2009 07:18:39 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ru-msa; d=ru.ac.za; h=Received:From:Organization:To:Subject:Date:User-Agent:References:In-Reply-To:X-Face:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id:X-Virus-Scanned:X-Authenticated-User; b=TLbYLvs4A/EywfB4SRJVZfAn6NQ7bcm+m1gViZhu/n3AaTdVxTRyVdNrTmWFsKY6cqzHp1HcWmlpESFEnbouxfoB8J4pVSHQaLgw+bHPRTwaHVTXS63Xe05wOcN4a3/X; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:62640) by b.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NLAdA-000MKB-BM for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 09:18:36 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Thu, 17 Dec 2009 09:18:36 +0200 User-Agent: KMail/1.9.10 References: In-Reply-To: X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: b.mail.ru.ac.za (2001:4200:1010::25:2) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Subject: Re: black hole test X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 07:18:40 -0000 On Wednesday 16 December 2009 22:05:06 Peter Wemm wrote: > Daignostic message to trace mailing list processing, please ignore. You have heard of freebsd-test@ , haven't you? From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 07:58:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6B21106568B for ; Thu, 17 Dec 2009 07:58: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 295F08FC16 for ; Thu, 17 Dec 2009 07:58:27 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nBH7wK1m035430; Thu, 17 Dec 2009 07:58:23 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nBH7wK1m035430 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1261036703; bh=OjHXTt+/lecCzuHcagQvw9QGyn1Dlwb0ZBhOM6yibnQ=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B29E495.7030502@infracaninophile.co.uk>|Date:=20T hu,=2017=20Dec=202009=2007:58:13=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20Ian=20Fitzgerald=20|CC:=20fr eebsd-questions@freebsd.org|Subject:=20Re:=20Re-compiling=20PHP=20 changes=20server=20responsiveness|References:=20<4B2851DF.1090107@ ozemail.com.au>|In-Reply-To:=20<4B2851DF.1090107@ozemail.com.au>|X -Enigmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B=20 micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signatu re"=3B=0D=0A=20boundary=3D"------------enigE798D157A21024E53933496 2"; b=yfKqqJTm8Dl2Eu9DSzm/F4Aqji0IdVj+Zwhx6rWsH1R08ozReIMDm4c62vAqegLl1 ZPercQhwZp24Bnm847Xmqj8c8MTjAyIpGJDJfiSoaf67SK1Xp7uBcU1Yb/NzTFyi2u GbQU+vH6sk2fIpquTZt1Ajkje+duR3wybPGJN7Tc= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B29E495.7030502@infracaninophile.co.uk> Date: Thu, 17 Dec 2009 07:58:13 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Ian Fitzgerald References: <4B2851DF.1090107@ozemail.com.au> In-Reply-To: <4B2851DF.1090107@ozemail.com.au> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigE798D157A21024E539334962" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Re-compiling PHP changes server responsiveness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 07:58:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE798D157A21024E539334962 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Ian Fitzgerald wrote: > Recently upgraded (fresh install) FBSD 8, including MySql, Apache22,=20 > phpMyAdmin, KDE4 Gnome2.26 from DVD iso. > Running ok as test server, but unusual error from added, complex CMS=20 > prompted me to re-install PHP5 and PHP5-extensions as pkg_add -r (using= =20 > ports files from iso), then with no success, compiling them (using port= s=20 > files from iso), with slightly different make config. >=20 > Now server does not respond, either to 'localhost' request on its=20 > browser, or specific address request from another machine on local netw= ork. >=20 > I assume re-compiling PHP would not clobber hosts or resolv.conf (they = > look ok). >=20 > I get: "[warn] (2)No such file or directory: Failed to enable the=20 > 'httpready' Accept Filter, and no new errors in=20 > /var/log/httpd-error.log" four times >=20 > Tried adding accf_http=3D"YES" to /boot/loader.conf, and re-booting of = > course. This is just a warning message and doesn't stop apache working or not. E= nabling accf_http should give you a bit of a performance boost under heavy load a= nd help you withstand certain types of DoS attack, but it's not required. > Tried refreshing ports (inital re-compile attempt failed with make=20 > complaining that postgres-client had been marked invalid - when will=20 > someone fixit?), and re-compiling apache22 =3D> no change. >=20 > ps -auxc: no httpd. >=20 > FF3 under Gnome on the machine fetches external pages, of course (using= =20 > router DNS). >=20 > What else should I look at? >=20 Try restarting httpd from the command line: /usr/local/etc/rc.d/apache22 = restart This will run a configtest and then try and start up apache. Then check that apache is still running: /usr/local/etc/rc.d/apache22 status If apache has mysteriously disappeared and there are no messages in log f= iles, then it means apache crashed during the startup process soon after daemon= ising. That's pretty diagnostic for loading a dynamic module that disagrees with= it. At a guess, and given that you've reinstalled all your php modules, I thi= nk you may be being hit by the php module load order problem. In that case, run= ning php from the command line will probably also segv on you. This is someth= ing that has had quite a lot of attention on this list, but there isn't a really g= ood solution yet, other than manually reordering the entries in /usr/local/etc/php/ext= ensions.ini Also, if you're running eAccelerator, make sure you recompile it at the s= ame time you upgrade the main lang/php5 port: eAccelerator will cause Apache to cr= ash if you try and run it against a different version of PHP than it was originally = compiled for. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigE798D157A21024E539334962 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAksp5JsACgkQ8Mjk52CukIzl6gCfaPqInXsU41hl9gE8rs+A47nl Ks8An11ibd/uFl0eOpnLot8WNsLUKeAa =sIVW -----END PGP SIGNATURE----- --------------enigE798D157A21024E539334962-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 08:03:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 191F01065676 for ; Thu, 17 Dec 2009 08:03:52 +0000 (UTC) (envelope-from ndhert@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id A5C6A8FC19 for ; Thu, 17 Dec 2009 08:03:51 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so449146eyf.9 for ; Thu, 17 Dec 2009 00:03:50 -0800 (PST) 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=C2kYT6p7MNc02sJsug7BETyYluJB5JEtej2mtObhTc8=; b=t6lOUkUurlhR/if0xZ+QUXdf5bQruyULIiZ2VSgbfbYICUV6huxKtLh4kH8xU9iMeh IKczwomZ1jEB+v+Okc67af5A9P5+0zdijM5yapJ0ot+bCG6/4HaTkffzaoIgQKozB9YA cEw5Tan/4FyyohuXiDfnxh218uc8re0ytPnjc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Lofx9Xd/PeOj8wNe/FSA+Tdne9xNrK8h/Odo509iapUb9tGP9ED3BFLRTbzM0bdopS SqC162pLej7euC9IKqu20gNzpWmGpl20F3+/kU5rP/eKbxVGyg2JCVtKDQCKeAm+GLPR +K97PT8Ne+OtRk1X0xyOt8MwVtKVt2icTdp4Y= MIME-Version: 1.0 Received: by 10.216.86.139 with SMTP id w11mr782269wee.10.1261037030748; Thu, 17 Dec 2009 00:03:50 -0800 (PST) Date: Thu, 17 Dec 2009 09:03:50 +0100 Message-ID: <8021a2660912170003t3e01f4ean396908745c411740@mail.gmail.com> 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: snapshot rsync dump/restore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 08:03:52 -0000 I want to clone a FreeBSD system on another system. Say, Mondaymorning I use the dump(8) to make dumpfiles of all filesystems (dumpofroot.dmp, dumpofvar.dmp, ...tmp.dmp, ...usr.dmp, ...home.dmp ) on an external USB disk. The original system keeps running. Then Wednesday I setup FreeBSD on the new system, and use restore(8) to put the contents of my dumpfiles in the filesystems of that clone system. Then I still need to have the changes occured during Mondaymorning till Wednesdayafternoon on the original system, to be put in some way on the clone system, so that these are not lost. I was told one could do this using rsync and by using a snapshot it would even be faster (?) Is rsync save regarding soft-links ? How exactly would one best proceed? From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 08:45:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7F6E106568F for ; Thu, 17 Dec 2009 08:45:44 +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 A390F8FC17 for ; Thu, 17 Dec 2009 08:45:44 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NLBzT-0005gp-5d for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 09:45:43 +0100 Received: from pool-68-239-68-51.res.east.verizon.net ([68.239.68.51]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 09:45:43 +0100 Received: from nightrecon by pool-68-239-68-51.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 09:45:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Thu, 17 Dec 2009 03:44:29 -0500 Lines: 15 Message-ID: References: <200912170918.36085.j.mckeown@ru.ac.za> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-68-239-68-51.res.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: black hole test X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 08:45:45 -0000 Jonathan McKeown wrote: > On Wednesday 16 December 2009 22:05:06 Peter Wemm wrote: >> Daignostic message to trace mailing list processing, please ignore. > > You have heard of freebsd-test@ , haven't you? Uhmm, he is the mail admin and this list was down; don't you think he should be able to test out the problem? Thanks Peter for fixing whatever it was... -Mike From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 08:56:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4459106566B for ; Thu, 17 Dec 2009 08:56:07 +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 C708C8FC1E for ; Thu, 17 Dec 2009 08:56:06 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nBH8u110037015; Thu, 17 Dec 2009 08:56:01 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nBH8u110037015 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1261040161; bh=l2peFQMTCznMs0NYmPhZQnQsZoFjEjrT+nkCcfB8UY8=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B29F220.1050301@infracaninophile.co.uk>|Date:=20T hu,=2017=20Dec=202009=2008:56:00=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20n=20dhert=20|CC:=20freebsd-ques tions@freebsd.org|Subject:=20Re:=20snapshot=20rsync=20dump/restore |References:=20<8021a2660912170003t3e01f4ean396908745c411740@mail. gmail.com>|In-Reply-To:=20<8021a2660912170003t3e01f4ean396908745c4 11740@mail.gmail.com>|X-Enigmail-Version:=200.95.6|Content-Type:=2 0multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D" application/pgp-signature"=3B=0D=0A=20boundary=3D"------------enig 033418E749FED86ACC873BE0"; b=Bu7ehuqdjBbSjwX9bKd2s0CermJQd/fvvqS7emyjaN1YiBMYdk15bZdj9EVuhMKtz Yll82C+Cg7Yud7PNQ1Y1cCuDnei/esdSNq3rIjXEnhLyx5nK29n5Imv+L2kbUI3QDG Nw1VESdQvAfGqcDJTzJCeFIgyNm/ESOnbjKDWBwU= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B29F220.1050301@infracaninophile.co.uk> Date: Thu, 17 Dec 2009 08:56:00 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: n dhert References: <8021a2660912170003t3e01f4ean396908745c411740@mail.gmail.com> In-Reply-To: <8021a2660912170003t3e01f4ean396908745c411740@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig033418E749FED86ACC873BE0" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: snapshot rsync dump/restore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 08:56:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig033418E749FED86ACC873BE0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable n dhert wrote: > I want to clone a FreeBSD system on another system. > Say, Mondaymorning I use the dump(8) to make dumpfiles of all filesyst= ems > (dumpofroot.dmp, dumpofvar.dmp, ...tmp.dmp, ...usr.dmp, ...home.dmp ) o= n an > external USB disk. > The original system keeps running. > Then Wednesday I setup FreeBSD on the new system, and use restore(8) to= put > the contents of my dumpfiles in the filesystems of that clone system. > Then I still need to have the changes occured during Mondaymorning till= > Wednesdayafternoon on the original system, to be put in some way on the= > clone system, so that these are not lost. > I was told one could do this using rsync and by using a snapshot it wou= ld > even be faster (?) > Is rsync save regarding soft-links ? > How exactly would one best proceed? Presumably you did a level 0 dump to make your initial copy? Did you happen to use the -u flag to dump? ie. update /etc/dumpdates? If so, then you can just do an incremental dump of everything that has changed s= ince. (This is standaard dump(1) functionality). So long as the filesystems on= the second machine haven't changed in the meantime, you should be able to= =20 just restore the incremental dump on top of the original full backup to get things pretty much in synch. (Although watch out for files that were deleted between the full and the incremental dumps). If you didn't update /etc/dumpdates, then you can manually edit /etc/dump= dates to achieve the same result. Failing that, yes, you can use rsync to synchronise the filesystem state.= You don't have to snapshot the original system, but it will help to get y= ou a consistent point-in-time copy of the original server. To create a snap= shotted and mounted directory tree see the section on 'snapshot' in mount(8). If you have several filesystems to rsync to the other machine, you should= snapshot all of them and mount them one over the other in the same relati= on as the original filesystems. Then you can rsynch the whole snapshotted dire= ctory tree to your new server in one command. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig033418E749FED86ACC873BE0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAksp8iEACgkQ8Mjk52CukIwO6QCdEerMALNhg0/2a9ljBjt0zNUV KgcAnjIRLmspAXpngXVYYHFvruzpNYfB =RIqp -----END PGP SIGNATURE----- --------------enig033418E749FED86ACC873BE0-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 08:57:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF2ED10656C5 for ; Thu, 17 Dec 2009 08:57:53 +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 7BA128FC12 for ; Thu, 17 Dec 2009 08:57:53 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NLCBC-0001Ut-Ri for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 09:57:50 +0100 Received: from pool-68-239-68-51.res.east.verizon.net ([68.239.68.51]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 09:57:50 +0100 Received: from nightrecon by pool-68-239-68-51.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 09:57:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Thu, 17 Dec 2009 03:56:38 -0500 Lines: 15 Message-ID: References: <4B296E66.6030405@a1poweruser.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-68-239-68-51.res.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: is this booting info correct? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 08:57:53 -0000 Fbsd1 wrote: [snip] > > The number of hard drive primary-partitions/slices is determined by the > motherboard BIOS (Basic input output system), not the operating system. > Standard motherboard BIOS limits hard-drives to 4 main divisions > [snip] Not quite true. The only thing contained within the BIOS is an instruction to jump to sector 0 of track 0 after a successful POST. -Mike From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 09:03:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59401106568B for ; Thu, 17 Dec 2009 09:03:22 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id CA75B8FC08 for ; Thu, 17 Dec 2009 09:03:21 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id nBH93KoT089007; Thu, 17 Dec 2009 10:03:20 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id D7C47BAA7; Thu, 17 Dec 2009 10:03:19 +0100 (CET) Date: Thu, 17 Dec 2009 10:03:19 +0100 From: Roland Smith To: n dhert Message-ID: <20091217090319.GA83728@slackbox.xs4all.nl> References: <8021a2660912170003t3e01f4ean396908745c411740@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <8021a2660912170003t3e01f4ean396908745c411740@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-questions@freebsd.org Subject: Re: snapshot rsync dump/restore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 09:03:22 -0000 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 17, 2009 at 09:03:50AM +0100, n dhert wrote: > I want to clone a FreeBSD system on another system. > Say, Mondaymorning I use the dump(8) to make dumpfiles of all filesystems > (dumpofroot.dmp, dumpofvar.dmp, ...tmp.dmp, ...usr.dmp, ...home.dmp ) on = an > external USB disk. Dumping /tmp is usually not necessary. > The original system keeps running. > Then Wednesday I setup FreeBSD on the new system, and use restore(8) to p= ut > the contents of my dumpfiles in the filesystems of that clone system. If the new system has different hardware, do not forget to adjust /boot/loader.conf, or build a custom kernel. And you should definitely edit /etc/rc.conf if even for the hostname. > Then I still need to have the changes occured during Mondaymorning till > Wednesdayafternoon on the original system, to be put in some way on the > clone system, so that these are not lost. > How exactly would one best proceed? I would recommend rsync. > Is rsync save regarding soft-links ? Yes, if you use the '-a' flag. 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) --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksp89cACgkQEnfvsMMhpyU/DACaAwFNQpcRCK51I3BaMvCJs/S+ 8MsAn3dnhSfJrU4bQEtCRZpXNhleYLqV =mU2f -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 10:03:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 604AD1065672 for ; Thu, 17 Dec 2009 10:03:57 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out8.libero.it (cp-out8.libero.it [212.52.84.108]) by mx1.freebsd.org (Postfix) with ESMTP id DF51F8FC13 for ; Thu, 17 Dec 2009 10:03:56 +0000 (UTC) Received: from soth.ventu (151.51.164.240) by cp-out8.libero.it (8.5.107) id 4B270C4F0055949B for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 11:03:55 +0100 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.3/8.14.2) with ESMTP id nBHA3nIu018250 for ; Thu, 17 Dec 2009 11:03:50 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <4B2A0205.4000106@netfence.it> Date: Thu, 17 Dec 2009 11:03:49 +0100 From: Andrea Venturoli User-Agent: Thunderbird 2.0.0.23 (X11/20090828) MIME-Version: 1.0 To: FreeBSD Mailing List References: <20091215145806.GA9467@thought.org> <4B294BEB.2000703@otenet.gr> <20091216223948.GA14858@thought.org> In-Reply-To: <20091216223948.GA14858@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: APC Smartups 1500va sua1500 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 10:03:57 -0000 Gary Kline ha scritto: > Okay, well, very-soon, I'll need to plug in my watt-meter to > see how much juice my server, firewall, and maybe one desktop > take. Guessing is less than 500w. Is there a tutorial for > newbie on how to use this beast? > > Optimally, I would like the UPS to run for a few minutes, then > instruct that things be "shutdown -h 120" (say). That is easy > to write; difficult to program. Just use apcupsd. bye av. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 10:31:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F12DE106566C for ; Thu, 17 Dec 2009 10:31:33 +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 819428FC19 for ; Thu, 17 Dec 2009 10:31:33 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NLDdq-0000yu-UZ for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 11:31:30 +0100 Received: from pool-68-239-68-51.res.east.verizon.net ([68.239.68.51]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 11:31:30 +0100 Received: from nightrecon by pool-68-239-68-51.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 11:31:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Thu, 17 Dec 2009 05:30:16 -0500 Lines: 87 Message-ID: References: <4B2851DF.1090107@ozemail.com.au> <4B29E495.7030502@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-68-239-68-51.res.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: Re-compiling PHP changes server responsiveness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 10:31:34 -0000 Matthew Seaman wrote: [snip] >> I get: "[warn] (2)No such file or directory: Failed to enable the >> 'httpready' Accept Filter, and no new errors in >> /var/log/httpd-error.log" four times >> >> Tried adding accf_http="YES" to /boot/loader.conf, and re-booting of >> course. > > This is just a warning message and doesn't stop apache working or not. > Enabling accf_http should give you a bit of a performance boost under > heavy load and help you withstand certain types of DoS attack, but it's > not required. > I found I needed both accf_data_load="YES" and accf_http_load="YES", but I am also running SSL too. I've also noticed that I tend to not receive this error when Apache starts after a fresh system boot. Have never tried to examine it further as I don't reboot or restart Apache very often. It just seemed happier when I added the http_load into the mix and only spews the error at non-reboot restarts. [snip] >> What else should I look at? >> > > Try restarting httpd from the command line: /usr/local/etc/rc.d/apache22 > restart > > This will run a configtest and then try and start up apache. Then check > that apache is still running: /usr/local/etc/rc.d/apache22 status > > If apache has mysteriously disappeared and there are no messages in log > files, then it means apache crashed during the startup process soon after > daemonising. That's pretty diagnostic for loading a dynamic module that > disagrees with it. > > At a guess, and given that you've reinstalled all your php modules, I > think you > may be being hit by the php module load order problem. In that case, > running > php from the command line will probably also segv on you. This is > something that has had quite a lot of attention on this list, but there > isn't a really good solution yet, other than manually reordering the > entries in /usr/local/etc/php/extensions.ini > > Also, if you're running eAccelerator, make sure you recompile it at the > same time you upgrade the main lang/php5 port: eAccelerator will cause > Apache to crash if you try and run it against a different version of PHP > than it was originally compiled for. > The same would apply whether it was xcache or the Zendoptimizer. The way to pin the problem down is to rename extensions.ini temporarily to extensions.ini.bak and comment out the #LoadModule php5_module libexec/apache22/libphp5.so line temporarily. Start/restart Apache and if it works OK with serving static content it confirms the problem is PHP. Then add the Loadmodule line again in httpd.conf and restart. If it restarts with no errors and again serves static pages fine the PHP module itself is OK. Trying to run something like a CMS will still be error prone as the various modules it needs aren't being loaded and found, as the extensions.ini file is still renamed. Note that if Apache is happy with mod_php while extensions.ini is still renamed it also confirms no major flaw in the php.ini file. If Apache runs fine with the mod_php module then the trouble is in the extensions. Rename the extensions.ini back to it's original state. There is a script that may be run to realize a close approximation of the extension loading order problem: fixphpextorder.sh which can be found here: http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround That is a stab at the reordering problem, but in my case was not enough to completely solve my problem. I also had to comment out extension=mhash.so with a ";". This was arrived at by commenting out line by line one at a time until I hit the one causing the breakage. This particular extension has been problematic for me for some time now. Some upgrades it works and for some it is broken. Remember that each change made requires an apachectl restart. -Mike From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 12:12:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C071106566B for ; Thu, 17 Dec 2009 12:12:20 +0000 (UTC) (envelope-from robin@reportlab.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 1C1E18FC12 for ; Thu, 17 Dec 2009 12:12:19 +0000 (UTC) Received: by ewy26 with SMTP id 26so1153910ewy.3 for ; Thu, 17 Dec 2009 04:12:19 -0800 (PST) Received: by 10.213.51.10 with SMTP id b10mr2702674ebg.74.1261051938977; Thu, 17 Dec 2009 04:12:18 -0800 (PST) Received: from ?192.168.0.3? ([82.44.127.245]) by mx.google.com with ESMTPS id 23sm3120362eya.11.2009.12.17.04.12.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 17 Dec 2009 04:12:18 -0800 (PST) Message-ID: <4B2A2023.5050607@chamonix.reportlab.co.uk> Date: Thu, 17 Dec 2009 12:12:19 +0000 From: Robin Becker User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: binary package dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 12:12:20 -0000 I would like to know how to use self compiled ports made with make install together with the packages which can be downloaded with pkg_add -r .... I'm in the process of upgrading an old freebsd 6.0 server to 8.0 and have decided to try and use apache22. For various reasons I built the apache22 server using ports (mainly to force usage of a particular BSDB). Then added subversion also using ports. After setting up the new apache to act as an svn source and getting that working I decided to add viewvc. Rather stupidly I used pkg_add -r viewvc which seemed to work. However, my apache setup stopped working. After much faffing about I learned that the pkg_add -r viewvc had also installed another version of apache (a 2.0 version). All my apachectl commands were directed at the 2.0 version and my edits to the httpd.conf were bing entirely ignored. Somehow I had naively assumed that apache20 and apache22 were incompatible and could not simultaneously be installed. Did the binary package load ignore all conflicts? What's the proper way to approach these issues. Looking in the apache20 Makefile I see it conflicts with earlier apache, but how can it conflict with a later one? -- Robin Becker From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 12:14:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C4BB106566B for ; Thu, 17 Dec 2009 12:14:13 +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 181A98FC15 for ; Thu, 17 Dec 2009 12:14:12 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NLFEZ-0007rn-A1 for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 13:13:31 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 13:13:31 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 13:13:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 17 Dec 2009 13:13:20 +0100 Lines: 6 Message-ID: References: <8021a2660912170003t3e01f4ean396908745c411740@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20091210) In-Reply-To: <8021a2660912170003t3e01f4ean396908745c411740@mail.gmail.com> Sender: news Subject: Re: snapshot rsync dump/restore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 12:14:13 -0000 n dhert wrote: > I was told one could do this using rsync and by using a snapshot it would > even be faster (?) Also try http://rdiff-backup.nongnu.org/ From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 13:21:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 078B2106566B for ; Thu, 17 Dec 2009 13:21:05 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 977CF8FC16 for ; Thu, 17 Dec 2009 13:21:04 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.ose.nl for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 14:10:59 +0100 Message-ID: <4B2A2DE1.6050908@ose.nl> Date: Thu, 17 Dec 2009 14:10:57 +0100 From: Bas Smeelen User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: kernel: g_vfs_done error = 5 and initiate_write_inodeblock_ufs2: already started (panic) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 13:21:05 -0000 Hi=2C We have a FreeBSD 7=2E2 Release amd64 running at a customers site in a vmware esx 3=2E5 environment with a san=2E This server is sometimes throwing errors and sometimes panicing or locking up in ways I have not seen before=2E I would say this has something to do with a failing disk=2C but this is a= virtual disk so I=27m a little bit puzzled=2E I have suggested to the vmware administrator that this could be something within their environment=2C but they cannot find anything=2E Has someone seen these errors before and maybe have a suggestion how to find out what the culprit is=3F Dec 1 01=3A58=3A25 tnras166 kernel=3A g=5Fvfs=5Fdone=28=29=3Ada0s1e=5BWRITE=28offset=3D4045619200=2C length=3D163= 84=29=5Derror =3D 5 Dec 1 01=3A58=3A25 tnras166 kernel=3A g=5Fvfs=5Fdone=28=29=3Ada0s1e=5BWRITE=28offset=3D6742622208=2C length=3D163= 84=29=5Derror =3D 5 Dec 1 01=3A58=3A26 tnras166 kernel=3A g=5Fvfs=5Fdone=28=29=3Ada0s1f=5BWRITE=28offset=3D15796846592=2C length=3D16= 384=29=5Derror =3D 5 I have been running FreeBSD for a long time on real hardware and in vmware environments=2C but never encountered these type of errors before=2E= There is no filesystem corruption after these messages or after the panic mentioned in the subject=2E This situation is now happening approximately once every six weeks=2E Thanks in advance=2E DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only If you have received it by mistake please let us know by reply and then del= ete it from your system=3B Access=2C disclosure=2C copying=2C distribution or reliance on any of it by= anyone else is prohibited=2E If you as intended recipient have received this e-mail incorrectly=2C pleas= e notify the sender =28via e-mail=29=2E From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 13:43:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 135391065670 for ; Thu, 17 Dec 2009 13:43:49 +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 980518FC13 for ; Thu, 17 Dec 2009 13:43:48 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NLGdv-0006wA-22 for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 14:43:47 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 14:43:47 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 14:43:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 17 Dec 2009 14:43:26 +0100 Lines: 40 Message-ID: References: <4B2A2DE1.6050908@ose.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20091210) In-Reply-To: <4B2A2DE1.6050908@ose.nl> Sender: news Subject: Re: kernel: g_vfs_done error = 5 and initiate_write_inodeblock_ufs2: already started (panic) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 13:43:49 -0000 Bas Smeelen wrote: > Hi, > > We have a FreeBSD 7.2 Release amd64 running at a customers site in a > vmware esx 3.5 environment with a san. > This server is sometimes throwing errors and sometimes panicing or > locking up in ways I have not seen before. > I would say this has something to do with a failing disk, but this is a > virtual disk so I'm a little bit puzzled. > I have suggested to the vmware administrator that this could be > something within their environment, but they cannot find anything. > > Has someone seen these errors before and maybe have a suggestion how to > find out what the culprit is? > > Dec 1 01:58:25 tnras166 kernel: > g_vfs_done():da0s1e[WRITE(offset=4045619200, length=16384)]error = 5 > Dec 1 01:58:25 tnras166 kernel: > g_vfs_done():da0s1e[WRITE(offset=6742622208, length=16384)]error = 5 > Dec 1 01:58:26 tnras166 kernel: > g_vfs_done():da0s1f[WRITE(offset=15796846592, length=16384)]error = 5 > > > I have been running FreeBSD for a long time on real hardware and in > vmware environments, but never encountered these type of errors before. > There is no filesystem corruption after these messages or after the > panic mentioned in the subject. This situation is now happening > approximately once every six weeks. I have a number of FreeBSD systems running under various versions of VMWare products (ESX, ESXi, Server) and can tell you that this is almost certainly a problem on the host side. It can happen if the SAN is timeouting, for example if it's doing disk scrubbing too diligently, etc. or the FC connections are problematic. Try to get the vmware admin to look at the logs more closely both on the host and on other machines hosted on the same VMWare instance or the same SAN. Btw. which SAN product is it? From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:09:20 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F605106566B for ; Thu, 17 Dec 2009 14:09:20 +0000 (UTC) (envelope-from s.kachelmann@googlemail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id CC3158FC0A for ; Thu, 17 Dec 2009 14:09:19 +0000 (UTC) Received: by fxm27 with SMTP id 27so1943234fxm.3 for ; Thu, 17 Dec 2009 06:09:18 -0800 (PST) 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=/XDQZQm2SmmfmOCUXo12U7/Qbb0GYdeLPmtnwXOVR4U=; b=Zgvlj4u7tDr97GKLuJf0INm2rKFwqmWF38n96NCT3Xk5Q6c+ExJV6LDn3/RLOeH4cc iqqhrU51HSyGQF7j5d8uE7cEM0+vODlXqy6dIuzKIi+PDSe2WDrq31JJXeK8y3Okg4rg WzJzHZrW8vpzRZ+iZQCrw0LzFshCUPrGa5h9o= 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=Rx0RAs9injmixyoplaklDsCBkQ1M9yYdaqTjevLi5qeMlfYPtFOniJWw2XUF7uAFqa nM5gEG3Y5sKgy8Y93tLB+bdF1JoB93HBoWYZCPmjX4/8xKfijrfnL3GBJtFct5QtZaG9 zW0AUYlqhkDiTZpvvaE2W1E9TflfFJp60uyUQ= MIME-Version: 1.0 Received: by 10.239.143.214 with SMTP id l22mr269866hba.167.1261058958633; Thu, 17 Dec 2009 06:09:18 -0800 (PST) In-Reply-To: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> Date: Thu, 17 Dec 2009 15:09:18 +0100 Message-ID: <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> From: Sandra Kachelmann To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: ifdown/ifup under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 14:09:20 -0000 Under RedHat Linux I can configure an interface, routes and so on in /etc/sysconfig/network-scripts/ifcfg-eth1, /etc/sysconfig/network-scripts/routes-eth1 then simply run: $ ifup eth1 and it will set all the routes/netconfig/aliases I just configured. Is there something similar in FreeBSD? I tried configuring aliases in /etc/rc.conf and running: $ /etc/rc.d/netif restart but that just ended in errors that the route was already configured and so on. Sure I could do all the work manually with ifconfig and route but that's not my question. Sandra From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:10:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BCD3106568B for ; Thu, 17 Dec 2009 14:10:32 +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 37A468FC1D for ; Thu, 17 Dec 2009 14:10:32 +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 nBCIFUCj012519; Sat, 12 Dec 2009 10:15:33 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 12 Dec 2009 10:15:35 -0800 (PST) Date: Sat, 12 Dec 2009 10:15:30 -0800 From: Gary Kline To: Glen Barber Message-ID: <20091212181530.GA4431@thought.org> References: <20091212040344.GA1939@thought.org> <4ad871310912120340x16b64691o3802510dfaf715c2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4ad871310912120340x16b64691o3802510dfaf715c2@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: FreeBSD Mailing List Subject: Re: "unable to connect to host".... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 14:10:32 -0000 On Sat, Dec 12, 2009 at 06:40:53AM -0500, Glen Barber wrote: > Hi Gary > > On Fri, Dec 11, 2009 at 11:03 PM, Gary Kline wrote: > > > >        Regarding the sage of the migration to a new server, I thought > >        things were working when I went to bed.  Turns out this was > >        only because I had the old server going too.  (I did some edit > >        on my new web server but the chances didn't show up.  Only the > >        old server was replying.) > > > >        Now, using lynx, I get the err that it 'Can't connect to > >        host'.    The new server is 10.47.0.230, but dig is still > >        seeing my old server, 10.47.0.240. > > > >        Any ideas why lynx cannot connect outside the server itself?? > > Have a look in /etc/hosts (and /etc/resolv.conf to be save) for > explicit entries. > /etc/resolv.conf looks exactly right; it has what my old server had but altered for my new serve--name and IP. gary PS: Others on my net cannot get out either, so I'm grateful at mail works!! It is trurly my lifeline to everyone, everything.... > > -- > Glen Barber > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:12:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD979106568D for ; Thu, 17 Dec 2009 14:12:52 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 458518FC1D for ; Thu, 17 Dec 2009 14:12:52 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.ose.nl for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 15:12:50 +0100 Message-ID: <4B2A3C60.7050003@ose.nl> Date: Thu, 17 Dec 2009 15:12:48 +0100 From: Bas Smeelen User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B2A2DE1.6050908@ose.nl> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: kernel: g_vfs_done error = 5 and initiate_write_inodeblock_ufs2: already started (panic) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 14:12:52 -0000 Ivan Voras wrote=3A =3E Bas Smeelen wrote=3A =3E=3E Hi=2C =3E=3E =3E=3E We have a FreeBSD 7=2E2 Release amd64 running at a customers site in= a =3E=3E vmware esx 3=2E5 environment with a san=2E =3E=3E This server is sometimes throwing errors and sometimes panicing or= =3E=3E locking up in ways I have not seen before=2E =3E=3E I would say this has something to do with a failing disk=2C but this= is a =3E=3E virtual disk so I=27m a little bit puzzled=2E =3E=3E I have suggested to the vmware administrator that this could be =3E=3E something within their environment=2C but they cannot find anything= =2E =3E=3E =3E=3E Has someone seen these errors before and maybe have a suggestion how= to =3E=3E find out what the culprit is=3F =3E=3E =3E=3E Dec 1 01=3A58=3A25 tnras166 kernel=3A =3E=3E g=5Fvfs=5Fdone=28=29=3Ada0s1e=5BWRITE=28offset=3D4045619200=2C lengt= h=3D16384=29=5Derror =3D 5 =3E=3E Dec 1 01=3A58=3A25 tnras166 kernel=3A =3E=3E g=5Fvfs=5Fdone=28=29=3Ada0s1e=5BWRITE=28offset=3D6742622208=2C lengt= h=3D16384=29=5Derror =3D 5 =3E=3E Dec 1 01=3A58=3A26 tnras166 kernel=3A =3E=3E g=5Fvfs=5Fdone=28=29=3Ada0s1f=5BWRITE=28offset=3D15796846592=2C leng= th=3D16384=29=5Derror =3D 5 =3E=3E =3E=3E =3E=3E I have been running FreeBSD for a long time on real hardware and in= =3E=3E vmware environments=2C but never encountered these type of errors be= fore=2E =3E=3E There is no filesystem corruption after these messages or after the= =3E=3E panic mentioned in the subject=2E This situation is now happening =3E=3E approximately once every six weeks=2E =3E =3E I have a number of FreeBSD systems running under various versions of =3E VMWare products =28ESX=2C ESXi=2C Server=29 and can tell you that this= is =3E almost certainly a problem on the host side=2E =3E =3E It can happen if the SAN is timeouting=2C for example if it=27s doing d= isk =3E scrubbing too diligently=2C etc=2E or the FC connections are problemati= c=2E =3E Try to get the vmware admin to look at the logs more closely both on =3E the host and on other machines hosted on the same VMWare instance or =3E the same SAN=2E =3E =3E Btw=2E which SAN product is it=3F Hi thanks for the fast response=2E I think this is a Dell/EMC san attached to two Dell PowerEdge =282950=29 servers=2E So basically it would be advisable to recommend to look in the vmkernel and san logs around the same timestamps as I see this happening in the FreeBSD guest=3F DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only If you have received it by mistake please let us know by reply and then del= ete it from your system=3B Access=2C disclosure=2C copying=2C distribution or reliance on any of it by= anyone else is prohibited=2E If you as intended recipient have received this e-mail incorrectly=2C pleas= e notify the sender =28via e-mail=29=2E From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:14:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A9BE1065676 for ; Thu, 17 Dec 2009 14:14: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 15EAE8FC19 for ; Thu, 17 Dec 2009 14:14:05 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NLH7E-0004Qd-23 for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 15:14:04 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 15:14:04 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 15:14:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 17 Dec 2009 15:13:39 +0100 Lines: 10 Message-ID: References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20091210) In-Reply-To: <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> Sender: news Subject: Re: ifdown/ifup under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 14:14:06 -0000 Sandra Kachelmann wrote: > $ /etc/rc.d/netif restart > > but that just ended in errors that the route was already configured > and so on. Sure I could do all the work manually with ifconfig and > route but that's not my question. Maybe you also need "/etc/rc.d/routing restart"? From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:17:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5ECBB1065670 for ; Thu, 17 Dec 2009 14:17:11 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id EC50B8FC15 for ; Thu, 17 Dec 2009 14:17:10 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.ose.nl for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 15:17:08 +0100 Message-ID: <4B2A3D63.1080804@ose.nl> Date: Thu, 17 Dec 2009 15:17:07 +0100 From: Bas Smeelen User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> In-Reply-To: <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: ifdown/ifup under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 14:17:11 -0000 Sandra Kachelmann wrote=3A =3E Under RedHat Linux I can configure an interface=2C routes and so on in= =3E /etc/sysconfig/network-scripts/ifcfg-eth1=2C =3E /etc/sysconfig/network-scripts/routes-eth1 then simply run=3A =3E =3E =24 ifup eth1 =3E =3E and it will set all the routes/netconfig/aliases I just configured=2E= =3E =3E Is there something similar in FreeBSD=3F =3E =3E I tried configuring aliases in /etc/rc=2Econf and running=3A =3E =3E =24 /etc/rc=2Ed/netif restart =3E =3E but that just ended in errors that the route was already configured =3E and so on=2E Sure I could do all the work manually with ifconfig and =3E route but that=27s not my question=2E =3E =20 Usually I do this from remote with /etc/rc=2Ed/netif restart =26=26 /etc/rc=2Ed/routing restart =26 Maybe you are not root =28because of the =24 prompt=29=3F =23/etc/rc=2Ed/netif restart =26=26 /etc/rc=2Ed/routing restart =26 This always works for me DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only If you have received it by mistake please let us know by reply and then del= ete it from your system=3B Access=2C disclosure=2C copying=2C distribution or reliance on any of it by= anyone else is prohibited=2E If you as intended recipient have received this e-mail incorrectly=2C pleas= e notify the sender =28via e-mail=29=2E From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:18:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA2DF10656B1 for ; Thu, 17 Dec 2009 14:18:16 +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 722928FC14 for ; Thu, 17 Dec 2009 14:18:16 +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 nBHEIAAm074138 for ; Thu, 17 Dec 2009 08:18:10 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200912171418.nBHEIAAm074138@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <74136.1261059490.1@dc.cis.okstate.edu> Date: Thu, 17 Dec 2009 08:18:10 -0600 From: Martin McCormick Subject: Re: sed -f Script Syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 14:18:16 -0000 My main problem turned out to be that I had -E and -e confused. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:19:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33A5B106568B for ; Thu, 17 Dec 2009 14:19:17 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id C3A928FC1F for ; Thu, 17 Dec 2009 14:19:16 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.ose.nl for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 15:19:14 +0100 Message-ID: <4B2A3DE1.8080809@ose.nl> Date: Thu, 17 Dec 2009 15:19:13 +0100 From: Bas Smeelen User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> <4B2A3D63.1080804@ose.nl> In-Reply-To: <4B2A3D63.1080804@ose.nl> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: ifdown/ifup under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 14:19:17 -0000 Bas Smeelen wrote=3A =3E Sandra Kachelmann wrote=3A =3E =20 =3E=3E Under RedHat Linux I can configure an interface=2C routes and so on= in =3E=3E /etc/sysconfig/network-scripts/ifcfg-eth1=2C =3E=3E /etc/sysconfig/network-scripts/routes-eth1 then simply run=3A =3E=3E =3E=3E =24 ifup eth1 =3E=3E =3E=3E and it will set all the routes/netconfig/aliases I just configured= =2E =3E=3E =3E=3E Is there something similar in FreeBSD=3F =3E=3E =3E=3E I tried configuring aliases in /etc/rc=2Econf and running=3A =3E=3E =3E=3E =24 /etc/rc=2Ed/netif restart =3E=3E =3E=3E but that just ended in errors that the route was already configured= =3E=3E and so on=2E Sure I could do all the work manually with ifconfig and= =3E=3E route but that=27s not my question=2E =3E=3E =20 =3E=3E =20 =3E Usually I do this from remote with /etc/rc=2Ed/netif restart =26=26 =3E /etc/rc=2Ed/routing restart =26 =3E Maybe you are not root =28because of the =24 prompt=29=3F =3E =23/etc/rc=2Ed/netif restart =26=26 /etc/rc=2Ed/routing restart =26 =3E This always works for me =3E =20 Sorry=2C omit the last =26 DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only If you have received it by mistake please let us know by reply and then del= ete it from your system=3B Access=2C disclosure=2C copying=2C distribution or reliance on any of it by= anyone else is prohibited=2E If you as intended recipient have received this e-mail incorrectly=2C pleas= e notify the sender =28via e-mail=29=2E From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:19:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5FAA1065696 for ; Thu, 17 Dec 2009 14:19:43 +0000 (UTC) (envelope-from mike@geofront.co.uk) Received: from smtp-out5.blueyonder.co.uk (smtp-out5.blueyonder.co.uk [195.188.213.8]) by mx1.freebsd.org (Postfix) with ESMTP id 709568FC14 for ; Thu, 17 Dec 2009 14:19:43 +0000 (UTC) Received: from [172.23.170.141] (helo=anti-virus02-08) by smtp-out5.blueyonder.co.uk with smtp (Exim 4.52) id 1NLGW4-0005PQ-NC for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 13:35:40 +0000 Received: from [92.234.61.128] (helo=the-rubber-chicken-network.co.uk) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1NLGW0-0003hX-CG for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 13:35:36 +0000 Received: from [192.168.0.6] (unknown [192.168.0.6]) by the-rubber-chicken-network.co.uk (Postfix) with ESMTP id C8056C66998 for ; Thu, 17 Dec 2009 13:36:26 +0000 (UTC) Message-ID: <4B2A33A1.4090300@geofront.co.uk> Date: Thu, 17 Dec 2009 13:35:29 +0000 From: Mike Woods User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Free BSD Questions list References: <20091216155128.GA4758@teddy.fas.com> <20091216235311.GA71135@slackbox.xs4all.nl> In-Reply-To: <20091216235311.GA71135@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: USBserial port convertor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 14:19:43 -0000 Roland Smith wrote: > On Wed, Dec 16, 2009 at 10:51:28AM -0500, stan wrote: >> I need to support 5 RS-232 streams with my FreeBSD 7.2 machine. I just >> purchased UTS-408A-S1 8 port adapter. When I plug it in, I get the >> following in dmesg: >> >> uhub3: on >> uhub1 >> uhub3: single transaction translator >> uhub3: 4 ports with 4 removable, self powered >> ucom0: on uhub3 >> ucom1: on uhub3 > > Looks like it works. :-) the ucom(4) driver attaches. Ah, but I *think* the point he's getting at is that he only seems to have 2 ports for an 8 port adaptor! ------------------------ Mike Woods Full of squishy cynicism From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:23:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CDDC1065670 for ; Thu, 17 Dec 2009 14:23:24 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 56C5B8FC17 for ; Thu, 17 Dec 2009 14:23:24 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NLHGC-0008PL-Ul for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 15:23:20 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 15:23:20 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 15:23:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 17 Dec 2009 15:23:00 +0100 Lines: 7 Message-ID: References: <4B2A2DE1.6050908@ose.nl> <4B2A3C60.7050003@ose.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20091210) In-Reply-To: <4B2A3C60.7050003@ose.nl> Sender: news Subject: Re: kernel: g_vfs_done error = 5 and initiate_write_inodeblock_ufs2: already started (panic) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 14:23:24 -0000 Bas Smeelen wrote: > So basically it would be advisable to recommend to look in the vmkernel > and san logs around the same timestamps as I see this happening in the > FreeBSD guest? Yes, try that. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:40:32 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19AED10656A6 for ; Thu, 17 Dec 2009 14:40:32 +0000 (UTC) (envelope-from kline@ethic.thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8CE8FC15 for ; Thu, 17 Dec 2009 14:40:30 +0000 (UTC) Received: from ethic.thought.org (localhost [127.0.0.1]) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id nBCNW8xR014933 for ; Sat, 12 Dec 2009 15:32:08 -0800 (PST) (envelope-from kline@ethic.thought.org) Received: (from kline@localhost) by ethic.thought.org (8.14.3/8.14.3/Submit) id nBCNW76O014932 for freebsd-questions@FreeBSD.ORG; Sat, 12 Dec 2009 15:32:07 -0800 (PST) (envelope-from kline) Date: Sat, 12 Dec 2009 15:32:07 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20091212233205.GA14918@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Subject: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 14:40:32 -0000 ariatotle is offline; i'm exclusively on my new server. will somebody please do a digg thought.org and see if they see what i see? hope i get this..... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:47:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 111FC106568F for ; Thu, 17 Dec 2009 14:47:10 +0000 (UTC) (envelope-from naylor.b.david@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 8E3958FC1C for ; Thu, 17 Dec 2009 14:47:09 +0000 (UTC) Received: by ewy26 with SMTP id 26so1308420ewy.3 for ; Thu, 17 Dec 2009 06:47:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=qc3xZ5/zpICizvEY61mJ2RDHqn4fi6MLTjyYtdydACA=; b=ad6yVuueGrzV0rXbpBPz8a0Z/BGdoOtgX39/7uWU6buq8GLn5aPaJ3NNXAWEbKmo/n fm88ztVAbTc6inyRYqkTqiwUkWSKlAoNq2qLHdA8DwdSjyd9ys2Yga81Fda0Qocq+3Qz w3lqFu036/iWA0DwojJQR70ihHX4Dfr9J6SXQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; b=EZ7hEvOT8m0mKd2tifN9/hpC9okVvS0P8R9tzjLCSE0avGed3Fq5+G4XHI0tV0Zq7s CwcjZH9pfW0yTHz7x9KKeZDv7Fq0bTtU5GBERCABvWvWb4roStA0FLLxhSf4wd0PsENq K+oCMyWvfkG7VoTPrvs7gGA82M6uFEY2roSXo= Received: by 10.213.103.83 with SMTP id j19mr8668998ebo.31.1261061228395; Thu, 17 Dec 2009 06:47:08 -0800 (PST) Received: from dragon.dg ([41.0.54.20]) by mx.google.com with ESMTPS id 7sm3321641eyb.34.2009.12.17.06.47.06 (version=SSLv3 cipher=RC4-MD5); Thu, 17 Dec 2009 06:47:07 -0800 (PST) From: David Naylor Organization: Private To: Warren Block Date: Thu, 17 Dec 2009 16:47:14 +0200 User-Agent: KMail/1.12.3 (FreeBSD/8.0-PRERELEASE; KDE/4.3.3; amd64; ; ) References: <200912162359.44675.naylor.b.david@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1634955.gOaPWPogEd"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200912171647.17938.naylor.b.david@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Device not configured X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 14:47:10 -0000 --nextPart1634955.gOaPWPogEd Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Thursday 17 December 2009 02:56:12 Warren Block wrote: > On Wed, 16 Dec 2009, David Naylor wrote: > > I booted into single user mode (running FreeBSD 8 RC2) and did: > > > > # dd if=3D/dev/ad8 of=3D/dev/ad8 bs=3D1024k >=20 > That command copies the hard drive... over itself. What were you trying > to do? The dd manpages mentioned this might help with errors on the HDD. I'm tryi= ng=20 to eliminate problems relating to VirtualBox and DMA errors an ad8. =20 > > After waiting a few hours the command completed without problem (ad8 is > > the HDD that has FreeBSD). After that I got the following: > > > > # reboot > > reboot: device not configured > > # ls > > vnode_pager_getpages: I/O read error > > ls: device not configured >=20 > Not good. Maybe trying to swap back in from swap that was just > overwritten? No swap was active at that time > > Pressing the boxes power button results in the above vnode message to > > spam the screen. The only way to reset the system was to do a hard res= et > > (root was ro > > > > :-) ). >=20 > Did it come back up? Yes, all data is still there, as before. =20 > > Is this expected behaviour or something wrong with the HDD? >=20 > Not expected, exactly, but not surprising. The hardware should be fine. Well, no harm done. =20 Thanks for your reply --nextPart1634955.gOaPWPogEd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEABECAAYFAksqRHUACgkQUaaFgP9pFrIHTwCfdRcd6UbFp9iHuLySeh7hCQVj wmgAoIFMyFZsx8LwKuGvNgcrFWKsygKk =G7kB -----END PGP SIGNATURE----- --nextPart1634955.gOaPWPogEd-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:49:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEE821065672 for ; Thu, 17 Dec 2009 14:49:12 +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 699FF8FC1F for ; Thu, 17 Dec 2009 14:49:12 +0000 (UTC) Received: from [192.168.1.142] (unknown [192.168.1.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.criticalsoftware.com (Postfix) with ESMTP id AF7AA2285A2; Thu, 17 Dec 2009 14:49:10 +0000 (WET) Message-ID: <4B2A44E5.10804@gmail.com> Date: Thu, 17 Dec 2009 14:49: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: Bas Smeelen References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> <4B2A3D63.1080804@ose.nl> <4B2A3DE1.8080809@ose.nl> In-Reply-To: <4B2A3DE1.8080809@ose.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ifdown/ifup under FreeBSD? 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: Thu, 17 Dec 2009 14:49:13 -0000 On 17/12/2009 14:19, Bas Smeelen wrote: > Bas Smeelen wrote: >> Sandra Kachelmann wrote: >> >>> Under RedHat Linux I can configure an interface, routes and so on in >>> /etc/sysconfig/network-scripts/ifcfg-eth1, >>> /etc/sysconfig/network-scripts/routes-eth1 then simply run: >>> >>> $ ifup eth1 >>> >>> and it will set all the routes/netconfig/aliases I just configured. >>> >>> Is there something similar in FreeBSD? >>> >>> I tried configuring aliases in /etc/rc.conf and running: >>> >>> $ /etc/rc.d/netif restart >>> >>> but that just ended in errors that the route was already configured >>> and so on. Sure I could do all the work manually with ifconfig and >>> route but that's not my question. >>> >>> >> Usually I do this from remote with /etc/rc.d/netif restart&& >> /etc/rc.d/routing restart& >> Maybe you are not root (because of the $ prompt)? >> #/etc/rc.d/netif restart&& /etc/rc.d/routing restart& >> This always works for me >> > Sorry, omit the last& > > > DISCLAIMER: > This e-mail is for the intended recipient(s) only > > If you have received it by mistake please let us know by reply and then delete it from your system; > Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited. > > If you as intended recipient have received this e-mail incorrectly, please notify the sender (via e-mail). > > _______________________________________________ > 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 configuration files you're looking are /etc/resolv.conf and /etc/rc.conf. The start/stop scripts are /etc/rc.d/routing and /etc/rc.d/netif respectively. You can view then to check out what arguments they accept (restart, stop, etc). You can have a look at man resolv.conf and rc.conf man pages for more info. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:52:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 433FE106568D for ; Thu, 17 Dec 2009 14:52:23 +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 034248FC1C for ; Thu, 17 Dec 2009 14:52:22 +0000 (UTC) Received: from r55.edvax.de (port-92-195-228-22.dynamic.qsc.de [92.195.228.22]) by mx01.qsc.de (Postfix) with ESMTP id 3E5253CAB5 for ; Thu, 17 Dec 2009 15:52:21 +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 nBHEqK0A004662 for ; Thu, 17 Dec 2009 15:52:20 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 17 Dec 2009 15:52:20 +0100 From: Polytropon To: FreeBSD Questions Message-Id: <20091217155220.f7a8a798.freebsd@edvax.de> In-Reply-To: <20091212233205.GA14918@thought.org> References: <20091212233205.GA14918@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: is this getting out? 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, 17 Dec 2009 14:52:23 -0000 Gary, seems that my MX has problems with thought.org, that's why I'm repeating my reply on the list, I hope you can receive it this way. The MX said: : Host or domain name not found. Name service error for name=ethic.thought.org type=A: Host not found Content was: On Sat, 12 Dec 2009 15:32:07 -0800, Gary Kline wrote: > > ariatotle is offline; i'm exclusively on my new server. > will somebody please do a digg thought.org and see if > they see what i see? % dig thought.org ; <<>> DiG 9.4.2-P1 <<>> thought.org ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50856 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;thought.org. IN A ;; AUTHORITY SECTION: thought.org. 9551 IN SOA aristotle.thought.org. hostmaster.thought.org. 2008121902 10800 3600 604800 38400 ;; Query time: 44 msec ;; SERVER: 192.168.100.1#53(192.168.100.1) ;; WHEN: Thu Dec 17 15:47:02 2009 ;; MSG SIZE rcvd: 86 -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:56:39 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C57E1065670 for ; Thu, 17 Dec 2009 14:56:39 +0000 (UTC) (envelope-from s.kachelmann@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id D4BCB8FC17 for ; Thu, 17 Dec 2009 14:56:38 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so1166347fgg.13 for ; Thu, 17 Dec 2009 06:56:38 -0800 (PST) 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=GfEqT9ZdCptQNaFsv7DGY2O2uRgZYdAE0RteMNFtDak=; b=BowwebQam4Z4A84ZLjaBoU+evwmceWjFkqD+Wt9qI7od5Ge3qnYSR5SvM1USLRaBnK IDnx3BG7O+AzSuEoa1uQu7H5qD/m73p9B7pFvInZfZeEcJALMyMEm6vYR4H/opE8HueM J+u8V8FmQFQfXQxvcL14gjVsyFWDHaT9b3BOs= 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=jhDv7FiQFld7Z7CwGp2jFW4eGu3DtpfNEroAX9O5PYp5MBqoRpv0hJemAlW+K6SiMb 1FfBquPs7lIJjsl6n9liy5ukym+1HaZEDWjQAnNFaAtWqYo0WZ/YyYz9uuFZqqDyAnW4 9nHD3CtzYSECLEznyHRBvSIs6rgXsaarZrsLA= MIME-Version: 1.0 Received: by 10.239.163.204 with SMTP id q12mr272683hbd.39.1261061797823; Thu, 17 Dec 2009 06:56:37 -0800 (PST) In-Reply-To: <91b92520912170655u2625aeedkf83fbb220696f06d@mail.gmail.com> References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> <91b92520912170655u2625aeedkf83fbb220696f06d@mail.gmail.com> Date: Thu, 17 Dec 2009 15:56:37 +0100 Message-ID: <91b92520912170656n1ac767e4i4f51d77790f996@mail.gmail.com> From: Sandra Kachelmann To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: ifdown/ifup under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 14:56:39 -0000 On Thu, Dec 17, 2009 at 3:46 PM, Igor V. Ruzanov wrote: > |Under RedHat Linux I can configure an interface, routes and so on in > |/etc/sysconfig/network-scripts/ifcfg-eth1, > |/etc/sysconfig/network-scripts/routes-eth1 then simply run: > | > |$ ifup eth1 > | > |and it will set all the routes/netconfig/aliases I just configured. > | > |Is there something similar in FreeBSD? > | > |I tried configuring aliases in /etc/rc.conf and running: > | > |$ /etc/rc.d/netif restart > | > |but that just ended in errors that the route was already configured > |and so on. Sure I could do all the work manually with ifconfig and > |route but that's not my question. > | > Under FreeBSD (as well as under Linux) you could use Zebra (Zebra/Quagga > projects) to configure any interfaces/routing specific things. I try to avoid doing complex routing things on my servers. I leave that up to the NOC guys. They can do that on their fancy cisco switches. I want just one route per interface :-) I just wanted to add a seperate route/ip for the second interface, make it permanent by adding it to /etc/rc.conf and tell my FreeBSD to pretend it's booting up by running /etc/rc.d/netif restart. As others pointed out I forgot /etc/rc.d/route. Sandra From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:59:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A7A0106566B for ; Thu, 17 Dec 2009 14:59:40 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2001:470:1f09:679::1]) by mx1.freebsd.org (Postfix) with ESMTP id 04C698FC0C for ; Thu, 17 Dec 2009 14:59:40 +0000 (UTC) Received: from unknown (unknown [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id D316781B1; Thu, 17 Dec 2009 14:59:44 +0000 (UTC) Date: Thu, 17 Dec 2009 14:58:43 +0000 From: Bruce Cran To: Polytropon Message-ID: <20091217145843.000023ef@unknown> In-Reply-To: <20091217155220.f7a8a798.freebsd@edvax.de> References: <20091212233205.GA14918@thought.org> <20091217155220.f7a8a798.freebsd@edvax.de> X-Mailer: Claws Mail 3.7.2cvs27 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Gary Kline , FreeBSD Questions Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 14:59:40 -0000 On Thu, 17 Dec 2009 15:52:20 +0100 Polytropon wrote: > Gary, > > seems that my MX has problems with thought.org, that's why > I'm repeating my reply on the list, I hope you can receive > it this way. > > The MX said: > > : Host or domain name not found. > Name service error for > name=ethic.thought.org type=A: Host not found It looks like the server is EHLO'ing as ethic.thought.org but is actually plato.thought.org. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 15:03:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D3B01065670 for ; Thu, 17 Dec 2009 15:03:18 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.freebsd.org (Postfix) with ESMTP id 0A7628FC19 for ; Thu, 17 Dec 2009 15:03:17 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id nBHF3FtT094630; Thu, 17 Dec 2009 16:03:16 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 36DB2BA8A; Thu, 17 Dec 2009 16:03:15 +0100 (CET) Date: Thu, 17 Dec 2009 16:03:15 +0100 From: Roland Smith To: Mike Woods Message-ID: <20091217150315.GB91117@slackbox.xs4all.nl> References: <20091216155128.GA4758@teddy.fas.com> <20091216235311.GA71135@slackbox.xs4all.nl> <4B2A33A1.4090300@geofront.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rS8CxjVDS/+yyDmU" Content-Disposition: inline In-Reply-To: <4B2A33A1.4090300@geofront.co.uk> 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: Free BSD Questions list Subject: Re: USBserial port convertor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 15:03:18 -0000 --rS8CxjVDS/+yyDmU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 17, 2009 at 01:35:29PM +0000, Mike Woods wrote: > Roland Smith wrote: > > On Wed, Dec 16, 2009 at 10:51:28AM -0500, stan wrote: > >> I need to support 5 RS-232 streams with my FreeBSD 7.2 machine. I just > >> purchased UTS-408A-S1 8 port adapter. When I plug it in, I get the > >> following in dmesg: > >> > >> uhub3: on > >> uhub1 > >> uhub3: single transaction translator > >> uhub3: 4 ports with 4 removable, self powered > >> ucom0: on uhu= b3 > >> ucom1: on uhu= b3 > >=20 > > Looks like it works. :-) the ucom(4) driver attaches. >=20 > Ah, but I *think* the point he's getting at is that he only seems to=20 > have 2 ports for an 8 port adaptor! If I read ucom(4) correctly (see BUGS), it should create /dev/cuaU? and /dev/ttyU? devices, and you should use those. 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) --rS8CxjVDS/+yyDmU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksqSDMACgkQEnfvsMMhpyUFowCgha5uUH5McHcZ6ARcdKvtfHIb D30AoIZgo0tqgUPXGk2FKsPYHn8/JXtW =n2np -----END PGP SIGNATURE----- --rS8CxjVDS/+yyDmU-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 15:03:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EB851065692 for ; Thu, 17 Dec 2009 15:03:33 +0000 (UTC) (envelope-from s.kachelmann@googlemail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 32B7C8FC19 for ; Thu, 17 Dec 2009 15:03:32 +0000 (UTC) Received: by fxm27 with SMTP id 27so1990647fxm.3 for ; Thu, 17 Dec 2009 07:03:32 -0800 (PST) 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=q7VvnNVAsZ8uPbbc3XV7ddV0F5QivOOpvFkK0ezGd5k=; b=DoFkadu8l9XKCz0EHCVOvw1SNi2wbGvptVPDT3Ek1mze7fxPtjBV2Y2io2W3okiEo+ Of07QoPdnQkE4MHNos5zwHN5KxsD191ItLgY/jOYoaGbInzua1dQjVKx3vgrGuooA4QI z/oqxWGCo5IQ9+tRyvVRlZVi5Lg9DLbR9SohY= 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=rBx1r31pfhRaJ2BuECi3wuHguFUufRxhUmY6knhd0cXVst8xcN92rBsYKYaGVw7NIr otHgGgwKMtr3E2WlAp1oLsdx0GjgtNF4Y2Arg7CpUvi5X3xK+QXn6F3de8UjrUFgQkik FYEr5ORdUwUIqDvz9KJDZgPegDHuLfUq2mfIw= MIME-Version: 1.0 Received: by 10.239.179.98 with SMTP id c34mr261233hbg.17.1261060550665; Thu, 17 Dec 2009 06:35:50 -0800 (PST) In-Reply-To: <4B2A3D63.1080804@ose.nl> References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> <4B2A3D63.1080804@ose.nl> Date: Thu, 17 Dec 2009 15:35:50 +0100 Message-ID: <91b92520912170635u4c9cf0e4pdeeac95b760c8905@mail.gmail.com> From: Sandra Kachelmann To: Bas Smeelen Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: ifdown/ifup under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 15:03:33 -0000 On Thu, Dec 17, 2009 at 3:17 PM, Bas Smeelen wrote: > Sandra Kachelmann wrote: >> Under RedHat Linux I can configure an interface, routes and so on in >> /etc/sysconfig/network-scripts/ifcfg-eth1, >> /etc/sysconfig/network-scripts/routes-eth1 then simply run: >> >> $ ifup eth1 >> >> and it will set all the routes/netconfig/aliases I just configured. >> >> Is there something similar in FreeBSD? >> >> I tried configuring aliases in /etc/rc.conf and running: >> >> $ /etc/rc.d/netif restart >> >> but that just ended in errors that the route was already configured >> and so on. Sure I could do all the work manually with ifconfig and >> route but that's not my question. >> > Usually I do this from remote with /etc/rc.d/netif restart && > /etc/rc.d/routing restart & > Maybe you are not root (because of the $ prompt)? > #/etc/rc.d/netif restart && /etc/rc.d/routing restart & > This always works for me I was root but I didn't think of '/etc/rc.d/routing' also thanks to Ivan. Sandra From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 15:14:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5C9A106568D for ; Thu, 17 Dec 2009 15:14:33 +0000 (UTC) (envelope-from lconrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id ADDD78FC0C for ; Thu, 17 Dec 2009 15:14:33 +0000 (UTC) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 83694471FFE; Thu, 17 Dec 2009 16:14:34 +0100 (CET) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id DB37D3865BB; Thu, 17 Dec 2009 16:14:34 +0100 (CET) (envelope-from lconrad@Go2France.com) Date: Thu, 17 Dec 2009 16:14:27 +0100 Message-Id: <200912171614.AA580125336@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Len Conrad" X-Sender: To: , "postfix users" X-Mailer: Cc: Subject: Freebsd 7.2 port of "Postfix 2.7 Snapshot 20091209" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lconrad@Go2France.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 15:14:34 -0000 Anybody know where to get this? The fix reversing the order of black/white queries in postscreen is important for us. thanks Len From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 15:14:35 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E2371065694 for ; Thu, 17 Dec 2009 15:14:35 +0000 (UTC) (envelope-from igorr@canmos.ru) Received: from sta1.canmos.ru (sta1.canmos.ru [89.107.124.11]) by mx1.freebsd.org (Postfix) with ESMTP id E98CE8FC12 for ; Thu, 17 Dec 2009 15:14:34 +0000 (UTC) Received: from sta1.canmos.ru (sta1.canmos.ru [89.107.124.11]) by sta1.canmos.ru (Postfix) with ESMTP id 6106212723F; Thu, 17 Dec 2009 17:46:13 +0300 (MSK) Date: Thu, 17 Dec 2009 17:46:13 +0300 (MSK) From: "Igor V. Ruzanov" To: Sandra Kachelmann In-Reply-To: <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> Message-ID: References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> X-GPG-PUBLIC-KEY: 1024D/494AF6DC 2008-03-20 Igor V. Ruzanov X-GPG-FINGERPRINT: A723 B6CC 11ED A4E2 1909 C4DC 6EDE 9089 494A F6DC MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: questions@freebsd.org Subject: Re: ifdown/ifup under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 15:14:35 -0000 |Under RedHat Linux I can configure an interface, routes and so on in |/etc/sysconfig/network-scripts/ifcfg-eth1, |/etc/sysconfig/network-scripts/routes-eth1 then simply run: | |$ ifup eth1 | |and it will set all the routes/netconfig/aliases I just configured. | |Is there something similar in FreeBSD? | |I tried configuring aliases in /etc/rc.conf and running: | |$ /etc/rc.d/netif restart | |but that just ended in errors that the route was already configured |and so on. Sure I could do all the work manually with ifconfig and |route but that's not my question. | Under FreeBSD (as well as under Linux) you could use Zebra (Zebra/Quagga projects) to configure any interfaces/routing specific things. +-------------------------------------------+ ! CANMOS ISP Network ! +-------------------------------------------+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: igorr@canmos.ru ! +-------------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 15:15:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D883E106568F for ; Thu, 17 Dec 2009 15:15:46 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 91A6F8FC1E for ; Thu, 17 Dec 2009 15:15:46 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id nBHFBe64040412; Thu, 17 Dec 2009 10:11:40 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id nBHFBeko040411; Thu, 17 Dec 2009 10:11:40 -0500 (EST) (envelope-from jerrymc) Date: Thu, 17 Dec 2009 10:11:40 -0500 From: Jerry McAllister To: Polytropon Message-ID: <20091217151140.GA40367@gizmo.acns.msu.edu> References: <4B296E66.6030405@a1poweruser.com> <20091217064959.e62bfdbb.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091217064959.e62bfdbb.freebsd@edvax.de> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Questions Subject: Re: is this booting info correct? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 15:15:47 -0000 On Thu, Dec 17, 2009 at 06:49:59AM +0100, Polytropon wrote: > On Thu, 17 Dec 2009 07:33:58 +0800, Fbsd1 wrote: > > Users with Microsoft/Windows knowledge of how a hard drive is configured > > may have a terminology issue with FreeBSD. Microsoft/Windows and FreeBSD > > use the word partition to mean different (but related) things. > > > > FreeBSD and Microsoft/Windows have primary-partitions, but they call > > them different things. FreeBSD calls the Microsoft/Windows > > primary-partition a slice. > > FreeBSD's slice is a "DOS primary partition". > FreeBSD's partition is comparable (but not equal to) a "logical > volume inside a DOS extended partition". > > > The number of hard drive primary-partitions/slices is determined by the > > motherboard BIOS (Basic input output system), not the operating system. > > Standard motherboard BIOS limits hard-drives to 4 main divisions > > The limitation to 4 slices is due to DOS limitations that > are still present for legacy in the PC sector. But, the reason they are still present is that it is in BIOS. Of course, BIOS was written with old DOS in mind. Nowdays it has nothing to do with the OS. > > > Each of those are called primary-partitions in Microsoft/Windows > > terminology and slices in FreeBSD terminology. > > Yes. > > ... > > > They are > > implemented very differently and are not compatible with FreeBSD. > > I've not had problems accessing them so far. > >From FreeBSD, you can access almost anything because people in the FreeBSD community have written code to do it. > > > In > > FreeBSD the sub-divisions are called partitions. > > But only the subdivisions of a FreeBSD slice are called this > way. > Yup. And the OP is interested in FreeBSD. > > ... > > > The first physical track of the allocated space of each > > primary-partition/slice has an initial sector (512 byte block) that is > > called the boot sector. If it contains boot up code the motherboard BIOS > > considers it to be bootable. > > Yes. > No. It is the MBR that figures out if it is bootable. That is a step beyond BIOS. > > > Each physical hard drive in the PC has it's own MBR (Master Boot > > Record). The MBR is located in sector-0 of the first physical track on > > the hard drive. The standard MBR in Microsoft/Windows and FreeBSD > > defaults to booting the first primary-partition/slice allocated on the > > first hard drive cabled to the PC. > > No. The MBR usually branches to the first slice it finds that > has the bootable flag set. It doesn't have to be the first > one on the disk. Sort of. It has its own flag saying which one to boot and FreeBSD usually sets this as the last one booted. > > In case of FreeBSD, feel free to read "man boot" which gives > a good introduction to the topic. > > > > > There are MBR booting programs that you can load into the MBR on the > > first physical cabled hard drive to scan for other bootable > > primary-partitions/slices on this hard drive and any other hard drives > > cabled to the PC. It displays a menu giving you the option to choose > > which one you want to boot from. This gives you the ability to have more > > that one operating system installed on your PC at one time. > > Exact. > Not exactly. The BIOS goes down its list of boot devices which you can set and picks the first one it finds with an bootable MBR on it. loads that MBR and transfers control to it. Then the MBR controls the task of looking at its own slices for bootable ones loading one and transferring control to it. ////jerry > > -- > 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" From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 15:36:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2937B106566B for ; Thu, 17 Dec 2009 15:36:07 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id D5D838FC13 for ; Thu, 17 Dec 2009 15:36:06 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id nBHFW1k7040483; Thu, 17 Dec 2009 10:32:01 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id nBHFW1vS040482; Thu, 17 Dec 2009 10:32:01 -0500 (EST) (envelope-from jerrymc) Date: Thu, 17 Dec 2009 10:32:01 -0500 From: Jerry McAllister To: Polytropon Message-ID: <20091217153201.GA40459@gizmo.acns.msu.edu> References: <4B296E66.6030405@a1poweruser.com> <20091217064959.e62bfdbb.freebsd@edvax.de> <20091217151140.GA40367@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091217151140.GA40367@gizmo.acns.msu.edu> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Questions Subject: Re: is this booting info correct? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 15:36:07 -0000 On Thu, Dec 17, 2009 at 10:11:40AM -0500, Jerry McAllister wrote: > On Thu, Dec 17, 2009 at 06:49:59AM +0100, Polytropon wrote: > > > On Thu, 17 Dec 2009 07:33:58 +0800, Fbsd1 wrote: > > > Users with Microsoft/Windows knowledge of how a hard drive is configured > > > may have a terminology issue with FreeBSD. Microsoft/Windows and FreeBSD > > > use the word partition to mean different (but related) things. > > > > > > FreeBSD and Microsoft/Windows have primary-partitions, but they call > > > them different things. FreeBSD calls the Microsoft/Windows > > > primary-partition a slice. > > > > FreeBSD's slice is a "DOS primary partition". > > FreeBSD's partition is comparable (but not equal to) a "logical > > volume inside a DOS extended partition". > > > > > The number of hard drive primary-partitions/slices is determined by the > > > motherboard BIOS (Basic input output system), not the operating system. > > > Standard motherboard BIOS limits hard-drives to 4 main divisions > > > > The limitation to 4 slices is due to DOS limitations that > > are still present for legacy in the PC sector. > > But, the reason they are still present is that it is in BIOS. > Of course, BIOS was written with old DOS in mind. Nowdays it > has nothing to do with the OS. I may have overstated that. Even the most basic MBR (such as FreeBSD's) may be a little different from one OS to the next. The MBR chooses the slice, so it might be changeable from there. I haven't looked at that stuff in about 11 years. ////jerry > > > > Each of those are called primary-partitions in Microsoft/Windows > > > terminology and slices in FreeBSD terminology. > > > > Yes. > > > > ... > > > > > They are > > > implemented very differently and are not compatible with FreeBSD. > > > > I've not had problems accessing them so far. > > > > >From FreeBSD, you can access almost anything because people in > the FreeBSD community have written code to do it. > > > > > > In > > > FreeBSD the sub-divisions are called partitions. > > > > But only the subdivisions of a FreeBSD slice are called this > > way. > > > > Yup. And the OP is interested in FreeBSD. > > > > > ... > > > > > The first physical track of the allocated space of each > > > primary-partition/slice has an initial sector (512 byte block) that is > > > called the boot sector. If it contains boot up code the motherboard BIOS > > > considers it to be bootable. > > > > Yes. > > > > No. It is the MBR that figures out if it is bootable. That is a > step beyond BIOS. > > > > > > Each physical hard drive in the PC has it's own MBR (Master Boot > > > Record). The MBR is located in sector-0 of the first physical track on > > > the hard drive. The standard MBR in Microsoft/Windows and FreeBSD > > > defaults to booting the first primary-partition/slice allocated on the > > > first hard drive cabled to the PC. > > > > No. The MBR usually branches to the first slice it finds that > > has the bootable flag set. It doesn't have to be the first > > one on the disk. > > Sort of. It has its own flag saying which one to boot and FreeBSD > usually sets this as the last one booted. > > > > > In case of FreeBSD, feel free to read "man boot" which gives > > a good introduction to the topic. > > > > > > > > > There are MBR booting programs that you can load into the MBR on the > > > first physical cabled hard drive to scan for other bootable > > > primary-partitions/slices on this hard drive and any other hard drives > > > cabled to the PC. It displays a menu giving you the option to choose > > > which one you want to boot from. This gives you the ability to have more > > > that one operating system installed on your PC at one time. > > > > Exact. > > > > Not exactly. The BIOS goes down its list of boot devices which > you can set and picks the first one it finds with an bootable MBR > on it. loads that MBR and transfers control to it. Then the MBR > controls the task of looking at its own slices for bootable ones > loading one and transferring control to it. > > ////jerry > > > > > > -- > > 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" > _______________________________________________ > 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 Dec 17 15:39:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB65A1065670 for ; Thu, 17 Dec 2009 15:39:06 +0000 (UTC) (envelope-from jw011235@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.221.175]) by mx1.freebsd.org (Postfix) with ESMTP id 6DE668FC2E for ; Thu, 17 Dec 2009 15:39:06 +0000 (UTC) Received: by qyk5 with SMTP id 5so990508qyk.8 for ; Thu, 17 Dec 2009 07:39:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=lDkN864OqCb1VVWnWcnBFVV5aPHONj8TvvdHXiFZWjw=; b=XmPoDqt3tCkCJghu1qogejJIO1hMKac6kTbVoik5FqxL9Yv9ELo28hC6MgmdcZ8kT/ pYKhk0F9a+ToxBY2HtPqRZI+s5fkjDayHji46jfiWp72jNr4QqcihZtnH5ucElGj4Ldf 9Bz/JA+dm8l7SOOPup2nDLhpD7fv594bj964Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=vjE407XBCxtbwGPOFiJUQJWdT2wdd+6lB8cnaAXFXuqsDGwAVJl2YukeOnf40a0PfM 5XdncGPbrjn/ubt9Gjq0pOoNxDDQxs9V/3+RZpbcATz8Jc+q6qwkkg8Wi2+Q6eEIiR5y CNA6qd+l/+rimUH87QLKEbg0MpNTxKBUA/a0c= Received: by 10.224.19.41 with SMTP id y41mr1678754qaa.99.1261062637558; Thu, 17 Dec 2009 07:10:37 -0800 (PST) Received: from ?129.74.35.126? ([129.74.35.126]) by mx.google.com with ESMTPS id 6sm5750312qwd.26.2009.12.17.07.10.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 17 Dec 2009 07:10:36 -0800 (PST) In-Reply-To: <4b297603.IvFAJ3pYSFaBBpVT%davidcollins001@gmail.com> References: <7852_1261007121_4B297111_7852_776_1_70C0964126D66F458E688618E1CD008A08CCF1DA@WADPEXV0.waddell.com> <4b297603.IvFAJ3pYSFaBBpVT%davidcollins001@gmail.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: jw011235 Date: Thu, 17 Dec 2009 10:10:33 -0500 To: davidcollins001@gmail.com X-Mailer: Apple Mail (2.753.1) Cc: freebsd-questions@freebsd.org Subject: Re: Have not received emails for a few days now.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 15:39:06 -0000 I think it was a gmail issue. None of my mailing lists through gmail worked the last couple of days. On Dec 16, 2009, at 7:06 PM, David Collins wrote: > "Gary Gatten" wrote: > >> Lmao! If ur that bored lmk, I have PLENTY 4 u 2 do! > > haha, I have plenty to do... although I am tempted to swap! > >> >> ----- Original Message ----- >> From: owner-freebsd-questions@freebsd.org > questions@freebsd.org> >> To: mike.jeays@rogers.com ; freebsd- >> questions@freebsd.org >> Sent: Wed Dec 16 17:40:11 2009 >> Subject: Re: Have not received emails for a few days now.... >> >> Mike Jeays wrote: >> >>> On December 16, 2009 01:03:21 pm Diego Montalvo wrote: >>>> Is there something wrong with the freebsd-questions@freebsd.org >>>> mailing list? perhaps I got booted accidentally. >>>> >>>> Cheers! >>>> Diego >> I have had nothing for a couple of days also, I was beginning to >> wonder what to do with my spare time at work! >> >> David >> _______________________________________________ >> 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 Thu Dec 17 15:40:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 258A3106568F for ; Thu, 17 Dec 2009 15:40:47 +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 DF4478FC13 for ; Thu, 17 Dec 2009 15:40:46 +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 nBHFehkv027173 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 17 Dec 2009 09:40:43 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id nBHFehnl003249 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 17 Dec 2009 09:40:43 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id nBHFeh6C003248; Thu, 17 Dec 2009 09:40:43 -0600 (CST) (envelope-from dan) Date: Thu, 17 Dec 2009 09:40:42 -0600 From: Dan Nelson To: Yuri Message-ID: <20091217154042.GS84026@dan.emsphone.com> References: <4B2988FD.9050504@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B2988FD.9050504@rawbw.com> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on 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]); Thu, 17 Dec 2009 09:40:43 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: Can display be shared through VNC using xorg vnc module? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 15:40:47 -0000 In the last episode (Dec 16), Yuri said: > I read here: http://en.gentoo-wiki.com/wiki/X11VNC that in Gentoo xorg can > load "vnc" module and it will make it also a vnc server. But I can't find > any relevant ports in FreeBSD port tree. I only found net/x11vnc which is > a standalone program that connects to xorg server and serves as it's vnc > server. > > Does this meant that "vnc" module isn't supported on FreeBSD? Or it was > replaced by x11vnc? Try the net/vnc port instead. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 15:47:04 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 814EC10656A7 for ; Thu, 17 Dec 2009 15:47:04 +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 5A6C48FC1C for ; Thu, 17 Dec 2009 15:47:04 +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 1NLI75-000MGq-9V; Thu, 17 Dec 2009 10:18:04 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 5E63B38E11A2; Thu, 17 Dec 2009 10:17:59 -0500 (EST) Message-ID: <4B2A4BA3.10309@FreeBSD.org> Date: Thu, 17 Dec 2009 10:17:55 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Sandra Kachelmann References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> <91b92520912170655u2625aeedkf83fbb220696f06d@mail.gmail.com> <91b92520912170656n1ac767e4i4f51d77790f996@mail.gmail.com> In-Reply-To: <91b92520912170656n1ac767e4i4f51d77790f996@mail.gmail.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: questions@freebsd.org Subject: Re: ifdown/ifup under FreeBSD? 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: Thu, 17 Dec 2009 15:47:04 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sandra Kachelmann wrote: > On Thu, Dec 17, 2009 at 3:46 PM, Igor V. Ruzanov wrote: >> |Under RedHat Linux I can configure an interface, routes and so on in >> |/etc/sysconfig/network-scripts/ifcfg-eth1, >> |/etc/sysconfig/network-scripts/routes-eth1 then simply run: >> | >> |$ ifup eth1 >> | >> |and it will set all the routes/netconfig/aliases I just configured. >> | >> |Is there something similar in FreeBSD? >> | >> |I tried configuring aliases in /etc/rc.conf and running: >> | >> |$ /etc/rc.d/netif restart >> | >> |but that just ended in errors that the route was already configured >> |and so on. Sure I could do all the work manually with ifconfig and >> |route but that's not my question. >> | >> Under FreeBSD (as well as under Linux) you could use Zebra (Zebra/Quagga >> projects) to configure any interfaces/routing specific things. > > I try to avoid doing complex routing things on my servers. I leave > that up to the NOC guys. They can do that on their fancy cisco > switches. I want just one route per interface :-) > > I just wanted to add a seperate route/ip for the second interface, > make it permanent by adding it to /etc/rc.conf and tell my FreeBSD to > pretend it's booting up by running /etc/rc.d/netif restart. As others > pointed out I forgot /etc/rc.d/route. > > Sandra Hi all, I use "/etc/netstart", since it includes all of the commands listed previously, as well as others that start the DHCP client, firewall, etc. Regards, 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/ iD8DBQFLKkuj0sRouByUApARAh+yAJ9BDz1Bo+7sBvDL0zZp+tz8J3R+twCgh+jj 6O0Z/CzmMdvm6ZOhIYCED/o= =ZSP1 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 15:55:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1D4E1065697 for ; Thu, 17 Dec 2009 15:55:32 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id 7E49A8FC26 for ; Thu, 17 Dec 2009 15:55:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id BACB0170C0; Thu, 17 Dec 2009 10:32:08 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= date:date:subject:subject:mime-version:x-mailer :content-transfer-encoding:content-type:content-type:in-reply-to :from:from:message-id:references:received:received; s=aegis; t= 1261063928; bh=W4F7vm8XHdijSzFP/jT1NxsyBShys7HkCgSfuG3gsJQ=; b=G iCNhnL+QjNnppxGNO03az/jF4UbYt8rIyoxH87HNWzaZHlBCDr+qQOW+8Zuv00Ux VueezkQANiyJgYWARIoQpPvKQYrVYIZbi3yn9ooGTQeVg7pr+wIc33a/vi2TliLj E6M2wZio2+RDgfjyAjy4bQcgNG9kf+yOTp9oY4aQFU= X-Virus-Scanned: by ClamAV at spartan.hamla.org Received: from spartan.hamla.org ([127.0.0.1]) by localhost (spartan.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id d7+B+RYKtCzz; Thu, 17 Dec 2009 10:32:08 -0500 (EST) Received: from [10.23.195.115] (mobile-166-137-136-180.mycingular.net [166.137.136.180]) by spartan.hamla.org (Postfix) with ESMTPSA id A58BF1708C; Thu, 17 Dec 2009 10:32:04 -0500 (EST) References: <200912171614.AA580125336@mail.Go2France.com> Message-Id: From: Sahil Tandon To: "" In-Reply-To: <200912171614.AA580125336@mail.Go2France.com> 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: Thu, 17 Dec 2009 10:31:24 -0500 Cc: "" , postfix users Subject: Re: Freebsd 7.2 port of "Postfix 2.7 Snapshot 20091209" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 15:55:32 -0000 On Dec 17, 2009, at 10:14 AM, "Len Conrad" wrote: > Anybody know where to get this? > > The fix reversing the order of black/white queries in postscreen is > important for us. I filed a PR to update postfix-current in the tree but the committer has not yet addressed it; I am sure he will soon. In the meantime just edit the port's Makefile and update distinfo locally so you can update yourself. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 16:00:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D39451065697 for ; Thu, 17 Dec 2009 16:00:57 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 9294B8FC1F for ; Thu, 17 Dec 2009 16:00:57 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NLImb-0007YZ-UH; Thu, 17 Dec 2009 16:00:56 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NLImb-0001yb-12; Thu, 17 Dec 2009 16:00:53 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBHG0qfq013694; Thu, 17 Dec 2009 16:00:52 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBHG0qmj013693; Thu, 17 Dec 2009 16:00:52 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Thu, 17 Dec 2009 16:00:52 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org, hrs@freebsd.org Message-ID: <20091217160052.GA13662@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.4 X-Spam-Level: - Cc: Subject: port print/teTeX-base-3.0_17 - fatal errors 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, 17 Dec 2009 16:00:57 -0000 Hi, after a recent upgrade to teTeX-base-3.0_17, I get these errors on any latex (or pdftex) run. I installed the full teTeX-3.0_2 I even rebuilt all ports which depend on teTeX-base, but still get this error. Please advise anton No file just.aux. (/usr/local/share/texmf-dist/tex/latex/platex/ot4cmr.fd) (/usr/local/share/texmf-dist/tex/latex/lm/t1lmr.fd) (/usr/local/share/texmf-dist/tex/latex/graphics/color.sty (/usr/local/share/texmf-dist/tex/latex/graphics/color.cfg) (/usr/local/share/texmf-dist/tex/latex/graphics/pdftex.def (/usr/local/share/texmf-dist/tex/context/base/supp-pdf.tex (/usr/local/share/texmf-dist/tex/context/base/supp-mis.tex loading : Context Support Macros / Miscellaneous (2004.10.26) ) loading : Context Support Macros / PDF (2004.03.26) ))) (/usr/local/share/texmf-dist/tex/latex/hyperref/nameref.sty) [1 Warning: latex (file pdftex.map): cannot open font map file ] (./just.aux)kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cork-lmbx10 gsftopk: fatal: map file `psfonts_t1.map' not found. mktexpk: don't know how to create bitmap font for cork-lmbx10. kpathsea: Appending font creation commands to missfont.log. ) Warning: latex (file cork-lmbx10): Font cork-lmbx10 at 600 not found kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cork-lmr10 gsftopk: fatal: map file `psfonts_t1.map' not found. mktexpk: don't know how to create bitmap font for cork-lmr10. Warning: latex (file cork-lmr10): Font cork-lmr10 at 600 not found kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cork-lmr12 gsftopk: fatal: map file `psfonts_t1.map' not found. mktexpk: don't know how to create bitmap font for cork-lmr12. Warning: latex (file cork-lmr12): Font cork-lmr12 at 600 not found kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+120/600 --dpi 720 cork-lmr12 gsftopk: fatal: map file `psfonts_t1.map' not found. mktexpk: don't know how to create bitmap font for cork-lmr12. Warning: latex (file cork-lmr12): Font cork-lmr12 at 720 not found Output written on just.pdf (1 page, 5986 bytes). Transcript written on just.log. > -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 16:02:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACE70106568D for ; Thu, 17 Dec 2009 16:02:41 +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 1E53B8FC0C for ; Thu, 17 Dec 2009 16:02:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by oceanpt.safeport.com (8.14.2/8.14.2) with ESMTP id nBHG2dp7052794; Thu, 17 Dec 2009 11:02:40 -0500 (EST) (envelope-from doug@safeport.com) Date: Thu, 17 Dec 2009 11:02:39 -0500 (EST) From: doug@safeport.com To: Warren Block In-Reply-To: Message-ID: References: <200912131042.50936.lumiwa@gmail.com> <200912131810.38468.frank@fthieme.net> 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.0 (oceanpt.safeport.com [127.0.0.1]); Thu, 17 Dec 2009 11:02:40 -0500 (EST) Cc: freebsd-questions@freebsd.org Subject: Re: question about xorg 7.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 16:02:41 -0000 On Wed, 16 Dec 2009, Warren Block wrote: > On Wed, 16 Dec 2009, doug@safeport.com wrote: >>> >>>> All variations give me a black screen with the keyboard locked. startx, >>>> xdm and xorg all do the same. >>> >>> Does ctrl-alt-f1 switch to the console? If so, good news--it's working. >>> You need to run dbus and hal as per the Handbook page. Or disable hal, >>> also as per the Handbook page. >>> >>>> I assume this is a hardware issue and hope someone found a way around it. >>> >>> It's possible, but hard to tell. If you can post your xorg.conf and >>> Xorg.0.log, that would help. >> >> I appreciate your input. With the installation from pkg_add, the keyboard >> was locked. Power off was the only relief. > > That's why I asked about ctrl-alt-f1. If X is working even without a > keyboard driver, that should still switch to the console. > >> I tried with and without hal/dbus, I changed the Driver to ati because that >> worked in an earlier of xorg, > > What are you using for a driver now? > >> I commented out dri because I (mistakenly) thought that gave an error. >> What worked was installing xorg from the 7.2-release iso. > > Which is going back to the older version of xorg. > >> Now what I would like to do is get rid of the black background. > > See xsetroot(1). Thanks much man'ing and google did not turn that up >> I actually like twm and use it when upgrading kde. Thank you for your offer >> to review Xorg.0.log. Unfortunately the current system only keeps two >> levels. My failures were long gone before questions was restored to health. > > When you want to try it again, I think we can make it work. I appreciate the help. You mean pkg_add will get a later version of 7.4? That is what I got off the iso. Your offer is very kind. When I first moved to BSD unix and then FreeBSD my great learning jumps where getting X working. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 16:29:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1806E1065670 for ; Thu, 17 Dec 2009 16:29:57 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id C51778FC0C for ; Thu, 17 Dec 2009 16:29:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 8FBA53F33 for ; Thu, 17 Dec 2009 17:30:08 +0100 (CET) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by localhost (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EuJ83DoEL07F for ; Thu, 17 Dec 2009 17:30:08 +0100 (CET) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id 512A73F2C for ; Thu, 17 Dec 2009 17:30:08 +0100 (CET) From: bsd Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Date: Thu, 17 Dec 2009 17:29:54 +0100 Message-Id: <74692B50-D390-4CE4-9ED3-CA5B46CE8697@todoo.biz> To: Liste FreeBSD Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) Subject: incremental FTP backup program X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 16:29:57 -0000 Hello,=20 I have been provided with a 1To backup space by my hosting company=85 = unfortunately It is only accessible by FTP which does not allow me to do = the regular backup / restore I use to do using RSYNC.=20 What are the options I have in order to do the backup / restore of the = files knowing that :=20 1. I would like to have a time based backup solution (incremental with = sub-folder for daily backup so I can restore files from xxx days ago).=20= 2. I need to use ftp as a transport 3. Some of my servers have limited space so doing a local sync then FTP = will not be possible.=20 4. If possible I would like a bullet proof solution ideally "well known" = | tested and available from the port tree.=20 In fact what I would be looking for is something like "rsnapshot" but = with FTP transport / compatibility.=20 =20 Thanks for your answer(s).=20 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF P "Please consider your environmental responsibility before printing = this e-mail" From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 16:34:34 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9924106566B for ; Thu, 17 Dec 2009 16:34:34 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5E16A8FC16 for ; Thu, 17 Dec 2009 16:34:34 +0000 (UTC) Received: from delta.allbsd.org (p3177-ipbf416funabasi.chiba.ocn.ne.jp [123.225.92.177]) (authenticated bits=128) by mail.allbsd.org (8.14.3/8.14.3) with ESMTP id nBHGXwS3055629; Fri, 18 Dec 2009 01:34:09 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (alph.allbsd.org [192.168.0.10]) (authenticated bits=0) by delta.allbsd.org (8.13.4/8.13.4) with ESMTP id nBHGXoaQ074896; Fri, 18 Dec 2009 01:33:53 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Fri, 18 Dec 2009 01:33:13 +0900 (JST) Message-Id: <20091218.013313.168401828.hrs@allbsd.org> To: mexas@bristol.ac.uk From: Hiroki Sato In-Reply-To: <20091217160052.GA13662@mech-cluster241.men.bris.ac.uk> References: <20091217160052.GA13662@mech-cluster241.men.bris.ac.uk> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3rc1 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Fri_Dec_18_01_33_13_2009_921)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [133.31.130.32]); Fri, 18 Dec 2009 01:34:15 +0900 (JST) X-Spam-Status: No, score=-5.7 required=13.0 tests=AWL,BAYES_00, CONTENT_TYPE_PRESENT, SPF_SOFTFAIL, X_MAILER_PRESENT autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gatekeeper.allbsd.org Cc: freebsd-questions@FreeBSD.org Subject: Re: port print/teTeX-base-3.0_17 - fatal errors 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, 17 Dec 2009 16:34:34 -0000 ----Security_Multipart(Fri_Dec_18_01_33_13_2009_921)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Anton Shterenlikht wrote in <20091217160052.GA13662@mech-cluster241.men.bris.ac.uk>: me> Hi, after a recent upgrade to teTeX-base-3.0_17, I get me> these errors on any latex (or pdftex) run. me> me> I installed the full teTeX-3.0_2 me> I even rebuilt all ports which depend on teTeX-base, me> but still get this error. Can you send me results of the following commands privately? % env % find /usr/local/share/texmf* -type f -- Hiroki ----Security_Multipart(Fri_Dec_18_01_33_13_2009_921)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAksqXUkACgkQTyzT2CeTzy3BXQCggQdAEVGPt/Q0zXWV37FIKOtI +zsAn1T92mfxyjMSKl6s2IWr2gXbhz1I =FL+j -----END PGP SIGNATURE----- ----Security_Multipart(Fri_Dec_18_01_33_13_2009_921)---- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 17:00:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8173C1065692 for ; Thu, 17 Dec 2009 17:00:34 +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 E8B358FC1E for ; Thu, 17 Dec 2009 17:00:33 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id nBHH0Q5D006192; Thu, 17 Dec 2009 18:00:26 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id nBHH0Qeh006191; Thu, 17 Dec 2009 18:00:26 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Thu, 17 Dec 2009 18:00:26 +0100 From: Ruben de Groot To: Bruce Cran Message-ID: <20091217170026.GA5902@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Bruce Cran , Polytropon , Gary Kline , FreeBSD Questions References: <20091212233205.GA14918@thought.org> <20091217155220.f7a8a798.freebsd@edvax.de> <20091217145843.000023ef@unknown> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091217145843.000023ef@unknown> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_43,URIBL_RHS_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Thu, 17 Dec 2009 18:00:30 +0100 (CET) Cc: Gary Kline , Polytropon , FreeBSD Questions Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 17:00:34 -0000 DNS config is flaud: # host thought.org thought.org mail is handled by 10 aristotle.thought.org. # host aristotle.thought.org Host aristotle.thought.org not found: 3(NXDOMAIN) Ruben On Thu, Dec 17, 2009 at 02:58:43PM +0000, Bruce Cran typed: > On Thu, 17 Dec 2009 15:52:20 +0100 > Polytropon wrote: > > > Gary, > > > > seems that my MX has problems with thought.org, that's why > > I'm repeating my reply on the list, I hope you can receive > > it this way. > > > > The MX said: > > > > : Host or domain name not found. > > Name service error for > > name=ethic.thought.org type=A: Host not found > > It looks like the server is EHLO'ing as ethic.thought.org but is > actually plato.thought.org. > > -- > Bruce Cran > _______________________________________________ > 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 Dec 17 17:02:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47C0C1065670 for ; Thu, 17 Dec 2009 17:02:47 +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 CAB018FC0A for ; Thu, 17 Dec 2009 17:02:46 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id nBHH2geY006293; Thu, 17 Dec 2009 18:02:42 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id nBHH2gum006292; Thu, 17 Dec 2009 18:02:42 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Thu, 17 Dec 2009 18:02:42 +0100 From: Ruben de Groot To: jw011235 Message-ID: <20091217170242.GB5902@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , jw011235 , davidcollins001@gmail.com, freebsd-questions@freebsd.org References: <7852_1261007121_4B297111_7852_776_1_70C0964126D66F458E688618E1CD008A08CCF1DA@WADPEXV0.waddell.com> <4b297603.IvFAJ3pYSFaBBpVT%davidcollins001@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Thu, 17 Dec 2009 18:02:46 +0100 (CET) Cc: freebsd-questions@freebsd.org Subject: Re: Have not received emails for a few days now.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 17:02:47 -0000 On Thu, Dec 17, 2009 at 10:10:33AM -0500, jw011235 typed: > I think it was a gmail issue. None of my mailing lists through gmail > worked the last couple of days. Think again. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 17:08:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C29BA106566B for ; Thu, 17 Dec 2009 17:08:28 +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 539388FC16 for ; Thu, 17 Dec 2009 17:08:28 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id nBHH8NhB006549; Thu, 17 Dec 2009 18:08:23 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id nBHH8NV7006548; Thu, 17 Dec 2009 18:08:23 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Thu, 17 Dec 2009 18:08:23 +0100 From: Ruben de Groot To: bsd Message-ID: <20091217170823.GC5902@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , bsd , Liste FreeBSD References: <74692B50-D390-4CE4-9ED3-CA5B46CE8697@todoo.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <74692B50-D390-4CE4-9ED3-CA5B46CE8697@todoo.biz> 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, 17 Dec 2009 18:08:27 +0100 (CET) Cc: Liste FreeBSD Subject: Re: incremental FTP backup program X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 17:08:28 -0000 On Thu, Dec 17, 2009 at 05:29:54PM +0100, bsd typed: > Hello, > > I have been provided with a 1To backup space by my hosting company? unfortunately It is only accessible by FTP which does not allow me to do the regular backup / restore I use to do using RSYNC. > > > What are the options I have in order to do the backup / restore of the files knowing that : > > 1. I would like to have a time based backup solution (incremental with sub-folder for daily backup so I can restore files from xxx days ago). > > 2. I need to use ftp as a transport > > 3. Some of my servers have limited space so doing a local sync then FTP will not be possible. > > 4. If possible I would like a bullet proof solution ideally "well known" | tested and available from the port tree. > > > In fact what I would be looking for is something like "rsnapshot" but with FTP transport / compatibility. Never tried, bet maybe sysutils/fusefs-curlftpfs will work for you. Ruben From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 17:12:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 868041065670 for ; Thu, 17 Dec 2009 17:12:00 +0000 (UTC) (envelope-from frank@shute.org.uk) Received: from atmail-10.bnguk.net (atmail-10.bnguk.net [80.74.253.10]) by mx1.freebsd.org (Postfix) with ESMTP id 4283D8FC1A for ; Thu, 17 Dec 2009 17:12:00 +0000 (UTC) Received: from 77-44-105-82.xdsl.murphx.net ([77.44.105.82] helo=orange.esperance-linux.co.uk) by atmail-10.bnguk.net with esmtp (Exim 4.69) (envelope-from ) id 1NLJtD-0002oR-MT; Thu, 17 Dec 2009 17:11:47 +0000 Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id 2BDCE4AC20; Thu, 17 Dec 2009 17:11:47 +0000 (GMT) Date: Thu, 17 Dec 2009 17:11:47 +0000 From: Frank Shute To: jw011235 Message-ID: <20091217171147.GA25051@orange.esperance-linux.co.uk> Mail-Followup-To: jw011235 , freebsd-questions@freebsd.org References: <7852_1261007121_4B297111_7852_776_1_70C0964126D66F458E688618E1CD008A08CCF1DA@WADPEXV0.waddell.com> <4b297603.IvFAJ3pYSFaBBpVT%davidcollins001@gmail.com> 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-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-p1 amd64 X-Organisation: 'shute.org.uk' Cc: freebsd-questions@freebsd.org Subject: Re: Have not received emails for a few days now.... 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: Thu, 17 Dec 2009 17:12:00 -0000 On Thu, Dec 17, 2009 at 10:10:33AM -0500, jw011235 wrote: > > I think it was a gmail issue. None of my mailing lists through gmail > worked the last couple of days. > I don't think so. I don't use gmail and I had an interruption of mail from questions@ for a few days. chat@ & stable@ were fine. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 17:12:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48F0210656D3 for ; Thu, 17 Dec 2009 17:12:09 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id B48198FC28 for ; Thu, 17 Dec 2009 17:12:08 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id nBHHC7i1024216; Thu, 17 Dec 2009 18:12:07 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 2E773BA90; Thu, 17 Dec 2009 18:12:07 +0100 (CET) Date: Thu, 17 Dec 2009 18:12:07 +0100 From: Roland Smith To: bsd Message-ID: <20091217171207.GB93764@slackbox.xs4all.nl> References: <74692B50-D390-4CE4-9ED3-CA5B46CE8697@todoo.biz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JP+T4n/bALQSJXh8" Content-Disposition: inline In-Reply-To: <74692B50-D390-4CE4-9ED3-CA5B46CE8697@todoo.biz> 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: Liste FreeBSD Subject: Re: incremental FTP backup program X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 17:12:09 -0000 --JP+T4n/bALQSJXh8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 17, 2009 at 05:29:54PM +0100, bsd wrote: > Hello,=20 >=20 > I have been provided with a 1To backup space by my hosting company=E2=80= =A6 > unfortunately It is only accessible by FTP which does not allow me to do = the > regular backup / restore I use to do using RSYNC. >=20 >=20 > What are the options I have in order to do the backup / restore of the fi= les > knowing that : >=20 > 1. I would like to have a time based backup solution (incremental with > sub-folder for daily backup so I can restore files from xxx days ago). >=20 > 2. I need to use ftp as a transport >=20 > 3. Some of my servers have limited space so doing a local sync then FTP w= ill > not be possible. >=20 > 4. If possible I would like a bullet proof solution ideally "well known" | > tested and available from the port tree. There are several avenues available even with the tools in the base system. One of those is to use dump(8), assuming you are using UFS filesystems, of course. Make regular dumps (of different levels), compress them using bzip2(1), encrypt the compressed dumpfiles using openssl(1) (do _not_ use crypt(1)!) and use ftp(1) to transfer them to the hosting company. Another way is to use mtree(8). You can use this to generate a file contain= ing the state of a filesystem hierarchy. Running it against a previously saved specification can yield a list of files that have changed. Use tar and bzip2 to create an archive of the files that have changed. Encrypt and send same = as above.=20 All these programs come with the base system, you would just need to script them. 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) --JP+T4n/bALQSJXh8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksqZmcACgkQEnfvsMMhpyX8iwCgpRC1o2aOtMj7B0SBiR13Uj6/ O2wAn1ZCw0OEQ0N80OUmdZYxujTzuDKA =sFoF -----END PGP SIGNATURE----- --JP+T4n/bALQSJXh8-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 17:17:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 368801065676 for ; Thu, 17 Dec 2009 17:17:11 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2001:470:1f09:679::1]) by mx1.freebsd.org (Postfix) with ESMTP id 00E878FC16 for ; Thu, 17 Dec 2009 17:17:11 +0000 (UTC) Received: from unknown (unknown [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id D0C1D81B1; Thu, 17 Dec 2009 17:17:15 +0000 (UTC) Date: Thu, 17 Dec 2009 17:16:14 +0000 From: Bruce Cran To: Ruben de Groot Message-ID: <20091217171614.00007d8c@unknown> In-Reply-To: <20091217170026.GA5902@ei.bzerk.org> References: <20091212233205.GA14918@thought.org> <20091217155220.f7a8a798.freebsd@edvax.de> <20091217145843.000023ef@unknown> <20091217170026.GA5902@ei.bzerk.org> X-Mailer: Claws Mail 3.7.2cvs27 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Gary Kline , Polytropon , Questions , FreeBSD Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 17:17:11 -0000 On Thu, 17 Dec 2009 18:00:26 +0100 Ruben de Groot wrote: > > DNS config is flaud: > > # host thought.org > thought.org mail is handled by 10 aristotle.thought.org. > # host aristotle.thought.org > Host aristotle.thought.org not found: 3(NXDOMAIN) It looks like DNS is still propogating? $ host aristotle.thought.org aristotle.thought.org has address 209.180.213.210 -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 17:20:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D001F106568B for ; Thu, 17 Dec 2009 17:20:18 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.freebsd.org (Postfix) with ESMTP id 60AC08FC0A for ; Thu, 17 Dec 2009 17:20:18 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id nBHHKHqJ048571 for ; Thu, 17 Dec 2009 18:20:17 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id A523FBA90; Thu, 17 Dec 2009 18:20:16 +0100 (CET) Date: Thu, 17 Dec 2009 18:20:16 +0100 From: Roland Smith To: FreeBSD Questions Message-ID: <20091217172016.GC93764@slackbox.xs4all.nl> References: <20091212233205.GA14918@thought.org> <20091217155220.f7a8a798.freebsd@edvax.de> <20091217145843.000023ef@unknown> <20091217170026.GA5902@ei.bzerk.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bu8it7iiRSEf40bY" Content-Disposition: inline In-Reply-To: <20091217170026.GA5902@ei.bzerk.org> 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 Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 17:20:18 -0000 --Bu8it7iiRSEf40bY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 17, 2009 at 06:00:26PM +0100, Ruben de Groot wrote: >=20 > DNS config is flaud: >=20 > # host thought.org > thought.org mail is handled by 10 aristotle.thought.org. > # host aristotle.thought.org > Host aristotle.thought.org not found: 3(NXDOMAIN) I get something else; # host thought.org thought.org mail is handled by 10 aristotle.thought.org. # host aristotle.thought.org aristotle.thought.org has address xxx.xxx.xxx.xxx (IP address redacted, but I can ping it) But if I try the new server; # host ethic.thought.org Host ethic.thought.org not found: 3(NXDOMAIN) # ping ethic.thought.org ping: cannot resolve ethic.thought.org: Unknown host I can ping plato.thought.org, though. 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) --Bu8it7iiRSEf40bY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksqaFAACgkQEnfvsMMhpyUB6gCffnO6siTpD9Oqi3yLSZX6zGz+ pk4Anjm8CSBppLNTut/Fuw/n/UdU5kin =8Yyf -----END PGP SIGNATURE----- --Bu8it7iiRSEf40bY-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 17:33:44 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AF991065670 for ; Thu, 17 Dec 2009 17:33:44 +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 A7E818FC1E for ; Thu, 17 Dec 2009 17:33:43 +0000 (UTC) Received: (qmail 19408 invoked by uid 89); 17 Dec 2009 17:41:24 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 17 Dec 2009 17:41:24 -0000 Message-ID: <4B2A6B6C.1030509@ibctech.ca> Date: Thu, 17 Dec 2009 12:33:32 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Gary Kline References: <20091212233205.GA14918@thought.org> In-Reply-To: <20091212233205.GA14918@thought.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 17:33:44 -0000 Gary Kline wrote: > ariatotle is offline; i'm exclusively on my new server. will somebody please do a digg thought.org and see if they see what i see? > > hope i get this..... % whois thought.org Name Server:NS1.THOUGHT.ORG Name Server:ETHIC.THOUGHT.ORG % dig ns1.thought.org ;; ANSWER SECTION: ns1.thought.org. 38283 IN A 209.180.213.210 % dig ethic.thought.org ;; ANSWER SECTION: ethic.thought.org. 38235 IN A 209.180.213.210 % ping ns1.thought.org PING ns1.thought.org (209.180.213.210): 56 data bytes 64 bytes from 209.180.213.210: icmp_seq=0 ttl=56 time=123.861 ms ^C % ping ethic.thought.org PING ethic.thought.org (209.180.213.210): 56 data bytes 64 bytes from 209.180.213.210: icmp_seq=0 ttl=56 time=124.585 ms ^C % dig mx @ns1.thought.org thought.org ...ok % dig mx @ethic.thought.org thought.org ...ok The only problems I see are that a) you don't have an a record for the domain name itself b) both of your name servers are located on a single IP Steve From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 17:42:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5EAA10656A5 for ; Thu, 17 Dec 2009 17:42:21 +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 756018FC25 for ; Thu, 17 Dec 2009 17:42:21 +0000 (UTC) Received: from r55.edvax.de (port-92-195-228-22.dynamic.qsc.de [92.195.228.22]) by mx02.qsc.de (Postfix) with ESMTP id 0123B1EC4F; Thu, 17 Dec 2009 18:42:19 +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 nBHHgH4r005409; Thu, 17 Dec 2009 18:42:18 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 17 Dec 2009 18:42:17 +0100 From: Polytropon To: Roland Smith Message-Id: <20091217184217.29a8b4fd.freebsd@edvax.de> In-Reply-To: <20091217172016.GC93764@slackbox.xs4all.nl> References: <20091212233205.GA14918@thought.org> <20091217155220.f7a8a798.freebsd@edvax.de> <20091217145843.000023ef@unknown> <20091217170026.GA5902@ei.bzerk.org> <20091217172016.GC93764@slackbox.xs4all.nl> 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: is this getting out? 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, 17 Dec 2009 17:42:21 -0000 On Thu, 17 Dec 2009 18:20:16 +0100, Roland Smith wrote: > But if I try the new server; > > # host ethic.thought.org > Host ethic.thought.org not found: 3(NXDOMAIN) > # ping ethic.thought.org > ping: cannot resolve ethic.thought.org: Unknown host Here, now: % host ethic.thought.org ethic.thought.org has address 209.180.213.210 Host ethic.thought.org not found: 3(NXDOMAIN) Host ethic.thought.org not found: 3(NXDOMAIN) And I can now ping it, as well as aristotle and plato. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 17:42:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5C8E106566B for ; Thu, 17 Dec 2009 17:42:21 +0000 (UTC) (envelope-from mike@geofront.co.uk) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.freebsd.org (Postfix) with ESMTP id 9ABD78FC26 for ; Thu, 17 Dec 2009 17:42:21 +0000 (UTC) Received: from [172.23.170.146] (helo=anti-virus03-09) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1NLKMl-00053K-PS for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 17:42:19 +0000 Received: from [92.234.61.128] (helo=the-rubber-chicken-network.co.uk) by asmtp-out5.blueyonder.co.uk with esmtp (Exim 4.52) id 1NLKMl-0001ll-0i for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 17:42:19 +0000 Received: from [192.168.0.6] (unknown [192.168.0.6]) by the-rubber-chicken-network.co.uk (Postfix) with ESMTP id 2418FC66998 for ; Thu, 17 Dec 2009 17:43:10 +0000 (UTC) Message-ID: <4B2A6D74.7040705@geofront.co.uk> Date: Thu, 17 Dec 2009 17:42:12 +0000 From: Mike Woods User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Free BSD Questions list References: <20091216155128.GA4758@teddy.fas.com> <20091216235311.GA71135@slackbox.xs4all.nl> <4B2A33A1.4090300@geofront.co.uk> <20091217150315.GB91117@slackbox.xs4all.nl> In-Reply-To: <20091217150315.GB91117@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: USBserial port convertor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 17:42:22 -0000 Roland Smith wrote: > If I read ucom(4) correctly (see BUGS), it should create /dev/cuaU? and > /dev/ttyU? devices, and you should use those. It does, but my personal experience of those devices is that there's a ucom instacne associated with each device (though I may be wrong!) ------------------------ Mike Woods Full of squishy cynicism From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 18:16:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 966BE1065676 for ; Thu, 17 Dec 2009 18:16:31 +0000 (UTC) (envelope-from linda.messerschmidt@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 2C8548FC15 for ; Thu, 17 Dec 2009 18:16:30 +0000 (UTC) Received: by ewy26 with SMTP id 26so1531088ewy.3 for ; Thu, 17 Dec 2009 10:16:30 -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=ke6bhOWtQduceudv9/G9yZ9RiP8+bk4aYyPFHl7Kywg=; b=VdldZbMlh28iut0Yonx4ZkHAERySJfmEPuJnbRSvcbDB2sW4W9NnNoRwle3b3ScOFy vI2BFoVK9f8huw8XRE5y4fe/49Ee408jCGP6FOBxMLtVxITEWD8tA9dUCsOqFOeFblmL pphXSbxRCu9zuKBRdx5qcSi9+T4axtRAT0Byw= 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=QEdA6jrT6fgf4cqO1fISoLyhNNraoW23LOIWOoLxqG7laJzQBUrY13fy1n1mCBebIh 8BmQnSYwAccoVXiRv2r9g5SwcybKWtEVnzCQ3VtmGmvmgu+I97rD1kfobb7LVxJ0Nza8 Qb+ZS7U+1Wqdf4pGuHwE3CGhZFa93IjoeE1HU= MIME-Version: 1.0 Received: by 10.216.88.143 with SMTP id a15mr995825wef.206.1261073790156; Thu, 17 Dec 2009 10:16:30 -0800 (PST) In-Reply-To: <200912170905.48877.j.mckeown@ru.ac.za> References: <237c27100912100909i9c0eb95jd348eb594d86c744@mail.gmail.com> <20091215175320.GR84026@dan.emsphone.com> <237c27100912151324x3003b810v6145e5f5cd163dbf@mail.gmail.com> <200912170905.48877.j.mckeown@ru.ac.za> Date: Thu, 17 Dec 2009 13:16:29 -0500 Message-ID: <237c27100912171016g18aa5eb7m7a1fddd1b953a7eb@mail.gmail.com> From: Linda Messerschmidt To: Jonathan McKeown Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: 8.0: OpenSSL stat()'s NLS 500+ times causing extreme system load X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 18:16:31 -0000 On Thu, Dec 17, 2009 at 2:05 AM, Jonathan McKeown wrote: > It can also be enabled separately in nagios's main config file - > child_processes_fork_twice is the option to look for. Actually I had never seen that before. :) I added this setting immediately and it definitely cut the CPU usage down, but the load average went way up. No doubt that's because a lot of processes that don't live long enough for load average accounting for no longer exist. I'm a lot more interested in CPU usage than load average, so it's a big win for me. :) Thanks! From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 18:28:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A320C1065692 for ; Thu, 17 Dec 2009 18:28:46 +0000 (UTC) (envelope-from jw011235@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 546518FC12 for ; Thu, 17 Dec 2009 18:28:46 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so511616qwb.7 for ; Thu, 17 Dec 2009 10:28:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=zEK8R772heNi/iNyplunANTw5Yx4WeB11TZWAAYVmQM=; b=xZ9/toZIvOHI/K9afpUP9hYWg40YyajhKy5sPiz9i6mnmncUfrRMCD4bbq+F/zymlC 2hUOYe5QlDbz9K+PAvX8KYDSX2cXOOyqz65I1ECVcVLvu7tEoIa/wqA9ROavsXeRmAbj 9mjMTYOSNoMFf7owesaqpjqGwdRj4Eptk5Oqg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=rpmHdwUj1PpmHEGNE9IvhaqelrmoKDcuWErZVayjQUzYnE/cRM8ZLkGTOfuzBGlr7K lCofLKpo40K/g+a1Lv4TKA4Pf7OE8FbbLn0QTIShrcD5xY2WbLe1oGP3g1WnKrTMwltz V0napwaCzLtwaVyAO42LIOvd3047pcvGqVEFc= Received: by 10.224.121.132 with SMTP id h4mr1812210qar.255.1261074525667; Thu, 17 Dec 2009 10:28:45 -0800 (PST) Received: from ?129.74.35.126? ([129.74.35.126]) by mx.google.com with ESMTPS id 5sm6103855qwg.38.2009.12.17.10.28.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 17 Dec 2009 10:28:44 -0800 (PST) In-Reply-To: <20091217171147.GA25051@orange.esperance-linux.co.uk> References: <7852_1261007121_4B297111_7852_776_1_70C0964126D66F458E688618E1CD008A08CCF1DA@WADPEXV0.waddell.com> <4b297603.IvFAJ3pYSFaBBpVT%davidcollins001@gmail.com> <20091217171147.GA25051@orange.esperance-linux.co.uk> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <553CE0B6-2ED3-4A50-98B6-083E11A6A30B@gmail.com> Content-Transfer-Encoding: 7bit From: jw011235 Date: Thu, 17 Dec 2009 13:28:41 -0500 To: Frank Shute X-Mailer: Apple Mail (2.753.1) Cc: freebsd-questions@freebsd.org Subject: Re: Have not received emails for a few days now.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 18:28:46 -0000 On Dec 17, 2009, at 12:11 PM, Frank Shute wrote: > On Thu, Dec 17, 2009 at 10:10:33AM -0500, jw011235 wrote: >> >> I think it was a gmail issue. None of my mailing lists through gmail >> worked the last couple of days. >> > > I don't think so. I don't use gmail and I had an interruption of mail > from questions@ for a few days. chat@ & stable@ were fine. > > Regards, > > -- > > Frank > Interesting. I assumed it was a gmail issue because my openvpn mailing list on the same gmail account disappeared at the same time. Clearly bad to assume... Regards. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 19:00:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 759AE106566B for ; Thu, 17 Dec 2009 19:00:42 +0000 (UTC) (envelope-from dxnada@gmail.com) Received: from mail-gx0-f170.google.com (mail-gx0-f170.google.com [209.85.217.170]) by mx1.freebsd.org (Postfix) with ESMTP id 3626C8FC3B for ; Thu, 17 Dec 2009 19:00:41 +0000 (UTC) Received: by gxk10 with SMTP id 10so295556gxk.3 for ; Thu, 17 Dec 2009 11:00:41 -0800 (PST) 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=NdNWIwU3EiByybOgjNv5MGL2/qjeMvv/9+v2hbIh4XM=; b=DADkCUCS8miRosR6RQkaXt+9eGpIt1PFZ2JY6j4aKYHrvCo0mqoPz3ZWw/mW0HquuU adAURudXE4b63CjQjYPr3v6Xp9FLm2WMqvGMKDzxnHO6WMVJsOnv1q6ahvEoSpdUsM+F sQnp79ifvn5TWQ3E9Mv64BrzAnGgkTtWnVPPU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=T2NDmPiDnQFBzcBsz8POkn3yoEoqEUaL276zxZOUSACS10DCHykEltm4gf/aEb0D/7 3/Whu+uQLNUiJrTORuDW+ekUH0TlWmRGK/xkK9OI4qTQsGWQFMXYIEWUMlJcIEa0gx3b NBj0+kUORRrKWoOWX0mRLrDtTeDaBNT0L40rY= MIME-Version: 1.0 Received: by 10.101.4.16 with SMTP id g16mr4576366ani.25.1261075524220; Thu, 17 Dec 2009 10:45:24 -0800 (PST) Date: Thu, 17 Dec 2009 12:45:24 -0600 Message-ID: From: Dex Nada To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Joining multiple Multicast Streams X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 19:00:42 -0000 Hi: I am writing an application that joins a multicast stream on a specific UDP port. But when I run more than one instance of the same application, the second instance complains that the port is already in use. For example if I join stream 229.10.10.133:2000 on one instance and 229.10.10..134:2000 on another instance, the second one fails to join - I can however join it if I kill the first instance. I have compiled that application with SOCKET_REUSE option, but I wonder if I need to enable/recompile-with any special multicast kernel option for this to work. I do not have this problem when I run this code on Linux (Ubuntu 9.10) but I really want to get this working on FreeBSD. Thanks in advance. -DxN From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 20:02:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 660781065672 for ; Thu, 17 Dec 2009 20:02:36 +0000 (UTC) (envelope-from jon@radel.com) Received: from wave.radel.com (wave.radel.com [216.143.151.4]) by mx1.freebsd.org (Postfix) with ESMTP id 21C7C8FC17 for ; Thu, 17 Dec 2009 20:02:35 +0000 (UTC) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 9260230; Thu, 17 Dec 2009 15:02:34 -0500 Received: from [216.143.146.251] (account laura@radel.com HELO Macintosh-2.local) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP id 9260228; Thu, 17 Dec 2009 15:02:22 -0500 Message-ID: <4B2A8E68.1020504@radel.com> Date: Thu, 17 Dec 2009 15:02:48 -0500 From: Jon Radel User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Gary Kline References: <20091212233205.GA14918@thought.org> In-Reply-To: <20091212233205.GA14918@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer Cc: FreeBSD Mailing List Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 20:02:36 -0000 Gary Kline wrote: > > ariatotle is offline; i'm exclusively on my new server. will somebody please do a digg thought.org and see if they see what i see? > > hope i get this..... > > > 1) If you don't share what you see, nobody can compare, 2) Various people have pointed out various problems already, however, I'll reference you to the detailed analysis of your DNS problems that Giorgos Keramidas provided to you on 12/12 at 22:29 UTC. thought.org still has at least 7 name servers referenced somewhere; some of them have an MX record pointing at ethic, some have an MX record pointing at aristotle. Until you fix *all* the problems that have been documented in great detail, you will continue to have problems like this. For example, it appears that you've reduced the servers recorded with your registrar down to 2, but ns1.thought.org still returns this list of NS records: thought.org. 38400 IN NS b.ns.celestial.com. thought.org. 38400 IN NS c.ns.celestial.com. thought.org. 38400 IN NS d.ns.celestial.com. thought.org. 38400 IN NS ns1.thought.org. thought.org. 38400 IN NS ns1.localhostservices.net. thought.org. 38400 IN NS ns2.secondary.com. thought.org. 38400 IN NS a.ns.celestial.com. Fix your DNS! --Jon Radel From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 20:06:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 473CF106566C for ; Thu, 17 Dec 2009 20:06:03 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id ADCB28FC0A for ; Thu, 17 Dec 2009 20:06:02 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id B0F94EB47B2; Thu, 17 Dec 2009 22:06:01 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 98D1E4533D; Thu, 17 Dec 2009 22:06:01 +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 83HBhCyKJiCE; Thu, 17 Dec 2009 22:06:01 +0200 (EET) Received: from kobe.laptop (ppp-94-64-214-218.home.otenet.gr [94.64.214.218]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 4EF2245308; Thu, 17 Dec 2009 22:06:01 +0200 (EET) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id nBHK5xqx021983 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 17 Dec 2009 22:06:00 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id nBHK5xTk021959; Thu, 17 Dec 2009 22:05:59 +0200 (EET) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: jw011235@gmail.com, Frank Shute References: <7852_1261007121_4B297111_7852_776_1_70C0964126D66F458E688618E1CD008A08CCF1DA@WADPEXV0.waddell.com> <4b297603.IvFAJ3pYSFaBBpVT%davidcollins001@gmail.com> <20091217171147.GA25051@orange.esperance-linux.co.uk> <553CE0B6-2ED3-4A50-98B6-083E11A6A30B@gmail.com> Date: Thu, 17 Dec 2009 22:05:49 +0200 In-Reply-To: <553CE0B6-2ED3-4A50-98B6-083E11A6A30B@gmail.com> (jw's message of "Thu, 17 Dec 2009 13:28:41 -0500") Message-ID: <87oclxcqn6.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: freebsd-questions@freebsd.org Subject: Re: Have not received emails for a few days now.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 20:06:03 -0000 --=-=-= On Thu, 17 Dec 2009 13:28:41 -0500, jw011235 wrote: > Interesting. I assumed it was a gmail issue because my openvpn mailing > list on the same gmail account disappeared at the same time. Clearly > bad to assume... There was indeed a problem with mailman's handling of posts directed at freebsd-questions. I notified postmaster@ after checking the list's web interface. My mailbox had no messages, which could have been a local issue or an intermediate delivery problem. When we realized that the web interface had no new messages either, the postmaster team took care of the problem. Things should be back to normal, AFAICT, but it won't hurt to drop me or postmaster a note if you notice anything out of the ordinary. Cheers, Giorgos --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAksqjyUACgkQ1g+UGjGGA7bk9gCfdWdQHMThHhJQU7HtkTpyfoSK vhcAoKGJ5GPad4bz9urkcY2KKooAzDd/ =4dZ4 -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 20:28:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1D661065692 for ; Thu, 17 Dec 2009 20:28:22 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (mx3.utsp.utwente.nl [130.89.2.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7852B8FC20 for ; Thu, 17 Dec 2009 20:28:22 +0000 (UTC) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id nBHKSEHH003086; Thu, 17 Dec 2009 21:28:14 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Thu, 17 Dec 2009 21:28:14 +0100 User-Agent: KMail/1.9.10 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912172128.14426.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-SpamScore: s X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Dex Nada Subject: Re: Joining multiple Multicast Streams X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 20:28:23 -0000 On Thursday 17 December 2009 19:45:24 Dex Nada wrote: > Hi: > > I am writing an application that joins a multicast stream on a specific UDP > port. But when I run more than one instance of the same application, the > second instance complains that the port is already in use. For example if I > join stream 229.10.10.133:2000 on one instance and 229.10.10..134:2000 on > another instance, the second one fails to join - I can however join it if I > kill the first instance. I have compiled that application with SOCKET_REUSE > option, but I wonder if I need to enable/recompile-with any special > multicast kernel option for this to work. I do not have this problem when I > run this code on Linux (Ubuntu 9.10) but I really want to get this working > on FreeBSD. > > Thanks in advance. > > -DxN Try SO_REUSEPORT. The manpage (getsockopt(2)) specifically mentions multiple listeners for the same multicast stream. The following pseudo C seems to work fine: int reuseport = 1; memset(&addr, 0, sizeof(addr)); addr.sin_family = AF_INET; addr.sin_addr.s_addr = htonl(INADDR_ANY); addr.sin_port = htons(port); mreq.imr_multiaddr.s_addr = maddr; mreq.imr_interface.s_addr = INADDR_ANY; int fd = socket(AF_INET, SOCK_DGRAM, 0); setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &reuseport, sizeof(reuseport)); bind(fd, (struct sockaddr *)&addr, sizeof(addr)); setsockopt(fd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)); recvfrom(fd, ....); Good luck, Pieter de Goeje From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 20:28:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECE6D1065697 for ; Thu, 17 Dec 2009 20:28:23 +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 450718FC23 for ; Thu, 17 Dec 2009 20:28:23 +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 nBHKI9NT015575; Thu, 17 Dec 2009 12:18:10 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 17 Dec 2009 12:18:11 -0800 (PST) Date: Thu, 17 Dec 2009 12:18:09 -0800 From: Gary Kline To: Polytropon Message-ID: <20091217201809.GA18408@thought.org> References: <4B284E37.3000909@lazlarlyricon.com> <20091217061831.7b702bd6.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091217061831.7b702bd6.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-3.3 required=3.6 tests=ALL_TRUSTED,BAYES_00, URIBL_RHS_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: FreeBSD Questions Subject: Re: Native PDF viewer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 20:28:24 -0000 On Thu, Dec 17, 2009 at 06:18:31AM +0100, Polytropon wrote: > On Wed, 16 Dec 2009 04:04:23 +0100, Rolf Nielsen wrote: > > Hi all, > > > > Since I don't have Linux compat layer activated, and I have no need for > > it, I'd like to ask if anyone can suggest a native PDF viewer (I'm not > > fond of the idea of installing a compat layer for just one application). > > There are gv (which is limited in some way, "fancy" PDF files) > and xpdf. > > I can recommend "xpdf -fullscreen " especially for use > in presentations. > > In both programs, keyboard support (important for comfortably > browsing a document) is good. > > Of course, KDE and Gnome provide their own PDF viewers, but > since you don't want to use the Linux ABI just for a PDF > viewer program, you surely won't want to install KDE or > Gnome just for the same purpose. :-) > > But I have to tell you that for some very special PDF files, > especially those that use nonstandard stuff, and for those > that "process" input fields, the acroread port is still > on my system as "fallback solution". this is just my penny's worth, but since I value *simplicity*, I'm happy with xpdf. The one thing I would like to see is the integration of the festival tts suite with any/all presentations of textual material. The speech feature for acroread must be $$$$$, because it doesn't work on my single Ubuntu platform. --oh well, ain't no free lunches... . > > > > -- > 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" -- 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 Thu Dec 17 20:51:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88CEA106566C for ; Thu, 17 Dec 2009 20:51:38 +0000 (UTC) (envelope-from ianf@ozemail.com.au) Received: from outbound.icp-qv1-irony-out3.iinet.net.au (outbound.icp-qv1-irony-out3.iinet.net.au [203.59.1.148]) by mx1.freebsd.org (Postfix) with ESMTP id 94FF48FC13 for ; Thu, 17 Dec 2009 20:51:37 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqABAPQhKkvSVA6p/2dsb2JhbAAIgiAvljq9OYI5gXQEgWM X-IronPort-AV: E=Sophos;i="4.47,415,1257091200"; d="scan'208,217";a="536547195" Received: from unknown (HELO [127.0.0.1]) ([210.84.14.169]) by outbound.icp-qv1-irony-out3.iinet.net.au with ESMTP; 18 Dec 2009 04:23:49 +0800 Message-ID: <4B2A9349.6040208@ozemail.com.au> Date: Fri, 18 Dec 2009 07:23:37 +1100 From: Ian Fitzgerald User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Matthew Seaman References: <4B2851DF.1090107@ozemail.com.au> <4B29E495.7030502@infracaninophile.co.uk> In-Reply-To: <4B29E495.7030502@infracaninophile.co.uk> X-Antivirus: avast! (VPS 091217-0, 17/12/2009), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Re-compiling PHP changes server responsiveness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 20:51:38 -0000 Matthew Seaman wrote: > Ian Fitzgerald wrote: >> Recently upgraded (fresh install) FBSD 8, including MySql, Apache22, >> phpMyAdmin, KDE4 Gnome2.26 from DVD iso. >> Running ok as test server, but unusual error from added, complex CMS >> prompted me to re-install PHP5 and PHP5-extensions as pkg_add -r >> (using ports files from iso), then with no success, compiling them >> (using ports files from iso), with slightly different make config. >> >> Now server does not respond, either to 'localhost' request on its >> browser, or specific address request from another machine on local >> network. >> >> I assume re-compiling PHP would not clobber hosts or resolv.conf >> (they look ok). >> >> I get: "[warn] (2)No such file or directory: Failed to enable the >> 'httpready' Accept Filter, and no new errors in >> /var/log/httpd-error.log" four times >> >> Tried adding accf_http="YES" to /boot/loader.conf, and re-booting of >> course. > > This is just a warning message and doesn't stop apache working or > not. Enabling > accf_http should give you a bit of a performance boost under heavy > load and help > you withstand certain types of DoS attack, but it's not required. > >> Tried refreshing ports (inital re-compile attempt failed with make >> complaining that postgres-client had been marked invalid - when will >> someone fixit?), and re-compiling apache22 => no change. >> >> ps -auxc: no httpd. >> >> FF3 under Gnome on the machine fetches external pages, of course >> (using router DNS). >> >> What else should I look at? >> > > Try restarting httpd from the command line: > /usr/local/etc/rc.d/apache22 restart > > This will run a configtest and then try and start up apache. Then check > that apache is still running: /usr/local/etc/rc.d/apache22 status > > If apache has mysteriously disappeared and there are no messages in > log files, > then it means apache crashed during the startup process soon after > daemonising. > That's pretty diagnostic for loading a dynamic module that disagrees > with it. > > At a guess, and given that you've reinstalled all your php modules, I > think you > may be being hit by the php module load order problem. In that case, > running > php from the command line will probably also segv on you. This is > something that > has had quite a lot of attention on this list, but there isn't a > really good solution > yet, other than manually reordering the entries in > /usr/local/etc/php/extensions.ini > > Also, if you're running eAccelerator, make sure you recompile it at > the same time > you upgrade the main lang/php5 port: eAccelerator will cause Apache to > crash if you > try and run it against a different version of PHP than it was > originally compiled > for. > > Cheers, > > Matthew > Thank you . That gets me off to a good start. I guess the solution for the maintainers is simple: a script which automates every combination of module load to test for error-prone sequences or combinations. These could then be tested for and a warning notice issued at config time, or after compilation, preferably. It would also provide a definitive answer to the question of whether the sequence/combination is a contributing factor in the first place, or whether some other factor is a pre-condition. -- ianf From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 21:01:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 534111065672 for ; Thu, 17 Dec 2009 21:01:20 +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 1CB198FC14 for ; Thu, 17 Dec 2009 21:01:19 +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)); Thu, 17 Dec 2009 16:01:18 -0500 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::558 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= Message-ID: <4B2A9C1E.2010509@comcast.net> Date: Thu, 17 Dec 2009 16:01:18 -0500 From: Steve Polyack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091214 Thunderbird/3.0 MIME-Version: 1.0 To: Robert Fitzpatrick References: <4B23CD8A.50203@webtent.com> <4B291EB5.5040605@webtent.com> In-Reply-To: <4B291EB5.5040605@webtent.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: slow clock on FreeBSD 7.2 on 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: Thu, 17 Dec 2009 21:01:20 -0000 On 12/16/09 12:53, Robert Fitzpatrick wrote: >> I run multiple FreeBSD servers inside VMWare and I don't have this >> problem. Are you running VMWare workstation? Or ESX/ESXi? > > I am running VMware Server 2.0...thanks again. I would really recommend switching to VMware ESXi if at all possible. I have a lot of FreeBSD VMs running under ESXi 3.5 and 4.0 that work just great with kern.hz=100 and openntpd. We actually kept everything running on Linux+VMware Server 1.0 until we could make the switch to ESXi; the VMware Server 2.0 product wasn't reliable for us at all and was a total pain to manage. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 21:23:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9DD2106566B for ; Thu, 17 Dec 2009 21:23:44 +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 B5EDB8FC08 for ; Thu, 17 Dec 2009 21:23:44 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp028.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KUT00BW9FFI4U70@asmtp028.mac.com> for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 13:23:44 -0800 (PST) From: Chuck Swiger In-reply-to: <4B2A9C1E.2010509@comcast.net> Date: Thu, 17 Dec 2009 13:23:41 -0800 Message-id: <3D62B3FC-1385-47C2-A9F3-F81D1597D9A6@mac.com> References: <4B23CD8A.50203@webtent.com> <4B291EB5.5040605@webtent.com> <4B2A9C1E.2010509@comcast.net> To: Steve Polyack X-Mailer: Apple Mail (2.1077) Cc: Robert Fitzpatrick , FreeBSD Subject: Re: slow clock on FreeBSD 7.2 on 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: Thu, 17 Dec 2009 21:23:45 -0000 Hi-- On Dec 17, 2009, at 1:01 PM, Steve Polyack wrote: > I would really recommend switching to VMware ESXi if at all possible. I have a lot of FreeBSD VMs running under ESXi 3.5 and 4.0 that work just great with kern.hz=100 and openntpd. The "kern.hz=100" recommendation I can certainly agree with, but there is mostly no point in running ntpd or variants anywhere except on the host machine ("host ESX" for VMware, or Dom0 for Xen). For VMware, the vmtools stuff should provide a mechanism to sync time in VMs to the host clock. Regards, -- -Chuck PS: Same thing for Xen, recently discussed on the NTP pool timekeepers list: Begin forwarded message: > From: Chuck Swiger > Date: October 14, 2009 2:43:08 PM PDT > To: PGNet Dev > Cc: timekeepers@fortytwo.ch > Subject: Re: [time] what significance does the number "3.906" have in ntp? > > On Oct 14, 2009, at 2:10 PM, PGNet Dev wrote: >>> Right, OK-- from your earlier mail, you mentioned something about running >>> with Xen Dom0/DomU. There is absolutely no point to running ntpd in a guest >>> domain-- you should only try to run ntpd in a normal OS, or, as a last >>> resort, in the Dom0 domain. >> >> actually, that's not at all the recommendation I've repeatedly been >> getting from numerous sources. > > Which are? > > A google of "ntpd DomU" returns numerous reports of problems with this, and the strong recommendation is to only run ntpd in Dom0 using independent_wallclock set to 0, *unless* your DomU's then fail to keep sane time. For example: > > http://www.nabble.com/Unable-to-set-system-clock-on-domU-td22042252.html > >>> The other domains can and should simply use the >>> HW clock, because latencies and such for the guest domains are highly >>> unpredictable. >> >> which is why the recommendation is to sync EVERY Dom0/DomU against an >> accurate clock via ntpd ... > > Why, when ntpd in a DomU *can't* actually change the HW clock? See: http://xen.epiuse.com/xen-faq.txt > > Q: Where does a domain get its time from? > > A: Briefly, Xen reads the RTC at start of day and by default will track that with the precision of the periodic timer crystal. Xen's estimate of the wall-clock time can only be updated by domain 0. If domain 0 runs ntpdate, ntpd, etc. then the synchronised time will automatically be pushed down to Xen every minute (and written to the RTC every 11 minutes, just as normal x86 Linux does). All other domains always track Xen's wall-clock time: setting the date, or running ntpd, on these domains will not affect their wall-clock time. Note that the wall-clock time exported by Xen is UTC --- all domains must have appropriate timezone handling (i.e. a correct /etc/localtime file). > > Seriously, each physical machine only has one RTC and crystal oscillator. It's useful to run one instance of ntpd in the Dom0 context where it can actually work and keep this real hardware clock in sync. Running ntpd's in the other DomUs is almost entirely pointless; it might be useful only if Dom0->DomU time is busted, and even in that case, ntpd is unlikely to ever obtain good time synchronization running in a DomU. You are better off running ntpdate (or sntp) periodically via cron in the DomUs. > > Regards, > -- > -Chuck > > _______________________________________________ > timekeepers mailing list > timekeepers@fortytwo.ch > https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 21:26:14 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91C5A106566C for ; Thu, 17 Dec 2009 21:26:14 +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 4B9A28FC19 for ; Thu, 17 Dec 2009 21:26:14 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id C9E601C1A67 for ; Thu, 17 Dec 2009 22:26:12 +0100 (CET) Message-ID: <4B2AA1F4.5020206@locolomo.org> Date: Thu, 17 Dec 2009 22:26:12 +0100 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: System crashes under heavy disk i/o X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 21:26:14 -0000 Hi: I have had this problem for a while, both on 7.x and now with 8.0: I have a: FreeBSD 8.0-RELEASE-p1 #0: Fri Dec 11 11:53:19 CET 2009 norgaard@localhost:/usr/local/obj/usr/local/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: VIA Nehemiah (800.04-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x69a Stepping = 10 real memory = 268435456 (256 MB) avail memory = 231383040 (220 MB) atapci0: ad6: 476940MB at ata3-master SATA150 In normal operation I have no problem, but when performing intensive read or write for a prolonged time the system crashes. This happens also even if the partition is read-only. The crash occurs both with single large files (1GB) as well as many small files (10kb-10MB). Currently, I'm backing up to an external drive over the network. I don't know if it's network related or disk related, but I guess it's disk related as I have no log of the failure. I don't know if it's the disk, contoller or something else. This is a headless machine, so I'm left guessing. My two questions: - is there any utility that I can use monitor the system to see what's going on, when or why? - is there any way that I can slow down the disk i/o? since the system works fine in normal operation, I hope that slowing down the disk operation would be a workaround, at least till I get my data onto the external drive. Thanks, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 21:34:58 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91205106566C for ; Thu, 17 Dec 2009 21:34:58 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout025.mac.com (asmtpout025.mac.com [17.148.16.100]) by mx1.freebsd.org (Postfix) with ESMTP id 80A3A8FC08 for ; Thu, 17 Dec 2009 21:34:58 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp025.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KUT00AMKFY78390@asmtp025.mac.com> for questions@freebsd.org; Thu, 17 Dec 2009 13:34:56 -0800 (PST) From: Chuck Swiger In-reply-to: <4B2AA1F4.5020206@locolomo.org> Date: Thu, 17 Dec 2009 13:34:55 -0800 Message-id: <69AC657B-A0A7-41CA-92F6-989FEFEB776E@mac.com> References: <4B2AA1F4.5020206@locolomo.org> To: Erik Norgaard X-Mailer: Apple Mail (2.1077) Cc: questions@freebsd.org Subject: Re: System crashes under heavy disk i/o X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 21:34:58 -0000 Hi-- On Dec 17, 2009, at 1:26 PM, Erik Norgaard wrote: > FreeBSD 8.0-RELEASE-p1 #0: Fri Dec 11 11:53:19 CET 2009 > norgaard@localhost:/usr/local/obj/usr/local/src/sys/GENERIC > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: VIA Nehemiah (800.04-MHz 686-class CPU) > Origin = "CentaurHauls" Id = 0x69a Stepping = 10 > real memory = 268435456 (256 MB) > avail memory = 231383040 (220 MB) > atapci0: > ad6: 476940MB at ata3-master SATA150 > > In normal operation I have no problem, but when performing intensive read or write for a prolonged time the system crashes. This happens also even if the partition is read-only. The crash occurs both with single large files (1GB) as well as many small files (10kb-10MB). That's probably a sign of either thermal problems from inadequate cooling, or possibly PSU not giving stable voltage rails and sagging a bit too low; also, at least the older VIA C3 EPIA hardware had somewhat flaky PATA interfaces; if I tried to use both PATA channels I'd see lockups, unless I turned everything down to UDMA-33 speeds. Hopefully their SATA implementation has been improved since. Consider looking at smartctl and see whether your drive temps are running too hot-- supposedly, drives are rated up to around 60C, but I don't like to see drives going above 40C given any choice in the matter. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 21:40:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 985921065672 for ; Thu, 17 Dec 2009 21:40:20 +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 631C08FC13 for ; Thu, 17 Dec 2009 21:40:20 +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)); Thu, 17 Dec 2009 16:40:18 -0500 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::606 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= Message-ID: <4B2AA541.5010304@comcast.net> Date: Thu, 17 Dec 2009 16:40:17 -0500 From: Steve Polyack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091214 Thunderbird/3.0 MIME-Version: 1.0 To: Chuck Swiger References: <4B23CD8A.50203@webtent.com> <4B291EB5.5040605@webtent.com> <4B2A9C1E.2010509@comcast.net> <3D62B3FC-1385-47C2-A9F3-F81D1597D9A6@mac.com> In-Reply-To: <3D62B3FC-1385-47C2-A9F3-F81D1597D9A6@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Robert Fitzpatrick , FreeBSD Subject: Re: slow clock on FreeBSD 7.2 on 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: Thu, 17 Dec 2009 21:40:20 -0000 On 12/17/09 16:23, Chuck Swiger wrote: > The "kern.hz=100" recommendation I can certainly agree with, but there is mostly no point in running ntpd or variants anywhere except on the host machine ("host ESX" for VMware, or Dom0 for Xen). For VMware, the vmtools stuff should provide a mechanism to sync time in VMs to the host clock. > > I haven't used Xen, but for ESX: I may be wrong, but I'm pretty sure that the vmtools available for FreeBSD do not support synchronizing the host time to the guest OS. I know it is supported (and works) for Linux, but by what mechanism I do not know. On OpenBSD the kernel can be built to present a device which will use the "synchronize time with guest" feature of VMware to provide a clock source which can be specified in ntpd.conf. Perhaps you're right and all it takes is the switch in ESX. I've disabled ntpd on one of my VMs and I'll see if it drifts any by tomorrow. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 21:47:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92FEF1065676 for ; Thu, 17 Dec 2009 21:47:03 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 678778FC08 for ; Thu, 17 Dec 2009 21:47:03 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 09C247E818; Thu, 17 Dec 2009 12:47:01 -0900 (AKST) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 17 Dec 2009 12:46:52 -0900 User-Agent: KMail/1.12.1 (FreeBSD/8.0-STABLE; KDE/4.3.1; i386; ; ) References: <4B2AA1F4.5020206@locolomo.org> In-Reply-To: <4B2AA1F4.5020206@locolomo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200912171246.53037.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Subject: Re: System crashes under heavy disk i/o X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 21:47:03 -0000 On Thursday 17 December 2009 12:26:12 Erik Norgaard wrote: > My two questions: > > - is there any utility that I can use monitor the system to see what's > going on, when or why? gstat(8) Also, perhaps syslog to a different machine or nfs mount /var/log if you feel you're missing a log message due to this error. > - is there any way that I can slow down the disk i/o? Turn down operating mode via atacontrol. If using dump(8) use the cache feature and/or do the backup from live disk, so no other services are running and disk isn't accessed other then by dump. -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 21:52:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36A4C1065697 for ; Thu, 17 Dec 2009 21:52:43 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from woodbine.london.02.net (woodbine.london.02.net [87.194.255.145]) by mx1.freebsd.org (Postfix) with ESMTP id F254F8FC1F for ; Thu, 17 Dec 2009 21:52:42 +0000 (UTC) Received: from eco.config (93.97.24.219) by woodbine.london.02.net (8.5.016.1) id 4A20329606A4F4D9; Thu, 17 Dec 2009 21:52:31 +0000 Message-ID: <4B2AA81E.6030600@onetel.com> Date: Thu, 17 Dec 2009 21:52:30 +0000 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: doug@safeport.com References: <200912131042.50936.lumiwa@gmail.com> <200912131810.38468.frank@fthieme.net> <200912170031.58151.pieter@degoeje.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Pieter de Goeje , freebsd-questions@freebsd.org Subject: Re: question about xorg 7.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 21:52:43 -0000 doug@safeport.com wrote: > On Thu, 17 Dec 2009, Pieter de Goeje wrote: > >> Xorg defaults to a black screen instead of a checkerboard pattern >> these days. You can revert to the old style with -retro flag to X .If things are working you should see the old style screen with an X mouse pointer (if enabled) Not trying to rtfm but http://www.freebsd.org/doc/en/books/handbook/x-config.html Chris From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 21:55:01 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27ACF1065679 for ; Thu, 17 Dec 2009 21:55:01 +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 CE6388FC19 for ; Thu, 17 Dec 2009 21:55:00 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id BA7511C1A67; Thu, 17 Dec 2009 22:54:59 +0100 (CET) Message-ID: <4B2AA8B3.5080000@locolomo.org> Date: Thu, 17 Dec 2009 22:54:59 +0100 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Chuck Swiger References: <4B2AA1F4.5020206@locolomo.org> <69AC657B-A0A7-41CA-92F6-989FEFEB776E@mac.com> In-Reply-To: <69AC657B-A0A7-41CA-92F6-989FEFEB776E@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: questions@freebsd.org Subject: Re: System crashes under heavy disk i/o X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 21:55:01 -0000 Chuck Swiger wrote: > Hi-- > > On Dec 17, 2009, at 1:26 PM, Erik Norgaard wrote: >> FreeBSD 8.0-RELEASE-p1 #0: Fri Dec 11 11:53:19 CET 2009 >> norgaard@localhost:/usr/local/obj/usr/local/src/sys/GENERIC >> Timecounter "i8254" frequency 1193182 Hz quality 0 >> CPU: VIA Nehemiah (800.04-MHz 686-class CPU) >> Origin = "CentaurHauls" Id = 0x69a Stepping = 10 >> real memory = 268435456 (256 MB) >> avail memory = 231383040 (220 MB) >> atapci0: >> ad6: 476940MB at ata3-master SATA150 >> >> In normal operation I have no problem, but when performing intensive read or write for a prolonged time the system crashes. This happens also even if the partition is read-only. The crash occurs both with single large files (1GB) as well as many small files (10kb-10MB). > > That's probably a sign of either thermal problems from inadequate cooling, or possibly PSU not giving stable voltage rails and sagging a bit too low; also, at least the older VIA C3 EPIA hardware had somewhat flaky PATA interfaces; if I tried to use both PATA channels I'd see lockups, unless I turned everything down to UDMA-33 speeds. I doubt it's the cooling, processor is currently at 48C with passive cooling. But it could be PSU, I got the system for low power fanless silent operation, but after having disk crashes with laptop disks under heavy i/o, I got a server disk to sustain the continuous use. I'll try to slow it down and see if it helps, thanks for the advice. Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 21:55:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0F801065694 for ; Thu, 17 Dec 2009 21:55:56 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id 689158FC19 for ; Thu, 17 Dec 2009 21:55:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 6AE0C3FAC for ; Thu, 17 Dec 2009 22:56:08 +0100 (CET) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by localhost (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id QGv0ORoU4Hzn for ; Thu, 17 Dec 2009 22:56:08 +0100 (CET) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id DA92E3EB5 for ; Thu, 17 Dec 2009 22:56:07 +0100 (CET) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1077) From: bsd In-Reply-To: <20091217171207.GB93764@slackbox.xs4all.nl> Date: Thu, 17 Dec 2009 22:55:54 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <74692B50-D390-4CE4-9ED3-CA5B46CE8697@todoo.biz> <20091217171207.GB93764@slackbox.xs4all.nl> To: Liste FreeBSD X-Mailer: Apple Mail (2.1077) Subject: Re: incremental FTP backup program X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 21:55:56 -0000 Are there any specific scripting tools that I could use in order to = achieve that ?=20 =46rom what you are describing a tool that would automate the dump = process and take care of snapshots versions would be a must=85 ??=20 Any idea ?=20 Le 17 d=E9c. 2009 =E0 18:12, Roland Smith a =E9crit : > On Thu, Dec 17, 2009 at 05:29:54PM +0100, bsd wrote: >> Hello,=20 >>=20 >> I have been provided with a 1To backup space by my hosting company=85 >> unfortunately It is only accessible by FTP which does not allow me to = do the >> regular backup / restore I use to do using RSYNC. >>=20 >>=20 >> What are the options I have in order to do the backup / restore of = the files >> knowing that : >>=20 >> 1. I would like to have a time based backup solution (incremental = with >> sub-folder for daily backup so I can restore files from xxx days = ago). >>=20 >> 2. I need to use ftp as a transport >>=20 >> 3. Some of my servers have limited space so doing a local sync then = FTP will >> not be possible. >>=20 >> 4. If possible I would like a bullet proof solution ideally "well = known" | >> tested and available from the port tree. >=20 > There are several avenues available even with the tools in the base = system. >=20 > One of those is to use dump(8), assuming you are using UFS = filesystems, of > course. Make regular dumps (of different levels), compress them using > bzip2(1), encrypt the compressed dumpfiles using openssl(1) (do _not_ = use > crypt(1)!) and use ftp(1) to transfer them to the hosting company. >=20 > Another way is to use mtree(8). You can use this to generate a file = containing the > state of a filesystem hierarchy. Running it against a previously saved > specification can yield a list of files that have changed. Use tar and = bzip2 > to create an archive of the files that have changed. Encrypt and send = same as > above.=20 >=20 > All these programs come with the base system, you would just need to = script > them. >=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) =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF P "Please consider your environmental responsibility before printing = this e-mail" From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 21:57:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F370D106568F for ; Thu, 17 Dec 2009 21:57:31 +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 AC9B48FC1B for ; Thu, 17 Dec 2009 21:57:31 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id AA7E31C1A67; Thu, 17 Dec 2009 22:57:30 +0100 (CET) Message-ID: <4B2AA94A.5090800@locolomo.org> Date: Thu, 17 Dec 2009 22:57:30 +0100 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Mel Flynn References: <4B2AA1F4.5020206@locolomo.org> <200912171246.53037.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: <200912171246.53037.mel.flynn+fbsd.questions@mailing.thruhere.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: System crashes under heavy disk i/o X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 21:57:32 -0000 Mel Flynn wrote: > Turn down operating mode via atacontrol. If using dump(8) use the cache > feature and/or do the backup from live disk, so no other services are running > and disk isn't accessed other then by dump. Thanks, is there a way to set UDMA mode at boot? BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 22:10:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E9911065670 for ; Thu, 17 Dec 2009 22:10:12 +0000 (UTC) (envelope-from battdude@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 661348FC13 for ; Thu, 17 Dec 2009 22:10:12 +0000 (UTC) Received: by pzk15 with SMTP id 15so1705641pzk.3 for ; Thu, 17 Dec 2009 14:10:11 -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:content-type :content-transfer-encoding; bh=Uc2JosA72SzuTGBgWkHPNEMbaQkAXa+be6IJThwrVQ0=; b=BzzvDlOcu2lK3z7ImrP+8ItHl6iRnokhDZUVZX9GgXK99G6iwUjXhMHrot9vmesLMO nNPv6JIdCdSMWItP7qXJ8IrlmO2ANg9vGary1s7jieU8fu+4xuIg+8803EeAos6AAIHA jrexIk4OAKu5sgokDF/+fIjIsR3kjZF042u4M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Rse+/CPMA2MXleQF/cJdVcbIQ/Zm/BmpOYwi2kIOhEQvs1AWdH+crGLmaO9f6VmZLi 91kuxLGNRNYaoCrAQ02c234IF728zhoasS5i3ofYIfVfaPU1X+GJdHonsydSRYbKMw9n WPNDMFxag//HVeAsHk8dCPR+cHUnJTBJHWDCc= MIME-Version: 1.0 Received: by 10.140.82.21 with SMTP id f21mr2150953rvb.51.1261087810940; Thu, 17 Dec 2009 14:10:10 -0800 (PST) In-Reply-To: <20091217052400.GC32037@lonesome.com> References: <7314e5020912161917s355d02c9l16c996043c753044@mail.gmail.com> <19241.45040.505925.616766@jerusalem.litteratus.org> <20091217052400.GC32037@lonesome.com> Date: Thu, 17 Dec 2009 12:10:10 -1000 Message-ID: <7314e5020912171410m172b95c9ke0ffde16ba23567c@mail.gmail.com> From: Kevin To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: portupgrade 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: Thu, 17 Dec 2009 22:10:12 -0000 On Wed, Dec 16, 2009 at 7:24 PM, Mark Linimon wrote: > On Wed, Dec 16, 2009 at 11:13:36PM -0500, Robert Huff wrote: >> The maintainer, ruby@, is aware of this; a check of the PR >> database shows multiple open PRs, none critical but many serious >> going back six months and more. > > As an aside, the Severity and Priority fields have been so often abused > as to have become meaningless. =A0Although I still try to groom the db > for "critical" ones, and thus try to get those some attention, I really > don't think the committers pay much attention. =A0(In general I think > those should be reserved for "data corruption" and "security".) > > The longer-term solution is to remove those as user-settable fields. > >> This hard to understand given portupgrade is the recommended upgrade >> tool. > > Once the individual who was working on it gave it up to the mailing > list, it became one of those "everyone is responsible so no one is > responsible" problems. =A0I don't have a recommended fix for this. > > Having said that, I have a ports tree as of a month ago and portupgrade > was working ok for me. =A0I don't have the cycles to go figure out where > it fails to be able to fix it, sorry. > > mcl Thanks to everyone for the tips. I downgraded to portupgrade-2.4.6_2,2, and am able to update my ports/packages again. I had seen others commenting on portupgrade being broken in the past, but the ruby errors made me wonder if it was actually a ruby problem. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 22:39:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49CA81065692 for ; Thu, 17 Dec 2009 22:39:43 +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 B52628FC20 for ; Thu, 17 Dec 2009 22:39:42 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id nBHMdeCI092976; Thu, 17 Dec 2009 23:39:40 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 77E4FBA7C; Thu, 17 Dec 2009 23:39:40 +0100 (CET) Date: Thu, 17 Dec 2009 23:39:40 +0100 From: Roland Smith To: bsd Message-ID: <20091217223940.GA33412@slackbox.xs4all.nl> References: <74692B50-D390-4CE4-9ED3-CA5B46CE8697@todoo.biz> <20091217171207.GB93764@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" 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: Liste FreeBSD Subject: Re: incremental FTP backup program X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 22:39:43 -0000 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 17, 2009 at 10:55:54PM +0100, bsd wrote: > Are there any specific scripting tools that I could use in order to achie= ve > that ? Well, /bin/sh and 'man sh' spring to mind. :-) Or use another scripting language if you are more familiar with that, e.g. perl or python. But since you are mainly invoking programs, a plain shell-script would be my first ch= oice. > From what you are describing a tool that would automate the dump process = and > take care of snapshots versions would be a must=E2=80=A6 ?? See e.g. the dodumps script on my scripts page; http://www.xs4all.nl/~rsmit= h/software/scripts.html It just names the dumps 'filesystem-dumplevel-date.dump', e.g. root-0-20091217.dump. You could extend this script to transfer the dum= ps via ftp, and remove old dumps from the FTP site. After testing, you could e= ven run it from cron. Start off with a level 0 dump, and then perform higher level dumps as often= as you need. Google for 'dump levels', and you'll find lots of different schem= es, e.g. http://docs.sun.com/app/docs/doc/817-5093/bkupconcepts-21?a=3Dview I would urge you to keep things simple. The more complicated the your solution, the easier things can go wrong. One caveat about dump though. If one of your filesystems contains just one = big database in a huge file, dump will copy the whole file even if just one byte has changed. In such a case you should see if the database has tools to just copy the records changed since the last backup and use that instead. 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) --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksqsywACgkQEnfvsMMhpyV/pQCbBKGRtCdz3IGrK7JIxiGCgWM0 YFgAn2rzjF84LTQYcBdV6/L21MHH19Uq =ZM+/ -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 23:32:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0218D106566B for ; Thu, 17 Dec 2009 23:32:18 +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 BAD6B8FC12 for ; Thu, 17 Dec 2009 23:32:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by oceanpt.safeport.com (8.14.2/8.14.2) with ESMTP id nBHNWACS092088; Thu, 17 Dec 2009 18:32:11 -0500 (EST) (envelope-from doug@safeport.com) Date: Thu, 17 Dec 2009 18:32:10 -0500 (EST) From: doug@safeport.com To: Chris Whitehouse In-Reply-To: <4B2AA81E.6030600@onetel.com> Message-ID: References: <200912131042.50936.lumiwa@gmail.com> <200912131810.38468.frank@fthieme.net> <200912170031.58151.pieter@degoeje.nl> <4B2AA81E.6030600@onetel.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.0 (oceanpt.safeport.com [127.0.0.1]); Thu, 17 Dec 2009 18:32:11 -0500 (EST) Cc: Pieter de Goeje , freebsd-questions@freebsd.org Subject: Re: question about xorg 7.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 23:32:18 -0000 On Thu, 17 Dec 2009, Chris Whitehouse wrote: > doug@safeport.com wrote: >> On Thu, 17 Dec 2009, Pieter de Goeje wrote: >> >>> Xorg defaults to a black screen instead of a checkerboard pattern these >>> days. > > You can revert to the old style with -retro flag to X .If things are working > you should see the old style screen with an X mouse pointer (if enabled) > > Not trying to rtfm but > http://www.freebsd.org/doc/en/books/handbook/x-config.html Thanks Chris. I did rtfm. I posted a relatively lengthy vent (civilized rant :) that included comments on the excellence of the handbook in this area. It was probably lost in the questions down-period. Before dropping back to the 7.2-release iso version I tried retro and running without and without hal/dbus. All this the same result. I did indeed get the black screen but with no keyboard. I believe (but am not 100% sure) that the current version of xorg.conf I am running was generate with the -retro option. I am however still running with the ati driver. I kind of 'lost interest' in xorg when I got some thing that worked and moved on to my next problem, kde4. In the meantime xsetroot saves my eyes while I labor on with kde. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 23:36:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5948106566C for ; Thu, 17 Dec 2009 23:36:10 +0000 (UTC) (envelope-from lostlogic@lostlogicx.com) Received: from erudite.lostlogicx.com (erudite.lostlogicx.com [74.208.67.179]) by mx1.freebsd.org (Postfix) with ESMTP id 69F2B8FC12 for ; Thu, 17 Dec 2009 23:36:10 +0000 (UTC) Received: by erudite.lostlogicx.com (Postfix, from userid 1001) id 0F6E6277AC; Thu, 17 Dec 2009 15:19:58 -0800 (PST) Date: Thu, 17 Dec 2009 15:19:58 -0800 From: Brandon Low To: Roland Smith Message-ID: <20091217231957.GH73162@lostlogicx.com> References: <74692B50-D390-4CE4-9ED3-CA5B46CE8697@todoo.biz> <20091217171207.GB93764@slackbox.xs4all.nl> <20091217223940.GA33412@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091217223940.GA33412@slackbox.xs4all.nl> X-Operating-System: FreeBSD 8.0-RELEASE amd64 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Liste FreeBSD Subject: Re: incremental FTP backup program X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Dec 2009 23:36:10 -0000 I have a backup system that I created for rougly that scenario. It's not bullet proof, not well tested in the community, etc. I haven't even tried the FTP Transport on FreeBSD yet. http://lostlogicx.com/backupsblow/ I use it over S3 to backup my server personally. --Brandon On 2009-12-17 (Thu) at 23:39:40 +0100, Roland Smith wrote: > On Thu, Dec 17, 2009 at 10:55:54PM +0100, bsd wrote: > > > Are there any specific scripting tools that I could use in order to achieve > > that ? > > Well, /bin/sh and 'man sh' spring to mind. :-) Or use another scripting > language if you are more familiar with that, e.g. perl or python. But since > you are mainly invoking programs, a plain shell-script would be my first choice. > > > From what you are describing a tool that would automate the dump process and > > take care of snapshots versions would be a must??? ?? > > See e.g. the dodumps script on my scripts page; http://www.xs4all.nl/~rsmith/software/scripts.html > > It just names the dumps 'filesystem-dumplevel-date.dump', > e.g. root-0-20091217.dump. You could extend this script to transfer the dumps > via ftp, and remove old dumps from the FTP site. After testing, you could even > run it from cron. > > Start off with a level 0 dump, and then perform higher level dumps as often as > you need. Google for 'dump levels', and you'll find lots of different schemes, > e.g. http://docs.sun.com/app/docs/doc/817-5093/bkupconcepts-21?a=view > > I would urge you to keep things simple. The more complicated the your > solution, the easier things can go wrong. > > One caveat about dump though. If one of your filesystems contains just one big > database in a huge file, dump will copy the whole file even if just one byte > has changed. In such a case you should see if the database has tools to just > copy the records changed since the last backup and use that instead. > > > Roland > -- > 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) From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 00:51:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EE261065670 for ; Fri, 18 Dec 2009 00:51:07 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 5EA718FC08 for ; Fri, 18 Dec 2009 00:51:07 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NLR3f-00030Q-Fs for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 00:51:06 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NLR3e-00071j-IS for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 00:51:03 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBI0p28m051076 for ; Fri, 18 Dec 2009 00:51:02 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBI0p2jf051075 for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 00:51:02 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 18 Dec 2009 00:51:02 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20091218005102.GA51064@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Subject: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 00:51:07 -0000 I'm creating binary files in fortran. Fortran adds 4 byte record delimiters at the beginning and the end of each record, which, in the case of a binary file, is just at the beginning and at the end of the file. I need to delete these record delimiters, because the software I use to visualise the binary files interprets them as data. But I don't know how. I've looked at hexdump and od, but those are only dumping (I think) file contents, and I cannot see how to edit a file with them. Any advice? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 01:10:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 320F6106566C for ; Fri, 18 Dec 2009 01:10:01 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id D97D08FC12 for ; Fri, 18 Dec 2009 01:10:00 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C001CBD907 for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 02:09:58 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtZ4AH1lKktV44PPPGdsb2JhbACBS4cgkCWCSAEBAQE3uh2ELQSNKg X-IronPort-AV: E=Sophos;i="4.47,416,1257116400"; d="scan'208";a="17085968" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb1.telenor.se with ESMTP; 18 Dec 2009 02:09:58 +0100 Message-ID: <4B2AD666.9090404@lazlarlyricon.com> Date: Fri, 18 Dec 2009 02:09:58 +0100 From: Rolf Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Anton Shterenlikht References: <20091218005102.GA51064@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20091218005102.GA51064@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 01:10:01 -0000 Anton Shterenlikht wrote: > I'm creating binary files in fortran. > Fortran adds 4 byte record delimiters at the beginning > and the end of each record, which, in the case of a binary > file, is just at the beginning and at the end of the file. > I need to delete these record delimiters, because the > software I use to visualise the binary files interprets > them as data. But I don't know how. I've looked at > hexdump and od, but those are only dumping (I think) > file contents, and I cannot see how to edit a file with them. > > Any advice? > > many thanks > anton > Hello Anton, My bet would be /usr/ports/editors/hexedit. Been a while since I've used it, but AFAIR, it has a curses or a curses like interface, and it's fairly simple to use, yet sufficiently powerful for most normal binary editing. If you want a GUI, I believe gnome (and probably KDE as well) has its own hex editor. Good luck, Rolf From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 01:29:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 060F0106566C for ; Fri, 18 Dec 2009 01:29:24 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id B76278FC13 for ; Fri, 18 Dec 2009 01:29:23 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NLRei-0002tq-3s; Fri, 18 Dec 2009 01:29:22 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NLReg-0007Gb-Q6; Fri, 18 Dec 2009 01:29:19 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBI1TIWQ080729; Fri, 18 Dec 2009 01:29:18 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBI1TIne080721; Fri, 18 Dec 2009 01:29:18 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 18 Dec 2009 01:29:18 +0000 From: Anton Shterenlikht To: Rolf Nielsen Message-ID: <20091218012918.GA71118@mech-cluster241.men.bris.ac.uk> References: <20091218005102.GA51064@mech-cluster241.men.bris.ac.uk> <4B2AD666.9090404@lazlarlyricon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B2AD666.9090404@lazlarlyricon.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.4 X-Spam-Level: ---- Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 01:29:24 -0000 On Fri, Dec 18, 2009 at 02:09:58AM +0100, Rolf Nielsen wrote: > Anton Shterenlikht wrote: > > I'm creating binary files in fortran. > > Fortran adds 4 byte record delimiters at the beginning > > and the end of each record, which, in the case of a binary > > file, is just at the beginning and at the end of the file. > > I need to delete these record delimiters, because the > > software I use to visualise the binary files interprets > > them as data. But I don't know how. I've looked at > > hexdump and od, but those are only dumping (I think) > > file contents, and I cannot see how to edit a file with them. > > > > Any advice? > > > > many thanks > > anton > > > > Hello Anton, > > My bet would be /usr/ports/editors/hexedit. Been a while since I've used > it, but AFAIR, it has a curses or a curses like interface, and it's > fairly simple to use, yet sufficiently powerful for most normal binary > editing. If you want a GUI, I believe gnome (and probably KDE as well) > has its own hex editor. thank you. hexedit does the job on small files, but is quite clunky. If I've a xGB file and I need to delete the first and the last record, this becomes quite hard, if at all possible. I didn't appreciate it's not that simple. Perhaps I can read a file with C and write back? I can't remember if C supports binary files, and whether it also writes some record delimiters. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 01:34:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E20061065672 for ; Fri, 18 Dec 2009 01:34:22 +0000 (UTC) (envelope-from lostlogic@lostlogicx.com) Received: from erudite.lostlogicx.com (erudite.lostlogicx.com [74.208.67.179]) by mx1.freebsd.org (Postfix) with ESMTP id B1F108FC19 for ; Fri, 18 Dec 2009 01:34:22 +0000 (UTC) Received: by erudite.lostlogicx.com (Postfix, from userid 1001) id 36C1A279D3; Thu, 17 Dec 2009 17:34:22 -0800 (PST) Date: Thu, 17 Dec 2009 17:34:22 -0800 From: Brandon Low To: freebsd-questions@freebsd.org Message-ID: <20091218013422.GI73162@lostlogicx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline X-Operating-System: FreeBSD 8.0-RELEASE amd64 User-Agent: Mutt/1.5.20 (2009-06-14) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RFC: Fam/Python based script for bruteforce blocking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 01:34:23 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I'm pretty new to FreeBSD, but when I saw how neatly it supported file-backed tables for IP blocking I knew I'd finally want to build a bruteforce blocking script that I'd long wanted to create on Linux. This script is loosely based on the perl script for the same purpose from http://home.earthlink.net/~valiantsoul/pf.html . My script, in contrast to the above, runs as a daemon and is completely self contained other than the blacklist file. Of course it's up to the user to create the bruteforce table in pf and to do something useful with it, but once that's done just running the bruteforce.py daemon will take care of the rest. I've attached the script and my pf.conf. The only other requirements other than python are py-fam and (of course) a configured fam. I'd love to hear other people's feedback on this approach of using FAM + auth.log to implement this and/or to hear of other superior approaches to achieving this result. Thanks for reading, --Brandon --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pf.conf" table persist file "/var/db/blacklist" table persist file "/var/db/friendlist" block in all pass in on nfe0 proto tcp from any to any port 22 keep state pass in on nfe0 proto tcp from any to any port 80 keep state pass in on nfe0 proto tcp from any to any port 443 keep state pass in on nfe0 proto tcp from any to any port 25 keep state pass in on nfe0 proto tcp from any to any port 465 keep state pass in on nfe0 proto tcp from any to any port 993 keep state pass in on nfe0 proto udp from any to any port 53 pass in on nfe0 proto tcp from any to any port 53 keep state pass in on nfe0 proto udp from any to any port 123 pass in on nfe0 proto icmp block from pass from pass on lo0 pass out all keep state --17pEHd4RhPHOinZp-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 01:35:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A904A106568B for ; Fri, 18 Dec 2009 01:35:55 +0000 (UTC) (envelope-from lostlogic@lostlogicx.com) Received: from erudite.lostlogicx.com (erudite.lostlogicx.com [74.208.67.179]) by mx1.freebsd.org (Postfix) with ESMTP id 6D30F8FC0C for ; Fri, 18 Dec 2009 01:35:55 +0000 (UTC) Received: by erudite.lostlogicx.com (Postfix, from userid 1001) id 1A9C1279E5; Thu, 17 Dec 2009 17:35:55 -0800 (PST) Date: Thu, 17 Dec 2009 17:35:55 -0800 From: Brandon Low To: freebsd-questions@freebsd.org Message-ID: <20091218013555.GJ73162@lostlogicx.com> References: <20091218013422.GI73162@lostlogicx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091218013422.GI73162@lostlogicx.com> X-Operating-System: FreeBSD 8.0-RELEASE amd64 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: RFC: Fam/Python based script for bruteforce blocking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 01:35:55 -0000 Not sure why this didn't attach the first time. #!/usr/bin/env python import errno import logging import optparse import os import re import select import signal import subprocess import sys import time import datetime import _fam def getUpdateBlocks(pfctl, expire_seconds, blacklist_filename, table, limit_n): expire=str(expire_seconds) blacklist=blacklist_filename limit=limit_n baseArgs=(pfctl, '-t', table, '-T') def callAndLog(*args, **kwargs): c=subprocess.Popen(baseArgs + args, stderr=subprocess.PIPE, stdout=kwargs.get('stdout',subprocess.PIPE)) stdout,stderr=c.communicate() if stdout: logging.info(stdout) for line in (stderr if stderr else '').split('\n'): if not line: continue getattr(logging,'info' if line.find('ALTQ') < 0 else 'debug')(line) reParts=('(.*) erudite sshd\[[0-9]+\]: ', '(?:', '|'.join(('Invalid user .* from', 'Did not receive identification string from', 'error: PAM: authentication error for root from')), ') ', '(', '(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}', '(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)', ')\n?') r=re.compile(''.join(reParts)) df='%b %d %H:%M:%S' oneDay=datetime.timedelta(days=1) def processFile(now, ips, filename): with open(filename, 'r') as f: for line in f: m=r.match(line) if not m: continue d=datetime.datetime.strptime(m.group(1),df).replace(now.year) if d > now: d=d.replace(now.year-1) if now-d < oneDay: ips[m.group(2)]=ips.get(m.group(2),0) + 1 def updateBlocks(filename): logging.info("Updating blacklist...") ips={} now=datetime.datetime.now() processFile(now, ips, filename) logging.debug("Found %s IPs", len(ips)) logging.debug("Adding ips to pf table") callAndLog('add', *tuple(k for k,v in ips.iteritems() if v >= limit)) logging.debug("Expiring ips from pf table") callAndLog('expire', expire) logging.debug("Saving table state to file") with open(blacklist,'w') as blacklistFile: callAndLog('show', stdout=blacklistFile) logging.debug("Done") return updateBlocks def main(): parser=optparse.OptionParser() parser.add_option("-d", "--debug", action="store_true", help="Enable debug logging") parser.add_option("-a", "--auth_log", default="/var/log/auth.log", help="Authentication log filename") parser.add_option("-b", "--blacklist", default="/var/db/blacklist", help="Blacklist filename") parser.add_option("-l", "--log_file", default="/var/log/bruteforce.log", help="Log filename") parser.add_option("-p", "--pfctl", default="/sbin/pfctl", help="pfctl binary") parser.add_option("-e", "--expire", type="int", default=604800, help="Seconds to hold a grudge") parser.add_option("-t", "--table", default="bruteforce", help="Name of pf table to work on") parser.add_option("-i", "--limit", type="int", default=2, help="Number of invalid logins to get blacklisted") (opts, args)=parser.parse_args() if args: optparse.error("No non-option arguments expected") logging.basicConfig(filename=opts.log_file, level=logging.DEBUG if opts.debug else logging.INFO) fc=_fam.open() p=select.poll() p.register(fc, select.POLLIN|select.POLLPRI) fr=fc.monitorFile(opts.auth_log, None) updateBlocks=getUpdateBlocks( opts.pfctl, opts.expire, opts.blacklist, opts.table, opts.limit) while True: p.poll(60) update=False while fc.pending(): fe=fc.nextEvent() if fe.code in (_fam.Exists,_fam.Changed,_fam.Created): update=True if not fe.filename==opts.auth_log: raise "FAM event: wrong file" if update: updateBlocks(fe.filename) if __name__ == "__main__": main() From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 01:36:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6227510656F1 for ; Fri, 18 Dec 2009 01:36:04 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id 1901A8FC2C for ; Fri, 18 Dec 2009 01:36:03 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C001CBFCB7 for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 02:36:02 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai9kAE5rKktV44PPPGdsb2JhbACBS5oLAQEBATe6NYQtBI0q X-IronPort-AV: E=Sophos;i="4.47,416,1257116400"; d="scan'208";a="17093848" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb1.telenor.se with ESMTP; 18 Dec 2009 02:36:02 +0100 Message-ID: <4B2ADC81.50903@lazlarlyricon.com> Date: Fri, 18 Dec 2009 02:36:01 +0100 From: Rolf Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Anton Shterenlikht References: <20091218005102.GA51064@mech-cluster241.men.bris.ac.uk> <4B2AD666.9090404@lazlarlyricon.com> <20091218012918.GA71118@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20091218012918.GA71118@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 01:36:04 -0000 Anton Shterenlikht wrote: > On Fri, Dec 18, 2009 at 02:09:58AM +0100, Rolf Nielsen wrote: >> Anton Shterenlikht wrote: >>> I'm creating binary files in fortran. >>> Fortran adds 4 byte record delimiters at the beginning >>> and the end of each record, which, in the case of a binary >>> file, is just at the beginning and at the end of the file. >>> I need to delete these record delimiters, because the >>> software I use to visualise the binary files interprets >>> them as data. But I don't know how. I've looked at >>> hexdump and od, but those are only dumping (I think) >>> file contents, and I cannot see how to edit a file with them. >>> >>> Any advice? >>> >>> many thanks >>> anton >>> >> Hello Anton, >> >> My bet would be /usr/ports/editors/hexedit. Been a while since I've used >> it, but AFAIR, it has a curses or a curses like interface, and it's >> fairly simple to use, yet sufficiently powerful for most normal binary >> editing. If you want a GUI, I believe gnome (and probably KDE as well) >> has its own hex editor. > > thank you. hexedit does the job on small files, but is quite > clunky. If I've a xGB file and I need to delete the first and > the last record, this becomes quite hard, if at all possible. > > I didn't appreciate it's not that simple. > > Perhaps I can read a file with C and write back? I can't > remember if C supports binary files, and whether it > also writes some record delimiters. > > many thanks > anton > How about one of these then? http://www.freebsd.org/cgi/url.cgi?ports/editors/bless/pkg-descr Main Features ------------- * Efficient editing of large data files. * Multilevel undo - redo operations. * Customizable data views. * Fast data rendering on screen. http://www.freebsd.org/cgi/url.cgi?ports/editors/lfhex/pkg-descr Features: - Low memory usage with respect to filesize. Opening a 2gig file requires only ~1.4megs of additional memory. - Fast load times. - Fast save times. - Infinite undo/redo. - Conversion dialog - Search function. - Shows modified regions in alternate color. - Scalable working area. Resize can use as much screen as you give it. - Multiple editing modes (can switch on the fly) - Runtime configurable bytes per column. - binary comparison user interface I haven't tried either of them myself, but they do look promising. Rolf From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 01:38:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C079F10656D1 for ; Fri, 18 Dec 2009 01:38:11 +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 7781E8FC13 for ; Fri, 18 Dec 2009 01:38:11 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBI1c4As053948; Thu, 17 Dec 2009 18:38:04 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBI1c4NX053945; Thu, 17 Dec 2009 18:38:04 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 17 Dec 2009 18:38:04 -0700 (MST) From: Warren Block To: Anton Shterenlikht In-Reply-To: <20091218005102.GA51064@mech-cluster241.men.bris.ac.uk> Message-ID: References: <20091218005102.GA51064@mech-cluster241.men.bris.ac.uk> 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]); Thu, 17 Dec 2009 18:38:04 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 01:38:11 -0000 On Fri, 18 Dec 2009, Anton Shterenlikht wrote: > I'm creating binary files in fortran. > Fortran adds 4 byte record delimiters at the beginning > and the end of each record, which, in the case of a binary > file, is just at the beginning and at the end of the file. > I need to delete these record delimiters, because the > software I use to visualise the binary files interprets > them as data. But I don't know how. I've looked at > hexdump and od, but those are only dumping (I think) > file contents, and I cannot see how to edit a file with them. truncate -4 myfile should get rid of the last four bytes. Maybe there's a similar efficient way to truncate the start of a file. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 01:39:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EC921065672 for ; Fri, 18 Dec 2009 01:39:05 +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 E0BF28FC20 for ; Fri, 18 Dec 2009 01:39:04 +0000 (UTC) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 17 Dec 2009 20:39:04 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.10.7-GA) with ESMTP id LHT92090; Thu, 17 Dec 2009 20:39:03 -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; 17 Dec 2009 20:39:04 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19242.56630.675326.874897@jerusalem.litteratus.org> Date: Thu, 17 Dec 2009 20:39:02 -0500 To: Brandon Low In-Reply-To: <20091218013555.GJ73162@lostlogicx.com> References: <20091218013422.GI73162@lostlogicx.com> <20091218013555.GJ73162@lostlogicx.com> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: Re: RFC: Fam/Python based script for bruteforce blocking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 01:39:05 -0000 Brandon Low writes: > Not sure why this didn't attach the first time. The FreeBSD mailing list software is set to scrub all attachments as a security measure. To makew material available, post it in-line, or post a URL. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 01:45:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3CC610656A3 for ; Fri, 18 Dec 2009 01:45:09 +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 BF87C8FC14 for ; Fri, 18 Dec 2009 01:45:09 +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 1NLRtv-0002rm-KD; Thu, 17 Dec 2009 20:45:08 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 906BB38E59B7; Thu, 17 Dec 2009 20:45:03 -0500 (EST) Message-ID: <4B2ADE9E.6080707@FreeBSD.org> Date: Thu, 17 Dec 2009 20:45:02 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Warren Block References: <20091218005102.GA51064@mech-cluster241.men.bris.ac.uk> 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: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: editing a binary file 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, 18 Dec 2009 01:45:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Warren Block wrote: > On Fri, 18 Dec 2009, Anton Shterenlikht wrote: > >> I'm creating binary files in fortran. >> Fortran adds 4 byte record delimiters at the beginning >> and the end of each record, which, in the case of a binary >> file, is just at the beginning and at the end of the file. >> I need to delete these record delimiters, because the >> software I use to visualise the binary files interprets >> them as data. But I don't know how. I've looked at >> hexdump and od, but those are only dumping (I think) >> file contents, and I cannot see how to edit a file with them. > > truncate -4 myfile should get rid of the last four bytes. Maybe there's > a similar efficient way to truncate the start of a file. > > -Warren Block * Rapid City, South Dakota USA This should do it: dd if=oldfile of=newfile bs=1 skip=4 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/ iD8DBQFLKt6e0sRouByUApARAt0uAJ9CfG3DmsUbrUMg7hX2dIT+FOZ1sACfQtaD b7z5vvm/+vohelNIch1/ME8= =Zp5i -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 01:57:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 215031065670 for ; Fri, 18 Dec 2009 01:57:01 +0000 (UTC) (envelope-from reggie@busicast.com) Received: from twosensemedia.com (busicast.com [69.15.36.138]) by mx1.freebsd.org (Postfix) with ESMTP id DEDD88FC08 for ; Fri, 18 Dec 2009 01:57:00 +0000 (UTC) Received: from [10.0.1.3] (HELO S0030153310) by twosensemedia.com (CommuniGate Pro SMTP 5.2.1) with SMTP id 9890049 for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 19:54:20 -0500 Message-ID: <006001ca7f7d$0279b290$8bcd1ea8@S0030153310> From: "Reggie Euser" To: Date: Thu, 17 Dec 2009 19:57:01 -0500 X-Unsent: 1 MIME-Version: 1.0 X-Vipre-Scanned: 0BBD5A7B0015BE0BBD5BC8-TDI Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3598 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Subject: /libexec/ld-elf.so.1: /usr/local/bin/postgres: Undefined symbol "shmctl" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 01:57:01 -0000 Have been running FreeBSD 7.1 for months with PostgreSQL 8.3. All fine. Today, made a change to hosts.allow to add an IP address for FTP access. Rebooted and attempted to restart PostgreSQL. Postgres wouldn't start and left this error in the log file: /libexec/ld-elf.so.1: /usr/local/bin/postgres: Undefined symbol "shmctl" Have Googled & IRC'd with no luck. Any suggestions or ideas about how to fix would be greatly appreciated! Thanks! From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 02:07:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AE331065692 for ; Fri, 18 Dec 2009 02:07:05 +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 EBA2E8FC08 for ; Fri, 18 Dec 2009 02:07:04 +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 1NLSF8-00031y-9i; Thu, 17 Dec 2009 21:07:03 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 30AF838E5C33; Thu, 17 Dec 2009 21:06:58 -0500 (EST) Message-ID: <4B2AE3C0.2040501@FreeBSD.org> Date: Thu, 17 Dec 2009 21:06:56 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Reggie Euser References: <006001ca7f7d$0279b290$8bcd1ea8@S0030153310> In-Reply-To: <006001ca7f7d$0279b290$8bcd1ea8@S0030153310> 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.2 (/) Cc: freebsd-questions@freebsd.org Subject: Re: /libexec/ld-elf.so.1: /usr/local/bin/postgres: Undefined symbol "shmctl" 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, 18 Dec 2009 02:07:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Reggie Euser wrote: > Have been running FreeBSD 7.1 for months with PostgreSQL 8.3. All fine. > > Today, made a change to hosts.allow to add an IP address for FTP access. > Rebooted and attempted to restart PostgreSQL. Postgres wouldn't start > and left this error in the log file: > > /libexec/ld-elf.so.1: /usr/local/bin/postgres: Undefined symbol "shmctl" > > Have Googled & IRC'd with no luck. Any suggestions or ideas about how to > fix would be greatly appreciated! > > Thanks! Hi Reggie, Have you upgraded your system with freebsd-update or csup recently? Did you install PostgreSQL from a binary package or build it in the ports tree? This is a thread from someone with the same problem, although a different application: http://forums.freebsd.org/showthread.php?t=6661 It sounds like a fresh rebuild from the ports tree might fix the problem, but YMMV. 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/ iD8DBQFLKuPA0sRouByUApARAuRKAJ9QiaXdVXBCRJAz7b6IMfxnryAPQACcC+kP TNjkV1uqamolmrY0+2W8brc= =Ewsl -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 02:45:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB70F106566B for ; Fri, 18 Dec 2009 02:45:48 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 244078FC0C for ; Fri, 18 Dec 2009 02:45:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id nBI2jd7C064110; Fri, 18 Dec 2009 13:45:46 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 18 Dec 2009 13:45:39 +1100 (EST) From: Ian Smith To: Gary Kline In-Reply-To: <20091217163447.EBF3010656F5@hub.freebsd.org> Message-ID: <20091218124159.Q12012@sola.nimnet.asn.au> References: <20091217163447.EBF3010656F5@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 02:45:48 -0000 In freebsd-questions Digest, Vol 289, Issue 4, Message 14 On Sat, 12 Dec 2009 15:32:07 -0800 Gary Kline wrote: > ariatotle is offline; i'm exclusively on my new server. will > somebody please do a digg thought.org and see if they see what i see? > > hope i get this..... At this moment just seeing SERVFAIL for thought.org, and (thus) its listed nameservers at your registrar: Name Server:NS1.THOUGHT.ORG Name Server:ETHIC.THOUGHT.ORG ======= smithi on sola% dig thought.org ; <<>> DiG 9.3.4-P1 <<>> thought.org ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 20499 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;thought.org. IN A ;; Query time: 4730 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Dec 18 12:35:32 2009 ;; MSG SIZE rcvd: 29 ======= That's from Australia (as good as anywhere else in this regard :) It's a bit fraught, and not recommended (indeed, frowned upon by RFCs), to have both/all of your domain nameserver IPs on one physical network. I know you had too many before, but if you know someone who can and will provide secondary/slave DNS for you, with a decent expiry time you can be offline for longish periods without your domain disappearing from view, even if your mail/web//etc servers are temporarily offline. Rather than having to ask others to look it up, try locating some public recursive nameserver that you can use, maybe provided by your ISP, let's call it ns1.example.org .. then (assuming basic connectivity) you can: % dig @ns1.example.org [whatever.]thought.org [a|ns|soa|mx|..] to check visibility for yourself while you're tinkering with your DNS, remembering to allow time for changes to propagate. So it's best to be running a short default TTL (say 3600 seconds) until you're running ok, then once OK increase it to something more reasonable, say 1 day. Don't forget to increase your zone's serial number with each change to your configuration, or slave servers won't notice and fetch updates. If in doubt, it never hurts to bump the serial and restart named. Use the standard format so you never use a smaller integer than before, eg 2009121801 for the first update today. Check the supplied HTML docs. Ensure that your firewall allows both TCP and UDP connections inbound on port 53 on each of your externally accessible nameservers, and of course allows response traffic outbound. cheers, Ian PS because thought.org is SERVFAIL at the mo, you won't get this mail direct till the domain reappears here. It'll be queued for two days. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 03:40:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E2B61065670 for ; Fri, 18 Dec 2009 03:40:13 +0000 (UTC) (envelope-from ulrich@pukruppa.net) Received: from pukruppa.net (pukruppa.net [213.146.114.24]) by mx1.freebsd.org (Postfix) with ESMTP id 9B4C68FC14 for ; Fri, 18 Dec 2009 03:40:11 +0000 (UTC) Received: from pukruppa.net (localhost [127.0.0.1]) by pukruppa.net (8.14.3/8.14.3) with ESMTP id nBI3g03a031952; Fri, 18 Dec 2009 04:42:00 +0100 (CET) (envelope-from ulrich@pukruppa.net) Received: (from ulrich@localhost) by pukruppa.net (8.14.3/8.14.3/Submit) id nBI3fxs8031951; Fri, 18 Dec 2009 04:41:59 +0100 (CET) (envelope-from ulrich@pukruppa.net) From: Peter Ulrich Kruppa To: Lowell Gilbert In-Reply-To: <44zl5kh161.fsf@lowell-desk.lan> References: <1260724128.2007.16.camel@pukruppa.net> <44zl5kh161.fsf@lowell-desk.lan> Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable Date: Fri, 18 Dec 2009 04:41:58 +0100 Message-ID: <1261107718.31852.10.camel@pukruppa.net> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 FreeBSD GNOME Team Port Cc: FreeBsd-Questions Subject: Re: cups-1.4.2 usb printer not recognized X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 03:40:13 -0000 Am Dienstag, den 15.12.2009, 07:28 -0500 schrieb Lowell Gilbert: > Peter Ulrich Kruppa writes: >=20 > > since my update to cups-1.4.2 I can't print anymore :-( > > > > I have got a HP Deskjet 990 Cxi attached to an USB port. > > My system is a FreeBSD 8.0 -STABLE amd64. > > =20 > > I can cat some words to /dev/ulpt0 but that's about all. > > > > When I access http://localhost:631 no local printer will show up. > > > > Any ideas? >=20 > I'm still not on 8, but I understand that ulpt is no longer appropriate > with the new USB stack and libusb. Remove ulpt from the kernel and I > think you'll find CUPS detects the printer properly. Hm,...yes after some deinstalling/reinstalling and kernel building=20 now cups will find this: hp:/usb/Deskjet_990C?serial=3DES0731D00XLG But when I try to print the test page I get this error message: "/usr/local/libexec/cups/backend/hp failed" (I am running hplip-3.9.8 backend.) Any more ideas? Thanks Uli. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 03:50:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED421106566C for ; Fri, 18 Dec 2009 03:50:23 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-13.bluehost.com (outbound-mail-13.bluehost.com [69.89.18.113]) by mx1.freebsd.org (Postfix) with SMTP id B5FD28FC16 for ; Fri, 18 Dec 2009 03:50:23 +0000 (UTC) Received: (qmail 9636 invoked by uid 0); 18 Dec 2009 03:50:23 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy1.bluehost.com with SMTP; 18 Dec 2009 03:50:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=fegltMsc3A3IZ0z02q0Ifo6gGIagBnUd2lGI5AiRcQnB1zTWSPY9m9i3LMG0KjoC4ofjytZWiQKe272LLhLK0EiiTbb80YZEDS98ScRIaGocKD5xtyNCw71CqM923jGS; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NLTrB-00060A-Us for freebsd-questions@freebsd.org; Thu, 17 Dec 2009 20:50:23 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Thu, 17 Dec 2009 20:43:08 -0700 Date: Thu, 17 Dec 2009 20:43:08 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20091218034308.GB36630@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <4B295D72.2030804@pdc4u.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NDin8bjvE/0mNLFQ" Content-Disposition: inline In-Reply-To: <4B295D72.2030804@pdc4u.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: Simple Monitoring Of TCP/IP 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: Fri, 18 Dec 2009 03:50:24 -0000 --NDin8bjvE/0mNLFQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 16, 2009 at 03:21:38PM -0700, Michael Goodell wrote: > Hello . . . >=20 > Looking for a *simple* protocol monitoring solution to test connectivity= =20 > of various facets of a system, i.e. HTTP / HTTPS / POP3 / SMTP etc. I am= =20 > not looking, and don't want to install a *heavy* application like Nagios= =20 > etc, but rather something much more simple. >=20 > I have seen checkservice (/usr/ports/sysutils/checkservice) in the past= =20 > and that looked quite simple to implement. Another question is there=20 > anything more preferred that checkservice that anyone knows about? >=20 > Thank you in advance for any direction. Does tcpdump do what you need? It's pretty slim (makes Wireshark look huge by comparison) and easily scripted (since it's a command line tool). --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --NDin8bjvE/0mNLFQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksq+kwACgkQ9mn/Pj01uKVb5ACgwPRfMePnS+9ruOTPJ3Qzpl0c E/4An1uLj6t8pXl5+bKB5gl3pOIs24UQ =oQPP -----END PGP SIGNATURE----- --NDin8bjvE/0mNLFQ-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 05:08:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3A40106566C for ; Fri, 18 Dec 2009 05:08:04 +0000 (UTC) (envelope-from ryan.ware@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 73CF38FC1B for ; Fri, 18 Dec 2009 05:08:04 +0000 (UTC) Received: by pwi15 with SMTP id 15so1863541pwi.3 for ; Thu, 17 Dec 2009 21:08:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type; bh=aLTG3KdCHvU9W9LPuCjLenS3Lp0rQjP67qsWzMo9CJk=; b=sXxbS9BHKMAQXVYJmClLoNW/dKWy1/AkM30FECgqH5S6i/fZQcOM1Bh5JrwZSFd5ZV g/k7hgvIS0zXk9fikEk9IZzga8O5V4gJA6/KkABCNDpEcLpPyeiNatJrVeMoQcDHfQ05 E528h8pv2WPoEP3OV9FTAYuF6E692B6+btQ6E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; b=s8/sOkCC+ygU5e7pvRXN66xK6MKO3EB9Kr63laSm1tdU6OcHakX0lOFGzcYQIxW6lE 0RIX9J/naESZkkjc99Xpe12FNrS0iMkrI/DezBBvUY5lqLiodbefRxej/NoeWv97ZV9t Qxvf9OOdtINz1gbOlRzHIVcAc6MzVyk8KPbW4= Received: by 10.141.13.5 with SMTP id q5mr2375696rvi.223.1261111193886; Thu, 17 Dec 2009 20:39:53 -0800 (PST) Received: from ?192.168.1.7? (pool-98-108-131-208.ptldor.fios.verizon.net [98.108.131.208]) by mx.google.com with ESMTPS id 23sm2057624pzk.0.2009.12.17.20.39.52 (version=SSLv3 cipher=RC4-MD5); Thu, 17 Dec 2009 20:39:53 -0800 (PST) Message-ID: <4B2B0790.2010005@gmail.com> Date: Thu, 17 Dec 2009 20:39:44 -0800 From: Ryan Ware User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Confusion About "FreeBSD now supports host and guest modes in VirtualBox" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 05:08:04 -0000 Maybe someone here can distribute some enlightenment. In the press release for 8.0 it says, "FreeBSD now supports host and guest modes in VirtualBox". I understand what the host mode support is with the VirtualBox port. What I don't understand is what support for guest mode is. I don't see anything anywhere about guest additions. As far as I can tell, guest support seems to consist of simply allowing the kernel to run in VirtualBox. Am I missing something? Thanks, Ryan From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 06:07:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF867106566B for ; Fri, 18 Dec 2009 06:07:15 +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 DF6CD8FC16 for ; Fri, 18 Dec 2009 06:07:13 +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 nBHLjuHl016072; Thu, 17 Dec 2009 13:45:56 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 17 Dec 2009 13:45:57 -0800 (PST) Date: Thu, 17 Dec 2009 13:45:56 -0800 From: Gary Kline To: Polytropon Message-ID: <20091217214556.GA18736@thought.org> References: <20091212233205.GA14918@thought.org> <20091217155220.f7a8a798.freebsd@edvax.de> <20091217145843.000023ef@unknown> <20091217170026.GA5902@ei.bzerk.org> <20091217172016.GC93764@slackbox.xs4all.nl> <20091217184217.29a8b4fd.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091217184217.29a8b4fd.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-3.3 required=3.6 tests=ALL_TRUSTED,BAYES_00, URIBL_RHS_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Roland Smith , FreeBSD Questions Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 06:07:16 -0000 On Thu, Dec 17, 2009 at 06:42:17PM +0100, Polytropon wrote: > On Thu, 17 Dec 2009 18:20:16 +0100, Roland Smith wrote: > > But if I try the new server; > > > > # host ethic.thought.org > > Host ethic.thought.org not found: 3(NXDOMAIN) > > # ping ethic.thought.org > > ping: cannot resolve ethic.thought.org: Unknown host > > Here, now: > > % host ethic.thought.org > ethic.thought.org has address 209.180.213.210 > Host ethic.thought.org not found: 3(NXDOMAIN) > Host ethic.thought.org not found: 3(NXDOMAIN) > > And I can now ping it, as well as aristotle and plato. > > > how about this, guys: p1 13:38 [5098] dig thought.org; host thought.org ; <<>> DiG 9.4.3-P1 <<>> thought.org ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42473 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;thought.org. IN A ;; AUTHORITY SECTION: thought.org. 38400 IN SOA ethic.thought.org. hostmaster.thought.org. 2009121201 10800 3600 604800 38400 ;; Query time: 0 msec ;; SERVER: 10.47.0.230#53(10.47.0.230) ;; WHEN: Thu Dec 17 13:39:08 2009 ;; MSG SIZE rcvd: 82 thought.org mail is handled by 10 ethic.thought.org. p1 13:39 [5099] the above is what i have seen since around 20:45 last sunday. i'm guessing it has taken this long to spread worldwide. gary ps: having had aristotle [my antique --1998-- kayak] slow, surely disintegrate day-by-day forced the scramble to the new dell, ethic. Now iti is up to me to *avoid* future messes.... > -- > 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" -- 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 Fri Dec 18 06:07:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6365C106566C for ; Fri, 18 Dec 2009 06:07:16 +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 205A88FC17 for ; Fri, 18 Dec 2009 06:07:16 +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 nBHKnAhP015753; Thu, 17 Dec 2009 12:49:10 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 17 Dec 2009 12:49:10 -0800 (PST) Date: Thu, 17 Dec 2009 12:49:10 -0800 From: Gary Kline Message-ID: <20091217204910.GB18408@thought.org> References: <20091212233205.GA14918@thought.org> <20091217155220.f7a8a798.freebsd@edvax.de> <20091217145843.000023ef@unknown> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091217145843.000023ef@unknown> 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.4 required=3.6 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_43, MISSING_HEADERS, URIBL_RHS_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Polytropon , FreeBSD Questions Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 06:07:16 -0000 On Thu, Dec 17, 2009 at 02:58:43PM +0000, Bruce Cran wrote: > On Thu, 17 Dec 2009 15:52:20 +0100 > Polytropon wrote: > > > Gary, > > > > seems that my MX has problems with thought.org, that's why > > I'm repeating my reply on the list, I hope you can receive > > it this way. > > > > The MX said: > > > > : Host or domain name not found. > > Name service error for > > name=ethic.thought.org type=A: Host not found > > It looks like the server is EHLO'ing as ethic.thought.org but is > actually plato.thought.org. > Yes, (*sigh*) || ($#@%%!!&#). Exactly right. Last friday I thought everything has been moved _off_ aristotle and that ethic was serving web and DNS> Nope. I made small but very nice edits to one of my jottings, then didn't see my edits via firefox [and lynx]. That set me off like a madman to figure out what was going on. Sunday evening before everything was resolved. Still not certain that everything is right or exactly where the problem was. But aristotle is halted and I am back into learn mode. gary > -- > Bruce Cran -- 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 Fri Dec 18 07:19:57 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF92C106566B for ; Fri, 18 Dec 2009 07:19:57 +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 9E6B58FC0A for ; Fri, 18 Dec 2009 07:19:57 +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 nBI7JrhX001371 for ; Thu, 17 Dec 2009 23:19:53 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 17 Dec 2009 23:19:53 -0800 (PST) Date: Thu, 17 Dec 2009 23:19:53 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20091218071951.GA1687@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=-3.3 required=3.6 tests=ALL_TRUSTED,BAYES_00, URIBL_RHS_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Subject: help, plesae check everything you can... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 07:19:58 -0000 if this gets thru, i hope some of you can help me. i was trying to correct the couple things mentioned and all of a sudden i broke something in /etc/namedb/; then i seemed to fix it, one minute wife and daughter cannot get outside; then next time they can. there are some error from ethic that i do not understand. i'm appending out out from dmesg. hopefully some of you can give me some clues. thanks, gary PS: my internext connections are extremely slow. when things Do work; then then time-out. i'm stumped. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Attached 'dmesg' from ethic.thought.org Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-RELEASE-p4 #2: Sat Nov 21 05:52:04 PST 2009 root@ethic.thought.org:/usr/obj/usr/src/sys/ETHIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz (2793.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 Features=0xbfebfbff Features2=0x408e39d AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 3478716416 (3317 MB) avail memory = 3399557120 (3242 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 4 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, cf490000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 device_attach: acpi_hpet0 attach returned 12 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xff00-0xff07 mem 0xfdf00000-0xfdf7ffff,0xd0000000-0xdfffffff,0xfdb00000-0xfdbfffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 7164k stolen memory agp0: aperture size is 256M em0: port 0xfe00-0xfe1f mem 0xfdfc0000-0xfdfdffff,0xfdfff000-0xfdffffff irq 20 at device 25.0 on pci0 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:24:e8:17:88:61 uhci0: port 0xfd00-0xfd1f irq 16 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xfc00-0xfc1f irq 21 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xfb00-0xfb1f irq 19 at device 26.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xfdffe000-0xfdffe3ff irq 18 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pci0: at device 27.0 (no driver attached) uhci3: port 0xfa00-0xfa1f irq 23 at device 29.0 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb4: on uhci3 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 2 ports with 2 removable, self powered uhci4: port 0xf900-0xf91f irq 19 at device 29.1 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] usb5: on uhci4 usb5: USB revision 1.0 uhub5: on usb5 uhub5: 2 ports with 2 removable, self powered uhci5: port 0xf800-0xf81f irq 18 at device 29.2 on pci0 uhci5: [GIANT-LOCKED] uhci5: [ITHREAD] usb6: on uhci5 usb6: USB revision 1.0 uhub6: on usb6 uhub6: 2 ports with 2 removable, self powered ehci1: mem 0xfdffd000-0xfdffd3ff irq 23 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb7: EHCI version 1.0 usb7: companion controllers, 2 ports each: usb4 usb5 usb6 usb7: on ehci1 usb7: USB revision 2.0 uhub7: on usb7 uhub7: 6 ports with 6 removable, self powered umass0: on uhub7 pcib2: at device 30.0 on pci0 pci2: on pcib2 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xf700-0xf707,0xf600-0xf603,0xf500-0xf507,0xf400-0xf403,0xf300-0xf30f,0xf200-0xf20f irq 19 at device 31.2 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] pci0: at device 31.3 (no driver attached) atapci1: port 0xf000-0xf007,0xef00-0xef03,0xee00-0xee07,0xed00-0xed03,0xec00-0xec0f,0xeb00-0xeb0f irq 19 at device 31.5 on pci0 atapci1: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] ata5: on atapci1 ata5: [ITHREAD] acpi_tz0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 6164a2306004a23 device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 6164a2306004a23 device_attach: est1 attach returned 6 p4tcc1: on cpu1 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 device_attach: acpi_hpet0 attach returned 12 pmtimer0 on isa0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata0: [ITHREAD] ata1 at port 0x170-0x177,0x376 irq 15 on isa0 ata1: [ITHREAD] atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: on uhub1 kbd2 at ukbd0 ums0: on uhub1 ums0: 5 buttons and Z dir. Timecounters tick every 1.000 msec ad4: 476940MB at ata2-master SATA300 GEOM_LABEL: Label for provider ad4s1 is ufsid/4b047bd37d66bcd3. GEOM_LABEL: Label for provider ad4s2 is ufsid/4b047bdffc933b67. GEOM_LABEL: Label for provider ad4s4 is ufsid/4b047bd775058e20. (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 (probe0:umass-sim0:0:0:0): Medium not present (probe0:umass-sim0:0:0:0): Unretryable error (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 (probe0:umass-sim0:0:0:1): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:1): SCSI Status: Check Condition (probe0:umass-sim0:0:0:1): NOT READY asc:3a,0 (probe0:umass-sim0:0:0:1): Medium not present (probe0:umass-sim0:0:0:1): Unretryable error (probe0:umass-sim0:0:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0 (probe0:umass-sim0:0:0:2): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:2): SCSI Status: Check Condition (probe0:umass-sim0:0:0:2): NOT READY asc:3a,0 (probe0:umass-sim0:0:0:2): Medium not present (probe0:umass-sim0:0:0:2): Unretryable error (probe0:umass-sim0:0:0:3): TEST UNIT READY. CDB: 0 60 0 0 0 0 (probe0:umass-sim0:0:0:3): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:3): SCSI Status: Check Condition (probe0:umass-sim0:0:0:3): NOT READY asc:3a,0 (probe0:umass-sim0:0:0:3): Medium not present (probe0:umass-sim0:0:0:3): Unretryable error da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim0 bus 0 target 0 lun 2 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim0 bus 0 target 0 lun 3 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present acd0: DVDR at ata3-master SATA150 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s1a GEOM_LABEL: Label ufsid/4b047bd37d66bcd3 removed. GEOM_LABEL: Label for provider ad4s1 is ufsid/4b047bd37d66bcd3. GEOM_LABEL: Label ufsid/4b047bd775058e20 removed. GEOM_LABEL: Label for provider ad4s4 is ufsid/4b047bd775058e20. GEOM_LABEL: Label ufsid/4b047bdffc933b67 removed. GEOM_LABEL: Label for provider ad4s2 is ufsid/4b047bdffc933b67. GEOM_LABEL: Label ufsid/4b047bd37d66bcd3 removed. GEOM_LABEL: Label ufsid/4b047bd775058e20 removed. GEOM_LABEL: Label ufsid/4b047bdffc933b67 removed. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 07:23:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAC03106566C for ; Fri, 18 Dec 2009 07:23: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 546048FC0A for ; Fri, 18 Dec 2009 07:23:06 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 7961AEB47A5; Fri, 18 Dec 2009 09:23:05 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 67C5145308; Fri, 18 Dec 2009 09:23:05 +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 xhnJcL+Y1H86; Fri, 18 Dec 2009 09:23:05 +0200 (EET) Received: from kobe.laptop (ppp-94-64-214-218.home.otenet.gr [94.64.214.218]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 2CAAD452B6; Fri, 18 Dec 2009 09:23:05 +0200 (EET) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id nBI7N44V006650 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Dec 2009 09:23:04 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id nBI7N2ei006647; Fri, 18 Dec 2009 09:23:02 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Gary Kline References: <20091212233205.GA14918@thought.org> <20091217155220.f7a8a798.freebsd@edvax.de> <20091217145843.000023ef@unknown> <20091217204910.GB18408@thought.org> Date: Fri, 18 Dec 2009 09:23:01 +0200 In-Reply-To: <20091217204910.GB18408@thought.org> (Gary Kline's message of "Thu, 17 Dec 2009 12:49:10 -0800") Message-ID: <87zl5goiei.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Polytropon , FreeBSD Questions Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 07:23:06 -0000 On Thu, 17 Dec 2009 12:49:10 -0800, Gary Kline wrote: > But aristotle is halted and I am back into learn mode. This sentence probably belongs in a fortune cookie collection somewhere. Hah! :) From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 07:25:04 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91EFF106566C for ; Fri, 18 Dec 2009 07:25:04 +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 3F83A8FC0C for ; Fri, 18 Dec 2009 07:25:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 9092A3A3853; Fri, 18 Dec 2009 14:25:02 +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=1261121102; x= 1262935502; bh=LX1cS8DT3kalMoYz3Cx2V6w4D8lI6peZ91M/couKXbM=; b=N 9Z6s8s2oeKUKv2J9AXyFXlcVoP8KuSCFIA6oCToXCeKVp8lXhk1IpAliIJ/joT7I F/tMUtLturRQJc6EbyFhWn5IrUZw6EGYNuow0fWma91biM7hbXdi8z4A6QTArLcB o1YPjUAsb6bLS8XZgd3X/nm4TBWbY7An+Xagdd0Tnk= 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 th5ymT2MSgDQ; Fri, 18 Dec 2009 14:25:02 +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 DD7EA3A385A; Fri, 18 Dec 2009 14:25:01 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id nBI7P09x015994; Fri, 18 Dec 2009 14:25:00 +0700 (ICT) (envelope-from on) Date: Fri, 18 Dec 2009 14:25:00 +0700 (ICT) Message-Id: <200912180725.nBI7P09x015994@banyan.cs.ait.ac.th> From: Olivier Nicole To: kline@thought.org In-reply-to: <20091218071951.GA1687@thought.org> (message from Gary Kline on Thu, 17 Dec 2009 23:19:53 -0800) References: <20091218071951.GA1687@thought.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: help, plesae check everything you can... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 07:25:04 -0000 Hi, > if this gets thru, i hope some of you can help me. i was > trying to correct the couple things mentioned and all of a > sudden i broke something in /etc/namedb/; then i seemed to fix > it, > > one minute wife and daughter cannot get outside; then next > time they can. there are some error from ethic that i do not > understand. If you break something in /etc/namedb, it will probably make your DNS inoperant, then your wife/daughter cannot resolve names hence cannot access to outside. Olivier From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 07:49:23 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3E7C106566B for ; Fri, 18 Dec 2009 07:49:22 +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 C39268FC12 for ; Fri, 18 Dec 2009 07:49:21 +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 nBI7nCUl001628; Thu, 17 Dec 2009 23:49:12 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 17 Dec 2009 23:49:12 -0800 (PST) Date: Thu, 17 Dec 2009 23:49:12 -0800 From: Gary Kline To: Steve Bertrand Message-ID: <20091218074912.GB1761@thought.org> References: <20091212233205.GA14918@thought.org> <4B2A6B6C.1030509@ibctech.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B2A6B6C.1030509@ibctech.ca> 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=-3.3 required=3.6 tests=ALL_TRUSTED,BAYES_00, URIBL_RHS_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: FreeBSD Mailing List Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 07:49:23 -0000 On Thu, Dec 17, 2009 at 12:33:32PM -0500, Steve Bertrand wrote: > here. it was trying to resolve these faults when i somehow mucked things up. OR made them worse! > The only problems I see are that > > a) you don't have an a record for the domain name itself > b) both of your name servers are located on a single IP > > Steve oh: fwiw, im fired; i hear my bed singing its siren sogn... -g -- 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 Fri Dec 18 08:21:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A98F1065670 for ; Fri, 18 Dec 2009 08:21:02 +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 DC5138FC16 for ; Fri, 18 Dec 2009 08:21:01 +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 nBI7i20f001594; Thu, 17 Dec 2009 23:44:02 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 17 Dec 2009 23:44:02 -0800 (PST) Date: Thu, 17 Dec 2009 23:44:02 -0800 From: Gary Kline To: Giorgos Keramidas Message-ID: <20091218074402.GA1761@thought.org> References: <20091212233205.GA14918@thought.org> <20091217155220.f7a8a798.freebsd@edvax.de> <20091217145843.000023ef@unknown> <20091217204910.GB18408@thought.org> <87zl5goiei.fsf@kobe.laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87zl5goiei.fsf@kobe.laptop> 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=-3.3 required=3.6 tests=ALL_TRUSTED,BAYES_00, URIBL_RHS_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Polytropon , FreeBSD Questions Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 08:21:02 -0000 On Fri, Dec 18, 2009 at 09:23:01AM +0200, Giorgos Keramidas wrote: > On Thu, 17 Dec 2009 12:49:10 -0800, Gary Kline wrote: > > But aristotle is halted and I am back into learn mode. > > This sentence probably belongs in a fortune cookie collection > somewhere. Hah! :) > i hope at least mail gets thru to the list. i just sent a large file of frets and dmesg data. probbably zero fortune cookies there in, just hoping you and the rest of the list can figure out what my "improvements" did to make things time out... -- 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 Fri Dec 18 08:28:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 554CB1065670 for ; Fri, 18 Dec 2009 08:28:04 +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 B74188FC2C for ; Fri, 18 Dec 2009 08:28:03 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nBI8RpoB083533; Fri, 18 Dec 2009 08:27:52 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nBI8RpoB083533 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1261124872; bh=sOCAKX+EjGY2+re8T36YDaAnYoETq686akn2tTHNkZI=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B2B3D01.4050304@infracaninophile.co.uk>|Date:=20F ri,=2018=20Dec=202009=2008:27:45=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20Anton=20Shterenlikht=20|CC:= 20Rolf=20Nielsen=20,=20=0D=0A=20free bsd-questions@freebsd.org|Subject:=20Re:=20editing=20a=20binary=20 file|References:=20<20091218005102.GA51064@mech-cluster241.men.bri s.ac.uk>=09<4B2AD666.9090404@lazlarlyricon.com>=20<20091218012918. GA71118@mech-cluster241.men.bris.ac.uk>|In-Reply-To:=20<2009121801 2918.GA71118@mech-cluster241.men.bris.ac.uk>|X-Enigmail-Version:=2 00.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256= 3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20bound ary=3D"------------enigBD213151F79D075CCBE7A555"; b=JM0OiCwUsFE1lOP9Fx2j0RsGbNjGVYYCcgWRuxdvwQSgWMPpcLuGLoZu+s1KeI974 O68bMH3TiCnd+97v3nQjIZkxzf8ktnKvwGxP6sEWnHDezhHKdne5Ikk4JdJox2e83A IEVQ95DzIfIym63Z2GxTYY12kdngtqoeVKkhpdu0= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B2B3D01.4050304@infracaninophile.co.uk> Date: Fri, 18 Dec 2009 08:27:45 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Anton Shterenlikht References: <20091218005102.GA51064@mech-cluster241.men.bris.ac.uk> <4B2AD666.9090404@lazlarlyricon.com> <20091218012918.GA71118@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20091218012918.GA71118@mech-cluster241.men.bris.ac.uk> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigBD213151F79D075CCBE7A555" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 08:28:04 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBD213151F79D075CCBE7A555 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Anton Shterenlikht wrote: > On Fri, Dec 18, 2009 at 02:09:58AM +0100, Rolf Nielsen wrote: >> Anton Shterenlikht wrote: >>> I'm creating binary files in fortran. >>> Fortran adds 4 byte record delimiters at the beginning >>> and the end of each record, which, in the case of a binary >>> file, is just at the beginning and at the end of the file. >>> I need to delete these record delimiters, because the >>> software I use to visualise the binary files interprets >>> them as data. But I don't know how. I've looked at >>> hexdump and od, but those are only dumping (I think) >>> file contents, and I cannot see how to edit a file with them. >>> >>> Any advice? >>> >>> many thanks >>> anton >>> >> Hello Anton, >> >> My bet would be /usr/ports/editors/hexedit. Been a while since I've us= ed=20 >> it, but AFAIR, it has a curses or a curses like interface, and it's=20 >> fairly simple to use, yet sufficiently powerful for most normal binary= =20 >> editing. If you want a GUI, I believe gnome (and probably KDE as well)= =20 >> has its own hex editor. >=20 > thank you. hexedit does the job on small files, but is quite > clunky. If I've a xGB file and I need to delete the first and > the last record, this becomes quite hard, if at all possible. >=20 > I didn't appreciate it's not that simple. >=20 > Perhaps I can read a file with C and write back? I can't > remember if C supports binary files, and whether it > also writes some record delimiters. Sure, you can write a fairly short C program to do this. In fact, it's pretty easy in perl too: #!/usr/bin/perl -w use Fcntl; use constant BUFFSIZ =3D> 4096; for my $file (@ARGV) { my $buffer =3D ''; my $bytes_read =3D 0; sysopen INFILE, $file, O_RDONLY or die "Failed to open file $file for reading -- $!\n"; sysseek INFILE, 4, 0; # skip first 4 bytes sysopen OUTFILE, "${file}.out", O_WRONLY|O_CREAT or die "Failed to open file ${file}.out for writing -- $!\n"; while ( $bytesread =3D sysread INFILE, $buffer, BUFFSIZ, 0 ) { # If we don't read 4096 bytes, try a second read: if this # returns zero, then we're at EOF if ( $bytes_read < BUFFSIZ ) { my $offset =3D $bytes_read; $bytes_read =3D sysread INFILE, $buffer, BUFFSIZ, $offset; if ( $bytes_read =3D=3D 0 ) { # Trim the last 4 bytes substr ($buffer, -4) =3D ''; # Trim off last 4 bytes } } syswrite OUTFILE, $buffer; } close INFILE; close OUTFILE; } Untested, and needs more error checking around those sysread()s and syswr= ite()s, but it should give you the general idea. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigBD213151F79D075CCBE7A555 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAksrPQcACgkQ8Mjk52CukIwGkgCfZKYcJViO1YcUErL36GE8uEYP vA0An0EpJ1qG0DrATmyX4os9Wbngsc8h =bBz/ -----END PGP SIGNATURE----- --------------enigBD213151F79D075CCBE7A555-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 08:56:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AD73106566C for ; Fri, 18 Dec 2009 08:56:35 +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 798938FC08 for ; Fri, 18 Dec 2009 08:56:34 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nBI8uTT5084261; Fri, 18 Dec 2009 08:56:30 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nBI8uTT5084261 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1261126591; bh=k3qGUC/56fPhxZ5U0+fklZLidPzbzzV/Or5b2TkLG1Q=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B2B43B8.10807@infracaninophile.co.uk>|Date:=20Fri ,=2018=20Dec=202009=2008:56:24=20+0000|From:=20Matthew=20Seaman=20 |Organization:=20Infracaninophile |User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Versio n:=201.0|To:=20Robert=20Huff=20|CC:=20Brandon= 20Low=20,=20=0D=0A=20freebsd-questions@f reebsd.org|Subject:=20Re:=20RFC:=20Fam/Python=20based=20script=20f or=20bruteforce=20blocking|References:=20<20091218013422.GI73162@l ostlogicx.com>=09<20091218013555.GJ73162@lostlogicx.com>=20<19242. 56630.675326.874897@jerusalem.litteratus.org>|In-Reply-To:=20<1924 2.56630.675326.874897@jerusalem.litteratus.org>|X-Enigmail-Version :=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha2 56=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20bo undary=3D"------------enig9D0A266534AFD21CA9D16E92"; b=UYIomp5TZ/9verZuIFjzlqfi+e0Gev0uIwi41AiAquUFjQHTEY5PjyIQZwrYraZvI CYDtsjEo/iMM1Ss519mvarXRDjSMEqGDQ1hkvE3LQoCcCSZaWp2es8TcFI2zUmzX8C 7EzqnYGVKE/RrvVFJk9OVvej16MJIXAVKA2YnpWU= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B2B43B8.10807@infracaninophile.co.uk> Date: Fri, 18 Dec 2009 08:56:24 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Robert Huff References: <20091218013422.GI73162@lostlogicx.com> <20091218013555.GJ73162@lostlogicx.com> <19242.56630.675326.874897@jerusalem.litteratus.org> In-Reply-To: <19242.56630.675326.874897@jerusalem.litteratus.org> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig9D0A266534AFD21CA9D16E92" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Brandon Low , freebsd-questions@freebsd.org Subject: Re: RFC: Fam/Python based script for bruteforce blocking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 08:56:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9D0A266534AFD21CA9D16E92 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Robert Huff wrote: > Brandon Low writes: >=20 >> Not sure why this didn't attach the first time. >=20 > The FreeBSD mailing list software is set to scrub all > attachments as a security measure. To makew material available, > post it in-line, or post a URL. The attachment eater doesn't actually eat *all* attachments. Just the ones with MIME types it thinks are tasty. You can generally get stuff through if it's marked as something innocuous like text/plain =20 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig9D0A266534AFD21CA9D16E92 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAksrQ70ACgkQ8Mjk52CukIwAXACeMeXNx6eo2QpIgMSgDajnDOaJ SUYAn10zu37OkHsjsvE7YDKRzyAhbxMO =sUE6 -----END PGP SIGNATURE----- --------------enig9D0A266534AFD21CA9D16E92-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 09:10:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CB801065745 for ; Fri, 18 Dec 2009 09:10:50 +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 29DFE8FC13 for ; Fri, 18 Dec 2009 09:10:49 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NLYrD-0002ra-Sl for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 10:10:43 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Dec 2009 10:10:43 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Dec 2009 10:10:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 18 Dec 2009 10:10:22 +0100 Lines: 10 Message-ID: References: <4B2B0790.2010005@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20091210) In-Reply-To: <4B2B0790.2010005@gmail.com> Sender: news Subject: Re: Confusion About "FreeBSD now supports host and guest modes in VirtualBox" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 09:10:50 -0000 Ryan Ware wrote: > Maybe someone here can distribute some enlightenment. In the press > release for 8.0 it says, "FreeBSD now supports host and guest modes in > VirtualBox". I understand what the host mode support is with the > VirtualBox port. What I don't understand is what support for guest mode > is. I don't see anything anywhere about guest additions. As far as I > can tell, guest support seems to consist of simply allowing the kernel > to run in VirtualBox. Am I missing something? AFAIK no, that's it. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 09:13:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AA1B1065693 for ; Fri, 18 Dec 2009 09:13:16 +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 83CBE8FC13 for ; Fri, 18 Dec 2009 09:13:15 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id A7B35EB47AC; Fri, 18 Dec 2009 11:13:14 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 9ACB54533F; Fri, 18 Dec 2009 11:13:14 +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 ruTVODbCc4BZ; Fri, 18 Dec 2009 11:13:14 +0200 (EET) Received: from kobe.laptop (ppp-94-64-214-218.home.otenet.gr [94.64.214.218]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 4173D45308; Fri, 18 Dec 2009 11:13:14 +0200 (EET) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id nBI9DDrh036615 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Dec 2009 11:13:13 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id nBI9DD1M036591; Fri, 18 Dec 2009 11:13:13 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Anton Shterenlikht References: <20091218005102.GA51064@mech-cluster241.men.bris.ac.uk> <4B2AD666.9090404@lazlarlyricon.com> <20091218012918.GA71118@mech-cluster241.men.bris.ac.uk> Date: Fri, 18 Dec 2009 11:13:12 +0200 In-Reply-To: <20091218012918.GA71118@mech-cluster241.men.bris.ac.uk> (Anton Shterenlikht's message of "Fri, 18 Dec 2009 01:29:18 +0000") Message-ID: <87d42cve53.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 09:13:16 -0000 On Fri, 18 Dec 2009 01:29:18 +0000, Anton Shterenlikht wrote: >> My bet would be /usr/ports/editors/hexedit. Been a while since I've >> used it, but AFAIR, it has a curses or a curses like interface, and >> it's fairly simple to use, yet sufficiently powerful for most normal >> binary editing. If you want a GUI, I believe gnome (and probably KDE >> as well) has its own hex editor. > > thank you. hexedit does the job on small files, but is quite > clunky. If I've a xGB file and I need to delete the first and the last > record, this becomes quite hard, if at all possible. > > I didn't appreciate it's not that simple. > > Perhaps I can read a file with C and write back? I can't remember if C > supports binary files, and whether it also writes some record > delimiters. Yes, C supports binary files and does not insert spurious 'record delimiters' unless you instruct it to do so. It may even be possible to use one of the scripting languages (Perl or Python) to do the same work. It's often easier to hack together a solution if you don't have to worry about some of the details C will require. I don't know how your record delimiters look like, but here's a small sample of how Python can read a binary file of 32 bytes and strip the last 2 bytes of each 16-byte record: A binary file of two 16-byte records may look like this: keramida@kobe:/tmp$ hd binfile 00000000 b6 b0 fc 58 96 48 56 d5 e9 10 f0 55 55 67 87 5d |...X.HV....UUg.]| 00000010 b0 c9 8b 49 db 53 26 28 57 d6 62 0d d5 1b c4 dc |...I.S&(W.b.....| 00000020 Reading the file in chunks of 16 bytes and stripping the last 2 bytes of each record from Python is only a few lines of code: keramida@kobe:/tmp$ python Python 2.6.4 (r264:75706, Dec 3 2009, 23:31:07) [GCC 4.2.1 20070719 [FreeBSD]] on freebsd9 Type "help", "copyright", "credits" or "license" for more information. >>> ifp = file('binfile') # open input file for reading >>> ofp = file('outfile', 'w') # open output file for writing >>> for rec in range(2): # we'll transfer 2 records ... bytes = ifp.read(16) # of 16 bytes each ... obytes = bytes[0:14] # strip the last two bytes of each record ... ofp.write(obytes) # push to the output file ... >>> ifp.close() # close input >>> ofp.close() # close output >>> The output file now looks like this: keramida@kobe:/tmp$ hd outfile 00000000 b6 b0 fc 58 96 48 56 d5 e9 10 f0 55 55 67 b0 c9 |...X.HV....UUg..| 00000010 8b 49 db 53 26 28 57 d6 62 0d d5 1b |.I.S&(W.b...| 0000001c This is 4 bytes smaller than the original file, and the last two bytes of each 16-byte record are gone. Bingo! Now this example is really a very small and contrived sample of what you can do. This script lacks serious error-checking too, and it may be slightly more involved if you have variable record sizes. But the general idea is that it *is* possible to hack together something that loads and processes binary data. As long as you know the on-disk format of the records you are reading, anything goes. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 09:13:55 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AC49106566B for ; Fri, 18 Dec 2009 09:13:55 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mx1.esiee.fr (mx1.esiee.fr [147.215.1.35]) by mx1.freebsd.org (Postfix) with ESMTP id C55A88FC1D for ; Fri, 18 Dec 2009 09:13:54 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.esiee.fr (Postfix) with ESMTP id F2AF3136D7E for ; Fri, 18 Dec 2009 10:13:53 +0100 (CET) Received: from mail (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id D8D6A105441F for ; Fri, 18 Dec 2009 10:13:53 +0100 (CET) Received: from lisa.esiee.fr (lisa [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id C04C31054419 for ; Fri, 18 Dec 2009 10:13:53 +0100 (CET) Message-ID: <4B2B47D1.30507@esiee.fr> Date: Fri, 18 Dec 2009 10:13:53 +0100 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091216 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: how to set locale to French language on mail server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 09:13:55 -0000 Hello I am a bit confuse on how to set "locale" to French language on our mail server , all our users user French keymap and actually the server is NOT well configured mail# locale LANG= LC_CTYPE="C" LC_COLLATE="C" LC_TIME="C" LC_NUMERIC="C" LC_MONETARY="C" LC_MESSAGES="C" LC_ALL= I want to configure at server level for all users which file do I have to setup FR as locale ? I've the doc but it is a bit unclear to me ... Thanks a lot. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 09:18:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF38E106566B for ; Fri, 18 Dec 2009 09:18:51 +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 7DEE98FC19 for ; Fri, 18 Dec 2009 09:18:51 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NLYyR-0006b1-TG for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 10:18:11 +0100 Received: from p54b274bf.dip.t-dialin.net ([84.178.116.191]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Dec 2009 10:18:11 +0100 Received: from usselmann.m by p54b274bf.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Dec 2009 10:18:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Manfred Usselmann Date: Fri, 18 Dec 2009 10:16:01 +0100 Organization: ICG IT Consulting GmbH Lines: 36 Message-ID: <20091218101601.219da8e0.usselmann.m@icg-online.de> References: <74692B50-D390-4CE4-9ED3-CA5B46CE8697@todoo.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p54b274bf.dip.t-dialin.net X-Newsreader: Sylpheed 3.0.0beta4 (GTK+ 2.10.14; i686-pc-mingw32) Sender: news Subject: Re: incremental FTP backup program X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 09:18:51 -0000 On Thu, 17 Dec 2009 17:29:54 +0100 bsd wrote: > Hello, > > I have been provided with a 1To backup space by my hosting company… > unfortunately It is only accessible by FTP which does not allow me to > do the regular backup / restore I use to do using RSYNC. > > > What are the options I have in order to do the backup / restore of > the files knowing that : > > 1. I would like to have a time based backup solution (incremental > with sub-folder for daily backup so I can restore files from xxx days > ago). > > 2. I need to use ftp as a transport > > 3. Some of my servers have limited space so doing a local sync then > FTP will not be possible. > > 4. If possible I would like a bullet proof solution ideally "well > known" | tested and available from the port tree. > > > In fact what I would be looking for is something like "rsnapshot" but > with FTP transport / compatibility. Have a look at duplicity (http://duplicity.nongnu.org/). It can use ftp as transport and uses the rsync algorithm so only the changed parts of files are sent to the archive when doing an incremental backup. Manfred From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 09:19:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A71A1065693 for ; Fri, 18 Dec 2009 09:19:13 +0000 (UTC) (envelope-from oloringr@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 988548FC08 for ; Fri, 18 Dec 2009 09:19:12 +0000 (UTC) Received: by fxm27 with SMTP id 27so2648575fxm.3 for ; Fri, 18 Dec 2009 01:19:11 -0800 (PST) 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=DF747kyEDLEQynJuYwWrCPtLzpjWqnHvITXFdoGGTGw=; b=ja1qBTh/0VWCiZBunrL8M+rxgAgKRmJQkT4DOPedaJkczSCaBMwDrCI1kN0Uq5R8rE jD62P6mdHcMakjLI2SHWTHna3cxqJdZQh+x8SKUGuwOF1Xj3aBNSpZcdTRr/l4WX0QDf M3eK+DSR5Ze+z0GUENnM9A+zOY7biGq2g3tMs= 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=cIqNg4KqxBWU51fgusullRCLNG+3iQmH0FvQ3aKJwh9MAjoJ6RRZLm2tEeaFEAcyK7 +NQRcPVcYWLs+I0wNOrmGsXomL5JvRnXjgCEdva+nBNoDmu4Recv/6QBVIfubkHbtAVb 5EkM4oN5Do5Ao6cbEpVtNtTmFtgMy8tw3oewM= Received: by 10.223.4.144 with SMTP id 16mr636227far.36.1261127951733; Fri, 18 Dec 2009 01:19:11 -0800 (PST) Received: from media.localnet (62.1.242.34.dsl.dyn.forthnet.gr [62.1.242.34]) by mx.google.com with ESMTPS id p17sm4687374fka.35.2009.12.18.01.19.10 (version=SSLv3 cipher=RC4-MD5); Fri, 18 Dec 2009 01:19:10 -0800 (PST) From: Ed Jobs To: freebsd-questions@freebsd.org Date: Fri, 18 Dec 2009 11:19:19 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.31-ARCH; KDE/4.3.4; i686; ; ) References: <4B2B0790.2010005@gmail.com> In-Reply-To: <4B2B0790.2010005@gmail.com> X-Face: %5EDs|At1pm>WE%P0}6)Hi*s, JH2J${69~j)R"Yu'^P9R3#fvi{LmpsCzxvX*38/, kxcUd QVrlS0G,}-ll{||\P]; *'Gz`RTG+dzconmNyDY3rJHBmpEJkFj|; %vZO&~T")='B<; 88~[ Cltx6#}N*E MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1681766.02S6PPoGn9"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200912181119.19283.oloringr@gmail.com> Subject: Re: Confusion About "FreeBSD now supports host and guest modes in VirtualBox" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 09:19:13 -0000 --nextPart1681766.02S6PPoGn9 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Friday 18 December 2009 06:39, Ryan Ware wrote: > Maybe someone here can distribute some enlightenment. In the press > release for 8.0 it says, "FreeBSD now supports host and guest modes in > VirtualBox". I understand what the host mode support is with the > VirtualBox port. What I don't understand is what support for guest mode > is. I don't see anything anywhere about guest additions. As far as I > can tell, guest support seems to consist of simply allowing the kernel > to run in VirtualBox. Am I missing something? >=20 i'm not absolutely sure, but i think that the Virtualbox additions is what = you=20 are looking for. When an os is guest in Vbox, you can install the virtualbo= x=20 additions (in the guest) to share the clipboard and integrate the mouse wit= h=20 the host machine. I'm not perfectly sure, but i think that the additions build a kernel modul= e=20 and load it during the boot. So what i get is that the 8.0 kernel has support for that module. (or maybe= i=20 am wrong? if someone knows, correct me) =2D-=20 Real programmers don't document. If it was hard to write, it should be hard= to=20 understand. --nextPart1681766.02S6PPoGn9 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAksrSRcACgkQBPpdVEWKA33B3QCgqE6n7N5b+OlJoDUX/TdBdzQe 9+0An2ARm8AL9TRqR7seK8CZ+p0ifEw4 =kkGF -----END PGP SIGNATURE----- --nextPart1681766.02S6PPoGn9-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 09:36:57 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C3011065679 for ; Fri, 18 Dec 2009 09:36:57 +0000 (UTC) (envelope-from s.kachelmann@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id CA5B48FC29 for ; Fri, 18 Dec 2009 09:36:56 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so1422217fgg.13 for ; Fri, 18 Dec 2009 01:36:55 -0800 (PST) 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=tkwCuRCl3E9NTCQCKexDAlRPtJmmPjxbEoyW+U0UyPQ=; b=sXTNwp5QL5p96fvzSjA9i2P6YH+RhFA5YfZwmdu7M/jBbfEisObnauDbrZWSNqC5qc 6yCo2No1yX7gBjJdyl4Mxj/cvNTK1aHTuRC0f3Xc5rqSiRzzvn1gwwjAz/3lFtGsnz5t Dx6iNEN4baqB89kcWL0cbJ7MtDmg39GOOSYVA= 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=xn9MOQMa9uLpGZrvMkx5tgShyd4ka0QAp0qVwlTusvIOew+6MISSyESd+b1vwLioz0 UdALsIBdejQgy3OVSlx7/YlLjCqIFO3qhpMNpX1r2MRhIz7wKrRMgpbG6Dgp9TlY73Fx KngdebQFVJiUtJmz3Onz1f+xZn2CI+zCxZ+VU= MIME-Version: 1.0 Received: by 10.239.143.214 with SMTP id l22mr393381hba.167.1261129015688; Fri, 18 Dec 2009 01:36:55 -0800 (PST) In-Reply-To: <4B2A4BA3.10309@FreeBSD.org> References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> <91b92520912170655u2625aeedkf83fbb220696f06d@mail.gmail.com> <91b92520912170656n1ac767e4i4f51d77790f996@mail.gmail.com> <4B2A4BA3.10309@FreeBSD.org> Date: Fri, 18 Dec 2009 10:36:55 +0100 Message-ID: <91b92520912180136s2a0c0916s8f82d07c8a1c0fb2@mail.gmail.com> From: Sandra Kachelmann To: glarkin@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: questions@freebsd.org Subject: Re: ifdown/ifup under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 09:36:57 -0000 On Thu, Dec 17, 2009 at 4:17 PM, Greg Larkin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Sandra Kachelmann wrote: >> On Thu, Dec 17, 2009 at 3:46 PM, Igor V. Ruzanov wrote: >>> |Under RedHat Linux I can configure an interface, routes and so on in >>> |/etc/sysconfig/network-scripts/ifcfg-eth1, >>> |/etc/sysconfig/network-scripts/routes-eth1 then simply run: >>> | >>> |$ ifup eth1 >>> | >>> |and it will set all the routes/netconfig/aliases I just configured. >>> | >>> |Is there something similar in FreeBSD? >>> | >>> |I tried configuring aliases in /etc/rc.conf and running: >>> | >>> |$ /etc/rc.d/netif restart >>> | >>> |but that just ended in errors that the route was already configured >>> |and so on. Sure I could do all the work manually with ifconfig and >>> |route but that's not my question. >>> | >>> Under FreeBSD (as well as under Linux) you could use Zebra (Zebra/Quagga >>> projects) to configure any interfaces/routing specific things. >> >> I try to avoid doing complex routing things on my servers. I leave >> that up to the NOC guys. They can do that on their fancy cisco >> switches. I want just one route per interface :-) >> >> I just wanted to add a seperate route/ip for the second interface, >> make it permanent by adding it to /etc/rc.conf and tell my FreeBSD to >> pretend it's booting up by running /etc/rc.d/netif restart. As others >> pointed out I forgot /etc/rc.d/route. >> >> Sandra > > Hi all, > > I use "/etc/netstart", since it includes all of the commands listed > previously, as well as others that start the DHCP client, firewall, etc. That's what i was looking for. How do you use it correctly? Just "sh /etc/netstart"? Sandra From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 09:57:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3D6C10656AE for ; Fri, 18 Dec 2009 09:57:55 +0000 (UTC) (envelope-from affanzbasalamah@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 C03418FC0A for ; Fri, 18 Dec 2009 09:57:55 +0000 (UTC) Received: by pxi12 with SMTP id 12so533738pxi.3 for ; Fri, 18 Dec 2009 01:57:55 -0800 (PST) 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=pD20UqRV7JVj5Ndr7grE3T3FhHekf56ofak19fqhmf8=; b=NUh36QMJRBkC7DgOuCdnXSctaGi3YoWQn8RUtIL5NxPD99DqVYsQAroBAgAg+z+3zL rM8TdxGNbao4L9Hp00KAYH5MLl7nfWi1kP1nbPlrcramHfVt8SXuO6PMmomc4zy5I94q OTPkixP88KqJUsTKrMcii413C3JZUHnfuicFo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=B43UpwC16+7M1DF+dZvMIQO97vROZuPY5qq/Lxkt6SS8wjxgQWN5VtJkwDbgkhr0p9 SstRdfpp95h3bcmDS54Jy09KF3HrDa6cWYa2CWU/lGUY6y/ueI90pUHFsVs+9ZCBYG0O j8xUm+OhhcAxVHJZYoYELRS1xXnZXWa9yO0RQ= MIME-Version: 1.0 Received: by 10.114.18.4 with SMTP id 4mr2468815war.137.1261128537160; Fri, 18 Dec 2009 01:28:57 -0800 (PST) Date: Fri, 18 Dec 2009 16:28:57 +0700 Message-ID: From: Affan Basalamah To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: install.cfg for Documentation Installation Menu on 8.0-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: Fri, 18 Dec 2009 09:57:56 -0000 Hi all, I want to try FreeBSD 8.0-RELEASE unattended installation with PXE boot using install.cfg. Currently after following some clues from FreeBSD Handbook and some websites like http://high5.net/index_files/freebsd_pxe_install_server.html, I tried to do that and come with success with some changes in /dev/md0c to /dev/md0. The only thing that come up with 8.0-RELEASE is the new FreeBSD Documentation Installation Menu in sysinstall. I would like to know what command for install.cfg to configure my installation with, say, English Documentation. I tried to look for in sysinstall (7) man pages and come with no result. Sample install.cfg doesn't give me any clue either. So I would like to ask for anybody's help for this matter. Thanks! -affan From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 10:06:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D685106568F for ; Fri, 18 Dec 2009 10:06:44 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id DF0178FC0A for ; Fri, 18 Dec 2009 10:06:43 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.ose.nl for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 11:06:41 +0100 Message-ID: <4B2B5430.1030204@ose.nl> Date: Fri, 18 Dec 2009 11:06:40 +0100 From: Bas Smeelen User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> <91b92520912170655u2625aeedkf83fbb220696f06d@mail.gmail.com> <91b92520912170656n1ac767e4i4f51d77790f996@mail.gmail.com> <4B2A4BA3.10309@FreeBSD.org> <91b92520912180136s2a0c0916s8f82d07c8a1c0fb2@mail.gmail.com> In-Reply-To: <91b92520912180136s2a0c0916s8f82d07c8a1c0fb2@mail.gmail.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: ifdown/ifup under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 10:06:44 -0000 Sandra Kachelmann wrote=3A =3E On Thu=2C Dec 17=2C 2009 at 4=3A17 PM=2C Greg Larkin =3Cglarkin=40freeb= sd=2Eorg=3E wrote=3A =3E =20 =3E=3E -----BEGIN PGP SIGNED MESSAGE----- =3E=3E Hash=3A SHA1 =3E=3E =3E=3E Sandra Kachelmann wrote=3A =3E=3E =20 =3E=3E=3E On Thu=2C Dec 17=2C 2009 at 3=3A46 PM=2C Igor V=2E Ruzanov =3Cigo= rr=40canmos=2Eru=3E wrote=3A =3E=3E=3E =20 =3E=3E=3E=3E =7CUnder RedHat Linux I can configure an interface=2C routes a= nd so on in =3E=3E=3E=3E =7C/etc/sysconfig/network-scripts/ifcfg-eth1=2C =3E=3E=3E=3E =7C/etc/sysconfig/network-scripts/routes-eth1 then simply run= =3A =3E=3E=3E=3E =7C =3E=3E=3E=3E =7C=24 ifup eth1 =3E=3E=3E=3E =7C =3E=3E=3E=3E =7Cand it will set all the routes/netconfig/aliases I just con= figured=2E =3E=3E=3E=3E =7C =3E=3E=3E=3E =7CIs there something similar in FreeBSD=3F =3E=3E=3E=3E =7C =3E=3E=3E=3E =7CI tried configuring aliases in /etc/rc=2Econf and running= =3A =3E=3E=3E=3E =7C =3E=3E=3E=3E =7C=24 /etc/rc=2Ed/netif restart =3E=3E=3E=3E =7C =3E=3E=3E=3E =7Cbut that just ended in errors that the route was already co= nfigured =3E=3E=3E=3E =7Cand so on=2E Sure I could do all the work manually with ifc= onfig and =3E=3E=3E=3E =7Croute but that=27s not my question=2E =3E=3E=3E=3E =7C =3E=3E=3E=3E Under FreeBSD =28as well as under Linux=29 you could use Zebra= =28Zebra/Quagga =3E=3E=3E=3E projects=29 to configure any interfaces/routing specific thing= s=2E =3E=3E=3E=3E =20 =3E=3E=3E I try to avoid doing complex routing things on my servers=2E I le= ave =3E=3E=3E that up to the NOC guys=2E They can do that on their fancy cisco= =3E=3E=3E switches=2E I want just one route per interface =3A-=29 =3E=3E=3E =3E=3E=3E I just wanted to add a seperate route/ip for the second interface= =2C =3E=3E=3E make it permanent by adding it to /etc/rc=2Econf and tell my Free= BSD to =3E=3E=3E pretend it=27s booting up by running /etc/rc=2Ed/netif restart=2E= As others =3E=3E=3E pointed out I forgot /etc/rc=2Ed/route=2E =3E=3E=3E =3E=3E=3E Sandra =3E=3E=3E =20 =3E=3E Hi all=2C =3E=3E =3E=3E I use =22/etc/netstart=22=2C since it includes all of the commands l= isted =3E=3E previously=2C as well as others that start the DHCP client=2C firewa= ll=2C etc=2E =3E=3E =20 =3E =3E That=27s what i was looking for=2E How do you use it correctly=3F Just= =22sh =3E /etc/netstart=22=3F =3E =20 That should work=2E But read the contents of the file=2E It does not restart anything=2C just start Quote=3A =23 This file is NOT called by any of the other scripts - it has been =23 obsoleted by /etc/rc=2Ed/* and is provided here only for user =23 convenience =28if you=27re sitting in single user mode and wish to star= t =23 the network by hand=2C this script will do it for you=29=2E It seems like I loose my remote connection when doing it this way due to ipfw which I normally restart with =23sh /etc/ipfw=2Erules =26 so I don=27t= lose my connection =23sh /etc/netstart =26 or =23sh /etc/netstart both connection lost So after a config change of ip and gateway I prefer the netif and routing option DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only If you have received it by mistake please let us know by reply and then del= ete it from your system=3B Access=2C disclosure=2C copying=2C distribution or reliance on any of it by= anyone else is prohibited=2E From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 10:11:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F27110656A5; Fri, 18 Dec 2009 10:11:51 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 717678FC13; Fri, 18 Dec 2009 10:11:51 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id nBIABg09039269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 18 Dec 2009 02:11:42 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id nBIABfGK039268; Fri, 18 Dec 2009 02:11:41 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA24581; Fri, 18 Dec 09 02:00:24 PST Date: Fri, 18 Dec 2009 01:59:36 -0800 From: perryh@pluto.rain.com To: wblock@wonkity.com, glarkin@freebsd.org Message-Id: <4b2b5288.qFxIl6ScdS9yKkZj%perryh@pluto.rain.com> References: <20091218005102.GA51064@mech-cluster241.men.bris.ac.uk> <4B2ADE9E.6080707@FreeBSD.org> In-Reply-To: <4B2ADE9E.6080707@FreeBSD.org> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: mexas@bristol.ac.uk, freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 10:11:51 -0000 Greg Larkin wrote: > ... > > truncate -4 myfile should get rid of the last four bytes. Maybe > > there's a similar efficient way to truncate the start of a file. > > This should do it: > > dd if=oldfile of=newfile bs=1 skip=4 Or, perhaps marginally more efficient: dd if=oldfile of=newfile bs=4 skip=1 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 11:13:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 058A91065670 for ; Fri, 18 Dec 2009 11:13:24 +0000 (UTC) (envelope-from ndhert@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 9213B8FC22 for ; Fri, 18 Dec 2009 11:13:23 +0000 (UTC) Received: by ewy26 with SMTP id 26so2241185ewy.3 for ; Fri, 18 Dec 2009 03:13:22 -0800 (PST) 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=PE1mG+e3+bhRrqQPNdZrj1dGEpSx5Bp78/QJW5XmKBU=; b=o3Gw/7he8ohVSqazkMLQwBF/vh+EV8D9D6dfQuOmi5MNyFMHJRAMdBsYYaFXy84RVX vnL9TsjrZWQ8T2DChlDVGQrON09JoORa+0LaWUrCuDqLzBmk0LhAmhdj1DdvwB00tRk3 pLUK8VWHGcaXVD2+p9+2sKSzi2tsSFgKzd5ik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ktnLFY3ZGvkqQVXtHwvahCQQgDaS9ApJTbCAg+Ysx0A2yFgsxJQDQ8jrwOOJAlywoz SIBidGjXXfwhNqcpVYDYw4BDLWh63o9xsmvCY33bJGaip+o0ThutX0Y9azc5gEwJUq5H /IqSrl6DNHcjmhHYyY0hmN1afdyFc6LO9L9rU= MIME-Version: 1.0 Received: by 10.216.88.15 with SMTP id z15mr1598903wee.113.1261134802569; Fri, 18 Dec 2009 03:13:22 -0800 (PST) Date: Fri, 18 Dec 2009 12:13:22 +0100 Message-ID: <8021a2660912180313u8fe7deanaf202fe18bdc852e@mail.gmail.com> 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: xdvi problem after teTex-base-3.0_17 port 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: Fri, 18 Dec 2009 11:13:24 -0000 A few days ago there was a port upgrade teTex-base-3.0_17. Since then, when xdvi'ing a .dvi file gives at the command line: Xlib: extension "Generic Event Extension" missing on display ... xdvi-motif.bin: Warning: Could not find map file 'ps2pk.map' and in a separate Windows 'XDvi error" " "Could not load any ot the map files listed in xdvi.cfg - disabling T1lib" xdiv with the same file, 3 days ago: no such messages Will there be an update of the teTex-base-3.0_* port ? From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 11:22:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 967B11065692 for ; Fri, 18 Dec 2009 11:22:17 +0000 (UTC) (envelope-from nb@ravenbrook.com) Received: from raven.ravenbrook.com (raven.ravenbrook.com [193.164.110.8]) by mx1.freebsd.org (Postfix) with ESMTP id 20A4C8FC08 for ; Fri, 18 Dec 2009 11:22:16 +0000 (UTC) Received: from thrush.ravenbrook.com (thrush.ravenbrook.com [193.164.110.145]) by raven.ravenbrook.com (8.14.3/8.14.2) with ESMTP id nBIBM6J3034023; Fri, 18 Dec 2009 11:22:06 GMT (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (localhost [127.0.0.1]) by thrush.ravenbrook.com (8.13.4/8.13.4) with ESMTP id nBIBM6cM011405; Fri, 18 Dec 2009 11:22:06 GMT (envelope-from nb@thrush.ravenbrook.com) From: Nick Barnes To: Giorgos Keramidas In-Reply-To: <87d42cve53.fsf@kobe.laptop> from Giorgos Keramidas of "Fri, 18 Dec 2009 11:13:12 +0200" Date: Fri, 18 Dec 2009 11:22:06 +0000 Message-ID: <11404.1261135326@thrush.ravenbrook.com> Sender: nb@ravenbrook.com X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (raven.ravenbrook.com [193.164.110.8]); Fri, 18 Dec 2009 11:22:07 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.1/10197/Fri Dec 18 01:59:38 2009 on raven.ravenbrook.com X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on raven.ravenbrook.com X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 11:22:17 -0000 If your Fortran file has the same word size and enddian-ness as your C, this simple program convert.c will strip all the record length fields. I just knocked it up now, no warranty, etc, but it works for me. Use as a pipe: $ ls convert.c test.f $ gcc -Wall -Werror -ansi -pedantic convert.c -o convert $ gfortran44 test.f -o test $ ./test $ ls -l test-output -rw-r--r-- 1 nb nb 2460 Dec 18 11:17 test-output $ ./convert < test-output > test-converted $ ls -l test-converted -rw-r--r-- 1 nb nb 2420 Dec 18 11:18 test-converted $ The code does a fair amount of checking; if you get one of the error messages, let us know. The most obvious unchecked problem is a short read, which will complain about mismatched lengths. If your Fortran has different word sizes or enddian-ness (e.g. most of the Fortran output files I use on the Clear Climate Code project are generated on big-endian machines), you will need to add code to tweak the 'size' value after reading it, and when checking the record-end marker. Nick B /* convert.c: remove record length fields from Fortran output file. */ /* Nick Barnes, Ravenbrook Limited, 2009-12-18 */ #include #include #include #include int main(void) { long size; char *buf; ssize_t bytes; assert(sizeof(size) == 4); while(bytes = read(0, (void*)&size, sizeof(size))) { if (bytes < 0) { fprintf(stderr, "read() returned %ld\n", bytes); exit(1); } if (size <= 0) { fprintf(stderr, "Read bad record length %ld\n", size); exit(1); } buf = (char*)malloc(size + sizeof(size)); if (!buf) { fprintf(stderr, "Couldn't allocate buffer of %ld bytes\n", size + sizeof(size)); exit(1); } bytes = read(0, buf, size + sizeof(size)); if (bytes <= 0) { fprintf(stderr, "read() returned %ld\n", bytes); exit(1); } if ((*(long*)(buf+size)) != size) { fprintf(stderr, "Mismatched record lengths: %ld, %ld\n", size, *(long*)(buf+size)); exit(1); } write(1, buf, size); free(buf); } return 0; } From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 11:58:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A6831065672 for ; Fri, 18 Dec 2009 11:58:42 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 590668FC17 for ; Fri, 18 Dec 2009 11:58:42 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NLbTj-00024d-0m; Fri, 18 Dec 2009 11:58:41 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NLbTi-0000bT-2w; Fri, 18 Dec 2009 11:58:38 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBIBwbxN088768; Fri, 18 Dec 2009 11:58:37 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBIBwbDb088767; Fri, 18 Dec 2009 11:58:37 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 18 Dec 2009 11:58:37 +0000 From: Anton Shterenlikht To: n dhert Message-ID: <20091218115837.GC88718@mech-cluster241.men.bris.ac.uk> References: <8021a2660912180313u8fe7deanaf202fe18bdc852e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8021a2660912180313u8fe7deanaf202fe18bdc852e@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Cc: freebsd-questions@freebsd.org Subject: Re: xdvi problem after teTex-base-3.0_17 port 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: Fri, 18 Dec 2009 11:58:42 -0000 On Fri, Dec 18, 2009 at 12:13:22PM +0100, n dhert wrote: > A few days ago there was a port upgrade teTex-base-3.0_17. > Since then, when xdvi'ing a .dvi file gives at the command line: > Xlib: extension "Generic Event Extension" missing on display ... > xdvi-motif.bin: Warning: Could not find map file 'ps2pk.map' > and in a separate Windows 'XDvi error" " > "Could not load any ot the map files listed in xdvi.cfg - disabling T1lib" yes, there seems to be a problem. See this thread: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=478076+0+current/freebsd-questions Hiroki is working on it. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 12:25:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1A2B106566B for ; Fri, 18 Dec 2009 12:25:46 +0000 (UTC) (envelope-from pdegoeje@service2media.com) Received: from s2m-is-001.service2media.com (rev-130-102.virtu.nl [217.114.102.130]) by mx1.freebsd.org (Postfix) with ESMTP id 8661A8FC15 for ; Fri, 18 Dec 2009 12:25:45 +0000 (UTC) Received: from pieter-dev-linux.localnet ([10.0.1.54] RDNS failed) by s2m-is-001.service2media.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 18 Dec 2009 13:13:39 +0100 From: Pieter de Goeje Organization: Service2Media To: freebsd-questions@freebsd.org Date: Fri, 18 Dec 2009 13:13:38 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.31-16-generic; KDE/4.3.2; i686; ; ) References: <4B2B47D1.30507@esiee.fr> In-Reply-To: <4B2B47D1.30507@esiee.fr> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912181313.38957.pieter@service2media.com> X-OriginalArrivalTime: 18 Dec 2009 12:13:39.0388 (UTC) FILETIME=[883F0FC0:01CA7FDB] Cc: Frank Bonnet Subject: Re: how to set locale to French language on mail server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 12:25:47 -0000 On Friday 18 December 2009 10:13:53 Frank Bonnet wrote: > Hello > > I am a bit confuse on how to set "locale" to French language on our mail > server , all our users user French keymap and actually the server > is NOT well configured > > mail# locale > LANG= > LC_CTYPE="C" > LC_COLLATE="C" > LC_TIME="C" > LC_NUMERIC="C" > LC_MONETARY="C" > LC_MESSAGES="C" > LC_ALL= > > I want to configure at server level for all users which file do I have > to setup FR as locale ? > > I've the doc but it is a bit unclear to me ... > > Thanks a lot. See login.conf(5). There are some examples in /etc/login.conf. Regards, Pieter de Goeje From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 12:45:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4B541065670 for ; Fri, 18 Dec 2009 12:45:19 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.freebsd.org (Postfix) with ESMTP id 5B41B8FC13 for ; Fri, 18 Dec 2009 12:45:19 +0000 (UTC) Received: from [172.23.170.146] (helo=anti-virus03-09) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1NLcCr-0007cs-8j for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 12:45:17 +0000 Received: from [94.168.156.45] (helo=Mercury.galaxy.lan.lcl) by asmtp-out2.blueyonder.co.uk with esmtp (Exim 4.52) id 1NLcCR-0007RM-Rx for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 12:44:51 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 18 Dec 2009 12:44:51 -0000 Message-ID: <01FB8F39BAD0BD49A6D0DA8F7897392904F756@Mercury.galaxy.lan.lcl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ezjail bsd 8.0 Thread-Index: Acp/3+QgWobfT1kSSz2WrFyE8BcYPw== From: "Graeme Dargie" To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ezjail bsd 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 12:45:20 -0000 I am trying to get ezjail running on bds 8.0 and I keep hitting the same wall =20 FreeBSD amalthea.galaxy.lan.lcl 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 /usr/obj/usr/src/sys/GENERIC amd64 =20 I have update /usr/src using csup=20 =20 When I issue a ezjail-admin update -ip =20 It runs for a while then dies with=20 =20 >>> Installing everything -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install =3D=3D=3D> share/info (install) install -o root -g wheel -m 444 dir-tmpl /usr/jails/fulljail/usr/share/info/dir install:No such file or directory *** Error code 1 =20 Stop in /usr/src/share/info. *** Error code 1 =20 Stop in /usr/src. *** Error code 1 =20 Stop in /usr/src. *** Error code 1 =20 Stop in /usr/src. *** Error code 1 =20 =20 Now I suspect it is something stupid I have done or not done but I cant seem to see what it is. =20 Regards =20 Graeme From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 13:07:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A5531065672 for ; Fri, 18 Dec 2009 13:07:27 +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 DB5488FC08 for ; Fri, 18 Dec 2009 13:07:26 +0000 (UTC) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 18 Dec 2009 08:07:26 -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.7-GA) with ESMTP id QJQ35886; Fri, 18 Dec 2009 08:07:25 -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; 18 Dec 2009 08:07:25 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19243.32396.797405.142562@jerusalem.litteratus.org> Date: Fri, 18 Dec 2009 08:07:24 -0500 To: Matthew Seaman In-Reply-To: <4B2B43B8.10807@infracaninophile.co.uk> References: <20091218013422.GI73162@lostlogicx.com> <20091218013555.GJ73162@lostlogicx.com> <19242.56630.675326.874897@jerusalem.litteratus.org> <4B2B43B8.10807@infracaninophile.co.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: Brandon Low , Robert Huff , freebsd-questions@freebsd.org Subject: Re: RFC: Fam/Python based script for bruteforce blocking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 13:07:27 -0000 Matthew Seaman writes: > > The FreeBSD mailing list software is set to scrub all > > attachments as a security measure. To makew material available, > > post it in-line, or post a URL. > > The attachment eater doesn't actually eat *all* attachments. > Just the ones with MIME types it thinks are tasty. You can > generally get stuff through if it's marked as something innocuous > like text/plain Point taken. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 14:05:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45D421065670 for ; Fri, 18 Dec 2009 14:05:02 +0000 (UTC) (envelope-from cronfy@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id CDFA58FC08 for ; Fri, 18 Dec 2009 14:05:01 +0000 (UTC) Received: by fxm27 with SMTP id 27so2858312fxm.3 for ; Fri, 18 Dec 2009 06:05:00 -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:content-type; bh=cNtBo0+PNRHRnR9QAy0VKItbum3Fj8b9pVP3pn+yTIg=; b=FH2rg8lM3bO9Vs9BWi75mrYHnI+etkS1T9QCjRUvDgDVkrlEBUmusoGS23iAztdkHa 3L38al93MsQbfr2RezhgHwX4DER8/SvvQtjixGpGaS5F1bAGcZKkaA5uOYwm4Y1F6H7n jmrm0yPw4n4+O/aId9722WKLR5macWvcVrO84= 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=VreSXBxQ1rZ7+WtBiEhWRM/HcpdHnQ1cnta5BDwVe0gIcsaD/sg4ruWhmR/L7Nw0H8 eZmgvQ13P/XmsxPN/FKCg7r3ypv9RZY9SCY+yTnZeNiWg+RZ47kxXdyQtMnhmp7T8S4n 7h2VCtEz0LoWnaxYgSqgY9I8c1RJX2TJhrhRk= MIME-Version: 1.0 Received: by 10.223.76.77 with SMTP id b13mr4445077fak.74.1261143751459; Fri, 18 Dec 2009 05:42:31 -0800 (PST) In-Reply-To: <20091208132720.G67127@gwdu60.gwdg.de> References: <4B1DF953.4050504@sprinthost.ru> <4B1E2D40.9060900@sprinthost.ru> <20091208114509.B67127@gwdu60.gwdg.de> <4B1E33CF.1070309@sprinthost.ru> <20091208113023.GA1828@owl.midgard.homeip.net> <20091208132720.G67127@gwdu60.gwdg.de> Date: Fri, 18 Dec 2009 16:42:31 +0300 Message-ID: From: =?KOI8-R?B?78zFxyDwxdTSwd6j1w==?= To: Konrad Heuer , freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: FreeBSD is too filesystem errors sensitive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 14:05:02 -0000 Konrad, Erik, thank you for the good advice. Several foreground fsck in a row really helped. Konrad, which hardware are you using with FreeBSD on heavily loaded and i/o-bound systems? >> If you have other instances of filesystem corruption (which includes >> everything which can trigger a kernel panic) you need to use a foreground >> fsck to fix it. > > That's true. You should go down to single user mode by entering "shutdown > now", unmount your filesystems ("umount -a -t ufs") and check your > filesystem by "fsck -y". Please read "man fsck" before since implicitly > answering all questions with yes by "-y" may cause loss of data !!! > > (To tell the truth: You probably have to do so anyway.) > >> Personally I would recommend not using background fsck at all unless you >> know exactly what you are doing and why. -- // cronfy From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 15:02:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F7A91065672 for ; Fri, 18 Dec 2009 15:02:43 +0000 (UTC) (envelope-from ryan.ware@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 3EC3A8FC15 for ; Fri, 18 Dec 2009 15:02:43 +0000 (UTC) Received: by pzk15 with SMTP id 15so2159618pzk.3 for ; Fri, 18 Dec 2009 07:02:42 -0800 (PST) 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=hMcVsKiHWSam4QdKcwxwEPqt/E7lHC6yLQsLv40TzQM=; b=n0cVwFt2+eNiP+eKJtZYg6eno1CSBsUaNoPlj0Jtxvc4QH1V+lbuCY/vHYveDaiJzs 5ocOzoKPX1nOEN7wPmLYmQfHcotyJJ4QOdVO1TfEeFI5apTOTpUsmcgeGEhZNvbv3QAj Gbt3sDCwK6Ag64RW2XdNjXxsAUd6GnNloe8R4= 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=X7GhuCq8r2ldcIH/h6xSDBxXEqN15elJ9o03JOICg9Wsq1M+rDsil31awzAvXqweep GulyQZMtOiUBqY2QfKpIf9x62qdNYIjVxxqjGJ3aK6Tr1fh3hhE/VYvRCLItlsP0kSkO SAsT8xpuwjz88qcqT5WN+LOGa+4IQF+RasTpU= Received: by 10.141.124.1 with SMTP id b1mr2777974rvn.10.1261148559539; Fri, 18 Dec 2009 07:02:39 -0800 (PST) Received: from ?192.168.1.7? (pool-98-108-131-208.ptldor.fios.verizon.net [98.108.131.208]) by mx.google.com with ESMTPS id 22sm2457768pzk.6.2009.12.18.07.02.38 (version=SSLv3 cipher=RC4-MD5); Fri, 18 Dec 2009 07:02:38 -0800 (PST) Message-ID: <4B2B998E.8090606@gmail.com> Date: Fri, 18 Dec 2009 07:02:38 -0800 From: Ryan Ware User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B2B0790.2010005@gmail.com> <200912181119.19283.oloringr@gmail.com> In-Reply-To: <200912181119.19283.oloringr@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Confusion About "FreeBSD now supports host and guest modes in VirtualBox" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 15:02:43 -0000 Thanks Ed. I looked at the guest additions. Unfortunately, they only have additions for Linux, Windows and Solaris. I tried installing the Linux additions on the off chance that they really meant *NIX, but they are specifically tied to the Linux kernel. I tried installing the virtualbox package to see what was in the VboxAdditions.iso that comes with it, but there doesn't seem to be one (or any iso for that matter) like there is with the VirtualBox downloads that come from their site. Things actually run really well with FreeBSD as a vbox guest. It runs better than under VMWare Workstation 7. It just doesn't do some of the nice things that I've come to expect like having the guest desktop fit the size of the window. That's the most annoying part. Ryan On 12/18/2009 1:19 AM, Ed Jobs wrote: > On Friday 18 December 2009 06:39, Ryan Ware wrote: > >> Maybe someone here can distribute some enlightenment. In the press >> release for 8.0 it says, "FreeBSD now supports host and guest modes in >> VirtualBox". I understand what the host mode support is with the >> VirtualBox port. What I don't understand is what support for guest mode >> is. I don't see anything anywhere about guest additions. As far as I >> can tell, guest support seems to consist of simply allowing the kernel >> to run in VirtualBox. Am I missing something? >> >> > i'm not absolutely sure, but i think that the Virtualbox additions is what you > are looking for. When an os is guest in Vbox, you can install the virtualbox > additions (in the guest) to share the clipboard and integrate the mouse with > the host machine. > I'm not perfectly sure, but i think that the additions build a kernel module > and load it during the boot. > So what i get is that the 8.0 kernel has support for that module. (or maybe i > am wrong? if someone knows, correct me) > > From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 15:31:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C49A106566B for ; Fri, 18 Dec 2009 15:31:49 +0000 (UTC) (envelope-from mkushnir@lohika.com) Received: from sbox.lohika.com (sbox.lohika.com [217.9.0.182]) by mx1.freebsd.org (Postfix) with ESMTP id C72AA8FC13 for ; Fri, 18 Dec 2009 15:31:48 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.47,418,1257112800"; d="scan'208";a="3510597" Received: from unknown (HELO dekker.lohika.com) ([172.20.100.30]) by sbox-local.lohika.com with ESMTP; 18 Dec 2009 17:31:45 +0200 Received: from emkushnir.lv.lohika.com ([172.22.60.77]) (authenticated bits=0) by dekker.lohika.com (8.14.2/8.14.2) with ESMTP id nBIFZXdr010679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Dec 2009 17:35:36 +0200 (EET) (envelope-from mkushnir@lohika.com) Message-ID: <4B2BA025.6050200@lohika.com> Date: Fri, 18 Dec 2009 17:30:45 +0200 From: Markiyan Kushnir User-Agent: Thunderbird 2.0.0.9 (X11/20080311) MIME-Version: 1.0 To: Nick Barnes References: <11404.1261135326@thrush.ravenbrook.com> In-Reply-To: <11404.1261135326@thrush.ravenbrook.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94.2/10197/Fri Dec 18 03:59:38 2009 on dekker.lohika.com X-Virus-Status: Clean Cc: Giorgos Keramidas , Anton Shterenlikht , "freebsd-questions@freebsd.org" Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 15:31:49 -0000 If you don't mind, I would add fixed buffer processing to your program. For some really huge files (or any other type of stream) which have really huge records, reading entire records into memory would get the box down. Markiyan /* convert.c: remove record length fields from Fortran output file. */ /* Nick Barnes, Ravenbrook Limited, 2009-12-18 */ #include #include #include #include #define BUFLEN 1024*1024 static char buf[BUFLEN]; int main(void) { long size, size_in, size_out; ssize_t bytes; assert(sizeof(size) == 4); int buflen; while((bytes = read(0, (void*)&size, sizeof(size)))) { if (bytes < 0) { fprintf(stderr, "read() returned %d\n", bytes); exit(1); } if (size <= 0) { fprintf(stderr, "Read bad record " "length %ld\n", size); exit(1); } size_in = size; buflen = size_in > BUFLEN ? BUFLEN : size_in; while (size_in > 0 && (bytes = read(0, buf, buflen)) > 0) { write(1, buf, bytes); size_in -= bytes; if (size_in < BUFLEN) { /* the last chunk is less than BUFLEN */ buflen = size_in; } } if (bytes == 0) { /* EOF */ if (size_in > 0) { fprintf(stderr, "premature end of " "file: %ld bytes unread.\n", size_in); exit(1); } break; } else if (bytes <= 0) { fprintf(stderr, "read() returned %d\n", bytes); exit(1); } if (read(0, (void *)&size_out, sizeof(size_out)) > 0) { if (size_out != (size)) { fprintf(stderr, "Mismatched record lengths: " "%ld, %ld\n", size, size_out); exit(1); } } } return 0; } Nick Barnes wrote: > If your Fortran file has the same word size and enddian-ness as your > C, this simple program convert.c will strip all the record length > fields. I just knocked it up now, no warranty, etc, but it works for > me. Use as a pipe: > > $ ls > convert.c test.f > $ gcc -Wall -Werror -ansi -pedantic convert.c -o convert > $ gfortran44 test.f -o test > $ ./test > $ ls -l test-output > -rw-r--r-- 1 nb nb 2460 Dec 18 11:17 test-output > $ ./convert < test-output > test-converted > $ ls -l test-converted > -rw-r--r-- 1 nb nb 2420 Dec 18 11:18 test-converted > $ > > The code does a fair amount of checking; if you get one of the error > messages, let us know. The most obvious unchecked problem is a short > read, which will complain about mismatched lengths. > > If your Fortran has different word sizes or enddian-ness (e.g. most of > the Fortran output files I use on the Clear Climate Code project > are generated on big-endian machines), > you will need to add code to tweak the 'size' value after reading it, > and when checking the record-end marker. > > Nick B > > /* convert.c: remove record length fields from Fortran output file. */ > /* Nick Barnes, Ravenbrook Limited, 2009-12-18 */ > > #include > #include > #include > #include > > int main(void) > { > long size; > char *buf; > ssize_t bytes; > assert(sizeof(size) == 4); > while(bytes = read(0, (void*)&size, sizeof(size))) { > if (bytes < 0) { > fprintf(stderr, "read() returned %ld\n", bytes); > exit(1); > } > if (size <= 0) { > fprintf(stderr, "Read bad record length %ld\n", size); > exit(1); > } > buf = (char*)malloc(size + sizeof(size)); > if (!buf) { > fprintf(stderr, "Couldn't allocate buffer of %ld bytes\n", > size + sizeof(size)); > exit(1); > } > bytes = read(0, buf, size + sizeof(size)); > if (bytes <= 0) { > fprintf(stderr, "read() returned %ld\n", bytes); > exit(1); > } > if ((*(long*)(buf+size)) != size) { > fprintf(stderr, "Mismatched record lengths: %ld, %ld\n", > size, *(long*)(buf+size)); > exit(1); > } > write(1, buf, size); > free(buf); > } > return 0; > } > > > > _______________________________________________ > 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 Dec 18 15:41:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF1A3106568B for ; Fri, 18 Dec 2009 15:41:05 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 8A2D18FC22 for ; Fri, 18 Dec 2009 15:41:05 +0000 (UTC) Received: by fxm27 with SMTP id 27so2957690fxm.3 for ; Fri, 18 Dec 2009 07:41:04 -0800 (PST) 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=oMlsQQ6KA/UrNF8qdQYKTJokhWD0EexXeGUnF0jlCx0=; b=Iz0z6eFACuFIt2y8rvR5WhHgcWB9hC2kKR8t4kon24VV8OBHgsEvd3oNbGm1XtvH/y vSLe2UgNEi0srvBzp55n/Ep8CCg+5s3gyCQEsqIJXpGsHCH3zszGu7bhwm1taWpUuA/z aQofPW9ZWtFgDg+6l6ajratPeI7Ige3czkEyA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Z5iRGfiKyLN0iD4b7dfdcGfxnaIxRlv1HY5z2NBQiuwk2HtZ6++NMSVnxqtu1BmkBn BeWSPNMgxknMjF7ep7LqsrrI77XDOAi/HKur64Dw2Jue2bWvfcBlXRnkiHsRjpNO53NP G23XDOSswYReHFcmzR9zEykOPN27cSJZ7Nl64= MIME-Version: 1.0 Received: by 10.239.163.199 with SMTP id q7mr415187hbd.29.1261150864362; Fri, 18 Dec 2009 07:41:04 -0800 (PST) Date: Fri, 18 Dec 2009 15:41:04 +0000 Message-ID: From: Jeronimo Calvo To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Geom not found, disaster recovery plan on FREEBSD 7.2 STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 15:41:06 -0000 Ho folks, As a plan for a recovery planing due to a crash on a kernel Update, when restarted I used to have F1 Freebsd and F2 Other, I choosed F2 wich seems to belong to an old linux installation and a Grub-error pop up, after restarting again, Freebsd completly dissapear booting just that Old-Crashed GRUB plan... On an attempt to recover the normal behaviour I tried booting from a Livecd and restore the freebsd boot loader MBR on my first disk doing: Fixit# fdisk -B -b /boot/boot0 ad8 seems to write the MBR but when is asking to overwrite the partition table it is giving me an error: Geom not found... I tried several times, as well as using "fdisk -BI ad8" wich gives me the same error... Any ideas? -- () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 16:18:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58F1A1065739 for ; Fri, 18 Dec 2009 16:18:57 +0000 (UTC) (envelope-from dxnada@gmail.com) Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.211.172]) by mx1.freebsd.org (Postfix) with ESMTP id 166608FC2D for ; Fri, 18 Dec 2009 16:18:56 +0000 (UTC) Received: by ywh2 with SMTP id 2so3320656ywh.27 for ; Fri, 18 Dec 2009 08:18:56 -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=E87IBVX0KPSnoBZ04TDaGgz/x9qgjDzgBNlkYYs5wqE=; b=VRc3bN8j4by3PKdXIIriV3LHgrH73N1dyoHaDIghRw5Mh8igGMSCTjBmPfgPpTJjA/ Kk5FiT+7JkIAlvtYws8DFFz3A2kg6MOtQptnVP/Cv9OCP4w+COPtdgJzyo2QIL9+zkXo VDN+D730dwEv+BLWwFcGEbwWfnHLvT48Hwkv4= 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=OI8w7fGLcrRt3JtsANBfSHRawvKzBsrhy+Z/VZJVwHzBUrk3OxLD2TuOrUEXIBC7b4 Z6z5oTPu6rDrZs0hP8Mt1aF8rQZDea32e3Vic3zLGLos9UDCbmPAfcQB1SB8yqG8hGZM ulzF2wOobaTe46ODTIkq8ynMBdwnw6SgB16tk= MIME-Version: 1.0 Received: by 10.101.152.16 with SMTP id e16mr6394256ano.180.1261153136271; Fri, 18 Dec 2009 08:18:56 -0800 (PST) In-Reply-To: <200912172128.14426.pieter@degoeje.nl> References: <200912172128.14426.pieter@degoeje.nl> Date: Fri, 18 Dec 2009 10:18:55 -0600 Message-ID: From: Dex Nada To: Pieter de Goeje Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Joining multiple Multicast Streams X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 16:18:57 -0000 Thank you very much. I currently use the SO_REUSEADDR flag. I will try the SO_REUSEPORT as well - makes sense. Thank again. -DxN On Thu, Dec 17, 2009 at 2:28 PM, Pieter de Goeje wrote: > On Thursday 17 December 2009 19:45:24 Dex Nada wrote: >> Hi: >> >> I am writing an application that joins a multicast stream on a specific UDP >> port. But when I run more than one instance of the same application, the >> second instance complains that the port is already in use. For example if I >> join stream 229.10.10.133:2000 on one instance and 229.10.10..134:2000 on >> another instance, the second one fails to join - I can however join it if I >> kill the first instance. I have compiled that application with SOCKET_REUSE >> option, but I wonder if I need to enable/recompile-with any special >> multicast kernel option for this to work. I do not have this problem when I >> run this code on Linux (Ubuntu 9.10) but I really want to get this working >> on FreeBSD. >> >> Thanks in advance. >> >> -DxN > > Try SO_REUSEPORT. The manpage (getsockopt(2)) specifically mentions multiple > listeners for the same multicast stream. The following pseudo C seems to work > fine: > > int reuseport = 1; > > memset(&addr, 0, sizeof(addr)); > addr.sin_family = AF_INET; > addr.sin_addr.s_addr = htonl(INADDR_ANY); > addr.sin_port = htons(port); > > mreq.imr_multiaddr.s_addr = maddr; > mreq.imr_interface.s_addr = INADDR_ANY; > > int fd = socket(AF_INET, SOCK_DGRAM, 0); > setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &reuseport, sizeof(reuseport)); > bind(fd, (struct sockaddr *)&addr, sizeof(addr)); > setsockopt(fd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)); > recvfrom(fd, ....); > > Good luck, > > Pieter de Goeje > From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 16:29:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C00ED106566C for ; Fri, 18 Dec 2009 16:29:55 +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 7B8998FC37 for ; Fri, 18 Dec 2009 16:29:54 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NLfiB-0005s3-0A for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 17:29:51 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Dec 2009 17:29:50 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Dec 2009 17:29:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 18 Dec 2009 17:29:27 +0100 Lines: 27 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20091210) In-Reply-To: Sender: news Subject: Re: Geom not found, disaster recovery plan on FREEBSD 7.2 STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 16:29:55 -0000 Jeronimo Calvo wrote: > Ho folks, > > As a plan for a recovery planing due to a crash on a kernel Update, > when restarted I used to have F1 Freebsd and F2 Other, I choosed F2 > wich seems to belong to an old linux installation and a Grub-error pop > up, after restarting again, Freebsd completly dissapear booting just > that Old-Crashed GRUB plan... > > On an attempt to recover the normal behaviour I tried booting from a > Livecd and restore the freebsd boot loader MBR on my first disk doing: > > Fixit# fdisk -B -b /boot/boot0 ad8 > > seems to write the MBR but when is asking to overwrite the partition > table it is giving me an error: > > Geom not found... > > I tried several times, as well as using "fdisk -BI ad8" wich gives me > the same error... This particular error in your particular circumstances can be ignored. I think the old loader (GRUB) simply changed the "active" partition index in the MBR, you don't need to reinstall the boot loader - change the active parition. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 16:33:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C6731065693 for ; Fri, 18 Dec 2009 16:33:55 +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 10AC48FC41 for ; Fri, 18 Dec 2009 16:33:54 +0000 (UTC) Received: from lightning.wonkity.com (lightning.wonkity.com [10.0.0.8]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBIGXnRa060216; Fri, 18 Dec 2009 09:33:49 -0700 (MST) (envelope-from wblock@lightning.wonkity.com) Received: from lightning.wonkity.com (localhost [127.0.0.1]) by lightning.wonkity.com (8.14.3/8.14.3) with ESMTP id nBIGXnNF011450; Fri, 18 Dec 2009 09:33:49 -0700 (MST) (envelope-from wblock@lightning.wonkity.com) Received: from localhost (wblock@localhost) by lightning.wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBIGXn1O011447; Fri, 18 Dec 2009 09:33:49 -0700 (MST) (envelope-from wblock@lightning.wonkity.com) Date: Fri, 18 Dec 2009 09:33:49 -0700 (MST) From: Warren Block To: perryh@pluto.rain.com 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.2.3 (wonkity.com [10.0.0.1]); Fri, 18 Dec 2009 09:33:49 -0700 (MST) Cc: glarkin@freebsd.org, mexas@bristol.ac.uk, freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 16:33:55 -0000 perryh@pluto.rain.com wrote: > Greg Larkin wrote: > > ... > > > truncate -4 myfile should get rid of the last four bytes. Maybe > > > there's a similar efficient way to truncate the start of a file. > > > > This should do it: > > > > dd if=oldfile of=newfile bs=1 skip=4 > > Or, perhaps marginally more efficient: > > dd if=oldfile of=newfile bs=4 skip=1 It would be nice to avoid the file copy, but maybe there's no way to do that. The small buffer size for dd will probably make copies of multi-gig files slow. This might be faster: tail -c +5 myfile > outfile truncate -4 outfile (Has anyone mentioned that you can edit binary files interactively with vi yet? No? Well, it's horrific and surely has interesting failure modes. And there are probably disadvantages also.) -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 16:35:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C8EF1065692 for ; Fri, 18 Dec 2009 16:35:39 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 2B7678FC2B for ; Fri, 18 Dec 2009 16:35:38 +0000 (UTC) Received: by yxe1 with SMTP id 1so3159792yxe.3 for ; Fri, 18 Dec 2009 08:35: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:content-type; bh=8vJ7O/z+TtdC86bQxSWwMQH5432WBZJ43Dm6DnSRris=; b=VlFjlXFxQLjEMMxjH8EzGLvs/90kwop8FT/SKxq/okd7PzYhLN6oXN7AdDbgbNnEha 1mkOen3atQXluHCFodyvL7/FHzCVFgqq0IP5oy30ASNEqs2VdjhMxTUIVp5ovtaT973h TkfM5FPm6iGvFttXpaTKRvtnVy3rDf3ZG9s9Q= 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=e4myCJwFhV5BR0kzBWPRIFmf92emZSu8pFtBopyNHHoKAdfnkDpqET33xi8Q0B6/p0 HDrneEO5JTHDbcGyc8o2YUOvW45JtshqdONAEerzl9s7C5WYohDNhUDCixTyW48Dj4fE 1P5SjxePl3HqsseDRhQkq4bpBdx/6amrIGtHo= MIME-Version: 1.0 Received: by 10.150.9.5 with SMTP id 5mr6652168ybi.31.1261152350899; Fri, 18 Dec 2009 08:05:50 -0800 (PST) In-Reply-To: <4B295D72.2030804@pdc4u.com> References: <4B295D72.2030804@pdc4u.com> Date: Fri, 18 Dec 2009 10:05:50 -0600 Message-ID: From: Noel Jones To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Simple Monitoring Of TCP/IP 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: Fri, 18 Dec 2009 16:35:39 -0000 On Wed, Dec 16, 2009 at 4:21 PM, Michael Goodell wrote: > Hello . . . > > Looking for a *simple* protocol monitoring solution to test connectivity of > various facets of a system, i.e. HTTP / HTTPS / POP3 / SMTP etc. I am not > looking, and don't want to install a *heavy* application like Nagios etc, > but rather something much more simple. > > I have seen checkservice (/usr/ports/sysutils/checkservice) in the past and > that looked quite simple to implement. Another question is there anything > more preferred that checkservice that anyone knows about? > > Thank you in advance for any direction. For a simple service/system monitor, monit may suit your needs. http://mmonit.com/monit/ ports/sysutils/monit -- Noel Jones From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 16:38:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEFEB106568D for ; Fri, 18 Dec 2009 16:38:22 +0000 (UTC) (envelope-from nb@ravenbrook.com) Received: from raven.ravenbrook.com (raven.ravenbrook.com [193.164.110.8]) by mx1.freebsd.org (Postfix) with ESMTP id 243DF8FC08 for ; Fri, 18 Dec 2009 16:38:21 +0000 (UTC) Received: from thrush.ravenbrook.com (thrush.ravenbrook.com [193.164.110.145]) by raven.ravenbrook.com (8.14.3/8.14.2) with ESMTP id nBIGcGfb044976; Fri, 18 Dec 2009 16:38:16 GMT (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (localhost [127.0.0.1]) by thrush.ravenbrook.com (8.13.4/8.13.4) with ESMTP id nBIGcGq8012054; Fri, 18 Dec 2009 16:38:16 GMT (envelope-from nb@thrush.ravenbrook.com) From: Nick Barnes To: Warren Block In-Reply-To: from Warren Block of "Fri, 18 Dec 2009 09:33:49 -0700" Date: Fri, 18 Dec 2009 16:38:16 +0000 Message-ID: <12053.1261154296@thrush.ravenbrook.com> Sender: nb@ravenbrook.com X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (raven.ravenbrook.com [193.164.110.8]); Fri, 18 Dec 2009 16:38:16 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.1/10198/Fri Dec 18 15:19:17 2009 on raven.ravenbrook.com X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on raven.ravenbrook.com X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Cc: glarkin@freebsd.org, mexas@bristol.ac.uk, perryh@pluto.rain.com, freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 16:38:22 -0000 At 2009-12-18 16:33:49+0000, Warren Block writes: > perryh@pluto.rain.com wrote: > > Greg Larkin wrote: > > > ... > > > > truncate -4 myfile should get rid of the last four bytes. Maybe > > > > there's a similar efficient way to truncate the start of a file. > > > > > > This should do it: > > > > > > dd if=oldfile of=newfile bs=1 skip=4 > > > > Or, perhaps marginally more efficient: > > > > dd if=oldfile of=newfile bs=4 skip=1 > > It would be nice to avoid the file copy, but maybe there's no way to do > that. The small buffer size for dd will probably make copies of > multi-gig files slow. This might be faster: > > tail -c +5 myfile > outfile > truncate -4 outfile > > (Has anyone mentioned that you can edit binary files interactively with > vi yet? No? Well, it's horrific and surely has interesting failure > modes. And there are probably disadvantages also.) All very interesting, but the OP is wanting to lose all the Fortran record markers, not just the first (and last) four bytes of the file. The record markers precede and follow each record, and give the record's length. The size and enddian-ness of the record marker itself depends on the Fortran implementation. Nick B From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 16:56:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAEDC106568D for ; Fri, 18 Dec 2009 16:56:38 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 68CA88FC17 for ; Fri, 18 Dec 2009 16:56:38 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NLg7w-00037u-Nn; Fri, 18 Dec 2009 16:56:36 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NLg7w-0000iC-1j; Fri, 18 Dec 2009 16:56:28 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBIGuRxR018018; Fri, 18 Dec 2009 16:56:27 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBIGuRQC018017; Fri, 18 Dec 2009 16:56:27 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 18 Dec 2009 16:56:27 +0000 From: Anton Shterenlikht To: Warren Block Message-ID: <20091218165627.GB89667@mech-cluster241.men.bris.ac.uk> 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) X-Spam-Score: -1.5 X-Spam-Level: - Cc: glarkin@freebsd.org, mexas@bristol.ac.uk, perryh@pluto.rain.com, freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 16:56:38 -0000 On Fri, Dec 18, 2009 at 09:33:49AM -0700, Warren Block wrote: > perryh@pluto.rain.com wrote: > > Greg Larkin wrote: > > > ... > > > > truncate -4 myfile should get rid of the last four bytes. Maybe > > > > there's a similar efficient way to truncate the start of a file. > > > > > > This should do it: > > > > > > dd if=oldfile of=newfile bs=1 skip=4 > > > > Or, perhaps marginally more efficient: > > > > dd if=oldfile of=newfile bs=4 skip=1 > > It would be nice to avoid the file copy, but maybe there's no way to do > that. The small buffer size for dd will probably make copies of > multi-gig files slow. This might be faster: > > tail -c +5 myfile > outfile > truncate -4 outfile > > (Has anyone mentioned that you can edit binary files interactively with > vi yet? No? Well, it's horrific and surely has interesting failure > modes. And there are probably disadvantages also.) Vim, yes. I tried, but failed. At the moment dd/truncate combination seems the most appealing. But I'll look at C/perl/python proposed solutions as well. many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 16:58:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB0DB106568B for ; Fri, 18 Dec 2009 16:58:11 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 3F5838FC14 for ; Fri, 18 Dec 2009 16:58:10 +0000 (UTC) Received: by fxm27 with SMTP id 27so3038879fxm.3 for ; Fri, 18 Dec 2009 08:58:09 -0800 (PST) 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=xcY1CA7f9ummohUEMm0ATds5Hr+EekIKaK7IaSMgJ3Q=; b=STI7/nsmoexRbf8kkjY/iVuRxzsjH4C6PRdvIYOTZMcaGwaf83CiUoVmndqZMlL1Tb dxD0eGT4x1FGI7mjGnrYv0FLE+VVoBfR8t2zFy4pT5eS6iJRt3NleSySwoKmxRrE3tmv Ue91+zf8wXPMPtCOIgl4U5xkJ4CRXUQkVebCY= 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=IIV/1pFaq+c7VzmO23PKtnvwTIPp/8F+8O+ONG9GV7BE0tpWKWOlZGQYJ5gdwj6SkO FSHYAbQt2sODKLIMIwhXZr3LssG+zlBsOjlu7MDkxueNh9Sr69dFi5MtVt9W2AigcmyJ gtosossSLb0V40kYZSHyLEl7FflgbL1Tu+KRQ= MIME-Version: 1.0 Received: by 10.239.197.135 with SMTP id z7mr385878hbi.211.1261155489342; Fri, 18 Dec 2009 08:58:09 -0800 (PST) In-Reply-To: References: Date: Fri, 18 Dec 2009 16:58:09 +0000 Message-ID: From: Jeronimo Calvo To: Ivan Voras Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Geom not found, disaster recovery plan on FREEBSD 7.2 STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 16:58:11 -0000 Hi, how can i change that value on the MBR? 2009/12/18 Ivan Voras : > Jeronimo Calvo wrote: >> >> Ho folks, >> >> As a plan for a recovery planing due to a crash on a kernel Update, >> when restarted I used to have F1 Freebsd and F2 Other, I choosed F2 >> wich seems to belong to an old linux installation and a Grub-error pop >> up, after restarting again, Freebsd completly dissapear booting just >> that Old-Crashed GRUB plan... >> >> On an attempt to recover the normal behaviour I tried booting from a >> Livecd and restore the freebsd boot loader MBR on my first disk doing: >> >> Fixit# fdisk -B -b /boot/boot0 ad8 >> >> seems to write the MBR but when is asking to overwrite the partition >> table it is giving me an error: >> >> Geom not found... >> >> I tried several times, as well as using "fdisk -BI ad8" wich gives me >> the same error... > > This particular error in your particular circumstances can be ignored. > > I think the old loader (GRUB) simply changed the "active" partition index in > the MBR, you don't need to reinstall the boot loader - change the active > parition. > > _______________________________________________ > 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" > -- () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 17:24:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D15E910656BC for ; Fri, 18 Dec 2009 17:24:54 +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 9B1AB8FC17 for ; Fri, 18 Dec 2009 17:24: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)); Fri, 18 Dec 2009 12:24:51 -0500 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::663 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= Message-ID: <4B2BBAE2.6090102@comcast.net> Date: Fri, 18 Dec 2009 12:24:50 -0500 From: Steve Polyack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091214 Thunderbird/3.0 MIME-Version: 1.0 To: Chuck Swiger References: <4B23CD8A.50203@webtent.com> <4B291EB5.5040605@webtent.com> <4B2A9C1E.2010509@comcast.net> <3D62B3FC-1385-47C2-A9F3-F81D1597D9A6@mac.com> <4B2AA541.5010304@comcast.net> In-Reply-To: <4B2AA541.5010304@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Robert Fitzpatrick , FreeBSD Subject: Re: slow clock on FreeBSD 7.2 on 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: Fri, 18 Dec 2009 17:24:54 -0000 On 12/17/09 16:40, Steve Polyack wrote: > On 12/17/09 16:23, Chuck Swiger wrote: >> The "kern.hz=100" recommendation I can certainly agree with, but >> there is mostly no point in running ntpd or variants anywhere except >> on the host machine ("host ESX" for VMware, or Dom0 for Xen). For >> VMware, the vmtools stuff should provide a mechanism to sync time in >> VMs to the host clock. >> > I haven't used Xen, but for ESX: I may be wrong, but I'm pretty sure > that the vmtools available for FreeBSD do not support synchronizing > the host time to the guest OS. I know it is supported (and works) for > Linux, but by what mechanism I do not know. On OpenBSD the kernel can > be built to present a device which will use the "synchronize time with > guest" feature of VMware to provide a clock source which can be > specified in ntpd.conf. > > Perhaps you're right and all it takes is the switch in ESX. I've > disabled ntpd on one of my VMs and I'll see if it drifts any by tomorrow. FYI the system has started to drift on the order of 100ms every 6 hours. This leads me to believe that the "synchronize time with guest" feature of ESXi is not sufficient in FreeBSD with VMware tools. While using NTP, the system would reliably keep in sync within 30ms of local NTP relays. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 17:39:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 768FA106566B for ; Fri, 18 Dec 2009 17:39:12 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout025.mac.com (asmtpout025.mac.com [17.148.16.100]) by mx1.freebsd.org (Postfix) with ESMTP id 614DC8FC1C for ; Fri, 18 Dec 2009 17:39:12 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp025.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KUU006JNZP1AC00@asmtp025.mac.com> for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 09:39:02 -0800 (PST) From: Chuck Swiger In-reply-to: <4B2BBAE2.6090102@comcast.net> Date: Fri, 18 Dec 2009 09:39:01 -0800 Message-id: <78DA6E6C-85F4-444C-8176-5BAFA6EA32EB@mac.com> References: <4B23CD8A.50203@webtent.com> <4B291EB5.5040605@webtent.com> <4B2A9C1E.2010509@comcast.net> <3D62B3FC-1385-47C2-A9F3-F81D1597D9A6@mac.com> <4B2AA541.5010304@comcast.net> <4B2BBAE2.6090102@comcast.net> To: Steve Polyack X-Mailer: Apple Mail (2.1077) Cc: Robert Fitzpatrick , FreeBSD Subject: Re: slow clock on FreeBSD 7.2 on 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: Fri, 18 Dec 2009 17:39:12 -0000 Hi-- On Dec 18, 2009, at 9:24 AM, Steve Polyack wrote: >> I haven't used Xen, but for ESX: I may be wrong, but I'm pretty sure that the vmtools available for FreeBSD do not support synchronizing the host time to the guest OS. I know it is supported (and works) for Linux, but by what mechanism I do not know. On OpenBSD the kernel can be built to present a device which will use the "synchronize time with guest" feature of VMware to provide a clock source which can be specified in ntpd.conf. >> >> Perhaps you're right and all it takes is the switch in ESX. I've disabled ntpd on one of my VMs and I'll see if it drifts any by tomorrow. > > FYI the system has started to drift on the order of 100ms every 6 hours. OK. > This leads me to believe that the "synchronize time with guest" feature of ESXi is not sufficient in FreeBSD with VMware tools. While using NTP, the system would reliably keep in sync within 30ms of local NTP relays. You supposedly need to re-run it periodically or enable an internal in some .vmx config file; see "Enabling Periodic Synchronization": http://www.vmware.com/pdf/vmware_timekeeping.pdf If this doesn't work in FreeBSD guest VMs, has anyone filed a bug report with them? Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 16:55:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B51B1065670 for ; Fri, 18 Dec 2009 16:55:03 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id C769D8FC0A for ; Fri, 18 Dec 2009 16:55:02 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NLg6Q-00035K-F6; Fri, 18 Dec 2009 16:54:57 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NLg6O-0000gs-DG; Fri, 18 Dec 2009 16:54:52 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBIGsqUg007790; Fri, 18 Dec 2009 16:54:52 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBIGsqOq007765; Fri, 18 Dec 2009 16:54:52 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 18 Dec 2009 16:54:51 +0000 From: Anton Shterenlikht To: Nick Barnes Message-ID: <20091218165451.GA89667@mech-cluster241.men.bris.ac.uk> References: <12053.1261154296@thrush.ravenbrook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12053.1261154296@thrush.ravenbrook.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - X-Mailman-Approved-At: Fri, 18 Dec 2009 17:40:20 +0000 Cc: glarkin@freebsd.org, mexas@bristol.ac.uk, perryh@pluto.rain.com, freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 16:55:03 -0000 On Fri, Dec 18, 2009 at 04:38:16PM +0000, Nick Barnes wrote: > At 2009-12-18 16:33:49+0000, Warren Block writes: > > perryh@pluto.rain.com wrote: > > > Greg Larkin wrote: > > > > ... > > > > > truncate -4 myfile should get rid of the last four bytes. Maybe > > > > > there's a similar efficient way to truncate the start of a file. > > > > > > > > This should do it: > > > > > > > > dd if=oldfile of=newfile bs=1 skip=4 > > > > > > Or, perhaps marginally more efficient: > > > > > > dd if=oldfile of=newfile bs=4 skip=1 > > > > It would be nice to avoid the file copy, but maybe there's no way to do > > that. The small buffer size for dd will probably make copies of > > multi-gig files slow. This might be faster: > > > > tail -c +5 myfile > outfile > > truncate -4 outfile > > > > (Has anyone mentioned that you can edit binary files interactively with > > vi yet? No? Well, it's horrific and surely has interesting failure > > modes. And there are probably disadvantages also.) > > All very interesting, but the OP is wanting to lose all the Fortran > record markers, not just the first (and last) four bytes of the file. > The record markers precede and follow each record, and give the > record's length. The size and enddian-ness of the record marker > itself depends on the Fortran implementation. actually the file consists of just one (potentially very long) record, so erasing the first and the last 4 bytes is all I need. I haven't had a chance to look at the proposed solutions, but many thanks for all your advice. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 17:04:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25E8D1065676; Fri, 18 Dec 2009 17:04:59 +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 A10A88FC1F; Fri, 18 Dec 2009 17:04:58 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nBIH4mnU001669; Fri, 18 Dec 2009 17:04:49 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nBIH4mnU001669 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1261155889; bh=7O3dxDaOOMtl3iyXepiYo5skmp0fD9QiXd1ark599zM=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B2BB62B.9010609@infracaninophile.co.uk>|Date:=20F ri,=2018=20Dec=202009=2017:04:43=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20Nick=20Barnes=20|CC:=20War ren=20Block=20,=20glarkin@freebsd.org,=20=0D=0 A=20mexas@bristol.ac.uk,=20perryh@pluto.rain.com,=20=0D=0A=20freeb sd-questions@freebsd.org|Subject:=20Re:=20editing=20a=20binary=20f ile|References:=20<12053.1261154296@thrush.ravenbrook.com>|In-Repl y-To:=20<12053.1261154296@thrush.ravenbrook.com>|X-Enigmail-Versio n:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha 256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20b oundary=3D"------------enig18F17E18092FDAC9EC3E6379"; b=Hr0ajSTEKBUQlGv9hEwQtazjCYMITag25t+EQZS2fYJ9cZ4n1gL3cQFY1SdIE8110 1J51vTb5Wz7R8rfiyqrr03MujZHC5LrgYXiMO3u9PzbrsXSyUWwjryMZtZF//4I/Ak Hd4oV2pjJzSdgsqLrgreDADDgN4+TpIQatTIcyZI= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B2BB62B.9010609@infracaninophile.co.uk> Date: Fri, 18 Dec 2009 17:04:43 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Nick Barnes References: <12053.1261154296@thrush.ravenbrook.com> In-Reply-To: <12053.1261154296@thrush.ravenbrook.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig18F17E18092FDAC9EC3E6379" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk X-Mailman-Approved-At: Fri, 18 Dec 2009 17:41:29 +0000 Cc: glarkin@freebsd.org, perryh@pluto.rain.com, mexas@bristol.ac.uk, freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 17:04:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig18F17E18092FDAC9EC3E6379 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Nick Barnes wrote: > All very interesting, but the OP is wanting to lose all the Fortran > record markers, not just the first (and last) four bytes of the file. > The record markers precede and follow each record, and give the > record's length. The size and enddian-ness of the record marker > itself depends on the Fortran implementation. He did say his binary files consisted of a single record... Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig18F17E18092FDAC9EC3E6379 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAksrtjAACgkQ8Mjk52CukIya2ACaArr1jcwsrYtZ3aRVnoAIOpdP yJIAmQHn6mp6sIX833s+GjkWou6xXtUc =M9or -----END PGP SIGNATURE----- --------------enig18F17E18092FDAC9EC3E6379-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 18:02:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84D731065670 for ; Fri, 18 Dec 2009 18:02:49 +0000 (UTC) (envelope-from ocean_ieee@yahoo.it) Received: from smtp103.plus.mail.re1.yahoo.com (smtp103.plus.mail.re1.yahoo.com [69.147.102.66]) by mx1.freebsd.org (Postfix) with SMTP id 22EAD8FC18 for ; Fri, 18 Dec 2009 18:02:48 +0000 (UTC) Received: (qmail 40252 invoked from network); 18 Dec 2009 18:02:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=aQRCJR7BZgKR1D/yjKuCYiNLhLH9SFGu/NMOK3APcTmnpbTBjiL8QNXQaLhoN1tAOJlY7eQkul4XwAhcSydVaUk+PmUJ/veWoY626KAqDsj0PF0KKaMwqNXg6BgK4RtI2o51NzaXhLwnhspFkx28OEAfI+G5XlXc4JSG4TPzf6s= ; Received: from 213-156-35-243.ip.fastwebnet.it (ocean_ieee@213.156.35.243 with plain) by smtp103.plus.mail.re1.yahoo.com with SMTP; 18 Dec 2009 10:02:48 -0800 PST X-Yahoo-SMTP: SYX_4.SswBCj2Fjsw.Apnvidq06mcRQ- X-YMail-OSG: DDbLu64VM1kbiCHXvYekf1z7T3Mu21EM2upUSx777thaWxn6f69XHPFpIicbHlXmBppNRIwYmm6LrguWGiEnhOoex5IvHzsU4lWkH3T_G.dapsaFWXwIoogv_f91DItPCslPcJtEOk2IIWskZLkhzV05DQOvmHlU9f.bkL6aLOE5fJBSaiOsaHpZWnQrK7QOSsuGJ3378GddXU_r2SvNXn1.FXf.UzZvwUdTBs12_W4.xu62SK.VtYI9pA8XKFsu1iVk6Vn6fImkLalMExuz.DV8dW8x.LB8lJg.pBUGO8WdwBHCXRo8I8Rhp1CWwnvtu8BAsRJwTfUO3IUjqFyDyA2t8hilaJ71X.PoVUcMPBxx0.DWHyVL7GULz79Bo.Ut_m3dhQJv2M2jZRHZLPBqzE1MGwH7PQ-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4B2BC389.7040106@yahoo.it> Date: Fri, 18 Dec 2009 19:01:45 +0100 From: ocean User-Agent: Thunderbird 2.0.0.23 (X11/20091213) MIME-Version: 1.0 To: Anton Shterenlikht References: <20091218165627.GB89667@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20091218165627.GB89667@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: glarkin@freebsd.org, perryh@pluto.rain.com, freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 18:02:49 -0000 Anton Shterenlikht wrote: > On Fri, Dec 18, 2009 at 09:33:49AM -0700, Warren Block wrote: >> perryh@pluto.rain.com wrote: >>> Greg Larkin wrote: >>>> ... >>>>> truncate -4 myfile should get rid of the last four bytes. Maybe >>>>> there's a similar efficient way to truncate the start of a file. >>>> This should do it: >>>> >>>> dd if=oldfile of=newfile bs=1 skip=4 >>> Or, perhaps marginally more efficient: >>> >>> dd if=oldfile of=newfile bs=4 skip=1 >> It would be nice to avoid the file copy, but maybe there's no way to do >> that. The small buffer size for dd will probably make copies of >> multi-gig files slow. This might be faster: >> >> tail -c +5 myfile > outfile >> truncate -4 outfile >> >> (Has anyone mentioned that you can edit binary files interactively with >> vi yet? No? Well, it's horrific and surely has interesting failure >> modes. And there are probably disadvantages also.) > > Vim, yes. I tried, but failed. At the moment dd/truncate combination > seems the most appealing. But I'll look at C/perl/python proposed > solutions as well. > > many thanks > From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 18:07:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F2D5106566C for ; Fri, 18 Dec 2009 18:07:50 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id E4EB68FC1D for ; Fri, 18 Dec 2009 18:07:49 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so824033eyf.9 for ; Fri, 18 Dec 2009 10:07:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=0gpDuF/5JDiiKmqiSAqpHHwialMrSAZqMMQjCyJyFqg=; b=aZiaywH5FIH55J8+fyYdRPm3r5XkV6LeY2nUeXjaXDfqFebmqhOdED9ab3mWX3Eu5H 2uc20zxFvtwY3VPM4eOSUpOYmpHDzg8LNXsbyGtvEu38yYOpMCuV41cnWlZcIhtlO+Vg V1xVo+/zcgaY8Ltxcexp5mJ8m6drsVzSpkzXE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=hmWzpNFFkBTPzQrwcMCtspHYeFR+rAgS3GHAXyNBeQ9VA9FydDIpSeiYZDQKoM/f8O 5hhKUoK01yW6CSJMcvdYIFzJYGokLm0OJvXfTBMGEgFpMYNoQFs0iED9rajgus95RxkA kpjezwIiyr+nfd9xrjATng4jPJXYy9VSSSF5I= MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.216.90.212 with SMTP id e62mr1581655wef.26.1261157868185; Fri, 18 Dec 2009 09:37:48 -0800 (PST) In-Reply-To: References: From: Ivan Voras Date: Fri, 18 Dec 2009 18:37:28 +0100 X-Google-Sender-Auth: 885bd6be65aafdce Message-ID: <9bbcef730912180937k5c9a4b68h52bc2d8c5386df2@mail.gmail.com> To: Jeronimo Calvo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Geom not found, disaster recovery plan on FREEBSD 7.2 STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 18:07:50 -0000 2009/12/18 Jeronimo Calvo : > Hi, how can i change that value on the MBR? You can try reading this: http://www.freebsd.org/cgi/man.cgi?fdisk Search for "active slice". > 2009/12/18 Ivan Voras : >> Jeronimo Calvo wrote: >>> >>> Ho folks, >>> >>> As a plan for a recovery planing due to a crash on a kernel Update, >>> when restarted I used to have F1 Freebsd and F2 Other, I choosed F2 >>> wich seems to belong to an old linux installation and a Grub-error pop >>> up, after restarting again, Freebsd completly dissapear booting just >>> that Old-Crashed GRUB plan... >>> >>> On an attempt to recover the normal behaviour I tried booting from a >>> Livecd and restore the freebsd boot loader MBR on my first disk doing: >>> >>> Fixit# fdisk -B -b /boot/boot0 ad8 >>> >>> seems to write the MBR but when is asking to overwrite the partition >>> table it is giving me an error: >>> >>> Geom not found... >>> >>> I tried several times, as well as using "fdisk -BI ad8" wich gives me >>> the same error... >> >> This particular error in your particular circumstances can be ignored. >> >> I think the old loader (GRUB) simply changed the "active" partition inde= x in >> the MBR, you don't need to reinstall the boot loader - change the active >> parition. >> >> _______________________________________________ >> 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" >> > > > > -- > () ASCII Ribbon Campaign | Against HTML e-mail > /\ =C2=A0www.asciiribbon.org =C2=A0| Against proprietary extensions > From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 18:19:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 723FB106566C for ; Fri, 18 Dec 2009 18:19:23 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-155.bluehost.com (outbound-mail-155.bluehost.com [67.222.39.35]) by mx1.freebsd.org (Postfix) with SMTP id 41A158FC1C for ; Fri, 18 Dec 2009 18:19:22 +0000 (UTC) Received: (qmail 21580 invoked by uid 0); 18 Dec 2009 18:19:22 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy5.bluehost.com with SMTP; 18 Dec 2009 18:19:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=YL/CDpWtcrtLIA2RxZUxbYW1PshY26yCsAZwgVXv3O3W8oHWa26mcQH2pVrPgg+rRdAlBm3NUlF0k0o6tQGVY+OVxUlb/9ahjoT28bzdHB6hEk8J2HZpI4NqwyrnejG9; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NLhQ9-0005x8-2G for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 11:19:22 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Fri, 18 Dec 2009 11:12:04 -0700 Date: Fri, 18 Dec 2009 11:12:04 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20091218181204.GB98208@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <4B1DF953.4050504@sprinthost.ru> <4B1E2D40.9060900@sprinthost.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline In-Reply-To: <4B1E2D40.9060900@sprinthost.ru> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: FreeBSD is too filesystem errors sensitive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 18:19:23 -0000 --BwCQnh7xodEAoBMC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 08, 2009 at 01:41:04PM +0300, cronfy wrote: >=20 > After panic data *is* getting corrupted anyway - MySQL tables that were= =20 > open are broken, soft-updates are unsync'ed etc etc. By the way, you might want to look into using a DBMS that (unlike MySQL) doesn't hose up open tables because of a power failure or kernel panic. Choose something ACID-compliant like PostgreSQL if you fear data loss. There are evidently a couple of storage engines for MySQL that also provide much the same safety for your data, too, but you can't just settle for the default and hope that's good enough. If it's an option for you, you may want to look into disabling soft updates as well so that you don't have to just hope that everything gets synced before the end of the world. Depending on your usage, however, this might result in unacceptably poor performance. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksrxfQACgkQ9mn/Pj01uKWe9QCcCxVEBjcfz8IxVKNjOCFODnQ5 Vw8AnjiMdYeNy4nbAHzE8WH+Rp1FL6G2 =YTbY -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 18:41:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C50FB1065670 for ; Fri, 18 Dec 2009 18:41:35 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-104.bluehost.com (outbound-mail-104.bluehost.com [69.89.22.14]) by mx1.freebsd.org (Postfix) with SMTP id 970F78FC13 for ; Fri, 18 Dec 2009 18:41:35 +0000 (UTC) Received: (qmail 19501 invoked by uid 0); 18 Dec 2009 18:41:35 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy3.bluehost.com with SMTP; 18 Dec 2009 18:41:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:Mime-Version:Content-Type:Content-Disposition:User-Agent:X-Identified-User; b=mHrhNEoLkSkPUbE8NkRcu8n2VHsnj76laezfLYBU4fn4IVtrVJMX3o3VDwpeTt5k2QtIci58qvdsLYiPtYesd5kvCzvRSxMS4u3HqyXTlJqTTsXDCooan6Q/SZO5nIWz; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NLhld-0006LZ-Qr for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 11:41:34 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Fri, 18 Dec 2009 11:34:18 -0700 Date: Fri, 18 Dec 2009 11:34:18 -0700 From: Chad Perrin To: FreeBSD Questions Message-ID: <20091218183418.GB15899@guilt.hydra> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3lcZGd9BuhuYXNfi" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: broken tmux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 18:41:35 -0000 --3lcZGd9BuhuYXNfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable When I tried asking this before, it was evidently during a period that the mailing list was down, so I'll try again: After updating software on a FreeBSD 6.1 system, tmux appears to be broken. I still have a persistent tmux session running on the system, but I cannot access it with `tmux att`. I also cannot start new tmux sessions. As a non-root user: > tmux att can't create socket: Not a directory > tmux can't create socket: Not a directory As root: # tmux fatal: dispatch_imsg: imsg_read failed Searching the Internet hasn't worked; maybe my mad leet ninja search engine skills are just not strong enough. If that's the case, some help finding the right thread to follow would be appreciated. I haven't been able to track down anything relevant on local system logs, either. Please point me in the right direction to get this problem solved. Thanks. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --3lcZGd9BuhuYXNfi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksryyoACgkQ9mn/Pj01uKVB8ACg2MxOEB6Q9oq5OBLIkroVfgnv Ws0AoJagNF/tWdpY363FBHa6xsmEsYVb =8tfj -----END PGP SIGNATURE----- --3lcZGd9BuhuYXNfi-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 18:50:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 879FA1065693 for ; Fri, 18 Dec 2009 18:50:15 +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 3A6608FC1B for ; Fri, 18 Dec 2009 18:50:14 +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 nBIIoAfO007253; Fri, 18 Dec 2009 10:50:11 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 18 Dec 2009 10:50:11 -0800 (PST) Date: Fri, 18 Dec 2009 10:50:10 -0800 From: Gary Kline To: Ian Smith Message-ID: <20091218185010.GA3587@thought.org> References: <20091217163447.EBF3010656F5@hub.freebsd.org> <20091218124159.Q12012@sola.nimnet.asn.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091218124159.Q12012@sola.nimnet.asn.au> 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=-3.3 required=3.6 tests=ALL_TRUSTED,BAYES_00, URIBL_RHS_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 18:50:15 -0000 On Fri, Dec 18, 2009 at 01:45:39PM +1100, Ian Smith wrote: > In freebsd-questions Digest, Vol 289, Issue 4, Message 14 > On Sat, 12 Dec 2009 15:32:07 -0800 Gary Kline wrote: > > ariatotle is offline; i'm exclusively on my new server. will > > somebody please do a digg thought.org and see if they see what i see? > > > > hope i get this..... > > At this moment just seeing SERVFAIL for thought.org, and (thus) its > listed nameservers at your registrar: > Name Server:NS1.THOUGHT.ORG > Name Server:ETHIC.THOUGHT.ORG > > ======= > smithi on sola% dig thought.org > > ; <<>> DiG 9.3.4-P1 <<>> thought.org > ;; global options: printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 20499 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;thought.org. IN A > > ;; Query time: 4730 msec > ;; SERVER: 127.0.0.1#53(127.0.0.1) > ;; WHEN: Fri Dec 18 12:35:32 2009 > ;; MSG SIZE rcvd: 29 > ======= > > That's from Australia (as good as anywhere else in this regard :) > > It's a bit fraught, and not recommended (indeed, frowned upon by RFCs), > to have both/all of your domain nameserver IPs on one physical network. > > I know you had too many before, but if you know someone who can and will > provide secondary/slave DNS for you, with a decent expiry time you can > be offline for longish periods without your domain disappearing from > view, even if your mail/web//etc servers are temporarily offline. > > Rather than having to ask others to look it up, try locating some public > recursive nameserver that you can use, maybe provided by your ISP, let's > call it ns1.example.org .. then (assuming basic connectivity) you can: > > % dig @ns1.example.org [whatever.]thought.org [a|ns|soa|mx|..] > thanks for the dig examples, first. i saw this email before i threw in the towel last night, so something must be woriking again. about having too many [[that were pointing every-whichway, i have one secondary in the UK that has kept in step with my update almost at once. but yes, there are some free or low-cost public org sites .... i just [MIS]assumed that things were set. BZZT! > to check visibility for yourself while you're tinkering with your DNS, > remembering to allow time for changes to propagate. So it's best to be > running a short default TTL (say 3600 seconds) until you're running ok, > then once OK increase it to something more reasonable, say 1 day. ah, good point, thanks. > > Don't forget to increase your zone's serial number with each change to > your configuration, or slave servers won't notice and fetch updates. > If in doubt, it never hurts to bump the serial and restart named. Use > the standard format so you never use a smaller integer than before, eg > 2009121801 for the first update today. Check the supplied HTML docs. yep. [i forgot up update twice... . ] <***> > > Ensure that your firewall allows both TCP and UDP connections inbound on > port 53 on each of your externally accessible nameservers, and of course > allows response traffic outbound. > hm. since i was switched to pfSense that means yet another thing to master. prev, i was using ifpw and did allow TCP AND UDP. Will check. gary > cheers, Ian > > PS because thought.org is SERVFAIL at the mo, you won't get this mail > direct till the domain reappears here. It'll be queued for two days. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 19:07:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2FED106568B for ; Fri, 18 Dec 2009 19:07:11 +0000 (UTC) (envelope-from marceloc@espoltel.net) Received: from jupiter.espoltel.net (jupiter.espoltel.net [200.49.242.4]) by mx1.freebsd.org (Postfix) with ESMTP id 231A08FC08 for ; Fri, 18 Dec 2009 19:07:10 +0000 (UTC) Received: from localhost (localhost.espoltel.net [127.0.0.1]) by jupiter.espoltel.net (Postfix) with ESMTP id F367C2DDF87; Fri, 18 Dec 2009 13:57:14 -0500 (ECT) Received: from jupiter.espoltel.net ([127.0.0.1]) by localhost (jupiter.espoltel.net [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 0Wjg5UTVw1sU; Fri, 18 Dec 2009 13:57:12 -0500 (ECT) Received: from [172.26.5.20] (unknown [69.65.149.194]) by jupiter.espoltel.net (Postfix) with ESMTP id 9CC882DD3C4; Fri, 18 Dec 2009 13:57:12 -0500 (ECT) Message-ID: <4B2BCE72.2060908@espoltel.net> Date: Fri, 18 Dec 2009 13:48:18 -0500 From: Marcelo Celleri User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Noel Jones References: <4B295D72.2030804@pdc4u.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Simple Monitoring Of TCP/IP 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: Fri, 18 Dec 2009 19:07:11 -0000 Hi, Nagios uses perl scripts to check tcp services, you could use them=20 instead of a complete installation. Noel Jones escribi=F3: > On Wed, Dec 16, 2009 at 4:21 PM, Michael Goodell wr= ote: > =20 >> Hello . . . >> >> Looking for a *simple* protocol monitoring solution to test connectivi= ty of >> various facets of a system, i.e. HTTP / HTTPS / POP3 / SMTP etc. I am = not >> looking, and don't want to install a *heavy* application like Nagios e= tc, >> but rather something much more simple. >> >> I have seen checkservice (/usr/ports/sysutils/checkservice) in the pas= t and >> that looked quite simple to implement. Another question is there anyth= ing >> more preferred that checkservice that anyone knows about? >> >> Thank you in advance for any direction. >> =20 > > For a simple service/system monitor, monit may suit your needs. > http://mmonit.com/monit/ > ports/sysutils/monit > > -- Noel Jones > _______________________________________________ > 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 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 20:32:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F6E01065676 for ; Fri, 18 Dec 2009 20:32:12 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id E29BA8FC14 for ; Fri, 18 Dec 2009 20:32:11 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NLjUd-0002Q1-9m for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 20:32:11 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NLjUc-0003Dq-Dc for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 20:32:06 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBIKW6vR064501 for ; Fri, 18 Dec 2009 20:32:06 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBIKW6SV064500 for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 20:32:06 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 18 Dec 2009 20:32:06 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20091218203206.GA64489@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Subject: sysinstall differences between i386 and ia64/sparc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 20:32:12 -0000 Why when I run sysinstall on ia64 or sparc, I don't see these options under "Configure": Console Time Zone Mouse which are present in i386 sysinstall? Is this because vga console is not supported on all sparc graphic cards, or at all on ia64? What about time zone? How can I modify keyrate, etc. on sparc? many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 20:37:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6457D106566B for ; Fri, 18 Dec 2009 20:37:19 +0000 (UTC) (envelope-from dweimer@orscheln.com) Received: from proxy2.orscheln.com (proxy2.orscheln.com [216.106.0.225]) by mx1.freebsd.org (Postfix) with ESMTP id 223F18FC12 for ; Fri, 18 Dec 2009 20:37:18 +0000 (UTC) Received: from neuman.orscheln.oi.local (neuman.orscheln.com [10.20.10.160]) by proxy2.orscheln.com (8.14.3/8.14.3) with ESMTP id nBIKbB37016741 for ; Fri, 18 Dec 2009 14:37:11 -0600 (CST) (envelope-from dweimer@orscheln.com) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 18 Dec 2009 14:37:10 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: mount_udf information Thread-Index: AcqAHUlAEVTXuERUTA6QgAkYZtSlKAABBLtg From: "Dean Weimer" To: Subject: mount_udf information X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 20:37:19 -0000 Does anyone know where I can find out what versions of the UDF file = system that the FreeBSD mount_udf command supports? Or more specifically does anyone know if it's possible to mount an ISO = image of Windows 2008 server with FreeBSD? I created an ISO image server running on FreeBSD 7.2 (Also tested on a = FreeBSD 8.0 machine, no change in results) to store the ISO images we = use frequently. =A0Serving them both through NFS for access to be = mounted as CD/DVD drives with on VMware ESX servers, and through samba = shares both as ISO images and mounted as read only file systems.=A0 = Everything worked great right up until I got to the mounting of the = Windows 2008 Server DVDs. Tried using: mdconfig -a -t vnode -f /windows2008serverdvd.iso -u 0 mount -t udf /dev/md0 /mnt/windows2008serverdvd It returns "mount_udf: /dev/md0: Invalid argument" And logs a kernel error of "FSD does not lie within the partition!" Thanks, =A0=A0=A0=A0 Dean Weimer =A0=A0=A0=A0 Network Administrator =A0=A0=A0=A0 Orscheln Management Co From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 20:44:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E48ED106566B for ; Fri, 18 Dec 2009 20:44:01 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id A2A818FC12 for ; Fri, 18 Dec 2009 20:44:01 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NLjg4-0002hY-Qf; Fri, 18 Dec 2009 20:44:00 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NLjg4-0002dN-1f; Fri, 18 Dec 2009 20:43:56 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBIKhtS9064563; Fri, 18 Dec 2009 20:43:55 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBIKhtwW064562; Fri, 18 Dec 2009 20:43:55 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 18 Dec 2009 20:43:55 +0000 From: Anton Shterenlikht To: Anton Shterenlikht Message-ID: <20091218204355.GA64553@mech-cluster241.men.bris.ac.uk> References: <20091218203206.GA64489@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091218203206.GA64489@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -5.0 X-Spam-Level: ----- Cc: freebsd-questions@freebsd.org Subject: Partly solved: WAS: sysinstall differences between i386 and ia64/sparc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 20:44:02 -0000 On Fri, Dec 18, 2009 at 08:32:06PM +0000, Anton Shterenlikht wrote: > Why when I run sysinstall on ia64 or sparc, > I don't see these options under "Configure": > > Console > Time Zone > Mouse > > which are present in i386 sysinstall? > > Is this because vga console is not supported > on all sparc graphic cards, or at all on ia64? > > What about time zone? > > How can I modify keyrate, etc. on sparc? Answer: kbdcontrol -r fast -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 21:12:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3090B106568B for ; Fri, 18 Dec 2009 21:12:35 +0000 (UTC) (envelope-from ml@infosec.pl) Received: from v027580.home.net.pl (v027580.home.net.pl [89.161.156.148]) by mx1.freebsd.org (Postfix) with SMTP id 742D18FC13 for ; Fri, 18 Dec 2009 21:12:33 +0000 (UTC) Received: from 94-193-57-116.zone7.bethere.co.uk (94.193.57.116) (HELO [192.168.1.66]) by freeside.home.pl (89.161.156.148) with SMTP (IdeaSmtpServer v0.70) id ddcc6ab996e2b195; Fri, 18 Dec 2009 22:12:38 +0100 Message-ID: <4B2BF03D.3030104@infosec.pl> Date: Fri, 18 Dec 2009 21:12:29 +0000 From: Michal User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091214 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: problems with cups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 21:12:35 -0000 Hello, Every time I choose "print" or "print preview" option in my X applications (for example firefox, okular, thunderbird) then my system freezes. WCPU of given program goes up to 100% very quickly and I cannot kill it or even shut down the machine cleanly. I got that problem both on 8.0 (amd64) and 7.2 (i386). It's all good without cups-client. Problem occurs only after it is installed on my systems. Any ideas, please? Michal -- "Every man dies, not every man really lives." -William Wallace From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 21:47:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D394A106566B for ; Fri, 18 Dec 2009 21:47:55 +0000 (UTC) (envelope-from emss.mail@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 59D8B8FC17 for ; Fri, 18 Dec 2009 21:47:55 +0000 (UTC) Received: by fxm27 with SMTP id 27so3272382fxm.3 for ; Fri, 18 Dec 2009 13:47:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received :x-virus-scanned:received:received:to:subject:from :x-operating-system:date:message-id:user-agent:mime-version :content-type; bh=Nr2iWgo7LfYaof40bjeTI98b6JBn+DrjR7rYihShUNs=; b=qkvnrBjHPZWrGWbD1cGYlLBkTJaObwiBj9e5xvfFwjHxmC9j0znk3bXfYvdmdFBx9L EN2o69t4Qo52INpiA6C3yz9QPdWua2sX589p78g3bva7qmywr8BPr3Rvdvr07FFMsLjl x8cBgW2gu5L/w+OhtQAVVK7kBsx7AWNX5cJMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:x-virus-scanned:to:subject:from:x-operating-system:date :message-id:user-agent:mime-version:content-type; b=jxjl/AGqXm/ywICHU5KSP9b+hiNidvy6wqwtqBiamhXS1u23JQoCzNnqcT+Fr0rkYj rT4ByAB/ZZzFsYhcHECxyldICJx4ReG+8syinZTp1YyOfjwUmyCLCaJXzXHxeqiX/T71 uiFvdRlq840IHnVe1SHEfx+mlegg/NEN4Z2iI= Received: by 10.102.211.34 with SMTP id j34mr1857746mug.5.1261170995882; Fri, 18 Dec 2009 13:16:35 -0800 (PST) Received: from srvbsdfenssv.interne.associated-bears.org (LCaen-151-92-21-48.w217-128.abo.wanadoo.fr [217.128.200.48]) by mx.google.com with ESMTPS id j2sm10804973mue.5.2009.12.18.13.16.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 18 Dec 2009 13:16:34 -0800 (PST) Sender: Eric Masson Received: from localhost (localhost [127.0.0.1]) by srvbsdfenssv.interne.associated-bears.org (Postfix) with ESMTP id 25B321D364 for ; Fri, 18 Dec 2009 22:16:33 +0100 (CET) X-Virus-Scanned: amavisd-new at interne.associated-bears.org Received: from srvbsdfenssv.interne.associated-bears.org ([127.0.0.1]) by localhost (srvbsdfenssv.interne.associated-bears.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xAGpw0KMaNnO for ; Fri, 18 Dec 2009 22:16:30 +0100 (CET) Received: by srvbsdfenssv.interne.associated-bears.org (Postfix, from userid 1001) id 277E11D063; Fri, 18 Dec 2009 22:16:30 +0100 (CET) To: Mailing List FreeBSD Questions From: Eric Masson X-Operating-System: FreeBSD 8.0-RELEASE-p1 amd64 Date: Fri, 18 Dec 2009 22:16:29 +0100 Message-ID: <861vis0yqa.fsf@srvbsdfenssv.interne.associated-bears.org> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b28 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: 8.0-RELEASE, puc, ppbus & lpt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 21:47:56 -0000 Hello, I'd like to know whether it is possible to force device numbering on a box which has a built in parallel port and another on a serial/parallel card ? Parallel port managing code is loaded as modules : 13 1 0xffffffff80917000 8cc0 ppc.ko 14 3 0xffffffff80920000 99c8 ppbus.ko 15 1 0xffffffff8092a000 4848 lpt.ko 16 1 0xffffffff8092f000 a418 puc.ko Serial parallel/card port is probed before builtin port : ppc1: port 0xd300-0xd307,0xd400-0xd407,0xd500-0xd51f mem 0xf6013000-0xf6013fff irq 18 at device 9.1 on pci0 ppc1: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppc1: [ITHREAD] ppbus0: on ppc1 lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ... ppc0: port 0x378-0x37f,0x778-0x77b irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppc0: [ITHREAD] ppbus1: on ppc0 lpt1: on ppbus1 lpt1: [ITHREAD] lpt1: Interrupt-driven port I've tried to set device hints but couldn't achieve a consistant numbering (ppc1->ppbus1->lpt1 & ppc0->ppbus0->lpt0). Any idea, anyone ? TIA Regards -- L'attitude qui consiste a rappeler a un contributeur que sa poste est contraire a la charte du NG, me parait pedante, anale et probablement aussi "hors-sujet". Ce qui m'enerve plus qu' une poste sur le TeX... -+- Dr NV in GNU : Les a(nale)ventures de Docteur Juste Tex. -+- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 21:57:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E80851065670 for ; Fri, 18 Dec 2009 21:57:20 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mtumishi.cyberleo.net (mtumishi.cyberleo.net [69.72.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id C43D28FC1A for ; Fri, 18 Dec 2009 21:57:20 +0000 (UTC) Received: from [172.16.44.14] (h-74-2-96-2.chcgilgm.static.covad.net [74.2.96.2]) by mtumishi.cyberleo.net (Postfix) with ESMTPSA id 8509E12DB4; Fri, 18 Dec 2009 16:58:59 -0500 (EST) Message-ID: <4B2BFABE.4090901@cyberleo.net> Date: Fri, 18 Dec 2009 15:57:18 -0600 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.23 (X11/20091109) MIME-Version: 1.0 To: mailinglists References: <591192c5972ba7e0f6de1ec167010f71, 77fa862ed28fc5b6ead3ee575b4b6e49@debank.tv> In-Reply-To: <591192c5972ba7e0f6de1ec167010f71, 77fa862ed28fc5b6ead3ee575b4b6e49@debank.tv> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: etienne@debank.tv, freebsd-questions@freebsd.org Subject: Re: Transfer zfs pool to new hardware X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Dec 2009 21:57:21 -0000 mailinglists wrote: > ... > root@flappie:...home/rob#zpool list > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > data - - - - FAULTED - Try removing /boot/zfs/zpool.cache and rebooting to clear out the stale zfs config pointing to the old device names, then re-importing the pool(s): nas:~# zpool list no pools available nas:~# zpool import pool: data id: 12298073319825187638 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: data ONLINE raidz1 ONLINE ad0 ONLINE ad4 ONLINE ad6 ONLINE ad8 ONLINE ad10 ONLINE nas:~# zpool import data nas:~# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT data 931G 721G 210G 77% ONLINE - -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 22:41:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 451AF1065692 for ; Fri, 18 Dec 2009 22:41:11 +0000 (UTC) (envelope-from meta@club.kyutech.ac.jp) Received: from sapphire.club.kyutech.ac.jp (sapphire.club.kyutech.ac.jp [131.206.108.7]) by mx1.freebsd.org (Postfix) with ESMTP id 0E4008FC13 for ; Fri, 18 Dec 2009 22:41:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sapphire.club.kyutech.ac.jp (Postfix) with ESMTP id 533D81148F for ; Sat, 19 Dec 2009 07:41:09 +0900 (JST) X-Virus-Scanned: amavisd-new at club.kyutech.ac.jp Received: from club.kyutech.ac.jp (rose.club.kyutech.ac.jp [131.206.108.6]) by sapphire.club.kyutech.ac.jp (Postfix) with ESMTP id 2904E11442 for ; Sat, 19 Dec 2009 07:40:49 +0900 (JST) Date: Sat, 19 Dec 2009 07:40:47 +0900 From: Kouichiro Iwao To: freebsd-questions@freebsd.org Message-ID: <20091218224047.GA37742@club.kyutech.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: how to make vimage jail permanent by configuring 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: Fri, 18 Dec 2009 22:41:11 -0000 Hi. I'm trying to freebsd cruster with jails. I know how to make vimage jail temporarily with the commands like this. # jail -c vnet path=/usr/jail/jail01 persist # ifconfig epair create # ifconfig epair0a vnet $JID (snip) I want to make it permanent. I want jails to start automatically when I rebooted the host environment. I add the following lines into rc.conf. jail_jail01_flags="-c vnet" jail_jail01_rootdir="/usr/jail/jail01" jail_jail01_hostname="jail01.example.jp" jail_jail01_ip="192.168.100.101" However, I failed "/etc/rc.d/jail onestart jail01" to start up the jail. How to configure rc.conf in order to make vimage jail permanent? rc.d/jail only support traditional jails? -- kiwao From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 00:37:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AA18106566B for ; Sat, 19 Dec 2009 00:37:35 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id 43F568FC1D for ; Sat, 19 Dec 2009 00:37:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id B3BAC41E3; Sat, 19 Dec 2009 01:37:46 +0100 (CET) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by localhost (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Xx74GSR33Czc; Sat, 19 Dec 2009 01:37:46 +0100 (CET) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id 4D30541E2 ; Sat, 19 Dec 2009 01:37:46 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=windows-1252 From: bsd In-Reply-To: <20091218101601.219da8e0.usselmann.m@icg-online.de> Date: Sat, 19 Dec 2009 01:37:32 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <74692B50-D390-4CE4-9ED3-CA5B46CE8697@todoo.biz> <20091218101601.219da8e0.usselmann.m@icg-online.de> To: Liste FreeBSD X-Mailer: Apple Mail (2.1077) Cc: Manfred Usselmann Subject: Re: incremental FTP backup program X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 00:37:35 -0000 Thanks Manfred !=20 This program really rocks.=20 Backup up are fast and efficient=85 Learning curve is not so steep, = seems very good to me.=20 Encrypts backup with GPG; looks perfect.=20 Thx everyone for your answers.=20 Le 18 d=E9c. 2009 =E0 10:16, Manfred Usselmann a =E9crit : > On Thu, 17 Dec 2009 17:29:54 +0100 > bsd wrote: >=20 >> Hello,=20 >>=20 >> I have been provided with a 1To backup space by my hosting company=85 >> unfortunately It is only accessible by FTP which does not allow me to >> do the regular backup / restore I use to do using RSYNC.=20 >>=20 >>=20 >> What are the options I have in order to do the backup / restore of >> the files knowing that :=20 >>=20 >> 1. I would like to have a time based backup solution (incremental >> with sub-folder for daily backup so I can restore files from xxx days >> ago).=20 >>=20 >> 2. I need to use ftp as a transport >>=20 >> 3. Some of my servers have limited space so doing a local sync then >> FTP will not be possible.=20 >>=20 >> 4. If possible I would like a bullet proof solution ideally "well >> known" | tested and available from the port tree.=20 >>=20 >>=20 >> In fact what I would be looking for is something like "rsnapshot" but >> with FTP transport / compatibility.=20 >=20 > Have a look at duplicity (http://duplicity.nongnu.org/). It can use = ftp > as transport and uses the rsync algorithm so only the changed parts of > files are sent to the archive when doing an incremental backup. >=20 > Manfred >=20 >=20 >=20 > _______________________________________________ > 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" =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF P "Please consider your environmental responsibility before printing = this e-mail" From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 00:47:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C67E106566B for ; Sat, 19 Dec 2009 00:47:21 +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 BBE9F8FC1B for ; Sat, 19 Dec 2009 00:47:20 +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 nBJ0l8rn009461; Fri, 18 Dec 2009 16:47:08 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 18 Dec 2009 16:47:08 -0800 (PST) Date: Fri, 18 Dec 2009 16:47:08 -0800 From: Gary Kline To: Bruce Cran Message-ID: <20091219004708.GB4836@thought.org> References: <20091212233205.GA14918@thought.org> <20091217155220.f7a8a798.freebsd@edvax.de> <20091217145843.000023ef@unknown> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091217145843.000023ef@unknown> 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=-2.7 required=3.6 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_43,URIBL_RHS_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Polytropon , FreeBSD Questions Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 00:47:21 -0000 On Thu, Dec 17, 2009 at 02:58:43PM +0000, Bruce Cran wrote: > On Thu, 17 Dec 2009 15:52:20 +0100 > Polytropon wrote: > > > Gary, > > > > seems that my MX has problems with thought.org, that's why > > I'm repeating my reply on the list, I hope you can receive > > it this way. > > > > The MX said: > > > > : Host or domain name not found. > > Name service error for > > name=ethic.thought.org type=A: Host not found > > It looks like the server is EHLO'ing as ethic.thought.org but is > actually plato.thought.org. this stuff is at the lim of my knowledge. plato.thought.org is my firewall. pfSense. i don't have a nuculear(!) secrets or whatever, but damned if i want these script-kiddies reading my poetry..... or to have somebody hijack anything and spew out sp*m----which i severely despise. having my domain: server and firewall set up correctly will at least (help) keep the bad guys, the crackers of the world, from using my bandwidth or crack in. thus: now that i'm finished with my master's in ethics, i have time to get up to speed on this stuff. pfSense, DNS & BIND, anf whatever else i let slip since 06/2002. gary PS: sorry if i went slightly bonkers there. > > -- > Bruce Cran -- 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 Dec 19 01:03:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BDDD10656B5 for ; Sat, 19 Dec 2009 01:03:16 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (mx2.utsp.utwente.nl [130.89.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id C6D518FC1B for ; Sat, 19 Dec 2009 01:03:15 +0000 (UTC) Received: from nox-laptop.student.utwente.nl (nox-laptop.student.utwente.nl [130.89.170.109]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id nBJ12r9e021085; Sat, 19 Dec 2009 02:02:53 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Sat, 19 Dec 2009 02:02:51 +0100 User-Agent: KMail/1.9.10 References: <20091218183418.GB15899@guilt.hydra> In-Reply-To: <20091218183418.GB15899@guilt.hydra> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912190202.52600.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: Chad Perrin Subject: Re: broken tmux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 01:03:16 -0000 On Friday 18 December 2009 19:34:18 Chad Perrin wrote: > When I tried asking this before, it was evidently during a period that > the mailing list was down, so I'll try again: > > After updating software on a FreeBSD 6.1 system, tmux appears to be > broken. I still have a persistent tmux session running on the system, > but I cannot access it with `tmux att`. I also cannot start new tmux > sessions. > > As a non-root user: > > tmux att > > can't create socket: Not a directory > > > tmux > > can't create socket: Not a directory > What happens if you do "tmux -S /some/path/tmuxsocket", detach, and then "tmux -S /some/path/tmuxsocket a"? If that works then there is some problem with the default socket path (/tmp/tmux-####). I would check the permissions on /tmp and remove any /tmp/tmux* directories. -- Pieter de Goeje From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 02:06:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63793106566C for ; Sat, 19 Dec 2009 02:06:12 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-108.bluehost.com (outbound-mail-108.bluehost.com [69.89.22.8]) by mx1.freebsd.org (Postfix) with SMTP id 322E28FC08 for ; Sat, 19 Dec 2009 02:06:12 +0000 (UTC) Received: (qmail 5127 invoked by uid 0); 19 Dec 2009 02:06:11 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy3.bluehost.com with SMTP; 19 Dec 2009 02:06:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=bhuDRxxt1GiyxSN6bXw50G48QwRdP1mN7vDC+Y7bYR+gt4ZELb4R0DIWJQrpiiPTBHWJYB/gARJyhXrs2d+x0c4RqF4zd/tahuaXUcadudoJuUQPeqnLIKEneMT8V7EN; Received: from c-24-8-179-53.hsd1.co.comcast.net ([24.8.179.53] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NLohu-0003IQ-IB for freebsd-questions@freebsd.org; Fri, 18 Dec 2009 19:06:11 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Fri, 18 Dec 2009 18:58:57 -0700 Date: Fri, 18 Dec 2009 18:58:57 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20091219015857.GA1163@guilt.hsd1.co.comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20091218183418.GB15899@guilt.hydra> <200912190202.52600.pieter@degoeje.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: <200912190202.52600.pieter@degoeje.nl> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.179.53 authed with ren@apotheon.org} Subject: Re: broken tmux [solved] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2009 02:06:12 -0000 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 19, 2009 at 02:02:51AM +0100, Pieter de Goeje wrote: > On Friday 18 December 2009 19:34:18 Chad Perrin wrote: > > When I tried asking this before, it was evidently during a period that > > the mailing list was down, so I'll try again: > > > > After updating software on a FreeBSD 6.1 system, tmux appears to be > > broken. I still have a persistent tmux session running on the system, > > but I cannot access it with `tmux att`. I also cannot start new tmux > > sessions. > > > > As a non-root user: > > > tmux att > > > > can't create socket: Not a directory > > > > > tmux > > > > can't create socket: Not a directory > > > What happens if you do "tmux -S /some/path/tmuxsocket", detach, and=20 > then "tmux -S /some/path/tmuxsocket a"? If that works then there is some= =20 > problem with the default socket path (/tmp/tmux-####). I would check the= =20 > permissions on /tmp and remove any /tmp/tmux* directories. I piddled around trying to figure out a way to recover my tmux session, but eventually just deleted the file for it in /tmp and now tmux acts as expected (though without my preexisting session, darnit). Thanks for pointing me in the right direction. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkssM2EACgkQ9mn/Pj01uKWXlgCg4x974rZU6JZwJexr/nwkHxAp aUwAn2cT+iXwFX4AHi1KKVLfWviCGCNW =1cqW -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 02:15:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1A76106566B for ; Sat, 19 Dec 2009 02:15:29 +0000 (UTC) (envelope-from mmumby@xtra.co.nz) Received: from mta02.xtra.co.nz (mta02.xtra.co.nz [210.54.141.253]) by mx1.freebsd.org (Postfix) with ESMTP id 90E908FC16 for ; Sat, 19 Dec 2009 02:15:29 +0000 (UTC) Received: from ZEN ([222.152.80.130]) by mta02.xtra.co.nz with SMTP id <20091219014445.JFJH10638.mta02.xtra.co.nz@ZEN> for ; Sat, 19 Dec 2009 14:44:45 +1300 Message-ID: From: "Mark" To: Date: Sat, 19 Dec 2009 14:45:04 +1300 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18005 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: MF626 3g modem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 02:15:30 -0000 Hi, I have been trying to get this device working as a 3g modem but it also = has memory slot for MMC card. When it is plugged in it only sees the memory card - port 6 addr 2: high speed, self powered, config 1, ZTE CDMA = Technologies MSM(0x2000), ZTE, Incorporated(0x19d2), rev 0.00 umass0 I have booted without umass loaded and i get ugen0. From posts on the = internet the modem is meant to come up with 0x0031 device code. I have = put the device into usbdevs and added it to ubsa.c. But i think until i can get it to see the modem, it will always come up = as a cd drive. Any help appreciated. pabx# uname -a FreeBSD 6.4-RELEASE FreeBSD 6.4-RELEASE #6: Sat Dec 19 13:34:39 NZDT = 2009 :/usr/obj/usr/src/sys/noumass i386 Thanks Mark From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 02:38:00 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25C58106566C for ; Sat, 19 Dec 2009 02:38:00 +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 DAA4F8FC15 for ; Sat, 19 Dec 2009 02:37:59 +0000 (UTC) Received: from thought.org (ethic.thought.org [10.47.0.230]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id nBJ2btc7010254 for ; Fri, 18 Dec 2009 18:37:55 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1001 kline@thought.org; Fri, 18 Dec 2009 18:37:55 -0800 (PST) Date: Fri, 18 Dec 2009 18:37:55 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20091219023753.GA10057@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=-3.3 required=3.6 tests=ALL_TRUSTED,BAYES_00, URIBL_RHS_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Subject: i have a CLUE.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 02:38:00 -0000 Well, for a change, i'm beginning to figure at leas one thing out here. For the second time ever, I "rebooted" my "modem" ... by unplugging power and clearing out whatever was there, then plugging back in and waiting. I am, or was, able to google stuff, but using network tools finds aristotle for ethic, and cannot find ns1.thought.org. Mail to -test got thru moments ago, so this probably will too. Nutshell, it was not-that-wise advise to "reboot" the router. This was the abs last thing I expected. Fortunately, within ten hours things ought to be back up. gary PS: if there really IS a ``reboot'' button of that bloody thing, I sure as hell didn't see it. (*sigh*) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 02:53:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E8EA1065672 for ; Sat, 19 Dec 2009 02:53:50 +0000 (UTC) (envelope-from tfcheng@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id DBB7E8FC14 for ; Sat, 19 Dec 2009 02:53:49 +0000 (UTC) Received: by pzk15 with SMTP id 15so2498851pzk.3 for ; Fri, 18 Dec 2009 18:53:49 -0800 (PST) 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=hIKDYKJF3V4KVCHwD1YzjKqQS6veQuVATrJiPqaORZE=; b=wfYAJIku+vzkBaP5Y7OI5x1cLcWQrphpMwtjQrRwjUH6wBy7iHHjcpWpNoPUIKMkWh knbLE1jzgTXrl7fBgBvhZ01G7jdgMnr7NGgNig3lWpb2ayGAbAwby+ntTjwAfOxSEcqm ZisKljHenV5smKU2LJFcPefHsnRkOHdZSoeRw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hk1LHVYOeLpmfWvl+PIFUY64Vx90UxgW9f1+5n9W+u2ZC3p8rsh3zYqpAz75l+TGrC mddh/5urmXPgVdQlrjpU6JmCVDIHOHoa63qCb44SrYPiSjOQ9QrgOyaN42YJ9l69KHAC Uf7AF28GzM3AZkZjb/FHYLstzC5rcs7ySwYwI= MIME-Version: 1.0 Received: by 10.114.242.2 with SMTP id p2mr3077472wah.153.1261191225232; Fri, 18 Dec 2009 18:53:45 -0800 (PST) Date: Fri, 18 Dec 2009 21:53:45 -0500 Message-ID: From: Tsu-Fan Cheng To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: sound problem in 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: Sat, 19 Dec 2009 02:53:50 -0000 Hi, I just update to 8 release, and found that my sound has problem, my mpg123 can't find oss output, and mpg321 can't create mcop directory. Though mplayer and xmms don't complain while playing mp3 files, the music is distorted, I can't really describe it. It seems people have been talking about this on the forum but I didn't see any definitive answer, thought I will post it here to get some help, thanks!! TFC From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 04:38:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF857106566B for ; Sat, 19 Dec 2009 04:38:47 +0000 (UTC) (envelope-from mark@msen.com) Received: from shell.msen.com (msen.com [148.59.86.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8E9EA8FC13 for ; Sat, 19 Dec 2009 04:38:47 +0000 (UTC) X-Sent-To: Received: from saturn.gateway.2wire.net (99-170-102-4.lightspeed.livnmi.sbcglobal.net [99.170.102.4]) (authenticated bits=0) by shell.msen.com (8.14.3/8.14.3) with ESMTP id nBJ4cjZd025600 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 18 Dec 2009 23:38:46 -0500 (EST) (envelope-from mark@msen.com) From: Mark Moellering To: freebsd-questions@freebsd.org Date: Fri, 18 Dec 2009 23:38:37 -0500 User-Agent: KMail/1.12.4 (FreeBSD/8.0-RELEASE; KDE/4.3.4; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912182338.37697.mark@msen.com> Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=99.170.102.4; envelope-from= Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=99.170.102.4; helo=saturn.gateway.2wire.net Subject: Re: sound problem in 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: Sat, 19 Dec 2009 04:38:47 -0000 On Friday 18 December 2009 21:53:45 Tsu-Fan Cheng wrote: > Hi, > > I just update to 8 release, and found that my sound has problem, my > mpg123 can't find oss output, and mpg321 can't create mcop directory. > Though mplayer and xmms don't complain while playing mp3 files, the music > is distorted, I can't really describe it. It seems people have been > talking about this on the forum but I didn't see any definitive answer, > thought I will post it here to get some help, thanks!! > > TFC Not sure if it will help your situation but I had to add hw.snd.default_unit=1 to my sysctl.conf file. You may need to look at the output of dmesg and read through th eman page(s) of snd and your sound card. Hope this helps Mark Moellering From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 12:10:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDC27106568D for ; Sat, 19 Dec 2009 12:10:42 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 688788FC08 for ; Sat, 19 Dec 2009 12:10:41 +0000 (UTC) Received: by fxm27 with SMTP id 27so3552071fxm.3 for ; Sat, 19 Dec 2009 04:10:40 -0800 (PST) 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=Lygxaa0KhQNy+zofr1jNOjqDXhlvCSOKZCc7tmcthdk=; b=UOaC4wJxEplNBw/MzHshQFSHsYC1PRANYuPrpOTo+SqWHxwKJ13Xs0fazPSGN2PnVB AaG3yJPwyoeNvsQpijsqwGSuDpCCFjIeHhQZ1PZ3PDmgaWnMgoLlaCBlJjWvRhjX3RFj RzEZQoRT1c90IU2o8+QLXkArL1rxZw1FXzZY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PjjQPrjBlmNVsw0SKR+s+WnT6Eaw3Z7FElS4lLtp5PJNlyonzSRcXt0+bUsRnyCDnL VA4oTKFH/Lrnx7FWxU8PMIe6gNBMXfB7v3VwzzBdVFZJZasQo3gBI4Uq5YRLDHdU29cE CQrE63tURGqcwUWphghNERDEfoI38thsnP7QM= MIME-Version: 1.0 Received: by 10.239.145.142 with SMTP id s14mr514293hba.144.1261224640291; Sat, 19 Dec 2009 04:10:40 -0800 (PST) Date: Sat, 19 Dec 2009 14:10:40 +0200 Message-ID: <75a268720912190410x5bd2790du44299c0bbb2aca40@mail.gmail.com> From: Omer Faruk Sen To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 Subject: ntpq command output and unreachable state? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 12:10:42 -0000 Hi, I am trying to understand output of ntpq -c peers (or ntpq -p). What I am trying to understand that when a ntp server is announced as unreachable. I have made a test. I setup a test ntp server with /etc/ntp.conf ============= restrict default nomodify notrap noquery restrict 127.0.0.1 server 0.pool.ntp.org server clock.isc.org and started ntpd daemon using /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntpd.drift -g -l /var/log/ntpd.log and blocked all port 123 traffic that goes out from this ntp server at my gateway (to simulate to lost connection on ntp servers at ntp.conf) After 26 hours later my ntpd still thinks that it can reach to "clock.isc.org" (as can be seen with "*" mark before clock.isc.org below) # ntpq -c peers remote refid st t when poll reach delay offset jitter ============================================================================== +194.27.110.130 131.188.3.220 2 u 27h 1024 0 67.816 13.282 0.000 *clock.isc.org 204.123.2.5 2 u 26h 1024 0 224.461 -15.208 0.000 But I am sure that it can't reach (I sniff my firewall so no traffic comes from clock.isc.org). My question is how can I find out that my ntp servers defined at ntp.conf are unreachable (I know that if ntp server is unreachable than my local ntp server stops to answer for ntp requests) Best Regards. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 06:32:34 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DD59106566C for ; Sat, 19 Dec 2009 06:32:34 +0000 (UTC) (envelope-from akb.moradi@Mail.sbu.ac.ir) Received: from Mail.sbu.ac.ir (webmail.sbu.ac.ir [194.225.24.17]) by mx1.freebsd.org (Postfix) with ESMTP id 8CE1E8FC08 for ; Sat, 19 Dec 2009 06:32:32 +0000 (UTC) Date: Mon, 14 Dec 2009 17:35:19 +0330 Message-ID: <4AC03A6244C3C34BB52A7EC60B799C4C0152D833@m-pdc.sbu.ac.ir> X-MS-Has-Attach: MIME-Version: 1.0 X-MS-TNEF-Correlator: Thread-Topic: request Thread-Index: Acp8xngUiVDrnsl1TrGQLAEGqXS87w== From: "akbar moradi" Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 To: X-Mailman-Approved-At: Sat, 19 Dec 2009 12:29:29 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: request X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 06:32:34 -0000 hello I live in iran and very intresting to download and use freebsd .I think = it can provide me a good futeare of good os but my internet speed is very low and i can not download it directly = from your server.but if you send the free bsd iso file to my email = address i can download it from my email client .because my email is = locate in local server and i can easily download from this email server. tanks From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 12:38:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41504106566B for ; Sat, 19 Dec 2009 12:38:30 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 11A338FC12 for ; Sat, 19 Dec 2009 12:38:29 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id DD0597E818; Sat, 19 Dec 2009 03:38:28 -0900 (AKST) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sat, 19 Dec 2009 03:38:26 -0900 User-Agent: KMail/1.12.1 (FreeBSD/8.0-STABLE; KDE/4.3.1; i386; ; ) References: <20091218013422.GI73162@lostlogicx.com> In-Reply-To: <20091218013422.GI73162@lostlogicx.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200912190338.26709.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Brandon Low Subject: Re: RFC: Fam/Python based script for bruteforce blocking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 12:38:30 -0000 On Thursday 17 December 2009 16:34:22 Brandon Low wrote: > I'd love to hear other people's feedback on this approach of using FAM + > auth.log to implement this and/or to hear of other superior approaches > to achieving this result. Well, my first problem with it is obviously that I now need python, where I don't want python. In fact, my firewalls/gateways only have /bin/sh and /bin/csh as scripting languages. It's one reason I switched from custom sysutils/grok rules to using security/sshguard - it got me rid of perl. Secondly, you have matching rules coded in the script. If there would be one reason to prefer this script over sshguard, it would be that I can add attack patterns more easily, in config file with a syntax that's not too obscure. Last but not least, you assume that once an IP is at fault, I want that IP blocked permanently. In practice you end up with an extremely large table that might eventually be too big for a default PF table and recurring scans from the same IP are not that common (you see the IP in a 12-24 hour window, then not again). Hope this helps. -- Mel From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 12:48:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6431F106566C for ; Sat, 19 Dec 2009 12:48:38 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 2F8FB8FC0A for ; Sat, 19 Dec 2009 12:48:36 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 277C37E818; Sat, 19 Dec 2009 03:48:35 -0900 (AKST) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sat, 19 Dec 2009 03:48:34 -0900 User-Agent: KMail/1.12.1 (FreeBSD/8.0-STABLE; KDE/4.3.1; i386; ; ) References: <4B2AA1F4.5020206@locolomo.org> <200912171246.53037.mel.flynn+fbsd.questions@mailing.thruhere.net> <4B2AA94A.5090800@locolomo.org> In-Reply-To: <4B2AA94A.5090800@locolomo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200912190348.34395.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Subject: Re: System crashes under heavy disk i/o X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 12:48:38 -0000 On Thursday 17 December 2009 12:57:30 Erik Norgaard wrote: > Mel Flynn wrote: > > Turn down operating mode via atacontrol. If using dump(8) use the cache > > feature and/or do the backup from live disk, so no other services are > > running and disk isn't accessed other then by dump. > > Thanks, is there a way to set UDMA mode at boot? Roll your own rc(8). I know not of a loader tunable or device.hints setting, but I'm happily corrected on that. -- Mel From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 12:53:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F97D106566B for ; Sat, 19 Dec 2009 12:53:20 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0140D8FC1D for ; Sat, 19 Dec 2009 12:53:18 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 38C527E818; Sat, 19 Dec 2009 03:53:18 -0900 (AKST) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sat, 19 Dec 2009 03:53:16 -0900 User-Agent: KMail/1.12.1 (FreeBSD/8.0-STABLE; KDE/4.3.1; i386; ; ) References: <20091218224047.GA37742@club.kyutech.ac.jp> In-Reply-To: <20091218224047.GA37742@club.kyutech.ac.jp> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200912190353.16223.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Kouichiro Iwao Subject: Re: how to make vimage jail permanent by configuring 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: Sat, 19 Dec 2009 12:53:20 -0000 On Friday 18 December 2009 13:40:47 Kouichiro Iwao wrote: > I want to make it permanent. I want jails to start automatically when I > rebooted the host environment. I add the following lines into rc.conf. > > jail_jail01_flags="-c vnet" > jail_jail01_rootdir="/usr/jail/jail01" > jail_jail01_hostname="jail01.example.jp" > jail_jail01_ip="192.168.100.101" > > However, I failed "/etc/rc.d/jail onestart jail01" to start up the jail. > How to configure rc.conf in order to make vimage jail permanent? > > rc.d/jail only support traditional jails? Please show the output, with rc_debug turned on in /etc/rc.conf. -- Mel From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 14:42:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 132391065672 for ; Sat, 19 Dec 2009 14:42:19 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id A01678FC13 for ; Sat, 19 Dec 2009 14:42:18 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so1776345fgg.13 for ; Sat, 19 Dec 2009 06:42:17 -0800 (PST) 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:cc:content-type; bh=57bATyQfA8F9Oau2YjmTC8U7E7HeER69R7BZJ6C3i1g=; b=AjCrWX92ZIfQy6UJvlG0Pil0dTycstleJVBeLXh9qg/FBQ/ylOgK/Jd9DtrQ3KxIEe DlU3JM081pmMWKccgCp1nsWo8BICUJNSDbIbkoDPXQ3IkZkOCpyU9GhL7+d5mt7E7dvy uXgXgdU4/uuWmLIWKeZEGcR73+YHAZRQcGzm0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=itOHLTAvYLLcoS/MPm4ISCVFelZEZgokCO8crTlo1UVs3yGPL1RJfPd0jRaJ8RBuNE E7l4x2tE3+0v7BD0Lg0IrtobqUOnXKGnlvACuSu3zwd0+FHpQNMskeSepEF99+QUAgCJ e8fF07IMxSlqjQpoCN+mVRUEwQrf90wOKGGhM= MIME-Version: 1.0 Received: by 10.239.191.145 with SMTP id b17mr586380hbi.72.1261233737309; Sat, 19 Dec 2009 06:42:17 -0800 (PST) Date: Sat, 19 Dec 2009 14:42:17 +0000 Message-ID: From: Jeronimo Calvo To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org Subject: ET.UTF-8.out: Inappropriate ioctl for device (buildworld RELENG8) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 14:42:19 -0000 Hi folks, Im getting the following error when building world for RELENG_8 using GENERIC. Any ideas on how to skip that? ===> share/mklocale (all) mklocale -o UTF-8.out /usr/src/share/mklocale/UTF-8.src mklocale -o am_ET.UTF-8.out /usr/src/share/mklocale/am_ET.UTF-8.src am_ET.UTF-8.out: Inappropriate ioctl for device *** Error code 1 -- () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 14:42:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4924310656C1 for ; Sat, 19 Dec 2009 14:42:29 +0000 (UTC) (envelope-from fullblaststorm@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id D7EDE8FC15 for ; Sat, 19 Dec 2009 14:42:28 +0000 (UTC) Received: by fxm27 with SMTP id 27so3615787fxm.3 for ; Sat, 19 Dec 2009 06:42:27 -0800 (PST) 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=ZG6V62IsJevBtZ5viZt2ntZl4ywQxn0Ux/qtAyFMbUc=; b=wPjjGJ7zbu3GnssFeu87u/hAIqLEEYppFS77FIvneYKPVZMcrad6sg5OcewYA5IHTn jRcUC0nAhzsjmgbgP3rhVqNME16DuT+spY7SmD346ySw+00UCMI3V0kVmhdLokbJtdoE xeIosaDYCf9c2oDve5CuBl1z9B7CUkQcPOXPQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=lG8YSvtUkhouuRndO/imBruvFCwJDPZ1OBqbGeA4kCdxLu6nNs26vr51wKXY3t+xoL jOf1xtDMeTysQ4f5xuSY5DLDW2ypxSd8fespF2ETC/5cXW9nOoAPW4XmV17HrGk6o1S6 pGxPyQ++VvqJFArJHjoxoi7fflzLHScrQuTOo= MIME-Version: 1.0 Received: by 10.239.143.219 with SMTP id l27mr541697hba.162.1261233747615; Sat, 19 Dec 2009 06:42:27 -0800 (PST) Date: Sat, 19 Dec 2009 20:42:27 +0600 Message-ID: <6c51dbb10912190642s43ec0f2bj69047a0d5a0690ae@mail.gmail.com> From: Victor Lyapunov To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: Any chance ZFS becoming default? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 14:42:29 -0000 Hi everybody, Sorry for asking dumb questions, but is there any chance zfs becoming default FS in FreeBSD? If so, how soon might this happen? Cheers, Victor. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 15:25:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE5BF106566C for ; Sat, 19 Dec 2009 15:25:31 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp105.prem.mail.ac4.yahoo.com (smtp105.prem.mail.ac4.yahoo.com [76.13.13.44]) by mx1.freebsd.org (Postfix) with SMTP id 297ED8FC08 for ; Sat, 19 Dec 2009 15:25:31 +0000 (UTC) Received: (qmail 66194 invoked from network); 19 Dec 2009 15:25:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=DmJAKcRwbQHUxydE1eFYdCOKi/5ijv8oDMLvvEmD64jr+lTaTWo3lQndEZZhxnCK8dc1dkN/jX0MdfX5KdZ1MELf7fp5r4J/QqlUejKoSNX2ZsOcN8pGp7Y5MUbOiHNVMES9f5xUEIy6+/8ijLuvGk/aGZjHY6PxfVLl6N6TUqE= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp105.prem.mail.ac4.yahoo.com with SMTP; 19 Dec 2009 07:25:30 -0800 PST X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: MPSF.PIVM1nHfsQHh9fs_7rD9eApsnVIwru321RnclWbnnlmdn74_OrLf5GembcKTs731joWWsj_rx3AgCfqfq_XFoxuZ.8L_xo0WNpdMphlxPWq684jTg9rMXPfteyrtEw3g2ivVZr5p2u62eCJEylCt0FBmjKayaByucmLBzyRorI9wjDuazwWh4iyqvEZmyswBK.3p7ULsq0cJYOxvNrIkPNa4sw_fR5pDvsU4P28qLHMyI8O_wGONYXqGaGKaiNZsyZjPTF15b7jCl7Jf7UW2_6j1I0x1yiaUNB0hH4cVr9nxvak_kQNHMK3_kzVvl0ycchL.AN2Sea5oRM6dAyx3ukbF4wtURe5RdDbKyfkeADNyoCUIiCllnonP7V.HRocXk8LeGIqEEFGEnb7x1IBlVeE0q4vz480ESL.faVdMPSGpRGTSfiqlOFhQCAP7ftgLSAVuRKw377yhZBFppY- 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 F3DCD22857 for ; Sat, 19 Dec 2009 10:25:29 -0500 (EST) Date: Sat, 19 Dec 2009 10:25:29 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20091219102529.19b67818@scorpio.seibercom.net> In-Reply-To: <6c51dbb10912190642s43ec0f2bj69047a0d5a0690ae@mail.gmail.com> References: <6c51dbb10912190642s43ec0f2bj69047a0d5a0690ae@mail.gmail.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Any chance ZFS becoming default? 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, 19 Dec 2009 15:25:31 -0000 On Sat, 19 Dec 2009 20:42:27 +0600 Victor Lyapunov replied: >Hi everybody, >Sorry for asking dumb questions, but is there any chance zfs becoming >default FS in FreeBSD? If so, how soon might this happen? It appears that everyone is not as enthusiastic about it. http://www.neowin.net/news/main/09/10/24/zfs-filesystem-for-macosx-is-dead -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | "What do you do when your real life exceeds your wildest fantasies?" "You keep it to yourself." Broadcast News From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 16:13:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10A2E106566C for ; Sat, 19 Dec 2009 16:13:14 +0000 (UTC) (envelope-from jg@koderize.com) Received: from haggis.mythic-beasts.com (haggis.mythic-beasts.com [93.93.131.52]) by mx1.freebsd.org (Postfix) with ESMTP id 88E4E8FC17 for ; Sat, 19 Dec 2009 16:13:13 +0000 (UTC) Received: from [93.93.130.49] (helo=sphinx.mythic-beasts.com) by haggis.mythic-beasts.com with esmtp (Exim 4.69) (envelope-from ) id 1NM1vc-0000Jg-Bq for freebsd-questions@freebsd.org; Sat, 19 Dec 2009 16:13:12 +0000 Received: from host86-181-31-95.range86-181.btcentralplus.com ([86.181.31.95] helo=bsdbox.koderize.com) by sphinx.mythic-beasts.com with esmtpa (Exim 4.62) (envelope-from ) id 1NM1va-0000Au-Ev for freebsd-questions@freebsd.org; Sat, 19 Dec 2009 16:13:11 +0000 Received: from bsdbox.koderize.com (localhost [127.0.0.1]) by bsdbox.koderize.com (8.14.3/8.14.3) with ESMTP id nBJGD9Qq057918 for ; Sat, 19 Dec 2009 16:13:09 GMT (envelope-from jg@bsdbox.koderize.com) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.3 at bsdbox.koderize.com Received: (from jg@localhost) by bsdbox.koderize.com (8.14.3/8.14.3/Submit) id nBJGD91l057917 for freebsd-questions@freebsd.org; Sat, 19 Dec 2009 16:13:09 GMT (envelope-from jg) Date: Sat, 19 Dec 2009 16:13:09 +0000 From: Jamie Griffin To: freebsd-questions@freebsd.org Message-ID: <20091219161309.GA57855@bsdbox.koderize.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline X-Operating-System: FreeBSD 7.2-RELEASE-p5 X-Organization: Koderize.com X-Web-Site: http://www.koderize.com X-PGP-Key: 0x842DD368 http://www.koderize.com/jpg-gnupg.asc X-PGP-Key-Fingerprint: F850 A09C F877 FBC4 A63C FDDC 7484 4EEF 842D D368 User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bsdbox.koderize.com X-Mythic-Sender-Verify: + host 93.93.131.52 accepted RCPT TO with '250 Accepted' X-Spam-Status: No, score=-0.0 X-BlackCat-Spam-Score: 0 Received-SPF: none (sphinx.mythic-beasts.com: domain of jg@koderize.com does not designate permitted sender hosts) client-ip=86.181.31.95 envelope-from=jg@koderize.com helo=bsdbox.koderize.com Subject: question about building a custom kernel 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, 19 Dec 2009 16:13:14 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi I have been reading the handbook to learn about building a custom kernel, but just wanted to ask something about gathering information about my hardware before I give it a go.=20 The handbook suggests the command: # pciconf -lv=20 =2E..which I like because it provides a clear list of components I can find out about before I try to build the new kernel. On my system, this command does print out information for quite a few components, I just wondered if this information is all I need to work =66rom or is it not an accurate or detailed enough representation of the hardware I have in my computer. I'd really appreciate any advice on how others go about this. =20 =20 Jamie --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkss+5UACgkQdIRO74Qt02hvWACdF+baii0mBZgD1gNuKF5PQlsb wXQAoJTNPKYpG37uPS5kBO0GTYeTelpE =LAZ0 -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 16:16:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32BF41065744 for ; Sat, 19 Dec 2009 16:16:48 +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 971FB8FC12 for ; Sat, 19 Dec 2009 16:16:47 +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 nBJGGafe018654; Sat, 19 Dec 2009 08:16:38 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 19 Dec 2009 08:16:38 -0800 (PST) Date: Sat, 19 Dec 2009 08:16:36 -0800 From: Gary Kline To: Polytropon Message-ID: <20091219161636.GA7725@thought.org> References: <20091212233205.GA14918@thought.org> <20091217155220.f7a8a798.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091217155220.f7a8a798.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-3.3 required=3.6 tests=ALL_TRUSTED,BAYES_00, URIBL_RHS_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: FreeBSD Questions Subject: Re: is this getting out? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 16:16:48 -0000 hello list, it looks as tho my mail to this last from friday night did not make it thru. this is yet-another test. here's hoping; sorry fot top-posting, but i will be Surprised if this really makes it.... ..... On Thu, Dec 17, 2009 at 03:52:20PM +0100, Polytropon wrote: > Gary, > > seems that my MX has problems with thought.org, that's why > I'm repeating my reply on the list, I hope you can receive > it this way. > > The MX said: > > : Host or domain name not found. > Name service error for > name=ethic.thought.org type=A: Host not found > > Content was: > > On Sat, 12 Dec 2009 15:32:07 -0800, Gary Kline wrote: > > > > ariatotle is offline; i'm exclusively on my new server. > > will somebody please do a digg thought.org and see if > > they see what i see? > > % dig thought.org > > ; <<>> DiG 9.4.2-P1 <<>> thought.org > ;; global options: printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50856 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;thought.org. IN A > > ;; AUTHORITY SECTION: > thought.org. 9551 IN SOA aristotle.thought.org. hostmaster.thought.org. 2008121902 10800 3600 604800 38400 > > ;; Query time: 44 msec > ;; SERVER: 192.168.100.1#53(192.168.100.1) > ;; WHEN: Thu Dec 17 15:47:02 2009 > ;; MSG SIZE rcvd: 86 > > > > -- > 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" -- 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 Dec 19 16:28:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2262010656A8 for ; Sat, 19 Dec 2009 16:28:12 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id AD5CB8FC21 for ; Sat, 19 Dec 2009 16:28:11 +0000 (UTC) Received: by fxm27 with SMTP id 27so3663710fxm.3 for ; Sat, 19 Dec 2009 08:28:10 -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:content-type :content-transfer-encoding; bh=X+Exva39+d0DYS8y2Pl/deJ0FTwrupa1ABCRAl4HwmY=; b=ho21X8u3B+b5ol1Z/CaFWyxKcrIe4M0w+8jzbE7+xnRZ6VodeOeEB4pJLxujh8XRuv qUDaRUeaS1xDSa3loIx3WJ3ooqIFhmZ+v9dNA/0ixL+r48ky22vAg5qIYpRFlx3brr0Y WeK8JMNufbzozjO9GtuE4rucBQNZHZqG0mJf0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=J8THlbUEwEHjro4WiD6UykKG+EzPCnURIZSPG3DVOahKmj0/M0fBl+3T93fgibyXrO 9YWQXXIJP84RfMTWcJmngOS8GKkWhrQJXLo/7QK/hNLC2qTrVD/xVzOtQZeL4v4ZZJIV //7C6CnBpXkBwN3r/nhoGeKEZtpKTpRdQi0MU= MIME-Version: 1.0 Received: by 10.239.132.203 with SMTP id 11mr558381hbs.84.1261240090687; Sat, 19 Dec 2009 08:28:10 -0800 (PST) In-Reply-To: <75a268720912190410x5bd2790du44299c0bbb2aca40@mail.gmail.com> References: <75a268720912190410x5bd2790du44299c0bbb2aca40@mail.gmail.com> Date: Sat, 19 Dec 2009 18:28:10 +0200 Message-ID: <75a268720912190828k5683aafch28b2c75d35a9d6d0@mail.gmail.com> From: Omer Faruk Sen To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: ntpq command output and unreachable state? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 16:28:12 -0000 I have used ntpq -c associations to see if the server is reachable or not. But even the peers are not reachable my ntpd answers to queries for some time and after recovering connection (reachable state) my ntpd doesn't answer to ntp clients even if ntpq -c peers states "*" state. But after certain amount of time time can be synced with my ntpd server. (this recovery process took more than 1 hour in my test setup). On Sat, Dec 19, 2009 at 2:10 PM, Omer Faruk Sen wrote: > Hi, > > I am trying to understand output of ntpq -c peers (or ntpq -p). What I > am trying to understand that when a ntp server is announced as > unreachable. I have made a test. I setup a test ntp server with > > > /etc/ntp.conf > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > restrict default nomodify notrap noquery > restrict 127.0.0.1 > server 0.pool.ntp.org > server clock.isc.org > > and started ntpd daemon using > > /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid -f > /var/db/ntpd.drift -g -l /var/log/ntpd.log > > and blocked all port 123 traffic that goes out from this ntp server at > my gateway (to simulate to lost connection on ntp servers at ntp.conf) > After 26 hours later my ntpd still thinks that it can reach to > "clock.isc.org" (as can be seen with "*" mark before clock.isc.org > below) > > # ntpq -c peers > =A0 =A0 remote =A0 =A0 =A0 =A0 =A0 refid =A0 =A0 =A0st t when poll reach = =A0 delay =A0 offset =A0jitter > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > +194.27.110.130 =A0131.188.3.220 =A0 =A02 u =A027h 1024 =A0 =A00 =A0 67.8= 16 =A0 13.282 =A0 0.000 > *clock.isc.org =A0 204.123.2.5 =A0 =A0 =A02 u =A026h 1024 =A0 =A00 =A0224= .461 =A0-15.208 =A0 0.000 > > But I am sure that it can't reach (I sniff my firewall so no traffic > comes from clock.isc.org). My question is how can I find out that my > ntp servers defined at ntp.conf are unreachable (I know that if ntp > server is unreachable than my local ntp server stops to answer for ntp > =A0requests) > > Best Regards. > From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 17:23:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0952D1065672 for ; Sat, 19 Dec 2009 17:23:49 +0000 (UTC) (envelope-from dernst@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 625598FC13 for ; Sat, 19 Dec 2009 17:23:47 +0000 (UTC) Received: (qmail invoked by alias); 19 Dec 2009 16:57:05 -0000 Received: from p5B3B73BC.dip.t-dialin.net (EHLO traal.sol) [91.59.115.188] by mail.gmx.net (mp018) with SMTP; 19 Dec 2009 17:57:05 +0100 X-Authenticated: #800556 X-Provags-ID: V01U2FsdGVkX18H+cRv9IsHPR+j/amIkLKX/ZS5sc2jqyyZERXfGx j/klTM/ItNKLrd Date: Sat, 19 Dec 2009 17:57:04 +0100 From: Dominik Ernst To: freebsd-questions@freebsd.org Message-ID: <20091219175704.13db49d2@traal.sol> In-Reply-To: <01FB8F39BAD0BD49A6D0DA8F7897392904F756@Mercury.galaxy.lan.lcl> References: <01FB8F39BAD0BD49A6D0DA8F7897392904F756@Mercury.galaxy.lan.lcl> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5600000000000001 Cc: Graeme Dargie Subject: Re: ezjail bsd 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 17:23:49 -0000 On Fri, 18 Dec 2009 12:44:51 -0000 "Graeme Dargie" wrote: > I am trying to get ezjail running on bds 8.0 and I keep hitting the > same wall > > > > FreeBSD amalthea.galaxy.lan.lcl 8.0-RELEASE FreeBSD 8.0-RELEASE #0: > Sat Nov 21 15:02:08 UTC 2009 /usr/obj/usr/src/sys/GENERIC amd64 > > > > I have update /usr/src using csup > > > > When I issue a ezjail-admin update -ip > > > > It runs for a while then dies with > > > > >>> Installing everything > > -------------------------------------------------------------- > > cd /usr/src; make -f Makefile.inc1 install > > ===> share/info (install) > > install -o root -g wheel -m 444 dir-tmpl > /usr/jails/fulljail/usr/share/info/dir > > install:No such file or directory > > *** Error code 1 > > > > Stop in /usr/src/share/info. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > > > Now I suspect it is something stupid I have done or not done but I > cant seem to see what it is. > > > > Regards > > > > Graeme > > _______________________________________________ > 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" Did you do make buildworld in /usr/src after csup? From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 17:41:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF2231065672 for ; Sat, 19 Dec 2009 17:41:15 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-px0-f190.google.com (mail-px0-f190.google.com [209.85.216.190]) by mx1.freebsd.org (Postfix) with ESMTP id B84808FC08 for ; Sat, 19 Dec 2009 17:41:15 +0000 (UTC) Received: by pxi28 with SMTP id 28so2740796pxi.7 for ; Sat, 19 Dec 2009 09:41:15 -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:content-type; bh=pXvyE7LOEfXDjSFDQKWTYo8xPei0YFKYBty9HHvgZ/I=; b=E24pRpxZIEUn1K+Tjea3y4bGiZKJM7sLeLL42c0B18fsehYcgMKHxPNz3hp7IUTA/E XGFtG6xoJrVQsqvUpc5w2jIdQLd244VNsdPZNTWXTUwl3tA/tvx477qa0Y3mlAtmROOg BK+cTbW7M/eGnuDBYHeqelZDSGZjH8A72qsLg= 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=ETaK9G6S9/PZuYURE+QTc6R2EDl/3iQG4sJnBbhmP7qTDMtEB6zhX76VfTAzOOACUO RD1yKoCTfj5tsTrjbxWDZ6MuFwnGIKcwsaqON9eKSIjDziGBxE1CdyK1opxPidri/NlC Sgj5URHTZ82bvfV6Z72Q6gPPBUN2WPvsmio/U= MIME-Version: 1.0 Received: by 10.115.61.16 with SMTP id o16mr3492296wak.15.1261244474875; Sat, 19 Dec 2009 09:41:14 -0800 (PST) In-Reply-To: <20091219161309.GA57855@bsdbox.koderize.com> References: <20091219161309.GA57855@bsdbox.koderize.com> Date: Sat, 19 Dec 2009 10:41:14 -0700 Message-ID: From: Tim Judd To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: question about building a custom 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: Sat, 19 Dec 2009 17:41:15 -0000 On 12/19/09, Jamie Griffin wrote: > Hi > > I have been reading the handbook to learn about building a custom > kernel, but just wanted to ask something about gathering information > about my hardware before I give it a go. > > The handbook suggests the command: > > # pciconf -lv > > ...which I like because it provides a clear list of components I can find > out about before I try to build the new kernel. > > On my system, this command does print out information for quite a few > components, I just wondered if this information is all I need to work > from or is it not an accurate or detailed enough representation of the > hardware I have in my computer. I'd really appreciate any advice on how > others go about this. > > Jamie > Jamie, pciconf will list pci devices only (and their derivatives, like PCI-X and PCI-e). ISA devices (if any) are done differently, and also usb devices (usbdevs). Building a custom kernel most of the time involves the following decisions: embedding a firewall, so you cannot disable a firewall by unloading a module. Extending options, filesystem quotas for example. The modular kernel can add devices by modules, but can't really add options. Embedded solutions, like a single-purpose unit that is an all-in-one solution. The soekris and PC Engines firewall products come to mind. 99% of my time, I leave GENERIC (makes updating it easier with freebsd-update) alone and load the kernel modules I need. the amount of ram used with a GENERIC kernel and a "stripped" kernel to your hardware may save 2MB of disk, and 1MB of RAM. Not very worth it for the computers today where you have TB's of disk, and GB's of ram. Can I ask for more details from you why you're interested in building a custom kernel? --TJ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 18:16:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D179E1065672; Sat, 19 Dec 2009 18:16:00 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 987498FC08; Sat, 19 Dec 2009 18:16:00 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:ad5e:cff1:ab2:f9b3] (unknown [IPv6:2001:7b8:3a7:0:ad5e:cff1:ab2:f9b3]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 4D0105C43; Sat, 19 Dec 2009 19:15:59 +0100 (CET) Message-ID: <4B2D1861.6000201@andric.com> Date: Sat, 19 Dec 2009 19:16:01 +0100 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.5) Gecko/20091217 Shredder/3.0.1pre MIME-Version: 1.0 To: Jeronimo Calvo References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, FreeBSD Questions Subject: Re: ET.UTF-8.out: Inappropriate ioctl for device (buildworld RELENG8) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 18:16:00 -0000 On 2009-12-19 15:42, Jeronimo Calvo wrote: > Hi folks, Im getting the following error when building world for > RELENG_8 using GENERIC. > Any ideas on how to skip that? > > ===> share/mklocale (all) > mklocale -o UTF-8.out /usr/src/share/mklocale/UTF-8.src > mklocale -o am_ET.UTF-8.out /usr/src/share/mklocale/am_ET.UTF-8.src > am_ET.UTF-8.out: Inappropriate ioctl for device > *** Error code 1 This problem should only hit you if you have a mklocale binary from after 8.0-BETA1, and before 8.0-BETA2. See these threads from some time ago: http://lists.freebsd.org/pipermail/freebsd-current/2009-July/thread.html#9871 http://lists.freebsd.org/pipermail/freebsd-current/2009-July/thread.html#9406 In short, rebuild mklocale before buildworld: cd /usr/src/usr.bin/mklocale make make install clean From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 18:18:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BB2B1065692 for ; Sat, 19 Dec 2009 18:18:46 +0000 (UTC) (envelope-from oloringr@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id B4E438FC1D for ; Sat, 19 Dec 2009 18:18:45 +0000 (UTC) Received: by fxm27 with SMTP id 27so3713525fxm.3 for ; Sat, 19 Dec 2009 10:18:44 -0800 (PST) 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=gmC1f7vAWVvBurfsFHCBP05bL0OFwS8499UHsO6+AlU=; b=L8M1Xnd++pl7/yoFoDES65uDmbswwxMgunzuXO9GtccUTfIsIqelL5YZwgN0wRRvYy RV/cljPFVbqKWkJGWdwZnpu0JaHoLjQMxIqdiML4ovtE9H1GmDf1cVnFASdLUTiXsldu jrL/0REV0IvUi0oVHNDf3pXtbUneGgZIdWP9c= 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=pIp//ObkyTxi5MakUwjtR8fvSSl33pROvqftROY4u9t9ahbr0mTF32Vkc24MDHr+0e mAlT0GTWzr16NTwW0T2P58Gfz1qWZBP8FdSNMNztYrOIu6mdMUGvbJIuZL5b3nctktQ+ AYZTuJJySMNI2cG1Y/PBtR9tRgd1cA+GSXOcw= Received: by 10.223.54.15 with SMTP id o15mr6667666fag.96.1261246724738; Sat, 19 Dec 2009 10:18:44 -0800 (PST) Received: from media.localnet (188.4.67.219.dsl.dyn.forthnet.gr [188.4.67.219]) by mx.google.com with ESMTPS id g28sm6625822fkg.8.2009.12.19.10.18.43 (version=SSLv3 cipher=RC4-MD5); Sat, 19 Dec 2009 10:18:43 -0800 (PST) From: Ed Jobs To: freebsd-questions@freebsd.org Date: Sat, 19 Dec 2009 20:18:59 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.31-ARCH; KDE/4.3.4; i686; ; ) References: <6c51dbb10912190642s43ec0f2bj69047a0d5a0690ae@mail.gmail.com> In-Reply-To: <6c51dbb10912190642s43ec0f2bj69047a0d5a0690ae@mail.gmail.com> X-Face: %5EDs|At1pm>WE%P0}6)Hi*s, JH2J${69~j)R"Yu'^P9R3#fvi{LmpsCzxvX*38/, kxcUd QVrlS0G,}-ll{||\P]; *'Gz`RTG+dzconmNyDY3rJHBmpEJkFj|; %vZO&~T")='B<; 88~[ Cltx6#}N*E MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2970406.TvfmjCIi1i"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200912192018.59607.oloringr@gmail.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Any chance ZFS becoming default? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 18:18:46 -0000 --nextPart2970406.TvfmjCIi1i Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Saturday 19 December 2009 16:42, Victor Lyapunov wrote: > Hi everybody, > Sorry for asking dumb questions, but is there any chance zfs becoming > default FS in FreeBSD? If so, how soon might this happen? >=20 > Cheers, > Victor. As seen in http://wiki.freebsd.org/FreeBSD9 under Other Kernel: ZFS as default keep in mind the top note: "This is a rough list of ideas / goals / tasks to work on for FreeBSD 9.0=20 release. Nothing here is guaranteed. Many of these items have been long- term goals for many prior releases as well." =2D-=20 Real programmers don't document. If it was hard to write, it should be hard= to=20 understand. --nextPart2970406.TvfmjCIi1i Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkstGRMACgkQBPpdVEWKA30m9ACgtU9HIPHERlVQ/9g/b33+cHwZ RBUAnirbBeqZlZA1z6dKLattG39B7NgH =s+3Y -----END PGP SIGNATURE----- --nextPart2970406.TvfmjCIi1i-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 18:47:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFDAA1065672 for ; Sat, 19 Dec 2009 18:47:55 +0000 (UTC) (envelope-from four.harrisons@googlemail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id 89F898FC0C for ; Sat, 19 Dec 2009 18:47:55 +0000 (UTC) Received: by ewy5 with SMTP id 5so4382370ewy.34 for ; Sat, 19 Dec 2009 10:47:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:from:importance:x-priority:date :received:message-id:subject:to:content-type; bh=k/v/HUvF+/n2rxUIs1IcJStaL+HD8mktZMBpytlF4RA=; b=sYRmKR7kpav/K7G+CQ2c2WGGIOjNG4hYwQOb3xQ3NT+ygFy1venBgXJPJSF8ndlCg2 4ZA6HYZjX8TfbWTPMfqpbdtxlpdg+lqkjtfgVucUBJOKl7i64ipg04w/z+ACkQeKy3eJ ohpRfDHQyPEaSH/jv+HazY1Az2mDSOpR/EcGE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:from:importance:x-priority:date:message-id:subject:to :content-type; b=d5HKfvUKcL1yu3kdu7WmEufuQ7LJ9tebxAVvQXLhRDOe7NE+maxv0ioX1bGE0g5JcP 4QYUsWyxPw28eFHd5DickCTQDGb+NkbSulPxjEkoJJD6yBck8ogJpDnthMg2oOQVqcnL l2/f8vL4GsuGSkk4/QAvQbKQPKr2cJb1EFoOg= MIME-Version: 1.0 From: peter harrison Importance: normal X-Priority: 3 Date: Sat, 19 Dec 2009 18:22:46 +0000 Received: by 10.213.110.14 with SMTP id l14mr6450593ebp.82.1261246956101; Sat, 19 Dec 2009 10:22:36 -0800 (PST) Message-ID: <7076734049005326997@unknownmsgid> To: Victor Lyapunov , FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: RE: Any chance ZFS becoming default? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 18:47:56 -0000 -----Original Message----- From: Victor Lyapunov Sent: 19 December 2009 14:42 To: FreeBSD Mailing List Subject: Any chance ZFS becoming default? Hi everybody, Sorry for asking dumb questions, but is there any chance zfs becoming default FS in FreeBSD? If so, how soon might this happen? Cheers, Victor. _______________________________________________ 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 hope not. I run FreeBSD on a netbook, an old laptop, and an old P3 server. ZFS would be a disaster for me. Peter Harrison. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 18:48:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 948ED1065676 for ; Sat, 19 Dec 2009 18:48:54 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from www.liukuma.net (www.liukuma.net [62.220.235.15]) by mx1.freebsd.org (Postfix) with ESMTP id 497748FC25 for ; Sat, 19 Dec 2009 18:48:54 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by www.liukuma.net (Postfix) with ESMTP id 464BF1CC5D; Sat, 19 Dec 2009 20:48:50 +0200 (EET) X-Virus-Scanned: amavisd-new at liukuma.net Received: from www.liukuma.net ([127.0.0.1]) by localhost (www.liukuma.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id toyZAeBhAD7r; Sat, 19 Dec 2009 20:48:48 +0200 (EET) Received: from rivendell (a88-114-134-146.elisa-laajakaista.fi [88.114.134.146]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: ignatz@www.liukuma.net) by www.liukuma.net (Postfix) with ESMTPSA id 6C2881CC69; Sat, 19 Dec 2009 20:48:46 +0200 (EET) Message-ID: From: "Reko Turja" To: "Ed Jobs" , References: <6c51dbb10912190642s43ec0f2bj69047a0d5a0690ae@mail.gmail.com> <200912192018.59607.oloringr@gmail.com> In-Reply-To: <200912192018.59607.oloringr@gmail.com> Date: Sat, 19 Dec 2009 20:49:17 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8089.726 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726 Cc: Subject: Re: Any chance ZFS becoming default? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 18:48:54 -0000 > under Other Kernel: > ZFS as default So anyone running 32bit or under 2Gb of memory don't need to bother=20 with FreeBSD anymore after 9.0 RELEASE?=20 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 18:52:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84D08106568B for ; Sat, 19 Dec 2009 18:52:23 +0000 (UTC) (envelope-from jg@koderize.com) Received: from haggis.mythic-beasts.com (haggis.mythic-beasts.com [93.93.131.52]) by mx1.freebsd.org (Postfix) with ESMTP id 08A888FC15 for ; Sat, 19 Dec 2009 18:52:22 +0000 (UTC) Received: from [93.93.130.49] (helo=sphinx.mythic-beasts.com) by haggis.mythic-beasts.com with esmtp (Exim 4.69) (envelope-from ) id 1NM4Pe-0000Oi-2d for freebsd-questions@freebsd.org; Sat, 19 Dec 2009 18:52:22 +0000 Received: from host86-181-31-95.range86-181.btcentralplus.com ([86.181.31.95] helo=bsdbox.koderize.com) by sphinx.mythic-beasts.com with esmtpa (Exim 4.62) (envelope-from ) id 1NM4Pd-0000Sg-E5 for freebsd-questions@freebsd.org; Sat, 19 Dec 2009 18:52:21 +0000 Received: from bsdbox.koderize.com (localhost [127.0.0.1]) by bsdbox.koderize.com (8.14.3/8.14.3) with ESMTP id nBJIqKG7058414 for ; Sat, 19 Dec 2009 18:52:20 GMT (envelope-from jg@bsdbox.koderize.com) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.3 at bsdbox.koderize.com Received: (from jg@localhost) by bsdbox.koderize.com (8.14.3/8.14.3/Submit) id nBJIqKQY058413 for freebsd-questions@freebsd.org; Sat, 19 Dec 2009 18:52:20 GMT (envelope-from jg) Date: Sat, 19 Dec 2009 18:52:19 +0000 From: Jamie Griffin To: freebsd-questions@freebsd.org Message-ID: <20091219185219.GA58213@bsdbox.koderize.com> References: <20091219161309.GA57855@bsdbox.koderize.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 7.2-RELEASE-p5 X-Organization: Koderize.com X-Web-Site: http://www.koderize.com X-PGP-Key: 0x842DD368 http://www.koderize.com/jpg-gnupg.asc X-PGP-Key-Fingerprint: F850 A09C F877 FBC4 A63C FDDC 7484 4EEF 842D D368 User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bsdbox.koderize.com X-Mythic-Sender-Verify: + host 93.93.131.52 accepted RCPT TO with '250 Accepted' X-Spam-Status: No, score=-0.0 X-BlackCat-Spam-Score: 0 Received-SPF: none (sphinx.mythic-beasts.com: domain of jg@koderize.com does not designate permitted sender hosts) client-ip=86.181.31.95 envelope-from=jg@koderize.com helo=bsdbox.koderize.com Subject: Re: question about building a custom kernel 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, 19 Dec 2009 18:52:23 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Dec 19, 2009 at 10:41:14AM -0700, Tim Judd wrote: > Can I ask for more details from you why you're interested in building > a custom kernel? > --TJ Thanks for the information Tim. I don't have a specific need to build a custom kernel at the moment, I really just want to learn how to do it properly. I'm in my first year at University and we're learning about UNIX systems so i'm just experimenting really. Jamie --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkstIOMACgkQdIRO74Qt02hFAgCgkpQNnRNG1SMTjqV5AczZ8YHD E5MAmQEk5De/fVFH4HHtKDnT3bQTJ9+b =hVEt -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 19:23:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8786106566C for ; Sat, 19 Dec 2009 19:23:17 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 4545D8FC18 for ; Sat, 19 Dec 2009 19:23:16 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id nBJJNFo4043081; Sat, 19 Dec 2009 20:23:15 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 4828BBAA7; Sat, 19 Dec 2009 20:23:15 +0100 (CET) Date: Sat, 19 Dec 2009 20:23:15 +0100 From: Roland Smith To: freebsd-questions@freebsd.org Message-ID: <20091219192315.GA91390@slackbox.xs4all.nl> References: <20091219161309.GA57855@bsdbox.koderize.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <20091219161309.GA57855@bsdbox.koderize.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: Jamie Griffin Subject: Re: question about building a custom 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: Sat, 19 Dec 2009 19:23:17 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 19, 2009 at 04:13:09PM +0000, Jamie Griffin wrote: > The handbook suggests the command: >=20 > # pciconf -lv=20 >=20 > On my system, this command does print out information for quite a few > components, I just wondered if this information is all I need to work > from or is it not an accurate or detailed enough representation of the > hardware I have in my computer. I'd really appreciate any advice on how > others go about this. =20 It should provide most of the information that you need. But it shows only = for devices that are connected to the PCI bus! Devices connected to the USB bus will not show up here (except from the USB controllers).=20 If you look at the first line for every device, the one with the @ in it, y= ou can see if a driver has attached to that device in question. Devices whose name start with 'none' followed by a number followed by @ do not have a dri= ver installed. Another thing you should look for is which modules are loaded, use the comm= and 'kldstat' for that. =20 Also have a look at the output of the 'dmesg' command. That will show you which devices are being detected and initialized. This will also show you w= hat kind of CPU you have. 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.13 (FreeBSD) iEYEARECAAYFAkstKCMACgkQEnfvsMMhpyXMoACeLwQ3ZP8SVhMhfJoAhox16/60 yIAAn1Wr3nnYXIHi3tYksRbhgCImT7yG =a8lV -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 19:26:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9AC2106566C for ; Sat, 19 Dec 2009 19:26:04 +0000 (UTC) (envelope-from kheuer2@gwdg.de) Received: from tmailer.gwdg.de (tmailer.gwdg.de [134.76.10.23]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE508FC17 for ; Sat, 19 Dec 2009 19:26:04 +0000 (UTC) Received: from gwdu60.gwdg.de ([134.76.8.60]) by mailer.gwdg.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NM4wF-0003oR-9J for freebsd-questions@freebsd.org; Sat, 19 Dec 2009 20:26:03 +0100 Date: Sat, 19 Dec 2009 20:26:03 +0100 (CET) From: Konrad Heuer To: freebsd-questions@freebsd.org Message-ID: <20091219202034.A95397@gwdu60.gwdg.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Subject: Yahoo! moving to Linux??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 19:26:04 -0000 Sorry, maybe I missed something .. When entering http://www.yahoo.de I find my request redirected to http://m.de.yahoo.com for some days now. Netcraft says: http://m.de.yahoo.com was running YTS on Linux when last queried at 19-Dec-2009 19:12:25 GMT - refresh now Site Report Hard to stand, I'd expect FreeBSD get replaced by Windows because of MS/Yahoo! agreement, but Linux?? Does anybody know about that? Best regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 19:38:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93DC1106566C for ; Sat, 19 Dec 2009 19:38:47 +0000 (UTC) (envelope-from seklecki@noc.cfi.pgh.pa.us) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id 586938FC16 for ; Sat, 19 Dec 2009 19:38:47 +0000 (UTC) Received: from [127.0.0.1] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Sat, 19 Dec 2009 14:38:46 -0500 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::667 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=noc.cfi.pgh.pa.us; s=noc_cfi_pgh_pa_us_key_dkim; l=417; t=1261251526; i=@noc.cfi.pgh.pa.us; h=Message-ID:Date:From: Reply-To:Organization:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=XelaF1BCK4LmnPqP4HAojY1ah+E=; b=dutS/jkbiITnoIJmlr/T++OtNB3eL ymN2mDyWvCULxDU2n3orxYSf06qWLi1bp7Mpi5qggdrZYU75+4jC2m5CM8yvpaPH flE9+/B7ZHc/WoypTxpzwKdmxRSf+Q3z+0R Message-ID: <4B2D2BC1.9040800@noc.cfi.pgh.pa.us> Date: Sat, 19 Dec 2009 14:38:41 -0500 From: "Brian A. Seklecki (CFI NOC)" Organization: Collaborative Fusion, Inc. (DRP NOC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20091219202034.A95397@gwdu60.gwdg.de> In-Reply-To: <20091219202034.A95397@gwdu60.gwdg.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Yahoo! moving to Linux??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bseklecki@noc.cfi.pgh.pa.us List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2009 19:38:47 -0000 > http://m.de.yahoo.com was running YTS on Linux when last queried at > 19-Dec-2009 19:12:25 GMT - refresh now Site Report > > Hard to stand, I'd expect FreeBSD get replaced by Windows because of > MS/Yahoo! agreement, but Linux?? Its possible the frontend loadbalancer/L4 switch is an A10 at Yahoo!, and the A10 signature should resemble embedded GNU/Linux. Or does it go by server version string? ~BAS From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 19:41:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 674F8106566C for ; Sat, 19 Dec 2009 19:41:56 +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 BC1B58FC14 for ; Sat, 19 Dec 2009 19:41:55 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nBJJfoOE075069; Sat, 19 Dec 2009 19:41:50 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nBJJfoOE075069 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1261251710; bh=giK9EOWF1CEjCEOm8wLCncMOcPjoX7phDBNYCHkbnWQ=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B2D2C78.9080602@infracaninophile.co.uk>|Date:=20S at,=2019=20Dec=202009=2019:41:44=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20Konrad=20Heuer=20|CC:=20freebsd- questions@freebsd.org|Subject:=20Re:=20Yahoo!=20moving=20to=20Linu x???|References:=20<20091219202034.A95397@gwdu60.gwdg.de>|In-Reply -To:=20<20091219202034.A95397@gwdu60.gwdg.de>|X-Enigmail-Version:= 200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256 =3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boun dary=3D"------------enigAC2B1BD1F1A02CED30A1D762"; b=zPUJfx6oC5I2nIvOvbxTi8djJWNPHWtTqUWu9gGaP5J4XldfAn4/Uih+dVVZZAFs2 iN00Y4iLqccl2QjbwVnOxps+v2ItkbykDewrXzoPhqDDL83lgnqRmx+C4kq7hifwKs 4iFH/Qnl/W0p2g3SBjg4UquymVLv2GI78CycAMZc= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B2D2C78.9080602@infracaninophile.co.uk> Date: Sat, 19 Dec 2009 19:41:44 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Konrad Heuer References: <20091219202034.A95397@gwdu60.gwdg.de> In-Reply-To: <20091219202034.A95397@gwdu60.gwdg.de> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigAC2B1BD1F1A02CED30A1D762" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS,PLING_QUERY autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Yahoo! moving to Linux??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 19:41:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAC2B1BD1F1A02CED30A1D762 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Konrad Heuer wrote: >=20 > Sorry, maybe I missed something .. >=20 > When entering http://www.yahoo.de I find my request redirected to=20 > http://m.de.yahoo.com for some days now. >=20 > Netcraft says: >=20 > http://m.de.yahoo.com was running YTS on Linux when last queried at=20 > 19-Dec-2009 19:12:25 GMT - refresh now Site Report >=20 > Hard to stand, I'd expect FreeBSD get replaced by Windows because of=20 > MS/Yahoo! agreement, but Linux?? >=20 > Does anybody know about that? > Although Yahoo has been, and still is, a big FreeBSD user, their business= has grown by absorbing many other web sites. Those are hosted on all sor= ts of different platforms. I don't think you can really state that "Yahoo is b= ased on operating system foo" any more (for any foo) -- nor can you tell neces= sarily from the OS of the web front-end what the back-end application servers ar= e running. Whether Yahoo wants to spend a great deal of time and money homogenizing = the OSes their servers run on is an interesting question. I doubt it somehow: the= benefits of simplified administration almost certainly don't outweigh the costs or= justify the risks of service disruption. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigAC2B1BD1F1A02CED30A1D762 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkstLH4ACgkQ8Mjk52CukIwqRwCfSgmFCwogqDhSXLgk6P0BZUG3 bbQAnRJPUy6E8w1ooB/vpUXaE2XXbZOW =ak5b -----END PGP SIGNATURE----- --------------enigAC2B1BD1F1A02CED30A1D762-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 19:46:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36BB7106566B for ; Sat, 19 Dec 2009 19:46:30 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-gx0-f218.google.com (mail-gx0-f218.google.com [209.85.217.218]) by mx1.freebsd.org (Postfix) with ESMTP id E98BA8FC1C for ; Sat, 19 Dec 2009 19:46:29 +0000 (UTC) Received: by gxk10 with SMTP id 10so3942970gxk.3 for ; Sat, 19 Dec 2009 11:46:29 -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:content-type; bh=p/fixQo4HRWS5geFApJ7G52593IbtQcBrEjZWyTMwi4=; b=Pkgnhaz0Paf4otH6+v5WPkUxgpGqIZ4T1jrXjJTuSo1em6/iX4d4jBBdZeSlfR5zEL lTlgyrY9uFL/ltSI9b33v9yf8kW+Dw3E3pgBnq0+zQh8NKoWFbxYKMzbeGv4Vt8cro4w 61UemwiqdL4H/4Dlv0xHPSHeKaGh5WF4SwL0U= 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=ipB+au66M1RnxvY1IdpB33ga7RnT3GNUgkosfIU/ERr4YpYhNtUIlQVN00DA2eBk3d G7H7SNXvnmYQs3GtGzSIBb1OEs0Mnh9EF6Y3LPkUPwrceaYk/d6/ijmAw+VIJ0dvSfDg co0z86MC+mOK2L89WwD7rYkcvrZsYVdx00zLw= MIME-Version: 1.0 Received: by 10.91.162.31 with SMTP id p31mr5453582ago.121.1261251988322; Sat, 19 Dec 2009 11:46:28 -0800 (PST) In-Reply-To: <20091219161309.GA57855@bsdbox.koderize.com> References: <20091219161309.GA57855@bsdbox.koderize.com> Date: Sat, 19 Dec 2009 14:46:27 -0500 Message-ID: From: "illoai@gmail.com" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: question about building a custom 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: Sat, 19 Dec 2009 19:46:30 -0000 2009/12/19 Jamie Griffin : > Hi > > I have been reading the handbook to learn about building a custom > kernel, but just wanted to ask something about gathering information > about my hardware before I give it a go. > > The handbook suggests the command: > > # pciconf -lv > > ...which I like because it provides a clear list of components I can find > out about before I try to build the new kernel. > > On my system, this command does print out information for quite a few > components, I just wondered if this information is all I need to work > from or is it not an accurate or detailed enough representation of the > hardware I have in my computer. I'd really appreciate any advice on how > others go about this. > A couple of words of caution, based on the number of mails sent to this list complaining about "things not working": Always leave "device scbus" and "device da" in unless you're dead certain you'll never use a usb drive (& you'll also have to comment out "device umass" and maybe a couple of others to make it compile) among other things. "device miibus" should be left in too, again unless you really know for certain you don't need it. You may as well toss in "device drm" and the specific drm driver for your graphics card while you're going to the trouble. You aren't going to gain much in speed or size savings, so do take care to understand what you hope to gain. If you wish to shorten kernel compile times and reduce the size of /boot, have a look at the MODULES_OVERRIDE and WITHOUT_MODULES variables in /etc/make.conf. That said, good luck, I haven't had any serious problems and I've been using custom kernels since FreeBSD 4.1 or so. -- -- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 20:02:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 143BE1065672 for ; Sat, 19 Dec 2009 20:02:15 +0000 (UTC) (envelope-from noah-list@enabled.com) Received: from enabled.com (www-virt.enabled.com [174.143.253.66]) by mx1.freebsd.org (Postfix) with ESMTP id EC6E88FC1A for ; Sat, 19 Dec 2009 20:02:14 +0000 (UTC) Received: from macbookpro-noah.home.enabled.com (c-76-126-140-56.hsd1.ca.comcast.net [76.126.140.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by enabled.com (Postfix) with ESMTPSA id 800B2F405D for ; Sat, 19 Dec 2009 12:05:35 -0800 (PST) Message-ID: <4B2D3144.10107@enabled.com> Date: Sat, 19 Dec 2009 12:02:12 -0800 From: Noah User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: open source program for showing six degrees X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 20:02:15 -0000 Hi list, Ive seen a nice app that takes pictures and shows how people are socially connected to one another and makes a Jpg. So I am looking for a similar app that takes this type of information and makes a GUI clickable webpage. Here is what i am looking to do. I want to have icons/pictures for companies then have icon/pictures for people. Then by certain data we can connect the companies and people together to create collage of lines and pictures and stuff. Perhaps if you click the people and or companies you can send to a link that is a biography and/or company profile. Is there anything out there that somebody knows about that is already coded and does a decent job? Cheers, Noah From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 20:07:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C579310656C5 for ; Sat, 19 Dec 2009 20:07:47 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id 7C84C8FC17 for ; Sat, 19 Dec 2009 20:07:47 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC01DAE179 for freebsd-questions@freebsd.org; Sat, 19 Dec 2009 21:07:46 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao1gADPBLEtV44PPPGdsb2JhbACBS4cgkBWCSAEBAQE3uGGELgQ X-IronPort-AV: E=Sophos;i="4.47,424,1257116400"; d="scan'208";a="17804512" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb1.telenor.se with ESMTP; 19 Dec 2009 21:07:45 +0100 Message-ID: <4B2D3291.1010404@lazlarlyricon.com> Date: Sat, 19 Dec 2009 21:07:45 +0100 From: Rolf Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Reko Turja References: <6c51dbb10912190642s43ec0f2bj69047a0d5a0690ae@mail.gmail.com> <200912192018.59607.oloringr@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Any chance ZFS becoming default? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 20:07:47 -0000 Reko Turja wrote: >> under Other Kernel: >> ZFS as default > > So anyone running 32bit or under 2Gb of memory don't need to bother with > FreeBSD anymore after 9.0 RELEASE? Since when does changing the default action imply making the previous default impossible or even difficult? And since when does adding an ability to a piece of software imply removing another? I can't find anything suggesting that support for UFS is to be removed by 9.0. Neither from the kernel or from sysinstall. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 20:10:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 583B91065672 for ; Sat, 19 Dec 2009 20:10:16 +0000 (UTC) (envelope-from kheuer2@gwdg.de) Received: from tmailer.gwdg.de (tmailer.gwdg.de [134.76.10.23]) by mx1.freebsd.org (Postfix) with ESMTP id 1395C8FC08 for ; Sat, 19 Dec 2009 20:10:15 +0000 (UTC) Received: from gwdu60.gwdg.de ([134.76.8.60]) by mailer.gwdg.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NM5d1-0001AH-1M; Sat, 19 Dec 2009 21:10:15 +0100 Date: Sat, 19 Dec 2009 21:10:14 +0100 (CET) From: Konrad Heuer To: =?KOI8-R?B?78zFxyDwxdTSwd6j1w==?= In-Reply-To: Message-ID: <20091219210411.H97640@gwdu60.gwdg.de> References: <4B1DF953.4050504@sprinthost.ru> <4B1E2D40.9060900@sprinthost.ru> <20091208114509.B67127@gwdu60.gwdg.de> <4B1E33CF.1070309@sprinthost.ru> <20091208113023.GA1828@owl.midgard.homeip.net> <20091208132720.G67127@gwdu60.gwdg.de> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2134863818-921503136-1261253414=:97640" X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-questions Subject: Re: FreeBSD is too filesystem errors sensitive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 20:10:16 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2134863818-921503136-1261253414=:97640 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 18 Dec 2009, =EF=CC=C5=C7 =F0=C5=D4=D2=C1=DE=A3=D7 wrote: > Konrad, Erik, thank you for the good advice. Several foreground fsck > in a row really helped. > > Konrad, which hardware are you using with FreeBSD on heavily loaded > and i/o-bound systems? One of these systems is a Dell PowerEdge 2650 with Qlogic ISP 2312 PCI=20 FC-AL adapters and some SAN storage virtualization that hides the real=20 RAID systems. The other ones are Dell PowerEdge 2850 with Megaraid controllers and=20 hardware based local RAID 5 on SAS drives. Best regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de --2134863818-921503136-1261253414=:97640-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 20:26:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4749C1065676 for ; Sat, 19 Dec 2009 20:26:47 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (mx3.utsp.utwente.nl [130.89.2.14]) by mx1.freebsd.org (Postfix) with ESMTP id ACBBD8FC0C for ; Sat, 19 Dec 2009 20:26:46 +0000 (UTC) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id nBJKQFHH003596; Sat, 19 Dec 2009 21:26:15 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Sat, 19 Dec 2009 21:26:15 +0100 User-Agent: KMail/1.9.10 References: <6c51dbb10912190642s43ec0f2bj69047a0d5a0690ae@mail.gmail.com> <200912192018.59607.oloringr@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912192126.15581.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: Reko Turja , Ed Jobs Subject: Re: Any chance ZFS becoming default? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 20:26:47 -0000 On Saturday 19 December 2009 19:49:17 Reko Turja wrote: > > under Other Kernel: > > ZFS as default > > So anyone running 32bit or under 2Gb of memory don't need to bother > with FreeBSD anymore after 9.0 RELEASE? Don't spread FUD please. If you had read the WIKI you would know it talks about sysinstall support for ZFS, not about removing UFS. - Pieter de Goeje From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 20:43:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C11810656C1 for ; Sat, 19 Dec 2009 20:43:07 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id DD9DC8FC0C for ; Sat, 19 Dec 2009 20:43:06 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NM68k-0002BM-So; Sat, 19 Dec 2009 20:43:06 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NM68k-0004FB-10; Sat, 19 Dec 2009 20:43:02 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBJKh1SK009995; Sat, 19 Dec 2009 20:43:01 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBJKh1AR009994; Sat, 19 Dec 2009 20:43:01 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sat, 19 Dec 2009 20:43:01 +0000 From: Anton Shterenlikht To: Warren Block Message-ID: <20091219204301.GA9957@mech-cluster241.men.bris.ac.uk> References: <20091218005102.GA51064@mech-cluster241.men.bris.ac.uk> 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) X-Spam-Score: -1.5 X-Spam-Level: - Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 20:43:07 -0000 On Thu, Dec 17, 2009 at 06:38:04PM -0700, Warren Block wrote: > On Fri, 18 Dec 2009, Anton Shterenlikht wrote: > > > I'm creating binary files in fortran. > > Fortran adds 4 byte record delimiters at the beginning > > and the end of each record, which, in the case of a binary > > file, is just at the beginning and at the end of the file. > > I need to delete these record delimiters, because the > > software I use to visualise the binary files interprets > > them as data. But I don't know how. I've looked at > > hexdump and od, but those are only dumping (I think) > > file contents, and I cannot see how to edit a file with them. > > truncate -4 myfile should get rid of the last four bytes. Maybe there's > a similar efficient way to truncate the start of a file. thank you, that works fine: > hexdump -C fort.10 00000000 01 00 00 00 01 01 00 00 00 |.........| 00000009 > truncate -s -4 fort.10 > hexdump -C fort.10 00000000 01 00 00 00 01 |.....| 00000005 > -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 20:47:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D918B106566B; Sat, 19 Dec 2009 20:47:40 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 94CFF8FC16; Sat, 19 Dec 2009 20:47:40 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NM6DA-0002Fq-HF; Sat, 19 Dec 2009 20:47:39 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NM6D9-000406-N7; Sat, 19 Dec 2009 20:47:36 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBJKlZYL010037; Sat, 19 Dec 2009 20:47:35 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBJKlZRZ010036; Sat, 19 Dec 2009 20:47:35 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sat, 19 Dec 2009 20:47:35 +0000 From: Anton Shterenlikht To: Greg Larkin Message-ID: <20091219204735.GB9957@mech-cluster241.men.bris.ac.uk> References: <20091218005102.GA51064@mech-cluster241.men.bris.ac.uk> <4B2ADE9E.6080707@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B2ADE9E.6080707@FreeBSD.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 20:47:40 -0000 On Thu, Dec 17, 2009 at 08:45:02PM -0500, Greg Larkin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Warren Block wrote: > > On Fri, 18 Dec 2009, Anton Shterenlikht wrote: > > > >> I'm creating binary files in fortran. > >> Fortran adds 4 byte record delimiters at the beginning > >> and the end of each record, which, in the case of a binary > >> file, is just at the beginning and at the end of the file. > >> I need to delete these record delimiters, because the > >> software I use to visualise the binary files interprets > >> them as data. But I don't know how. I've looked at > >> hexdump and od, but those are only dumping (I think) > >> file contents, and I cannot see how to edit a file with them. > > > > truncate -4 myfile should get rid of the last four bytes. Maybe there's > > a similar efficient way to truncate the start of a file. > > > > -Warren Block * Rapid City, South Dakota USA > > This should do it: > > dd if=oldfile of=newfile bs=1 skip=4 yes, this is very useful: > hexdump -C fort.10 00000000 01 00 00 00 08 01 00 00 00 |.........| 00000009 > truncate -s -4 fort.10 > hexdump -C fort.10 00000000 01 00 00 00 08 |.....| 00000005 > dd if=fort.10 of=zzz bs=1 skip=4 1+0 records in 1+0 records out 1 bytes transferred in 0.000094 secs (10645 bytes/sec) > hexdump -C zzz 00000000 08 |.| 00000001 > many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 21:49:49 2009 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99838106566C for ; Sat, 19 Dec 2009 21:49:49 +0000 (UTC) (envelope-from pylaterreur@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 2C1A38FC12 for ; Sat, 19 Dec 2009 21:49:48 +0000 (UTC) Received: by bwz5 with SMTP id 5so2805034bwz.3 for ; Sat, 19 Dec 2009 13:49:48 -0800 (PST) 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=8ZTjqH+KBh8AmYtDXJap2CpSx6l/t640t3nvk1D7h48=; b=QhfyD6o3vrYXp7bsoKRIMeYHZ8YslV2vFNd8SLqoK0lKL+p2V1T9R0T59g63Kj+HUD E1UKMm+BzSeozBTt+meBibbducILq5hIAOfQiCCLYtc5fEb/XLagjG0+b3kW9FGdaluY e2rIm+K2LpSJFBDkoGEixJCVDDDf7hsUHI10w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=v5mRVDDmIb0AqhYL1vgibPIeWDjaftAiTPQWB2tabEA8FM3VKMT8wQ4EHx3h4VvSMw Jx7X1pB2Mai8Yvy4lEbBr0LJYnPqeuN1s8qvPnNDYcO0NCBaQWqkcRv6AUhtuWk8F+b8 K9OVL92MMKtZpThsmZSzK8ek7RrXGzBf6kvHw= MIME-Version: 1.0 Received: by 10.204.7.197 with SMTP id e5mr3517827bke.184.1261258003977; Sat, 19 Dec 2009 13:26:43 -0800 (PST) Date: Sat, 19 Dec 2009 22:26:43 +0100 Message-ID: <6804ee40912191326n66f32dd8x8e8e717f0aa4aa4@mail.gmail.com> From: Pierre-Yves Le Borgne To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: [FR]Lien mort sur install-pre (floppies) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 21:49:49 -0000 Bonjour, Sur http://www.freebsd.org/doc/fr/books/handbook/install-pre.html , un lien indiqu=E9 ( ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/8.0-RELEASE/floppies/) est mort. Cordialement, Pierre-Yves Le Borgne From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 21:59:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84221106566B; Sat, 19 Dec 2009 21:59:16 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 409458FC12; Sat, 19 Dec 2009 21:59:15 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NM7KP-0003gx-NJ; Sat, 19 Dec 2009 21:59:12 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NM7KO-000681-HU; Sat, 19 Dec 2009 21:59:08 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBJLx8gh010389; Sat, 19 Dec 2009 21:59:08 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBJLx7AE010388; Sat, 19 Dec 2009 21:59:07 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sat, 19 Dec 2009 21:59:07 +0000 From: Anton Shterenlikht To: Warren Block Message-ID: <20091219215907.GA10349@mech-cluster241.men.bris.ac.uk> 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) X-Spam-Score: -1.5 X-Spam-Level: - Cc: glarkin@freebsd.org, mexas@bristol.ac.uk, perryh@pluto.rain.com, freebsd-questions@freebsd.org Subject: Re: editing a binary file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 21:59:16 -0000 On Fri, Dec 18, 2009 at 09:33:49AM -0700, Warren Block wrote: > perryh@pluto.rain.com wrote: > > Greg Larkin wrote: > > > ... > > > > truncate -4 myfile should get rid of the last four bytes. Maybe > > > > there's a similar efficient way to truncate the start of a file. > > > > > > This should do it: > > > > > > dd if=oldfile of=newfile bs=1 skip=4 > > > > Or, perhaps marginally more efficient: > > > > dd if=oldfile of=newfile bs=4 skip=1 > > It would be nice to avoid the file copy, but maybe there's no way to do > that. The small buffer size for dd will probably make copies of > multi-gig files slow. This might be faster: > > tail -c +5 myfile > outfile > truncate -4 outfile yes, quite. On 1.5GHz ia64, on 1GB binary file tail takes about 25 s, but dd.. I killed after 25 min (!) and it had only done 1/3 of the file. But even tail is too slow. So I'll probably have to write a C I/O routine and avoid fortran I/O alltogether, so I write straight away just my data. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 22:34:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B022C106566B for ; Sat, 19 Dec 2009 22:34:27 +0000 (UTC) (envelope-from oloringr@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 38A318FC14 for ; Sat, 19 Dec 2009 22:34:26 +0000 (UTC) Received: by fxm27 with SMTP id 27so3811469fxm.3 for ; Sat, 19 Dec 2009 14:34:26 -0800 (PST) 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=VONnlArKzE3KOaNjQbZ1LKN/bf6Pi07P7OOUU8MgNtg=; b=DsqKzxYFeQN/IUrNHbOahOU2uq6AfmlxqVJ++8otJFO+CYqzz72CnMEKxVi0Kv6CJq 2YwGTYfcXeLW5LWsSlgY45AYlXEeSdaaIC7ps29aCbe/T0dPTdV6z6hqZCdD3PDS+al+ S6tDsOQLc/Q/Maj7X3jNftioGeIHP5xuxkMMA= 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=LAX0Xg1SChlYC3DI7nhV0/fTMkNL79Nd1K5VdOnZZklBz9rWgndQM5ZPTZGnMbkVhF RE3fH7vKRlvVCAXiRRuwR2ffctPTYaa2P0tRyWrDqdXiDu1vTNviYaawvoLIbX7G+b7S FzX+xa9rMLeiunhNMksYc9q0Lx1lG1UIYS4VU= Received: by 10.223.92.141 with SMTP id r13mr7015717fam.79.1261262066038; Sat, 19 Dec 2009 14:34:26 -0800 (PST) Received: from media.localnet (188.4.67.219.dsl.dyn.forthnet.gr [188.4.67.219]) by mx.google.com with ESMTPS id 18sm6890037fks.4.2009.12.19.14.34.24 (version=SSLv3 cipher=RC4-MD5); Sat, 19 Dec 2009 14:34:25 -0800 (PST) From: Ed Jobs To: freebsd-questions@freebsd.org Date: Sun, 20 Dec 2009 00:34:41 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.31-ARCH; KDE/4.3.4; i686; ; ) References: <6c51dbb10912190642s43ec0f2bj69047a0d5a0690ae@mail.gmail.com> <200912192126.15581.pieter@degoeje.nl> In-Reply-To: <200912192126.15581.pieter@degoeje.nl> X-Face: %5EDs|At1pm>WE%P0}6)Hi*s, JH2J${69~j)R"Yu'^P9R3#fvi{LmpsCzxvX*38/, kxcUd QVrlS0G,}-ll{||\P]; *'Gz`RTG+dzconmNyDY3rJHBmpEJkFj|; %vZO&~T")='B<; 88~[ Cltx6#}N*E MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1840948.r3PBZqUzKH"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200912200034.41904.oloringr@gmail.com> Subject: Re: Any chance ZFS becoming default? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 22:34:27 -0000 --nextPart1840948.r3PBZqUzKH Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Saturday 19 December 2009 22:26, Pieter de Goeje wrote: > Don't spread FUD please. If you had read the WIKI you would know it talks > about sysinstall support for ZFS, not about removing UFS. i'm sorry if my mail was misleading. we have no idea how it will be=20 implemented. my guess is that both ufs and zfs would be available through=20 sysinstall, but then again, unless we see the final implementation nothing = is=20 sure.=20 On the original topic: zfs does not have the "experimental" tag since 8.0. = it=20 would not be normal to add sysinstall support (and even more setting as=20 default) in a feature that was experimental. So of course it was pushed to 9 =2D-=20 Real programmers don't document. If it was hard to write, it should be hard= to=20 understand. --nextPart1840948.r3PBZqUzKH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkstVQEACgkQBPpdVEWKA320pwCeNbNBm/ymOILhbqAL/X18wBiG FAYAoOuE/OdpWvNxXMOTm2mjYqBJH+Gr =1lKQ -----END PGP SIGNATURE----- --nextPart1840948.r3PBZqUzKH-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 23:28:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE095106566C for ; Sat, 19 Dec 2009 23:28:21 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 6EC4C8FC15 for ; Sat, 19 Dec 2009 23:28:21 +0000 (UTC) Received: by fxm27 with SMTP id 27so3827564fxm.3 for ; Sat, 19 Dec 2009 15:28:20 -0800 (PST) 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=DzhpZ/GIBoWRHj+QTA4cOHIBd2bqxZ+AHHxulEOla5c=; b=YyhOwGnzjv6xz8XjXrvkn9PRfEnDlFm6IX2SYxQju+tLzDRUPZJ7/CRLd3/A83fGJQ pVZXea/Ye8WZplkksSEPw6UlvyVZXkG07MtSbUuQkUzT6J7H2iDlFrNAybypbc60+AIA jOYSmVBJPIbWPv4uaRG2vph6Vq1vCZmQF8YRk= 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=Vkt0F2fAyOTv+bTO2Y1i3PD3t/dKfRsbFjMg+M5+jrCecdPq1dW7p5WRXTnTcxKsKM CeQEQJCLBA9ThhRGRTHZjbXzr5pV9AfPGgtmPu/IIP+DUkT9Fx4Ky8rxG64TCXL3fafR Nu4tS4yqAIncOfAw2tnJl1nR+x91pKGlp98KM= Received: by 10.223.15.86 with SMTP id j22mr7430426faa.47.1261265300480; Sat, 19 Dec 2009 15:28:20 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id p9sm6855820fkb.14.2009.12.19.15.28.19 (version=SSLv3 cipher=RC4-MD5); Sat, 19 Dec 2009 15:28:19 -0800 (PST) Date: Sat, 19 Dec 2009 23:28:16 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20091219232816.225adb55@gumby.homeunix.com> In-Reply-To: <75a268720912190410x5bd2790du44299c0bbb2aca40@mail.gmail.com> References: <75a268720912190410x5bd2790du44299c0bbb2aca40@mail.gmail.com> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ntpq command output and unreachable state? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Dec 2009 23:28:21 -0000 On Sat, 19 Dec 2009 14:10:40 +0200 Omer Faruk Sen wrote: > # ntpq -c peers > remote refid st t when poll reach delay > offset jitter > ============================================================================== > +194.27.110.130 131.188.3.220 2 u 27h 1024 0 67.816 > 13.282 0.000 >*clock.isc.org 204.123.2.5 2 u 26h 1024 0 > 224.461 -15.208 0.000 > > But I am sure that it can't reach (I sniff my firewall so no traffic > comes from clock.isc.org). My question is how can I find out that my > ntp servers defined at ntp.conf are unreachable "reach" is an octal bitmap of the last 10 connection attempts, and it's showing 0 instead of 377 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 19 23:33:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97D10106566C for ; Sat, 19 Dec 2009 23:33:11 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2001:470:1f09:679::1]) by mx1.freebsd.org (Postfix) with ESMTP id 625C48FC13 for ; Sat, 19 Dec 2009 23:33:11 +0000 (UTC) Received: from unknown (client-86-29-43-113.glfd.adsl.virginmedia.com [86.29.43.113]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id AC43381B1; Sat, 19 Dec 2009 23:33:17 +0000 (UTC) Date: Sat, 19 Dec 2009 23:33:14 +0000 From: Bruce Cran To: "illoai@gmail.com" Message-ID: <20091219233314.000067f7@unknown> In-Reply-To: References: <20091219161309.GA57855@bsdbox.koderize.com> X-Mailer: Claws Mail 3.7.2cvs27 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: question about building a custom 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: Sat, 19 Dec 2009 23:33:11 -0000 On Sat, 19 Dec 2009 14:46:27 -0500 "illoai@gmail.com" wrote: > You aren't going to gain much in speed or size savings, so > do take care to understand what you hope to gain. If you > wish to shorten kernel compile times and reduce the size of > /boot, have a look at the MODULES_OVERRIDE and > WITHOUT_MODULES variables in /etc/make.conf. That > said, good luck, I haven't had any serious problems and I've > been using custom kernels since FreeBSD 4.1 or so. > While I agree in principle that compiling a custom kernel isn't usually worth it on modern machines, I recently gained a 65% disk space saving over GENERIC by bulding a custom kernel. Granted that was achieved because it's installed on a router with just 128MB RAM so I removed things like wifi and usb support, opted for "device mii" and added the PHY drivers I knew were used and added pf support, but it does show that substantial savings are still possible. Another reason for building a custom kernel is to add functionality that isn't available through modules, such as support for DTrace. -- Bruce Cran