From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 00:37:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38A23106564A for ; Sun, 24 Apr 2011 00:37:49 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 082CA8FC12 for ; Sun, 24 Apr 2011 00:37:48 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id p3O0bf9j031719; Sat, 23 Apr 2011 18:37:46 -0600 From: Erich Dollansky To: Doug Hardie Date: Sun, 24 Apr 2011 07:37:34 +0700 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.5.4; amd64; ; ) References: <201104231704.14910.erichfreebsdlist@ovitrap.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104240737.35055.erichfreebsdlist@ovitrap.com> Cc: freebsd-questions@freebsd.org Subject: Re: Help with Booting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 24 Apr 2011 00:37:49 -0000 Hi, On Sunday 24 April 2011 00:37:52 Doug Hardie wrote: > > On 23 April 2011, at 03:04, Erich Dollansky wrote: > > > On Saturday 23 April 2011 16:30:39 Doug Hardie wrote: > >> > >> On 23 April 2011, at 02:20, Erich Dollansky wrote: > >>> > >>> I only can tell what I do when a machine does not boot from the installation media: I plug the disk into another machine, install the generic kernel, edit /etc and put it back. > >>> > >>> If this does not work, it will be hard. > >> > >> That works, but then I end up without having RAID activated. I am trying to get the hardware RAID working. > >> > > but your system runs then. Isn't it possible then to build a custom kernel which supports the specific RAID hardware on this machine and install the new kernel there. > > > > Oh, could it be that the loader is not able to start from the RAID hardware? Is it possible that even a custom kernel will need an extra boot medium to start with? > > Thats what I was hoping to be able to do. However, I can't get it to boot without the RAID either. I have tried numerous tests of formatting the drives on the RAID, then moving them to another system and installing the software. They still won't boot. The RAID appears to be using a very unusual bootstrap. I get the message "OS not found" continuously on the screen regardless of how I build the system. Somehow I am going to need to be able to boot from CD or memstick to get this working. is the other system identical to your system? If you move disks from one RAID controller to another RAID controller, the success depends on many more factors than just the proper plugs. Isn't there a way to boot the machine without RAID? Erich From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 00:38:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E79C4106564A for ; Sun, 24 Apr 2011 00:38:40 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [75.101.116.66]) by mx1.freebsd.org (Postfix) with ESMTP id 8190E8FC18 for ; Sun, 24 Apr 2011 00:38:40 +0000 (UTC) Received: from [10.0.1.2] (pool-108-23-64-87.lsanca.fios.verizon.net [108.23.64.87]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id p3O0ccf5065704 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 23 Apr 2011 17:38:38 -0700 (PDT) (envelope-from bc979@lafn.org) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Doug Hardie In-Reply-To: <20110423153718.K15816@familysquires.net> Date: Sat, 23 Apr 2011 17:38:37 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201104231620.16475.erichfreebsdlist@ovitrap.com> <201104231704.14910.erichfreebsdlist@ovitrap.com> <20110423153718.K15816@familysquires.net> To: "Michael L. Squires" X-Mailer: Apple Mail (2.1084) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean Cc: Erich Dollansky , freebsd-questions@freebsd.org Subject: Re: Help with Booting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 24 Apr 2011 00:38:41 -0000 On 23 April 2011, at 12:45, Michael L. Squires wrote: > I haven't seen a verbose dmesg output booting from a non-RAID hard = drive. >=20 > I have 7.4-STABLE working on several multi-CPU Opteron systems, but = they are all Tyan motherboards. Are Rioworks/Arima still in business? I believe so. Their web page is there, but mostly in Chinese. >=20 > Rather than use the on-board controllers I've just bought some of the = LSI 300-8X PCI-X RAID controllers which are cheap and work very well = with SATA 2 drives (and FreeBSD). The Adaptec 2610 series are even = cheaper, but they > are only SATA 1. These boxes have no additional room for expansion cards. They have 4 = apparently hot-swappable drives in the front.= From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 08:28:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A2D51065670 for ; Sun, 24 Apr 2011 08:28:50 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from defout.telus.net (defout.telus.net [204.209.205.13]) by mx1.freebsd.org (Postfix) with ESMTP id D17828FC0C for ; Sun, 24 Apr 2011 08:28:49 +0000 (UTC) Received: from edmwcm03 ([204.209.205.13]) by priv-edmwes26.telusplanet.net (InterMail vM.8.01.03.00 201-2260-125-20100507) with ESMTP id <20110424082848.OKKU17193.priv-edmwes26.telusplanet.net@edmwcm03> for ; Sun, 24 Apr 2011 02:28:48 -0600 Received: from oliver.bc.lan ([50.92.188.219]) by edmwcm03 with bizsmtp id bLUn1g0144kTNxu01LUoDs; Sun, 24 Apr 2011 02:28:48 -0600 X-Telus-Outbound-IP: 50.92.188.219 X-Authority-Analysis: v=1.1 cv=WnW4EIPqW+UOuPrckVMDJ6NmVUA+0GaxzzKoDf/5uIg= c=1 sm=2 a=jVez_htjv6wA:10 a=aBk6xWbDc1QA:10 a=LGgl8L9ij00A:10 a=IkcTkHD0fZMA:10 a=eXojJELQ1vUdKq0dDyYA:9 a=2aRdduIQu_Tdor0f2IgA:7 a=QEXdDO2ut3YA:10 Received: from [10.111.111.111] (unknown [10.111.111.111]) by oliver.bc.lan (Postfix) with ESMTP id 1150E6274; Sun, 24 Apr 2011 01:29:06 -0700 (PDT) Message-ID: <4DB3DED3.4080901@telus.net> Date: Sun, 24 Apr 2011 01:26:59 -0700 From: Carl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Manolis Kiagias References: <4DB0F34B.9030008@telus.net> <4DB1297E.6090205@telus.net> <4DB12F2F.8020306@otenet.gr> <4DB162BC.3030206@otenet.gr> In-Reply-To: <4DB162BC.3030206@otenet.gr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: building a port with very long list of build options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2011 08:28:50 -0000 On 2011-04-22 4:13 AM, Manolis Kiagias wrote: > On 04/22/2011 10:33 AM, Manolis Kiagias wrote: >> On 04/22/2011 10:08 AM, Carl wrote: >>>> This form will override the Makefile present in the current directory >>>> and will use the specified make file with name your_own_make_file_name . >>> make -f your_own_make_file_name >>> >>> Yes, I did see that, but I interpreted that to mean my make file >>> *replaces* the original, in which case I would need to populate my >>> make file not only with the list of build options I want but also a >>> copy of everything in the original make file. If I'm correct, that >>> doesn't seem to me to be a good idea from a maintenance perspective. I >>> was hoping for something like the -f option that somehow inserted >>> rather than replaced. >>> >>> Carl / K0802647 >> Assuming you have already selected some options during make config, you >> could try adding your own to the file /var/db/ports//options >> _______________________________________________ > > A probably more elegant way is to use the ports-mgmt/portconf port. > This allows per port settings to be applied, which are honored by make, > portupgrade and the other tools. Just install and use > /usr/local/etc/ports.conf to add your options: > > Here is the sample supplied with the portconf: > > editors/openoffice.org-2: WITH_CCACHE|LOCALIZED_LANG=it > print/ghostscript-* print/lpr-wrapper: A4 > sysutils/fusefs-kmod*: !KERNCONF | !NOPORTDOCS > www/firefox-i18n: WITHOUT_SWITCHER | FIREFOX_I18N=fr it > x11/fakeport: CONFIGURE_ARGS=--with-modules="aaa bbb ccc" ports-mgmt/portconf certainly does look to be a very appealing solution in general, but am I wrong in thinking that it provides me with no way to address my original problem? How do I use it when I've got an exceptionally long list of options for a particular port? As for manually customizing /var/db/ports//options, the port builds in question are done in a clean chroot using a batch process, so "make config" doesn't happen and /var/db/ports//options never exists. Carl / K0802647 From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 09:40:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1E8C1065670 for ; Sun, 24 Apr 2011 09:40:28 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 203978FC18 for ; Sun, 24 Apr 2011 09:40:27 +0000 (UTC) Received: by bwz12 with SMTP id 12so1755983bwz.13 for ; Sun, 24 Apr 2011 02:40:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=vFPRX+/tOdy+ExFXYMxWqWxBFcV+LxD5CIh2HhOZ9dY=; b=EkyAUq/zgnEWw4FCJsuW1R+avpWO+zQR4lxoEoaEOwyYWm0+cMkesAUvjIR0FO47e3 rC3p39Bt/uUyLN+fdmxKz9hj1n+/Eeuw9gFgdZZq6ap4zPVhwaBh2SvmHjZ3jwKSYKo8 z6N49VLE7Xp76a6Q44c8H8mXHjqR2lrm0kqds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=Rs2Qp+/xm8WyCd/eXNUmvQSr1LURR0PdTfgDAZl7Zc4+vCCE0P8mgniRTenrmEN1S5 wQsZUWUW2wJi6WbTfxQjcBUFjq1PwfcTI1cqYh87IsIGpfN9PiS+RHMeyiutTJJMdP9m r2rYfmSHdjrcbXC761dWnqsOB+CVgt7VmOBok= MIME-Version: 1.0 Received: by 10.204.19.76 with SMTP id z12mr2342152bka.205.1303638026842; Sun, 24 Apr 2011 02:40:26 -0700 (PDT) Received: by 10.204.42.21 with HTTP; Sun, 24 Apr 2011 02:40:26 -0700 (PDT) Received: by 10.204.42.21 with HTTP; Sun, 24 Apr 2011 02:40:26 -0700 (PDT) In-Reply-To: <4DB3DED3.4080901@telus.net> References: <4DB0F34B.9030008@telus.net> <4DB1297E.6090205@telus.net> <4DB12F2F.8020306@otenet.gr> <4DB162BC.3030206@otenet.gr> <4DB3DED3.4080901@telus.net> Date: Sun, 24 Apr 2011 10:40:26 +0100 Message-ID: From: Chris Rees To: Carl Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Manolis Kiagias , freebsd-questions@freebsd.org Subject: Re: building a port with very long list of build options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2011 09:40:28 -0000 On 24 Apr 2011 09:29, "Carl" wrote: > > On 2011-04-22 4:13 AM, Manolis Kiagias wrote: >> >> On 04/22/2011 10:33 AM, Manolis Kiagias wrote: >>> >>> On 04/22/2011 10:08 AM, Carl wrote: >>>>> >>>>> This form will override the Makefile present in the current directory >>>>> and will use the specified make file with name your_own_make_file_name . >>>> >>>> make -f your_own_make_file_name >>>> >>>> Yes, I did see that, but I interpreted that to mean my make file >>>> *replaces* the original, in which case I would need to populate my >>>> make file not only with the list of build options I want but also a >>>> copy of everything in the original make file. If I'm correct, that >>>> doesn't seem to me to be a good idea from a maintenance perspective. I >>>> was hoping for something like the -f option that somehow inserted >>>> rather than replaced. >>>> >>>> Carl / K0802647 >>> >>> Assuming you have already selected some options during make config, you >>> could try adding your own to the file /var/db/ports//options >>> _______________________________________________ >> >> >> A probably more elegant way is to use the ports-mgmt/portconf port. >> This allows per port settings to be applied, which are honored by make, >> portupgrade and the other tools. Just install and use >> /usr/local/etc/ports.conf to add your options: >> >> Here is the sample supplied with the portconf: >> >> editors/openoffice.org-2: WITH_CCACHE|LOCALIZED_LANG=it >> print/ghostscript-* print/lpr-wrapper: A4 >> sysutils/fusefs-kmod*: !KERNCONF | !NOPORTDOCS >> www/firefox-i18n: WITHOUT_SWITCHER | FIREFOX_I18N=fr it >> x11/fakeport: CONFIGURE_ARGS=--with-modules="aaa bbb ccc" > > > ports-mgmt/portconf certainly does look to be a very appealing solution in general, but am I wrong in thinking that it provides me with no way to address my original problem? How do I use it when I've got an exceptionally long list of options for a particular port? > > As for manually customizing /var/db/ports//options, the port builds in question are done in a clean chroot using a batch process, so "make config" doesn't happen and /var/db/ports//options never exists. > How about my earlier suggestion of populating a 'makefile' no capitals with the appropriate WITH and WITHOUT flags defined, then .include-ing the original Makefile? Chris From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 10:50:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DE101065670 for ; Sun, 24 Apr 2011 10:50:41 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from medusa.otenet.gr (medusa.otenet.gr [83.235.69.18]) by mx1.freebsd.org (Postfix) with ESMTP id 0241F8FC13 for ; Sun, 24 Apr 2011 10:50:40 +0000 (UTC) Received: from rosebud.otenet.gr (rosebud.otenet.gr [83.235.67.42]) by medusa.otenet.gr (ESMTP) with ESMTP; Sun, 24 Apr 2011 13:50:38 +0300 (EEST) Received: from [192.168.0.151] (ppp-94-69-59-239.home.otenet.gr [94.69.59.239]) by rosebud.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id p3OAoYYK001233; Sun, 24 Apr 2011 13:50:38 +0300 Message-ID: <4DB4007A.3030902@otenet.gr> Date: Sun, 24 Apr 2011 13:50:34 +0300 From: Manolis Kiagias User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110402 Icedove/3.1.9 MIME-Version: 1.0 To: Carl References: <4DB0F34B.9030008@telus.net> <4DB1297E.6090205@telus.net> <4DB12F2F.8020306@otenet.gr> <4DB162BC.3030206@otenet.gr> <4DB3DED3.4080901@telus.net> In-Reply-To: <4DB3DED3.4080901@telus.net> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: building a port with very long list of build options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2011 10:50:41 -0000 On 04/24/2011 11:26 AM, Carl wrote: > On 2011-04-22 4:13 AM, Manolis Kiagias wrote: >> On 04/22/2011 10:33 AM, Manolis Kiagias wrote: >>> On 04/22/2011 10:08 AM, Carl wrote: >>>>> This form will override the Makefile present in the current directory >>>>> and will use the specified make file with name >>>>> your_own_make_file_name . >>>> make -f your_own_make_file_name >>>> >>>> Yes, I did see that, but I interpreted that to mean my make file >>>> *replaces* the original, in which case I would need to populate my >>>> make file not only with the list of build options I want but also a >>>> copy of everything in the original make file. If I'm correct, that >>>> doesn't seem to me to be a good idea from a maintenance perspective. I >>>> was hoping for something like the -f option that somehow inserted >>>> rather than replaced. >>>> >>>> Carl / K0802647 >>> Assuming you have already selected some options during make config, you >>> could try adding your own to the file /var/db/ports//options >>> _______________________________________________ >> >> A probably more elegant way is to use the ports-mgmt/portconf port. >> This allows per port settings to be applied, which are honored by make, >> portupgrade and the other tools. Just install and use >> /usr/local/etc/ports.conf to add your options: >> >> Here is the sample supplied with the portconf: >> >> editors/openoffice.org-2: WITH_CCACHE|LOCALIZED_LANG=it >> print/ghostscript-* print/lpr-wrapper: A4 >> sysutils/fusefs-kmod*: !KERNCONF | !NOPORTDOCS >> www/firefox-i18n: WITHOUT_SWITCHER | FIREFOX_I18N=fr it >> x11/fakeport: CONFIGURE_ARGS=--with-modules="aaa bbb ccc" > > ports-mgmt/portconf certainly does look to be a very appealing > solution in general, but am I wrong in thinking that it provides me > with no way to address my original problem? How do I use it when I've > got an exceptionally long list of options for a particular port? > You list all the options on the relevant ports.conf line, separated by '|' as shown in the example. I don't think there is any practical limit to this though admittedly I've only used it for the occasional option. > As for manually customizing /var/db/ports//options, the port > builds in question are done in a clean chroot using a batch process, > so "make config" doesn't happen and /var/db/ports//options > never exists. > > Carl / K0802647 You could create it manually from scratch and list all your options in there. It is just simpler if the file already exists and just needs some more entries. From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 12:51:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC7B1106566B for ; Sun, 24 Apr 2011 12:51:11 +0000 (UTC) (envelope-from loic-freebsd@loicp.eu) Received: from mx0.frozenbox.com (mensa.frozenbox.com [213.251.135.44]) by mx1.freebsd.org (Postfix) with ESMTP id B824E8FC18 for ; Sun, 24 Apr 2011 12:51:11 +0000 (UTC) Received: from [192.168.2.2] (can06-5-78-228-159-183.fbx.proxad.net [78.228.159.183]) by mx0.frozenbox.com (Postfix) with ESMTPSA id 86D9F16E082; Sun, 24 Apr 2011 14:33:23 +0200 (CEST) Message-ID: <4DB418A3.8030501@loicp.eu> Date: Sun, 24 Apr 2011 14:33:39 +0200 From: =?ISO-8859-1?Q?Lo=EFc_Pefferkorn?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Lanikai/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4DA278F8.7060003@pldrouin.net> In-Reply-To: <4DA278F8.7060003@pldrouin.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: pldrouin@pldrouin.net Subject: Re: Options for Secondary DNS Service? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 24 Apr 2011 12:51:12 -0000 Le 11/04/2011 05:43, Pierre-Luc Drouin a écrit : > Hi, > > I am looking for a secondary DNS service. Any suggestion? It is not for > a non-profit organisation so I am not necessarily looking for a free > solution, but I am wondering if there are reliable solutions for less > than what dyndns charges ($40 /year/zone). > > Thanks! > _______________________________________________ Hello, You should give a try to http://www.xname.org Regards, Loïc From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 15:45:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61E40106564A for ; Sun, 24 Apr 2011 15:45:48 +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 215858FC0A for ; Sun, 24 Apr 2011 15:45:47 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p3OFjlJ9049807; Sun, 24 Apr 2011 09:45:47 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p3OFjkd9049804; Sun, 24 Apr 2011 09:45:46 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 24 Apr 2011 09:45:46 -0600 (MDT) From: Warren Block To: Carl In-Reply-To: <4DB3DED3.4080901@telus.net> Message-ID: References: <4DB0F34B.9030008@telus.net> <4DB1297E.6090205@telus.net> <4DB12F2F.8020306@otenet.gr> <4DB162BC.3030206@otenet.gr> <4DB3DED3.4080901@telus.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.7 (wonkity.com [127.0.0.1]); Sun, 24 Apr 2011 09:45:47 -0600 (MDT) Cc: Manolis Kiagias , freebsd-questions@freebsd.org Subject: Re: building a port with very long list of build options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2011 15:45:48 -0000 On Sun, 24 Apr 2011, Carl wrote: > > As for manually customizing /var/db/ports//options, the port builds > in question are done in a clean chroot using a batch process, so "make > config" doesn't happen and /var/db/ports//options never exists. Why not just make `cat options.txt` Where options.txt is NOPORTDOCS=yes NOPORTEXAMPLES=yes ... From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 16:45:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66C9E106566B for ; Sun, 24 Apr 2011 16:45:18 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1E8738FC0A for ; Sun, 24 Apr 2011 16:45:17 +0000 (UTC) Received: by gwb15 with SMTP id 15so608737gwb.13 for ; Sun, 24 Apr 2011 09:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:in-reply-to:references :content-type:date:message-id:mime-version:x-mailer; bh=aBvHCpH8hOyKlZMnJE/2OTBPoiX1ZcXsNbm1mpEcGSA=; b=KAIwGxA8gWVXbFZ0pmTQJxheszu2YLaJySAb2rjEh75K8Y0/2i6oqgDvVXdlxTWdFq rXjD8tmjxwoh+HAZEyvoENnzywxM6ULNpVlNJrBxEyC+xVrF03/XI5hUpZ3Qyrf1uWdR BxbtiFM7W7webbvoqJTMsKyFIpy/o7wHat7Jc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=KDvjd1i2rR/xd5L7x8M0iC6HHAmGDmt5x+6k6JIgmzUaS40J79+OcdRv58Cnai7tP5 h1lmMaHNanLq9hloISebjnaK93QDGbmR5uranKzyJ7gS7uGxEbeP0sMWDHHE5mOlypyv gn0Q4+IAEaseDjTVmc/y3xRCPxSAJoSuCdn8c= Received: by 10.100.137.12 with SMTP id k12mr1631417and.92.1303662099738; Sun, 24 Apr 2011 09:21:39 -0700 (PDT) Received: from [192.168.6.230] ([201.21.167.145]) by mx.google.com with ESMTPS id d14sm4865683ana.26.2011.04.24.09.21.36 (version=SSLv3 cipher=OTHER); Sun, 24 Apr 2011 09:21:38 -0700 (PDT) From: Sergio de Almeida Lenzi To: freebsd-questions@freebsd.org In-Reply-To: References: Date: Sun, 24 Apr 2011 13:21:34 -0300 Message-ID: <1303662094.42253.4.camel@z6000.lenzicasa> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: ZFS performance strangeness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 24 Apr 2011 16:45:18 -0000 Em Ter, 2011-04-12 às 13:33 +0200, Lars Wilke escreveu: > Hi, > > There are quite a few threads about ZFS and performance difficulties, > but i did not find anything that really helped :) > Therefor any advice would be highly appreciated. > I started to use ZFS with 8.1R, only tuning i did was setting > > vm.kmem_size_scale="1" > vfs.zfs.arc_max="40000M" For me I solved the ZFS performace in FreeBSD and postgres databases (about 100GB size) by tunning vm.kmem_size to atout 3/4 of the ram size... in your case, vm.kmem_size=(48 *3/4)=36G, it puts almost all the database in memory and it is now lightning fast... I use to disable prefetch in zfs.. too Hope this can help, Sergio From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 17:30:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F2DD1065675 for ; Sun, 24 Apr 2011 17:30:14 +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 1DCF08FC14 for ; Sun, 24 Apr 2011 17:30:09 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QE38H-0005d4-Qo for freebsd-questions@freebsd.org; Sun, 24 Apr 2011 19:30:05 +0200 Received: from p5dcd69aa.dip.t-dialin.net ([93.205.105.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Apr 2011 19:30:05 +0200 Received: from jumper99 by p5dcd69aa.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Apr 2011 19:30:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: "Helmut Schneider" Date: Sun, 24 Apr 2011 17:24:11 +0000 (UTC) Lines: 112 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5dcd69aa.dip.t-dialin.net User-Agent: XanaNews/1.19.1.320 X-Ref: news.gmane.org ~XNS:0000015C X-Antivirus: avast! (VPS 110424-0, 24.04.2011), Outbound message X-Antivirus-Status: Clean Subject: gpart questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 24 Apr 2011 17:30:14 -0000 Hi, i'm playing around with (virtual) disks within a VMware ESXi 4.1 server: [root@BSDHelmut864 ~]# uname -rsim FreeBSD 8.2-RELEASE amd64 GENERIC [root@BSDHelmut864 ~]# sysctl kern.geom.debugflags=17 kern.geom.debugflags: 17 -> 17 [root@BSDHelmut864 ~]# gpart destroy da1 da1 destroyed [root@BSDHelmut864 ~]# gpart list da1 gpart: No such geom: da1. [root@BSDHelmut864 ~]# OK, the disk is empty, now create a new scheme: [root@BSDHelmut864 ~]# gpart create -s mbr da1 da1 created [root@BSDHelmut864 ~]# gpart show da1 => 63 156301425 da1 MBR (75G) 63 156301425 - free - (75G) [root@BSDHelmut864 ~]# gpart list da1 Geom name: da1 state: OK fwheads: 255 fwsectors: 63 last: 156301487 first: 63 entries: 4 scheme: MBR Consumers: 1. Name: da1 Mediasize: 80026361856 (75G) Sectorsize: 512 Mode: r0w0e0 [root@BSDHelmut864 ~]# Now create a new slice of ~21GB: [root@BSDHelmut864 ~]# gpart add -b 63 -s $(echo 21500*1024*2+63 | bc) -t freebsd da1 da1s1 added [root@BSDHelmut864 ~]# But - where is it? [root@BSDHelmut864 ~]# gpart show da1s1 gpart: No such geom: da1s1. [root@BSDHelmut864 ~]# gpart list da1s1 gpart: No such geom: da1s1. [root@BSDHelmut864 ~]# It should be there: [root@BSDHelmut864 ~]# gpart list da1 Geom name: da1 state: OK fwheads: 255 fwsectors: 63 last: 156301487 first: 63 entries: 4 scheme: MBR Providers: 1. Name: da1s1 Mediasize: 22544395776 (21G) Sectorsize: 512 Mode: r0w0e0 rawtype: 165 length: 22544395776 offset: 32256 type: freebsd index: 1 end: 44032085 start: 63 Consumers: 1. Name: da1 Mediasize: 80026361856 (75G) Sectorsize: 512 Mode: r0w0e0 [root@BSDHelmut864 ~]# But it isn't. Now I start sysinstall, choose "custom", "partiton", press "w" and quit sysinstall. There it is: [root@BSDHelmut864 ~]# gpart show da1s1 => 0 44032023 da1s1 BSD (21G) 0 44032023 - free - (21G) [root@BSDHelmut864 ~]# gpart list da1s1 Geom name: da1s1 state: OK fwheads: 255 fwsectors: 63 last: 44032022 first: 0 entries: 8 scheme: BSD Consumers: 1. Name: da1s1 Mediasize: 22544395776 (21G) Sectorsize: 512 Mode: r0w0e0 [root@BSDHelmut864 ~]# So, what did sysinstall that gpart didn't? Thanks, Helmut From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 17:36:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5101F1065670 for ; Sun, 24 Apr 2011 17:36:40 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 105E38FC08 for ; Sun, 24 Apr 2011 17:36:39 +0000 (UTC) Received: by gyg13 with SMTP id 13so615522gyg.13 for ; Sun, 24 Apr 2011 10:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=09Tw7JPr4ItzQEr42rEwY4xBkil3kAMi7fWOVb5MwY8=; b=kosbsYsvmn+PgPFCsfEnjHE+SrAVdOVJg+tgrQCQGMFLoMC2ihEyTzxvFOhQhGomYj 8jtVeosb10ueeQbaJHLYX3nE5Znz23pimDC1h6SKseFltEoqO9joUrH+R95krXRU5asd 3XbVYrHJOGdpdo7tsSvaqoF+Bwx0bKIcN6A/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WLxz4xaktnX0bqvimrqW7F/SS3aoGM82gvLtPXqszx5VOnxkd3IkFRO00V6+v/bsdt jfPnGA8Q+evzVAv+Vh+zPGbcHxA4L8syKmo38KeLmuuLo6AFIKXn9JFtlwrNMnuYZcuX emYaPVCZ4SWlb/7Kx15/8qJZYJrDjhjPAHpjM= MIME-Version: 1.0 Received: by 10.101.32.1 with SMTP id k1mr1664441anj.0.1303665033932; Sun, 24 Apr 2011 10:10:33 -0700 (PDT) Received: by 10.100.106.1 with HTTP; Sun, 24 Apr 2011 10:10:33 -0700 (PDT) Date: Sun, 24 Apr 2011 11:10:33 -0600 Message-ID: From: Modulok To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2011 17:36:40 -0000 I don't know if this is a problem on FreeBSD... Process A requests memory. Process A Stores a plaintext password in memory or other sensitive data. Process A terminates and the memory is reclaimed by kernel. Process B requests a *huge* chunk of memory. Process B crawls the uninitialized memory, looking for ProcessA's previously stored password. Does anyone know if this is even possible on FreeBSD? Thanks! -Modulok- From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 18:17:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 818F7106564A for ; Sun, 24 Apr 2011 18:17:07 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4646C8FC14 for ; Sun, 24 Apr 2011 18:17:06 +0000 (UTC) Received: by vws18 with SMTP id 18so1896522vws.13 for ; Sun, 24 Apr 2011 11:17:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.92.45 with SMTP id cj13mr4949995vdb.105.1303667621600; Sun, 24 Apr 2011 10:53:41 -0700 (PDT) Received: by 10.52.163.39 with HTTP; Sun, 24 Apr 2011 10:53:41 -0700 (PDT) X-Originating-IP: [93.221.190.223] In-Reply-To: References: Date: Sun, 24 Apr 2011 19:53:41 +0200 Message-ID: From: "C. P. Ghost" To: Modulok Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2011 18:17:07 -0000 On Sun, Apr 24, 2011 at 7:10 PM, Modulok wrote: > I don't know if this is a problem on FreeBSD... > > Process A requests memory. > Process A Stores a plaintext password in memory or other sensitive data. > Process A terminates and the memory is reclaimed by kernel. > > Process B requests a *huge* chunk of memory. > Process B crawls the uninitialized memory, looking for ProcessA's previously > stored password. > > Does anyone know if this is even possible on FreeBSD? Please correct me if I'm wrong (I didn't check the sources), but... short answer: it shouldn't happen, because pages allocated to a new process are zero-filled by the kernel (lazily via zero-fill page faults when process B crawls the memory the first time). On the other hand, I'm not sure if the pass phrase would be visible via /dev/kmem before those pages are actually zero-filled by the new process. Must check the source for exit(2). > Thanks! > -Modulok- -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 19:28:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6E27106564A for ; Sun, 24 Apr 2011 19:28:45 +0000 (UTC) (envelope-from universite@ukr.net) Received: from otrada.od.ua (universite-1-pt.tunnel.tserv24.sto1.ipv6.he.net [IPv6:2001:470:27:140::2]) by mx1.freebsd.org (Postfix) with ESMTP id 36B458FC08 for ; Sun, 24 Apr 2011 19:28:44 +0000 (UTC) Received: from [10.0.0.10] (phenom.otrada.od.ua [10.0.0.10]) (authenticated bits=0) by otrada.od.ua (8.14.4/8.14.4) with ESMTP id p3OJSd4q029569 for ; Sun, 24 Apr 2011 22:28:39 +0300 (EEST) (envelope-from universite@ukr.net) X-Authentication-Warning: otrada.od.ua: Host phenom.otrada.od.ua [10.0.0.10] claimed to be [10.0.0.10] Message-ID: <4DB479E0.7090701@ukr.net> Date: Sun, 24 Apr 2011 22:28:32 +0300 From: "Vladislav V. Prodan" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4DA278F8.7060003@pldrouin.net> <4DB418A3.8030501@loicp.eu> In-Reply-To: <4DB418A3.8030501@loicp.eu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mary-teresa.otrada.od.ua X-Virus-Scanned: clamav-milter 0.97 at mary-teresa.otrada.od.ua X-Virus-Status: Clean Subject: Re: Options for Secondary DNS Service? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 24 Apr 2011 19:28:45 -0000 24.04.2011 15:33, Loïc Pefferkorn wrote: > Le 11/04/2011 05:43, Pierre-Luc Drouin a écrit : >> Hi, >> >> I am looking for a secondary DNS service. Any suggestion? It is not for >> a non-profit organisation so I am not necessarily looking for a free >> solution, but I am wondering if there are reliable solutions for less >> than what dyndns charges ($40 /year/zone). >> >> Thanks! >> _______________________________________________ > > Hello, > > You should give a try to http://www.xname.org > Also try: http://www.dyndns.com/ https://dns.he.net/ http://secondary.net.ua/ -- Vladislav V. Prodan VVP24-UANIC +380[67]4584408 +380[99]4060508 vlad11@jabber.ru From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 21:09:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDCC7106564A for ; Sun, 24 Apr 2011 21:09:52 +0000 (UTC) (envelope-from fourquau@phare.normalesup.org) Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by mx1.freebsd.org (Postfix) with ESMTP id 75DE28FC1B for ; Sun, 24 Apr 2011 21:09:52 +0000 (UTC) Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id p3OKTsal072721 for ; Sun, 24 Apr 2011 22:29:55 +0200 (CEST) X-Envelope-To: Received: by phare.normalesup.org (Postfix, from userid 1003) id B790ABC24B; Sun, 24 Apr 2011 22:29:54 +0200 (CEST) Date: Sun, 24 Apr 2011 22:29:54 +0200 From: Lionel Fourquaux To: freebsd-questions@freebsd.org Message-ID: <20110424202954.GA16373@phare.normalesup.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-PGP-Fingerprint: 24B5 DFFD 45C1 E9E4 8A16 B30B AB33 3E73 C79D F8E1 User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.1.4 (nef2.ens.fr [129.199.96.32]); Sun, 24 Apr 2011 22:29:55 +0200 (CEST) Subject: routing to a directly attached subnet without an address in this subnet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 24 Apr 2011 21:09:52 -0000 Dear FreeBSD users, Consider an IPv6 router with two interfaces, e.g. em0 and em1. em0 has addresses fe80::1234:56ff:fe78:9abc and 2001:db8::1 em1 has address fe80::1234:56ff:fe78:9abd Network 2001:db8::/64 is directly attached to em0, and network 2001:db8:0:1::/64 is directly attached to em1. The default route points to em0. I would like to route packets addressed to 2001:db8:0:1::/64 to interface em1, without allocating an address in 2001:db8:0:1::/64 for em1. (Or to understand why this would be impossible). I have tried to add a route using: route add -ipv6 2001:db8:0:1::/64 -iface em1 (and several variations), but this fails (route returns successfully, but I can't ping anything on 2001:db8:0:1::/64). On the other hand, if I give address 2001:db8:0:1::1/64 to em1, ping6 works and packets are routed successfully. I guess that the differenceis that the OS can't figure out which interface to use for NDP in the first case. However, ndp(8) can create static entries in the NDP table for individual hosts but not whole subnets. I can't see any strong reason for requiring that em1 have an address for every directly attached subnet packets are routed to. The router already has a valid routable address on em0 which can be used as source address for ICMP, and it has an address on em1 (the link local one) which can be used for NDP and routing. So: 1. Is there a way to set up the router the way I want it? 2. If not, why is it not possible? I can mark the additional addresses on em1 as deprecated, possibly even firewall out anything going to these addresses. From the outside, the router would behave exactly the way I want. However, this does not seem as nice as such a simple setup should be. This is on FreeBSD 8.2 (i386), GENERIC kernel. I have slightly simplified the description but all the relevant parts should be here. Anticipated thanks for your answers, and best regards. -- Lionel Fourquaux From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 21:12:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE3AC106566C for ; Sun, 24 Apr 2011 21:12:25 +0000 (UTC) (envelope-from eivind@aminor.no) Received: from vimes.aminor.no (Bohrnag-2-pt.tunnel.tserv24.sto1.ipv6.he.net [IPv6:2001:470:27:57c::2]) by mx1.freebsd.org (Postfix) with ESMTP id 749258FC0C for ; Sun, 24 Apr 2011 21:12:25 +0000 (UTC) Received: from vimes.eivind (localhost [127.0.0.1]) by vimes.aminor.no (Postfix) with ESMTP id 728F87C281 for ; Sun, 24 Apr 2011 23:12:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at aminor.no Received: from vimes.aminor.no ([127.0.0.1]) by vimes.eivind (vimes.eivind [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zJmCsPMq+zZR for ; Sun, 24 Apr 2011 23:12:12 +0200 (CEST) Received: from webmail.aminor.no (vimes.eivind [213.187.177.2]) by vimes.aminor.no (Postfix) with ESMTP id 3D16E78CB2 for ; Sun, 24 Apr 2011 23:12:12 +0200 (CEST) Received: from 84.202.119.169 (SquirrelMail authenticated user eivind) by webmail.aminor.no with HTTP; Sun, 24 Apr 2011 23:12:12 +0200 Message-ID: In-Reply-To: <4DA278F8.7060003@pldrouin.net> References: <4DA278F8.7060003@pldrouin.net> Date: Sun, 24 Apr 2011 23:12:12 +0200 From: "Eivind Olsen" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: Options for Secondary DNS Service? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 24 Apr 2011 21:12:25 -0000 Pierre-Luc Drouin wrote: > I am looking for a secondary DNS service. Any suggestion? It is not for > a non-profit organisation so I am not necessarily looking for a free > solution, but I am wondering if there are reliable solutions for less > than what dyndns charges ($40 /year/zone). I see you have received some suggestions from others. If you're planning to use DNSSEC, suggest you also look into whether any of the secondary DNS providers support this. Even if you sign your zonefiles on your own master, you'll still need your secondaries to be capable of serving DNSSEC signed data. If you're NOT planning on DNSSEC then it doesn't matter as much, though :) Regards Eivind Olsen From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 00:50:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B6F910656A6 for ; Mon, 25 Apr 2011 00:50:55 +0000 (UTC) (envelope-from dscheidt@panix.com) Received: from www.thixotropy.net (vc183.vc.panix.com [IPv6:2001:470:30:80:e276:63ff:fe62:3833]) by mx1.freebsd.org (Postfix) with ESMTP id 5170A8FC18 for ; Mon, 25 Apr 2011 00:50:55 +0000 (UTC) Received: from [IPv6:2001:470:c399:1:e2f8:47ff:fe1f:2692] (unknown [IPv6:2001:470:c399:1:e2f8:47ff:fe1f:2692]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by www.thixotropy.net (Postfix) with ESMTPSA id 939BB1257E2; Sun, 24 Apr 2011 20:50:54 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: David Scheidt In-Reply-To: <20110424202954.GA16373@phare.normalesup.org> Date: Sun, 24 Apr 2011 20:50:53 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <9DC435EF-B1BA-405D-9023-9724F65E77E3@panix.com> References: <20110424202954.GA16373@phare.normalesup.org> To: Lionel Fourquaux X-Mailer: Apple Mail (2.1084) Cc: FreeBSD Mailing List Subject: Re: routing to a directly attached subnet without an address in this subnet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 00:50:55 -0000 On Apr 24, 2011, at 4:29 PM, Lionel Fourquaux wrote: > Dear FreeBSD users, >=20 > Consider an IPv6 router with two interfaces, e.g. em0 and em1. > em0 has addresses fe80::1234:56ff:fe78:9abc and 2001:db8::1 > em1 has address fe80::1234:56ff:fe78:9abd > Network 2001:db8::/64 is directly attached to em0, and network = 2001:db8:0:1::/64 is directly attached to em1. The default route points = to em0. I would like to route packets addressed to 2001:db8:0:1::/64 to = interface em1, without allocating an address in 2001:db8:0:1::/64 for = em1. (Or to understand why this would be impossible). >=20 Why do you want to do this? How do you expect the hosts on the attached = networks to get packets to you? =20 From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 04:23:50 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5AC11065672 for ; Mon, 25 Apr 2011 04:23:50 +0000 (UTC) (envelope-from kayamoritakashi@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 99B498FC08 for ; Mon, 25 Apr 2011 04:23:50 +0000 (UTC) Received: by pwj8 with SMTP id 8so1359056pwj.13 for ; Sun, 24 Apr 2011 21:23:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=F0mDz3baqr45E1rRp2bpplfDsNajr4jQ5V3raj5L2nY=; b=rIAS6+gNQBP45nYPiHl/pjQqofnPWbSDKH75IybCiRUIgj95VGw2EjDTXl3IPrD1gl eitGjQcC230CbpzwAFu0qFzpgVovqyZiid3OiBCWeqX0/61mLrr7TY8g87qDsk2tt2RF fP+VmDFRWgPCg7FIVQMEeov4yIj/gGTptY2Qo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=K+cSND6sGympOHyx7wDqs9j94WjOi/N2y3GU4x76nH/JA5fJCE2MYXwZAerQ43khK8 MGkLLMcUbqHt6tvhaZGLdh1KFjV4lsb4m9K06S9u5X7GvHZcQIt5yeHs3mlCiiqcprLc lL07NAb/KgSVGB+4q1frJ3hP46LwnHX9RUQRg= MIME-Version: 1.0 Received: by 10.142.158.3 with SMTP id g3mr2156015wfe.277.1303703626005; Sun, 24 Apr 2011 20:53:46 -0700 (PDT) Received: by 10.142.233.2 with HTTP; Sun, 24 Apr 2011 20:53:45 -0700 (PDT) Date: Mon, 25 Apr 2011 12:53:45 +0900 Message-ID: From: Takashi Kayamori To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: FreeBSD 8.1 i386 32bit ppp pnic dump OS down Q&A X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 04:23:50 -0000 FreeBSD 8.1 $B$G(B poptp$B$,2TF/$7$F$$$k%^%7%s$G!"(Bppp$B4X78$G0J2<$N(B pnic dump$B$,H/@8$7$^$9!#(B $BH/@8$N:F8=@-$O!"ITL@!#(B $B$J$K$+!)NI$$>pJs$,$"$l$P!"65$($F$/$@$5$$(B # uname -a FreeBSD ????????? 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Fri Oct 1 12:33:55 JST 2010 root@?????????:/usr/src/sys/i386/compile/????????? i386 --- kernel: Fatal trap 12: page fault while in kernel mode kernel: cpuid = 1; apic id = 01 kernel: fault virtual address = 0x1a4 kernel: fault code = supervisor read, page not present kernel: instruction pointer = 0x20:0xc08341ae kernel: stack pointer = 0x28:0xe7d80a08 kernel: kernel: frame pointer = 0x28:0xe7d80a2c --- From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 11:42:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61057106566B for ; Mon, 25 Apr 2011 11:42:34 +0000 (UTC) (envelope-from fourquau@phare.normalesup.org) Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by mx1.freebsd.org (Postfix) with ESMTP id E947D8FC14 for ; Mon, 25 Apr 2011 11:42:33 +0000 (UTC) Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id p3PBgWtM020957 ; Mon, 25 Apr 2011 13:42:32 +0200 (CEST) X-Envelope-To: freebsd-questions@freebsd.org Received: by phare.normalesup.org (Postfix, from userid 1003) id 2B31FBC24C; Mon, 25 Apr 2011 13:42:32 +0200 (CEST) Date: Mon, 25 Apr 2011 13:42:32 +0200 From: Lionel Fourquaux To: David Scheidt Message-ID: <20110425114232.GA4647@phare.normalesup.org> References: <20110424202954.GA16373@phare.normalesup.org> <9DC435EF-B1BA-405D-9023-9724F65E77E3@panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <9DC435EF-B1BA-405D-9023-9724F65E77E3@panix.com> X-PGP-Fingerprint: 24B5 DFFD 45C1 E9E4 8A16 B30B AB33 3E73 C79D F8E1 User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.1.4 (nef2.ens.fr [129.199.96.32]); Mon, 25 Apr 2011 13:42:32 +0200 (CEST) Cc: FreeBSD Mailing List Subject: Re: routing to a directly attached subnet without an address in this subnet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 11:42:34 -0000 On Sun, Apr 24, 2011 at 08:50:53PM -0400, David Scheidt wrote: >On Apr 24, 2011, at 4:29 PM, Lionel Fourquaux wrote: >> em0 has addresses fe80::1234:56ff:fe78:9abc and 2001:db8::1 >> em1 has address fe80::1234:56ff:fe78:9abd >> Network 2001:db8::/64 is directly attached to em0, and network 2001:db8:0:1::/64 is directly attached to em1. The default route points to em0. I would like to route packets addressed to 2001:db8:0:1::/64 to interface em1, without allocating an address in 2001:db8:0:1::/64 for em1. (Or to understand why this would be impossible). >> > >Why do you want to do this? Because I think it would look better that way. > How do you expect the hosts on the attached networks to get packets to you? They are already using fe80::1234:56ff:fe78:9abd as default gateway, so this is not a problem. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 11:55:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB6DA106566B for ; Mon, 25 Apr 2011 11:55:27 +0000 (UTC) (envelope-from fourquau@phare.normalesup.org) Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC618FC0C for ; Mon, 25 Apr 2011 11:55:26 +0000 (UTC) Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id p3PBtPec023197 for ; Mon, 25 Apr 2011 13:55:25 +0200 (CEST) X-Envelope-To: Received: by phare.normalesup.org (Postfix, from userid 1003) id 094B1BC24C; Mon, 25 Apr 2011 13:55:25 +0200 (CEST) Resent-From: Lionel Fourquaux Resent-Date: Mon, 25 Apr 2011 13:55:25 +0200 Resent-Message-ID: <20110425115525.GA7476@phare.normalesup.org> Resent-To: freebsd-questions@freebsd.org Date: Mon, 25 Apr 2011 13:53:13 +0200 From: Lionel Fourquaux To: Robert Bonomi Message-ID: <20110425115313.GB4647@phare.normalesup.org> References: <20110424202954.GA16373@phare.normalesup.org> <201104242343.p3ONhBld001779@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201104242343.p3ONhBld001779@mail.r-bonomi.com> X-PGP-Fingerprint: 24B5 DFFD 45C1 E9E4 8A16 B30B AB33 3E73 C79D F8E1 User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.1.4 (nef2.ens.fr [129.199.96.32]); Mon, 25 Apr 2011 13:55:25 +0200 (CEST) Cc: Subject: Re: routing to a directly attached subnet without an address in this subnet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 11:55:27 -0000 On Sun, Apr 24, 2011 at 06:43:11PM -0500, Robert Bonomi wrote: >Sorry, it _is_ impossible. :( >simply put, to communicate _on_ a network, you have to be *ON* that >network, i.e., 'have an address in that network's address-space'. I don't quite see why this would be required, as long as packets are routed as they should. >It is perfectly legitimate for two (or more) separate networks to share >the same physical media. Yes. >*ONLY* the address of the device distinguishes which network the trafic >goes to/from. But this is the destination address on packets. The point here is, why would the router need an address that is never used as source or destination? >> I can't see any strong reason for requiring that em1 have >> an address for every directly attached subnet packets are routed >> to. > >Think about how 'reply' packets have to be routed by other machines >on that subnet. Packets from other machines are routed to fe80::1234:56ff:fe78:9abd (link local address of the router), so this part is fine. Thanks! From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 14:13:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02E1810656D0 for ; Mon, 25 Apr 2011 14:13:16 +0000 (UTC) (envelope-from fred@blakemfg.com) Received: from web55.getnet.net (web55.getnet.net [216.19.223.55]) by mx1.freebsd.org (Postfix) with ESMTP id B200C8FC08 for ; Mon, 25 Apr 2011 14:13:15 +0000 (UTC) Received: (qmail 18442 invoked from network); 25 Apr 2011 05:51:46 -0700 Received: from 216-19-219-132.getnet.net (HELO ragnok.blakemfg.com) (216.19.219.132) by web55.getnet.net with SMTP; 25 Apr 2011 05:51:46 -0700 Message-ID: <4DB5CEF9.3070202@blakemfg.com> Date: Mon, 25 Apr 2011 12:43:53 -0700 From: Fred User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20110131 Thunderbird/3.1.6 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 updating ports (latex-cjk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 14:13:16 -0000 Hello, I ran into a problem when updating ports on 8.1-RELEASE (i386). ~/print/latex-cjk doesn't want to build. ===> Patching for latex-cjk-4.8.2_4 ===> Applying FreeBSD patches for latex-cjk-4.8.2_4 Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to texinput/Bg5/c00bsmi.fd.rej => Patch patch-texinput-Bg5-c00bsmi.fd failed to apply cleanly. => Patch(es) patch-Makefile applied cleanly. *** Error code 1 Stop in /usr/ports/print/latex-cjk. *** Error code 1 Stop in /usr/ports/print/latex-cjk. What can I do to fix this? Best regards, Fred Boatwright From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 14:18:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0F0F106566B for ; Mon, 25 Apr 2011 14:18:55 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 63BEE8FC19 for ; Mon, 25 Apr 2011 14:18:55 +0000 (UTC) Received: by wwc33 with SMTP id 33so2141638wwc.31 for ; Mon, 25 Apr 2011 07:18:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=/l7jAuxNNUG1+cNsg4na9eqxWkIQeTjBVBDXDGeFOao=; b=XScJwmXD7UuZz4FZDRtWQr6oaA8mIRZxMaN9VyuUFY6pCVVAZKZuxfla7pGUQ+Y1Uf k5zohqBW1Q8WANWdz6DB/SDwpOnyeHk3qruBNOFqipq1SNixNy/9VqNxf0+D0yNTomrT jEAdRuGAX+R/Q4YGZJsf4mgvlst3qvum55lnk= 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=f1giLo26rcu8sdjdWmG8i5nmMZb5VauJ/YckHQUlDbfboF9v97q80jw0NN1Mt1TiAx AoBWNQAOpP0I9bndY6Guo7G3D8FtZxW1ndLhjvAHHbrfj7Zc6riUF08jI7sdXguWWveP Z6u45p+2oaRHZlvwp+DY9X5yvUjX5LW7hGBNs= Received: by 10.227.100.212 with SMTP id z20mr4151061wbn.27.1303741133727; Mon, 25 Apr 2011 07:18:53 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id y29sm3293780wbd.4.2011.04.25.07.18.50 (version=SSLv3 cipher=OTHER); Mon, 25 Apr 2011 07:18:51 -0700 (PDT) Date: Mon, 25 Apr 2011 15:18:46 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110425151846.0a5359fd@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 14:18:55 -0000 On Sun, 24 Apr 2011 19:53:41 +0200 "C. P. Ghost" wrote: > On Sun, Apr 24, 2011 at 7:10 PM, Modulok wrote: > > I don't know if this is a problem on FreeBSD... > > > > Process A requests memory. > > Process A Stores a plaintext password in memory or other sensitive > > data. Process A terminates and the memory is reclaimed by kernel. > > > > Process B requests a *huge* chunk of memory. > > Process B crawls the uninitialized memory, looking for ProcessA's > > previously stored password. > > > > Does anyone know if this is even possible on FreeBSD? > > Please correct me if I'm wrong (I didn't check the sources), but... > > short answer: it shouldn't happen, because pages allocated to a new > process are zero-filled by the kernel (lazily via zero-fill page > faults when process B crawls the memory the first time). I don't believe the heap is allocated zeroed pages. The kernel does allocate such pages to the BSS segment, but that's because it holds zeroed data such as C static variables. AFAIK it's the responsibly of the programmer to avoid data leaking. Passwords are commonly overwritten as soon as they no longer needed. I think geli keeps persistent key information in kernel wired-memory. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 14:22:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E038F1065670 for ; Mon, 25 Apr 2011 14:22:52 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5FDC58FC1A for ; Mon, 25 Apr 2011 14:22:52 +0000 (UTC) Received: by wyf23 with SMTP id 23so2090008wyf.13 for ; Mon, 25 Apr 2011 07:22:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=bNzUC8JRcTISxFjpC725QG50nPnVXpYs0bxC3x0K0fs=; b=V+snYTrqyGwGn0fp//2JszQPHOZM8usAdKFJQlwfD7ZIgRss5Zyi2wwq7V5Os4/Xcp kghWJ/fgF3wWRGYF0GLfa4kYPbvaKJFxJ8KwVhSnyeHDS1IjjGTGXGkiUAxgllv99PkF F21Y/2+uutD5tVbgud2s6j02iPIflmDit3j+0= 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=qLIbnOr1w3aafXPnngSmY0eZePR8Ooj/KqyqAqiW97riVOqQsVsoP+wM4HfdFR54t2 Tc19/uxcQ5DjkPevm5GMr+bxGEqt0yFDKc9ZkNI2iBt/xxvTL8YfBPSxuYn8tvWaSwb+ PnQywu1DPZ5Pvayv41AcIToGLPQBGSjwcpcdU= MIME-Version: 1.0 Received: by 10.216.91.17 with SMTP id g17mr3701796wef.1.1303741371167; Mon, 25 Apr 2011 07:22:51 -0700 (PDT) Received: by 10.216.15.73 with HTTP; Mon, 25 Apr 2011 07:22:51 -0700 (PDT) In-Reply-To: References: <4DB30596.3030609@telting.org> Date: Mon, 25 Apr 2011 15:22:51 +0100 Message-ID: From: krad To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Chris Telting , freebsd-questions@freebsd.org Subject: Re: zfs partition for /etc? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 14:22:53 -0000 On 23 April 2011 23:48, Adam Vande More wrote: > On Sat, Apr 23, 2011 at 3:36 PM, krad wrote: > >> not sure about that as the auto mounts are done when /etc/rc.d/zfs runs so >> there might be a dependency >> > > Hum yeah you are right. I don't think it would be possible then as all the > old etc/root fs restrictions still apply. On the other hand, if you must > have this what's the drawback to simply snapshotting your root fs? Of course > this is much more ideal if you use a ZFS structure like MFSBSD's default > rather the ZFS file system layout presented in the wiki. > > -- > Adam Vande More > you could experiment with the init_* varibles in loader.conf. You might be able to trigger the automount before init runs then, to get around the issue. A bit messy though From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 14:30:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A24071065670 for ; Mon, 25 Apr 2011 14:30:05 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 50A708FC0A for ; Mon, 25 Apr 2011 14:30:05 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QEMnc-0005J7-0p for freebsd-questions@freebsd.org; Mon, 25 Apr 2011 16:30:04 +0200 Received: from pool-116.enst-bretagne.fr ([192.108.117.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Apr 2011 16:30:04 +0200 Received: from fred by pool-116.enst-bretagne.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Apr 2011 16:30:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: =?utf-8?B?RnLDqWTDqXJpYw==?= Perrin Date: Mon, 25 Apr 2011 16:29:50 +0200 Lines: 17 Message-ID: References: <4DB5CEF9.3070202@blakemfg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-116.enst-bretagne.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:ck9Xp2Um6LX0o+WO9VtWmgKyR78= Subject: Re: problem updating ports (latex-cjk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 14:30:05 -0000 Hello Fred, Fred writes: > I ran into a problem when updating ports on 8.1-RELEASE (i386). > ~/print/latex-cjk doesn't want to build. > > ===> Patching for latex-cjk-4.8.2_4 > ===> Applying FreeBSD patches for latex-cjk-4.8.2_4 > Ignoring previously applied (or reversed) patch. > 1 out of 1 hunks ignored--saving rejects to texinput/Bg5/c00bsmi.fd.rej > => Patch patch-texinput-Bg5-c00bsmi.fd failed to apply cleanly. Are you sure the work area is clean? Run `make clean', then `make patch' again. -- Frédéric Perrin -- http://tar-jx.bz From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 15:15:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9959E1065675 for ; Mon, 25 Apr 2011 15:15:41 +0000 (UTC) (envelope-from rjhjr0@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4F5158FC14 for ; Mon, 25 Apr 2011 15:15:41 +0000 (UTC) Received: by gwb15 with SMTP id 15so856681gwb.13 for ; Mon, 25 Apr 2011 08:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=Jq2/L1MLHc5jlQQNkOgMIYccDfes8lyf/OmmMHXAdUU=; b=t5dYV+yEb6dXfUbOQIsya6NCZZw41lHpiQsqtvR9jStQccfIUhNExLBxWvaF3DZr9E XO3QtKX4irEeFZq+vRR2zdIaVvBTGmF/x+AAa5YbHOqrPBWFiKCGRCaN293221bgBZ2f H/4uvFnFszuAnYf3hYGmLrOf/4f8W/j7fxotQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=IQrIFFUakVsBhaobEBF+hKT6AjVwvZtIilVXmuVf5azIVIEiQPqcZQKXinsn3FVetz Et2L/d9r7pqjRXSmkjEZp+h31ZWDTRIRJnPQfc0IvpVPbSc6KEbgJHNr6S2PVqobKB4x fxs35IbM6iz8FieaWAFNFU6TLQaPzz48irBt8= Received: by 10.236.185.66 with SMTP id t42mr4208097yhm.335.1303744539894; Mon, 25 Apr 2011 08:15:39 -0700 (PDT) Received: from localhost (ip98-163-115-74.dc.dc.cox.net [98.163.115.74]) by mx.google.com with ESMTPS id i10sm2261515yhd.10.2011.04.25.08.15.38 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Apr 2011 08:15:39 -0700 (PDT) Date: Mon, 25 Apr 2011 11:15:36 -0400 From: Bob Hall To: RW Message-ID: <20110425151536.GA61425@stainmore> Mail-Followup-To: Bob Hall , RW , freebsd-questions@freebsd.org References: <20110425151846.0a5359fd@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110425151846.0a5359fd@gumby.homeunix.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 15:15:41 -0000 On Mon, Apr 25, 2011 at 03:18:46PM +0100, RW wrote: > I don't believe the heap is allocated zeroed pages. The kernel > does allocate such pages to the BSS segment, but that's because it > holds zeroed data such as C static variables. According to McKusick and Neville-Neil's book on FreeBSD, sbrk extends the uninitialized data segment with zero-filled pages. Since malloc() is an interface to sbrk, it does the same thing. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 15:46:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BAAA106566C for ; Mon, 25 Apr 2011 15:46:34 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 322308FC1C for ; Mon, 25 Apr 2011 15:46:33 +0000 (UTC) Received: by vxc34 with SMTP id 34so2566270vxc.13 for ; Mon, 25 Apr 2011 08:46:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.92.45 with SMTP id cj13mr6441439vdb.105.1303746393380; Mon, 25 Apr 2011 08:46:33 -0700 (PDT) Received: by 10.52.163.39 with HTTP; Mon, 25 Apr 2011 08:46:33 -0700 (PDT) X-Originating-IP: [93.221.187.36] In-Reply-To: <20110425151536.GA61425@stainmore> References: <20110425151846.0a5359fd@gumby.homeunix.com> <20110425151536.GA61425@stainmore> Date: Mon, 25 Apr 2011 17:46:33 +0200 Message-ID: From: "C. P. Ghost" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 15:46:34 -0000 On Mon, Apr 25, 2011 at 5:15 PM, Bob Hall wrote: > On Mon, Apr 25, 2011 at 03:18:46PM +0100, RW wrote: >> I don't believe the heap is allocated zeroed pages. =A0The kernel >> does allocate such pages to the BSS segment, but that's because it >> holds zeroed data such as C static variables. > > According to McKusick and Neville-Neil's book on FreeBSD, sbrk extends > the uninitialized data segment with zero-filled pages. Since malloc() is > an interface to sbrk, it does the same thing. True, except that malloc(3) now uses both sbrk(2) and mmap(2) allocators, depending on the user-settable flags in /etc/malloc.conf, MALLOC_OPTIONS and the global variable _malloc_options. So you have to look into mmap(2) too. -cpghost. --=20 Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 17:54:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD27F1065673 for ; Mon, 25 Apr 2011 17:54:25 +0000 (UTC) (envelope-from rjhjr0@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8D3838FC1A for ; Mon, 25 Apr 2011 17:54:25 +0000 (UTC) Received: by gyg13 with SMTP id 13so934749gyg.13 for ; Mon, 25 Apr 2011 10:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=jO/6g9ZK5/wDi1avaGw/7SuyiMEYrRMS4so+J1Fd0YQ=; b=c7qSCPX++JFwkQ3sJf4rT1qmDNmz5ZsfKV+OfxtbWJu7nLpUi4XO4rsb/+9aKLMesi zj8L4D0YiYCzJzCcbgKfHWDCK//Egs3i7mCpopaICZS9JYici7EPcsiUStPQFvKWDFFv 8bjlaQ4cMHVyK7vV6HXE8iM9BGDvKHrnTI22g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; b=PqySZuPRRB+f3ST8fUxeNxRA0BSCrMaGz/jnJcbRD4siUWpkAxd9cnDXDVCCX6TGr1 MMwFe/uGKvXDAYfqrj8T8dS1BO6TjF+Nz42pNm+bEgkDAmdFYSbztAIfAus88WJ/rx3F d1Wm8x7cta5UGIxA5EoFl9SfkIYiF3t2uXkw4= Received: by 10.236.78.168 with SMTP id g28mr4350890yhe.211.1303754064764; Mon, 25 Apr 2011 10:54:24 -0700 (PDT) Received: from localhost (ip98-163-115-74.dc.dc.cox.net [98.163.115.74]) by mx.google.com with ESMTPS id x64sm2318942yhn.39.2011.04.25.10.54.22 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Apr 2011 10:54:23 -0700 (PDT) Date: Mon, 25 Apr 2011 13:54:20 -0400 From: Bob Hall To: "C. P. Ghost" Message-ID: <20110425175420.GA61811@stainmore> Mail-Followup-To: Bob Hall , "C. P. Ghost" , freebsd-questions@freebsd.org References: <20110425151846.0a5359fd@gumby.homeunix.com> <20110425151536.GA61425@stainmore> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 17:54:25 -0000 On Mon, Apr 25, 2011 at 05:46:33PM +0200, C. P. Ghost wrote: > On Mon, Apr 25, 2011 at 5:15 PM, Bob Hall wrote: > > On Mon, Apr 25, 2011 at 03:18:46PM +0100, RW wrote: > >> I don't believe the heap is allocated zeroed pages.  The kernel > >> does allocate such pages to the BSS segment, but that's because it > >> holds zeroed data such as C static variables. > > > > According to McKusick and Neville-Neil's book on FreeBSD, sbrk extends > > the uninitialized data segment with zero-filled pages. Since malloc() is > > an interface to sbrk, it does the same thing. > > True, except that malloc(3) now uses both sbrk(2) and mmap(2) allocators, > depending on the user-settable flags in /etc/malloc.conf, MALLOC_OPTIONS > and the global variable _malloc_options. So you have to look into mmap(2) > too. Good point. From the man page: "Any such extension beyond the end of the mapped object will be zero-filled." and "A successful mmap deletes any previous mapping in the allocated address range." From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 20:24:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CD5A106566C for ; Mon, 25 Apr 2011 20:24:11 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 918498FC17 for ; Mon, 25 Apr 2011 20:24:10 +0000 (UTC) Received: by wyf23 with SMTP id 23so2385723wyf.13 for ; Mon, 25 Apr 2011 13:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5VAhS779wqXjK28+6A68G94Mz62T4AZDzSklJ5azuM0=; b=Ikg2fq9PqYQtKAfLafeEo/qUJ/IoZwWNkrwmbmY16eYgYmQOO+4xtRMG6EEmSwjhKW RjymHtEVcwyHnnLfweOA72npRz9h4RDbGiKTzHyZ5sfUGjoc3URki7Wz/0fo5KAxgnTx 1TwIolWXHbEXCW+HiuoyFNTSKACulwM1pOqmQ= 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=x1HZZDUGnNl2JMEENum2ToO4by7Tn71xFb9fk7Fq14favp+XVSkIKHvSKqclJFFB1Y ge3pDyU1QHdR13Ovp+EpJAfxpnS7/2E/E2MYwD1l0IzGXFC8IFOujCUWJzmGFo0B9fEy /fay4v9MV+sXtT07XMlCiVynniX2c0WzDySyc= MIME-Version: 1.0 Received: by 10.216.143.74 with SMTP id k52mr4078308wej.0.1303763049489; Mon, 25 Apr 2011 13:24:09 -0700 (PDT) Received: by 10.216.15.73 with HTTP; Mon, 25 Apr 2011 13:24:09 -0700 (PDT) In-Reply-To: <1303662094.42253.4.camel@z6000.lenzicasa> References: <1303662094.42253.4.camel@z6000.lenzicasa> Date: Mon, 25 Apr 2011 21:24:09 +0100 Message-ID: From: krad To: Sergio de Almeida Lenzi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: ZFS performance strangeness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 20:24:11 -0000 On 24 April 2011 17:21, Sergio de Almeida Lenzi wro= te: > Em Ter, 2011-04-12 =E0s 13:33 +0200, Lars Wilke escreveu: > > > Hi, > > > > There are quite a few threads about ZFS and performance difficulties, > > but i did not find anything that really helped :) > > Therefor any advice would be highly appreciated. > > I started to use ZFS with 8.1R, only tuning i did was setting > > > > vm.kmem_size_scale=3D"1" > > vfs.zfs.arc_max=3D"40000M" > > For me I solved the ZFS performace in FreeBSD and postgres databases > (about 100GB size) > by tunning vm.kmem_size to atout 3/4 of the ram size... > in your case, vm.kmem_size=3D(48 *3/4)=3D36G, it puts almost all the > database > in memory and it is now lightning fast... > I use to disable prefetch in zfs.. too > > Hope this can help, > > Sergio > _______________________________________________ > 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" > wouldnt it be better to allow the db to use the memory rather than zfs, as this would involve far less context switches? From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 21:48:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 924F7106566C for ; Mon, 25 Apr 2011 21:48:45 +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 4D3F48FC08 for ; Mon, 25 Apr 2011 21:48:45 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QETe8-0006QU-5I for freebsd-questions@freebsd.org; Mon, 25 Apr 2011 23:48:44 +0200 Received: from p5dcd754b.dip.t-dialin.net ([93.205.117.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Apr 2011 23:48:44 +0200 Received: from jumper99 by p5dcd754b.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Apr 2011 23:48:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: "Helmut Schneider" Date: Mon, 25 Apr 2011 21:48:33 +0000 (UTC) Lines: 15 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5dcd754b.dip.t-dialin.net User-Agent: XanaNews/1.19.1.320 X-Ref: news.gmane.org ~XNS:0000015F X-Antivirus: avast! (VPS 110425-1, 25.04.2011), Outbound message X-Antivirus-Status: Clean Subject: Safe to use GPT within gmirror? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 21:48:45 -0000 Hi, can I safely use GPTs within a GEOM_MIRROR? I created a new mirror and then used gpart to create additinal partitions. dmesg gives: the secondary GPT header is not in the last LBA As far as I read by now it seems safe to ignore that message but I want to get sure. Or are mirrored GPTs only safe when using ZFS? Thanks, Helmut From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 22:05:38 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3170D1065674 for ; Mon, 25 Apr 2011 22:05:38 +0000 (UTC) (envelope-from fourquau@phare.normalesup.org) Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by mx1.freebsd.org (Postfix) with ESMTP id B78A98FC16 for ; Mon, 25 Apr 2011 22:05:37 +0000 (UTC) Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id p3PM5Zb8037981 ; Tue, 26 Apr 2011 00:05:35 +0200 (CEST) X-Envelope-To: freebsd-questions@freebsd.org Received: by phare.normalesup.org (Postfix, from userid 1003) id 88A96BC24C; Tue, 26 Apr 2011 00:05:35 +0200 (CEST) Date: Tue, 26 Apr 2011 00:05:35 +0200 From: Lionel Fourquaux To: Daniel Marsh Message-ID: <20110425220535.GA9237@phare.normalesup.org> References: <20110424202954.GA16373@phare.normalesup.org> <201104242343.p3ONhBld001779@mail.r-bonomi.com> <20110425115313.GB4647@phare.normalesup.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-PGP-Fingerprint: 24B5 DFFD 45C1 E9E4 8A16 B30B AB33 3E73 C79D F8E1 User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.1.4 (nef2.ens.fr [129.199.96.32]); Tue, 26 Apr 2011 00:05:35 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: routing to a directly attached subnet without an address in this subnet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 22:05:38 -0000 On Mon, Apr 25, 2011 at 10:17:40PM +1000, Daniel Marsh wrote: >What you need to verify is the default routes on the client hosts. It's very >likely your packets and your initial route add commands on your dual host >machine are correct, yet the return route on the other clients are >incorrect. I have checked that. Actually, I can ping the router from the clients. What does not work is initiating a packet exchange from the router's side. Short reminder: em0 has addresses fe80::1234:56ff:fe78:9abc and 2001:db8::1 em1 has address fe80::1234:56ff:fe78:9abd default route is to em0 2001:db8:0:1::/64 is router to em1 (route add -inet6 2001:db8:0:1::/64 -iface em1) clients connected to em1 have addresses in 2001:db8:0:1::/64 and default route to fe80::1234:56ff:fe78:9abd If I reboot the router, then try to ping a client in 2001:db8:0:1::/64, directly connected to em1, ping6 fails with "sendmsg: Operation not permitted". tcpdump does not show anything being sent to this client. The client's MAC does not show up in "ndp -a". If I ping the router from the client, I get answers. The client's MAC show up in the NDP table, and I can ping the client from the router as long as it is still listed in the NDP table. If I clear the table with "ndp -c", I can't ping from the router any more. If I reboot and add a static entry for the client in the NDP table, I can ping this client. All this seems to point to NDP as the root of the problem: it looks like it is not aware of the addition of 2001:db8:0:1::/64 to the routing table. I do not see any way to give the missing information to NDP other than adding an address to em1. (Adding static entries for all the clients would not be manageable in the long run). Google seems to turn up some mentions of "cloning routes" that look like a way to solve this (I'm not quite sure), but this was apparently removed in a recent reimplementation of ARP+NDP (arp-v2). Maybe some functionality was lost in the process, but I don't know about this. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 22:29:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12A75106566B for ; Mon, 25 Apr 2011 22:29:14 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 95C208FC12 for ; Mon, 25 Apr 2011 22:29:13 +0000 (UTC) Received: by wyf23 with SMTP id 23so58704wyf.13 for ; Mon, 25 Apr 2011 15:29:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=eNmtTwKyxhOvg0C/daOjBd8CBRfeHV7mPaLt3EjB380=; b=vB352qCGpHAmlZB3RKRbIg97Wr1UJJcxm+tJUKo9Rt8GYrPx3/EZi9MfiNGutMXvNL DnwtI4Vb5AGyd06zNdZx3oAnMby7pR8tpUDldqc4cnlNyrfGl2iZyQ81M2FyxxI3CeEM aH3oz5N1Q1usiK+oH17f1diULia/ZaedUVZEg= 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=v6d81DvxfQmBo8teXJ6Wnlx1IkqFzrPkQ0YrNW86G/91bbTnoun+3KtJS3+++6Klqe MTYpScvUmAQ0OQ17zuYN7jJAkMRcO9zOBusaIeg9OF0WRRTMiiaHG+OKPqUJkTJ0Zyhe 5zfkZSBcKB6krUbYwlEp/aSs/2pNeMTef/jrU= Received: by 10.216.235.158 with SMTP id u30mr4384weq.104.1303770552542; Mon, 25 Apr 2011 15:29:12 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id s40sm2741506weq.28.2011.04.25.15.29.10 (version=SSLv3 cipher=OTHER); Mon, 25 Apr 2011 15:29:11 -0700 (PDT) Date: Mon, 25 Apr 2011 23:29:08 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110425232908.4104e026@gumby.homeunix.com> In-Reply-To: <20110425175420.GA61811@stainmore> References: <20110425151846.0a5359fd@gumby.homeunix.com> <20110425151536.GA61425@stainmore> <20110425175420.GA61811@stainmore> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 22:29:14 -0000 On Mon, 25 Apr 2011 13:54:20 -0400 Bob Hall wrote: > On Mon, Apr 25, 2011 at 05:46:33PM +0200, C. P. Ghost wrote: > > On Mon, Apr 25, 2011 at 5:15 PM, Bob Hall wrote: > > > On Mon, Apr 25, 2011 at 03:18:46PM +0100, RW wrote: > > >> I don't believe the heap is allocated zeroed pages. =A0The kernel > > >> does allocate such pages to the BSS segment, but that's because > > >> it holds zeroed data such as C static variables. > > > > > > According to McKusick and Neville-Neil's book on FreeBSD, sbrk > > > extends the uninitialized data segment with zero-filled pages. > > > Since malloc() is an interface to sbrk, it does the same thing. > >=20 > > True, except that malloc(3) now uses both sbrk(2) and mmap(2) > > allocators, depending on the user-settable flags > > in /etc/malloc.conf, MALLOC_OPTIONS and the global variable > > _malloc_options. So you have to look into mmap(2) too. >=20 > Good point. From the man page: > "Any such extension beyond the end of the mapped object will be > zero-filled."=20 > and > "A successful mmap deletes any previous mapping in the allocated > address range." The above quote refers to zeroing the fraction of a page that's left over when "len" isn't a multiple of the page size. However, there's a comment in malloc.c about mmap'ed regions being zeroed, so I guess they are, but it doesn't seem to be mentioned at all in mmap(2). The reason I thought that heap memory isn't zeroed is from the discussion of pre-zeroed pages in this article:=20 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vm-design/prefault-opti= mizations.html It reads as if the BSS region is the only significant user of zeroed pages. From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 00:10:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF0861065674 for ; Tue, 26 Apr 2011 00:10:10 +0000 (UTC) (envelope-from freebsd@snap.net.nz) Received: from unit0.ironport.snap.net.nz (unit0.ironport.snap.net.nz [202.37.100.104]) by mx1.freebsd.org (Postfix) with ESMTP id 607838FC13 for ; Tue, 26 Apr 2011 00:10:09 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AooHALkMtk3KfG1Y/2dsb2JhbACYFY0nxy+FdgSONQ X-IronPort-AV: E=Sophos;i="4.64,267,1301832000"; d="scan'208";a="53308578" Received: from rupert.snap.net.nz ([202.37.100.140]) by smtp0.ironport.snap.net.nz with ESMTP; 26 Apr 2011 12:10:08 +1200 X-Sender-IP: 202.124.109.88 Received: from akllappt.local (88.109.124.202.static.snap.net.nz [202.124.109.88]) by rupert.snap.net.nz (Postfix) with ESMTP id 5F35D201BB for ; Tue, 26 Apr 2011 12:10:08 +1200 (NZST) Message-ID: <4DB60D60.3010104@snap.net.nz> Date: Tue, 26 Apr 2011 12:10:08 +1200 From: Peter Toth User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110421 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: ZFS and zfsloader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 00:10:10 -0000 Hi there, I've recently migrated my old laptop to a new one (both running R8.2 + ZFS). Used zfs send/recv and corrected mountpoints. On the old laptop I had my / sitting in zpool, on the new one I've created a separate zpool/root for /. Everything is working OK except one strangeness - the boot loader still reads the kernel out of zpool/boot instead of zpool/root/boot. I've reinstalled the boot code and the loader but this did not help. Anyone has an idea how to fix this? Many thanks, Peter From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 00:43:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F21571065670 for ; Tue, 26 Apr 2011 00:43:35 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 83E018FC12 for ; Tue, 26 Apr 2011 00:43:35 +0000 (UTC) Received: by bwz12 with SMTP id 12so202393bwz.13 for ; Mon, 25 Apr 2011 17:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=KjXsyaLt8d/jqrkRxmdWNc5I6eNmPVKV/EV2zdGX4FQ=; b=cZVU6f6h7nf3UqnknH5UpgdNVbNo7n1PyyaUHV9KtffzG/iIEetELFnCFwKQU56SNP psjhEJyUqrfZSwP05h9ZSCU8SQ8U+WkHpo/EBILLnYbZ2vHdDIf+7UC6FHyvpO2FPdlw YYC8ucOkpR0ghU8iv0HN1acpQMt+KZIFTUWWg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VjFusK39HngaJNIG4fKsyWJEX7iCTnjmo8RmD5euJg3JcIBMOfGGpq3VkPKXYXQAw4 eu+6RZ30ZVjvCjFZzDUfqANy7/1dAKpwKtyjtIZVJ8s9V6YcZfR9TiMfz6Shv5t5YYd4 nCXTVUgZn51bIkjo5Xv/yEazwUaCthjuiuxUM= MIME-Version: 1.0 Received: by 10.204.80.29 with SMTP id r29mr77435bkk.195.1303778613640; Mon, 25 Apr 2011 17:43:33 -0700 (PDT) Received: by 10.204.169.65 with HTTP; Mon, 25 Apr 2011 17:43:33 -0700 (PDT) Date: Mon, 25 Apr 2011 19:43:33 -0500 Message-ID: From: Antonio Olivares To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: easy Firewall setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 00:43:36 -0000 Dear kind folks, Is there an easy firewall setup available somewhere(like the one referenced below but for FreeBSD)? i.e, like I saw reading in Distrowatch an easy way(using a page on the net: http://connie.slackware.com/~alien/efg/) I have read that there is pf and there is an implementation by OpenBSD and both are available on FreeBSD via ports system/packages. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html I don't know which one to use, is there a page, howto (build a firewall or convert an existing one) to use here? All I want is to be allowed to visit websites but don't allow anyone out there to come in somehow a template that I can use and try out to see if I can get it working. Of course the network name might be different, but I can try to figure things out. ne0, fe0, ra0, ..., etc After figuring this out, my next big job/task is to use FreeBSD to make up a new router/dhcp server to give/assign ip numbers to machines from one and give to many. This has been something hard that I have failed at several times. Maybe with FreeBSD I can be successfull? Thanks, Antonio From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 02:06:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 951F51065670 for ; Tue, 26 Apr 2011 02:06:17 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id 2A5978FC15 for ; Tue, 26 Apr 2011 02:06:15 +0000 (UTC) Received: from [192.168.1.50] (Mac-Pro.magehandbook.com [192.168.1.50]) by mail.magehandbook.com (Postfix) with ESMTP id 34E5A3E3; Mon, 25 Apr 2011 22:06:05 -0400 (EDT) Date: Mon, 25 Apr 2011 22:06:05 -0400 From: Daniel Staal To: Antonio Olivares , FreeBSD Questions Message-ID: In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: easy Firewall setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 02:06:17 -0000 --As of April 25, 2011 7:43:33 PM -0500, Antonio Olivares is alleged to have said: > I don't know which one to use, is there a page, howto (build a > firewall or convert an existing one) to use here? All I want is to be > allowed to visit websites but don't allow anyone out there to come in > somehow a template that I can use and try out to see if I can get it > working. Of course the network name might be different, but I can try > to figure things out. If all you want is a firewall, I'd go with this: Based on FreeBSD, but they've set it up nice and put an easy-to-use interface on top of it. Of course if you wanted you could always just install the base system, turn on routing, and configure pf/iptables. There's not really a whole lot to either one, really... But if you don't feel like learning their syntax right now, or doing everything via a text editor, I'd really go with pfsense. (Even if you *do* know their syntax, in most cases I'd go with pfsense...) > After figuring this out, my next big job/task is to use FreeBSD to > make up a new router/dhcp server to give/assign ip numbers to machines > from one and give to many. This has been something hard that I have > failed at several times. Maybe with FreeBSD I can be successfull? pfsense has a DHCP server, no problem there. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 02:34:42 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D04121065675 for ; Tue, 26 Apr 2011 02:34:42 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 569898FC1A for ; Tue, 26 Apr 2011 02:34:41 +0000 (UTC) Received: by bwz12 with SMTP id 12so269524bwz.13 for ; Mon, 25 Apr 2011 19:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=ypxPlrqT6lvEABt6XafijsrUxbJGc9Wt4OfYbRsUOaI=; b=WL5GQPusC9K0cPFet1w3kS8XHhaFObHcfnhyXLtj0HpiSVxRoAzvoqBU3tjdBsme+X ZwN6zXV21woJNI3HtitRBZjwn+7f4XLGx5u2m1ap89LZlGnO7sjYXFIG/DgKKFyaSJWm /wGVYf4/pLfAKMyg/ZT8Kcy4kU0+RHEZMYCco= 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=Mh/SJJVtSY0627ezzdqpksI6LoE5xztGskJ4+5gs0E3EcqcCpsDp5dwJiysbQeffc5 yYrDTldGg8h0pTWFlXNvMf3tU+iZuTKFdMv//LSjH6XZQSsNaZ/QvUfs60rdXczmbSgo NuzXm1UcSuCD6li+dlhcE7QrShUShZeMkifUY= MIME-Version: 1.0 Received: by 10.204.151.202 with SMTP id d10mr140828bkw.168.1303785281038; Mon, 25 Apr 2011 19:34:41 -0700 (PDT) Received: by 10.204.169.65 with HTTP; Mon, 25 Apr 2011 19:34:41 -0700 (PDT) In-Reply-To: References: Date: Mon, 25 Apr 2011 21:34:41 -0500 Message-ID: From: Antonio Olivares To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: easy Firewall setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 02:34:42 -0000 On Mon, Apr 25, 2011 at 9:06 PM, Daniel Staal wrote: > --As of April 25, 2011 7:43:33 PM -0500, Antonio Olivares is alleged to h= ave > said: > >> I don't know which one to use, is there a page, howto (build a >> firewall or convert an existing one) to use here? =A0All I want is to be >> allowed to visit websites but don't allow anyone out there to come in >> somehow a template that I can use and try out to see if I can get it >> working. =A0Of course the network name might be different, but I can try >> to figure things out. > > If all you want is a firewall, I'd go with this: > > > Based on FreeBSD, but they've set it up nice and put an easy-to-use > interface on top of it. > > Of course if you wanted you could always just install the base system, tu= rn > on routing, and configure pf/iptables. =A0There's not really a whole lot = to > either one, really... =A0But if you don't feel like learning their syntax > right now, or doing everything via a text editor, I'd really go with > pfsense. =A0(Even if you *do* know their syntax, in most cases I'd go wit= h > pfsense...) > >> After figuring this out, my next big job/task is to use FreeBSD to >> make up a new router/dhcp server to give/assign ip numbers to machines >> from one and give to many. =A0This has been something hard that I have >> failed at several times. =A0Maybe with FreeBSD I can be successfull? > > pfsense has a DHCP server, no problem there. > > Daniel T. Staal > > --------------------------------------------------------------- Thanks for sharing this. I have a base FreeBSD 8.2 system on one machine and I would like to setup a firewall that allows me to visit websites and not allow incoming traffic. Something easy to set up and start like /etc/local/rc.d/rc.pf start or similar. A nice example which I can change somethings like name of network device, i.e, nv0, or similar device. I will try further reading and try to set something up as I am afraid to screw things up. Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 02:36:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 544211065672 for ; Tue, 26 Apr 2011 02:36:24 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 294728FC17 for ; Tue, 26 Apr 2011 02:36:23 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 72724264E204 for ; Mon, 25 Apr 2011 21:37:31 -0500 (CDT) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U4eWbSjWO7nr for ; Mon, 25 Apr 2011 21:37:18 -0500 (CDT) Received: from [10.0.1.198] (70-89-202-1-invergrove-mn.hfc.comcastbusiness.net [70.89.202.1]) by server.cwis.biz (Postfix) with ESMTPSA id EE6B9264E203 for ; Mon, 25 Apr 2011 21:37:18 -0500 (CDT) From: Ryan Coleman Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Mon, 25 Apr 2011 21:36:10 -0500 Message-Id: <6073BC9F-553D-41E2-AE42-341B61850EA7@cwis.biz> To: FreeBSD Mailing List Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Subject: OpenVPN routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 02:36:24 -0000 I've got an OpenVPN connection working to my remote server, but I want = to route the traffic to the local LAN. I have a bridge set up, pingable... but can't ping the em1 = (192.168.46.2) from the remote machine. Server.conf: local 192.168.46.2 port 1194 proto udp dev tap ca keys/cacert.pem cert keys/server.crt key keys/server.key # This file should be kept secret dh keys/dh1024.pem # Don't put this in the keys directory unless user nobody can read it crl-verify keys/crl.pem #Make sure this is your tunnel address pool server 192.168.47.0 255.255.255.0 ifconfig-pool-persist ipp.txt #This is the route to push to the client, add more if necessary #push "route 192.168.46.254 255.255.255.0" push "route 192.168.47.0 255.255.255.0" push "dhcp-option DNS 192.168.45.10" keepalive 10 120 cipher BF-CBC #Blowfish encryption comp-lzo #fragment user nobody group nobody persist-key persist-tun status openvpn-status.log verb 6 mute 5 client.conf:=20 #Begin client.conf client dev tap proto udp remote sub.domain.ltd 1194 nobind user nobody group nobody persist-key persist-tun #crl-verify #remote-cert-tls server ca keys/cacert.pem cert keys/ryanc.crt key keys/ryanc.key cipher BF-CBC comp-lzo verb 3 mute 20 Any ideas? As I said, I can talk to the remote server, but not the = local LAN. To throw a new curveball in the mix, I'd like to talk to 192.168.45.0/24 = - which we have another VPN connecting the two networks (not running on = a VPN I can do much with). Thanks, Ryan= From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 02:38:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1907106566C for ; Tue, 26 Apr 2011 02:38:43 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 559E98FC14 for ; Tue, 26 Apr 2011 02:38:43 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id EDA31264E204; Mon, 25 Apr 2011 21:39:50 -0500 (CDT) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yli19XjRhVM1; Mon, 25 Apr 2011 21:39:37 -0500 (CDT) Received: from [10.0.1.198] (70-89-202-1-invergrove-mn.hfc.comcastbusiness.net [70.89.202.1]) by server.cwis.biz (Postfix) with ESMTPSA id C028D264E203; Mon, 25 Apr 2011 21:39:37 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <6073BC9F-553D-41E2-AE42-341B61850EA7@cwis.biz> Date: Mon, 25 Apr 2011 21:38:29 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <5677ADC4-3BE8-46C0-8C19-C893276B79FE@d3photography.com> References: <6073BC9F-553D-41E2-AE42-341B61850EA7@cwis.biz> To: Ryan Coleman X-Mailer: Apple Mail (2.1084) Cc: FreeBSD Mailing List Subject: Re: OpenVPN routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 02:38:43 -0000 Also: [root@nbserver1 /usr/home/ryanc]# ifconfig em0: flags=3D8943 metric = 0 mtu 1500 options=3D98 ether 00:14:22:15:dc:65 inet 192.168.46.2 netmask 0xffffff00 broadcast 192.168.46.255 media: Ethernet autoselect (1000baseT ) status: active tap0: flags=3D8943 = metric 0 mtu 1500 options=3D80000 ether 00:bd:7e:86:1d:00 inet 192.168.47.1 netmask 0xffffff00 broadcast 192.168.47.255 Opened by PID 10341 bridge0: flags=3D8843 metric 0 = mtu 1500 ether 46:e1:75:c6:a3:a7 inet 192.168.47.254 netmask 0xffffff00 broadcast 192.168.47.255 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: tap0 flags=3D143 ifmaxaddr 0 port 5 priority 128 path cost 2000000 member: em0 flags=3D143 ifmaxaddr 0 port 1 priority 128 path cost 20000 On Apr 25, 2011, at 9:36 PM, Ryan Coleman wrote: > I've got an OpenVPN connection working to my remote server, but I want = to route the traffic to the local LAN. >=20 > I have a bridge set up, pingable... but can't ping the em1 = (192.168.46.2) from the remote machine. >=20 > Server.conf: > local 192.168.46.2 > port 1194 > proto udp > dev tap > ca keys/cacert.pem > cert keys/server.crt > key keys/server.key # This file should be kept secret > dh keys/dh1024.pem > # Don't put this in the keys directory unless user nobody can read it > crl-verify keys/crl.pem > #Make sure this is your tunnel address pool > server 192.168.47.0 255.255.255.0 > ifconfig-pool-persist ipp.txt > #This is the route to push to the client, add more if necessary > #push "route 192.168.46.254 255.255.255.0" > push "route 192.168.47.0 255.255.255.0" > push "dhcp-option DNS 192.168.45.10" > keepalive 10 120 > cipher BF-CBC #Blowfish encryption > comp-lzo > #fragment > user nobody > group nobody > persist-key > persist-tun > status openvpn-status.log > verb 6 > mute 5 >=20 >=20 > client.conf:=20 > #Begin client.conf > client > dev tap > proto udp > remote sub.domain.ltd 1194 > nobind > user nobody > group nobody > persist-key > persist-tun > #crl-verify > #remote-cert-tls server > ca keys/cacert.pem > cert keys/ryanc.crt > key keys/ryanc.key > cipher BF-CBC > comp-lzo > verb 3 > mute 20 >=20 > Any ideas? As I said, I can talk to the remote server, but not the = local LAN. >=20 > To throw a new curveball in the mix, I'd like to talk to = 192.168.45.0/24 - which we have another VPN connecting the two networks = (not running on a VPN I can do much with). >=20 >=20 > Thanks, > Ryan_______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 02:56:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B21F106564A for ; Tue, 26 Apr 2011 02:56:19 +0000 (UTC) (envelope-from rjhjr0@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id CF5118FC16 for ; Tue, 26 Apr 2011 02:56:18 +0000 (UTC) Received: by yie12 with SMTP id 12so121116yie.13 for ; Mon, 25 Apr 2011 19:56:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=LDsjlkItNOCA1277WWhF96Nen9GeSjBq07ow7lXxa8c=; b=GWtWW1FT8JrL+cD8Vjl7gzQCNMI4UrtzKr8svo/DO3kKKWMQwoVBQS8TJ+yLgFDuPB 4yaY3PiMCDFPlTV3y8IFmEJT4SB+GC9o5QG+d/MwUchhVBM5rP7dknz48R3xhPbFuBfj BcM3gYF0bHhddtha36PdtjYCgZZbS1fTNw53Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; b=pw2FivzNCN5H6KpTvC1q8fnEWfsxR7fkqjtZ0H8gzHwz9DEPYZQXwmryW79lGBkUOu kCyTmqBkkwg7cPd1Z+EMZA2+ZwU+C5NMZmBudmX1Tgev65UTKmlAX93Y6G7OSJhpJsym CihTvfhraX71PZeuFSUINFb1151P6p/KWiVMs= Received: by 10.236.77.65 with SMTP id c41mr231165yhe.10.1303786578007; Mon, 25 Apr 2011 19:56:18 -0700 (PDT) Received: from localhost (ip98-163-115-74.dc.dc.cox.net [98.163.115.74]) by mx.google.com with ESMTPS id p29sm2528444yhm.61.2011.04.25.19.56.16 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Apr 2011 19:56:16 -0700 (PDT) Date: Mon, 25 Apr 2011 22:56:14 -0400 From: Bob Hall To: RW Message-ID: <20110426025614.GA62745@stainmore> Mail-Followup-To: Bob Hall , RW , freebsd-questions@freebsd.org References: <20110425151846.0a5359fd@gumby.homeunix.com> <20110425151536.GA61425@stainmore> <20110425175420.GA61811@stainmore> <20110425232908.4104e026@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110425232908.4104e026@gumby.homeunix.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 02:56:19 -0000 On Mon, Apr 25, 2011 at 11:29:08PM +0100, RW wrote: > On Mon, 25 Apr 2011 13:54:20 -0400 > Bob Hall wrote: > > > On Mon, Apr 25, 2011 at 05:46:33PM +0200, C. P. Ghost wrote: > > > On Mon, Apr 25, 2011 at 5:15 PM, Bob Hall wrote: > > > > On Mon, Apr 25, 2011 at 03:18:46PM +0100, RW wrote: > > > >> I don't believe the heap is allocated zeroed pages.  The kernel > > > >> does allocate such pages to the BSS segment, but that's because > > > >> it holds zeroed data such as C static variables. > > > > > > > > According to McKusick and Neville-Neil's book on FreeBSD, sbrk > > > > extends the uninitialized data segment with zero-filled pages. > > > > Since malloc() is an interface to sbrk, it does the same thing. > > > > > > True, except that malloc(3) now uses both sbrk(2) and mmap(2) > > > allocators, depending on the user-settable flags > > > in /etc/malloc.conf, MALLOC_OPTIONS and the global variable > > > _malloc_options. So you have to look into mmap(2) too. > > > > Good point. From the man page: > > "Any such extension beyond the end of the mapped object will be > > zero-filled." > > and > > "A successful mmap deletes any previous mapping in the allocated > > address range." > > > The above quote refers to zeroing the fraction of a page that's left > over when "len" isn't a multiple of the page size. The above quote states that the memory not occupied by the remapped object is zero filled. Which is to say that memory allocated by mmap() is either filled with new data or filled with zeros. > However, there's a > comment in malloc.c about mmap'ed regions being zeroed, so I guess they > are, but it doesn't seem to be mentioned at all in mmap(2). It is mentioned, in the first sentence I quoted. > The reason I thought that heap memory isn't zeroed is from the > discussion of pre-zeroed pages in this article: > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vm-design/prefault-optimizations.html > > It reads as if the BSS region is the only significant user of zeroed > pages. It appears to me to say that any virtual pages allocated to a process are pre-zeroed, which would include the BSS segment. From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 04:02:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 315E3106566B for ; Tue, 26 Apr 2011 04:02:57 +0000 (UTC) (envelope-from fred@blakemfg.com) Received: from web55.getnet.net (web55.getnet.net [216.19.223.55]) by mx1.freebsd.org (Postfix) with ESMTP id 010DB8FC08 for ; Tue, 26 Apr 2011 04:02:56 +0000 (UTC) Received: (qmail 794 invoked from network); 25 Apr 2011 20:05:15 -0700 Received: from 216-19-219-132.getnet.net (HELO ragnok.blakemfg.com) (216.19.219.132) by web55.getnet.net with SMTP; 25 Apr 2011 20:05:15 -0700 Message-ID: <4DB6970B.7020604@blakemfg.com> Date: Tue, 26 Apr 2011 02:57:31 -0700 From: Fred User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20110131 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4DB5CEF9.3070202@blakemfg.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: problem updating ports (latex-cjk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 04:02:57 -0000 Hi Fred, The make clean went ok. The make patch: ===> Vulnerability check disabled, database not found ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for latex-cjk-4.8.2_4 ===> Extracting for latex-cjk-4.8.2_4 => SHA256 Checksum OK for cjk-4.8.2.tar.gz. ===> Patching for latex-cjk-4.8.2_4 ===> Applying FreeBSD patches for latex-cjk-4.8.2_4 # be compatible with Debian find: /usr/ports/print/latex-cjk/work/ccmap: No such file or directory *** Error code 1 Stop in /usr/ports/print/latex-cjk. *** Error code 1 Stop in /usr/ports/print/latex-cjk. In ~/latex-cjk/work is directory cjk-4.8.2 and file .extract_done.latex-cjk._user_local There is no ccmap directory in cjk-4.8.2 but the files look they are ready to be compiled. There is a Makefile. I just tried moving to that directory and running make install and clean. This was not successful either and I forgot to run script to capture the output. I ran make clean so I could start over and this failed with the following: ragnok# make clean make -C utils clean make -C Bg5conv clean bg5conv bg5conv:No such file or directory *** Error code 1 I think I may have a mess now and have no more time to work on it tonight. I will try again tomorrow. Best regards, Fred On 04/25/11 07:29, Frédéric Perrin wrote: > Hello Fred, > > Fred writes: >> I ran into a problem when updating ports on 8.1-RELEASE (i386). >> ~/print/latex-cjk doesn't want to build. >> >> ===> Patching for latex-cjk-4.8.2_4 >> ===> Applying FreeBSD patches for latex-cjk-4.8.2_4 >> Ignoring previously applied (or reversed) patch. >> 1 out of 1 hunks ignored--saving rejects to texinput/Bg5/c00bsmi.fd.rej >> => Patch patch-texinput-Bg5-c00bsmi.fd failed to apply cleanly. > Are you sure the work area is clean? Run `make clean', then `make patch' > again. > From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 05:26:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFA551065673 for ; Tue, 26 Apr 2011 05:26:53 +0000 (UTC) (envelope-from fortin@acm.org) Received: from hub.zap.qc.ca (hub.zap.qc.ca [200.46.208.47]) by mx1.freebsd.org (Postfix) with ESMTP id 8630A8FC19 for ; Tue, 26 Apr 2011 05:26:53 +0000 (UTC) Received: from [192.168.1.19] (APuteaux-554-1-91-229.w92-154.abo.wanadoo.fr [92.154.66.229]) by hub.zap.qc.ca (Postfix) with ESMTPSA id 5A146131436 for ; Tue, 26 Apr 2011 05:08:23 +0000 (UTC) From: Denis Fortin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 26 Apr 2011 07:08:21 +0200 Message-Id: <84D40BB2-4BC9-4B6A-9388-5C57D5815B17@acm.org> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Subject: disk problem: suggestion on how to handle... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 05:26:53 -0000 Good morning, I have a small server with an SSD drive in it that is having some = problems. Notably, dmesg has been repeatedly reporting the following error = message: g_vfs_done():ad0s1a[READ(offset=3D-574217714356717568, = length=3D16384)]error =3D 5 I realize that the best course of action is to replace the disk and = restore from a backup, but this isn't really an option immediately. So, is there a way to "mark the inode bad" and then launch an fsck ? = How can I turn "offset=3D-574217714356717568" into a usable piece of = information? Any suggestion welcome. Denis, fortin@acm.org= From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 06:07:12 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84B7E106566C for ; Tue, 26 Apr 2011 06:07:12 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 3DD1F8FC13 for ; Tue, 26 Apr 2011 06:07:12 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 8AB7F37; Tue, 26 Apr 2011 08:07:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LfS8iLUQB-F4; Tue, 26 Apr 2011 08:07:05 +0200 (CEST) Received: from snifi.localnet (87-205-87-136.adsl.inetia.pl [87.205.87.136]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 4C4B228; Tue, 26 Apr 2011 08:07:05 +0200 (CEST) From: Maciej Milewski To: Ryan Coleman Date: Tue, 26 Apr 2011 08:07:32 +0200 User-Agent: KMail/1.13.6 (Linux/2.6.38-ARCH; KDE/4.6.2; x86_64; ; ) References: <6073BC9F-553D-41E2-AE42-341B61850EA7@cwis.biz> <5677ADC4-3BE8-46C0-8C19-C893276B79FE@d3photography.com> In-Reply-To: <5677ADC4-3BE8-46C0-8C19-C893276B79FE@d3photography.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201104260807.32541.milu@dat.pl> Cc: freebsd-questions@freebsd.org Subject: Re: OpenVPN routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 06:07:12 -0000 On Tuesday 26 of April 2011 04:38:29, Ryan Coleman wrote: > Also: > [root@nbserver1 /usr/home/ryanc]# ifconfig > em0: flags=3D8943 metric 0 > mtu 1500 options=3D98 > ether 00:14:22:15:dc:65 > inet 192.168.46.2 netmask 0xffffff00 broadcast 192.168.46.255 > media: Ethernet autoselect (1000baseT ) > status: active > tap0: flags=3D8943 metric= 0 > mtu 1500 options=3D80000 > ether 00:bd:7e:86:1d:00 > inet 192.168.47.1 netmask 0xffffff00 broadcast 192.168.47.255 > Opened by PID 10341 > bridge0: flags=3D8843 metric 0 mtu > 1500 ether 46:e1:75:c6:a3:a7 > inet 192.168.47.254 netmask 0xffffff00 broadcast 192.168.47.255 > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > member: tap0 flags=3D143 > ifmaxaddr 0 port 5 priority 128 path cost 2000000 > member: em0 flags=3D143 > ifmaxaddr 0 port 1 priority 128 path cost 20000 >=20 > On Apr 25, 2011, at 9:36 PM, Ryan Coleman wrote: > > I've got an OpenVPN connection working to my remote server, but I want = to > > route the traffic to the local LAN. > >=20 > > I have a bridge set up, pingable... but can't ping the em1 (192.168.46.= 2) > > from the remote machine. > >=20 > > Server.conf: =2E.. > > server 192.168.47.0 255.255.255.0 =46rom the man openvpn(8): Don't use --server if you are ethernet bridging. Use --serv= er- bridge instead. And additionally bridging means that you have to divide your local=20 subnet(192.168.46.0/24) into two parts. Please have a look for the example = at=20 [1]. You may even not need bridging if you want to use two subnets of /24. Have = you=20 tried with standard setup(server) and configuring your default gateway(I=20 suspect 192.168.46.1) with the routing information about openvpn subnet=20 192.168.47.0/24? [1] http://openvpn.net/index.php/open-source/documentation/miscellaneous/76- ethernet-bridging.html Maciej Milewski From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 07:24:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67E791065677 for ; Tue, 26 Apr 2011 07:24:11 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (paka.cyberleo.net [66.219.31.21]) by mx1.freebsd.org (Postfix) with ESMTP id 384118FC22 for ; Tue, 26 Apr 2011 07:24:11 +0000 (UTC) Received: from [172.16.44.4] (den.cyberleo.net [66.253.36.39]) by paka.cyberleo.net (Postfix) with ESMTPSA id EC7072841D; Tue, 26 Apr 2011 03:24:09 -0400 (EDT) Message-ID: <4DB67318.1070204@cyberleo.net> Date: Tue, 26 Apr 2011 02:24:08 -0500 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110416 Lightning/1.0b3pre Thunderbird/3.1.9 MIME-Version: 1.0 To: Peter Toth References: <4DB60D60.3010104@snap.net.nz> In-Reply-To: <4DB60D60.3010104@snap.net.nz> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: CyberLeo , freebsd-questions@freebsd.org Subject: Re: ZFS and zfsloader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 07:24:11 -0000 On 04/25/2011 07:10 PM, Peter Toth wrote: > Hi there, > > I've recently migrated my old laptop to a new one (both running R8.2 + > ZFS). Used zfs send/recv and corrected mountpoints. > On the old laptop I had my / sitting in zpool, on the new one I've > created a separate zpool/root for /. > Everything is working OK except one strangeness - the boot loader still > reads the kernel out of zpool/boot instead of zpool/root/boot. > > I've reinstalled the boot code and the loader but this did not help. > > Anyone has an idea how to fix this? zpool set bootfs=zpool/root zpool The bootfs property on the zpool tells zfsboot which dataset contains the next boot stage (/boot.config or /boot/loader). -- 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 Tue Apr 26 07:30:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BC92106564A for ; Tue, 26 Apr 2011 07:30:56 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 201D38FC08 for ; Tue, 26 Apr 2011 07:30:56 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 7A1B2E61CC; Tue, 26 Apr 2011 08:30:54 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=YdpYXj1im/gb VefpJupgrH2HaBQ=; b=wShuHYrnvKdQ30QVvcATLXXU/HXC9Hz3tDC8sMW+lGse x5ZqnhRBmkpRSN2DisED4nDf/RJLDp+3PnwPn1EZxTRY+U2gfjSIgXBnrVnx7rH8 WOZzCKPr0H03AtsQvHp+tDOiWum/Z8TwAWa14Pox1Mw4aGAj55GaVV2wYDx6H3E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=pGjwLq Ywv37xL16DDJ+mQ7q2kpfSi1tk1Au8v0W0UEX+QuqxpYgwdycABGNbgyISi6vmL8 nyoA2taHGKuuy+tAyj8u8flxtIlIeQRN5MtTUvh3NROUD4c3jBDovmprMNyBw9/b K44DN2IkdE21kgFpaJyj/9cnHofSoWnuhJaOQ= Received: from unknown (188-222-18-231.zone13.bethere.co.uk [188.222.18.231]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 2B151E61AE; Tue, 26 Apr 2011 08:30:54 +0100 (BST) Date: Tue, 26 Apr 2011 08:30:52 +0100 From: Bruce Cran To: Denis Fortin Message-ID: <20110426083052.00004db6@unknown> In-Reply-To: <84D40BB2-4BC9-4B6A-9388-5C57D5815B17@acm.org> References: <84D40BB2-4BC9-4B6A-9388-5C57D5815B17@acm.org> X-Mailer: Claws Mail 3.7.8cvs47 (GTK+ 2.16.6; 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: disk problem: suggestion on how to handle... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 07:30:56 -0000 On Tue, 26 Apr 2011 07:08:21 +0200 Denis Fortin wrote: > So, is there a way to "mark the inode bad" and then launch an fsck ? > How can I turn "offset=-574217714356717568" into a usable piece of > information? It looks like something is causing geom to try and read way past the end of the disk? -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 07:52:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44AA1106564A for ; Tue, 26 Apr 2011 07:52:19 +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 047758FC08 for ; Tue, 26 Apr 2011 07:52:18 +0000 (UTC) Received: from r55.edvax.de (port-92-195-63-56.dynamic.qsc.de [92.195.63.56]) by mx02.qsc.de (Postfix) with ESMTP id 4D4B91DD55; Tue, 26 Apr 2011 09:52:16 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p3Q7qGHh001561; Tue, 26 Apr 2011 09:52:16 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 26 Apr 2011 09:52:16 +0200 From: Polytropon To: Antonio Olivares Message-Id: <20110426095216.c9f1aa13.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: easy Firewall setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 07:52:19 -0000 On Mon, 25 Apr 2011 21:34:41 -0500, Antonio Olivares wrote: > Thanks for sharing this. I have a base FreeBSD 8.2 system on one > machine and I would like to setup a firewall that allows me to visit > websites and not allow incoming traffic. Something easy to set up and > start like > /etc/local/rc.d/rc.pf start > or similar. A nice example which I can change somethings like name of > network device, i.e, nv0, or similar device. > > I will try further reading and try to set something up as I am afraid > to screw things up. You can easily do this with IPFW (from the base system) Step 1: Create a file /etc/ipfw.conf which will contain your firewall rules. Depending on what you need, try out something like this: -f flush add allow ip from any to any add allow tcp from any to any ftp in recv xl0 add allow tcp from any to any ssh in recv xl0 add deny ip from any to any Of course you'll have to replace xl0 with the correct device name; "ifconfig -a" will surely tell you. Please see that this is just an excerpt of an example. In this case, FTP and SSH should be allowed for incoming, everything else will be denied. If you do not want to use FTP - nobody seriously wants that :-) - do not enable it. The reference for SSH also goes to the default port, maybe you want to choose a different one. Step 2: Edit /etc/rc.conf to contain the following lines: firewall_enable="YES" firewall_type="/etc/ipfw.conf" Step 3: Start (or restart) the firewall: # /etc/rc.d/ipfw start See the information contained in "man ipfw"; it's "strong tobacco", but it provides very good knowledge about how to properly configure the firewall, containing examples that you can use for form your own rules, like "allow anything from inside to outside, but deny any requests coming from outside". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 08:00:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99A84106566B for ; Tue, 26 Apr 2011 08:00:40 +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 5B3FF8FC1C for ; Tue, 26 Apr 2011 08:00:40 +0000 (UTC) Received: from r55.edvax.de (port-92-195-63-56.dynamic.qsc.de [92.195.63.56]) by mx02.qsc.de (Postfix) with ESMTP id 75D4521996; Tue, 26 Apr 2011 10:00:39 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p3Q80cCY001655; Tue, 26 Apr 2011 10:00:39 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 26 Apr 2011 10:00:38 +0200 From: Polytropon To: Denis Fortin Message-Id: <20110426100038.19df9d90.freebsd@edvax.de> In-Reply-To: <84D40BB2-4BC9-4B6A-9388-5C57D5815B17@acm.org> References: <84D40BB2-4BC9-4B6A-9388-5C57D5815B17@acm.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: disk problem: suggestion on how to handle... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 08:00:40 -0000 On Tue, 26 Apr 2011 07:08:21 +0200, Denis Fortin wrote: > Good morning, > > I have a small server with an SSD drive in it that is having some problems. > > Notably, dmesg has been repeatedly reporting the following error message: > > g_vfs_done():ad0s1a[READ(offset=-574217714356717568, length=16384)]error = 5 > > I realize that the best course of action is to replace the > disk and restore from a backup, but this isn't really an > option immediately. You should replace it on the long run. :-) > So, is there a way to "mark the inode bad" and then launch an > fsck ? How can I turn "offset=-574217714356717568" into a > usable piece of information? You can use the tool "badsect" (from the base system) to mark a sector as bad, as inodes are "dynamically allocated" and do not "hard-wiredly" correspond to actual disk locations per se. A tool for clearing inode information is "clri" which should be used on unmounted partitions whenever possible. Files like /usr/src/sys/bio.h and /usr/src/sys/geom/geom_vfs.c give some hints about what the numbers are refering to. Sadly I'm not a system programmer, so I can't be more specific. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 08:10:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE483106566B for ; Tue, 26 Apr 2011 08:10:49 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (paka.cyberleo.net [66.219.31.21]) by mx1.freebsd.org (Postfix) with ESMTP id 86CA28FC16 for ; Tue, 26 Apr 2011 08:10:49 +0000 (UTC) Received: from [172.16.44.4] (den.cyberleo.net [66.253.36.39]) by paka.cyberleo.net (Postfix) with ESMTPSA id B3C6E296BB; Tue, 26 Apr 2011 04:10:48 -0400 (EDT) Message-ID: <4DB67E08.4060604@cyberleo.net> Date: Tue, 26 Apr 2011 03:10:48 -0500 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110416 Lightning/1.0b3pre Thunderbird/3.1.9 MIME-Version: 1.0 To: Helmut Schneider References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Cc: CyberLeo , freebsd-questions@freebsd.org Subject: Re: gpart questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 08:10:49 -0000 On 04/24/2011 12:24 PM, Helmut Schneider wrote: > Hi, > > i'm playing around with (virtual) disks within a VMware ESXi 4.1 server: > ... > So, what did sysinstall that gpart didn't? You forgot to gpart create the inner BSD label on da1s1. ----8<---- # mdconfig -a -t swap -s 512M md0 # gpart show md0 gpart: No such geom: md0. # gpart create -s mbr md0 md0 created # gpart show md0 => 9 1048563 md0 MBR (512M) 9 1048563 - free - (512M) # gpart add -b 63 -s 1048500 -t freebsd md0 md0s1 added # gpart show md0 => 9 1048563 md0 MBR (512M) 9 54 - free - (27K) 63 1048500 1 freebsd (512M) 1048563 9 - free - (4.5K) # gpart show md0s1 gpart: No such geom: md0s1. # gpart create -s bsd md0s1 md0s1 created # gpart show md0s1 => 0 1048500 md0s1 BSD (512M) 0 1048500 - free - (512M) # gpart add -b 16 -s 1048484 -t freebsd-ufs md0s1 md0s1a added # gpart show md0s1 => 0 1048500 md0s1 BSD (512M) 0 16 - free - (8.0K) 16 1048484 1 freebsd-ufs (512M) # ls -la /dev/md0* crw-r----- 1 root operator 0, 153 Apr 26 02:57 /dev/md0 crw-r----- 1 root operator 0, 157 Apr 26 02:58 /dev/md0s1 crw-r----- 1 root operator 0, 159 Apr 26 03:03 /dev/md0s1a ----8<---- -- 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 Tue Apr 26 09:17:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B3E8106566C for ; Tue, 26 Apr 2011 09:17:28 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 7A3A58FC1C for ; Tue, 26 Apr 2011 09:17:27 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 6E33DE61CC; Tue, 26 Apr 2011 10:17:26 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=Z7Xl/oJbom9t 4LuM0MgL5kjMulc=; b=yeSGvhRalQ2cw4QHPwczX7Pf1ld6+4HmHi+lpGf0Z9JZ 569ICVa9Ai+O9IBNXiDapvyT36Ar9HYxIKa3Gq//8pmhqzQFxvkLCnMPsMfFy2hc mrqF+NMOkNaIGLjziep4ejO8NAUeJuC8Tl7z6Gqdd0HQNukTvYlLUnx0yJlntFA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=AGCsEo RiXKXol5Vim+EQIcDTR8eqqd7jk+Z+cJvHhTdiBq1DheiaLPa3d4p12H/oyon+4C OK1cXguSgg6u/yBM9PhyVbgtTIPcLbP1sdktJt42106/GuqzJpGRYGuJJzgDyK9f JLTk08p/vk+5O5dkviaX0455BvrJBgjuOI2pY= Received: from unknown (188-222-18-231.zone13.bethere.co.uk [188.222.18.231]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 24CDCE61C9; Tue, 26 Apr 2011 10:17:26 +0100 (BST) Date: Tue, 26 Apr 2011 10:17:24 +0100 From: Bruce Cran To: CyberLeo Kitsana Message-ID: <20110426101724.000054ba@unknown> In-Reply-To: <4DB67E08.4060604@cyberleo.net> References: <4DB67E08.4060604@cyberleo.net> X-Mailer: Claws Mail 3.7.8cvs47 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Helmut Schneider , freebsd-questions@freebsd.org Subject: Re: gpart questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 09:17:28 -0000 On Tue, 26 Apr 2011 03:10:48 -0500 CyberLeo Kitsana wrote: > # gpart add -b 63 -s 1048500 -t freebsd md0 You could simplify it by using: gpart add -b 63 -t freebsd md0 > # gpart add -b 16 -s 1048484 -t freebsd-ufs md0s1 Likewise: gpart add -b 16 -t freebsd-ufs md0s1 Or, if you want to specify a size, you can use "-s 512m" -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 09:23:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEE5B106566B for ; Tue, 26 Apr 2011 09:23:45 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3D3128FC0A for ; Tue, 26 Apr 2011 09:23:44 +0000 (UTC) Received: by wyf23 with SMTP id 23so352024wyf.13 for ; Tue, 26 Apr 2011 02:23:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=iYOhEb/L8W1I+fvkGUNFKC2iG/w47sA4bQXxVO2MFGc=; b=VU51vmvtieLKaeirW7p3O9TZPYOEvgVvJ0fNxXbYJQH317tbx4tdsjifew2sD7MWpO wAMo6YufznBvh0EthoUsV72KTeuVNKWDT9zhHfWTfT91Kwq7Y3ZwJ808ur2CZvOXK7xX B8pr8qP/XyTrdHMaO2dXL534X12QoKJeL7mio= 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=D03Sfb7jhPXr5njIbrB0zj7d9hiailA3x5iu/hZXkliLf4OFxs7rwDz2kcdw4qPquM EpUN+uPo8TC9KyO59ZOM9FYh9tObyNJE8I+yDQ/eeaoCwEHUm96BYl+4L9Gbzqee8Myy jgiEkvDplAdwHB18Ljo16lseXU+lWRcn5oI4Y= MIME-Version: 1.0 Received: by 10.216.191.208 with SMTP id g58mr486208wen.85.1303809823792; Tue, 26 Apr 2011 02:23:43 -0700 (PDT) Received: by 10.216.15.73 with HTTP; Tue, 26 Apr 2011 02:23:43 -0700 (PDT) In-Reply-To: <20110426095216.c9f1aa13.freebsd@edvax.de> References: <20110426095216.c9f1aa13.freebsd@edvax.de> Date: Tue, 26 Apr 2011 10:23:43 +0100 Message-ID: From: krad To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions , Antonio Olivares Subject: Re: easy Firewall setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 09:23:45 -0000 On 26 April 2011 08:52, Polytropon wrote: > On Mon, 25 Apr 2011 21:34:41 -0500, Antonio Olivares < > olivares14031@gmail.com> wrote: > > Thanks for sharing this. I have a base FreeBSD 8.2 system on one > > machine and I would like to setup a firewall that allows me to visit > > websites and not allow incoming traffic. Something easy to set up and > > start like > > /etc/local/rc.d/rc.pf start > > or similar. A nice example which I can change somethings like name of > > network device, i.e, nv0, or similar device. > > > > I will try further reading and try to set something up as I am afraid > > to screw things up. > > You can easily do this with IPFW (from the base system) > > Step 1: Create a file /etc/ipfw.conf which will contain > your firewall rules. Depending on what you need, try out > something like this: > > -f flush > add allow ip from any to any > add allow tcp from any to any ftp in recv xl0 > add allow tcp from any to any ssh in recv xl0 > add deny ip from any to any > > Of course you'll have to replace xl0 with the correct > device name; "ifconfig -a" will surely tell you. > > Please see that this is just an excerpt of an example. > In this case, FTP and SSH should be allowed for incoming, > everything else will be denied. If you do not want to use > FTP - nobody seriously wants that :-) - do not enable it. > The reference for SSH also goes to the default port, maybe > you want to choose a different one. > > Step 2: Edit /etc/rc.conf to contain the following lines: > > firewall_enable="YES" > firewall_type="/etc/ipfw.conf" > > Step 3: Start (or restart) the firewall: > > # /etc/rc.d/ipfw start > > See the information contained in "man ipfw"; it's "strong > tobacco", but it provides very good knowledge about how to > properly configure the firewall, containing examples that > you can use for form your own rules, like "allow anything > from inside to outside, but deny any requests coming from > outside". > > > > > -- > 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" > If you are new to firewalls and dont want to use something like pfsense, i would stay away from ipfw (wait for flames 8) ) . This is not for any technical reason as it is a perfectly good and well featured firewall. It is however in my experience from a few years ago a little trickier to get the rule orderings correct when you are natting things. Therefore I would advise you use pf. Here is a simple starter ruleset to get you going. Is provides no external access but you can easily uncomment the bits to allow things through. Just drop it into /etc/pf.conf and run echo -en "pf_enable=yes\npflog_enable=yes" >> /etc/rc.conf.local /etc/rc.d/pf start /etc/rc.d/pflog start ruleset ---------------------- ext_if=xl0 int_if=xl1 #table const { 1.1.1.1, 2.2.2.2 } table const { 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 } # Options: tune the behavior of pf, default values are given. set timeout { interval 10, frag 30 } set timeout { tcp.first 120, tcp.opening 30, tcp.established 86400 } set timeout { tcp.closing 900, tcp.finwait 45, tcp.closed 90 } set timeout { udp.first 60, udp.single 30, udp.multiple 60 } set timeout { icmp.first 20, icmp.error 10 } set timeout { other.first 60, other.single 30, other.multiple 60 } set timeout { adaptive.start 800000, adaptive.end 1200000 } set limit { states 1000000, frags 50000, src-nodes 300000 } #set loginterface none set optimization normal set block-policy drop set state-policy if-bound set skip on lo0 #set skip on $vpn_ints set require-order yes set fingerprints "/etc/pf.os" set skip on lo0 set skip on $int_if # Normalization: reassemble fragments and resolve or reduce traffic ambiguities. scrub all random-id fragment reassemble nat on $ext_if from to any -> ($ext_if) # dump everything by default block log on $ext_if all # uncomment this to allow ssh through # let ssh work and let those ppl ping me #block in on $ext_if proto tcp from any to any port ssh #pass in quick on $ext_if proto tcp from to any port ssh keep state #pass in quick on $ext_if inet proto icmp from to any icmp-type echoreq keep state #pass out quick on $ext_if proto tcp from any to any port ssh keep state pass out on $ext_if from any to any keep state ------------------- ps i have ripped this out of my existing rule set so its possible typos have crept in From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 09:42:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38C47106564A for ; Tue, 26 Apr 2011 09:42:00 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id BA7B38FC0A for ; Tue, 26 Apr 2011 09:41:59 +0000 (UTC) Received: by wwc33 with SMTP id 33so386102wwc.31 for ; Tue, 26 Apr 2011 02:41:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=9taMHA4YF/WZnAsWAavWlP6fiGaDGb+GGvZ1/i/xJlY=; b=k7U9Vs4DChh+No4ZJCue5+F5wY7VCtCBeZUPDEFzhK9NhonyNG9uG3MeSQ0STCB+p3 Xq3RE9+5O2mtEP7HL+dt+TJoBstZ0LmXguMxQY7cJrmE4evaMw+HYkvASRYCrGS3LMYn XCWI+LgpwnFCJGWFOr0GTyiW/M0He62KAz7wI= 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=nd5GfAgH980DOlqOLHCwcY21JymrDzmE5uZ01iYqG2T21LhFYrjUcw+cUTX9g2TiCL nu3geceNOFm7cjvc1ksgCKp+eJhezheZ2ML7IOAM4KCn0c/3OmlVHeb4B1E7gRvnu1R7 jgjHOOBVJYdgIqV3rgdn/jTiegH/Ti2OK7SUc= Received: by 10.216.234.166 with SMTP id s38mr513514weq.83.1303810917394; Tue, 26 Apr 2011 02:41:57 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id r57sm2915119wes.1.2011.04.26.02.41.53 (version=SSLv3 cipher=OTHER); Tue, 26 Apr 2011 02:41:56 -0700 (PDT) Date: Tue, 26 Apr 2011 10:41:51 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110426104151.596bcc19@gumby.homeunix.com> In-Reply-To: <20110426025614.GA62745@stainmore> References: <20110425151846.0a5359fd@gumby.homeunix.com> <20110425151536.GA61425@stainmore> <20110425175420.GA61811@stainmore> <20110425232908.4104e026@gumby.homeunix.com> <20110426025614.GA62745@stainmore> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 09:42:00 -0000 On Mon, 25 Apr 2011 22:56:14 -0400 Bob Hall wrote: > On Mon, Apr 25, 2011 at 11:29:08PM +0100, RW wrote: > > On Mon, 25 Apr 2011 13:54:20 -0400 > > Bob Hall wrote: > >=20 > > > On Mon, Apr 25, 2011 at 05:46:33PM +0200, C. P. Ghost wrote: > > > > On Mon, Apr 25, 2011 at 5:15 PM, Bob Hall > > > > wrote: > > > > > On Mon, Apr 25, 2011 at 03:18:46PM +0100, RW wrote: > > > > >> I don't believe the heap is allocated zeroed pages. =A0The > > > > >> kernel does allocate such pages to the BSS segment, but > > > > >> that's because it holds zeroed data such as C static > > > > >> variables. > > > > > > > > > > According to McKusick and Neville-Neil's book on FreeBSD, sbrk > > > > > extends the uninitialized data segment with zero-filled pages. > > > > > Since malloc() is an interface to sbrk, it does the same > > > > > thing. > > > >=20 > > > > True, except that malloc(3) now uses both sbrk(2) and mmap(2) > > > > allocators, depending on the user-settable flags > > > > in /etc/malloc.conf, MALLOC_OPTIONS and the global variable > > > > _malloc_options. So you have to look into mmap(2) too. > > >=20 > > > Good point. From the man page: > > > "Any such extension beyond the end of the mapped object will be > > > zero-filled."=20 > > > and > > > "A successful mmap deletes any previous mapping in the allocated > > > address range." > >=20 > >=20 > > The above quote refers to zeroing the fraction of a page that's left > > over when "len" isn't a multiple of the page size. >=20 > The above quote states that the memory not occupied by the remapped > object is zero filled. Which is to say that memory allocated by mmap() > is either filled with new data or filled with zeros. In context it says:=20 "If len is not a multiple of the page-size, the mapped region may extend past the specified range. Any such extension beyond the end of the mapped object will be zero-filled." To me the most straightforward reading of that is that it's referring to non-aligned address ranges.=20 Your interpretation may well be the intended one, but where would that leave the anonymous mappings used by malloc? Are we to think of them as extensions beyond a non-existent mapped object, and thus infer that they are zero-filled? It's a bit of a stretch from what's written. > > The reason I thought that heap memory isn't zeroed is from the > > discussion of pre-zeroed pages in this article:=20 > >=20 > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vm-design/prefault-= optimizations.html > >=20 > > It reads as if the BSS region is the only significant user of zeroed > > pages. >=20 > It appears to me to say that any virtual pages allocated to a process > are pre-zeroed, which would include the BSS segment. It says:=20 "A large percentage of page faults that occur are zero-fill faults. You can usually see this by observing the vmstat -s output. These occur when a process accesses pages in its BSS area. " From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 09:48:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80B891065679 for ; Tue, 26 Apr 2011 09:48:57 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 2388B8FC12 for ; Tue, 26 Apr 2011 09:48:57 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id E1C0BE61CC; Tue, 26 Apr 2011 10:48:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=iyclz76nCjaS bO8fLC7laYClnUg=; b=wIULovJA2zt9oENCyBqPDld9S5/ocQBQBIN5ex0gY14o cEXd9IgWoHqlZTWL7rkzvo9HTReWu0rXRnhYS47qifys4Oy3uyAsE8LmdVJwLdm6 cDFYsdpEjQzxktQasWgCeME7m5/80gkNay4IQTVGNmTsDWZmip1Cal8RQGx67+s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=btkLBt PepraT6A+b9ILAjG3ozRVt+ziJ1NDW2VcneJoMPOdm8eb5mrAy4lb/1vaYeVy5yE UawGwXpNVoAeYxWDhulPQ73m4uoQT2MDjyIB0YP7vKcK7vd/1j9z9Bx2BaPdNwUW 9PJ8Vy/zXDWuimJga7/uqs+5cryycdc9ug5do= Received: from unknown (188-222-18-231.zone13.bethere.co.uk [188.222.18.231]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id BA3B4E61C9; Tue, 26 Apr 2011 10:48:55 +0100 (BST) Date: Tue, 26 Apr 2011 10:48:53 +0100 From: Bruce Cran To: RW Message-ID: <20110426104853.00005460@unknown> In-Reply-To: <20110425232908.4104e026@gumby.homeunix.com> References: <20110425151846.0a5359fd@gumby.homeunix.com> <20110425151536.GA61425@stainmore> <20110425175420.GA61811@stainmore> <20110425232908.4104e026@gumby.homeunix.com> X-Mailer: Claws Mail 3.7.8cvs47 (GTK+ 2.16.6; 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: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 09:48:57 -0000 On Mon, 25 Apr 2011 23:29:08 +0100 RW wrote: > The reason I thought that heap memory isn't zeroed is from the > discussion of pre-zeroed pages in this article: There's an idlezero task that runs by default (via the vm.idlezero_enable sysctl), zeroing unused pages, but malloc itself doesn't zero memory on demand by default. If you enable the 'Z' malloc.conf(3) option it does, though: Z Each byte of new memory allocated by malloc(), realloc() or reallocf() will be initialized to 0. Note that this initializa- tion only happens once for each byte, so realloc() and reallocf() calls do not zero memory that was previously allocated. This is intended for debugging and will impact performance negatively. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 10:36:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C66E1065672 for ; Tue, 26 Apr 2011 10:36:40 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id D0FB08FC08 for ; Tue, 26 Apr 2011 10:36:39 +0000 (UTC) Received: by wwc33 with SMTP id 33so430631wwc.31 for ; Tue, 26 Apr 2011 03:36:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=ETvCiSfypVQ/YaR0MT7J2S80Odwn5vobzjkx3q/33xw=; b=p9LPPQMsQYmdOB7G8jNdX5JH/KRaiVWC9OTEBwCJ//yv2vpPHrEx4BoSuDSxTZCbEu jAY4w/PRTu9ih6ImICl+DxYZIWZazkc4F71biH2DGMQ911lAcKt4j4vg20zMZ8T92NRK dQh1JL79RormlTGkeTvpXrVjvsI1Lq/mnnl20= 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=Cpt0dF0GcahIb51Z56RcLvL4UvOQERYBVl8AF7brICAX6KJARVbNt+lzsu8+1kWJ+o FP2Zzs8RjIvoJMf6FBPOZB+GfoQoS7hta9fDYkK7Z2Z+YNuYpH2G84JiMkUTpaumTslM xPuijTC9/D5NBDfwoway2n+2eZ47tMpBjLIYE= Received: by 10.216.142.34 with SMTP id h34mr4476526wej.28.1303814198692; Tue, 26 Apr 2011 03:36:38 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id ed10sm3750445wbb.66.2011.04.26.03.36.35 (version=SSLv3 cipher=OTHER); Tue, 26 Apr 2011 03:36:37 -0700 (PDT) Date: Tue, 26 Apr 2011 11:36:31 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110426113631.54dc02a9@gumby.homeunix.com> In-Reply-To: <20110426104853.00005460@unknown> References: <20110425151846.0a5359fd@gumby.homeunix.com> <20110425151536.GA61425@stainmore> <20110425175420.GA61811@stainmore> <20110425232908.4104e026@gumby.homeunix.com> <20110426104853.00005460@unknown> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 10:36:40 -0000 On Tue, 26 Apr 2011 10:48:53 +0100 Bruce Cran wrote: > On Mon, 25 Apr 2011 23:29:08 +0100 > RW wrote: > > > The reason I thought that heap memory isn't zeroed is from the > > discussion of pre-zeroed pages in this article: > > There's an idlezero task that runs by default (via > the vm.idlezero_enable sysctl), zeroing unused pages, That's pretty much what the article is describing. It's actually *off* by default in 8.2 because it causes lock-ups. From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 11:16:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C19C106566B for ; Tue, 26 Apr 2011 11:16:47 +0000 (UTC) (envelope-from freebsd@snap.net.nz) Received: from snapmx1.ironport.snap.net.nz (snapmx1.ironport.snap.net.nz [202.37.100.100]) by mx1.freebsd.org (Postfix) with ESMTP id C00CB8FC08 for ; Tue, 26 Apr 2011 11:16:46 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvEFAG+otk3KfG1m/2dsb2JhbACXBo4/ggTDNIV2BI4/jjU X-IronPort-AV: E=Sophos;i="4.64,267,1301832000"; d="scan'208";a="49633173" Received: from rupert.snap.net.nz ([202.37.100.140]) by smtp1.ironport.snap.net.nz with ESMTP; 26 Apr 2011 23:16:45 +1200 X-Sender-IP: 202.124.109.102 X-Sender-IP: 202.124.109.102 Received: from akllappt.local (102.109.124.202.static.snap.net.nz [202.124.109.102]) by rupert.snap.net.nz (Postfix) with SMTP id D3374201AF; Tue, 26 Apr 2011 23:16:44 +1200 (NZST) Message-ID: <4DB6A99A.4030305@snap.net.nz> Date: Tue, 26 Apr 2011 23:16:42 +1200 From: Peter Toth User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110421 Thunderbird/3.1.9 MIME-Version: 1.0 To: CyberLeo Kitsana References: <4DB60D60.3010104@snap.net.nz> <4DB67318.1070204@cyberleo.net> In-Reply-To: <4DB67318.1070204@cyberleo.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ZFS and zfsloader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 11:16:47 -0000 On 04/26/11 19:24, CyberLeo Kitsana wrote: > On 04/25/2011 07:10 PM, Peter Toth wrote: >> Hi there, >> >> I've recently migrated my old laptop to a new one (both running R8.2 + >> ZFS). Used zfs send/recv and corrected mountpoints. >> On the old laptop I had my / sitting in zpool, on the new one I've >> created a separate zpool/root for /. >> Everything is working OK except one strangeness - the boot loader still >> reads the kernel out of zpool/boot instead of zpool/root/boot. >> >> I've reinstalled the boot code and the loader but this did not help. >> >> Anyone has an idea how to fix this? > zpool set bootfs=zpool/root zpool > > The bootfs property on the zpool tells zfsboot which dataset contains > the next boot stage (/boot.config or /boot/loader). > Worked like a charm! Many thanks! From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 12:25:25 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 889BA106564A; Tue, 26 Apr 2011 12:25:25 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 34CCB8FC19; Tue, 26 Apr 2011 12:25:25 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1QEh5c-0007HS-BT>; Tue, 26 Apr 2011 14:10:00 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1QEh5c-0005EI-86>; Tue, 26 Apr 2011 14:10:00 +0200 Message-ID: <4DB6B618.4090708@zedat.fu-berlin.de> Date: Tue, 26 Apr 2011 14:10:00 +0200 From: "O. Hartmann" Organization: Freie =?ISO-8859-1?Q?Universit=E4t_Berlin?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110307 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG, FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: Subject: error building kernel: nfs_clvfsops.o: In function `nfs_mount':, nfs_clvfsops.c:(.text+0x1638): undefined reference to `nfs_diskless_valid' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 12:25:25 -0000 Since today's source (FreeBSD 9.0-CURRENT/amd64 (source is: Revision: 221060) update I get the follwoing error while building the kernel (options NFSD/options NFSCL instead of options NFSSERVER/options NFSCLIENT): cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=native -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W issing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/s s/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --par m large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-ss 3 -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror vers.c linking kernel nfs_clvfsops.o: In function `nfs_mount': nfs_clvfsops.c:(.text+0x1638): undefined reference to `nfs_diskless_valid' nfs_clvfsops.c:(.text+0x1652): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1658): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1689): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x16d1): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1712): undefined reference to `nfsv3_diskless' nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x171b): more undefined references to `nfsv3_diskless' follow nfs_clvfsops.o: In function `nfs_mount': nfs_clvfsops.c:(.text+0x1e19): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1e2a): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1e31): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1e3d): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1e44): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1e4a): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1e50): undefined reference to `nfs_diskless' nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x1e57): more undefined references to `nfs_diskless' follow nfs_clvfsops.o: In function `nfs_mount': nfs_clvfsops.c:(.text+0x1e65): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1e6b): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1e73): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1e79): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1e80): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1e87): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1e8e): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1e94): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1e9a): undefined reference to `nfs_diskless' nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x1ea0): more undefined references to `nfs_diskless' follow nfs_clvfsops.o: In function `nfs_mount': nfs_clvfsops.c:(.text+0x1eb3): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1ebd): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1ec4): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1ecb): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1ed2): undefined reference to `nfsv3_diskless' nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x1ed9): more undefined references to `nfsv3_diskless' follow nfs_clvfsops.o: In function `nfs_mount': nfs_clvfsops.c:(.text+0x1f18): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1f1e): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1f33): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1f3a): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1f4b): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1f52): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1f5e): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1f6a): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1f71): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1f78): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1f83): undefined reference to `nfs_diskless_valid' nfs_clvfsops.c:(.text+0x1fcc): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x1fd3): undefined reference to `nfs_diskless' nfs_clvfsops.c:(.text+0x1fd9): undefined reference to `nfsv3_diskless' nfs_clvfsops.c:(.text+0x20ae): undefined reference to `nfsv3_diskless' nfs_clvfsops.o:(.data+0x1f8): undefined reference to `nfsv3_diskless' nfs_clvfsops.o:(.data+0x258): undefined reference to `nfsv3_diskless' nfs_clvfsops.o:(.data+0x2b8): undefined reference to `nfs_diskless_valid' *** Error code 1 From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 12:36:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CC32106566B; Tue, 26 Apr 2011 12:36:55 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 16AE28FC0A; Tue, 26 Apr 2011 12:36:54 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEANS7tk2DaFvO/2dsb2JhbACEU6FpiHCpepE5gSmDUH0Ejj+GY4dZ X-IronPort-AV: E=Sophos;i="4.64,268,1301889600"; d="scan'208";a="118648332" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 26 Apr 2011 08:36:54 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 27A98B3F30; Tue, 26 Apr 2011 08:36:54 -0400 (EDT) Date: Tue, 26 Apr 2011 08:36:54 -0400 (EDT) From: Rick Macklem To: "O. Hartmann" Message-ID: <1336655788.563105.1303821414103.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <4DB6B618.4090708@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.203] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE7 (Win)/6.0.10_GA_2692) Cc: FreeBSD Current , freebsd-questions@FreeBSD.ORG Subject: Re: error building kernel: nfs_clvfsops.o: In function `nfs_mount':, nfs_clvfsops.c:(.text+0x1638): undefined reference to `nfs_diskless_valid' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 12:36:55 -0000 > Since today's source (FreeBSD 9.0-CURRENT/amd64 (source is: Revision: > 221060) update I get the follwoing error while building the kernel > (options NFSD/options NFSCL instead of options NFSSERVER/options > NFSCLIENT): > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=native > -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -W issing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys > -I/usr/src/s s/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > -include opt_global.h -fno-common -finline-limit=8000 --param > inline-unit-growth=100 --par m large-function-growth=1000 > -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 > -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-ss 3 -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > -Werror > vers.c > linking kernel > nfs_clvfsops.o: In function `nfs_mount': > nfs_clvfsops.c:(.text+0x1638): undefined reference to > `nfs_diskless_valid' > nfs_clvfsops.c:(.text+0x1652): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1658): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1689): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x16d1): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1712): undefined reference to `nfsv3_diskless' > nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x171b): more undefined > references > to `nfsv3_diskless' follow > nfs_clvfsops.o: In function `nfs_mount': > nfs_clvfsops.c:(.text+0x1e19): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1e2a): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1e31): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1e3d): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1e44): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1e4a): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1e50): undefined reference to `nfs_diskless' > nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x1e57): more undefined > references > to `nfs_diskless' follow > nfs_clvfsops.o: In function `nfs_mount': > nfs_clvfsops.c:(.text+0x1e65): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1e6b): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1e73): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1e79): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1e80): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1e87): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1e8e): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1e94): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1e9a): undefined reference to `nfs_diskless' > nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x1ea0): more undefined > references > to `nfs_diskless' follow > nfs_clvfsops.o: In function `nfs_mount': > nfs_clvfsops.c:(.text+0x1eb3): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1ebd): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1ec4): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1ecb): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1ed2): undefined reference to `nfsv3_diskless' > nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x1ed9): more undefined > references > to `nfsv3_diskless' follow > nfs_clvfsops.o: In function `nfs_mount': > nfs_clvfsops.c:(.text+0x1f18): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1f1e): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1f33): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1f3a): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1f4b): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1f52): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1f5e): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1f6a): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1f71): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1f78): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1f83): undefined reference to > `nfs_diskless_valid' > nfs_clvfsops.c:(.text+0x1fcc): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x1fd3): undefined reference to `nfs_diskless' > nfs_clvfsops.c:(.text+0x1fd9): undefined reference to `nfsv3_diskless' > nfs_clvfsops.c:(.text+0x20ae): undefined reference to `nfsv3_diskless' > nfs_clvfsops.o:(.data+0x1f8): undefined reference to `nfsv3_diskless' > nfs_clvfsops.o:(.data+0x258): undefined reference to `nfsv3_diskless' > nfs_clvfsops.o:(.data+0x2b8): undefined reference to > `nfs_diskless_valid' > *** Error code 1 > Oops, you'll have to add "options NFS_ROOT" to your kernel config until I commit a fix. Thanks for spotting it, rick ps: And a fresh "config KERNEL" followed by a build. I suspect you already did that. From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 13:32:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A0421065670 for ; Tue, 26 Apr 2011 13:32:46 +0000 (UTC) (envelope-from nvidican@m2.vidican.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id D49C68FC1B for ; Tue, 26 Apr 2011 13:32:45 +0000 (UTC) Received: by gxk28 with SMTP id 28so278881gxk.13 for ; Tue, 26 Apr 2011 06:32:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.184.164 with SMTP id s24mr894851yhm.260.1303824764966; Tue, 26 Apr 2011 06:32:44 -0700 (PDT) Sender: nvidican@m2.vidican.com Received: by 10.147.182.3 with HTTP; Tue, 26 Apr 2011 06:32:44 -0700 (PDT) X-Originating-IP: [136.1.1.105] In-Reply-To: <6073BC9F-553D-41E2-AE42-341B61850EA7@cwis.biz> References: <6073BC9F-553D-41E2-AE42-341B61850EA7@cwis.biz> Date: Tue, 26 Apr 2011 09:32:44 -0400 X-Google-Sender-Auth: hYP3zVckelzU7QPpY8uOp6ncqPc Message-ID: From: Nathan Vidican To: Ryan Coleman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: OpenVPN routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 13:32:46 -0000 On Mon, Apr 25, 2011 at 10:36 PM, Ryan Coleman wrot= e: > > I've got an OpenVPN connection working to my remote server, but I want to= route the traffic to the local LAN. > > I have a bridge set up, pingable... but can't ping the em1 (192.168.46.2)= from the remote machine. > > Server.conf: > local 192.168.46.2 > port 1194 > proto udp > dev tap > ca keys/cacert.pem > cert keys/server.crt > key keys/server.key # This file should be kept secret > dh keys/dh1024.pem > # Don't put this in the keys directory unless user nobody can read it > crl-verify keys/crl.pem > #Make sure this is your tunnel address pool > server 192.168.47.0 255.255.255.0 > ifconfig-pool-persist ipp.txt > #This is the route to push to the client, add more if necessary > #push "route 192.168.46.254 255.255.255.0" > push "route 192.168.47.0 255.255.255.0" > push "dhcp-option DNS 192.168.45.10" > keepalive 10 120 > cipher BF-CBC #Blowfish encryption > comp-lzo > #fragment > user nobody > group nobody > persist-key > persist-tun > status openvpn-status.log > verb 6 > mute 5 > > > client.conf: > #Begin client.conf > client > dev tap > proto udp > remote sub.domain.ltd 1194 > nobind > user nobody > group nobody > persist-key > persist-tun > #crl-verify > #remote-cert-tls server > ca keys/cacert.pem > cert keys/ryanc.crt > key keys/ryanc.key > cipher BF-CBC > comp-lzo > verb 3 > mute 20 > > Any ideas? =A0As I said, I can talk to the remote server, but not the loc= al LAN. > > To throw a new curveball in the mix, I'd like to talk to 192.168.45.0/24 = - which we have another VPN connecting the two networks (not running on a V= PN I can do much with). > > > Thanks, > Ryan_______________________________________________ > 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" Do you have packet forwarding (routing /gateway) enabled? An all-important, yet sometimes forgotten step... check if: sysctl=A0net.inet.ip.forwarding returns 1 for enabled or not. You can enable it right away by setting to 1, and/or view the instructions in the handbook for greater detail including how to set as a startup option as well: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.h= tml -- Nathan Vidican nathan@vidican.com From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 13:45:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 537A81065701 for ; Tue, 26 Apr 2011 13:45:40 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 194808FC17 for ; Tue, 26 Apr 2011 13:45:39 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 05F20264E2D2; Tue, 26 Apr 2011 08:46:49 -0500 (CDT) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6C6OQUuDeQnQ; Tue, 26 Apr 2011 08:46:33 -0500 (CDT) Received: from [192.168.46.76] (173-160-104-249-Minnesota.hfc.comcastbusiness.net [173.160.104.249]) by server.cwis.biz (Postfix) with ESMTPSA id C06BB264E2D1; Tue, 26 Apr 2011 08:46:32 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v1084) From: Ryan Coleman In-Reply-To: Date: Tue, 26 Apr 2011 08:45:22 -0500 Message-Id: <6ABDD9A5-E75D-4998-8D49-C89B280F32D4@cwis.biz> References: <6073BC9F-553D-41E2-AE42-341B61850EA7@cwis.biz> To: Nathan Vidican X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: OpenVPN routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 13:45:40 -0000 On Apr 26, 2011, at 8:32 AM, Nathan Vidican wrote: > On Mon, Apr 25, 2011 at 10:36 PM, Ryan Coleman = wrote: >>=20 >> I've got an OpenVPN connection working to my remote server, but I = want to route the traffic to the local LAN. >>=20 >> I have a bridge set up, pingable... but can't ping the em1 = (192.168.46.2) from the remote machine. >>=20 >> Server.conf: >> local 192.168.46.2 >> port 1194 >> proto udp >> dev tap >> ca keys/cacert.pem >> cert keys/server.crt >> key keys/server.key # This file should be kept secret >> dh keys/dh1024.pem >> # Don't put this in the keys directory unless user nobody can read it >> crl-verify keys/crl.pem >> #Make sure this is your tunnel address pool >> server 192.168.47.0 255.255.255.0 >> ifconfig-pool-persist ipp.txt >> #This is the route to push to the client, add more if necessary >> #push "route 192.168.46.254 255.255.255.0" >> push "route 192.168.47.0 255.255.255.0" >> push "dhcp-option DNS 192.168.45.10" >> keepalive 10 120 >> cipher BF-CBC #Blowfish encryption >> comp-lzo >> #fragment >> user nobody >> group nobody >> persist-key >> persist-tun >> status openvpn-status.log >> verb 6 >> mute 5 >>=20 >>=20 >> client.conf: >> #Begin client.conf >> client >> dev tap >> proto udp >> remote sub.domain.ltd 1194 >> nobind >> user nobody >> group nobody >> persist-key >> persist-tun >> #crl-verify >> #remote-cert-tls server >> ca keys/cacert.pem >> cert keys/ryanc.crt >> key keys/ryanc.key >> cipher BF-CBC >> comp-lzo >> verb 3 >> mute 20 >>=20 >> Any ideas? As I said, I can talk to the remote server, but not the = local LAN. >>=20 >> To throw a new curveball in the mix, I'd like to talk to = 192.168.45.0/24 - which we have another VPN connecting the two networks = (not running on a VPN I can do much with). >=20 >=20 > Do you have packet forwarding (routing /gateway) enabled? An > all-important, yet sometimes forgotten step... > check if: >=20 > sysctl net.inet.ip.forwarding >=20 > returns 1 for enabled or not. You can enable it right away by setting > to 1, and/or view the instructions in the handbook for greater detail > including how to set as a startup option as well: > = http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.= html Yes, it is enabled. And Maciej, I had server-bridge running before and it wasn't routing = ICMP, nor anything else. I have ipnat enabled - as was recommended by one guide - and am routing = everything from 192.168.47.0/24 to 0.0.0.0/32 (I'm not well versed on = this specific area but that seems like it should be 0/0, right?) Relevant rc.conf: defaultrouter=3D"192.168.46.254" hostname=3D"nbserver1.allstatecom.local" ifconfig_em0=3D"inet 192.168.46.2 netmask 255.255.255.0" openvpn_enable=3D"YES" openvpn_configfile=3D"/usr/local/etc/openvpn/server.conf" gateway_enable=3D"YES" ipnat_enable=3D"YES" Thanks again, Ryan From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 13:52:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AFA71065672 for ; Tue, 26 Apr 2011 13:52:14 +0000 (UTC) (envelope-from fbsd8@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 E35078FC08 for ; Tue, 26 Apr 2011 13:52:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; s=DKIM-NAME-SERVICES; d=a1poweruser.com; h=From:To:Cc:Subject:Message-ID:X-Sender:X-Envelope-From; l=500; bh=zPMbFnk8Yz6+PZDIlq+SNX3Qv1JfHFP6Ki+gUxWyll0=; b=jssDw7ZqqolIAQDn5cD2huZQ90h0x6NkGVtotLKSJOfraV6qvLt/AGOI4RkanHs/WKpLKHEhg9A4KKDL1D4p9RCRHumaHLUtaGDzijc+Xy6jXzhLIYhKyNw5Y4lDCV6nlxRFD9M3FomhibUJvI5rFLtnKPvgPyPcwImF9J7qxOM= Received: from [192.168.1.64] ([76.240.47.196]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 26 Apr 2011 06:52:12 -0700 Message-ID: <4DB6CE0A.8070804@a1poweruser.com> Date: Tue, 26 Apr 2011 09:52:10 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Antonio Olivares References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Apr 2011 13:52:13.0089 (UTC) FILETIME=[2526B910:01CC0419] X-Sender: fbsd8@a1poweruser.com X-Envelope-From: fbsd8*a1poweruser.com Cc: FreeBSD Questions Subject: Re: easy Firewall setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 13:52:14 -0000 Antonio Olivares wrote: > Dear kind folks, > > Is there an easy firewall setup available somewhere(like the one > referenced below but for FreeBSD)? > > i.e, like I saw reading in Distrowatch an easy way(using a page on the > net: http://connie.slackware.com/~alien/efg/) > > I have read that there is pf and there is an implementation by OpenBSD > and both are available on FreeBSD via ports system/packages. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html > > I don't know which one to use, is there a page, howto (build a > firewall or convert an existing one) to use here? All I want is to be > allowed to visit websites but don't allow anyone out there to come in > somehow a template that I can use and try out to see if I can get it > working. Of course the network name might be different, but I can try > to figure things out. > > ne0, fe0, ra0, ..., etc > > After figuring this out, my next big job/task is to use FreeBSD to > make up a new router/dhcp server to give/assign ip numbers to machines > from one and give to many. This has been something hard that I have > failed at several times. Maybe with FreeBSD I can be successfull? > > Thanks, > > Antonio > The Freebsd handbook has a very detailed section on the firewalls that are part of the base system. Start there. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 13:54:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31C751065674; Tue, 26 Apr 2011 13:54:09 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id B919D8FC08; Tue, 26 Apr 2011 13:54:08 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEAGnNtk2DaFvO/2dsb2JhbACEU6FsiHCqX5FAgSmDUH0EjkGGY4dZ X-IronPort-AV: E=Sophos;i="4.64,268,1301889600"; d="scan'208";a="118658161" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 26 Apr 2011 09:54:07 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id A80D3B3FAE; Tue, 26 Apr 2011 09:54:07 -0400 (EDT) Date: Tue, 26 Apr 2011 09:54:07 -0400 (EDT) From: Rick Macklem To: "O. Hartmann" Message-ID: <897822174.570054.1303826047624.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <1336655788.563105.1303821414103.JavaMail.root@erie.cs.uoguelph.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.203] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE7 (Win)/6.0.10_GA_2692) Cc: FreeBSD Current , freebsd-questions@FreeBSD.ORG Subject: Heads up: was Re: error building kernel: nfs_clvfsops.o: In function `nfs_mount':, nfs_clvfsops.c:(.text+0x1638): undefined reference to `nfs_diskless_valid' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 13:54:09 -0000 > > Since today's source (FreeBSD 9.0-CURRENT/amd64 (source is: > > Revision: > > 221060) update I get the follwoing error while building the kernel > > (options NFSD/options NFSCL instead of options NFSSERVER/options > > NFSCLIENT): > > > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing > > -march=native > > -std=c99 -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes > > -W issing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > > -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys > > -I/usr/src/s s/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > > -include opt_global.h -fno-common -finline-limit=8000 --param > > inline-unit-growth=100 --par m large-function-growth=1000 > > -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 > > -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-ss 3 -msoft-float > > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > > -Werror > > vers.c > > linking kernel > > nfs_clvfsops.o: In function `nfs_mount': > > nfs_clvfsops.c:(.text+0x1638): undefined reference to > > `nfs_diskless_valid' > > nfs_clvfsops.c:(.text+0x1652): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1658): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1689): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x16d1): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1712): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x171b): more undefined > > references > > to `nfsv3_diskless' follow > > nfs_clvfsops.o: In function `nfs_mount': > > nfs_clvfsops.c:(.text+0x1e19): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1e2a): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1e31): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1e3d): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1e44): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1e4a): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1e50): undefined reference to `nfs_diskless' > > nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x1e57): more undefined > > references > > to `nfs_diskless' follow > > nfs_clvfsops.o: In function `nfs_mount': > > nfs_clvfsops.c:(.text+0x1e65): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1e6b): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1e73): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1e79): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1e80): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1e87): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1e8e): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1e94): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1e9a): undefined reference to `nfs_diskless' > > nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x1ea0): more undefined > > references > > to `nfs_diskless' follow > > nfs_clvfsops.o: In function `nfs_mount': > > nfs_clvfsops.c:(.text+0x1eb3): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1ebd): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1ec4): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1ecb): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1ed2): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x1ed9): more undefined > > references > > to `nfsv3_diskless' follow > > nfs_clvfsops.o: In function `nfs_mount': > > nfs_clvfsops.c:(.text+0x1f18): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1f1e): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1f33): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1f3a): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1f4b): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1f52): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1f5e): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1f6a): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1f71): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1f78): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1f83): undefined reference to > > `nfs_diskless_valid' > > nfs_clvfsops.c:(.text+0x1fcc): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x1fd3): undefined reference to `nfs_diskless' > > nfs_clvfsops.c:(.text+0x1fd9): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.c:(.text+0x20ae): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.o:(.data+0x1f8): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.o:(.data+0x258): undefined reference to > > `nfsv3_diskless' > > nfs_clvfsops.o:(.data+0x2b8): undefined reference to > > `nfs_diskless_valid' > > *** Error code 1 > > > Oops, you'll have to add "options NFS_ROOT" to your kernel config > until > I commit a fix. > This should be fixed by r221066. You will need to do a fresh "config KERNEL" etc after upgrading past r221032. (I should have sent an email w.r.t. this yesterday, sorry.) rick From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 14:02:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 632921065672 for ; Tue, 26 Apr 2011 14:02: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 DEB078FC16 for ; Tue, 26 Apr 2011 14:02:48 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p3QE2iIw058313; Tue, 26 Apr 2011 08:02:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p3QE2iDO058310; Tue, 26 Apr 2011 08:02:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 26 Apr 2011 08:02:44 -0600 (MDT) From: Warren Block To: Polytropon In-Reply-To: <20110426095216.c9f1aa13.freebsd@edvax.de> Message-ID: References: <20110426095216.c9f1aa13.freebsd@edvax.de> 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.7 (wonkity.com [127.0.0.1]); Tue, 26 Apr 2011 08:02:44 -0600 (MDT) Cc: FreeBSD Questions , Antonio Olivares Subject: Re: easy Firewall setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 14:02:49 -0000 On Tue, 26 Apr 2011, Polytropon wrote: > You can easily do this with IPFW (from the base system) > > Step 1: Create a file /etc/ipfw.conf which will contain > your firewall rules. /etc/rc.firewall has a bunch of predefined firewall types, usable as-is or as examples. Instructions are in that file. From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 14:17:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F25C8106564A for ; Tue, 26 Apr 2011 14:17:54 +0000 (UTC) (envelope-from mbak@inbox.lv) Received: from thor.iszerviz.hu (thor.iszerviz.hu [62.77.131.9]) by mx1.freebsd.org (Postfix) with ESMTP id 5C6B98FC0A for ; Tue, 26 Apr 2011 14:17:53 +0000 (UTC) Received: from [10.2.2.50] (m0n0.serverbank.hu [62.77.131.200]) by thor.iszerviz.hu (Postfix) with ESMTPSA id CD1584FE9B for ; Tue, 26 Apr 2011 16:02:42 +0200 (CEST) Message-ID: <4DB6D082.4020907@inbox.lv> Date: Tue, 26 Apr 2011 16:02:42 +0200 From: Mikael Bak User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Suddenly lots processes exits signal 11 (core dumped) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 14:17:55 -0000 Hi list, I have a system running FreeBSD 7.3. Its main function is running Postfix SMTP server and a few perl based content filters. Nothing exotic really. It has been nicely up and running approx 150 days when it suddenly starts behaving very strange. First I noticed a converter script failing. It is basically a small shell script that converts a quite big file replacing a few words using sed. The output is mostly damaged. Another problem is that lots of processes exits signal 11 (core dumped). And I need to restart them by hand. See dmesg output below. I know I don't give you guys much to go on. I just want to know it it's possible to find out somehow if some hardware is failing and must be changed. My first thought was overheating. But my collegue went to the site and he said the hardware is not hot at all. TIA, Mikael # dmesg Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.3-RELEASE-p2 #0: Mon Jul 12 19:23:19 UTC 2010 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Atom(TM) CPU 330 @ 1.60GHz (1600.01-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x106c2 Stepping = 2 Features=0xbfe9fbff Features2=0x40e31d AMD Features=0x20100800 AMD Features2=0x1 TSC: P-state invariant Cores per package: 2 Logical CPUs per core: 2 usable memory = 3475918848 (3314 MB) avail memory = 3353677824 (3198 MB) ACPI APIC Table: <081309 APIC0925> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 ioapic0: Changing APIC ID to 3 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <081309 RSDT0925> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of fefe1000, 1000 (3) failed acpi0: reservation of fee01000, ff000 (3) failed acpi0: reservation of fec00000, 1000 (3) failed acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, dff00000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 25000000 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) isab0: port 0x4f00-0x4fff at device 3.0 on pci0 isa0: on isab0 pci0: at device 3.1 (no driver attached) pci0: at device 3.2 (no driver attached) pci0: at device 3.3 (no driver attached) pci0: at device 3.5 (no driver attached) ohci0: mem 0xfae7f000-0xfae7ffff irq 22 at device 4.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 6 ports with 6 removable, self powered ehci0: mem 0xfae7ec00-0xfae7ecff irq 23 at device 4.1 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb1: EHCI version 1.0 usb1: companion controller, 12 ports each: usb0 usb1: on ehci0 usb1: USB revision 2.0 uhub1: on usb1 uhub1: 6 ports with 6 removable, self powered ohci1: mem 0xfae7d000-0xfae7dfff irq 20 at device 6.0 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb2: OHCI version 1.0, legacy support usb2: SMM does not respond, resetting usb2: on ohci1 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 6 ports with 6 removable, self powered ehci1: mem 0xfae7e800-0xfae7e8ff irq 21 at device 6.1 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controller, 12 ports each: usb2 usb3: on ehci1 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pci0: at device 8.0 (no driver attached) pcib1: at device 9.0 on pci0 pci1: on pcib1 nfe0: port 0xd080-0xd087 mem 0xfae7c000-0xfae7cfff,0xfae7e400-0xfae7e4ff,0xfae7e000-0xfae7e00f irq 23 at device 10.0 on pci0 miibus0: on nfe0 rgephy0: PHY 3 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto nfe0: Ethernet address: 00:01:2e:2c:b0:56 nfe0: [FILTER] atapci0: port 0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc887,0xc800-0xc803,0xc480-0xc48f mem 0xfae76000-0xfae77fff irq 20 at device 11.0 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] pcib2: irq 21 at device 12.0 on pci0 pci2: on pcib2 pcib3: at device 16.0 on pci0 pci3: on pcib3 vgapci0: port 0xec00-0xec7f mem 0xfb000000-0xfbffffff,0xe0000000-0xefffffff,0xf8000000-0xf9ffffff irq 22 at device 0.0 on pci3 pcib4: irq 22 at device 21.0 on pci0 pci4: on pcib4 pci4: at device 0.0 (no driver attached) pcib5: irq 23 at device 22.0 on pci0 pci5: on pcib5 pcib6: irq 20 at device 23.0 on pci0 pci6: on pcib6 pcib7: irq 21 at device 24.0 on pci0 pci7: on pcib7 acpi_button0: on acpi0 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: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] cpu0: on acpi0 p4tcc0: on cpu0 cpu1: on acpi0 p4tcc1: on cpu1 orm0: at iomem 0xc0000-0xce7ff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> 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 Timecounters tick every 1.000 msec ad4: 476940MB at ata2-master UDMA33 ad6: 476940MB at ata3-master UDMA33 SMP: AP CPU #1 Launched! GEOM_MIRROR: Device mirror/gm0 launched (2/2). Trying to mount root from ufs:/dev/mirror/gm0s1a nfe0: link state changed to UP pid 767 (clamd), uid 110: exited on signal 11 pid 1046 (clamscan), uid 110: exited on signal 11 (core dumped) pid 1337 (perl), uid 110: exited on signal 11 pid 8777 (smtpd), uid 125: exited on signal 10 pid 8876 (smtpd), uid 125: exited on signal 10 pid 548 (named), uid 53: exited on signal 6 pid 10246 (smtpd), uid 125: exited on signal 10 pid 12223 (smtpd), uid 125: exited on signal 10 pid 13347 (perl), uid 110: exited on signal 10 pid 14959 (clamscan), uid 0: exited on signal 10 (core dumped) pid 19583 (clamscan), uid 0: exited on signal 11 (core dumped) pid 20467 (gpg2), uid 0: exited on signal 11 (core dumped) pid 20471 (cp), uid 0: exited on signal 11 (core dumped) pid 20478 (bash), uid 0: exited on signal 11 (core dumped) pid 20263 (bash), uid 0: exited on signal 11 (core dumped) sigreturn: rflags = 0x1020a a pid 16204 (master), uid 0: exited on signal 10 pid 21243 (clamscan), uid 0: exited on signal 11 (core dumped) pid 22102 (clamscan), uid 0: exited on signal 11 (core dumped) pid 22125 (clamscan), uid 0: exited on signal 11 (core dumped) pid 22200 (clamscan), uid 0: exited on signal 11 (core dumped) pid 23161 (clamscan), uid 0: exited on signal 10 (core dumped) pid 26288 (clamscan), uid 0: exited on signal 11 (core dumped) pid 26542 (smtpd), uid 125: exited on signal 10 pid 26821 (smtpd), uid 125: exited on signal 10 pid 27204 (clamscan), uid 0: exited on signal 11 (core dumped) pid 27236 (clamscan), uid 0: exited on signal 11 (core dumped) pid 27245 (clamscan), uid 0: exited on signal 11 (core dumped) pid 28583 (clamscan), uid 0: exited on signal 10 (core dumped) pid 28696 (perl), uid 110: exited on signal 10 pid 27729 (clamd), uid 110: exited on signal 11 pid 29680 (clamscan), uid 110: exited on signal 11 (core dumped) pid 29690 (clamscan), uid 110: exited on signal 11 (core dumped) pid 29719 (clamscan), uid 110: exited on signal 11 (core dumped) pid 29781 (clamscan), uid 110: exited on signal 10 (core dumped) pid 29808 (clamscan), uid 110: exited on signal 11 (core dumped) pid 29884 (clamscan), uid 110: exited on signal 11 (core dumped) pid 30531 (clamscan), uid 0: exited on signal 10 (core dumped) pid 30686 (clamd), uid 110: exited on signal 11 pid 30935 (smtpd), uid 125: exited on signal 10 pid 31024 (clamscan), uid 110: exited on signal 11 (core dumped) pid 31061 (clamscan), uid 110: exited on signal 11 (core dumped) pid 31083 (smtpd), uid 125: exited on signal 10 pid 31147 (smtpd), uid 125: exited on signal 10 pid 31630 (sendmail), uid 0: exited on signal 11 (core dumped) pid 31738 (clamscan), uid 0: exited on signal 11 (core dumped) pid 31759 (clamscan), uid 0: exited on signal 11 (core dumped) pid 32455 (smtpd), uid 125: exited on signal 10 pid 38591 (clamscan), uid 110: exited on signal 6 (core dumped) pid 38954 (clamscan), uid 110: exited on signal 11 (core dumped) pid 39045 (clamscan), uid 110: exited on signal 10 (core dumped) pid 39087 (clamscan), uid 110: exited on signal 10 (core dumped) pid 39098 (clamscan), uid 110: exited on signal 10 (core dumped) pid 39148 (clamscan), uid 110: exited on signal 10 (core dumped) pid 39184 (clamscan), uid 110: exited on signal 11 (core dumped) pid 39225 (clamscan), uid 110: exited on signal 11 (core dumped) pid 39247 (clamscan), uid 110: exited on signal 11 (core dumped) pid 39279 (clamscan), uid 110: exited on signal 11 (core dumped) pid 40210 (clamscan), uid 110: exited on signal 10 (core dumped) pid 40352 (clamscan), uid 110: exited on signal 11 (core dumped) pid 40642 (clamscan), uid 0: exited on signal 11 (core dumped) pid 40667 (clamscan), uid 0: exited on signal 11 (core dumped) pid 43747 (clamscan), uid 110: exited on signal 11 (core dumped) pid 45077 (clamscan), uid 110: exited on signal 10 (core dumped) pid 45987 (clamscan), uid 110: exited on signal 11 (core dumped) pid 46699 (gpg2), uid 0: exited on signal 11 pid 46795 (clamscan), uid 0: exited on signal 11 (core dumped) pid 46807 (clamscan), uid 0: exited on signal 11 (core dumped) pid 46857 (rm), uid 0: exited on signal 11 (core dumped) pid 46867 (rm), uid 0: exited on signal 11 (core dumped) pid 46873 (clamscan), uid 110: exited on signal 10 (core dumped) From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 14:23:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA7F91065670 for ; Tue, 26 Apr 2011 14:23:13 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id A82688FC14 for ; Tue, 26 Apr 2011 14:23:13 +0000 (UTC) Received: by pwj8 with SMTP id 8so594448pwj.13 for ; Tue, 26 Apr 2011 07:23:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.4.233 with SMTP id n9mr1061858pbn.128.1303827791802; Tue, 26 Apr 2011 07:23:11 -0700 (PDT) Received: by 10.68.50.130 with HTTP; Tue, 26 Apr 2011 07:23:11 -0700 (PDT) X-Originating-IP: [93.221.187.53] In-Reply-To: <20110426104151.596bcc19@gumby.homeunix.com> References: <20110425151846.0a5359fd@gumby.homeunix.com> <20110425151536.GA61425@stainmore> <20110425175420.GA61811@stainmore> <20110425232908.4104e026@gumby.homeunix.com> <20110426025614.GA62745@stainmore> <20110426104151.596bcc19@gumby.homeunix.com> Date: Tue, 26 Apr 2011 16:23:11 +0200 Message-ID: From: "C. P. Ghost" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 14:23:13 -0000 On Tue, Apr 26, 2011 at 11:41 AM, RW wrote: >> The above quote states that the memory not occupied by the remapped >> object is zero filled. Which is to say that memory allocated by mmap() >> is either filled with new data or filled with zeros. > > In context it says: > > =A0 =A0 "If len is not a multiple of the page-size, the mapped region may > =A0 =A0 extend past the specified range. =A0Any such extension beyond the > =A0 =A0 end of the mapped object will be zero-filled." > > To me the most straightforward reading of that is that it's referring > to non-aligned address ranges. > > Your interpretation may well be the intended one, but where would that > leave the anonymous mappings used by malloc? Are we to think of them as > extensions beyond a non-existent mapped object, and thus infer that they > are zero-filled? It's a bit of a stretch from what's written. While it's not a *proof*, you could always do a little bit of black box testing. 1, So how about a little C program scanner.c that allocates a huge heap via mmap(2)'s malloc(3) backend, and crawls that buffer, looking for the first non-zero byte? If we always get zero-filled pages, you shouldn't find any non-zero bytes there. 2. For good measure, another program filler.c could fill a huge heap with a particular easily recognizable pattern (say something like 0xdeadbeef), and exit; and then, scanner.c could not only check for non-zero byes, but also for that particular pattern. -cpghost. --=20 Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 14:27:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C20F210656A7 for ; Tue, 26 Apr 2011 14:27:50 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4CF9B8FC08 for ; Tue, 26 Apr 2011 14:27:49 +0000 (UTC) Received: by bwz12 with SMTP id 12so812206bwz.13 for ; Tue, 26 Apr 2011 07:27:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=GosdBZy+dUo93+JUffBKUy+Kxd508Oh6XhVj88OnxV0=; b=ZMNn3yZnWCM+ypCZTtwM3jn+ahUkJ2u7qHuu7mejQ7dFL9U1ys2W57YOj8EnGsV0kP du8++SGg+riC3EsOdL5UywjS1fyZPAeDm74ARBxArY7p/3A2dh20p7VgjhbST1EKpNem R1TvnGXVhtZ1qIzeqyw2KljP8iwvWSB4pt2y0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=MMx/YdBhppFt4Wmmv+/C55H5Ssn9gcA3TVzpdIoSU2ODzj+awZnFhjt4Y0V3Vzos+2 We3dnrJGpGrAYafGQX0eXFAas4+ym9hThXQ+2wXi2vtFu5g5a7Q4+xM+kgjpWkvIUWLC ZFoaEBxF2rglqv8U5I532CUCFtzntSbGPS72E= MIME-Version: 1.0 Received: by 10.204.22.202 with SMTP id o10mr798967bkb.70.1303828068943; Tue, 26 Apr 2011 07:27:48 -0700 (PDT) Received: by 10.204.42.21 with HTTP; Tue, 26 Apr 2011 07:27:48 -0700 (PDT) Received: by 10.204.42.21 with HTTP; Tue, 26 Apr 2011 07:27:48 -0700 (PDT) In-Reply-To: <4DB6D082.4020907@inbox.lv> References: <4DB6D082.4020907@inbox.lv> Date: Tue, 26 Apr 2011 15:27:48 +0100 Message-ID: From: Chris Rees To: Mikael Bak Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Suddenly lots processes exits signal 11 (core dumped) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 14:27:50 -0000 On 26 Apr 2011 15:18, "Mikael Bak" wrote: > > Hi list, > > I have a system running FreeBSD 7.3. Its main function is running > Postfix SMTP server and a few perl based content filters. Nothing exotic > really. > > It has been nicely up and running approx 150 days when it suddenly > starts behaving very strange. > > First I noticed a converter script failing. It is basically a small > shell script that converts a quite big file replacing a few words using > sed. The output is mostly damaged. > > Another problem is that lots of processes exits signal 11 (core dumped). > And I need to restart them by hand. See dmesg output below. Have you run memtest86? Looks like a textbook bad RAM issue. Chris From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 14:29:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1134F106566B for ; Tue, 26 Apr 2011 14:29:19 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id E8DF78FC08 for ; Tue, 26 Apr 2011 14:29:18 +0000 (UTC) Received: by pzk27 with SMTP id 27so380692pzk.13 for ; Tue, 26 Apr 2011 07:29:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.43.4 with SMTP id s4mr1042973pbl.61.1303828158307; Tue, 26 Apr 2011 07:29:18 -0700 (PDT) Received: by 10.68.50.130 with HTTP; Tue, 26 Apr 2011 07:29:18 -0700 (PDT) X-Originating-IP: [93.221.187.53] In-Reply-To: <4DB6D082.4020907@inbox.lv> References: <4DB6D082.4020907@inbox.lv> Date: Tue, 26 Apr 2011 16:29:18 +0200 Message-ID: From: "C. P. Ghost" To: Mikael Bak Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Suddenly lots processes exits signal 11 (core dumped) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 14:29:19 -0000 On Tue, Apr 26, 2011 at 4:02 PM, Mikael Bak wrote: > Hi list, > > I have a system running FreeBSD 7.3. Its main function is running > Postfix SMTP server and a few perl based content filters. Nothing exotic > really. > > It has been nicely up and running approx 150 days when it suddenly > starts behaving very strange. > > First I noticed a converter script failing. It is basically a small > shell script that converts a quite big file replacing a few words using > sed. The output is mostly damaged. > > Another problem is that lots of processes exits signal 11 (core dumped). > And I need to restart them by hand. See dmesg output below. > > I know I don't give you guys much to go on. I just want to know it it's > possible to find out somehow if some hardware is failing and must be > changed. > > My first thought was overheating. But my collegue went to the site and > he said the hardware is not hot at all. If you didn't update the OS or the apps, it is almost certainly hardware- related. Probably a bad PSU, or bad RAM. The box doesn't have to overheat when one of those are degraded. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 14:39:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2FEB1065670 for ; Tue, 26 Apr 2011 14:39:02 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 84BE48FC19 for ; Tue, 26 Apr 2011 14:39:02 +0000 (UTC) Received: by qwc9 with SMTP id 9so379077qwc.13 for ; Tue, 26 Apr 2011 07:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Wrf8I34OuhgTEiidHmUAPZWY92AYszc7UeQHKTzWRTI=; b=Nrtj+zXGYY7wjbbM9qN0ED6yTeSBEeH2ge0uM4mer54eNP07ULdJEdBdXHgxaNFkvR cImrDJY50bGqOrTzYyUR3/pzeYiKkLbeNcdBu8GhfbvZT/x5J3UZIgfgCjsugzTnk/CR I9pF7TFB+Dd45yY9jgFJ3OzmfjZv3ASUdBLa0= 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=O1saAfeFrlttFwIFkD9ud8aSrZG2zEunWyZo687nWZXojqVily+d50wnVmr3JDj4Rg IpJL2aUygEywFIbCS/DibctLt+KlEnN0xZvUH1DsU0kEBa3LIdq/eUzkrnviHZbcHQl4 HwUtjJsVSgFlgAk6wZBzkBAupmzJvc5+d/yhU= MIME-Version: 1.0 Received: by 10.229.12.130 with SMTP id x2mr580983qcx.207.1303826848840; Tue, 26 Apr 2011 07:07:28 -0700 (PDT) Received: by 10.229.181.77 with HTTP; Tue, 26 Apr 2011 07:07:28 -0700 (PDT) In-Reply-To: <6ABDD9A5-E75D-4998-8D49-C89B280F32D4@cwis.biz> References: <6073BC9F-553D-41E2-AE42-341B61850EA7@cwis.biz> <6ABDD9A5-E75D-4998-8D49-C89B280F32D4@cwis.biz> Date: Tue, 26 Apr 2011 09:07:28 -0500 Message-ID: From: Diego Arias To: Ryan Coleman Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Nathan Vidican , FreeBSD Mailing List Subject: Re: OpenVPN routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 14:39:03 -0000 On Tue, Apr 26, 2011 at 8:45 AM, Ryan Coleman wrote: > > On Apr 26, 2011, at 8:32 AM, Nathan Vidican wrote: > > > On Mon, Apr 25, 2011 at 10:36 PM, Ryan Coleman > wrote: > >> > >> I've got an OpenVPN connection working to my remote server, but I want > to route the traffic to the local LAN. > >> > >> I have a bridge set up, pingable... but can't ping the em1 > (192.168.46.2) from the remote machine. > >> > >> Server.conf: > >> local 192.168.46.2 > >> port 1194 > >> proto udp > >> dev tap > >> ca keys/cacert.pem > >> cert keys/server.crt > >> key keys/server.key # This file should be kept secret > >> dh keys/dh1024.pem > >> # Don't put this in the keys directory unless user nobody can read it > >> crl-verify keys/crl.pem > >> #Make sure this is your tunnel address pool > >> server 192.168.47.0 255.255.255.0 > >> ifconfig-pool-persist ipp.txt > >> #This is the route to push to the client, add more if necessary > >> #push "route 192.168.46.254 255.255.255.0" > >> push "route 192.168.47.0 255.255.255.0" > >> push "dhcp-option DNS 192.168.45.10" > >> keepalive 10 120 > >> cipher BF-CBC #Blowfish encryption > >> comp-lzo > >> #fragment > >> user nobody > >> group nobody > >> persist-key > >> persist-tun > >> status openvpn-status.log > >> verb 6 > >> mute 5 > >> > >> > >> client.conf: > >> #Begin client.conf > >> client > >> dev tap > >> proto udp > >> remote sub.domain.ltd 1194 > >> nobind > >> user nobody > >> group nobody > >> persist-key > >> persist-tun > >> #crl-verify > >> #remote-cert-tls server > >> ca keys/cacert.pem > >> cert keys/ryanc.crt > >> key keys/ryanc.key > >> cipher BF-CBC > >> comp-lzo > >> verb 3 > >> mute 20 > >> > >> Any ideas? As I said, I can talk to the remote server, but not the > local LAN. > >> > >> To throw a new curveball in the mix, I'd like to talk to > 192.168.45.0/24 - which we have another VPN connecting the two networks > (not running on a VPN I can do much with). > > > > > > Do you have packet forwarding (routing /gateway) enabled? An > > all-important, yet sometimes forgotten step... > > check if: > > > > sysctl net.inet.ip.forwarding > > > > returns 1 for enabled or not. You can enable it right away by setting > > to 1, and/or view the instructions in the handbook for greater detail > > including how to set as a startup option as well: > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html > > Yes, it is enabled. > > And Maciej, I had server-bridge running before and it wasn't routing ICMP, > nor anything else. > > I have ipnat enabled - as was recommended by one guide - and am routing > everything from 192.168.47.0/24 to 0.0.0.0/32 (I'm not well versed on this > specific area but that seems like it should be 0/0, right?) > > Relevant rc.conf: > defaultrouter="192.168.46.254" > hostname="nbserver1.allstatecom.local" > ifconfig_em0="inet 192.168.46.2 netmask 255.255.255.0" > openvpn_enable="YES" > openvpn_configfile="/usr/local/etc/openvpn/server.conf" > gateway_enable="YES" > ipnat_enable="YES" > > Thanks again, > Ryan > > > _______________________________________________ > 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" > If you need to route LAN - TO - LAN just enable the client-to-client. Its a Security Feature of OpenVPN http://www.secure-computing.net/wiki/index.php/OpenVPN/Routing -- Still Going Strong!!! From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 14:53:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57800106564A for ; Tue, 26 Apr 2011 14:53:11 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1074C8FC0A for ; Tue, 26 Apr 2011 14:53:10 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 73A3873; Tue, 26 Apr 2011 16:53:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id w9Og8PYiWv3S; Tue, 26 Apr 2011 16:53:06 +0200 (CEST) Received: from snifi.localnet (snifi.laptop [10.0.10.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 8F86428; Tue, 26 Apr 2011 16:53:06 +0200 (CEST) From: Maciej Milewski To: Ryan Coleman Date: Tue, 26 Apr 2011 16:53:35 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.38-ARCH; KDE/4.6.2; x86_64; ; ) References: <6073BC9F-553D-41E2-AE42-341B61850EA7@cwis.biz> <6ABDD9A5-E75D-4998-8D49-C89B280F32D4@cwis.biz> In-Reply-To: <6ABDD9A5-E75D-4998-8D49-C89B280F32D4@cwis.biz> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104261653.35417.milu@dat.pl> Cc: freebsd-questions@freebsd.org Subject: Re: OpenVPN routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 14:53:11 -0000 On Tuesday 26 of April 2011 15:45:22, Ryan Coleman wrote: > I have a bridge set up, pingable... but can't ping the em1 (192.168.46.2) from the remote machine. ... > push "route 192.168.47.0 255.255.255.0" Have you tried adding the route to 192.168.46.0/24 subnet into the vpn client? You want to ping the host/interface on different subnet. If you don't set the routing to this subnet how your client should know that he needs to put that packet through tap interface not defaultroute which I suspect is different? Can you show the output of netstat -rn of the vpn client? You may try to look into tcpdump on the vpn router to find what is going with your packets.And for such scenario like vpnclient->vpnserver->network you may even not need nat just simple routing will be enough as long as you set it up on right. My setup is based on tun interfaces and works like a charm. I don't use nat and I only added routing info to the specific routers in the internal networks. Maciej Milewski From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 14:53:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 749A0106564A for ; Tue, 26 Apr 2011 14:53:17 +0000 (UTC) (envelope-from mbak@inbox.lv) Received: from shark3.inbox.lv (shark3.inbox.lv [89.111.3.83]) by mx1.freebsd.org (Postfix) with ESMTP id 194D18FC15 for ; Tue, 26 Apr 2011 14:53:16 +0000 (UTC) Received: from mail.inbox.lv (pop [10.0.1.110]) by shark3-plain.inbox.lv (Postfix) with ESMTP id C6D0B1941 for ; Tue, 26 Apr 2011 17:36:26 +0300 (EEST) Received: from [10.2.2.50] (m0n0.serverbank.hu [62.77.131.200]) (Authenticated sender: mbak) by mail.inbox.lv (Postfix) with ESMTPSA id A48C21E60A for ; Tue, 26 Apr 2011 17:36:26 +0300 (EEST) Message-ID: <4DB6D869.2030702@inbox.lv> Date: Tue, 26 Apr 2011 16:36:25 +0200 From: Mikael Bak User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4DB6D082.4020907@inbox.lv> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: OK Subject: Re: Suddenly lots processes exits signal 11 (core dumped) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 14:53:17 -0000 Chris Rees wrote: > > On 26 Apr 2011 15:18, "Mikael Bak" > wrote: >> >> Hi list, >> >> I have a system running FreeBSD 7.3. Its main function is running >> Postfix SMTP server and a few perl based content filters. Nothing exotic >> really. >> >> It has been nicely up and running approx 150 days when it suddenly >> starts behaving very strange. >> >> First I noticed a converter script failing. It is basically a small >> shell script that converts a quite big file replacing a few words using >> sed. The output is mostly damaged. >> >> Another problem is that lots of processes exits signal 11 (core dumped). >> And I need to restart them by hand. See dmesg output below. > > Have you run memtest86? Looks like a textbook bad RAM issue. > > Chris > Hi, Thanks fot the fast answer! No I haven't yet. Thanks for the tip! Mikael From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 14:53:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2EED1065676 for ; Tue, 26 Apr 2011 14:53:45 +0000 (UTC) (envelope-from mbak@inbox.lv) Received: from shark4.inbox.lv (shark4.inbox.lv [89.111.3.84]) by mx1.freebsd.org (Postfix) with ESMTP id 7C4C18FC23 for ; Tue, 26 Apr 2011 14:53:45 +0000 (UTC) Received: from mail.inbox.lv (pop [10.0.1.110]) by shark4-plain.inbox.lv (Postfix) with ESMTP id 78DFA1BD60 for ; Tue, 26 Apr 2011 17:35:42 +0300 (EEST) Received: from [10.2.2.50] (m0n0.serverbank.hu [62.77.131.200]) (Authenticated sender: mbak) by mail.inbox.lv (Postfix) with ESMTPSA id 2A3D61D29A for ; Tue, 26 Apr 2011 17:35:41 +0300 (EEST) Message-ID: <4DB6D839.3010809@inbox.lv> Date: Tue, 26 Apr 2011 16:35:37 +0200 From: Mikael Bak User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4DB6D082.4020907@inbox.lv> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: OK Subject: Re: Suddenly lots processes exits signal 11 (core dumped) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 14:53:45 -0000 C. P. Ghost wrote: > On Tue, Apr 26, 2011 at 4:02 PM, Mikael Bak wrote: >> Hi list, >> >> I have a system running FreeBSD 7.3. Its main function is running >> Postfix SMTP server and a few perl based content filters. Nothing exotic >> really. >> >> It has been nicely up and running approx 150 days when it suddenly >> starts behaving very strange. >> >> First I noticed a converter script failing. It is basically a small >> shell script that converts a quite big file replacing a few words using >> sed. The output is mostly damaged. >> >> Another problem is that lots of processes exits signal 11 (core dumped). >> And I need to restart them by hand. See dmesg output below. >> >> I know I don't give you guys much to go on. I just want to know it it's >> possible to find out somehow if some hardware is failing and must be >> changed. >> >> My first thought was overheating. But my collegue went to the site and >> he said the hardware is not hot at all. > > If you didn't update the OS or the apps, it is almost certainly hardware- > related. Probably a bad PSU, or bad RAM. The box doesn't have to > overheat when one of those are degraded. > Hi, Thanks fot the fast answer! The OS is regularly updated with "freebsd-update", but only within 7.3 version. The apps are regularly updated with "portmaster". So I can't say nothig's ever changed. But I can only say that this is the only machine I've ever seen behave like this. TIA, Mikael From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 15:56:41 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E6701065673; Tue, 26 Apr 2011 15:56:41 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 27B838FC0C; Tue, 26 Apr 2011 15:56:40 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1QEkcy-0003Su-6z>; Tue, 26 Apr 2011 17:56:40 +0200 Received: from e178013050.adsl.alicedsl.de ([85.178.13.50] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1QEkcy-0003pP-2n>; Tue, 26 Apr 2011 17:56:40 +0200 Message-ID: <4DB6EB37.70208@mail.zedat.fu-berlin.de> Date: Tue, 26 Apr 2011 17:56:39 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110319 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Rick Macklem References: <897822174.570054.1303826047624.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <897822174.570054.1303826047624.JavaMail.root@erie.cs.uoguelph.ca> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.13.50 Cc: FreeBSD Current , freebsd-questions@FreeBSD.ORG Subject: Re: Heads up: was Re: error building kernel: nfs_clvfsops.o: In function `nfs_mount':, nfs_clvfsops.c:(.text+0x1638): undefined reference to `nfs_diskless_valid' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 15:56:41 -0000 On 04/26/11 15:54, Rick Macklem wrote: >>> Since today's source (FreeBSD 9.0-CURRENT/amd64 (source is: >>> Revision: >>> 221060) update I get the follwoing error while building the kernel >>> (options NFSD/options NFSCL instead of options NFSSERVER/options >>> NFSCLIENT): >>> >>> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing >>> -march=native >>> -std=c99 -Wall -Wredundant-decls -Wnested-externs >>> -Wstrict-prototypes >>> -W issing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef >>> -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys >>> -I/usr/src/s s/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS >>> -include opt_global.h -fno-common -finline-limit=8000 --param >>> inline-unit-growth=100 --par m large-function-growth=1000 >>> -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 >>> -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-ss 3 -msoft-float >>> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector >>> -Werror >>> vers.c >>> linking kernel >>> nfs_clvfsops.o: In function `nfs_mount': >>> nfs_clvfsops.c:(.text+0x1638): undefined reference to >>> `nfs_diskless_valid' >>> nfs_clvfsops.c:(.text+0x1652): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1658): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1689): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x16d1): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1712): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x171b): more undefined >>> references >>> to `nfsv3_diskless' follow >>> nfs_clvfsops.o: In function `nfs_mount': >>> nfs_clvfsops.c:(.text+0x1e19): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1e2a): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1e31): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1e3d): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1e44): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1e4a): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1e50): undefined reference to `nfs_diskless' >>> nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x1e57): more undefined >>> references >>> to `nfs_diskless' follow >>> nfs_clvfsops.o: In function `nfs_mount': >>> nfs_clvfsops.c:(.text+0x1e65): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1e6b): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1e73): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1e79): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1e80): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1e87): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1e8e): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1e94): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1e9a): undefined reference to `nfs_diskless' >>> nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x1ea0): more undefined >>> references >>> to `nfs_diskless' follow >>> nfs_clvfsops.o: In function `nfs_mount': >>> nfs_clvfsops.c:(.text+0x1eb3): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1ebd): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1ec4): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1ecb): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1ed2): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.o:nfs_clvfsops.c:(.text+0x1ed9): more undefined >>> references >>> to `nfsv3_diskless' follow >>> nfs_clvfsops.o: In function `nfs_mount': >>> nfs_clvfsops.c:(.text+0x1f18): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1f1e): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1f33): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1f3a): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1f4b): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1f52): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1f5e): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1f6a): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1f71): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1f78): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1f83): undefined reference to >>> `nfs_diskless_valid' >>> nfs_clvfsops.c:(.text+0x1fcc): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x1fd3): undefined reference to `nfs_diskless' >>> nfs_clvfsops.c:(.text+0x1fd9): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.c:(.text+0x20ae): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.o:(.data+0x1f8): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.o:(.data+0x258): undefined reference to >>> `nfsv3_diskless' >>> nfs_clvfsops.o:(.data+0x2b8): undefined reference to >>> `nfs_diskless_valid' >>> *** Error code 1 >>> >> Oops, you'll have to add "options NFS_ROOT" to your kernel config >> until >> I commit a fix. >> > This should be fixed by r221066. > > You will need to do a fresh "config KERNEL" etc after upgrading > past r221032. (I should have sent an email w.r.t. this yesterday, > sorry.) > > rick I did already a full build, thank you very much. Everything builds cleanly now. Oliver From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 16:29:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 431F9106566B for ; Tue, 26 Apr 2011 16:29:31 +0000 (UTC) (envelope-from jkikpole@cairodurham.org) Received: from na3sys009aog112.obsmtp.com (na3sys009aog112.obsmtp.com [74.125.149.207]) by mx1.freebsd.org (Postfix) with ESMTP id BF4368FC20 for ; Tue, 26 Apr 2011 16:29:30 +0000 (UTC) Received: from mail-gx0-f177.google.com ([209.85.161.177]) (using TLSv1) by na3sys009aob112.postini.com ([74.125.148.12]) with SMTP ID DSNKTbby6PoQTPYQ9vcnDx8vx98KouGhxdBh@postini.com; Tue, 26 Apr 2011 09:29:30 PDT Received: by mail-gx0-f177.google.com with SMTP id 2so326072gxk.36 for ; Tue, 26 Apr 2011 09:29:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.11.5 with SMTP id 5mr941491ybk.29.1303833874035; Tue, 26 Apr 2011 09:04:34 -0700 (PDT) Received: by 10.147.136.18 with HTTP; Tue, 26 Apr 2011 09:04:34 -0700 (PDT) Date: Tue, 26 Apr 2011 12:04:34 -0400 Message-ID: From: Jaime Kikpole To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Hardware suggestions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 16:29:31 -0000 I'm looking for new hardware for my web filter (FreeBSD + dansguardian + squid). Can anyone suggest good (or warn about bad) models of hardware for this? I'm looking for a small tower or compact chassis (not rack mount) with two ethernet interfaces. I'd like RAID-1 as well, if possible. I can spend anywhere from $1,000 to $3,500. My current system works well (2.0GHz, dual core, 8GB RAM, RAID-1, two 160GB disks, 3 100Mbps NICs), but I want to replace it with two identical boxes. Right now, its a single point of failure. So I'm hoping to rsync configs between two systems that are on line at all times. Then, if I need up upgrade software or the hardware breaks, I can just swap the box. Any pointers on this project are appreciated, especially what models of computers would work well with FreeBSD. Thanks in advance, Jaime -- Network Administrator Cairo-Durham Central School District http://cns.cairodurham.org From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 16:34:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45FAE106566C for ; Tue, 26 Apr 2011 16:34:49 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id D22078FC08 for ; Tue, 26 Apr 2011 16:34:48 +0000 (UTC) Received: by bwz12 with SMTP id 12so967138bwz.13 for ; Tue, 26 Apr 2011 09:34:47 -0700 (PDT) Received: by 10.204.14.195 with SMTP id h3mr908254bka.46.1303835687288; Tue, 26 Apr 2011 09:34:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.46.28 with HTTP; Tue, 26 Apr 2011 09:34:27 -0700 (PDT) In-Reply-To: References: From: Chris Brennan Date: Tue, 26 Apr 2011 12:34:27 -0400 Message-ID: To: Jaime Kikpole Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Hardware suggestions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 16:34:49 -0000 On Tue, Apr 26, 2011 at 12:04 PM, Jaime Kikpole wrote: I'm looking for new hardware for my web filter (FreeBSD + dansguardian + > squid). > > Can anyone suggest good (or warn about bad) models of hardware for > this? I'm looking for a small tower or compact chassis (not rack > mount) with two ethernet interfaces. I'd like RAID-1 as well, if > possible. I can spend anywhere from $1,000 to $3,500. > > My current system works well (2.0GHz, dual core, 8GB RAM, RAID-1, two > 160GB disks, 3 100Mbps NICs), but I want to replace it with two > identical boxes. Right now, its a single point of failure. So I'm > hoping to rsync configs between two systems that are on line at all > times. Then, if I need up upgrade software or the hardware breaks, I > can just swap the box. > > Any pointers on this project are appreciated, especially what models > of computers would work well with FreeBSD. > > Thanks in advance, > Jaime Just out of curiosity, why not rack-mounted boxed? You don't have to necessarily mount them .... I ran 2 1U boxes under a desk for years, they stood up on their short edge and leaned against the wall and no one was the wiser to them being their (and they kept my feet warm in the winter :P) -- > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 17:45:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CEFF106566C for ; Tue, 26 Apr 2011 17:45:26 +0000 (UTC) (envelope-from jkikpole@cairodurham.org) Received: from na3sys009aog108.obsmtp.com (na3sys009aog108.obsmtp.com [74.125.149.199]) by mx1.freebsd.org (Postfix) with ESMTP id 963D08FC0A for ; Tue, 26 Apr 2011 17:45:25 +0000 (UTC) Received: from mail-gy0-f169.google.com ([209.85.160.169]) (using TLSv1) by na3sys009aob108.postini.com ([74.125.148.12]) with SMTP ID DSNKTbcEtO9nqJZtTL52mahLTUx/qZ+F8QPS@postini.com; Tue, 26 Apr 2011 10:45:25 PDT Received: by gyd8 with SMTP id 8so336883gyd.28 for ; Tue, 26 Apr 2011 10:45:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.182.105 with SMTP id n69mr1256881yhm.8.1303839924093; Tue, 26 Apr 2011 10:45:24 -0700 (PDT) Received: by 10.147.136.18 with HTTP; Tue, 26 Apr 2011 10:45:24 -0700 (PDT) In-Reply-To: References: Date: Tue, 26 Apr 2011 13:45:24 -0400 Message-ID: From: Jaime Kikpole To: Chris Brennan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Hardware suggestions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 17:45:26 -0000 On Tue, Apr 26, 2011 at 12:34 PM, Chris Brennan wrote: > Just out of curiosity, why not rack-mounted boxed? Space issues. They'll have to either fit on a shelf in one of two rooms, depending on the outcome of some other things. Any thoughts on brand or model? Thanks, Jaime -- Network Administrator Cairo-Durham Central School District http://cns.cairodurham.org From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 18:46:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79D7B1065672 for ; Tue, 26 Apr 2011 18:46:34 +0000 (UTC) (envelope-from Dave.Robison@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 3F46B8FC19 for ; Tue, 26 Apr 2011 18:46:33 +0000 (UTC) Received: from sbhfislrext01.fnfis.com ([192.168.249.167]) by SCSFISLTC01 (8.14.3/8.14.3) with ESMTP id p3QHkJs7025261 for ; Tue, 26 Apr 2011 12:46:19 -0500 Received: from sbhfisltcgw01.FNFIS.COM (Not Verified[10.132.248.121]) by sbhfislrext01.fnfis.com with MailMarshal (v6, 5, 4, 7535) id ; Tue, 26 Apr 2011 12:46:19 -0500 Received: from SBHFISLTCGW07.FNFIS.COM ([10.132.248.135]) by sbhfisltcgw01.FNFIS.COM with Microsoft SMTPSVC(6.0.3790.4675); Tue, 26 Apr 2011 12:46:18 -0500 Received: from lefty.vicor.com ([10.132.254.135]) by SBHFISLTCGW07.FNFIS.COM over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 26 Apr 2011 12:46:18 -0500 Message-ID: <4DB704E9.7000802@fisglobal.com> Date: Tue, 26 Apr 2011 10:46:17 -0700 From: "Robison, Dave" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110120 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4DB6D082.4020907@inbox.lv> <4DB6D839.3010809@inbox.lv> In-Reply-To: <4DB6D839.3010809@inbox.lv> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Apr 2011 17:46:18.0878 (UTC) FILETIME=[D91809E0:01CC0439] Subject: Re: Suddenly lots processes exits signal 11 (core dumped) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: david.robison@fisglobal.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 18:46:34 -0000 I second the idea that this is a RAM issue. Power down, ground yourself, remove and re-seat the RAM and see if the problem goes away. On 04/26/2011 07:35, Mikael Bak wrote: > C. P. Ghost wrote: >> On Tue, Apr 26, 2011 at 4:02 PM, Mikael Bak wrote: >>> Hi list, >>> >>> I have a system running FreeBSD 7.3. Its main function is running >>> Postfix SMTP server and a few perl based content filters. Nothing exotic >>> really. >>> >>> It has been nicely up and running approx 150 days when it suddenly >>> starts behaving very strange. >>> >>> First I noticed a converter script failing. It is basically a small >>> shell script that converts a quite big file replacing a few words using >>> sed. The output is mostly damaged. >>> >>> Another problem is that lots of processes exits signal 11 (core dumped). >>> And I need to restart them by hand. See dmesg output below. >>> >>> I know I don't give you guys much to go on. I just want to know it it's >>> possible to find out somehow if some hardware is failing and must be >>> changed. >>> >>> My first thought was overheating. But my collegue went to the site and >>> he said the hardware is not hot at all. >> If you didn't update the OS or the apps, it is almost certainly hardware- >> related. Probably a bad PSU, or bad RAM. The box doesn't have to >> overheat when one of those are degraded. >> > Hi, > Thanks fot the fast answer! > > The OS is regularly updated with "freebsd-update", but only within 7.3 > version. > > The apps are regularly updated with "portmaster". > > So I can't say nothig's ever changed. But I can only say that this is > the only machine I've ever seen behave like this. > > TIA, > Mikael > > _______________________________________________ > 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" > -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) daver@vicor.com david.robison@fisglobal.com _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________ From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 19:09:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DCA61065670 for ; Tue, 26 Apr 2011 19:09: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 223938FC1E for ; Tue, 26 Apr 2011 19:09:42 +0000 (UTC) Received: from muji2.config (93.97.24.219) by woodbine.london.02.net (8.5.133) id 4D8CD8C900C7C284 for freebsd-questions@freebsd.org; Tue, 26 Apr 2011 20:09:42 +0100 Message-ID: <4DB71875.9030304@onetel.com> Date: Tue, 26 Apr 2011 20:09:41 +0100 From: Chris Whitehouse User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.9) Gecko/20100924 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Hardware suggestions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 19:09:43 -0000 On 26/04/2011 18:45, Jaime Kikpole wrote: > On Tue, Apr 26, 2011 at 12:34 PM, Chris Brennan wrote: >> Just out of curiosity, why not rack-mounted boxed? > > Space issues. They'll have to either fit on a shelf in one of two > rooms, depending on the outcome of some other things. > > Any thoughts on brand or model? > > Thanks, > Jaime > hi If you google for "low power pc" you'll find some interesting machines mostly mini-itx with atom processors. EG you could have a look at http://www.fit-pc.com/web/fit-pc2/fit-pc2i-specifications/ and http://www.lowpowerpcs.co.uk/ I think some of these have been discussed on this list, certainly mini-itx boards have. chris From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 19:56:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35EEC106566C for ; Tue, 26 Apr 2011 19:56:47 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gx0-f196.google.com (mail-gx0-f196.google.com [209.85.161.196]) by mx1.freebsd.org (Postfix) with ESMTP id DC7A68FC24 for ; Tue, 26 Apr 2011 19:56:46 +0000 (UTC) Received: by gxk19 with SMTP id 19so160734gxk.7 for ; Tue, 26 Apr 2011 12:56:46 -0700 (PDT) Received: by 10.236.181.70 with SMTP id k46mr1522743yhm.29.1303846915037; Tue, 26 Apr 2011 12:41:55 -0700 (PDT) Received: from scorpio.seibercom.net (twdp-174-109-142-001.nc.res.rr.com [174.109.142.1]) by mx.google.com with ESMTPS id u40sm15589yhn.77.2011.04.26.12.41.53 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Apr 2011 12:41:54 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3QJvv44ssmz2CG52 for ; Tue, 26 Apr 2011 15:41:52 -0400 (EDT) Date: Tue, 26 Apr 2011 15:41:51 -0400 From: Jerry To: FreeBSD Message-ID: <20110426154151.55adde4e@scorpio> In-Reply-To: <4DB71875.9030304@onetel.com> References: <4DB71875.9030304@onetel.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEUeH4oAAI3//v8LDHmw s8gyNZ/b3ej7+vn+/v////+PjIc8Plaj/TnQAAACNElEQVQ4jaXUvW/aQBQAcFtKGZLFT+YY 3D1SR9SKoRMncE3IggU4kicGi1JYOgQwyYrgnLlSzhsoNkTuVJEp+ef6ztiAoV3aJ+QPfufn s987S/5fQvoXYPjztmfc514Ks+5JfGUCfrzt4+VabF+jwEV4DGEXN8N4p16sPLxHX07/V3qX yfF5D2H6K4V8j9NkyAphvkjBembD5PDFk3zeTzP1jcksyaV9w+d4ELmUoOp8N2p8uQVyhTAT uawnKNH2mie5lJp48mscUcbJUvg0mR6APwAoye9AMyWozY4gAh0vcxa5FJ4TKCuODESWtfkB 8AEQSupUXNIYH8FSC2w8X3eMBNbbVJpJ7MgECO5yJ9DUEWCYkzNAlsRsgwLQ1GkWqELbkDOh 1bUzoHagYkNh9MXlK/MQoA42gTxz2bhPM2DJedm8MZx6cNfJgEZJ5cmwPp5FZ/Ye8O2qTrFV dgOrHkZRBoheJiGrRquwAhnQ6GeTePPerWVmQelAQ5lwNqtvQd2lcooAV74/zR1BIRS19fy5 ru+B/8ReW9pYKMPjt609zDaitHHTGOO+Zu7gHvsKE7XbeE1QVuJXomIFuZgUJdXQdhpqEELc /e8RLjfi+cQ01yMdWot8UcCVxEWHEkcUrsDGuhaIEoM9kfgAR6jxHcmEV7tNURAl8KTHN9iF McKGFHGO62O62UMpbmlVuogQ7ndL8zXCiLeBy3xpfrqaXS/+AHDG4o8AvhuPeezD/3xL/hy/ Adjlg2odglF2AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: Hardware suggestions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 19:56:47 -0000 On Tue, 26 Apr 2011 20:09:41 +0100 Chris Whitehouse articulated: > On 26/04/2011 18:45, Jaime Kikpole wrote: > > On Tue, Apr 26, 2011 at 12:34 PM, Chris > > Brennan wrote: > >> Just out of curiosity, why not rack-mounted boxed? > > > > Space issues. They'll have to either fit on a shelf in one of two > > rooms, depending on the outcome of some other things. > > > > Any thoughts on brand or model? > > If you google for "low power pc" you'll find some interesting > machines mostly mini-itx with atom processors. The Intel Atom is Intel's line of low-power, low-cost and low-performance x86 and x86-64 microprocessors. It sounds like the OP is interested in something more substantial. -- Jerry ✌ jerry+fbsd@seibercom.net Disclaimer: off-list followups get on-list replies, ignored or reported as Spam. Do not CC this poster. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 20:41:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79209106566B for ; Tue, 26 Apr 2011 20:41:22 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 41DB58FC15 for ; Tue, 26 Apr 2011 20:41:21 +0000 (UTC) Received: from sbhfislrext02.fnfis.com ([192.168.249.140]) by SCSFISLTC02 (8.14.3/8.14.3) with ESMTP id p3QKfLw6010724 for ; Tue, 26 Apr 2011 15:41:21 -0500 Received: from SBHFISLTCGW04.FNFIS.COM (Not Verified[10.132.248.123]) by sbhfislrext02.fnfis.com with MailMarshal (v6, 5, 4, 7535) id ; Tue, 26 Apr 2011 15:41:17 -0500 Received: from sbhfisltcgw02.FNFIS.COM ([10.132.248.122]) by SBHFISLTCGW04.FNFIS.COM with Microsoft SMTPSVC(6.0.3790.4675); Tue, 26 Apr 2011 15:41:20 -0500 Received: from dtwin ([10.132.254.135]) by sbhfisltcgw02.FNFIS.COM over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 26 Apr 2011 15:41:20 -0500 From: "Devin Teske" To: , , "Teske, Devin" References: <4DB6D082.4020907@inbox.lv> <4DB6D839.3010809@inbox.lv> <4DB704E9.7000802@fisglobal.com> In-Reply-To: <4DB704E9.7000802@fisglobal.com> Date: Tue, 26 Apr 2011 13:41:05 -0700 Organization: Vicor, Inc. Message-ID: <007101cc0452$471bb7d0$d5532770$@vicor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJO29zzlRucAd5O2H68HduU6ERmTAFhjK1DAVCgclcBemDoMJNJgwKA Content-language: en-us X-OriginalArrivalTime: 26 Apr 2011 20:41:20.0801 (UTC) FILETIME=[4CBA5110:01CC0452] Cc: Subject: RE: Suddenly lots processes exits signal 11 (core dumped) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 20:41:22 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Robison, Dave > Sent: Tuesday, April 26, 2011 10:46 AM > To: freebsd-questions@freebsd.org > Subject: Re: Suddenly lots processes exits signal 11 (core dumped) >=20 > I second the idea that this is a RAM issue. >=20 > Power down, ground yourself, remove and re-seat the RAM and see if the > problem goes away. Here's a small ISO containing memtest86 (and more). This ISO is a "hybrid I= SO" meaning that you can either burn it to CD/DVD and boot off it, or you c= an dd(1) it to a thumb drive and boot off that. http://sourceforge.net/projects/druidbsd/files/Druid-0.0.iso/download Here's the instructions for writing it to USB (you likely already know how = to write an ISO to CD/DVD): 1. Download Druid-0.0.iso 2. Insert thumb drive 3. Execute: camcontrol devlist NOTE: find the `daN' device associated with your thumb drive 4. Execute: dd if=3DDruid-0.0.iso of=3D/dev/da5 NOTE: assuming `da5' is your thumb drive --- At this point, your thumb drive is ready to rock and roll --- Continue on to create a 2nd [visible] partition beyond the primary bootable= [invisible] partition (allowing you to use the remainder of your thumb dri= ve for usable storage)... 5. Execute: echo "p 2 0x0c * *" | fdisk -f - /dev/da5 NOTE: again, assuming `da5' is your thumb drive 6. Execute: newfs_msdos /dev/da5s2 NOTE: again, assuming `da5' is your thumb drive That's it. You now have a thumb drive with: a. An invisible boot partition for booting into Druid (a disc full of tools= ). b. A visible partition for storage, usable under Mac, Windows, Linux, and U= NIX. NOTE: This won't work with just ANY iso file, just ISOs that have been post= -processed with ISOLINUX's isohybrid utility. -- Devin >=20 > On 04/26/2011 07:35, Mikael Bak wrote: > > C. P. Ghost wrote: > >> On Tue, Apr 26, 2011 at 4:02 PM, Mikael Bak wrote: > >>> Hi list, > >>> > >>> I have a system running FreeBSD 7.3. Its main function is running > >>> Postfix SMTP server and a few perl based content filters. Nothing > >>> exotic really. > >>> > >>> It has been nicely up and running approx 150 days when it suddenly > >>> starts behaving very strange. > >>> > >>> First I noticed a converter script failing. It is basically a small > >>> shell script that converts a quite big file replacing a few words > >>> using sed. The output is mostly damaged. > >>> > >>> Another problem is that lots of processes exits signal 11 (core dumpe= d). > >>> And I need to restart them by hand. See dmesg output below. > >>> > >>> I know I don't give you guys much to go on. I just want to know it > >>> it's possible to find out somehow if some hardware is failing and > >>> must be changed. > >>> > >>> My first thought was overheating. But my collegue went to the site > >>> and he said the hardware is not hot at all. > >> If you didn't update the OS or the apps, it is almost certainly > >> hardware- related. Probably a bad PSU, or bad RAM. The box doesn't > >> have to overheat when one of those are degraded. > >> > > Hi, > > Thanks fot the fast answer! > > > > The OS is regularly updated with "freebsd-update", but only within 7.3 > > version. > > > > The apps are regularly updated with "portmaster". > > > > So I can't say nothig's ever changed. But I can only say that this is > > the only machine I've ever seen behave like this. > > > > TIA, > > Mikael > > > > _______________________________________________ > > 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 >=20 > -- > Dave Robison > Sales Solution Architect II > FIS Banking Solutions > 510/621-2089 (w) > 530/518-5194 (c) > 510/621-2020 (f) > daver@vicor.com > david.robison@fisglobal.com >=20 > _____________ >=20 > The information contained in this message is proprietary and/or confident= ial. If > you are not the intended recipient, please: (i) delete the message and al= l copies; > (ii) do not disclose, distribute or use the message in any manner; and (i= ii) notify > the sender immediately. In addition, please be aware that any message > addressed to our domain is subject to archiving and review by persons oth= er than > the intended recipient. Thank you. > _____________ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. _____________ From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 20:51:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F32D1065670 for ; Tue, 26 Apr 2011 20:51:08 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 6DD158FC12 for ; Tue, 26 Apr 2011 20:51:08 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 6CB49264E38C; Tue, 26 Apr 2011 15:52:18 -0500 (CDT) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I4lqCLG-DdAV; Tue, 26 Apr 2011 15:52:05 -0500 (CDT) Received: from [192.168.46.76] (173-160-104-249-Minnesota.hfc.comcastbusiness.net [173.160.104.249]) by server.cwis.biz (Postfix) with ESMTPSA id BE94B264E38B; Tue, 26 Apr 2011 15:52:05 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <201104261653.35417.milu@dat.pl> Date: Tue, 26 Apr 2011 15:50:54 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <403698FF-F38D-4250-A1E5-FF2D6DE8DAFE@cwis.biz> References: <6073BC9F-553D-41E2-AE42-341B61850EA7@cwis.biz> <6ABDD9A5-E75D-4998-8D49-C89B280F32D4@cwis.biz> <201104261653.35417.milu@dat.pl> To: Maciej Milewski X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions@freebsd.org Subject: Re: OpenVPN routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 20:51:08 -0000 On Apr 26, 2011, at 9:53 AM, Maciej Milewski wrote: > On Tuesday 26 of April 2011 15:45:22, Ryan Coleman wrote: >> I have a bridge set up, pingable... but can't ping the em1 = (192.168.46.2)=20 > from the remote machine. > ... >> push "route 192.168.47.0 255.255.255.0" >=20 > Have you tried adding the route to 192.168.46.0/24 subnet into the vpn = client? >=20 > You want to ping the host/interface on different subnet. If you don't = set the=20 > routing to this subnet how your client should know that he needs to = put that=20 > packet through tap interface not defaultroute which I suspect is = different?=20 >=20 > Can you show the output of netstat -rn of the vpn client? >=20 > You may try to look into tcpdump on the vpn router to find what is = going with=20 > your packets.And for such scenario like vpnclient->vpnserver->network = you may=20 > even not need nat just simple routing will be enough as long as you = set it up=20 > on right. >=20 > My setup is based on tun interfaces and works like a charm. I don't = use nat=20 > and I only added routing info to the specific routers in the internal=20= > networks. >=20 > Maciej Milewski I'm going to have to get this information when I get home and am not on = the office LAN. I can do ping tests specifically through the tap0 = interface but not check the netstat report properly from inside the = network. -- Ryan From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 23:15:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A228106564A for ; Tue, 26 Apr 2011 23:15:24 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id C033D8FC15 for ; Tue, 26 Apr 2011 23:15:23 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 402F2264E3A2; Tue, 26 Apr 2011 18:16:34 -0500 (CDT) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kfCIVz06LX0i; Tue, 26 Apr 2011 18:16:21 -0500 (CDT) Received: from [10.0.1.198] (70-89-202-1-invergrove-mn.hfc.comcastbusiness.net [70.89.202.1]) by server.cwis.biz (Postfix) with ESMTPSA id 363C2264E3A0; Tue, 26 Apr 2011 18:16:21 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v1084) From: Ryan Coleman In-Reply-To: <403698FF-F38D-4250-A1E5-FF2D6DE8DAFE@cwis.biz> Date: Tue, 26 Apr 2011 18:15:09 -0500 Message-Id: <612D04A1-EEAB-4443-A336-36A53CB7DA22@d3photography.com> References: <6073BC9F-553D-41E2-AE42-341B61850EA7@cwis.biz> <6ABDD9A5-E75D-4998-8D49-C89B280F32D4@cwis.biz> <201104261653.35417.milu@dat.pl> <403698FF-F38D-4250-A1E5-FF2D6DE8DAFE@cwis.biz> To: Ryan Coleman X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Maciej Milewski , freebsd-questions@freebsd.org Subject: Re: OpenVPN routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 23:15:24 -0000 On Apr 26, 2011, at 3:50 PM, Ryan Coleman wrote: > On Apr 26, 2011, at 9:53 AM, Maciej Milewski wrote: >=20 >> On Tuesday 26 of April 2011 15:45:22, Ryan Coleman wrote: >>> I have a bridge set up, pingable... but can't ping the em1 = (192.168.46.2)=20 >> from the remote machine. >> ... >>> push "route 192.168.47.0 255.255.255.0" >>=20 >> Have you tried adding the route to 192.168.46.0/24 subnet into the = vpn client? >>=20 >> You want to ping the host/interface on different subnet. If you don't = set the=20 >> routing to this subnet how your client should know that he needs to = put that=20 >> packet through tap interface not defaultroute which I suspect is = different?=20 >>=20 >> Can you show the output of netstat -rn of the vpn client? >>=20 >> You may try to look into tcpdump on the vpn router to find what is = going with=20 >> your packets.And for such scenario like vpnclient->vpnserver->network = you may=20 >> even not need nat just simple routing will be enough as long as you = set it up=20 >> on right. >>=20 >> My setup is based on tun interfaces and works like a charm. I don't = use nat=20 >> and I only added routing info to the specific routers in the internal=20= >> networks. >>=20 >> Maciej Milewski >=20 > I'm going to have to get this information when I get home and am not = on the office LAN. I can do ping tests specifically through the tap0 = interface but not check the netstat report properly from inside the = network. Maciej, Here you go:=20 Ryan-Colemans-MacBook-Pro:~ ryanjcole$ netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif = Expire default 10.0.1.1 UGSc 61 0 en1 10.0.1/24 link#5 UCS 3 0 en1 10.0.1.1 0:23:12:f7:37:cc UHLWI 89 1268 en1 = 1142 10.0.1.2 0:14:d1:1f:79:1b UHLWI 0 837 en1 = 183 10.0.1.198 127.0.0.1 UHS 0 0 lo0 10.0.1.255 ff:ff:ff:ff:ff:ff UHLWbI 0 6 en1 127 127.0.0.1 UCS 0 0 lo0 127.0.0.1 127.0.0.1 UH 2 75 lo0 169.254 link#5 UCS 0 0 en1 172.16.87/24 link#7 UC 1 0 vmnet1 172.16.87.255 ff:ff:ff:ff:ff:ff UHLWbI 0 3 vmnet1 192.168.46 192.168.47.2 UGSc 0 0 tap0 192.168.47 link#10 UC 1 0 tap0 192.168.47.2 link#10 UHLWI 1 0 tap0 Internet6: Destination Gateway = Flags Netif Expire ::1 ::1 = UH lo0 fe80::%lo0/64 fe80::1%lo0 = Uc lo0 fe80::1%lo0 link#1 = UHL lo0 fe80::%en1/64 link#5 = UC en1 fe80::224:36ff:fea1:1d68%en1 0:24:36:a1:1d:68 = UHLW en1 fe80::9227:e4ff:fef8:b2fb%en1 90:27:e4:f8:b2:fb = UHL lo0 ff01::/32 ::1 = Um lo0 ff02::/32 ::1 = UmC lo0 ff02::/32 link#5 = UmC en1 Ryan-Colemans-MacBook-Pro:~ ryanjcole$ ping 192.168.46.2 PING 192.168.46.2 (192.168.46.2): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 From owner-freebsd-questions@FreeBSD.ORG Tue Apr 26 23:15:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2876F1065695 for ; Tue, 26 Apr 2011 23:15:58 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id EDAAF8FC26 for ; Tue, 26 Apr 2011 23:15:57 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 9E0BB264E3A3; Tue, 26 Apr 2011 18:17:08 -0500 (CDT) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hyKQrB2CDOba; Tue, 26 Apr 2011 18:16:55 -0500 (CDT) Received: from [10.0.1.198] (70-89-202-1-invergrove-mn.hfc.comcastbusiness.net [70.89.202.1]) by server.cwis.biz (Postfix) with ESMTPSA id AC963264E3A0; Tue, 26 Apr 2011 18:16:55 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v1084) From: Ryan Coleman In-Reply-To: Date: Tue, 26 Apr 2011 18:15:44 -0500 Message-Id: <319CEB7E-9919-401A-A954-E6B118CF4EF6@cwis.biz> References: <6073BC9F-553D-41E2-AE42-341B61850EA7@cwis.biz> <6ABDD9A5-E75D-4998-8D49-C89B280F32D4@cwis.biz> To: Diego Arias X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Nathan Vidican , FreeBSD Mailing List Subject: Re: OpenVPN routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 26 Apr 2011 23:15:58 -0000 On Apr 26, 2011, at 9:07 AM, Diego Arias wrote: >=20 > If you need to route LAN - TO - LAN just enable the client-to-client. = Its a Security Feature of OpenVPN >=20 > http://www.secure-computing.net/wiki/index.php/OpenVPN/Routing >=20 I've done that and it had no effect :-\= From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 00:17:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AE6F1065676 for ; Wed, 27 Apr 2011 00:17:40 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id CDC918FC14 for ; Wed, 27 Apr 2011 00:17:39 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id p3QNol3c003759; Tue, 26 Apr 2011 19:50:47 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Tue, 26 Apr 2011 19:50:47 -0400 (EDT) From: Chris Hill To: Devin Teske In-Reply-To: <007101cc0452$471bb7d0$d5532770$@vicor.com> Message-ID: References: <4DB6D082.4020907@inbox.lv> <4DB6D839.3010809@inbox.lv> <4DB704E9.7000802@fisglobal.com> <007101cc0452$471bb7d0$d5532770$@vicor.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: david.robison@fisglobal.com, freebsd-questions@freebsd.org, "Teske, Devin" Subject: RE: Suddenly lots processes exits signal 11 (core dumped) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 00:17:40 -0000 On Tue, 26 Apr 2011, Devin Teske wrote: > Continue on to create a 2nd [visible] partition beyond the primary > bootable [invisible] partition (allowing you to use the remainder of > your thumb drive for usable storage)... > > 5. Execute: echo "p 2 0x0c * *" | fdisk -f - /dev/da5 > NOTE: again, assuming `da5' is your thumb drive tripel# echo "p 2 0x0c * *" | fdisk -f - /dev/da0 ******* Working on device /dev/da0 ******* fdisk: Class not found tripel# Any notion why? `man fdisk` isn't much help. Thanks. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 00:39:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E28871065670 for ; Wed, 27 Apr 2011 00:39:59 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id A5CEE8FC0C for ; Wed, 27 Apr 2011 00:39:59 +0000 (UTC) Received: from sbhfislrext02.fnfis.com ([192.168.249.140]) by SCSFISLTC02 (8.14.3/8.14.3) with ESMTP id p3R0dws4002854; Tue, 26 Apr 2011 19:39:58 -0500 Received: from sbhfisltcgw02.FNFIS.COM (Not Verified[10.132.248.122]) by sbhfislrext02.fnfis.com with MailMarshal (v6, 5, 4, 7535) id ; Tue, 26 Apr 2011 19:39:54 -0500 Received: from sbhfisltcgw02.FNFIS.COM ([10.132.248.122]) by sbhfisltcgw02.FNFIS.COM with Microsoft SMTPSVC(6.0.3790.4675); Tue, 26 Apr 2011 19:39:58 -0500 Received: from dtwin ([10.132.254.135]) by sbhfisltcgw02.FNFIS.COM over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 26 Apr 2011 19:39:57 -0500 From: "Devin Teske" To: "'Chris Hill'" References: <4DB6D082.4020907@inbox.lv> <4DB6D839.3010809@inbox.lv> <4DB704E9.7000802@fisglobal.com> <007101cc0452$471bb7d0$d5532770$@vicor.com> In-Reply-To: Date: Tue, 26 Apr 2011 17:39:40 -0700 Organization: Vicor, Inc. Message-ID: <00f101cc0473$9d1a2bf0$d74e83d0$@vicor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJO29zzlRucAd5O2H68HduU6ERmTAFhjK1DAVCgclcBemDoMAG7NNkfAVp5Qn6TMRI/cA== Content-language: en-us X-OriginalArrivalTime: 27 Apr 2011 00:39:57.0726 (UTC) FILETIME=[A247B3E0:01CC0473] Cc: david.robison@fisglobal.com, freebsd-questions@freebsd.org, "'Teske, Devin'" Subject: RE: Suddenly lots processes exits signal 11 (core dumped) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 00:40:00 -0000 > -----Original Message----- > From: Chris Hill [mailto:chris@monochrome.org] > Sent: Tuesday, April 26, 2011 4:51 PM > To: Devin Teske > Cc: david.robison@fisglobal.com; freebsd-questions@freebsd.org; Teske, Devin > Subject: RE: Suddenly lots processes exits signal 11 (core dumped) > > On Tue, 26 Apr 2011, Devin Teske wrote: > > > Continue on to create a 2nd [visible] partition beyond the primary > > bootable [invisible] partition (allowing you to use the remainder of > > your thumb drive for usable storage)... > > > > 5. Execute: echo "p 2 0x0c * *" | fdisk -f - /dev/da5 > > NOTE: again, assuming `da5' is your thumb drive > > tripel# echo "p 2 0x0c * *" | fdisk -f - /dev/da0 > ******* Working on device /dev/da0 ******* > fdisk: Class not found > tripel# Hmmm. Odd. That's worked for me on FreeBSD-4.11, 6.1, 7.2, and 8.1 (both i386 and amd64). What's the output of: uname -spr Also, after completing the dd(1) command, what's the output of: fdisk -p /dev/da5 It should look something like this: # /dev/da5 g c31 h64 s32 p 1 0x17 1 64259 a 1 Something you might also want to try is zapping the disk (wiping all contents) prior to trying again: dd if=/dev/zero of=/dev/da5 I once had a thumb drive that had slackware on it that needed to be "zapped" in the above manner before it worked properly. -- Devin > > Any notion why? `man fdisk` isn't much help. > > Thanks. > > -- > Chris Hill chris@monochrome.org > ** [ Busy Expunging ] _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________ From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 00:46:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37FAB106564A for ; Wed, 27 Apr 2011 00:46:04 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B8BE48FC15 for ; Wed, 27 Apr 2011 00:46:03 +0000 (UTC) Received: by wyf23 with SMTP id 23so1150554wyf.13 for ; Tue, 26 Apr 2011 17:46:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=DcTBrX8NtVKfYNrVLitadLde9o0+ECdEhVRwiZcjyWk=; b=Ts+CjUQv5t3k1yGKlchmI9MDG/zK4Ln5Kj11QfdKaM3LiB7afy0xweq+uAs4vUY8dV iQlGJC0GHMGFtxnhk05hyqv/9o8czPARhwduddNriCouYJ7JLS77pTDA6uae6J91noF/ dp6YdwzvsfAzPqs01fmSQ1L7nVSoh4a30MkXs= 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=NlyS6g6mTqjlRvlZ7ngkOfe7GGdpA8lJuJDmYKFyZ3yOCTfDzuqaOqab1XWV+tqh7C GJICA+2ebnM/oWszbysVMO1TPkmAmlNS3+sEq5r4LKDeX3WXwAV9cfUlWbnLrmh478Al zLK7j87uySP8YFSGMA7DrpdYj20FWQvULHn9Q= Received: by 10.227.9.131 with SMTP id l3mr1436333wbl.54.1303865162687; Tue, 26 Apr 2011 17:46:02 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id u9sm139231wbg.34.2011.04.26.17.45.59 (version=SSLv3 cipher=OTHER); Tue, 26 Apr 2011 17:46:01 -0700 (PDT) Date: Wed, 27 Apr 2011 01:45:54 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110427014554.1e4c5281@gumby.homeunix.com> In-Reply-To: References: <20110425151846.0a5359fd@gumby.homeunix.com> <20110425151536.GA61425@stainmore> <20110425175420.GA61811@stainmore> <20110425232908.4104e026@gumby.homeunix.com> <20110426025614.GA62745@stainmore> <20110426104151.596bcc19@gumby.homeunix.com> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 00:46:04 -0000 On Tue, 26 Apr 2011 16:23:11 +0200 "C. P. Ghost" wrote: > On Tue, Apr 26, 2011 at 11:41 AM, RW > wrote: > >> The above quote states that the memory not occupied by the remapped > >> object is zero filled. Which is to say that memory allocated by > >> mmap() is either filled with new data or filled with zeros. > > > > In context it says: > > > > =A0 =A0 "If len is not a multiple of the page-size, the mapped region > > may extend past the specified range. =A0Any such extension beyond the > > =A0 =A0 end of the mapped object will be zero-filled." > > > > To me the most straightforward reading of that is that it's > > referring to non-aligned address ranges. > > > > Your interpretation may well be the intended one, but where would > > that leave the anonymous mappings used by malloc? Are we to think > > of them as extensions beyond a non-existent mapped object, and thus > > infer that they are zero-filled? It's a bit of a stretch from > > what's written. >=20 > While it's not a *proof*, you could always do a little bit of black > box testing. I didn't really doubt it, if sbrk zero-filled then it would be a major security regression if mmap didn't provide the same behaviour.=20 =46rom vm_fault.c it looks clear a zeroed page is allocated when the location is neither file-backed nor written-out to swap. That's probably why mmap(2) doesn't bother to mention zero-filling except in a special case. =20 From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 01:20:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53C9B1065672 for ; Wed, 27 Apr 2011 01:20:59 +0000 (UTC) (envelope-from freebsd@f.copacetic.net) Received: from obscured.copacetic.net (obscured.copacetic.net [70.87.139.202]) by mx1.freebsd.org (Postfix) with ESMTP id 892A38FC08 for ; Wed, 27 Apr 2011 01:20:58 +0000 (UTC) Received: from soma.dmz.copacetic.net (c-71-234-140-116.hsd1.nh.comcast.net [71.234.140.116]) by obscured.copacetic.net (8.13.8/8.13.1) with ESMTP id p3R0vIMZ011902 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 26 Apr 2011 20:57:22 -0400 Received: from [172.16.100.108] (dhcp108.nh.copacetic.net [172.16.100.108]) by soma.dmz.copacetic.net (8.13.8/8.11.6) with ESMTP id p3R0vDvU065664; Tue, 26 Apr 2011 20:57:14 -0400 (EDT) Delivered-To: Devin.Teske@fisglobal.com Message-ID: <4DB769DA.80200@f.copacetic.net> Date: Tue, 26 Apr 2011 20:56:58 -0400 From: Steve Bernacki User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Chris Hill References: <4DB6D082.4020907@inbox.lv> <4DB6D839.3010809@inbox.lv> <4DB704E9.7000802@fisglobal.com> <007101cc0452$471bb7d0$d5532770$@vicor.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: david.robison@fisglobal.com, Devin Teske , freebsd-questions@freebsd.org, "Teske, Devin" Subject: Re: Suddenly lots processes exits signal 11 (core dumped) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 01:20:59 -0000 On 4/26/2011 7:50 PM, Chris Hill wrote: > [snip] > tripel# echo "p 2 0x0c * *" | fdisk -f - /dev/da0 > ******* Working on device /dev/da0 ******* > fdisk: Class not found > tripel# > > Try (note the single quotes): tripel# echo 'p 2 0x0c * *' | fdisk -f - /dev/da0 Just a hunch but perhaps the shell is globbing a filename. Steve From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 01:53:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAB47106566B for ; Wed, 27 Apr 2011 01:53:08 +0000 (UTC) (envelope-from vogelke@hcst.net) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id A332C8FC0C for ; Wed, 27 Apr 2011 01:53:08 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p3R1efOw030198 for ; Tue, 26 Apr 2011 21:40:41 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.14.3/8.14.3/Submit) id p3R1efAg030197; Tue, 26 Apr 2011 21:40:41 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 491CCB7EE; Tue, 26 Apr 2011 21:39:47 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: (message from Jaime Kikpole on Tue, 26 Apr 2011 12:04:34 -0400) Organization: Array Infotech X-Disclaimer: I don't speak for the USAF or Array Infotech. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 References: Message-Id: <20110427013950.491CCB7EE@kev.msw.wpafb.af.mil> Date: Tue, 26 Apr 2011 21:39:47 -0400 (EDT) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: Hardware suggestions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 01:53:08 -0000 >> On Tue, 26 Apr 2011 12:04:34 -0400, >> Jaime Kikpole said: J> I'm looking for new hardware for my web filter (FreeBSD + dansguardian + J> squid). Have a look at the Ars Technica system guides for suggestions on rolling your own PC. They discuss three general-purpose systems with an eye towards good gaming performance: the Budget Box ($600-$800), the Hot Rod (slightly higher-end at $1400-1600), and the God Box for when you hit the lottery. They don't emphasize any one OS, so check against the FreeBSD hardware compatibility list. http://arstechnica.com/gadgets/guides/2011/03/ars-system-guide-march-2011-edition.ars/ -- Karl Vogel I don't speak for the USAF or my company We are reluctant to admit that we owe our liberties to men of a type that today we hate and fear - unruly men, disturbers of the peace, men who resent and denounce what Whitman called "the insolence of elected persons" - in a word, free men. --Gerald W. Johnson, American Freedom and the Press, 1958 From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 02:51:14 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5477B106564A for ; Wed, 27 Apr 2011 02:51:14 +0000 (UTC) (envelope-from tunamt2@googlemail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id CE4E78FC12 for ; Wed, 27 Apr 2011 02:51:13 +0000 (UTC) Received: by qyk27 with SMTP id 27so746461qyk.13 for ; Tue, 26 Apr 2011 19:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=khNm+fK9nNJPrn9h5ZUPL30Kl1Mpx2wMJm8k2tXuVwg=; b=eS2xu+Yr9QWhyUe9VqbIEL0PW2M6Vfeq3zqWQiHlbW4zMnvO4cGzF+0yO5sQPLJGTv u3XpRkX9MUzZ6YSP1+h9G3dqUYZ9pFFyGbGiR7in0nc2M+Z0wblKQug6n84AKrt466IC aiBbLiMnikXtcT+pXDtS/CQ4Ukf2tlmfTc+pI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=R8knt7VirqY3GAJb3XZ9x/jqNOBvbArDekluozHAaBmwYN3GVLtVbFodSQPy/3XK2C aOnD9811mXQRwy9HxXJBWn7r/FRo2/tyOikOveg2OwhQ5ikN//5M+vZLY0DpBfsQLGxo XBEjGHaISiI8b5JXUed5GG6MFG+zlg3ff0EdM= MIME-Version: 1.0 Received: by 10.224.193.1 with SMTP id ds1mr1185176qab.231.1303870942232; Tue, 26 Apr 2011 19:22:22 -0700 (PDT) Received: by 10.224.45.76 with HTTP; Tue, 26 Apr 2011 19:22:22 -0700 (PDT) Date: Wed, 27 Apr 2011 04:22:22 +0200 Message-ID: From: egal egal To: freebsd-questions@FreeBSD.org X-Mailman-Approved-At: Wed, 27 Apr 2011 02:59:55 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: hello X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 02:51:14 -0000 Hello can you help me, i will freebsd 8.1 32bit downgraden to freebsd 7.1 or 7.2 as ? Please Help Marco Boelen From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 04:49:37 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98F861065672 for ; Wed, 27 Apr 2011 04:49:37 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 7B0F98FC18 for ; Wed, 27 Apr 2011 04:49:37 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 9851CE805FF; Tue, 26 Apr 2011 21:49:36 -0700 (PDT) Date: Tue, 26 Apr 2011 21:49:36 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20110427044933.GA9358@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24++ years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: was the problem/problemS surrounding upgrading "bind9" fixed? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 04:49:37 -0000 Guys, I never got my old, bind9[3.X] that is past its EOL to upgrade. Pretty sure I read about the same problem I found that some others had to. Am I misinformed? thanks in advance. gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 06:50:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F34381065672 for ; Wed, 27 Apr 2011 06:50:35 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id B019B8FC12 for ; Wed, 27 Apr 2011 06:50:35 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id EF41193; Wed, 27 Apr 2011 08:50:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FV1UZUyCojEB; Wed, 27 Apr 2011 08:50:28 +0200 (CEST) Received: from snifi.localnet (87-205-87-136.adsl.inetia.pl [87.205.87.136]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 8F1CE49; Wed, 27 Apr 2011 08:50:28 +0200 (CEST) From: Maciej Milewski To: Ryan Coleman Date: Wed, 27 Apr 2011 08:50:56 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.38-ARCH; KDE/4.6.2; x86_64; ; ) References: <6073BC9F-553D-41E2-AE42-341B61850EA7@cwis.biz> <403698FF-F38D-4250-A1E5-FF2D6DE8DAFE@cwis.biz> <612D04A1-EEAB-4443-A336-36A53CB7DA22@d3photography.com> In-Reply-To: <612D04A1-EEAB-4443-A336-36A53CB7DA22@d3photography.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104270850.56927.milu@dat.pl> Cc: freebsd-questions@freebsd.org Subject: Re: OpenVPN routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 06:50:36 -0000 On Wednesday 27 of April 2011 01:15:09, Ryan Coleman wrote: > Maciej, > Here you go: > Ryan-Colemans-MacBook-Pro:~ ryanjcole$ netstat -rn > Routing tables > Internet: > Destination Gateway Flags Refs Use Netif > Expire default 10.0.1.1 UGSc 61 0 > en1 10.0.1/24 link#5 UCS 3 0 > en1 10.0.1.1 0:23:12:f7:37:cc UHLWI 89 1268 > en1 1142 10.0.1.2 0:14:d1:1f:79:1b UHLWI 0 > 837 en1 183 10.0.1.198 127.0.0.1 UHS 0 > 0 lo0 10.0.1.255 ff:ff:ff:ff:ff:ff UHLWbI 0 > 6 en1 127 127.0.0.1 UCS 0 > 0 lo0 127.0.0.1 127.0.0.1 UH 2 > 75 lo0 169.254 link#5 UCS 0 > 0 en1 172.16.87/24 link#7 UC 1 0 > vmnet1 172.16.87.255 ff:ff:ff:ff:ff:ff UHLWbI 0 3 > vmnet1 192.168.46 192.168.47.2 UGSc 0 0 > tap0 192.168.47 link#10 UC 1 0 > tap0 192.168.47.2 link#10 UHLWI 1 0 > tap0 And this is with tap interfaces - I think it won't work. Don't use bridge mode if you have two subnets of /24. I saw examples that it would work only if you make one subnet accessible to both: local network and vpn network. Change your configuration from bridged to routed or change your vpn addressing space. If you'll go the routed way you may try this: http://www.secure-computing.net/wiki/index.php/FreeBSD_OpenVPN_Server/Routed -- Maciej Milewski From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 12:01:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 904851065674 for ; Wed, 27 Apr 2011 12:01:27 +0000 (UTC) (envelope-from gnrp@komkon2.de) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.freebsd.org (Postfix) with ESMTP id 176118FC27 for ; Wed, 27 Apr 2011 12:01:26 +0000 (UTC) X-Envelope-From: gnrp@komkon2.de Received: from adolfputzen ([141.23.38.5]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id p3RBcomR026324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 27 Apr 2011 13:38:50 +0200 Date: Wed, 27 Apr 2011 13:38:45 +0200 From: Julian Fagir To: freebsd-questions@freebsd.org Message-ID: <20110427133845.61347e05@adolfputzen> In-Reply-To: References: X-Mailer: Claws Mail 3.7.6 (GTK+ 2.14.7; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/OOTPkWrA1tg8uonVzsPQv4+"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Cc: tunamt2@googlemail.com Subject: Re: hello X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 12:01:27 -0000 --Sig_/OOTPkWrA1tg8uonVzsPQv4+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, > can you help me, i will freebsd 8.1 32bit downgraden to freebsd 7.1 or 7.2 > as ? I think you ask on one of the regional mailing lists in your mother tongue. According to your errors (German, Dutch?), your language has a regional mailing list, just have a look at: http://www.freebsd.org/community/mailinglists.html Anyway, you should define your problem more precisely and read the netiquette, probably some more conservative people will be offended by your post (name, subject, language). Regards, Julian --Sig_/OOTPkWrA1tg8uonVzsPQv4+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk24AEUACgkQc7h7cu1Hpp7IWQCfbG9f+RM44Uu+CWiRyRBA2cyf gk8An3xMm2ODXYfVSDGnbVmkFI0u5ktw =3uo9 -----END PGP SIGNATURE----- --Sig_/OOTPkWrA1tg8uonVzsPQv4+-- From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 12:06:42 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CCB21065678 for ; Wed, 27 Apr 2011 12:06:42 +0000 (UTC) (envelope-from sdimitr@otenet.gr) Received: from echidna.otenet.gr (echidna.otenet.gr [83.235.69.17]) by mx1.freebsd.org (Postfix) with ESMTP id 544768FC08 for ; Wed, 27 Apr 2011 12:06:39 +0000 (UTC) Received: from dionisos.otenet.gr (dionisos.otenet.gr [83.235.67.28]) by echidna.otenet.gr (ESMTP) with ESMTPS for ; Wed, 27 Apr 2011 15:06:28 +0300 (EEST) Received: from PC (athedsl-4392381.home.otenet.gr [79.130.117.173]) by dionisos.otenet.gr (8.13.8/8.13.8) with ESMTP id p3RC6M8H010417 for ; Wed, 27 Apr 2011 15:06:25 +0300 From: =?iso-8859-7?B?xOfs5/Tx/PDv9evv8iDT8P3x7/I=?= To: Date: Wed, 27 Apr 2011 15:06:26 +0300 Message-ID: <000001cc04d3$8ac15b80$a0441280$@gr> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcwEyAS75ymolVrtS+i9ewulsDIusAAC1Muw Content-Language: el Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD 8.2 AHCI Timeouts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 12:06:42 -0000 Hello all, I'm a new Unix user and I'm having the same problem with the user below. I've bought the same netbook (Toshiba NB250) and tried to install the FreeBSD i386 distribution. Please let me know if you need further information. Thanks in advance for your reply. Dimitropoulos Spiros FreeBSD 8.1 AHCI Timeouts Mak Kolybabi mak at kolybabi.com Sun Jul 25 05:42:26 UTC 2010 * Previous message: searching INDEX in .sh * Next message: TexLive on FreeBSD 8.1 * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] _____ I bought a netbook today, and am trying to get FreeBSD 8.1 amd64 installed on it. As is my custom, I'm trying to back up the default system image the device came with. But no matter what I do, FreeBSD seems unable to properly interact with the hard drive. The netbook is a Toshiba NB250. The hard drive is listed by the BIOS as TOSHIBA MK1665GSXV-(S1). The BIOS version is V1.30. The first thing I did was boot the FreeBSD 8.1 amd64 USB install image, move to a fixit session using the live USB filesystem, and try and dd the hard drive to a USB stick. When I did that, the dd went terribly slow (a few KB a minute, before stalling), while dmesg was printing out: > ad0: FAILURE - READ_DMA status=51 error=0 LBA=20530 These DMA failures occur regardless of whether the drive is in compatibility or AHCI mode. The next thing I did was boot again, changed the drive to AHCI mode, and did a "load ahci.ko" in the bootloader command prompt. The dd caused: > ahcich0: Timeout on slot 0 > ahcich0: is 00000000 cs 00000000 ss 00000000 rs 00000000 tfd 40 serr 00000000 The next thing I did was boot again, with the drive in AHCI mode, and did a "load ataahci.ko" in the bootloader command prompt. The dd caused: > ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=2048 Doing some searches on the Internet for this problem, people often asked for verbose dmesg, pciconf, and vmstat output. I have attached them all. Any assistance would be greatly appreciated. -------------- next part -------------- Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff8127c000. Preloaded mfs_root "/boot/mfsroot" at 0xffffffff8127c230. Preloaded elf obj module "/boot/kernel/ahci.ko" at 0xffffffff8127c280. Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 1662690860 Hz CPU: Intel(R) Atom(TM) CPU N455 @ 1.66GHz (1662.69-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x106ca Family = 6 Model = 1c Stepping = 10 Features=0xbfe9fbff Features2=0x40e39d AMD Features=0x20100800 AMD Features2=0x1 TSC: P-state invariant real memory = 1073741824 (1024 MB) Physical memory chunk(s): 0x0000000000001000 - 0x0000000000099fff, 626688 bytes (153 pages) 0x00000000012aa000 - 0x000000003d7cbfff, 1012015104 bytes (247074 pages) avail memory = 1004281856 (957 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 x86bios: IVT 0x000000-0x0004ff at 0xffffff0000000000 x86bios: SSEG 0x010000-0x01ffff at 0xffffff800000e000 x86bios: EBDA 0x09d000-0x09ffff at 0xffffff000009d000 x86bios: ROM 0x0a0000-0x0effff at 0xffffff00000a0000 APIC: CPU 0 has ACPI ID 0 APIC: CPU 1 has ACPI ID 1 ULE: setup cpu 0 ULE: setup cpu 1 ACPI: RSDP 0xf7ca0 00024 (v2 TOSCPL) ACPI: XSDT 0x3f5d7ae1 00074 (v1 TOSCPL TOSCPL00 06040000 LTP 00000000) ACPI: FACP 0x3f5dfc60 000F4 (v3 TOSCPL TOSCPL00 06040000 PTL 00000002) ACPI: DSDT 0x3f5d8c77 06F75 (v1 TOSCPL TOSCPL00 06040000 MSFT 03000000) ACPI: FACS 0x3f5e2fc0 00040 ACPI: TCPA 0x3f5dfd54 00032 (v1 Phoeni x 06040000 TL 00000000) ACPI: HPET 0x3f5dfd86 00038 (v1 DELL M09 06040000 LOHR 0000005A) ACPI: MCFG 0x3f5dfdbe 0003C (v1 INTEL CRESTLNE 06040000 LOHR 0000005A) ACPI: SLIC 0x3f5dfdfa 00176 (v1 TOSCPL TOSCPL00 06040000 LOHR 00000000) ACPI: APIC 0x3f5dff70 00068 (v1 TOSCPL TOSCPL00 06040000 LTP 00000000) ACPI: BOOT 0x3f5dffd8 00028 (v1 TOSCPL TOSCPL00 06040000 LTP 00000001) ACPI: SSDT 0x3f5d80d7 0025F (v1 PmRef Cpu0Tst 00003000 INTL 20050624) ACPI: SSDT 0x3f5d8031 000A6 (v1 PmRef Cpu1Tst 00003000 INTL 20050624) ACPI: SSDT 0x3f5d7b55 004DC (v2 PmRef CpuPm 00003000 INTL 20050624) MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000 ioapic0: Routing external 8259A's -> intpin 0 lapic0: Routing NMI -> LINT1 lapic0: LINT1 trigger: edge lapic0: LINT1 polarity: high lapic1: Routing NMI -> LINT1 lapic1: LINT1 trigger: edge lapic1: LINT1 polarity: high MADT: Interrupt override: source 0, irq 2 ioapic0: Routing IRQ 0 -> intpin 2 MADT: Interrupt override: source 9, irq 9 ioapic0: intpin 9 trigger: level ioapic0 irqs 0-23 on motherboard cpu0 BSP: ID: 0x00000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00000200 err: 0x000000f0 pmc: 0x00010400 wlan: <802.11 Link Layer> random: nfslock: pseudo-device kbd: new array size 4 kbd1 at kbdmux0 mem: io: null: hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2 acpi0: on motherboard PCIe: Memory Mapped configuration base @ 0xe0000000 ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48 acpi0: [MPSAFE] acpi0: [ITHREAD] acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: \\_SB_.PCI0.MPCE -> bus 0 dev 0 func 0 acpi0: Power Button (fixed) acpi0: wakeup code va 0xffffff8000003000 pa 0x4000 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: \\_SB_.PCI0.REGS -> bus 0 dev 0 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: \\_SB_.PCI0.IGD0.IGDP -> bus 0 dev 2 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: \\_SB_.PCI0.LPC0.REGS -> bus 0 dev 31 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: \\_SB_.PCI0.LPC0.MMTO -> bus 0 dev 31 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: \\_SB_.PCI0.LPC0.PIRX -> bus 0 dev 31 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: \\_SB_.PCI0.LPC0.PIRY -> bus 0 dev 31 func 0 ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 ACPI: SSDT 0x3f5d89a0 00203 (v2 PmRef Cpu0Ist 00003000 INTL 20050624) ACPI: SSDT 0x3f5d8336 005E5 (v2 PmRef Cpu0Cst 00003001 INTL 20050624) cpu1: on acpi0 ACPI: SSDT 0x3f5d8ba3 000D4 (v2 PmRef Cpu1Ist 00003000 INTL 20050624) ACPI: SSDT 0x3f5d891b 00085 (v2 PmRef Cpu1Cst 00003000 INTL 20050624) acpi_ec0: port 0x62,0x66 on acpi0 pci_link0: Index IRQ Rtd Ref IRQs Initial Probe 0 7 N 0 3 4 5 6 7 10 11 12 14 15 Validation 0 7 N 0 3 4 5 6 7 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 7 10 11 12 14 15 pci_link1: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 3 4 5 6 7 10 11 12 14 15 Validation 0 11 N 0 3 4 5 6 7 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 7 10 11 12 14 15 pci_link2: Index IRQ Rtd Ref IRQs Initial Probe 0 5 N 0 3 4 5 6 7 10 11 12 14 15 Validation 0 5 N 0 3 4 5 6 7 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 7 10 11 12 14 15 pci_link3: Index IRQ Rtd Ref IRQs Initial Probe 0 10 N 0 3 4 5 6 7 10 11 12 14 15 Validation 0 10 N 0 3 4 5 6 7 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 7 10 11 12 14 15 pci_link4: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 6 7 10 11 12 14 15 Validation 0 255 N 0 3 4 5 6 7 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 7 10 11 12 14 15 pci_link5: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 6 7 10 11 12 14 15 Validation 0 255 N 0 3 4 5 6 7 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 7 10 11 12 14 15 pci_link6: Index IRQ Rtd Ref IRQs Initial Probe 0 10 N 0 3 4 5 6 7 10 11 12 14 15 Validation 0 10 N 0 3 4 5 6 7 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 7 10 11 12 14 15 pci_link7: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 3 4 5 6 7 10 11 12 14 15 Validation 0 11 N 0 3 4 5 6 7 10 11 12 14 15 After Disable 0 255 N 0 3 4 5 6 7 10 11 12 14 15 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 acpi_hpet0: vend: 0x8086 rev: 0x1 num: 3 hz: 14318180 opts: legacy_route 64-bit Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x8086, dev=0xa010, revid=0x00 domain=0, bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x2090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0xa011, revid=0x00 domain=0, bus=0, slot=2, func=0 class=03-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x0090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=7 powerspec 2 supports D0 D3 current D0 MSI supports 1 message map[10]: type Memory, range 32, base 0xf0200000, size 19, enabled map[14]: type I/O Port, range 32, base 0x18d0, size 3, enabled map[18]: type Prefetchable Memory, range 32, base 0xd0000000, size 28, enabled map[1c]: type Memory, range 32, base 0xf0000000, size 20, enabled pcib0: matched entry for 0.2.INTA pcib0: slot 2 INTA hardwired to IRQ 16 found-> vendor=0x8086, dev=0xa012, revid=0x00 domain=0, bus=0, slot=2, func=1 class=03-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x0090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 map[10]: type Memory, range 32, base 0xf0280000, size 19, enabled found-> vendor=0x8086, dev=0x27d8, revid=0x02 domain=0, bus=0, slot=27, func=0 class=04-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=10 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit map[10]: type Memory, range 64, base 0xf0500000, size 14, enabled pcib0: matched entry for 0.27.INTA pcib0: slot 27 INTA hardwired to IRQ 22 found-> vendor=0x8086, dev=0x27d0, revid=0x02 domain=0, bus=0, slot=28, func=0 class=06-04-00, hdrtype=0x01, mfdev=1 cmdreg=0x0000, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=7 powerspec 2 supports D0 D3 current D0 MSI supports 1 message pcib0: matched entry for 0.28.INTA pcib0: slot 28 INTA hardwired to IRQ 16 found-> vendor=0x8086, dev=0x27d2, revid=0x02 domain=0, bus=0, slot=28, func=1 class=06-04-00, hdrtype=0x01, mfdev=1 cmdreg=0x0007, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns) intpin=b, irq=11 powerspec 2 supports D0 D3 current D0 MSI supports 1 message pcib0: matched entry for 0.28.INTB pcib0: slot 28 INTB hardwired to IRQ 17 found-> vendor=0x8086, dev=0x27d4, revid=0x02 domain=0, bus=0, slot=28, func=2 class=06-04-00, hdrtype=0x01, mfdev=1 cmdreg=0x0007, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns) intpin=c, irq=5 powerspec 2 supports D0 D3 current D0 MSI supports 1 message pcib0: matched entry for 0.28.INTC pcib0: slot 28 INTC hardwired to IRQ 18 found-> vendor=0x8086, dev=0x27c8, revid=0x02 domain=0, bus=0, slot=29, func=0 class=0c-03-00, hdrtype=0x00, mfdev=1 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 map[20]: type I/O Port, range 32, base 0x1820, size 5, enabled pcib0: matched entry for 0.29.INTA pcib0: slot 29 INTA hardwired to IRQ 23 unknown: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1820 found-> vendor=0x8086, dev=0x27c9, revid=0x02 domain=0, bus=0, slot=29, func=1 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=10 map[20]: type I/O Port, range 32, base 0x1840, size 5, enabled pcib0: matched entry for 0.29.INTB pcib0: slot 29 INTB hardwired to IRQ 19 unknown: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1840 found-> vendor=0x8086, dev=0x27ca, revid=0x02 domain=0, bus=0, slot=29, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=5 map[20]: type I/O Port, range 32, base 0x1860, size 5, enabled pcib0: matched entry for 0.29.INTC pcib0: slot 29 INTC hardwired to IRQ 18 unknown: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1860 found-> vendor=0x8086, dev=0x27cb, revid=0x02 domain=0, bus=0, slot=29, func=3 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=d, irq=7 map[20]: type I/O Port, range 32, base 0x1880, size 5, enabled pcib0: matched entry for 0.29.INTD pcib0: slot 29 INTD hardwired to IRQ 16 unknown: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1880 found-> vendor=0x8086, dev=0x27cc, revid=0x02 domain=0, bus=0, slot=29, func=7 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 powerspec 2 supports D0 D3 current D0 map[10]: type Memory, range 32, base 0xf0504000, size 10, enabled pcib0: matched entry for 0.29.INTA pcib0: slot 29 INTA hardwired to IRQ 23 unknown: Reserved 0x400 bytes for rid 0x10 type 3 at 0xf0504000 found-> vendor=0x8086, dev=0x2448, revid=0xe2 domain=0, bus=0, slot=30, func=0 class=06-04-01, hdrtype=0x01, mfdev=0 cmdreg=0x0005, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x27bc, revid=0x02 domain=0, bus=0, slot=31, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x27c1, revid=0x02 domain=0, bus=0, slot=31, func=2 class=01-06-01, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=10 powerspec 2 supports D0 D3 current D0 MSI supports 1 message map[10]: type I/O Port, range 32, base 0x18e8, size 3, enabled map[14]: type I/O Port, range 32, base 0x18dc, size 2, enabled map[18]: type I/O Port, range 32, base 0x18e0, size 3, enabled map[1c]: type I/O Port, range 32, base 0x18d8, size 2, enabled map[20]: type I/O Port, range 32, base 0x18c0, size 4, enabled map[24]: type Memory, range 32, base 0xf0504400, size 10, enabled pcib0: matched entry for 0.31.INTB pcib0: slot 31 INTB hardwired to IRQ 19 found-> vendor=0x8086, dev=0x27da, revid=0x02 domain=0, bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=10 map[20]: type I/O Port, range 32, base 0x18a0, size 5, enabled pcib0: matched entry for 0.31.INTB pcib0: slot 31 INTB hardwired to IRQ 19 vgapci0: port 0x18d0-0x18d7 mem 0xf0200000-0xf027ffff,0xd0000000-0xdfffffff,0xf0000000-0xf00fffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 vgapci0: Reserved 0x10000000 bytes for rid 0x18 type 3 at 0xd0000000 vgapci0: Reserved 0x80000 bytes for rid 0x10 type 3 at 0xf0200000 vgapci0: Reserved 0x100000 bytes for rid 0x1c type 3 at 0xf0000000 agp0: detected 8188k stolen memory agp0: aperture size is 256M vgapci1: mem 0xf0280000-0xf02fffff at device 2.1 on pci0 pci0: at device 27.0 (no driver attached) pcib1: irq 16 at device 28.0 on pci0 pcib1: domain 0 pcib1: secondary bus 5 pcib1: subordinate bus 5 pcib1: I/O decode 0x0-0x0 pcib1: no prefetched decode pci5: on pcib1 pci5: domain=0, physical bus=5 pcib2: irq 17 at device 28.1 on pci0 pcib2: domain 0 pcib2: secondary bus 7 pcib2: subordinate bus 7 pcib2: I/O decode 0xf000-0xfff pcib2: memory decode 0xf0100000-0xf01fffff pcib2: no prefetched decode pci7: on pcib2 pci7: domain=0, physical bus=7 found-> vendor=0x168c, dev=0x002b, revid=0x01 domain=0, bus=7, slot=0, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 powerspec 3 supports D0 D1 D3 current D0 MSI supports 1 message map[10]: type Memory, range 64, base 0xf0100000, size 16, enabled pcib2: requested memory range 0xf0100000-0xf010ffff: good pcib2: matched entry for 7.0.INTA pcib2: slot 0 INTA hardwired to IRQ 17 ath0: mem 0xf0100000-0xf010ffff irq 17 at device 0.0 on pci7 ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xf0100000 ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 0 vector 49 ath0: [MPSAFE] ath0: [ITHREAD] ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps ath0: 11ng MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps ath0: AR9285 mac 192.2 RF5133 phy 14.0 ath0: Use hw queue 1 for WME_AC_BE traffic ath0: Use hw queue 0 for WME_AC_BK traffic ath0: Use hw queue 2 for WME_AC_VI traffic ath0: Use hw queue 3 for WME_AC_VO traffic ath0: Use hw queue 8 for CAB traffic ath0: Use hw queue 9 for beacons ath0: using multicast key search pcib3: irq 18 at device 28.2 on pci0 pcib3: domain 0 pcib3: secondary bus 9 pcib3: subordinate bus 9 pcib3: I/O decode 0x2000-0x2fff pcib3: prefetched decode 0xf0500000-0xf05fffff pci9: on pcib3 pci9: domain=0, physical bus=9 found-> vendor=0x10ec, dev=0x8136, revid=0x05 domain=0, bus=9, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=5 powerspec 3 supports D0 D1 D2 D3 current D0 MSI supports 1 message, 64 bit MSI-X supports 4 messages in map 0x20 map[10]: type I/O Port, range 32, base 0x2000, size 8, enabled pcib3: requested I/O range 0x2000-0x20ff: in range map[18]: type Prefetchable Memory, range 64, base 0xf050c000, size 12, enabled pcib3: requested memory range 0xf050c000-0xf050cfff: good map[20]: type Prefetchable Memory, range 64, base 0xf0508000, size 14, enabled pcib3: requested memory range 0xf0508000-0xf050bfff: good pcib3: matched entry for 9.0.INTA pcib3: slot 0 INTA hardwired to IRQ 18 re0: port 0x2000-0x20ff mem 0xf050c000-0xf050cfff,0xf0508000-0xf050bfff irq 18 at device 0.0 on pci9 re0: Reserved 0x1000 bytes for rid 0x18 type 3 at 0xf050c000 re0: MSI count : 1 re0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 256 to local APIC 0 vector 50 re0: using IRQ 256 for MSI re0: Using 1 MSI messages re0: Chip rev. 0x2c000000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: bpf attached re0: Ethernet address: 88:ae:1d:46:55:36 re0: [MPSAFE] re0: [FILTER] uhci0: port 0x1820-0x183f irq 23 at device 29.0 on pci0 ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 0 vector 51 uhci0: [MPSAFE] uhci0: [ITHREAD] usbus0: on uhci0 uhci1: port 0x1840-0x185f irq 19 at device 29.1 on pci0 ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 0 vector 52 uhci1: [MPSAFE] uhci1: [ITHREAD] usbus1: on uhci1 uhci2: port 0x1860-0x187f irq 18 at device 29.2 on pci0 ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 0 vector 53 uhci2: [MPSAFE] uhci2: [ITHREAD] usbus2: on uhci2 uhci3: port 0x1880-0x189f irq 16 at device 29.3 on pci0 ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 0 vector 54 uhci3: [MPSAFE] uhci3: [ITHREAD] usbus3: on uhci3 ehci0: mem 0xf0504000-0xf05043ff irq 23 at device 29.7 on pci0 ehci0: [MPSAFE] ehci0: [ITHREAD] usbus4: EHCI version 1.0 usbus4: on ehci0 pcib4: at device 30.0 on pci0 pcib4: domain 0 pcib4: secondary bus 17 pcib4: subordinate bus 17 pcib4: I/O decode 0xf000-0xfff pcib4: no prefetched decode pcib4: Subtractively decoded bridge. pci17: on pcib4 pci17: domain=0, physical bus=17 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0x18e8-0x18ef,0x18dc-0x18df,0x18e0-0x18e7,0x18d8-0x18db,0x18c0-0x18cf mem 0xf0504400-0xf05047ff irq 19 at device 31.2 on pci0 ahci0: Reserved 0x400 bytes for rid 0x24 type 3 at 0xf0504400 ahci0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 257 to local APIC 0 vector 55 ahci0: using IRQ 257 for MSI ahci0: [MPSAFE] ahci0: [ITHREAD] ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier not supported ahci0: Caps: 64bit NCQ ALP AL CLO 3Gbps PMD SSC PSC 32cmd 4ports ahci0: Caps2: ahcich0: at channel 0 on ahci0 ahcich0: [MPSAFE] ahcich0: [ITHREAD] ahcich0: Caps: ahcich1: at channel 1 on ahci0 ahcich1: [MPSAFE] ahcich1: [ITHREAD] ahcich1: Caps: ahcich2: at channel 2 on ahci0 ahcich2: [MPSAFE] ahcich2: [ITHREAD] ahcich2: Caps: ahcich3: at channel 3 on ahci0 ahcich3: [MPSAFE] ahcich3: [ITHREAD] ahcich3: Caps: pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 atrtc0: registered as a time-of-day clock (resolution 1000000us) acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 0 vector 56 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: unable to allocate IRQ psmcpnp0: irq 12 on acpi0 psm0: current command byte:0047 psm0: irq 12 on atkbdc0 ioapic0: routing intpin 12 (ISA IRQ 12) to lapic 0 vector 57 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000008, packet size:3 psm0: syncmask:c0, syncbits:00 ex_isa_identify() isa_probe_children: disabling PnP devices atkbdc: atkbdc0 already exists; skipping it atrtc: atrtc0 already exists; skipping it sc: sc0 already exists; skipping it isa_probe_children: probing non-PnP devices orm0: at iomem 0xce000-0xcefff,0xdc000-0xdffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd1, terminal emulator: scteken (teken terminal) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 ppc0: cannot reserve I/O port range ppc0: failed to probe at irq 7 on isa0 uart0: failed to probe at port 0x3f8-0x3ff irq 4 on isa0 uart1: failed to probe at port 0x2f8-0x2ff irq 3 on isa0 isa_probe_children: probing PnP devices est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 Device configuration finished. procfs registered lapic: Divisor 2, Frequency 83134550 Hz Timecounter "TSC" frequency 1662690860 Hz quality -100 Timecounters tick every 1.000 msec vlan: initialized, using hash tables with chaining lo0: bpf attached hptrr: no controller detected. ahcich0: AHCI reset... ahcich0: SATA connect time=0ms status=00000123 ahcich0: ready wait time=0ms ahcich0: AHCI reset done: device found ahcich1: AHCI reset... ahcich1: SATA offline status=00000004 ahcich1: AHCI reset done: phy reset found no device ahcich2: AHCI reset... ahcich2: SATA offline status=00000004 ahcich2: AHCI reset done: phy reset found no device ahcich3: AHCI reset... ahcich3: SATA offline status=00000004 ahcich3: AHCI reset done: phy reset found no device (aprobe0:ahcich0:0:0:0): SIGNATURE: 0000 md0: Preloaded image 4194304 bytes at 0xffffffff80e6aa98usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-8 SATA 2.x device ada0: Serial Number 50KBB02ZB ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: Command Queueing enabled ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C) pass0 at ahcich0 bus 0 scbus0 target 0 lun 0 pass0: ATA-8 SATA 2.x device pass0: Serial Number 50KBB02ZB pass0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) pass0: Command Queueing enabled acpi_acad0: acline initialization start battery0: battery initialization start ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 GEOM: new disk ada0 acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times ATA PseudoRAID loaded SMP: AP CPU #1 Launched! cpu1 AP: ID: 0x01000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000200ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered GEOM: ada0: partition 4 does not start on a track boundary. GEOM: ada0: partition 4 does not end on a track boundary. GEOM: ada0: partition 3 does not start on a track boundary. GEOM: ada0: partition 3 does not end on a track boundary. GEOM: ada0: partition 2 does not start on a track boundary. GEOM: ada0: partition 2 does not end on a track boundary. GEOM: ada0: partition 1 does not start on a track boundary. GEOM: ada0: partition 1 does not end on a track boundary. uhub4: 8 ports with 8 removable, self powered ugen4.2: at usbus4 umass0: on usbus4 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:4:0:-1: Attached to scbus4 (probe0:umass-sim0:0:0:0): Down reving Protocol Version from 2 to 0? (probe0:umass-sim0:0:0:0): SCSI status error (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): SCSI sense: NOT READY asc:3a,0 (Medium not present) (probe0:umass-sim0:0:0:0): Error 6, Unretryable error pass1 at umass-sim0 bus 0 scbus4 target 0 lun 0 pass1: Removable Direct Access SCSI-0 device pass1: Serial Number 20090516388200000 pass1: 40.000MB/s transfers (da0:umass-sim0:0:0:0): SCSI status error (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (da0:umass-sim0:0:0:0): Error 6, Unretryable error da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: Serial Number 20090516388200000 da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present ugen4.3: at usbus4 umass1: on usbus4 umass1: SCSI over Bulk-Only; quirks = 0x4000 umass1:5:1:-1: Attached to scbus5 pass2 at umass-sim1 bus 1 scbus5 target 0 lun 0 pass2: Removable Direct Access SCSI-2 device pass2: Serial Number 2821200085074C11 pass2: 40.000MB/s transfers da1 at umass-sim1 bus 1 scbus5 target 0 lun 0 da1: Removable Direct Access SCSI-2 device da1: Serial Number 2821200085074C11 da1: 40.000MB/s transfers da1: 1985MB (4065280 512 byte sectors: 255H 63S/T 253C) ugen4.4: at usbus4 ahcich0: Timeout on slot 0 ahcich0: is 00000000 cs 00000000 ss 00000000 rs 00000001 tfd 40 serr 00000000 ahcich0: AHCI reset... ahcich0: SATA connect time=0ms status=00000123 ahcich0: ready wait time=0ms ahcich0: AHCI reset done: device found (ada0:ahcich0:0:0:0): Command timed out (ada0:ahcich0:0:0:0): Retrying command GEOM: new disk da0 GEOM: new disk da1 (da0:umass-sim0:0:0:0): SCSI status error (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (da0:umass-sim0:0:0:0): Error 6, Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): SCSI status error (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (da0:umass-sim0:0:0:0): Error 6, Unretryable error Opened disk da0 -> 6 GEOM: da1: media size does not match label. Trying to mount root from ufs:/dev/md0 ct_to_ts([2010-07-25 12:44:09]) = 1280061849.000000000 start_init: trying /sbin/init start_init: trying /sbin/oinit start_init: trying /sbin/init.bak start_init: trying /rescue/init start_init: trying /stand/sysinstall battery0: battery initialization failed, giving up ugen4.5: at usbus4 umass2: on usbus4 umass2: SCSI over Bulk-Only; quirks = 0x0000 umass2:6:2:-1: Attached to scbus6 (probe0:umass-sim2:2:0:0): Down reving Protocol Version from 2 to 0? (probe0:umass-sim2:2:0:0): SCSI status error (probe0:umass-sim2:2:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim2:2:0:0): CAM status: SCSI Status Error (probe0:umass-sim2:2:0:0): SCSI status: Check Condition (probe0:umass-sim2:2:0:0): SCSI sense: UNIT ATTENTION asc:3a,0 (Medium not present) (probe0:umass-sim2:2:0:0): Retrying command (per sense data) pass3 at umass-sim2 bus 2 scbus6 target 0 lun 0 pass3: Removable Direct Access SCSI-0 device pass3: Serial Number 35145307E35347F3 pass3: 40.000MB/s transfers GEOM: new disk da2 da2 at umass-sim2 bus 2 scbus6 target 0 lun 0 da2: Removable Direct Access SCSI-0 device da2: Serial Number 35145307E35347F3 da2: 40.000MB/s transfers da2: 7663MB (15695871 512 byte sectors: 255H 63S/T 977C) GEOM: da2s1: geometry does not match label (128h,63s != 255h,63s). ugen4.5: at usbus4 (disconnected) umass2: at uhub4, port 1, addr 5 (disconnected) (da2:umass-sim2:2:0:0): lost device (da2:umass-sim2:2:0:0): removing device entry (pass3:umass-sim2:2:0:0): lost device (pass3:umass-sim2:2:0:0): removing device entry ugen4.5: at usbus4 umass2: on usbus4 umass2: SCSI over Bulk-Only; quirks = 0x0000 umass2:6:2:-1: Attached to scbus6 (probe0:umass-sim2:2:0:0): Down reving Protocol Version from 2 to 0? (probe0:umass-sim2:2:0:0): SCSI status error (probe0:umass-sim2:2:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim2:2:0:0): CAM status: SCSI Status Error (probe0:umass-sim2:2:0:0): SCSI status: Check Condition (probe0:umass-sim2:2:0:0): SCSI sense: UNIT ATTENTION asc:3a,0 (Medium not present) (probe0:umass-sim2:2:0:0): Retrying command (per sense data) (probe0:umass-sim2:2:0:0): SCSI status error (probe0:umass-sim2:2:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim2:2:0:0): CAM status: SCSI Status Error (probe0:umass-sim2:2:0:0): SCSI status: Check Condition (probe0:umass-sim2:2:0:0): SCSI sense: UNIT ATTENTION asc:3a,0 (Medium not present) (probe0:umass-sim2:2:0:0): Retrying command (per sense data) pass3 at umass-sim2 bus 2 scbus6 target 0 lun 0 pass3: Removable Direct Access SCSI-0 device pass3: Serial Number 35145307E35347F3 pass3: 40.000MB/s transfers GEOM: new disk da2 da2 at umass-sim2 bus 2 scbus6 target 0 lun 0 da2: Removable Direct Access SCSI-0 device da2: Serial Number 35145307E35347F3 da2: 40.000MB/s transfers da2: 7663MB (15695871 512 byte sectors: 255H 63S/T 977C) ugen4.2: at usbus4 (disconnected) umass0: at uhub4, port 4, addr 2 (disconnected) (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry (pass1:umass-sim0:0:0:0): lost device (pass1:umass-sim0:0:0:0): removing device entry ugen4.2: at usbus4 umass0: on usbus4 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:4:0:-1: Attached to scbus4 (probe0:umass-sim0:0:0:0): Down reving Protocol Version from 2 to 0? (probe0:umass-sim0:0:0:0): SCSI status error (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): SCSI sense: NOT READY asc:3a,0 (Medium not present) (probe0:umass-sim0:0:0:0): Error 6, Unretryable error pass1 at umass-sim0 bus 0 scbus4 target 0 lun 0 pass1: Removable Direct Access SCSI-0 device pass1: Serial Number 20090516388200000 pass1: 40.000MB/s transfers GEOM: new disk da0 (da0:umass-sim0:0:0:0): SCSI status error (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (da0:umass-sim0:0:0:0): Error 6, Unretryable error da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: Serial Number 20090516388200000 da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): SCSI status error (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (da0:umass-sim0:0:0:0): Error 6, Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): SCSI status error (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status: Check Condition (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (da0:umass-sim0:0:0:0): Error 6, Unretryable error Opened disk da0 -> 6 -------------- next part -------------- hostb0 at pci0:0:0:0: class=0x060000 card=0xff601179 chip=0xa0108086 rev=0x00 hdr=0x00 class = bridge subclass = HOST-PCI vgapci0 at pci0:0:2:0: class=0x030000 card=0xff601179 chip=0xa0118086 rev=0x00 hdr=0x00 class = display subclass = VGA vgapci1 at pci0:0:2:1: class=0x038000 card=0xff601179 chip=0xa0128086 rev=0x00 hdr=0x00 class = display none0 at pci0:0:27:0: class=0x040300 card=0xff601179 chip=0x27d88086 rev=0x02 hdr=0x00 class = multimedia subclass = HDA pcib1 at pci0:0:28:0: class=0x060400 card=0xff601179 chip=0x27d08086 rev=0x02 hdr=0x01 class = bridge subclass = PCI-PCI pcib2 at pci0:0:28:1: class=0x060400 card=0xff601179 chip=0x27d28086 rev=0x02 hdr=0x01 class = bridge subclass = PCI-PCI pcib3 at pci0:0:28:2: class=0x060400 card=0xff601179 chip=0x27d48086 rev=0x02 hdr=0x01 class = bridge subclass = PCI-PCI uhci0 at pci0:0:29:0: class=0x0c0300 card=0xff601179 chip=0x27c88086 rev=0x02 hdr=0x00 class = serial bus subclass = USB uhci1 at pci0:0:29:1: class=0x0c0300 card=0xff601179 chip=0x27c98086 rev=0x02 hdr=0x00 class = serial bus subclass = USB uhci2 at pci0:0:29:2: class=0x0c0300 card=0xff601179 chip=0x27ca8086 rev=0x02 hdr=0x00 class = serial bus subclass = USB uhci3 at pci0:0:29:3: class=0x0c0300 card=0xff601179 chip=0x27cb8086 rev=0x02 hdr=0x00 class = serial bus subclass = USB ehci0 at pci0:0:29:7: class=0x0c0320 card=0xff601179 chip=0x27cc8086 rev=0x02 hdr=0x00 class = serial bus subclass = USB pcib4 at pci0:0:30:0: class=0x060401 card=0xff601179 chip=0x24488086 rev=0xe2 hdr=0x01 class = bridge subclass = PCI-PCI isab0 at pci0:0:31:0: class=0x060100 card=0xff601179 chip=0x27bc8086 rev=0x02 hdr=0x00 class = bridge subclass = PCI-ISA ahci0 at pci0:0:31:2: class=0x010601 card=0xff601179 chip=0x27c18086 rev=0x02 hdr=0x00 class = mass storage subclass = SATA none1 at pci0:0:31:3: class=0x0c0500 card=0xff601179 chip=0x27da8086 rev=0x02 hdr=0x00 class = serial bus subclass = SMBus ath0 at pci0:7:0:0: class=0x028000 card=0xe8111113 chip=0x002b168c rev=0x01 hdr=0x00 class = network re0 at pci0:9:0:0: class=0x020000 card=0xff601179 chip=0x813610ec rev=0x05 hdr=0x00 class = network subclass = ethernet -------------- next part -------------- interrupt total rate irq1: atkbd0 1572 1 irq9: acpi0 572 0 irq23: uhci0 ehci0 2111 1 cpu0: timer 2916673 1999 irq256: re0 2868 1 irq257: ahci0 126 0 cpu1: timer 2916486 1998 Total 5840408 4003 _____ * Previous message: searching INDEX in .sh * Next message: TexLive on FreeBSD 8.1 * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] _____ More information about the freebsd-questions mailing list " From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 14:21:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9AB0106564A for ; Wed, 27 Apr 2011 14:21:22 +0000 (UTC) (envelope-from nvidican@m2.vidican.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 820E18FC14 for ; Wed, 27 Apr 2011 14:21:22 +0000 (UTC) Received: by ywf7 with SMTP id 7so799958ywf.13 for ; Wed, 27 Apr 2011 07:21:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.77.5 with SMTP id c5mr2940735yhe.126.1303914081350; Wed, 27 Apr 2011 07:21:21 -0700 (PDT) Sender: nvidican@m2.vidican.com Received: by 10.147.182.3 with HTTP; Wed, 27 Apr 2011 07:21:21 -0700 (PDT) X-Originating-IP: [136.1.1.105] In-Reply-To: References: Date: Wed, 27 Apr 2011 10:21:21 -0400 X-Google-Sender-Auth: 6--lrZsd6BYar8IvKFgkyctaoZ8 Message-ID: From: Nathan Vidican To: Jaime Kikpole Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Hardware suggestions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 14:21:22 -0000 On Tue, Apr 26, 2011 at 12:04 PM, Jaime Kikpole wrote: > I'm looking for new hardware for my web filter (FreeBSD + dansguardian + = squid). > > Can anyone suggest good (or warn about bad) models of hardware for > this? =A0I'm looking for a small tower or compact chassis (not rack > mount) with two ethernet interfaces. =A0I'd like RAID-1 as well, if > possible. =A0I can spend anywhere from $1,000 to $3,500. > > My current system works well (2.0GHz, dual core, 8GB RAM, RAID-1, two > 160GB disks, 3 100Mbps NICs), but I want to replace it with two > identical boxes. =A0Right now, its a single point of failure. =A0So I'm > hoping to rsync configs between two systems that are on line at all > times. =A0Then, if I need up upgrade software or the hardware breaks, I > can just swap the box. > > Any pointers on this project are appreciated, especially what models > of computers would work well with FreeBSD. > > Thanks in advance, > Jaime > > -- > Network Administrator > Cairo-Durham Central School District > http://cns.cairodurham.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.o= rg" > For what it's worth, I would do two things: #1 - consult the FreeBSD hardware compatability list, (see http://www.freebsd.org/releases/8.2R/hardware.html for 8.2-RELEASE), and piece together your own white-box hardware, (ie: pick compatible system board, processor, memory, disks and controllers) usually the best bang for the buck in my experience. #2 - instead of hot-spare (having both machines there but only one plugged in) - you might want to read up on using CARP; CARP will allow automatic failover and can trigger scripts to perform actions when the failover event occurs - this may be a far better option than having to physically plug a machine in place of another. See the handbook for more detail on CARP: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/carp.html --=20 Nathan Vidican nathan@vidican.com From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 14:41:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2DF6106564A for ; Wed, 27 Apr 2011 14:41:30 +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 7A1D08FC0C for ; Wed, 27 Apr 2011 14:41:30 +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 p3REd5Wq029839; Wed, 27 Apr 2011 10:39:05 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id p3REd47v029838; Wed, 27 Apr 2011 10:39:04 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 27 Apr 2011 10:39:04 -0400 From: Jerry McAllister To: Julian Fagir Message-ID: <20110427143904.GB29722@gizmo.acns.msu.edu> References: <20110427133845.61347e05@adolfputzen> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110427133845.61347e05@adolfputzen> User-Agent: Mutt/1.4.2.2i Cc: tunamt2@googlemail.com, freebsd-questions@freebsd.org Subject: Re: hello X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 14:41:30 -0000 On Wed, Apr 27, 2011 at 01:38:45PM +0200, Julian Fagir wrote: > Hi, > > > can you help me, i will freebsd 8.1 32bit downgraden to freebsd 7.1 or 7.2 > > as ? > I think you ask on one of the regional mailing lists in your mother tongue. > According to your errors (German, Dutch?), your language has a regional > mailing list, just have a look at: > http://www.freebsd.org/community/mailinglists.html > > Anyway, you should define your problem more precisely and read the > netiquette, probably some more conservative people will be offended by your > post (name, subject, language). Huh?? The only thing wrong is missing a meaningful subject -- which can cause people to ignore the post. But, the question is quite clear, though I have no idea why [s]he wants to do that downgrade and might want to explore that before encouraging that move. ////jerry > > > Regards, Julian From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 14:42:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F38DB1065670 for ; Wed, 27 Apr 2011 14:42:10 +0000 (UTC) (envelope-from jkikpole@cairodurham.org) Received: from na3sys009aog110.obsmtp.com (na3sys009aog110.obsmtp.com [74.125.149.203]) by mx1.freebsd.org (Postfix) with ESMTP id 78ECF8FC1E for ; Wed, 27 Apr 2011 14:42:10 +0000 (UTC) Received: from mail-yi0-f44.google.com ([209.85.218.44]) (using TLSv1) by na3sys009aob110.postini.com ([74.125.148.12]) with SMTP ID DSNKTbgrQGtCCQJBvBQKWzlbO9dZH574g0r8@postini.com; Wed, 27 Apr 2011 07:42:10 PDT Received: by yic13 with SMTP id 13so645548yic.3 for ; Wed, 27 Apr 2011 07:42:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.176.166 with SMTP id b26mr2807722yhm.142.1303915327888; Wed, 27 Apr 2011 07:42:07 -0700 (PDT) Received: by 10.147.136.18 with HTTP; Wed, 27 Apr 2011 07:42:07 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 Apr 2011 10:42:07 -0400 Message-ID: From: Jaime Kikpole To: Nathan Vidican Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Hardware suggestions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 14:42:11 -0000 My thanks to everyone for their replies. I guess that I wasn't specific enough about my needs, though. I don't need a tiny chassis. In fact, I need a proxy for around 750-900 computers, so an Atom system or the like wouldn't work for me. I just have no rack space left. Fortunately, I might have found a way around this. So if you have any pre-built servers to recommend, I'd greatly appreciate it. For example, I'm currently reviewing the Dell PowerEdge T310's specs. Nate: Thanks. I read the handbook's entry on CARP last night. It looks easier than I had previously thought. I've started setting up a VMware environment of 2 FreeBSD systems and a unix desktop to try it out as a way to build a fail-over proxy. Looks like I'd have to stop using my current "in-line" design, though. Currently, I have a FreeBSD box between my network as a whole and the Internet connection. It acts as a router, a firewall, and a transparent proxy. CARP would require the system to not be "in-line," because a failed system would mean no router. Did I understand that correctly? Thanks to all, Jaime -- Network Administrator Cairo-Durham Central School District http://cns.cairodurham.org From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 15:10:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DA90106564A for ; Wed, 27 Apr 2011 15:10:35 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A2F6D8FC15 for ; Wed, 27 Apr 2011 15:10:34 +0000 (UTC) Received: by fxm11 with SMTP id 11so1693872fxm.13 for ; Wed, 27 Apr 2011 08:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=7t7gGZXqWkE2eW3VZ2I7vXG2PH7QHRO8d3pwsIBGPZo=; b=eTvwD7jZbGEUdawHQch6yvea8mmK4jPmyTtc+FETsUj5EJBuntBK+yAv0pRMDeObR/ fPEpzyunClp3FLPzMaS+K4B2aWSIaFxXH//AS36rwclKGObyc1+iDnBXGRvq0yaZKwSL 5sgHqGzBtp0HnhSKfd3I4XkRYGbfoQx5zeq3g= 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=jcL7M2TKlcqG7POWtLLJxfK85fkLqrDPNAdG4v4KRvSp3jyKBmRF3GxXBOHykUlcLm V8wr8b9ZKx8tUcp/26lF///c5UVNleV9t6qSrzEuNn2oIV21hYKBJ9bztomeTbnhTK71 rwigoZ7rnBPYUi2tgHmqu6WVZykg4tPetJokg= MIME-Version: 1.0 Received: by 10.223.52.7 with SMTP id f7mr2499381fag.16.1303917033381; Wed, 27 Apr 2011 08:10:33 -0700 (PDT) Received: by 10.223.20.145 with HTTP; Wed, 27 Apr 2011 08:10:33 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 Apr 2011 10:10:33 -0500 Message-ID: From: Adam Vande More To: Jaime Kikpole Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Nathan Vidican , freebsd-questions@freebsd.org Subject: Re: Hardware suggestions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 15:10:35 -0000 On Wed, Apr 27, 2011 at 9:42 AM, Jaime Kikpole wrote: > My thanks to everyone for their replies. I guess that I wasn't > specific enough about my needs, though. I don't need a tiny chassis. > In fact, I need a proxy for around 750-900 computers, so an Atom > system or the like wouldn't work for me. I just have no rack space > left. Fortunately, I might have found a way around this. > > So if you have any pre-built servers to recommend, I'd greatly > appreciate it. For example, I'm currently reviewing the Dell > PowerEdge T310's specs. > I have a couple of T310 in production. They are nice machines but get the intel NIC's. Nate: > > Thanks. I read the handbook's entry on CARP last night. It looks > easier than I had previously thought. I've started setting up a > VMware environment of 2 FreeBSD systems and a unix desktop to try it > out as a way to build a fail-over proxy. > > Looks like I'd have to stop using my current "in-line" design, though. > Currently, I have a FreeBSD box between my network as a whole and the > Internet connection. It acts as a router, a firewall, and a > transparent proxy. CARP would require the system to not be "in-line," > because a failed system would mean no router. Did I understand that > correctly? > If you use CARP + HAST you can achieve true HA for your proxy. And no, the device would still be inline as you describe it except there would be two of them. If you get the intel NIC's, I'd dedicate them to your real traffic and reserve the broadcom's for HAST replication. If cache consistency is not uber important for your proxy, I'd probably skip the HAST though. It's relatively slow, and may not provide enough benefit in your setup. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 15:24:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2617106566B for ; Wed, 27 Apr 2011 15:24:03 +0000 (UTC) (envelope-from rjhjr0@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 725D78FC1E for ; Wed, 27 Apr 2011 15:24:03 +0000 (UTC) Received: by yxl31 with SMTP id 31so624336yxl.13 for ; Wed, 27 Apr 2011 08:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=9YqmbpJrcEaIgjfC5nl8HF0fTzjd0wL5AobrKmjKDcg=; b=tC5hbJN6MR+gOoWnS1vbXcN9G0oIjn9T/eW+wU2c+B7D5ICe6b2+Jy8Z+AsB/HZdtd FmRcfQWdcGXZBSwdcAfZLMjPAZujj9ILFdiGPzvkH7GmJd9OzK33iNsX13NaEpKnhgJS 29eyOWnycbGLFr5Fp9rhal07thiknMSRTdrs4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; b=ipbWtB0jPkN5GNXHb2rWiwHYXOlfuWpEFVLvhuUzJdZE4UbRzEl9PalK+Et5BY1nMJ 5YBmMTyie9jcc641xAGJNsxQuaip/uP2lz1mn13EBgnCj7Nq6WwaP4vpKpEt1MhI0+FW IEj9Rm1MywanMtDz4//IkPm/1WCS3AyQ6iqZE= Received: by 10.151.47.9 with SMTP id z9mr2019064ybj.306.1303917842616; Wed, 27 Apr 2011 08:24:02 -0700 (PDT) Received: from localhost (ip98-163-115-74.dc.dc.cox.net [98.163.115.74]) by mx.google.com with ESMTPS id q33sm467112yba.13.2011.04.27.08.24.00 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 27 Apr 2011 08:24:01 -0700 (PDT) Date: Wed, 27 Apr 2011 06:14:02 -0400 From: Bob Hall To: RW Message-ID: <20110427095420.GA41208@kongemord.krig.net> Mail-Followup-To: Bob Hall , RW , freebsd-questions@freebsd.org References: <20110425151846.0a5359fd@gumby.homeunix.com> <20110425151536.GA61425@stainmore> <20110425175420.GA61811@stainmore> <20110425232908.4104e026@gumby.homeunix.com> <20110426025614.GA62745@stainmore> <20110426104151.596bcc19@gumby.homeunix.com> <20110427014554.1e4c5281@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110427014554.1e4c5281@gumby.homeunix.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 15:24:03 -0000 On Tue, Apr 26, 2011 at 11:41 AM, RW wrote: >> The above quote states that the memory not occupied by the remapped >> object is zero filled. Which is to say that memory allocated by >> mmap() is either filled with new data or filled with zeros. > > In context it says: > >     "If len is not a multiple of the page-size, the mapped region > may extend past the specified range.  Any such extension beyond the >     end of the mapped object will be zero-filled." > > To me the most straightforward reading of that is that it's > referring to non-aligned address ranges. > > Your interpretation may well be the intended one, but where would > that leave the anonymous mappings used by malloc? Are we to think > of them as extensions beyond a non-existent mapped object, and thus > infer that they are zero-filled? It's a bit of a stretch from > what's written. malloc() uses either sbrk or mmap to extend the heap. As far as I know, sbrk extends the heap with zero filled memory. According to the man page, mmap extends it either with remapped data, or with remapped data plus additional zero filled memory. This answers the original poster's question. If you've gone on to a different issue then I apologize for not following you. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 15:35:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB71A106566C for ; Wed, 27 Apr 2011 15:35:57 +0000 (UTC) (envelope-from gnrp@komkon2.de) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.freebsd.org (Postfix) with ESMTP id 342558FC23 for ; Wed, 27 Apr 2011 15:35:56 +0000 (UTC) X-Envelope-From: gnrp@komkon2.de X-Envelope-To: Received: from adolfputzen (q827es.in-vpn.de [217.197.85.227]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id p3RFZtgW014102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 27 Apr 2011 17:35:55 +0200 Date: Wed, 27 Apr 2011 17:35:50 +0200 From: Julian Fagir To: freebsd-questions@freebsd.org Message-ID: <20110427173550.1aa40f37@adolfputzen> In-Reply-To: <20110427143904.GB29722@gizmo.acns.msu.edu> References: <20110427133845.61347e05@adolfputzen> <20110427143904.GB29722@gizmo.acns.msu.edu> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.14.7; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/8+e7rpVDGfS+.2BOxiB3IKx"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Subject: Re: hello X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 15:35:57 -0000 --Sig_/8+e7rpVDGfS+.2BOxiB3IKx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, > Huh?? =20 > The only thing wrong is missing a meaningful subject -- which can > cause people to ignore the post. I don't feel offended myself... But I read several times people (though mostly news) who would feel so by the subject, the name (translated to "don= 't care don't care") and the lack of information, and of not having tried everything else one can think of before mailing. And I know I'm contributing now myself by placing off-topic posts on (n)etiquette when it wasn't asked for nor even necessary to give that advice... ;) > But, the question is quite clear, though I have no idea why [s]he > wants to do that downgrade and might want to explore that before > encouraging that move. That was what I was looking for, and for what was already done and how the system is usually updated (binary, sources) or if it was ever updated, and what the system does, i.e. which software is installed. And even why it shall be 7.2 or 7.1 and nothing newer. Regards, Julian --Sig_/8+e7rpVDGfS+.2BOxiB3IKx Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk24N9YACgkQc7h7cu1Hpp6yAgCgmS/o+6oYsI+a7ibllNlAFHW7 3koAoJJYmJqWKoShCglNY8smDw0/rdYB =khw+ -----END PGP SIGNATURE----- --Sig_/8+e7rpVDGfS+.2BOxiB3IKx-- From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 17:38:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE4AA106566B for ; Wed, 27 Apr 2011 17:38: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 37D658FC12 for ; Wed, 27 Apr 2011 17:38:52 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QF8hP-0007DK-Oe for freebsd-questions@freebsd.org; Wed, 27 Apr 2011 19:38:51 +0200 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 19:38:51 +0200 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 19:38:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Wed, 27 Apr 2011 13:41:16 -0400 Lines: 77 Message-ID: References: <20110427133845.61347e05@adolfputzen> <20110427143904.GB29722@gizmo.acns.msu.edu> <20110427173550.1aa40f37@adolfputzen> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: hello X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 17:38:53 -0000 Julian Fagir wrote: [snip] > >> But, the question is quite clear, though I have no idea why [s]he >> wants to do that downgrade and might want to explore that before >> encouraging that move. > That was what I was looking for, and for what was already done and how the > system is usually updated (binary, sources) or if it was ever updated, and > what the system does, i.e. which software is installed. > And even why it shall be 7.2 or 7.1 and nothing newer. > > > Regards, Julian Language difficulties are problematic by themselves, but most professionals are not concerned with this as long as the information is there with which to address the actual problem. There are several methods for upgrading systems and they essentially break down into two categories - binary or source. I am fairly unfamiliar with the binary approaches as I have always used the source-based method. I believe one caveat with the binary method is it only works with the GENERIC (the original kernel from the base install) kernel, so if you desire to run custom kernels the source upgrade process may be a better way to go. The main point to be aware of is the ABI changes (and potential breakages) which occur when changing major version numbers, e.g., for example when going from 7.x version to 8.x version. When doing a source based upgrade (also known as "the make buildworld kernel installxxx..." dance) from one major version to the next you will need to rebuild all installed ports immediately after (and indeed as part of) so that they will then be linked against the new major versions' libraries. Mostly this process is driven by the need to upgrade, and there are actually compatibility shims which allow for running a previous version of an application (let's say an app limited to run only on 6.x or 7.x) on the newer operating system version. An example would be to install the /usrports/misc/compat7x port on an 8.x machine in order to support an app designed for 7.x. Although this is only an example for illustrative purposes, it also may _not_ be applicable in your situation as it provides compatibility shims for 7.3. So there are any number of available avenues open for you to choose from, and some reading on the upgrade procedures covered in the Handbook might be a good way to become more familiar in order to make a more informed decision on exactly which may be the best for your specific situation. In addition to all the other upgrade methodologies which might actually allow for you to do an actual "downgrade" successfully, you may also wish to consider starting from scratch. I would tend to proceed in this direction if I was taking over a mess someone else had created. Many times a fresh OS can be installed, the application installed, and the previous configuration files and data can simply be copied to the new install. This way you know everything about the machine you are now responsible for as opposed to never knowing for sure everything your predecessor may have screwed up. First thing I do is study the situation and not make any changes to anything until I've figured out exactly what I need to do. Backups of all data is essential; I always dump everything so I can always recover back to a known good if something goes terribly wrong. First and foremost question I have is concerning the statement: "And even why it shall be 7.2 or 7.1 and nothing newer. " We really need to understand this completely first. More details on this may be useful for potentially providing better advice. -Mike PS: I don't like any app which absolutely says it 'requires' a version of an operating system which may not receive security updates and whose End-of- Life may expire before I need to stop relying on this application. Whenever I've seen this in the past it has most often been associated with bad and defective coding by whoever wrote the app, and nursing it along only pushed off into the future actually dealing with the problem of a broken app. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 18:53:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E18F106564A for ; Wed, 27 Apr 2011 18:53:54 +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 584D28FC16 for ; Wed, 27 Apr 2011 18:53:54 +0000 (UTC) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id D884B471852 for ; Wed, 27 Apr 2011 20:34:59 +0200 (CEST) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 4B01E3865B4 for ; Wed, 27 Apr 2011 20:35:00 +0200 (CEST) (envelope-from lconrad@Go2France.com) Date: Wed, 27 Apr 2011 20:34:50 +0200 Message-Id: <201104272034.AA935264726@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Len Conrad" X-Sender: To: X-Mailer: Subject: ELF interpreter /libexec/ld-elf.so.1 not found 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: Wed, 27 Apr 2011 18:53:54 -0000 FreeBSD in a jail at Johncompanies.com uname -a FreeBSD 7.2-RELEASE-p1-jc2 FreeBSD 7.2-RELEASE-p1-jc2 #0: Thu Jun 18 15:16:49 PDT 2009 Johncompanies.com:/usr/obj/usr/src/sys/jail8 amd64 portstap fetch update nmap installed with make && make install nmap a.b.c.d -p 143 -sU ELF interpreter /libexec/ld-elf.so.1 not found Abort locate ld-elf.so.1 /libexec/ld-elf.so.1 /usr/libexec/ld-elf.so.1 /usr/share/man/man1/ld-elf.so.1.1.gz Len From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 19:24:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56C48106566B for ; Wed, 27 Apr 2011 19:24:19 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 14FF88FC08 for ; Wed, 27 Apr 2011 19:24:18 +0000 (UTC) Received: by gwb15 with SMTP id 15so954100gwb.13 for ; Wed, 27 Apr 2011 12:24:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=FVDUEZGxDfGfY/b/uFRTxBgnd3izZjYT52UvbgQ3Fp0=; b=BrXBjpU8XoZKQamzz0WJmOWogyWvyJKTGPi7CI5qmFpzkRvwwo+VWe/2ztBf/DtWl7 ePphmxHwhnfSctD/tXYnrLnt8zhd95GEgNCIl7uasm7rTeB9shGi6xWkLta6/GTt3uSy ewutbOO/zdfZEBgvWD1abbhBjw5O2iRQPjAVI= 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=uWWmrHGISe7mry/VP6swtYjHnZEQ2WfpU1nTPQF7WKcbYc5SkzK4OW2NKKzfAkSJEj vKwhh8htGf7NUOY8G/AxBF1Nj7KfdIJ9fpf76spK6C+VqmWlHBJmOz4DSB3oHmp1Z5iF lDZBmBc8FOVUQ6btpPROa/Pt1cLkrlgUtddt0= MIME-Version: 1.0 Received: by 10.101.32.1 with SMTP id k1mr1721801anj.0.1303932258271; Wed, 27 Apr 2011 12:24:18 -0700 (PDT) Received: by 10.100.106.1 with HTTP; Wed, 27 Apr 2011 12:24:18 -0700 (PDT) In-Reply-To: <20110425151846.0a5359fd@gumby.homeunix.com> References: <20110425151846.0a5359fd@gumby.homeunix.com> Date: Wed, 27 Apr 2011 13:24:18 -0600 Message-ID: From: Modulok To: RW Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 19:24:19 -0000 >> On Sun, Apr 24, 2011 at 7:10 PM, Modulok wrote: >> > I don't know if this is a problem on FreeBSD... >> > >> > Process A requests memory. >> > Process A Stores a plaintext password in memory or other sensitive >> > data. Process A terminates and the memory is reclaimed by kernel. >> > >> > Process B requests a *huge* chunk of memory. >> > Process B crawls the uninitialized memory, looking for ProcessA's >> > previously stored password. >> > >> > Does anyone know if this is even possible on FreeBSD? > AFAIK it's the responsibly of the programmer to avoid data leaking. > Passwords are commonly overwritten as soon as they no longer needed. I > think geli keeps persistent key information in kernel wired-memory. If you're writing in an language which has direct memory access you can easily overwrite sensitive regions of memory upon program exit. But what about higher level, dynamic languages where direct memory access is not available? For example, if I write program in Python (or a some other language) which processes plaintext passwords or credit card numbers, on a shared host, can that data be found in memory by another user's process designed to recognize such patterns in large allocations? (Patterns like SS numbers, credit cards, regions near strings like 'password' and so on.) I know that each process has its own private memory segment, but after a process exits, it nolonger owns that memory. What happens to it? If it's not zeroed out by my process, and it doesn't turn into pixie food, and it's not zeroed out by malloc... it still exists somewhere. Maybe this would be best on hackers? -Modulok- From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 19:54:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DE241065678 for ; Wed, 27 Apr 2011 19:54:34 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.53]) by mx1.freebsd.org (Postfix) with ESMTP id E74BA8FC15 for ; Wed, 27 Apr 2011 19:54:33 +0000 (UTC) Received: (qmail 1290 invoked from network); 27 Apr 2011 19:54:33 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Apr 2011 19:54:32 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.8]) by be-well.ilk.org (Postfix) with ESMTP id 8454350822; Wed, 27 Apr 2011 15:54:26 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 664B939845; Wed, 27 Apr 2011 15:54:26 -0400 (EDT) From: Lowell Gilbert To: Modulok References: <20110425151846.0a5359fd@gumby.homeunix.com> Date: Wed, 27 Apr 2011 15:54:26 -0400 In-Reply-To: (modulok@gmail.com's message of "Wed, 27 Apr 2011 13:24:18 -0600") Message-ID: <44aafblbbh.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: RW , freebsd-questions@freebsd.org, freebsd-chat@freebsd.org Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-chat@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 19:54:34 -0000 Modulok writes: >>> On Sun, Apr 24, 2011 at 7:10 PM, Modulok wrote: >>> > I don't know if this is a problem on FreeBSD... >>> > >>> > Process A requests memory. >>> > Process A Stores a plaintext password in memory or other sensitive >>> > data. Process A terminates and the memory is reclaimed by kernel. >>> > >>> > Process B requests a *huge* chunk of memory. >>> > Process B crawls the uninitialized memory, looking for ProcessA's >>> > previously stored password. >>> > >>> > Does anyone know if this is even possible on FreeBSD? > >> AFAIK it's the responsibly of the programmer to avoid data leaking. >> Passwords are commonly overwritten as soon as they no longer needed. I >> think geli keeps persistent key information in kernel wired-memory. > > If you're writing in an language which has direct memory access you can easily > overwrite sensitive regions of memory upon program exit. But what about higher > level, dynamic languages where direct memory access is not available? For > example, if I write program in Python (or a some other language) which > processes plaintext passwords or credit card numbers, on a shared host, can > that data be found in memory by another user's process designed to recognize > such patterns in large allocations? (Patterns like SS numbers, credit cards, > regions near strings like 'password' and so on.) > > I know that each process has its own private memory segment, but after a > process exits, it nolonger owns that memory. What happens to it? If it's not > zeroed out by my process, and it doesn't turn into pixie food, and it's not > zeroed out by malloc... it still exists somewhere. > > Maybe this would be best on hackers? In my opinion, no, -chat would be better. This is a well established area and all multi-user operating systems cover it in some way. You are missing an important point that had been glossed over somewhat in the earlier messages in this thread. In particular, you're missing that an unprivileged process doesn't have direct access to real memory addresses no matter what language it was written in. Languages that support memory pointers have access to a "virtual" address space on FreeBSD (and most other general-purpose operating systems of the last decade or two), which does not give them access to the memory of other processes. When a process exits (and, indeed, "it no longer owns that memory"), the real memory pages behind its virtual memory will be returned to the kernel, which will zero out those pages before letting another process reuse them. The details other people have been discussing have to do with the fact that there is more than one mechanism through which pages might get allocated to a process, but in all of those mechanisms, the old data is obliterated first. In practice, programmers used to Unix-ish systems may assume that their memory allocations are always zero-filled. On embedded systems (and other specialized environments, but I mostly deal with embedded systems for routers), this may not be a good assumption. Even on a Unix system, it's not necessarily a good assumption -- you won't get memory that was written by a different process, but you may well get memory that was released by your own process without being overwritten. Needless to say, this isn't a security concern. Be well. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 22:36:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9B26106566B for ; Wed, 27 Apr 2011 22:36:32 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 4185F8FC14 for ; Wed, 27 Apr 2011 22:36:31 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id p3RMaTwi008411; Wed, 27 Apr 2011 18:36:29 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Wed, 27 Apr 2011 18:36:29 -0400 (EDT) From: Chris Hill To: Devin Teske In-Reply-To: <00f101cc0473$9d1a2bf0$d74e83d0$@vicor.com> Message-ID: References: <4DB6D082.4020907@inbox.lv> <4DB6D839.3010809@inbox.lv> <4DB704E9.7000802@fisglobal.com> <007101cc0452$471bb7d0$d5532770$@vicor.com> <00f101cc0473$9d1a2bf0$d74e83d0$@vicor.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: david.robison@fisglobal.com, freebsd-questions@freebsd.org, "'Teske, Devin'" Subject: RE: Suddenly lots processes exits signal 11 (core dumped) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 22:36:32 -0000 Devin, Thanks for the reply. Info inline. On Tue, 26 Apr 2011, Devin Teske wrote: >> -----Original Message----- >> From: Chris Hill [mailto:chris@monochrome.org] >> Sent: Tuesday, April 26, 2011 4:51 PM >> To: Devin Teske >> Cc: david.robison@fisglobal.com; freebsd-questions@freebsd.org; Teske, Devin >> Subject: RE: Suddenly lots processes exits signal 11 (core dumped) >> >> On Tue, 26 Apr 2011, Devin Teske wrote: >> >>> Continue on to create a 2nd [visible] partition beyond the primary >>> bootable [invisible] partition (allowing you to use the remainder of >>> your thumb drive for usable storage)... >>> >>> 5. Execute: echo "p 2 0x0c * *" | fdisk -f - /dev/da5 >>> NOTE: again, assuming `da5' is your thumb drive >> >> tripel# echo "p 2 0x0c * *" | fdisk -f - /dev/da0 >> ******* Working on device /dev/da0 ******* >> fdisk: Class not found >> tripel# > > Hmmm. Odd. That's worked for me on FreeBSD-4.11, 6.1, 7.2, and 8.1 (both > i386 and amd64). I "zeroed" the thumb drive as you suggested, but got the same result from `echo "p 2 0x0c * *" | fdisk -f - /dev/da0` as before. BTW, that wiping of the thumb drive took over 14 hours! I should have thought to specify a large block size. > What's the output of: > uname -spr FreeBSD 8.0-STABLE i386 > Also, after completing the dd(1) command, what's the output of: > fdisk -p /dev/da5 > > It should look something like this: > > # /dev/da5 > g c31 h64 s32 > p 1 0x17 1 64259 > a 1 Here's a sequence of events, after dd'ing the Druid iso: tripel# fdisk -p /dev/da0 # /dev/da0 g c1945 h255 s63 p 1 0x17 1 64259 a 1 tripel# echo "p 2 0x0c * *" | fdisk -f - /dev/da0 ******* Working on device /dev/da0 ******* fdisk: Class not found tripel# fdisk -p /dev/da0 # /dev/da0 g c1945 h255 s63 p 1 0x17 1 64259 a 1 p 2 0x0c 64260 31182165 Does this mean the second fdisk succeeded, despite what looked like an error? > Something you might also want to try is zapping the disk (wiping all > contents) prior to trying again: > > dd if=/dev/zero of=/dev/da5 -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 23:10:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80123106566B for ; Wed, 27 Apr 2011 23:10:20 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 086778FC15 for ; Wed, 27 Apr 2011 23:10:19 +0000 (UTC) Received: by wwc33 with SMTP id 33so2264760wwc.31 for ; Wed, 27 Apr 2011 16:10:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=xx7XI4sCWn4iUu6QLXmVscZG4XHJK1Eb0dct6lzR+fI=; b=AAF9tiYZMZRkTAFDcZ5OGNInfc5JIsUz7H9mheOBkObEfJBGt/CoV1CP8+cwaMswMv iL9k4HACEafCJIMyx0020WG+Qyq/lGj2MdkgrpKiX256+I62y0ZRrA/qnXriYGlhDnBs BK5B9Mfw/RCJHlYK6xy6xMlqGYmZ2QOxqQpk4= 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=b+Rjoz+z2fZvB1xQUDLUmgI14CMuv32RkJ6ZZaD7CzbpgvNbwt0Pe9JeKumiw/w0zM VX5PtSFRCOC490By0bI0TyitywdPVWp75T5XDS8/hZPPjuBMUVOxJ+zZEcFSJ53umdvq x6mmryOGAzDpjrwFk1pKCj4IDCBTpG0wYWKqQ= Received: by 10.216.136.89 with SMTP id v67mr2696103wei.47.1303945818663; Wed, 27 Apr 2011 16:10:18 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id g46sm598414wes.40.2011.04.27.16.10.13 (version=SSLv3 cipher=OTHER); Wed, 27 Apr 2011 16:10:17 -0700 (PDT) Date: Thu, 28 Apr 2011 00:10:10 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110428001010.13a76d07@gumby.homeunix.com> In-Reply-To: <20110427095420.GA41208@kongemord.krig.net> References: <20110425151846.0a5359fd@gumby.homeunix.com> <20110425151536.GA61425@stainmore> <20110425175420.GA61811@stainmore> <20110425232908.4104e026@gumby.homeunix.com> <20110426025614.GA62745@stainmore> <20110426104151.596bcc19@gumby.homeunix.com> <20110427014554.1e4c5281@gumby.homeunix.com> <20110427095420.GA41208@kongemord.krig.net> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 23:10:20 -0000 On Wed, 27 Apr 2011 06:14:02 -0400 Bob Hall wrote: > malloc() uses either sbrk or mmap to extend the heap. As far as I > know, sbrk extends the heap with zero filled memory. According to the > man page, mmap extends it either with remapped data, or with remapped > data plus additional zero filled memory. The man page doesn't mean what you think it means. It's a lot clearer here: http://pubs.opengroup.org/onlinepubs/007908799/xsh/mmap.html "The system always zero-fills any partial page at the end of an object. Further, the system never writes out any modified portions of the last page of an object that are beyond its end. References within the address range starting at pa and continuing for len bytes to whole pages following the end of an object result in delivery of a SIGBUS signal." I'm not saying that anonymous mappings used by malloc aren't zero-filled, just that it's not mentioned anywhere in the mmap man page. I think it's just taken as read. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 23:18:23 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC4C5106566B for ; Wed, 27 Apr 2011 23:18:23 +0000 (UTC) (envelope-from nobody@calisto-io.contactdesigns.com) Received: from calisto-io.contactdesigns.com (mx01.mcmurryis.com [74.206.101.76]) by mx1.freebsd.org (Postfix) with ESMTP id A074C8FC14 for ; Wed, 27 Apr 2011 23:18:23 +0000 (UTC) Received: by calisto-io.contactdesigns.com (Postfix, from userid 99) id 9005BA1B96D; Wed, 27 Apr 2011 15:47:56 -0700 (MST) To: freebsd-questions@freebsd.org From: Albert grayson MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Message-Id: <20110427224756.9005BA1B96D@calisto-io.contactdesigns.com> Date: Wed, 27 Apr 2011 15:47:56 -0700 (MST) Subject: Product Request! From (Spain) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 23:18:23 -0000 Hello, I am interested in purchasing some of your products, I will like to know if youcan ship directly to SPAIN , I also want you to know my mode of payment for this order is via Credit Card. Get back to me if you can ship to that destination and also if you accept the payment type I indicated. Kindly return this email with your price list of your products.. Parcela 120, Calle Budapest, San Pedro de Alcantara, 29670, Marbella , Spain Albert From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 23:48:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B3151065674 for ; Wed, 27 Apr 2011 23:48:19 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id ED8118FC17 for ; Wed, 27 Apr 2011 23:48:18 +0000 (UTC) Received: from sbhfislrext01.fnfis.com ([192.168.249.167]) by SCSFISLTC02 (8.14.3/8.14.3) with ESMTP id p3RNmHUP019146; Wed, 27 Apr 2011 18:48:18 -0500 Received: from SBHFISLTCGW04.FNFIS.COM (Not Verified[10.132.248.123]) by sbhfislrext01.fnfis.com with MailMarshal (v6, 5, 4, 7535) id ; Wed, 27 Apr 2011 18:48:20 -0500 Received: from sbhfisltcgw01.FNFIS.COM ([10.132.248.121]) by SBHFISLTCGW04.FNFIS.COM with Microsoft SMTPSVC(6.0.3790.4675); Wed, 27 Apr 2011 18:48:17 -0500 Received: from dtwin ([10.132.254.135]) by sbhfisltcgw01.FNFIS.COM over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 27 Apr 2011 18:48:16 -0500 From: "Devin Teske" To: "'Chris Hill'" References: <4DB6D082.4020907@inbox.lv> <4DB6D839.3010809@inbox.lv> <4DB704E9.7000802@fisglobal.com> <007101cc0452$471bb7d0$d5532770$@vicor.com> <00f101cc0473$9d1a2bf0$d74e83d0$@vicor.com> In-Reply-To: Date: Wed, 27 Apr 2011 16:48:02 -0700 Organization: Vicor, Inc. Message-ID: <005c01cc0535$90cf6be0$b26e43a0$@vicor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJO29zzlRucAd5O2H68HduU6ERmTAFhjK1DAVCgclcBemDoMAG7NNkfAVp5Qn4BWwWa8AF1MmOukxwe+6A= Content-Language: en-us X-OriginalArrivalTime: 27 Apr 2011 23:48:17.0252 (UTC) FILETIME=[94AAAA40:01CC0535] Cc: david.robison@fisglobal.com, freebsd-questions@freebsd.org, "'Teske, Devin'" Subject: RE: Suddenly lots processes exits signal 11 (core dumped) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2011 23:48:19 -0000 > -----Original Message----- > From: Chris Hill [mailto:chris@monochrome.org] > Sent: Wednesday, April 27, 2011 3:36 PM > To: Devin Teske > Cc: david.robison@fisglobal.com; freebsd-questions@freebsd.org; 'Teske, Devin' > Subject: RE: Suddenly lots processes exits signal 11 (core dumped) > > Devin, > > Thanks for the reply. Info inline. > > On Tue, 26 Apr 2011, Devin Teske wrote: > > >> -----Original Message----- > >> From: Chris Hill [mailto:chris@monochrome.org] > >> Sent: Tuesday, April 26, 2011 4:51 PM > >> To: Devin Teske > >> Cc: david.robison@fisglobal.com; freebsd-questions@freebsd.org; > >> Teske, Devin > >> Subject: RE: Suddenly lots processes exits signal 11 (core dumped) > >> > >> On Tue, 26 Apr 2011, Devin Teske wrote: > >> > >>> Continue on to create a 2nd [visible] partition beyond the primary > >>> bootable [invisible] partition (allowing you to use the remainder of > >>> your thumb drive for usable storage)... > >>> > >>> 5. Execute: echo "p 2 0x0c * *" | fdisk -f - /dev/da5 > >>> NOTE: again, assuming `da5' is your thumb drive > >> > >> tripel# echo "p 2 0x0c * *" | fdisk -f - /dev/da0 > >> ******* Working on device /dev/da0 ******* > >> fdisk: Class not found > >> tripel# > > > > Hmmm. Odd. That's worked for me on FreeBSD-4.11, 6.1, 7.2, and 8.1 > > (both > > i386 and amd64). > > I "zeroed" the thumb drive as you suggested, but got the same result from `echo > "p 2 0x0c * *" | fdisk -f - /dev/da0` as before. > > BTW, that wiping of the thumb drive took over 14 hours! I should have thought to > specify a large block size. > > > What's the output of: > > uname -spr > > FreeBSD 8.0-STABLE i386 > > > Also, after completing the dd(1) command, what's the output of: > > fdisk -p /dev/da5 > > > > It should look something like this: > > > > # /dev/da5 > > g c31 h64 s32 > > p 1 0x17 1 64259 > > a 1 > > Here's a sequence of events, after dd'ing the Druid iso: > > tripel# fdisk -p /dev/da0 > # /dev/da0 > g c1945 h255 s63 > p 1 0x17 1 64259 > a 1 > tripel# echo "p 2 0x0c * *" | fdisk -f - /dev/da0 > ******* Working on device /dev/da0 ******* > fdisk: Class not found > tripel# fdisk -p /dev/da0 > # /dev/da0 > g c1945 h255 s63 > p 1 0x17 1 64259 > a 1 > p 2 0x0c 64260 31182165 > > Does this mean the second fdisk succeeded, despite what looked like an error? It does appear so. That last line is exactly the desired effect (p 2 0x0c 64260 31182165). So it would seem that the "fdisk: Class not found" output is nothing more than a warning. Though, I'm with you -- it looks like an error. I'd be pretty interested to see the output "echo $?" after getting the "Class not found" message. That is to say, I wonder what the return status of fdisk is after receiving that message. It may be zero -- indicating success -- in which case we're reaffirmed that the output is completely spurious and able to be ignored. -- Devin > > Something you might also want to try is zapping the disk (wiping all > > contents) prior to trying again: > > > > dd if=/dev/zero of=/dev/da5 > > -- > Chris Hill chris@monochrome.org > ** [ Busy Expunging ] _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________ From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 00:33:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A7D5106566B for ; Thu, 28 Apr 2011 00:33:46 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id DEC668FC16 for ; Thu, 28 Apr 2011 00:33:45 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 9260F264E525; Wed, 27 Apr 2011 19:34:59 -0500 (CDT) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6qwrZAeaL9zF; Wed, 27 Apr 2011 19:34:46 -0500 (CDT) Received: from [10.0.1.198] (70-89-202-1-invergrove-mn.hfc.comcastbusiness.net [70.89.202.1]) by server.cwis.biz (Postfix) with ESMTPSA id C9098264E524; Wed, 27 Apr 2011 19:34:46 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v1084) From: Ryan Coleman In-Reply-To: <20110427224756.9005BA1B96D@calisto-io.contactdesigns.com> Date: Wed, 27 Apr 2011 19:33:31 -0500 Message-Id: <10928EB8-5165-487E-84C0-C7CFFE9FB2B6@d3photography.com> References: <20110427224756.9005BA1B96D@calisto-io.contactdesigns.com> To: Albert grayson X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Product Request! From (Spain) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2011 00:33:46 -0000 Sure, I'll charge you $500 for FreeBSD On Apr 27, 2011, at 5:47 PM, Albert grayson wrote: >=20 > Hello, > I am interested in purchasing some of your products, I will like to = know > if youcan ship directly to SPAIN , I also want you to know my mode of > payment for this order is via Credit Card. Get back to me if you can > ship > to that destination and also if you accept the payment type I = indicated. >=20 > Kindly return this email with your price list of your products.. >=20 >=20 > Parcela 120, Calle Budapest, > San Pedro de Alcantara, > 29670, Marbella , > Spain > Albert >=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" From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 02:44:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADD6A1065673 for ; Thu, 28 Apr 2011 02:44:00 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id EECA18FC0C for ; Thu, 28 Apr 2011 02:43:59 +0000 (UTC) Received: by bwz12 with SMTP id 12so2765630bwz.13 for ; Wed, 27 Apr 2011 19:43:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=f2dg50s8PEjQAFlG9JtPDmaDvN4Nf6+YlAX5qBfR9RE=; b=L9JoFPEWdw6R+2PSusrmnOEFGban9WXE//CaA/Gi95IA658w3n/Il/SLk+lkSQ0PIm EFEQ3xl9nLZg15GRC8dfnVaTfitLlDj/W7mCGZy0pQSIXgv5YbDhzena+mqQwzQ4hk6I r2xVqG8FhVqbgZT/PmlnJ9SYzA67YpjSUSQXk= 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=Jl+87gjTqms44OHhxTPPg3ev36g72pS/HXeusbVeJ9T/VVJvym4y40t4q/nxFCxmF/ TOQryZ1BIhGYvFBJIzCsyv33HmjHiYlVRZN8IjqGYU/Mzltsp69hJQ+vZ6ilWBnxCIpF NJiZ2JzHwF6xoOcDTlWt7bbEln86TxH4gnuuM= MIME-Version: 1.0 Received: by 10.205.64.208 with SMTP id xj16mr287677bkb.60.1303958638354; Wed, 27 Apr 2011 19:43:58 -0700 (PDT) Received: by 10.204.169.65 with HTTP; Wed, 27 Apr 2011 19:43:58 -0700 (PDT) In-Reply-To: <20110426184836.3C611B7EE@kev.msw.wpafb.af.mil> References: <20110426184836.3C611B7EE@kev.msw.wpafb.af.mil> Date: Wed, 27 Apr 2011 21:43:58 -0500 Message-ID: From: Antonio Olivares To: vogelke+unix@pobox.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: easy Firewall setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2011 02:44:00 -0000 Thanks Karl for your script :) this will help tremendously Also thanks to Daniel & Polytropon & Krad & Warren & Fbsd for your suggestions & help. Sorry I could not get back since the network went down. I will report back as soon as I can get going again. Regards, Antonio On Tue, Apr 26, 2011 at 1:48 PM, Karl Vogel wrote: >>> On Mon, 25 Apr 2011 19:43:33 -0500, >>> Antonio Olivares said: > > A> Is there an easy firewall setup available somewhere (like the one > A> referenced below but for FreeBSD)? > > =A0 Here's a script you can use to generate a rules file for IPF. > > -- > Karl Vogel =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0I don't speak for t= he USAF or my company > > The only freedom which deserves the name, is that of pursuing our own goo= d > in our own way, so long as we do not attempt to deprive others of theirs, > or impede their efforts to obtain it. =A0 =A0 =A0 =A0--John Stuart Mill, = "On Liberty" > > -------------------------------------------------------------------------= -- > #!/bin/sh > # This is a shell archive (produced by GNU sharutils 4.6). > # To extract the files from this archive, save it to some FILE, remove > # everything before the `!/bin/sh' line above, then type `sh FILE'. > # > # Existing files will *not* be overwritten unless `-c' is specified. > # This format requires very little intelligence at unshar time. > # "if test", "echo", "mkdir", and "sed" may be needed. > # > # This shar contains: > # length mode =A0 =A0 =A0 name > # ------ ---------- ------------------------------------------ > # =A0 7197 -rw-r--r-- ipf-sample-ruleset > # =A0 =A0 71 -rw-r--r-- ipf.break > # =A0 =A0144 -rw-r--r-- ipf.header > # =A0 =A0 64 -rw-r--r-- ipf.whitelist > # =A0 4977 -rwxr-xr-x make-ipf-rules > # > echo=3Decho > shar_tty=3D shar_n=3D shar_c=3D' > ' > mkdir _sh14472 || ( echo 'failed to create locking directory' '_sh14472';= exit 1 ) > # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ipf-sample-ruleset =3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > if test -f 'ipf-sample-ruleset' && test "$first_param" !=3D -c; then > =A0$echo 'x -' SKIPPING 'ipf-sample-ruleset' '(file already exists)' > else > =A0$echo 'x -' extracting 'ipf-sample-ruleset' '(text)' > =A0sed 's/^X//' << 'SHAR_EOF' > 'ipf-sample-ruleset' && > X################################################################# > X# http://www.pc-freak.net/handbook/firewalls-ipf.html > X# No restrictions on Inside LAN Interface for private network > X# Not needed unless you have LAN > X################################################################# > X > X#pass out quick on xl0 all > X#pass in quick on xl0 all > X > X################################################################# > X# No restrictions on Loopback Interface > X################################################################# > Xpass in quick on lo0 all > Xpass out quick on lo0 all > X > X################################################################# > X# Interface facing Public Internet (Outbound Section) > X# Interrogate session start requests originating from behind the > X# firewall on the private network > X# or from this gateway server destine for the public Internet. > X################################################################# > X > X# Allow out access to my ISP's Domain name server. > X# xxx must be the IP address of your ISP's DNS. > X# Dup these lines if your ISP has more than one DNS server > X# Get the IP addresses from /etc/resolv.conf file > Xpass out quick on dc0 proto tcp from any to xxx port =3D 53 flags S keep= state > Xpass out quick on dc0 proto udp from any to xxx port =3D 53 keep state > X > X# Allow out access to my ISP's DHCP server for cable or DSL networks. > X# This rule is not needed for 'user ppp' type connection to the > X# public Internet, so you can delete this whole group. > X# Use the following rule and check log for IP address. > X# Then put IP address in commented out rule & delete first rule > Xpass out log quick on dc0 proto udp from any to any port =3D 67 keep sta= te > X#pass out quick on dc0 proto udp from any to z.z.z.z port =3D 67 keep st= ate > X > X > X# Allow out non-secure standard www function > Xpass out quick on dc0 proto tcp from any to any port =3D 80 flags S keep= state > X > X# Allow out secure www function https over TLS SSL > Xpass out quick on dc0 proto tcp from any to any port =3D 443 flags S kee= p state > X > X# Allow out send & get email function > Xpass out quick on dc0 proto tcp from any to any port =3D 110 flags S kee= p state > Xpass out quick on dc0 proto tcp from any to any port =3D 25 flags S keep= state > X > X# Allow out Time > Xpass out quick on dc0 proto tcp from any to any port =3D 37 flags S keep= state > X > X# Allow out nntp news > Xpass out quick on dc0 proto tcp from any to any port =3D 119 flags S kee= p state > X > X# Allow out gateway & LAN users non-secure FTP ( both passive & active m= odes) > X# This function uses the IPNAT built in FTP proxy function coded in > X# the nat rules file to make this single rule function correctly. > X# If you want to use the pkg_add command to install application packages > X# on your gateway system you need this rule. > Xpass out quick on dc0 proto tcp from any to any port =3D 21 flags S keep= state > X > X# Allow out secure FTP, Telnet, and SCP > X# This function is using SSH (secure shell) > Xpass out quick on dc0 proto tcp from any to any port =3D 22 flags S keep= state > X > X# Allow out non-secure Telnet > Xpass out quick on dc0 proto tcp from any to any port =3D 23 flags S keep= state > X > X# Allow out FBSD CVSUP function > Xpass out quick on dc0 proto tcp from any to any port =3D 5999 flags S ke= ep state > X > X# Allow out ping to public Internet > Xpass out quick on dc0 proto icmp from any to any icmp-type 8 keep state > X > X# Allow out whois for LAN PC to public Internet > Xpass out quick on dc0 proto tcp from any to any port =3D 43 flags S keep= state > X > X# Block and log only the first occurrence of everything > X# else that's trying to get out. > X# This rule enforces the block all by default logic. > Xblock out log first quick on dc0 all > X > X################################################################# > X# Interface facing Public Internet (Inbound Section) > X# Interrogate packets originating from the public Internet > X# destine for this gateway server or the private network. > X################################################################# > X > X# Block all inbound traffic from non-routable or reserved address spaces > Xblock in quick on dc0 from 192.168.0.0/16 to any =A0 =A0#RFC 1918 privat= e IP > Xblock in quick on dc0 from 172.16.0.0/12 to any =A0 =A0 #RFC 1918 privat= e IP > Xblock in quick on dc0 from 10.0.0.0/8 to any =A0 =A0 =A0 =A0#RFC 1918 pr= ivate IP > Xblock in quick on dc0 from 127.0.0.0/8 to any =A0 =A0 =A0 #loopback > Xblock in quick on dc0 from 0.0.0.0/8 to any =A0 =A0 =A0 =A0 #loopback > Xblock in quick on dc0 from 169.254.0.0/16 to any =A0 =A0#DHCP auto-confi= g > Xblock in quick on dc0 from 192.0.2.0/24 to any =A0 =A0 =A0#reserved for = docs > Xblock in quick on dc0 from 204.152.64.0/23 to any =A0 #Sun cluster inter= connect > Xblock in quick on dc0 from 224.0.0.0/3 to any =A0 =A0 =A0 #Class D & E m= ulticast > X > X##### Block a bunch of different nasty things. ############ > X# That I do not want to see in the log > X > X# Block frags > Xblock in quick on dc0 all with frags > X > X# Block short tcp packets > Xblock in quick on dc0 proto tcp all with short > X > X# block source routed packets > Xblock in quick on dc0 all with opt lsrr > Xblock in quick on dc0 all with opt ssrr > X > X# Block nmap OS fingerprint attempts > X# Log first occurrence of these so I can get their IP address > Xblock in log first quick on dc0 proto tcp from any to any flags FUP > X > X# Block anything with special options > Xblock in quick on dc0 all with ipopts > X > X# Block public pings > Xblock in quick on dc0 proto icmp all icmp-type 8 > X > X# Block ident > Xblock in quick on dc0 proto tcp from any to any port =3D 113 > X > X# Block all Netbios service. 137=3Dname, 138=3Ddatagram, 139=3Dsession > X# Netbios is MS/Windows sharing services. > X# Block MS/Windows hosts2 name server requests 81 > Xblock in log first quick on dc0 proto tcp/udp from any to any port =3D 1= 37 > Xblock in log first quick on dc0 proto tcp/udp from any to any port =3D 1= 38 > Xblock in log first quick on dc0 proto tcp/udp from any to any port =3D 1= 39 > Xblock in log first quick on dc0 proto tcp/udp from any to any port =3D 8= 1 > X > X# Allow traffic in from ISP's DHCP server. This rule must contain > X# the IP address of your ISP's DHCP server as it's the only > X# authorized source to send this packet type. Only necessary for > X# cable or DSL configurations. This rule is not needed for > X# 'user ppp' type connection to the public Internet. > X# This is the same IP address you captured and > X# used in the outbound section. > Xpass in quick on dc0 proto udp from z.z.z.z to any port =3D 68 keep stat= e > X > X# Allow in standard www function because I have apache server > Xpass in quick on dc0 proto tcp from any to any port =3D 80 flags S keep = state > X > X# Allow in non-secure Telnet session from public Internet > X# labeled non-secure because ID/PW passed over public Internet as clear = text. > X# Delete this sample group if you do not have telnet server enabled. > X#pass in quick on dc0 proto tcp from any to any port =3D 23 flags S keep= state > X > X# Allow in secure FTP, Telnet, and SCP from public Internet > X# This function is using SSH (secure shell) > Xpass in quick on dc0 proto tcp from any to any port =3D 22 flags S keep = state > X > X# Block and log only first occurrence of all remaining traffic > X# coming into the firewall. The logging of only the first > X# occurrence stops a .denial of service. attack targeted > X# at filling up your log file space. > X# This rule enforces the block all by default logic. > Xblock in log first quick on dc0 all > X################### End of rules file ##################################= ### > SHAR_EOF > =A0: || $echo 'restore of' 'ipf-sample-ruleset' 'failed' > fi > # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ipf.break =3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > if test -f 'ipf.break' && test "$first_param" !=3D -c; then > =A0$echo 'x -' SKIPPING 'ipf.break' '(file already exists)' > else > =A0$echo 'x -' extracting 'ipf.break' '(text)' > =A0sed 's/^X//' << 'SHAR_EOF' > 'ipf.break' && > X# -------------------------------------------------------------------- > SHAR_EOF > =A0: || $echo 'restore of' 'ipf.break' 'failed' > fi > # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ipf.header =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > if test -f 'ipf.header' && test "$first_param" !=3D -c; then > =A0$echo 'x -' SKIPPING 'ipf.header' '(file already exists)' > else > =A0$echo 'x -' extracting 'ipf.header' '(text)' > =A0sed 's/^X//' << 'SHAR_EOF' > 'ipf.header' && > X# > X# NAME: > X# =A0 =A0/etc/ipf.rules > X# > X# DESCRIPTION: > X# =A0 =A0Ruleset for IPF packet filter. > X# > X# AUTHOR: > X# =A0 =A0Antonio Olivares > X > SHAR_EOF > =A0: || $echo 'restore of' 'ipf.header' 'failed' > fi > # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ipf.whitelist =3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > if test -f 'ipf.whitelist' && test "$first_param" !=3D -c; then > =A0$echo 'x -' SKIPPING 'ipf.whitelist' '(file already exists)' > else > =A0$echo 'x -' extracting 'ipf.whitelist' '(text)' > =A0sed 's/^X//' << 'SHAR_EOF' > 'ipf.whitelist' && > Xfriend@some.host.com =A0 =A01.2.3.4 > Xbuddy@somewhere.else =A0 =A01.2.3.5 > SHAR_EOF > =A0: || $echo 'restore of' 'ipf.whitelist' 'failed' > fi > # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D make-ipf-rules =3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > if test -f 'make-ipf-rules' && test "$first_param" !=3D -c; then > =A0$echo 'x -' SKIPPING 'make-ipf-rules' '(file already exists)' > else > =A0$echo 'x -' extracting 'make-ipf-rules' '(text)' > =A0sed 's/^X//' << 'SHAR_EOF' > 'make-ipf-rules' && > X#!/bin/ksh > X# > X# $Date: 2011-04-26 14:22:54-04 $ > X# $Source: /home/vogelke/notebook/2011/0324/ipf/RCS/make-ipf-rules,v $ > X# $UUID: eaf3390f-4ef2-3cda-85ad-583f1413d9e0 $ > X# > X# X > Xexport PATH=3D/usr/local/bin:/bin:/usr/bin:/usr/sbin:/sbin > Xtag=3D${0##*/} > X > Xversion () { > X =A0 =A0rcs=3D'$Revision: 1.10 $' > X =A0 =A0set X $rcs > X =A0 =A0echo $tag v$3 > X} > X > X# Network interface; set directly or run ifconfig. > Xset X $(ifconfig -a | grep RUNNING | grep -v LOOPBACK | tr -d ':') > Xoif=3D$2 > X > X# Abbreviations and templates. > Xks=3D"keep state" > Xfks=3D"flags S keep state" > X > Xheader=3D'ipf.header' > Xtest -f "$header" || { echo $header not found; exit 1; } > X > Xgood=3D'ipf.whitelist' > Xtest -f "$good" || { echo $good not found; exit 1; } > X > Xsec=3D'' > Xtest -f "ipf.break" && sec=3D$(cat ipf.break) > X > X# -------------------------------------------------------------------- > X# This is boilerplate that should always be included. > X > Xecho "# Generated by $(version) at $(date)" > Xcat $header > X > Xcat << PART1 > X$sec > X# We don't care about NETBIOS broadcast crap, bootpc requests, or IGMP. > Xblock in quick on $oif proto udp =A0from any to any port =3D 68 > Xblock in quick on $oif proto udp =A0from any to any port =3D 137 > Xblock in quick on $oif proto udp =A0from any to any port =3D 138 > Xblock in quick on $oif proto igmp from any to any > X > X$sec > X# Now block everything coming down the network. > Xblock in =A0log =A0on $oif all > Xblock out log =A0on $oif all > X > X$sec > X# Get rid of anything with options, as these can be used to hack. > Xblock in =A0log quick =A0 =A0 from any to any with ipopts > X > X$sec > X# Get rid of short TCP/IP fragments (too small for valid comparison) > X# as these can be used to hack. > Xblock in =A0log quick proto tcp from any to any with short > X > X$sec > X# Allow all traffic on loopback. > Xpass =A0in =A0quick on lo0 all > Xpass =A0out quick on lo0 all > X > X$sec > X# Block all the private routable addresses, as these should never > X# come down the network, nor should we be talking to them. > Xblock out quick on $oif from any =A0 =A0 =A0 =A0 =A0 =A0 =A0 to 192.168.= 0.0/16 > Xblock out quick on $oif from any =A0 =A0 =A0 =A0 =A0 =A0 =A0 to 172.16.0= .0/12 > Xblock out quick on $oif from any =A0 =A0 =A0 =A0 =A0 =A0 =A0 to 127.0.0.= 0/8 > Xblock out quick on $oif from any =A0 =A0 =A0 =A0 =A0 =A0 =A0 to 10.0.0.0= /8 > Xblock out quick on $oif from any =A0 =A0 =A0 =A0 =A0 =A0 =A0 to 0.0.0.0/= 8 > Xblock out quick on $oif from any =A0 =A0 =A0 =A0 =A0 =A0 =A0 to 169.254.= 0.0/16 > Xblock out quick on $oif from any =A0 =A0 =A0 =A0 =A0 =A0 =A0 to 192.0.2.= 0/24 > Xblock out quick on $oif from any =A0 =A0 =A0 =A0 =A0 =A0 =A0 to 204.152.= 64.0/23 > Xblock out quick on $oif from any =A0 =A0 =A0 =A0 =A0 =A0 =A0 to 224.0.0.= 0/3 > X > Xblock in =A0quick on $oif from 192.168.0.0/16 =A0 =A0to any > Xblock in =A0quick on $oif from 172.16.0.0/12 =A0 =A0 to any > Xblock in =A0quick on $oif from 10.0.0.0/8 =A0 =A0 =A0 =A0to any > Xblock in =A0quick on $oif from 127.0.0.0/8 =A0 =A0 =A0 to any > Xblock in =A0quick on $oif from 0.0.0.0/8 =A0 =A0 =A0 =A0 to any > Xblock in =A0quick on $oif from 169.254.0.0/16 =A0 =A0to any > Xblock in =A0quick on $oif from 192.0.2.0/24 =A0 =A0 =A0to any > Xblock in =A0quick on $oif from 204.152.64.0/23 =A0 to any > Xblock in =A0quick on $oif from 224.0.0.0/3 =A0 =A0 =A0 to any > X > X$sec > X# Block and log portmapper attempts. > Xblock in log quick on $oif proto tcp/udp from any to any port =3D 111 $k= s > X > X$sec > X# Allow outbound state related packets. > Xpass =A0out quick on $oif proto tcp from any to any $fks > Xpass =A0out quick on $oif proto udp from any to any $ks > X > X$sec > X# Allow ping and traceroute. =A0Since we're doing everything quick, > X# we must have passes before blocks. > Xpass =A0in quick on $oif proto icmp from any to any icmp-type =A00 $ks > Xpass =A0in quick on $oif proto icmp from any to any icmp-type =A08 $ks > Xpass =A0in quick on $oif proto icmp from any to any icmp-type 11 $ks > Xpass out quick on $oif proto icmp from any to any icmp-type =A00 $ks > Xpass out quick on $oif proto icmp from any to any icmp-type =A08 $ks > Xpass out quick on $oif proto icmp from any to any icmp-type 11 $ks > Xblock in log quick on $oif proto icmp from any to any > X > X$sec > X# Allow DNS; should this be just from nameservers? > Xpass in quick on $oif proto tcp from any to any port =3D 53 $fks > Xpass in quick on $oif proto udp from any to any port =3D 53 $ks > X > X$sec > X# Allow ssh and mail from anywhere: tcpserver filters addresses > Xpass in quick on $oif proto tcp from any to any port =3D 22 $fks > Xpass in quick on $oif proto tcp from any to any port =3D 25 $fks > X > XPART1 > X > X# -------------------------------------------------------------------- > X# This is host-specific. =A0"sortcmd" sorts IP addresses correctly. > X > Xecho "$sec" > Xecho '# Allow http from selected addresses.' > Xsortcmd=3D'/bin/sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n' > X > Xawk '{print $2}' $good | $sortcmd | uniq | > Xwhile read ip; do > X =A0 =A0echo "pass in quick on $oif proto tcp from $ip to any port =3D 8= 0 $fks" > Xdone > Xecho > X > Xecho "$sec" > Xecho '# Allow secure http from selected addresses.' > Xawk '{print $2}' $good | $sortcmd | uniq | > Xwhile read ip; do > X =A0 =A0echo "pass in quick on $oif proto tcp from $ip to any port =3D 4= 43 $fks" > Xdone > X > X# -------------------------------------------------------------------- > X# Footer. > X > Xcat << FOOTER > X > X$sec > X# Copyright (C) $(date +%Y) $COMPANY > X# EOF > XFOOTER > X > Xexit 0 > SHAR_EOF > =A0: || $echo 'restore of' 'make-ipf-rules' 'failed' > fi > $echo $shar_n 'x -' 'lock directory' "\`_sh14472': " $shar_c > if rm -fr _sh14472; then > =A0$echo 'removed' > else > =A0$echo 'failed to remove' > fi > exit 0 > From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 07:27:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 70C8E106567B; Thu, 28 Apr 2011 07:27:03 +0000 (UTC) Date: Thu, 28 Apr 2011 07:27:03 +0000 From: Alexander Best To: Devin Teske Message-ID: <20110428072703.GC66450@freebsd.org> References: <02a701cc006a$887da210$9978e630$@vicor.com> <20110422145518.GA16734@freebsd.org> <20110422154146.GA26083@freebsd.org> <20110422173509.000077ba@unknown> <039f01cc010d$b476d0f0$1d6472d0$@vicor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <039f01cc010d$b476d0f0$1d6472d0$@vicor.com> Cc: 'Bruce Cran' , freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, "'Teske, Devin'" Subject: Re: [UPDATE] host-setup(1): a dialog(1)-based utility for configuring 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, 28 Apr 2011 07:27:03 -0000 On Fri Apr 22 11, Devin Teske wrote: > > -----Original Message----- > > From: Bruce Cran [mailto:bruce@cran.org.uk] > > Sent: Friday, April 22, 2011 9:35 AM > > To: Alexander Best > > Cc: Devin Teske; freebsd-hackers@freebsd.org; freebsd-questions@freebsd.org; > > 'Teske, Devin' > > Subject: Re: [UPDATE] host-setup(1): a dialog(1)-based utility for configuring > > FreeBSD > > > > On Fri, 22 Apr 2011 15:41:46 +0000 > > Alexander Best wrote: > > > > > FreeBSD 9.0-CURRENT amd64 > > > > A new version of dialog was imported a few days ago - maybe something broke? > > Looks like `--hline' is not supported anymore. Thinking this should either be > patched or documented in ERRATA/UPGRADING. what would be the equivalent to --hline in the new dialog(1) package? > > > > > -- > > Bruce Cran > > _____________ > > The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. > _____________ -- a13x From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 07:19:10 2011 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 245E6106566B for ; Thu, 28 Apr 2011 07:19:10 +0000 (UTC) (envelope-from si_soso@yahoo.fr) Received: from nm3.bullet.mail.ukl.yahoo.com (nm3.bullet.mail.ukl.yahoo.com [217.146.182.224]) by mx1.freebsd.org (Postfix) with SMTP id 8FE2B8FC19 for ; Thu, 28 Apr 2011 07:19:09 +0000 (UTC) Received: from [217.146.183.183] by nm3.bullet.mail.ukl.yahoo.com with NNFMP; 28 Apr 2011 07:19:08 -0000 Received: from [217.146.183.174] by tm14.bullet.mail.ukl.yahoo.com with NNFMP; 28 Apr 2011 07:19:08 -0000 Received: from [127.0.0.1] by omp1015.mail.ukl.yahoo.com with NNFMP; 28 Apr 2011 07:19:08 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 660719.74598.bm@omp1015.mail.ukl.yahoo.com Received: (qmail 64610 invoked by uid 60001); 28 Apr 2011 07:19:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1303975148; bh=nQZa7/yawpJVDqi90Y/VwWt29mglb7ElKxTdKixI+K0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=BoCpGkF2uStL5tHT6k8dWyPsH82HhGLVBlKvqntGjHCfUCk0OP1vuC6fW9FlJqcblmRlqQPtHB/z7JAqt9htYD8DctV0+rhBxXcE0u55kw6DdGBuX8aPTYgrBg8VIZGSN5rrY8vYIDPabksTZtpCJ38S29CIIWaTADSa5OaWxSw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=fvMXEFcJFfmvfA44zbd9wCDkRe4VtTDWl19nfnCfKO7lhR+CNxPFGGjgcyKo5D3iP2jAkCw964DwZ6EhVG+pvDW+qnSE4mekzbFvVVaANBzmmaXjzn3WdKUKvvEoerxMJ0udhcJWMTNs0O8HYPk17lFEkP9LLkMAaOFZb5FClts=; Message-ID: <490168.63433.qm@web26707.mail.ukl.yahoo.com> X-YMail-OSG: joK9U4QVM1lHTTpb1rsg.gMN_B_8a2nsklisL8A16honfCU qc3puK2NwF.Ys_eimVJVSMKD1.fcw369YbjchKmk.Bx22NXMWBqSxNPhObob LyZVS.Gk7XrOVl8Sqhrn97rt.QOFSBBRD8YdLlwTKenGVVj9F0Nrjba1Xrpn gNE2CITtkiCr5zWuwKB4g1UqZQg3aJGlXQhpoYNtnvBZcAr5BCMzxQyfb7On 7CpP7I427aZRDkD3F2s0sqNvhFJQHIigtw1CagGNn2v8s_rqMHBcMEy0yMz2 u7AFeaSdW_.Cprn6smTg1YruaVv5TeiV37UM1G1DH4UnqXB.kGVrnCONw87e h4x.7NbIOIscuPga00KRpe34YhSI- Received: from [193.52.94.5] by web26707.mail.ukl.yahoo.com via HTTP; Thu, 28 Apr 2011 08:19:08 BST X-Mailer: YahooMailClassic/12.0.2 YahooMailWebService/0.8.110.299900 Date: Thu, 28 Apr 2011 08:19:08 +0100 (BST) From: sofiane chabane To: questions@FreeBSD.org MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 28 Apr 2011 11:07:04 +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: access an extended partition and X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2011 07:19:10 -0000 =A0 Good morning, =A0 I have installed FreeBSD in a multiboot way on my PC but till now I can= 't access my extended partition. Indeed, on my PC I have 4 primary partitio= ns that I organized like this: =A0 =0A Primary partition 1 : WinRE of windows vista =0A Primary partition 2 : windows Vista =0A Primary partition 3 : FreeBSD =0A Primary partition 4 that is the extended one contains: =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=0A Logical partition 1 : wind= ows XP =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=0A Logical partition 2 : a Gn= u/Linux distribution =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=0A Logical partition 3 : Data So, the problem is that I can't access the extended partion especially the = Data one. This is my first problem. =A0The second one is this:=20 =A0I'd like to change my profil picture (on my logging screen-I'm using KDE= ) and put my personal photo for example; I have tried but kdbm inducates th= at it 's impossible to do it. =A0These are the problems I've encountered, so I hope I were concise. =A0Thank you very much for being so kind and help me to solve these problem= s. =A0=0A Best Regards =A0=20 =0A From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 11:13:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4E0510656D1 for ; Thu, 28 Apr 2011 11:13:43 +0000 (UTC) (envelope-from nvidican@m2.vidican.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 88E428FC12 for ; Thu, 28 Apr 2011 11:13:43 +0000 (UTC) Received: by ywf7 with SMTP id 7so1280487ywf.13 for ; Thu, 28 Apr 2011 04:13:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.147.141.8 with SMTP id t8mr2934382yan.24.1303989221745; Thu, 28 Apr 2011 04:13:41 -0700 (PDT) Sender: nvidican@m2.vidican.com Received: by 10.147.182.3 with HTTP; Thu, 28 Apr 2011 04:13:41 -0700 (PDT) X-Originating-IP: [136.1.1.105] In-Reply-To: References: Date: Thu, 28 Apr 2011 07:13:41 -0400 X-Google-Sender-Auth: hUROgI-Mn4e0SexwIHcX3ugv5Wo Message-ID: From: Nathan Vidican To: Jaime Kikpole Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Hardware suggestions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2011 11:13:43 -0000 On Wed, Apr 27, 2011 at 10:42 AM, Jaime Kikpole wrote: > My thanks to everyone for their replies. =A0I guess that I wasn't > specific enough about my needs, though. =A0I don't need a tiny chassis. > In fact, I need a proxy for around 750-900 computers, so an Atom > system or the like wouldn't work for me. =A0I just have no rack space > left. =A0Fortunately, I might have found a way around this. > > So if you have any pre-built servers to recommend, I'd greatly > appreciate it. =A0For example, I'm currently reviewing the Dell > PowerEdge T310's specs. > > > Nate: > > Thanks. =A0I read the handbook's entry on CARP last night. =A0It looks > easier than I had previously thought. =A0I've started setting up a > VMware environment of 2 FreeBSD systems and a unix desktop to try it > out as a way to build a fail-over proxy. > > Looks like I'd have to stop using my current "in-line" design, though. > =A0Currently, I have a FreeBSD box between my network as a whole and the > Internet connection. =A0It acts as a router, a firewall, and a > transparent proxy. =A0CARP would require the system to not be "in-line," > because a failed system would mean no router. =A0Did I understand that > correctly? > > > Thanks to all, > Jaime > > -- > Network Administrator > Cairo-Durham Central School District > http://cns.cairodurham.org > Actually - quite the opposite. I have a very similar setup, wherein I have two machines running CARP on multiple interfaces such that if any interface on system A goes down, system B takes over. Both of these machines act in the same capacity as yours, (they are router+firewall+proxy+NAT), they are physically cabled directly to my network switches using VLAN trunking which presents as-if multiple separate network cards on the host (they each have gigabit fibre to the switch, carrying 8 independent networks). Each subnet (separate VLAN segment) routes their primary gateway through these machines using a single IP - both are always on, always running, and each is connected to a different core switch (which offers switching redundancy too in the event one goes out). I'm using mostly Cisco networking gear, but all routing and proxying is done by FreeBSD/sparc on Sun Netra series servers. As far as your hadrware is concerned - I'm a bit biased towards Sun or Dell, though I've also had great experience with Compaq (now HP) Proliant series in the passed too. Again - same deal as white-boxes, just check the hardware list to see what's supported. When you've got an actual make/model you're thinking of, re-post a new thread to questions@freebsd.org with a subject as such seeking opinions and experiences with that model - chances are someone else might already have it. (I did take note of the Dell model you specified - just saying might be a good idea to put that as the subject in a new thread; sorry no experience with that model personally, though I have several 2800-series Dell 2U servers that I'm most pleased with offering redundant power and decent hardware raid). --=20 Nathan Vidican nathan@vidican.com From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 14:32:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 676FB106564A for ; Thu, 28 Apr 2011 14:32:39 +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 229938FC19 for ; Thu, 28 Apr 2011 14:32:38 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QFSGf-0007Bq-Nb for freebsd-questions@freebsd.org; Thu, 28 Apr 2011 16:32:33 +0200 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2011 16:32:33 +0200 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2011 16:32:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Thu, 28 Apr 2011 10:35:10 -0400 Lines: 45 Message-ID: References: <490168.63433.qm@web26707.mail.ukl.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: access an extended partition and X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2011 14:32:39 -0000 sofiane chabane wrote: > Good morning, > I have installed FreeBSD in a multiboot way on my PC but till now I can't > access my extended partition. Indeed, on my PC I have 4 primary partitions > that I organized like this: > > > Primary partition 1 : WinRE of windows vista > > Primary partition 2 : windows Vista > > Primary partition 3 : FreeBSD > > Primary partition 4 that is the extended one contains: > > Logical partition 1 : windows XP > > Logical partition 2 : a Gnu/Linux distribution > > Logical partition 3 : Data > > So, the problem is that I can't access the extended partion especially the > Data one. This is my first problem. > > The second one is this: > I'd like to change my profil picture (on my logging screen-I'm using KDE) > and put my personal photo for example; I have tried but kdbm inducates > that it 's impossible to do it. These are the problems I've encountered, > so I hope I were concise. Thank you very much for being so kind and help > me to solve these problems. > The so-called Dos 'Extended Partition' begins numbering with ad(x)s5. It's been so long since I dealt with this. Partitions 'c' is a special designation and 'b' usually is reserved for swap. But a wild guess would be that your logical partition 1 (windows XP) would be ad(x)s5a, [substitute drive number for (x)] - the next would be ad(x)s5d, and ad(x)s5e (maybe your 'Data' one?). You can manually use the mount command to test mount to somewhere like /mnt before trying to hardcode into fstab, if indeed you even wish to do so. -Mike From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 15:22:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEB601065674 for ; Thu, 28 Apr 2011 15:22:38 +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 7BD6C8FC1B for ; Thu, 28 Apr 2011 15:22:38 +0000 (UTC) Received: from r55.edvax.de (port-92-195-63-56.dynamic.qsc.de [92.195.63.56]) by mx01.qsc.de (Postfix) with ESMTP id BC1C93D07A for ; Thu, 28 Apr 2011 17:22:36 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p3SFMaWF001522 for ; Thu, 28 Apr 2011 17:22:36 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 28 Apr 2011 17:22:35 +0200 From: Polytropon To: freebsd-questions@freebsd.org Message-Id: <20110428172235.be5a381b.freebsd@edvax.de> In-Reply-To: References: <490168.63433.qm@web26707.mail.ukl.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: access an extended partition and 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, 28 Apr 2011 15:22:39 -0000 On Thu, 28 Apr 2011 10:35:10 -0400, Michael Powell wrote: > sofiane chabane wrote: > > > Good morning, > > I have installed FreeBSD in a multiboot way on my PC but till now I can't > > access my extended partition. Indeed, on my PC I have 4 primary partitions > > that I organized like this: > > > > > > Primary partition 1 : WinRE of windows vista > > > > Primary partition 2 : windows Vista > > > > Primary partition 3 : FreeBSD > > > > Primary partition 4 that is the extended one contains: > > > > Logical partition 1 : windows XP > > > > Logical partition 2 : a Gnu/Linux distribution > > > > Logical partition 3 : Data > > > > So, the problem is that I can't access the extended partion especially the > > Data one. This is my first problem. > > > > The second one is this: > > I'd like to change my profil picture (on my logging screen-I'm using KDE) > > and put my personal photo for example; I have tried but kdbm inducates > > that it 's impossible to do it. NOTHING is impossible, even if KDE tells you so. :-) > > These are the problems I've encountered, > > so I hope I were concise. Thank you very much for being so kind and help > > me to solve these problems. > > > > The so-called Dos 'Extended Partition' begins numbering with ad(x)s5. It's > been so long since I dealt with this. Partitions 'c' is a special > designation and 'b' usually is reserved for swap. But a wild guess would be > that your logical partition 1 (windows XP) would be ad(x)s5a, [substitute > drive number for (x)] - the next would be ad(x)s5d, and ad(x)s5e (maybe > your 'Data' one?). You can manually use the mount command to test mount to > somewhere like /mnt before trying to hardcode into fstab, if indeed you even > wish to do so. First of all, you can check partition layout using # fdisk ad0 where I assume that ad0 is your first disk which we're talking about. "DOS extended partitions", as far as I understood their "concept", do not support the numbering scheme used in UNIX partitioning, but continue the numbering. According to Mike's suggestion, I think you will find the following layout: ad0s1 = 1st "DOS primary partition" -> WinRE of windows vista ad0s2 = 2nd "DOS primary partition" -> windows Vista ad0s3 = 3rd "DOS primary partition" -> FreeBSD Layout is something like this: ad0s3a = / ad0s3b = swap ad0s3a = /tmp ad0s3e = /var ad0s3f = /usr ad0s3g = /home ad0s5 = 1st "logical drive" inside "DOS extended partition" -> windows XP ad0s6 = 2nd "logical drive" inside "DOS extended partition" -> -> a Gnu/Linux distribution ad0s7 = 3rd "logical drive" inside "DOS extended partition" -> -> Data Terminology: A slice is what "Windows" calls a "DOS primary partition", and the "separators" on the slice are partitions. Also note that a "DOS primary partition" is something different from a "DOS extended partition" (which contains "logical drives"), again not the same as partitions (in the UNIX meaning). A partition carries a file system. For a slice in the function of a "DOS primary partition", this is implicit, and the filesystem usually is msdosfs or ntfs. A partition (again in the UNIX meaning) can have any file system; on FreeBSD, it's usually UFS. As far as I know, there are no partitions in a "DOS extended partition" - the "logical drives" are represented by an own slice each. The partition letter "c" refers to "the whole slice" or "the whole drive". I think it is implied since FreeBSD 5, so /dev/ad0s7 can be used instead of /dev/ad0s7c. Do not confuse all this confusing stuff. :-) Try using the mount command (mount_ntfs I assume in your case) to test-mount the drives (use -o ro for this, just to be sure). I am not a "multi-booter" and do not use any "Windows", so I can't be more specific, sorry. Still I hope you can try something given the above explainations. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 16:01:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83D56106566C; Thu, 28 Apr 2011 16:01:53 +0000 (UTC) (envelope-from universite@ukr.net) Received: from otrada.od.ua (universite-1-pt.tunnel.tserv24.sto1.ipv6.he.net [IPv6:2001:470:27:140::2]) by mx1.freebsd.org (Postfix) with ESMTP id EA1958FC25; Thu, 28 Apr 2011 16:01:52 +0000 (UTC) Received: from [10.0.0.10] (phenom.otrada.od.ua [10.0.0.10]) (authenticated bits=0) by otrada.od.ua (8.14.4/8.14.4) with ESMTP id p3SG1mn0067624; Thu, 28 Apr 2011 19:01:48 +0300 (EEST) (envelope-from universite@ukr.net) X-Authentication-Warning: otrada.od.ua: Host phenom.otrada.od.ua [10.0.0.10] claimed to be [10.0.0.10] Message-ID: <4DB98F5D.2090108@ukr.net> Date: Thu, 28 Apr 2011 19:01:33 +0300 From: "Vladislav V. Prodan" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: FreeBSD Mailing List , fs@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mary-teresa.otrada.od.ua X-Virus-Scanned: clamav-milter 0.97 at mary-teresa.otrada.od.ua X-Virus-Status: Clean Cc: Subject: ZFS-Only FreeBSD and crashdump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2011 16:01:53 -0000 I have the ZFS-Only FreeBSD 8.2. # gpart show => 34 321672893 ad4 GPT (153G) 34 128 1 freebsd-boot (64K) 162 33554432 2 freebsd-swap (16G) 33554594 288118333 3 freebsd-zfs (137G) How to obtain crash dump, so he kept on zfs? Is it enough for it to correct /etc/rc.d/zfs, adding: "# BEFORE: dumpon" ? -- Vladislav V. Prodan VVP24-UANIC +380[67]4584408 +380[99]4060508 vlad11@jabber.ru From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 16:40:05 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DA5C106566C for ; Thu, 28 Apr 2011 16:40:05 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id AF3DF8FC13 for ; Thu, 28 Apr 2011 16:40:04 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA05690; Thu, 28 Apr 2011 19:40:01 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4DB99860.3070701@FreeBSD.org> Date: Thu, 28 Apr 2011 19:40:00 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: "Vladislav V. Prodan" References: <4DB98F5D.2090108__2814.45118967003$1304006598$gmane$org@ukr.net> In-Reply-To: <4DB98F5D.2090108__2814.45118967003$1304006598$gmane$org@ukr.net> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List , fs@FreeBSD.org Subject: Re: ZFS-Only FreeBSD and crashdump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2011 16:40:05 -0000 on 28/04/2011 19:01 Vladislav V. Prodan said the following: > I have the ZFS-Only FreeBSD 8.2. > # gpart show > => 34 321672893 ad4 GPT (153G) > 34 128 1 freebsd-boot (64K) > 162 33554432 2 freebsd-swap (16G) > 33554594 288118333 3 freebsd-zfs (137G) > > How to obtain crash dump, so he kept on zfs? > Is it enough for it to correct /etc/rc.d/zfs, adding: > "# BEFORE: dumpon" ? At the moment FreeBSD doesn't support dumping to ZFS zvols, if that's what you are asking. -- Andriy Gapon From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 17:17:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31A1C1065672 for ; Thu, 28 Apr 2011 17:17:50 +0000 (UTC) (envelope-from rjhjr0@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id D8BEA8FC15 for ; Thu, 28 Apr 2011 17:17:49 +0000 (UTC) Received: by ywf7 with SMTP id 7so1465751ywf.13 for ; Thu, 28 Apr 2011 10:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=0pDRqCFN991EfRYG9OqD+2oU5WUF8OyaxV1l3XZNDhQ=; b=VAe7JHmWUa8sliUrvaGQgly4py+ATjp8gkxhwITD5g4dPTrpIO+hgNnXmzBDyzsUpm dbN+OLruHiDNgwcjWzPWn4JsuQ6mrUWbeQx5iiTPtcIxWZ+ka6pCiyFiCPwcAvmZPRN/ DQ2HH270qOMjxsUeyaXF6Q8Zn4NIlWq7pVBsY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=oJb8eBy5SpTkOZbj1vEkVQPUKug0iuRDXwpCM2dwzhR1aq3nq3x9esNWfOdczzaDqY wI9mTePtr9T0GoAUh5sjwhTjc7UUQOJKfQ5lJVJUTD+VsateN0HMO+cohL4F+85MP4bY kwwB37NrUwZEpD4/3Ab02Ra0L4GDsEfnPHXrY= Received: by 10.236.143.1 with SMTP id k1mr4888487yhj.172.1304011068966; Thu, 28 Apr 2011 10:17:48 -0700 (PDT) Received: from localhost (ip98-163-115-74.dc.dc.cox.net [98.163.115.74]) by mx.google.com with ESMTPS id x44sm950894yhm.75.2011.04.28.10.17.42 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Apr 2011 10:17:45 -0700 (PDT) Date: Thu, 28 Apr 2011 13:17:41 -0400 From: Bob Hall To: RW Message-ID: <20110428171740.GA5840@stainmore> Mail-Followup-To: Bob Hall , RW , freebsd-questions@freebsd.org References: <20110425151536.GA61425@stainmore> <20110425175420.GA61811@stainmore> <20110425232908.4104e026@gumby.homeunix.com> <20110426025614.GA62745@stainmore> <20110426104151.596bcc19@gumby.homeunix.com> <20110427014554.1e4c5281@gumby.homeunix.com> <20110427095420.GA41208@kongemord.krig.net> <20110428001010.13a76d07@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110428001010.13a76d07@gumby.homeunix.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2011 17:17:50 -0000 On Thu, Apr 28, 2011 at 12:10:10AM +0100, RW wrote: > I'm not saying that anonymous mappings used by malloc aren't > zero-filled, just that it's not mentioned anywhere in the mmap man > page. I think it's just taken as read. I just got what you're trying to say. Unfortunately, your quotes mislead me about what you were concerned about. You're right, the man page doesn't explicitly state whether anonymous mappings are zero filled or not. Since man pages prioritize concision, I would expect the page to explain how anonymous mappings are different from other mappings, but not how they are the same. From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 17:27:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 216F91065670; Thu, 28 Apr 2011 17:27:03 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id D883A8FC12; Thu, 28 Apr 2011 17:27:02 +0000 (UTC) Received: from sbhfislrext02.fnfis.com ([192.168.249.140]) by SCSFISLTC01 (8.14.3/8.14.3) with ESMTP id p3SHQwFb018835; Thu, 28 Apr 2011 12:26:58 -0500 Received: from SBHFISLTCGW04.FNFIS.COM (Not Verified[10.132.248.123]) by sbhfislrext02.fnfis.com with MailMarshal (v6, 5, 4, 7535) id ; Thu, 28 Apr 2011 12:26:58 -0500 Received: from SBHFISLTCGW07.FNFIS.COM ([10.132.248.135]) by SBHFISLTCGW04.FNFIS.COM with Microsoft SMTPSVC(6.0.3790.4675); Thu, 28 Apr 2011 12:26:58 -0500 Received: from dtwin ([10.132.254.135]) by SBHFISLTCGW07.FNFIS.COM over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 28 Apr 2011 12:26:57 -0500 From: "Devin Teske" To: "'Alexander Best'" References: <02a701cc006a$887da210$9978e630$@vicor.com> <20110422145518.GA16734@freebsd.org> <20110422154146.GA26083@freebsd.org> <20110422173509.000077ba@unknown> <039f01cc010d$b476d0f0$1d6472d0$@vicor.com> <20110428072703.GC66450@freebsd.org> In-Reply-To: <20110428072703.GC66450@freebsd.org> Date: Thu, 28 Apr 2011 10:26:52 -0700 Organization: Vicor, Inc. Message-ID: <009501cc05c9$77611c00$66235400$@vicor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHbf51LIKsKPgssf99P131HkrB38wGbPSlTAgK1w+gCwVx/+gErfQdlAchwAK8Bxi4JRJP7vjdw Content-Language: en-us X-OriginalArrivalTime: 28 Apr 2011 17:26:57.0982 (UTC) FILETIME=[79F8DDE0:01CC05C9] Cc: 'Bruce Cran' , freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, "'Teske, Devin'" Subject: RE: [UPDATE] host-setup(1): a dialog(1)-based utility for configuring 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, 28 Apr 2011 17:27:03 -0000 > -----Original Message----- > From: Alexander Best [mailto:arundel@freebsd.org] > Sent: Thursday, April 28, 2011 12:27 AM > To: Devin Teske > Cc: 'Bruce Cran'; freebsd-hackers@freebsd.org; freebsd-questions@freebsd.org; > 'Teske, Devin' > Subject: Re: [UPDATE] host-setup(1): a dialog(1)-based utility for configuring > FreeBSD > > On Fri Apr 22 11, Devin Teske wrote: > > > -----Original Message----- > > > From: Bruce Cran [mailto:bruce@cran.org.uk] > > > Sent: Friday, April 22, 2011 9:35 AM > > > To: Alexander Best > > > Cc: Devin Teske; freebsd-hackers@freebsd.org; > > > freebsd-questions@freebsd.org; 'Teske, Devin' > > > Subject: Re: [UPDATE] host-setup(1): a dialog(1)-based utility for > > > configuring FreeBSD > > > > > > On Fri, 22 Apr 2011 15:41:46 +0000 > > > Alexander Best wrote: > > > > > > > FreeBSD 9.0-CURRENT amd64 > > > > > > A new version of dialog was imported a few days ago - maybe something > broke? > > > > Looks like `--hline' is not supported anymore. Thinking this should > > either be patched or documented in ERRATA/UPGRADING. > > what would be the equivalent to --hline in the new dialog(1) package? There are no equivalents to either the `--hline' or `--hfile' options. Compare the 8.2-RELEASE manual to the 9-CURRENT manual: 8.2-RELEASE: http://www.freebsd.org/cgi/man.cgi?query=dialog&apropos=0&sektion=0&manpath=Free BSD+8.2-RELEASE&format=html 9-CURRENT: http://www.freebsd.org/cgi/man.cgi?query=dialog&apropos=0&sektion=0&manpath=Free BSD+9-current&format=html When comparing the above man-pages, issues include: OLD SYNTAX: --hline line NEW SYNTAX: Not available anymore?! ISSUE: No longer capable of setting string to be displayed at bottom of dialog box (exact opposite of --title). OLD SYNTAX: --hfile file NEW SYNTAX: Not available anymore?! ISSUE: No longer capable of setting a file to be displayed by pressing either ? or F1. OLD SYNTAX: --yesno text height width [yes|no] NEW SYNTAX: --yesno text height width ISSUE: Optional fourth argument to change default selection no longer accepted?! DISCUSS: Without fourth argument to change default selection, is the programmer expected to finagle this by using common-options `--no-label YES' and `--yes-label NO' and change logic to treat NO as YES and vice-versa? OLD SYNTAX: --prgbox command height width NEW SYNTAX: Not available anymore?! ISSUE: No longer capable of displaying output of command in dialog box? DISCUSS: As an alternative, I guess we could output the text to a temporary file and then use --textbox OLD SYNTAX: --ftree file FS text height width menu-height NEW SYNTAX: Not available anymore?! ISSUE: No longer capable of displaying a tree described by the data from `file' (which should contain find(1) output). DISCUSS: There appears to be no analog (this is an informational dialog that takes no user input opposed to --dselect and --fselect which are for taking user input in the new dialog; guess we're just out of luck on these ones). OLD SYNTAX: --tree FS text height width menu-height [ item ] ... NEW SYNTAX: Not available anymore?! ISSUE: No longer capable of displaying a tree described by a series of arguments? DISCUSS: Like --ftree, there appears to be no analog. Don't get me wrong... the new dialog *adds* more options than it takes away (or breaks). However, it's frustrating that backward compatibility is not being retained. On a side-note, I notice that my CentOS 4.7 system is running a dialog that matches syntax exactly with what was imported into RELENG_9 (this is a great thing -- meaning I can write dialog(1) based scripts that are compatible with both Linux and FreeBSD with very little effort). Though I'd still like to see the gaps filled so that we could also run legacy dialog(1) based scripts designed for the [8.x and] older dialog(1). -- Devin > > > > > > > > > -- > > > Bruce Cran > > > > _____________ > > > > The information contained in this message is proprietary and/or confidential. If > you are not the intended recipient, please: (i) delete the message and all copies; > (ii) do not disclose, distribute or use the message in any manner; and (iii) notify > the sender immediately. In addition, please be aware that any message > addressed to our domain is subject to archiving and review by persons other than > the intended recipient. Thank you. > > _____________ > > -- > a13x _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________ From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 19:14:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B83FF106566B; Thu, 28 Apr 2011 19:14:30 +0000 (UTC) (envelope-from universite@ukr.net) Received: from otrada.od.ua (universite-1-pt.tunnel.tserv24.sto1.ipv6.he.net [IPv6:2001:470:27:140::2]) by mx1.freebsd.org (Postfix) with ESMTP id 25BF48FC0A; Thu, 28 Apr 2011 19:14:29 +0000 (UTC) Received: from [10.0.0.10] (phenom.otrada.od.ua [10.0.0.10]) (authenticated bits=0) by otrada.od.ua (8.14.4/8.14.4) with ESMTP id p3SJENLC083780; Thu, 28 Apr 2011 22:14:23 +0300 (EEST) (envelope-from universite@ukr.net) X-Authentication-Warning: otrada.od.ua: Host phenom.otrada.od.ua [10.0.0.10] claimed to be [10.0.0.10] Message-ID: <4DB9BC80.9010401@ukr.net> Date: Thu, 28 Apr 2011 22:14:08 +0300 From: "Vladislav V. Prodan" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4DB98F5D.2090108__2814.45118967003$1304006598$gmane$org@ukr.net> <4DB99860.3070701@FreeBSD.org> In-Reply-To: <4DB99860.3070701@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mary-teresa.otrada.od.ua X-Virus-Scanned: clamav-milter 0.97 at mary-teresa.otrada.od.ua X-Virus-Status: Clean Cc: fs@freebsd.org Subject: Re: ZFS-Only FreeBSD and crashdump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2011 19:14:30 -0000 28.04.2011 19:40, Andriy Gapon wrote: > At the moment FreeBSD doesn't support dumping to ZFS zvols, if that's what you are > asking. And when do planning to add support? :) Option to use to dump the usb-flash has its limitations, both on disk size and write speed? -- Vladislav V. Prodan VVP24-UANIC +380[67]4584408 +380[99]4060508 vlad11@jabber.ru From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 19:25:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54010106564A for ; Thu, 28 Apr 2011 19:25:26 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A63E38FC16 for ; Thu, 28 Apr 2011 19:25:25 +0000 (UTC) Received: by fxm11 with SMTP id 11so2945420fxm.13 for ; Thu, 28 Apr 2011 12:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:x-authentication-warning:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=r7ZCfCqHuesG6+M+kr033FPXUwYbytGCQ50Hi37qctc=; b=UgLsmgntconLrC5jk8AUdVmjMYYkaIbvmV219jbymjWq4RG0T0UZuK0JSKYXp2Cfte sL5IWOyHp6r0Ji2LgqF9INi6WvaIT4ZLGrsJdvOPinA90gjBiojazJMJuMO8eYSGwf+R Mmwx4uqR/kzV7rreI0bQQM2qBZtFaV9znV6P8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=qf+MeGhLO9KAxbzQ+106HGpevIVdeLKzYbHRTdQ1u7/xZ/cTab+HyTlVu9rkBui5RJ dO/UGzW4/2ZjWAY2lGqK96kqff7Vvua2cY4b2ovsKCQLtx6nWylvqtggMxN8sK/Jv5w3 8KFtQMpuO0fMiX4CbSnfrd+0p2S6HKaFxPtlE= Received: by 10.223.6.11 with SMTP id 11mr525701fax.101.1304018724212; Thu, 28 Apr 2011 12:25:24 -0700 (PDT) Received: from procyon.xvoid.org ([213.132.76.142]) by mx.google.com with ESMTPS id n26sm677205fam.13.2011.04.28.12.25.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Apr 2011 12:25:23 -0700 (PDT) Received: from procyon.xvoid.org (yuri@localhost [IPv6:::1]) by procyon.xvoid.org (8.14.4/8.14.4) with ESMTP id p3SJPKx6015902; Thu, 28 Apr 2011 23:25:20 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by procyon.xvoid.org (8.14.4/8.14.4/Submit) id p3SJPKR5015901; Thu, 28 Apr 2011 23:25:20 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: procyon.xvoid.org: yuri set sender to yuri.pankov@gmail.com using -f Date: Thu, 28 Apr 2011 23:25:20 +0400 From: Yuri Pankov To: "Vladislav V. Prodan" Message-ID: <20110428192520.GA15893@procyon.xvoid.org> References: <4DB98F5D.2090108__2814.45118967003$1304006598$gmane$org@ukr.net> <4DB99860.3070701@FreeBSD.org> <4DB9BC80.9010401@ukr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DB9BC80.9010401@ukr.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org, fs@freebsd.org Subject: Re: ZFS-Only FreeBSD and crashdump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2011 19:25:26 -0000 On Thu, Apr 28, 2011 at 10:14:08PM +0300, Vladislav V. Prodan wrote: > 28.04.2011 19:40, Andriy Gapon wrote: > > At the moment FreeBSD doesn't support dumping to ZFS zvols, if that's what you are > > asking. > > And when do planning to add support? :) > Option to use to dump the usb-flash has its limitations, both on disk > size and write speed? Why not just use your swap partition as dumpdev? Yuri From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 22:25:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A4AE106566B for ; Thu, 28 Apr 2011 22:25:26 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from ifdnrg29.ifdnrg.com (outbound.ifdnrg.com [193.200.98.138]) by mx1.freebsd.org (Postfix) with ESMTP id 4CFE58FC12 for ; Thu, 28 Apr 2011 22:25:25 +0000 (UTC) Received: from [192.168.1.85] (93-97-172-73.zone5.bethere.co.uk [93.97.172.73]) (authenticated bits=0) by ifdnrg29.ifdnrg.com (8.14.4/8.14.4) with ESMTP id p3SMPN97045896 for ; Thu, 28 Apr 2011 23:25:24 +0100 (BST) (envelope-from paul@ifdnrg.com) Message-ID: <4DB9E951.8060006@ifdnrg.com> Date: Thu, 28 Apr 2011 23:25:21 +0100 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 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: serial console 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: Thu, 28 Apr 2011 22:25:26 -0000 over a test local serial install on a serial configured 8.2 cd install, my serial connection works fine, see's installer menus and everything else works fine. in DC on similar hardware ( supermicro) da0: 70092MB (143548416 512 byte sectors: 255H 63S/T 8935C) acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 Trying to mount root from ufs:/dev/md0 serial stops there and doesn't get to the bsd install screen. ----------- on my working local install i see the additional stages of: Trying to mount root from ufs:/dev/md0 /stand/sysinstall running as init on serial console These are the predefined terminal types available to sysinstall when running stand-alone. Please choose the closest match for your particular terminal. 1 ...................... Standard ANSI terminal. 2 ...................... VT100 or compatible terminal. 3 ...................... FreeBSD system console (color). 4 ...................... FreeBSD system console (monochrome). 5 ...................... xterm terminal emulator. (yay) (the DC sees the installer over vga when they shoudn't, same ISO!!) any suggestions? thanks Paul ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07534206249 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ------------------------- From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 22:40:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87789106566B for ; Thu, 28 Apr 2011 22:40:16 +0000 (UTC) (envelope-from ipluta@wp.pl) Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.8]) by mx1.freebsd.org (Postfix) with ESMTP id 143DC8FC08 for ; Thu, 28 Apr 2011 22:40:15 +0000 (UTC) Received: (wp-smtpd smtp.wp.pl 28292 invoked from network); 29 Apr 2011 00:13:32 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1304028812; bh=p8mH26jhgx3Tpq6WvhDyKUBWvwya5AIT+DMZUDfoiKY=; h=From:To:Subject; b=iMPgAd9YgXNaV4GXSsWKhiihxGrZJw1nG6RwXBsqadqQEbh0T0pEKteuz9k20oeq3 emN8aDTsuHQW7UAyr3y6q+1pDCTegpE/Pr1wZnBbEKA4sVILOV1L2G6DV6XflCWR4X pXlYpqEAknW7XVaoWIZUJ2ftvq6Mcqya61ceLvsQ= Received: from aayo73.neoplus.adsl.tpnet.pl (HELO [10.0.0.101]) (ipluta@[83.6.126.73]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with AES256-SHA encrypted SMTP for ; 29 Apr 2011 00:13:32 +0200 Message-ID: <4DB9E68B.2000908@wp.pl> Date: Fri, 29 Apr 2011 00:13:31 +0200 From: Ireneusz Pluta User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [caMk] Subject: Drive selection for gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2011 22:40:16 -0000 Hello, when selecting SATA drives for gmirror, boot device, connected to an on-board controller, should I look for so-called "enterprise grade", or "raid edition" drives (like for instance http://www.wdc.com/en/products/products.aspx?id=40), or I should rather focus on models closer to "consumer grade"? Will gmirror configuration significantly benefit from things like TLER, or it would rather be harmful, like when using these disks as single ones in desktop applications? Thanks Irek. From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 00:54:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20465106564A for ; Fri, 29 Apr 2011 00:54:13 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id A2B958FC17 for ; Fri, 29 Apr 2011 00:54:12 +0000 (UTC) Received: by wwc33 with SMTP id 33so3451290wwc.31 for ; Thu, 28 Apr 2011 17:54:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=ipP5u7Md8MU9YDsk91XOzOXa+zrM4UNlQexowhqtr5E=; b=hyRMXTYMlSn1ay5HOnHJyElMgmXgnDYxmxyLUFPNXW4VhY42ligmx4jEBgBbu+Bhr4 Ny4w0EPBX9rK+1A86g+zJrZi/35HYXhnPD2LXA+cG1luFsyIXziu53wQz8bXNbTS41Vu cTTsmgDLved6V75/833i3mMH77TjwXn6XGJ+Q= 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=jXGq4krIsxhNx/+cm7gc+CWRwqLW3qK/LB859kSjuxcNMagjymX/qr9D6Bq+Ob0ilT +wf+vqJeR9awfKvJThimha/6SSVUGpD+EpjEONzZJGPwudW6pWizMJoURh92dSU2Ez8v ScRNemLdfpNaPuLMsfRT4lhDU8QrLVeBpcbnw= Received: by 10.227.59.134 with SMTP id l6mr41116wbh.34.1304038451485; Thu, 28 Apr 2011 17:54:11 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id z13sm1402593wbd.12.2011.04.28.17.54.09 (version=SSLv3 cipher=OTHER); Thu, 28 Apr 2011 17:54:10 -0700 (PDT) Date: Fri, 29 Apr 2011 01:54:06 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110429015406.118fa49b@gumby.homeunix.com> In-Reply-To: <20110428171740.GA5840@stainmore> References: <20110425151536.GA61425@stainmore> <20110425175420.GA61811@stainmore> <20110425232908.4104e026@gumby.homeunix.com> <20110426025614.GA62745@stainmore> <20110426104151.596bcc19@gumby.homeunix.com> <20110427014554.1e4c5281@gumby.homeunix.com> <20110427095420.GA41208@kongemord.krig.net> <20110428001010.13a76d07@gumby.homeunix.com> <20110428171740.GA5840@stainmore> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2011 00:54:13 -0000 On Thu, 28 Apr 2011 13:17:41 -0400 Bob Hall wrote: > On Thu, Apr 28, 2011 at 12:10:10AM +0100, RW wrote: > > I'm not saying that anonymous mappings used by malloc aren't > > zero-filled, just that it's not mentioned anywhere in the mmap man > > page. I think it's just taken as read. > > I just got what you're trying to say. Unfortunately, your quotes > mislead me about what you were concerned about. You're right, the man > page doesn't explicitly state whether anonymous mappings are zero > filled or not. Since man pages prioritize concision, I would expect > the page to explain how anonymous mappings are different from other > mappings, but not how they are the same. but they aren't the same - that's what the quotes were about. If the zero-filled extensions included whole pages that have the same status as the rest of the mapping then it would be reasonable to infer that anonymous mappings are similarly filled with zeroed-pages. What that man page is talking about is a small padding region at the end of a file-backed mapping that isn't really intended for use and presumably could get re-zeroed at any moment since it has no backing store. It seems to me to be unreasonable to infer anything about anonymous mappings from this. From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 04:37:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54AC6106564A for ; Fri, 29 Apr 2011 04:37:15 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 197DF8FC0C for ; Fri, 29 Apr 2011 04:37:14 +0000 (UTC) Received: by iwn33 with SMTP id 33so3889896iwn.13 for ; Thu, 28 Apr 2011 21:37:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=7eO7FGBYlJejhfa7/1zM6+XbCrlAgS2988XaqwS2doA=; b=uthFrIO8n4drx4Xdi9Z3pvo+G7sMYxqJYZ0E6/C2UlehChFZPCvExXTxF1NlN78mLZ WkNHeE56jG9suS0WHIwy8nUmgAlzqTnNu+gRvZgupSQ/RMfEURQLfetZ+3o6J2jTzx4e ZfkGL7B2oUxglRkRAGcFNLFDjslXyZXlhxz0w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=dIHiOTkgCHFMIAIGNDNVHJ7xBLyS2c1o3nvFd9Rqmz+LxGwqqdP62/aUny1zSW0JyV 0wRN6EEm2VyG5SvuodL/eLkt2tijCV/3bZcYEJRnIbmwKyc4jVlm4A0WEnrYcMKgdUof P7FD6NhzslRkPNwvFv+v28fAtTlxX0FLmTHYY= Received: by 10.42.134.131 with SMTP id l3mr2840427ict.412.1304051833312; Thu, 28 Apr 2011 21:37:13 -0700 (PDT) Received: from jimmiejaz.org (bas9-toronto63-1128677676.dsl.bell.ca [67.70.65.44]) by mx.google.com with ESMTPS id 4sm987934ibc.32.2011.04.28.21.37.11 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Apr 2011 21:37:12 -0700 (PDT) Message-ID: <4DBA4077.2030206@gmail.com> Date: Fri, 29 Apr 2011 00:37:11 -0400 From: Jimmie James User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.15) Gecko/20110308 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: audacious-2.5.0 broken for anyone else? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2011 04:37:15 -0000 Removing audio/xmp fixes the xmp-audacious.so is not compatible with this version of Audacious Removing the icecast (libshout2) leaves Failed to load plugin (/usr/local/lib/audacious/Output/icecast.so): Shared object "libshout.so.5" not found, required by "icecast.so" Audacious will not load up no matter what. ~>audacious Failed to load plugin (/usr/local/lib/audacious/Input/ffaudio.so): /usr/local/lib/libavutil.so.1: version LIBAVUTIL_49 required by /usr/local/lib/audacious/Input/ffaudio.so not found *** ERROR: /usr/local/lib/audacious/Input/xmp-audacious.so is not compatible with this version of Audacious. *** ERROR: /usr/local/lib/audacious/Output/icecast.so is not compatible with this version of Audacious. pkg_info |grep -i audaci audacious-2.5.0 A media player based on BMP and XMMS audacious-plugins-2.5.0 Plugins needed for audacious uname -a FreeBSD jimmiejaz.org 8.2-STABLE FreeBSD 8.2-STABLE #1: Thu Apr 21 16:54:15 EDT 2011 jimmie@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO i386 From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 07:28:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF8051065673 for ; Fri, 29 Apr 2011 07:28:59 +0000 (UTC) (envelope-from marco@tolstoy.tols.org) Received: from tolstoy.tols.org (tolstoy.tols.org [IPv6:2a02:898:0:20::57:1]) by mx1.freebsd.org (Postfix) with ESMTP id 585B28FC16 for ; Fri, 29 Apr 2011 07:28:59 +0000 (UTC) Received: from tolstoy.tols.org (localhost [127.0.0.1]) by tolstoy.tols.org (8.14.4/8.14.4) with ESMTP id p3T7Su1c018314 for ; Fri, 29 Apr 2011 07:28:56 GMT (envelope-from marco@tolstoy.tols.org) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97 at tolstoy.tols.org Received: (from marco@localhost) by tolstoy.tols.org (8.14.4/8.14.4/Submit) id p3T7SuT2018313 for freebsd-questions@freebsd.org; Fri, 29 Apr 2011 09:28:56 +0200 (CEST) (envelope-from marco) Date: Fri, 29 Apr 2011 09:28:56 +0200 From: Marco van Tol To: freebsd-questions@freebsd.org Message-ID: <20110429072856.GB18271@tolstoy.tols.org> References: <4DB98F5D.2090108__2814.45118967003$1304006598$gmane$org@ukr.net> <4DB99860.3070701@FreeBSD.org> <4DB9BC80.9010401@ukr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DB9BC80.9010401@ukr.net> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on tolstoy.tols.org Subject: Re: ZFS-Only FreeBSD and crashdump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2011 07:28:59 -0000 On Thu, Apr 28, 2011 at 10:14:08PM +0300, Vladislav V. Prodan wrote: > 28.04.2011 19:40, Andriy Gapon wrote: > >At the moment FreeBSD doesn't support dumping to ZFS zvols, if that's what > >you are > >asking. > > And when do planning to add support? :) > Option to use to dump the usb-flash has its limitations, both on disk > size and write speed? Well, to be honest, how do you suppose dumping core to a software raid should work in a situation where the software has crashed? :-) Marco van Tol -- Je moet me niet dood maken met een blije mus From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 07:29:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A115D106566B for ; Fri, 29 Apr 2011 07:29:13 +0000 (UTC) (envelope-from universite@ukr.net) Received: from otrada.od.ua (universite-1-pt.tunnel.tserv24.sto1.ipv6.he.net [IPv6:2001:470:27:140::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0FBDC8FC1D for ; Fri, 29 Apr 2011 07:29:12 +0000 (UTC) Received: from [10.0.0.10] (phenom.otrada.od.ua [10.0.0.10]) (authenticated bits=0) by otrada.od.ua (8.14.4/8.14.4) with ESMTP id p3T7T9UB086829 for ; Fri, 29 Apr 2011 10:29:09 +0300 (EEST) (envelope-from universite@ukr.net) X-Authentication-Warning: otrada.od.ua: Host phenom.otrada.od.ua [10.0.0.10] claimed to be [10.0.0.10] Message-ID: <4DBA68B4.5010905@ukr.net> Date: Fri, 29 Apr 2011 10:28:52 +0300 From: "Vladislav V. Prodan" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4DB98F5D.2090108__2814.45118967003$1304006598$gmane$org@ukr.net> <4DB99860.3070701@FreeBSD.org> <4DB9BC80.9010401@ukr.net> <20110428192520.GA15893@procyon.xvoid.org> In-Reply-To: <20110428192520.GA15893@procyon.xvoid.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mary-teresa.otrada.od.ua X-Virus-Scanned: clamav-milter 0.97 at mary-teresa.otrada.od.ua X-Virus-Status: Clean Subject: Re: ZFS-Only FreeBSD and crashdump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2011 07:29:13 -0000 28.04.2011 22:25, Yuri Pankov wrote: > Why not just use your swap partition as dumpdev? For example? When ZFS is started, it initializes the swap and core dump data will be erased, not having to perform savecore? -- Vladislav V. Prodan VVP24-UANIC +380[67]4584408 +380[99]4060508 vlad11@jabber.ru From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 07:41:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AD57106566B for ; Fri, 29 Apr 2011 07:41:10 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id E83B68FC13 for ; Fri, 29 Apr 2011 07:41:09 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id p3T7exdA083198 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 29 Apr 2011 08:41:06 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p3T7exdA083198 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1304062866; bh=uk0TtuQHxc82T7GrlCWgr2MRx5AwkAnOaLh3pYBGxxs=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4DBA6B83.3040102@infracaninophile.co.uk>|Date:=20F ri,=2029=20Apr=202011=2008:40:51=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.17)=20Gecko/20110414=20Thunderbird/3.1.10|MIME-Version:=20 1.0|To:=20freebsd-questions@freebsd.org|Subject:=20Re:=20Drive=20s election=20for=20gmirror|References:=20<4DB9E68B.2000908@wp.pl>|In -Reply-To:=20<4DB9E68B.2000908@wp.pl>|X-Enigmail-Version:=201.1.1| OpenPGP:=20id=3D60AE908C|Content-Type:=20multipart/signed=3B=20mic alg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-signature"=3 B=0D=0A=20boundary=3D"------------enigDAA7B12A4FD345E6187EF566"; b=gqfkuEO7vuegJsujOg0qiAnirRw1w/KrkqIflG8kuQ4p5QY/A68pb+hHQAW1DWfLZ O/XQCCTdBX0TDNrRWMEG4jZ4A9lJubTEolUEkNSlG4xsJTwSSKHZLrF7QrJ0ncCgaV fUThmArkYpgN9UBWkeL/U2WlUYGADyc54egXFV0c= Message-ID: <4DBA6B83.3040102@infracaninophile.co.uk> Date: Fri, 29 Apr 2011 08:40:51 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4DB9E68B.2000908@wp.pl> In-Reply-To: <4DB9E68B.2000908@wp.pl> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDAA7B12A4FD345E6187EF566" X-Virus-Scanned: clamav-milter 0.97 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Drive selection for gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2011 07:41:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDAA7B12A4FD345E6187EF566 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 28/04/2011 23:13, Ireneusz Pluta wrote: > when selecting SATA drives for gmirror, boot device, connected to an > on-board controller, should I look for so-called "enterprise grade", or= > "raid edition" drives (like for instance > http://www.wdc.com/en/products/products.aspx?id=3D40), or I should rath= er > focus on models closer to "consumer grade"? Will gmirror configuration > significantly benefit from things like TLER, or it would rather be > harmful, like when using these disks as single ones in desktop > applications? gmirror doesn't do all of the really fancy stuff an expensive hardware RAID card will. So, if one disk in a mirror fails a write, the mirror breaks and has to be resynch'd. With gmirror that means manually entering a sequence of commands to remove and re-add the drive to the gmirror. "Enterprise" grade drives can be much more reliable over all as they are designed for 100% duty, whereas with consumer grade the expectation is that the drive will be turned off much of the time. This is typically one of the distinguishing features between SAS and SATA as well. "Green" drives can be particularly bad with FreeBSD, as they frequently end up spinning up and down continuously, which both wastes a lot of power and also shortens the life of the drive: neither of which adds to the actual (rather than claimed) green credentials of the device. Decide how much disk space you want, and what your budget is, then buy the best quality drives that match your criteria. I'd turn off TLER. Cheers Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigDAA7B12A4FD345E6187EF566 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk26a4sACgkQ8Mjk52CukIyvywCdGzjPoTNOsq2pxRa8tv3Lk1ek K2EAnjHIb6nXjxl3PaiQDNOS1g+VScGR =eQcE -----END PGP SIGNATURE----- --------------enigDAA7B12A4FD345E6187EF566-- From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 07:42:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37D621065679 for ; Fri, 29 Apr 2011 07:42:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id BE09F8FC24 for ; Fri, 29 Apr 2011 07:42:19 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id p3T7gGVX083220 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 29 Apr 2011 08:42:16 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p3T7gGVX083220 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1304062936; bh=BhtWfYjW64exs8wvH6zTiCHdfuLuQKHOzrKCY/pj8/U=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4DBA6BD7.4070709@infracaninophile.co.uk>|Date:=20F ri,=2029=20Apr=202011=2008:42:15=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.17)=20Gecko/20110414=20Thunderbird/3.1.10|MIME-Version:=20 1.0|To:=20freebsd-questions@freebsd.org|Subject:=20Re:=20serial=20 console=20install|References:=20<4DB9E951.8060006@ifdnrg.com>|In-R eply-To:=20<4DB9E951.8060006@ifdnrg.com>|X-Enigmail-Version:=201.1 .1|OpenPGP:=20id=3D60AE908C|Content-Type:=20multipart/signed=3B=20 micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-signature "=3B=0D=0A=20boundary=3D"------------enigFAB85AA3014A3548406CC6ED" ; b=Xz/W1BqUeOPHZYnDmeo9onKRQ5yWgQIbEfQbFczfgI5gREjBxsRv0VjrLTnfQfsIx 7LkTXf85hKnB8wlNB9vVGyDQmdiEpzUPOd4/kjVoxiXXjzgKxSXugO7wmxjZ0q+U8M vfsPnTYtmAfs5sm1d9Gkcx5+BVXIFsuPzMYJXKwQ= Message-ID: <4DBA6BD7.4070709@infracaninophile.co.uk> Date: Fri, 29 Apr 2011 08:42:15 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4DB9E951.8060006@ifdnrg.com> In-Reply-To: <4DB9E951.8060006@ifdnrg.com> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFAB85AA3014A3548406CC6ED" X-Virus-Scanned: clamav-milter 0.97 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: serial console install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2011 07:42:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFAB85AA3014A3548406CC6ED Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 28/04/2011 23:25, Paul Macdonald wrote: > (the DC sees the installer over vga when they shoudn't, same ISO!!) >=20 > any suggestions? >=20 It's frequently a BIOS option to redirect the console to a serial device or not. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigFAB85AA3014A3548406CC6ED Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk26a9gACgkQ8Mjk52CukIyAagCeN3Md1K3AyLKyvTYgR1749oSP EUoAn2+IB4xoaHCRd6AyqVWHTNAJVQ0d =+U0S -----END PGP SIGNATURE----- --------------enigFAB85AA3014A3548406CC6ED-- From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 10:59:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 984AE106564A for ; Fri, 29 Apr 2011 10:59:41 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 793AE8FC14 for ; Fri, 29 Apr 2011 10:59:41 +0000 (UTC) Received: by pzk27 with SMTP id 27so2767608pzk.13 for ; Fri, 29 Apr 2011 03:59:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.26.134 with SMTP id l6mr4968465pbg.235.1304073372901; Fri, 29 Apr 2011 03:36:12 -0700 (PDT) Received: by 10.68.60.161 with HTTP; Fri, 29 Apr 2011 03:36:12 -0700 (PDT) In-Reply-To: <20110429072856.GB18271@tolstoy.tols.org> References: <4DB98F5D.2090108__2814.45118967003$1304006598$gmane$org@ukr.net> <4DB99860.3070701@FreeBSD.org> <4DB9BC80.9010401@ukr.net> <20110429072856.GB18271@tolstoy.tols.org> Date: Fri, 29 Apr 2011 12:36:12 +0200 Message-ID: From: Olivier Smedts To: Marco van Tol Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: ZFS-Only FreeBSD and crashdump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2011 10:59:41 -0000 2011/4/29 Marco van Tol : > On Thu, Apr 28, 2011 at 10:14:08PM +0300, Vladislav V. Prodan wrote: >> 28.04.2011 19:40, Andriy Gapon wrote: >> >At the moment FreeBSD doesn't support dumping to ZFS zvols, if that's w= hat >> >you are >> >asking. >> >> And when do planning to add support? :) >> Option to use to dump the usb-flash has its limitations, both on disk >> size and write speed? > > Well, to be honest, how do you suppose dumping core to a software raid > should work in a situation where the software has crashed? :-) Approximately the same way you suppose dumping core on a block device should work when the device driver has crashed ! --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas." From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 06:57:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92E4A106566B for ; Fri, 29 Apr 2011 06:57:29 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from nm22.bullet.mail.sp2.yahoo.com (nm22.bullet.mail.sp2.yahoo.com [98.139.91.92]) by mx1.freebsd.org (Postfix) with SMTP id 6E2138FC0C for ; Fri, 29 Apr 2011 06:57:29 +0000 (UTC) Received: from [98.139.91.70] by nm22.bullet.mail.sp2.yahoo.com with NNFMP; 29 Apr 2011 06:57:29 -0000 Received: from [98.139.91.59] by tm10.bullet.mail.sp2.yahoo.com with NNFMP; 29 Apr 2011 06:57:29 -0000 Received: from [127.0.0.1] by omp1059.mail.sp2.yahoo.com with NNFMP; 29 Apr 2011 06:57:29 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 156921.69250.bm@omp1059.mail.sp2.yahoo.com Received: (qmail 69137 invoked by uid 60001); 29 Apr 2011 06:57:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1304060248; bh=AA5SHg5P+L+rKC8obc07FWrrHtSpY+kmCuM8EenMH4k=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=gA3vHIrVu7nN92EXNatexzWCZEZzuknYmTYOs23/VlrrtD2IcYJaLllidC3tkZM71KHtKsC1bngD04U3YsM8tBnoJyc0gafCc4VC+sJ3KuhSrfRMHKpWV6ICKU+Ve15a6HApNXu5qQGwfXb9ToLATQgSjSXkQN46iJ2CukUBs+s= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=vXkHvPNX9wnERW8j4v/yYJ2C5eJsSIlLIY9Y8sJQmV9KB1eUIXgcJjuexljMYuEIEBWs35U7sPhZ5jCxl5aUI3/REaWsi3AVIicYUodPxj7Xolhw1VeHBoUwAA7dUWgw2cSXnTlMojM3ul3qvWGdQWTjB+E4ivtIkRSw8qh2BPg=; Message-ID: <629611.69016.qm@web113601.mail.gq1.yahoo.com> X-YMail-OSG: PivZ.wwVM1klnPnvapLO5.KhpdpE17jkEZbhw6lIS3mzdj4 Sa3Zru.nkOclbzDezcsC3QJZ84H13OJT7vWr5ek3PTBZnJwyi5J4i_kUsVwO u1T5efIHB_RWoKrlH0tVKRjILBDuU_ehrzLvALgXt60_9tVMXnGq.khMw3tN kqaG2AjU1jrxJBFRgJKFm.TN.3ugFkebgLTUIoLPh6ao_VExukfuAuhCmFC3 gGFdwSvcSOh2t_FKWF71GtQBDoo8BsP7Hf30SX8vFx99Rjt5XHRvxhjMzrRV VaLQxmIGEFtMjzeANDlB2YiaHw9xpZA4ksYiAPAGQXKzz6Ten1E2olAIcaIi z0uLqBdRjw5Bn497eGzxMCtqNN6WHXnsPXIiTzZptFpG4SLCuqwAoepEwpgu eFPdKo98ybFqu Received: from [212.64.31.247] by web113601.mail.gq1.yahoo.com via HTTP; Thu, 28 Apr 2011 23:57:28 PDT X-Mailer: YahooMailClassic/12.0.2 YahooMailWebService/0.8.110.299900 Date: Thu, 28 Apr 2011 23:57:28 -0700 (PDT) From: Dino Vliet To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 29 Apr 2011 11:03:36 +0000 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: how to concatenate 2 pdf files to 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: Fri, 29 Apr 2011 06:57:29 -0000 Dear freebsd userlist, here an application type of question. I have two pdf files and want to make 1 out of them by concatenating them. Does anyone have an idea how to do that on unix/linux as I don't have the pdf editor from Adobe. So fileA.pd en fileB.pdf should become fileC.pdf (where C is A+B) Brgds Dino From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 11:52:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E959D1065673 for ; Fri, 29 Apr 2011 11:52:30 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 784A08FC0A for ; Fri, 29 Apr 2011 11:52:30 +0000 (UTC) Received: by bwz12 with SMTP id 12so4337055bwz.13 for ; Fri, 29 Apr 2011 04:52:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=U4EBRd6cSD2yURpOop7hNI0vL+Lh4gZ81C99MQyqHlU=; b=vOC7PtkXf3UjuM0mZM4dAH4OyH75pQ1+OoO/OQblhubND+mIhkZ7vQkuNZ5bC9pHIH IeRIXc3rMdR6Gp7CYo4sPZgj0+4wHtYpBUHIXJmZjmJZXENxfIHFMsGVHR8rVVWLexh9 Evx9KNHwXaZOSBf5TMpz0q8evdy3nuUCii17s= 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=fKu2LMvperbSKCJI0NuyriBQeBloRYB/EVLrgnnnq38P5fLDQn7wmjfRQmYz4bWCjX gtdsg3mk9x+XtGLQ6YDyr7iRbJmCGfIEHXThp7LODIHf2V6eGT3fhLV4el9hSCaWT7Au IyXd33vqgLpjqFJMTp/cmFmkipLClGbcGjkzU= MIME-Version: 1.0 Received: by 10.204.151.202 with SMTP id d10mr1815077bkw.168.1304077949324; Fri, 29 Apr 2011 04:52:29 -0700 (PDT) Received: by 10.204.169.65 with HTTP; Fri, 29 Apr 2011 04:52:29 -0700 (PDT) In-Reply-To: <629611.69016.qm@web113601.mail.gq1.yahoo.com> References: <629611.69016.qm@web113601.mail.gq1.yahoo.com> Date: Fri, 29 Apr 2011 06:52:29 -0500 Message-ID: From: Antonio Olivares To: Dino Vliet Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: how to concatenate 2 pdf files to 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: Fri, 29 Apr 2011 11:52:31 -0000 On Fri, Apr 29, 2011 at 1:57 AM, Dino Vliet wrote: > Dear freebsd userlist, > here an application type of question. I have two pdf files and want to make 1 out of them by concatenating them. Does anyone have an idea how to do that on unix/linux as I don't have the pdf editor from Adobe. > > So fileA.pd en fileB.pdf should become fileC.pdf (where C is A+B) > > Brgds > Dino You can use gs (ghostscript) Try the following: $ gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=fileC.pdf -dBATCH fileA.pdf fileB.pdf That should combine the 2 into 1. Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 11:52:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D5C210656A8 for ; Fri, 29 Apr 2011 11:52:52 +0000 (UTC) (envelope-from bo@kbct.de) Received: from server1.worldofblubbbel.de (server1.worldofblubbbel.de [85.25.71.172]) by mx1.freebsd.org (Postfix) with ESMTP id 52AEE8FC0C for ; Fri, 29 Apr 2011 11:52:52 +0000 (UTC) Received: from bo-mbp.level1.hanse.fizon.de (188-192-203-75-dynip.superkabel.de [188.192.203.75]) by server1.worldofblubbbel.de (Postfix) with ESMTP id A34A533F389; Fri, 29 Apr 2011 13:26:32 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: =?iso-8859-1?Q?Bj=F6rn_Oelke?= In-Reply-To: <629611.69016.qm@web113601.mail.gq1.yahoo.com> Date: Fri, 29 Apr 2011 13:26:19 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <15098931-FEA4-43B9-99C7-16DCA6170B6C@kbct.de> References: <629611.69016.qm@web113601.mail.gq1.yahoo.com> To: Dino Vliet X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions@freebsd.org, =?iso-8859-1?Q?Bj=F6rn_Oelke?= Subject: Re: how to concatenate 2 pdf files to 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: Fri, 29 Apr 2011 11:52:52 -0000 Am 29.04.2011 um 08:57 schrieb Dino Vliet: >=20 > Dear freebsd userlist, > here an application type of question. I have two pdf files and want to = make 1 out of them by concatenating them. Does anyone have an idea how = to do that on unix/linux as I don't have the pdf editor from Adobe. >=20 > So fileA.pd en fileB.pdf should become fileC.pdf (where C is A+B) You could use pdftk. (print/pdftk) `pdftk in1.pdf in2.pdf cat output out.pdf` --=20 BO .. http://kbct.de P.S.: Moin. From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 13:38:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93D801065670 for ; Fri, 29 Apr 2011 13:38:27 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 25D598FC1E for ; Fri, 29 Apr 2011 13:38:26 +0000 (UTC) Received: by wwc33 with SMTP id 33so3892283wwc.31 for ; Fri, 29 Apr 2011 06:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=f3hIv7Z5q828ov7tELpTuuDLYb5+8Aep84QWv5y7Xjw=; b=uJZ93tjIZ+HvkYYMnRUCHyBI+PALajRr8W1Q4fduBMQMKI0fWaCNdZtpb81fN4um2V 1nGLGDPGQTTBJz8NY34LFCWw/B+kFCekWcXENCnEq+4Ebilhip1Z4fDYX+YSDBfrHvnU c6hMeHbQZB0Rfl5lE6SOToR03CSs9l7apQ1bk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=XKmGK9fcjMUo9xfvtKU3Uhr7pJNk7Iljeq3Qcqc7vZ1kVmXFHRs+j94AGNFVo0rsBR a0WMFtjHKObZkYM9FDZByUcGB+aFRi/aMUIu4HnikJ2XlRnS8wXS/cy+oyyktkwojT+M s33qEszPSuWfEl4JW4KGU6QRwZT+/4l6p85Ng= Received: by 10.217.7.66 with SMTP id z44mr4948380wes.100.1304084306007; Fri, 29 Apr 2011 06:38:26 -0700 (PDT) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id o6sm1714340wbo.37.2011.04.29.06.38.24 (version=SSLv3 cipher=OTHER); Fri, 29 Apr 2011 06:38:25 -0700 (PDT) Message-ID: <4DBABF29.4070800@gmail.com> Date: Fri, 29 Apr 2011 15:37:45 +0200 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: webcamd started two times for the same webcam X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2011 13:38:27 -0000 Hello, I have a little problem with the webcamd(8) rc script. It tries to start two times on the same peripheral : Starting webcamd. Attached ugen3.2[0] to cuse unit -1 Starting webcamd. Webcamd is already running for ugen3.2.0 /usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd I tried adding webcamd_flags="-d 3.2" but it does not solve. Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 15:16:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64D67106566B for ; Fri, 29 Apr 2011 15:16:40 +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 E79B28FC19 for ; Fri, 29 Apr 2011 15:16:39 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QFpQs-00084Z-3U for freebsd-questions@freebsd.org; Fri, 29 Apr 2011 17:16:38 +0200 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Apr 2011 17:16:37 +0200 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Apr 2011 17:16:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Fri, 29 Apr 2011 11:19:20 -0400 Lines: 37 Message-ID: References: <4DB9E68B.2000908@wp.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: Drive selection for gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2011 15:16:40 -0000 Ireneusz Pluta wrote: > Hello, > > when selecting SATA drives for gmirror, boot device, connected to an > on-board controller, should I look for so-called "enterprise grade", or > "raid edition" drives (like for instance > http://www.wdc.com/en/products/products.aspx?id=40), or I should rather > focus on models closer to "consumer grade"? Will gmirror configuration > significantly benefit from things like TLER, or it would rather be > harmful, like when using these disks as single ones in desktop > applications? > This is an overly broad generalization, but I would tend to match RE drives with expensive hardware-only RAID controllers. They are touchy and really designed with TLER in mind. On the other end of the spectrum is a pure software RAID such as gmirror. I don't know all that much about the innards but I believe a pure software RAID run on JBOD will work with consumer grade drives just fine most of the time. The in-between caveat is the so-called 'fakeraid' sets of controllers. These are what you're most likely to find as a cheap 'feature-add' on a consumer desktop motherboard. Things like Intel RAID Matrix and such are known not to work well with non-Windows environments. However, much of the time these will still work fine if RAID functionality is turned off in BIOS and the connected drives are JBOD, with a pure software RAID applied instead of trying to utilize the motherboard BIOS RAID. My web development server at home has a pair of Raptors on an ICH5 controller with gmirror and has been completely trouble free for about a year now. I'd stay away from the "Green" drives that spin down all the time. Even a pure software RAID solution is likely not going to be happy with them. -Mike From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 16:00:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DA9F106564A for ; Fri, 29 Apr 2011 16:00:06 +0000 (UTC) (envelope-from rjhjr0@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id A529C8FC14 for ; Fri, 29 Apr 2011 16:00:05 +0000 (UTC) Received: by yie12 with SMTP id 12so1938564yie.13 for ; Fri, 29 Apr 2011 09:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=HStHkCoh8pqrB0aJnIEvLmsCnIHCjXtnzyrxLqdQlzs=; b=VwQOVhzd/cbN8sEiJmiNmbVJJdVTV0uK4Wo7mHtgKT9OIsns5MNYsCKLZsz25mKKYX KW7WM9ISHcXa6nSxndhlbm+aCMN2qLcIWANz0hPO9LMdSIZdEgEdCpa0hhEt3r87reD3 HWDDinsexbbGlZoBGK+9k31S1Fa9WSWGF7/GY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=alvh1i5E6OFHNrjrz9wAX7bAmPD54aRp2RKqphIJAWLjLXLBy/eSjafr+dUKNvn92Q V6+M74ZITXh/mHENnklalJRfw5P2oo3JufspJt+yGR93enblb8pdAxv1D+gOtNJLow8m gD8ZLwac8sAkxY9dW/qr33mKV14Vfv4LA6cyw= Received: by 10.90.219.8 with SMTP id r8mr374738agg.96.1304092804651; Fri, 29 Apr 2011 09:00:04 -0700 (PDT) Received: from localhost (ip98-163-115-74.dc.dc.cox.net [98.163.115.74]) by mx.google.com with ESMTPS id c17sm2899836anc.41.2011.04.29.09.00.02 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Apr 2011 09:00:03 -0700 (PDT) Date: Fri, 29 Apr 2011 12:00:00 -0400 From: Bob Hall To: RW Message-ID: <20110429160000.GA10275@stainmore> Mail-Followup-To: Bob Hall , RW , freebsd-questions@freebsd.org References: <20110425175420.GA61811@stainmore> <20110425232908.4104e026@gumby.homeunix.com> <20110426025614.GA62745@stainmore> <20110426104151.596bcc19@gumby.homeunix.com> <20110427014554.1e4c5281@gumby.homeunix.com> <20110427095420.GA41208@kongemord.krig.net> <20110428001010.13a76d07@gumby.homeunix.com> <20110428171740.GA5840@stainmore> <20110429015406.118fa49b@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110429015406.118fa49b@gumby.homeunix.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2011 16:00:06 -0000 On Fri, Apr 29, 2011 at 01:54:06AM +0100, RW wrote: > On Thu, 28 Apr 2011 13:17:41 -0400 > Bob Hall wrote: > > > On Thu, Apr 28, 2011 at 12:10:10AM +0100, RW wrote: > > > I'm not saying that anonymous mappings used by malloc aren't > > > zero-filled, just that it's not mentioned anywhere in the mmap man > > > page. I think it's just taken as read. > > > > I just got what you're trying to say. Unfortunately, your quotes > > mislead me about what you were concerned about. You're right, the man > > page doesn't explicitly state whether anonymous mappings are zero > > filled or not. Since man pages prioritize concision, I would expect > > the page to explain how anonymous mappings are different from other > > mappings, but not how they are the same. > > but they aren't the same - that's what the quotes were about. Looking back, I don't see anything in your quotes that raises the issue of anonymous objects being used differently. > If the zero-filled extensions included whole pages that have the same > status as the rest of the mapping then it would be reasonable to infer > that anonymous mappings are similarly filled with zeroed-pages. > > What that man page is talking about is a small padding region at the > end of a file-backed mapping that isn't really intended for use and > presumably could get re-zeroed at any moment since it has no backing > store. It seems to me to be unreasonable to infer anything about > anonymous mappings from this. When an anonymous object first gets a pagein, it grabs a free page and zeros it. Generally, the virtual memory system fetches new pages from a cache of zeroed pages. In either case, pages are zeroed before a process gets access. This is part of the general background info on virtual memory and I wouldn't expect it to be documented in the mmap man page. Off topic, the maillist is apparently filtering out my posts. I've looked at the webpage on filtering and can't find anything that explains why I'm being filtered. I've tried posting from another system that I posted successfully from previously, but no success. I've tried googling and searching the mail archives for problems related to google mail, but nothing came up. If some mail expert can spot what's causing me to be blocked and let me know, I'd be grateful. > > > _______________________________________________ > 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 Apr 29 18:03:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB5B1106566C for ; Fri, 29 Apr 2011 18:03:01 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from cruwe.de (t1850.greatnet.de [83.133.124.96]) by mx1.freebsd.org (Postfix) with ESMTP id 5B4858FC12 for ; Fri, 29 Apr 2011 18:03:00 +0000 (UTC) Received: (qmail 8553 invoked from network); 29 Apr 2011 17:36:18 -0000 Received: from p5b37ae5a.dip.t-dialin.net (HELO dijkstra) (smtpallow@91.55.174.90) by t1850.greatnet.de with ESMTPA; 29 Apr 2011 17:36:18 -0000 Date: Fri, 29 Apr 2011 19:36:07 +0200 From: "Christopher J. Ruwe" To: freebsd-questions@freebsd.org Message-ID: <20110429193607.035d3987@dijkstra> In-Reply-To: <629611.69016.qm@web113601.mail.gq1.yahoo.com> References: <629611.69016.qm@web113601.mail.gq1.yahoo.com> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/QPJfk2Q59vkNoI31Yi0V.UL"; protocol="application/pgp-signature" Subject: Re: how to concatenate 2 pdf files to 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: Fri, 29 Apr 2011 18:03:02 -0000 --Sig_/QPJfk2Q59vkNoI31Yi0V.UL Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 28 Apr 2011 23:57:28 -0700 (PDT) Dino Vliet wrote: > Dear freebsd userlist, > here an application type of question. I have two pdf files and want > to make 1 out of them by concatenating them. Does anyone have an idea > how to do that on unix/linux as I don't have the pdf editor from > Adobe. >=20 > So fileA.pd en fileB.pdf should become fileC.pdf (where C is A+B) >=20 > Brgds > Dino > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" You could also use pdfjoin from print/pdfjam. Cheers, --=20 Christopher J. Ruwe TZ GMT + 2 --Sig_/QPJfk2Q59vkNoI31Yi0V.UL Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQIcBAEBAgAGBQJNuvcPAAoJEJTIKW/o3iwUr+UP/jld+trCWU8q3zV8R+fFDo1+ 6rWc0r/A5zILGzVSl0M5f4FuOai3qb24yzDzmFDzyhMSAaOMqV51oCBkkhR53U7R S8ZJwiodrP68fPWB7U80fB0i8CVfm1GV+8epnrVt2ptK1kriO2wavd/tj998fkYS U8eDLvu7CZ+UsF4pKMIfq4XrJ9eeNlMERa5mL3NkcF5qELiZ2hNNbcpL0WBXYZGP 47e4cVlgXWEqbgMF01mapolOPCDksp4eSYv6x0thxDuizQ20r9GJwYDSi3oJGHIh DOOazz/nDPcPh/AuiNDUsVnczuPysq3ep/EqWLFo5h82w3kXqDfGDu+FcnEpyoM2 vWR/cbCr2qCK20IZAW0qrC7Sn1XigNeMvNM4tyDmL5ZP0odiJ6amXn6W8a8lLLS5 XyNQJa/ZkfVW0y2b7/MYY9pLfeXk3V4PmxOTFJfTqw8dV2aWNzUhIXD35USYKPpp DtLE3mVT65QH0dXQ03NEKE3CdKb4cn2QWn+lWmerBaq141R7Dz8GLeEbNi0SkWRl +egGPAm2z6WfSlR7FM7tAk6e/wti9o7S2dNX7p7MIGwM3ym7gmIPg8VIR5n4KeQW zH8jJObSSFcr4zk+26PYWGe56BuKp7p8sL5USmGpKCl1wBZFPFU9QTtshr1uxxgx tnFiwXuAcxFeAhslfLEr =sPBP -----END PGP SIGNATURE----- --Sig_/QPJfk2Q59vkNoI31Yi0V.UL-- From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 19:46:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C6DF106564A for ; Fri, 29 Apr 2011 19:46:16 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 24DFB8FC13 for ; Fri, 29 Apr 2011 19:46:15 +0000 (UTC) Received: by iwn33 with SMTP id 33so4625667iwn.13 for ; Fri, 29 Apr 2011 12:46:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.91.16 with SMTP id k16mr4055390ibm.124.1304106375451; Fri, 29 Apr 2011 12:46:15 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.23.68 with HTTP; Fri, 29 Apr 2011 12:46:15 -0700 (PDT) Date: Fri, 29 Apr 2011 15:46:15 -0400 X-Google-Sender-Auth: 85AgjEw3qcJs2Ep3CxrDyh5djgY Message-ID: From: Alejandro Imass To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Ezjail and Flavours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2011 19:46:16 -0000 Hi, I've been using flavors for a while but only simple stuff like /etc and /pkg So what I have is a bunch of base jails where I just install ports and the copythe packages over to the flavours. Now I want to create a Perl Catalyst base jail, but something I installed via ports and others via CPAN. Question: what gets executed first with EzJail? the pkg installation or the file copy? Mi idea is to soft-link the complete /usr/local directory of the compiling jail in the specific flavour so after the packages get installed I can just copy everything else over /usr/local It should be pretty safe either way I guess but probably there are people with a lot more experience with EzJail here ;-) Thanks! -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 20:53:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55C36106566C for ; Fri, 29 Apr 2011 20:53:32 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id E16CA8FC13 for ; Fri, 29 Apr 2011 20:53:31 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id p3TKbfA7032143; Fri, 29 Apr 2011 22:37:42 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id C396FBA8A; Fri, 29 Apr 2011 22:37:41 +0200 (CEST) Date: Fri, 29 Apr 2011 22:37:41 +0200 From: Roland Smith To: Jimmie James Message-ID: <20110429203741.GA37196@slackbox.erewhon.net> References: <4DBA4077.2030206@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <4DBA4077.2030206@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.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: audacious-2.5.0 broken for anyone else? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2011 20:53:32 -0000 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 29, 2011 at 12:37:11AM -0400, Jimmie James wrote: > Removing audio/xmp fixes the xmp-audacious.so is not compatible with=20 > this version of Audacious > Removing the icecast (libshout2) leaves Failed to load plugin=20 > (/usr/local/lib/audacious/Output/icecast.so): Shared object=20 > "libshout.so.5" not found, required by "icecast.so" Audacious works fine here. But I don't have an icecast.so file in /usr/local/lib/audacious/Output/. I think it is a remainder of an older version that was not removed? There is no icecast.so plugin in the pkg-plist of the current audacious-plugins port. In my experience building Audacious tends to fail or produce incorrect resu= lts when you are building it with a previous version installed. Therefore I tend to remove Audacious and its plugins before installing the new version. Maybe that helps? Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --ibTvN161/egqYuK8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk27IZUACgkQEnfvsMMhpyUqagCfVVKR6BCr/G9cFKPcNLU/gURh oD8AnibGIK28LmaQ0TH46OZI3D4Fajls =oaZZ -----END PGP SIGNATURE----- --ibTvN161/egqYuK8-- From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 20:59:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C6E8106566C for ; Fri, 29 Apr 2011 20:59:17 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id C58ED8FC08 for ; Fri, 29 Apr 2011 20:59:16 +0000 (UTC) Received: by yie12 with SMTP id 12so2065657yie.13 for ; Fri, 29 Apr 2011 13:59:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=UfFZcvMYsOjerwG3xThl69lVCPxMWg1EIB+4WADrFNY=; b=DHdsi8jBdMR7+1ZRBva+MGjVar8fjBY3K6LGG/+hYQkgQ4WI+NMzQga8RGGJC9P+YO rVTXc6oTSDYfjgkLqFGsxWgDB01erBF2sKqVAd3Wm9O25Ajjf4d3msZ6hpeTgz5CMFXs jUVlyPoLfMVSFbm2aHxLpsO21m+mXWWtk3PoM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=gQNk3vj6N04LPStwy1vk/PD8S8pDIZPtCilgxlRD99xXH0MTrBE/7dY8gbUITLc+rw YytxwkkrcSIRsX+1LgReRS4Fh+X3vIuzQ78c6h10+Eo+ZRKdaTZyClmQUwln1faYvAh2 DHf+FGGXoYvH7MYtPIEYJoKeoZz/LxxZc8rXU= Received: by 10.150.114.3 with SMTP id m3mr4838392ybc.416.1304110756080; Fri, 29 Apr 2011 13:59:16 -0700 (PDT) Received: from jimmiejaz.org (bas9-toronto63-1128677676.dsl.bell.ca [67.70.65.44]) by mx.google.com with ESMTPS id r18sm1513821yba.26.2011.04.29.13.59.10 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Apr 2011 13:59:11 -0700 (PDT) Message-ID: <4DBB269D.7020307@gmail.com> Date: Fri, 29 Apr 2011 16:59:09 -0400 From: Jimmie James User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.15) Gecko/20110308 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Roland Smith References: <4DBA4077.2030206@gmail.com> <20110429203741.GA37196@slackbox.erewhon.net> In-Reply-To: <20110429203741.GA37196@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: audacious-2.5.0 broken for anyone else? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2011 20:59:17 -0000 On 04/29/11 16:37, Roland Smith wrote: > On Fri, Apr 29, 2011 at 12:37:11AM -0400, Jimmie James wrote: >> Removing audio/xmp fixes the xmp-audacious.so is not compatible with >> this version of Audacious >> Removing the icecast (libshout2) leaves Failed to load plugin >> (/usr/local/lib/audacious/Output/icecast.so): Shared object >> "libshout.so.5" not found, required by "icecast.so" > > Audacious works fine here. But I don't have an icecast.so file in > /usr/local/lib/audacious/Output/. > > I think it is a remainder of an older version that was not removed? There is > no icecast.so plugin in the pkg-plist of the current audacious-plugins port. > > In my experience building Audacious tends to fail or produce incorrect results > when you are building it with a previous version installed. Therefore I tend > to remove Audacious and its plugins before installing the new version. Maybe > that helps? > > Roland Well, it's working now, following Oliver's advice so it's all good. The thing was, I'd never had an issue updating it before while it was installed, so it threw me for a loop. I have a note in my system tricks'n'tips file now about it. Thanks all. I am currently away on leave, traveling through time and will be returning last week. Life is tough, but it's tougher when you're stupid. From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 23:02:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AAAD106566B for ; Fri, 29 Apr 2011 23:02:31 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5D33A8FC0C for ; Fri, 29 Apr 2011 23:02:30 +0000 (UTC) Received: by iwn33 with SMTP id 33so4769321iwn.13 for ; Fri, 29 Apr 2011 16:02:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.65.75 with SMTP id h11mr4193692ibi.149.1304118150564; Fri, 29 Apr 2011 16:02:30 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.23.68 with HTTP; Fri, 29 Apr 2011 16:02:30 -0700 (PDT) In-Reply-To: References: Date: Fri, 29 Apr 2011 19:02:30 -0400 X-Google-Sender-Auth: 2mjETPxx7uiveuG4GxvAF4ewB0A Message-ID: From: Alejandro Imass To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Ezjail and Flavours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2011 23:02:31 -0000 On Fri, Apr 29, 2011 at 3:46 PM, Alejandro Imass wrote: > Hi, > Answering myself here... [snip] > Mi idea is to soft-link the complete /usr/local directory of the > compiling jail in the specific flavour so after the packages get > installed I can just copy everything else over /usr/local > It should be pretty safe either way I guess but probably there are > people with a lot more experience with EzJail here ;-) > Did DID NOT work :-( First, Ezjail copies first and installs the packages on first start of the jail. I knew this but had forgotten so it is logical that first copy the pkg install, duh! Second, EzJail just copies the soft link and this of course will not work just like that for obvious security reasons. I erased the jail and tried a second time... So here is what I did and seems to work: 1) Create your jail flavour standard with packages and all 2) Start the jail. This will install packages 3) Stop the jail 4) Copy the entire /usr/local of your compile jail to your new jail 5) Start the working jail This seems easy enough and seems to be working perfectly! What I have is different flavors of compiling jails: php52, php53, catalyst 5.8, apache22, etc. Those are never used for production. Only to compile and generate the packages for the EzJail flavours. The other option would be to phisically copy the contents of /usr/local to the flavour but I think it's a better idea to let the packages install and _then_ copy /usr/local over that. Anyway, it's working so cool! Man, FBSD really rocks! Regardless of the thousands of technical benefits, the clean cut separation of system and applications, _and_ Jails is to me, one the greatest things about FBSD. -- Alejandro Imass > Thanks! > > -- > Alejandro Imass > From owner-freebsd-questions@FreeBSD.ORG Sat Apr 30 00:29:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 741D31065670 for ; Sat, 30 Apr 2011 00:29:28 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id F351B8FC13 for ; Sat, 30 Apr 2011 00:29:27 +0000 (UTC) Received: by wyf23 with SMTP id 23so4130769wyf.13 for ; Fri, 29 Apr 2011 17:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=I4Owcq9Hpb8xHTKjqrGbJp0CNptFdqzLFs46CO5GCUE=; b=CKWgU6EB+Cy1dwkvTw2rTTOB2ZY4CEfdbWSX39ef2/ORrT0cGOiWN8eLVl5AdPUkmH 8SuuaTAxvoTxEzPMLc/sDJKT3j8RHtCE+Yi24fSwS3YeAKde6FefS5U3h0hHo3rhoCAF kOjVzEKqTvYO4pkv0JAOp0GSwB0PEjTs0rfak= 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=pKWtIeUsmlcKnWkwL0NiFMsNhfQaqOSJn1mHoM3HdvuiBzYy/4N624l34L7EO2VeEv qkGal8lj6BY5XP1+49BjrKPIxB4mFN8Zv/L9fm3kYOFGTkTKVF5bDbspJBginlW6iX2Z hwCYxAkuj0dfNaA/QKAnt09GJqPmKYoWEBe5c= Received: by 10.227.130.96 with SMTP id r32mr1476598wbs.67.1304123367022; Fri, 29 Apr 2011 17:29:27 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id bs4sm1992811wbb.18.2011.04.29.17.29.24 (version=SSLv3 cipher=OTHER); Fri, 29 Apr 2011 17:29:25 -0700 (PDT) Date: Sat, 30 Apr 2011 01:29:22 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110430012922.0cbd98f8@gumby.homeunix.com> In-Reply-To: <20110429160000.GA10275@stainmore> References: <20110425175420.GA61811@stainmore> <20110425232908.4104e026@gumby.homeunix.com> <20110426025614.GA62745@stainmore> <20110426104151.596bcc19@gumby.homeunix.com> <20110427014554.1e4c5281@gumby.homeunix.com> <20110427095420.GA41208@kongemord.krig.net> <20110428001010.13a76d07@gumby.homeunix.com> <20110428171740.GA5840@stainmore> <20110429015406.118fa49b@gumby.homeunix.com> <20110429160000.GA10275@stainmore> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Password theft from memory? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2011 00:29:28 -0000 On Fri, 29 Apr 2011 12:00:00 -0400 Bob Hall wrote: > On Fri, Apr 29, 2011 at 01:54:06AM +0100, RW wrote: > > but they aren't the same - that's what the quotes were about. > > Looking back, I don't see anything in your quotes that raises the > issue of anonymous objects being used differently. If you don't already know that memory is zeroed by default it would be obtuse to infer that arbitrarily sized anonymous mappings are zero-filled, just because a few bytes of padding are zero-filled. Consequently your quote had no relevance to whether memory obtained by malloc is zero-filled. However, by taking that sentence out of context it was made unclear what "extensions" referred to. A casual reader could have assumed that it was possible to make zero-filled extensions to the object through mmap. If that were true then your position, that the two cases are similar, would be be quite reasonable. I assumed that you had misread the man page. From owner-freebsd-questions@FreeBSD.ORG Sat Apr 30 05:30:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BBD6106564A for ; Sat, 30 Apr 2011 05:30:27 +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 214978FC0A for ; Sat, 30 Apr 2011 05:30:27 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QG2l7-0007Eu-9c for freebsd-questions@freebsd.org; Sat, 30 Apr 2011 07:30:25 +0200 Received: from 78-0-221-146.adsl.net.t-com.hr ([78.0.221.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Apr 2011 07:30:25 +0200 Received: from gour by 78-0-221-146.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Apr 2011 07:30:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Gour-Gadadhara Dasa Date: Sat, 30 Apr 2011 07:30:13 +0200 Lines: 53 Message-ID: <20110430073013.28b08c47@atmarama.net> References: <4DB98F5D.2090108__2814.45118967003$1304006598$gmane$org@ukr.net> <4DB99860.3070701@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/dFPIUbZ5ehh3BvnOvB9M6f5"; protocol="application/pgp-signature" X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-221-146.adsl.net.t-com.hr X-Newsreader: Claws Mail 3.7.9 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) X-Face: 3Cy8q3pLN"sFiKpp%e^3=GTSm2xV5z:O1:| :WC~ei/w@ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2011 05:30:27 -0000 --Sig_/dFPIUbZ5ehh3BvnOvB9M6f5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 28 Apr 2011 19:40:00 +0300 Andriy Gapon wrote: > At the moment FreeBSD doesn't support dumping to ZFS zvols, if that's > what you are asking. At the moment I have root on UFS and freebsd-swap considering to move both under ZFS. Is inability to dump to ZFS something I should be concerned about? I'm running (Free)PC_BSD 9.0 on x86_64 with 8GB and machine serves for desktop usage. Sincerely, Gour=20 --=20 =E2=80=9CIn the material world, conceptions of good and bad are all mental speculations=E2=80=A6=E2=80=9D (Sri Caitanya Mahaprabhu) http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 --Sig_/dFPIUbZ5ehh3BvnOvB9M6f5 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQIcBAEBAgAGBQJNu55lAAoJELhxXPVStcgQVZ0QALuEjgS4lG8zrv7uQzEZVfQP h0uZe3z0DzyFgcQJj0QjFKMWWnzOqP6a5JGVRbmNybXGmRKLBhIhdpp8zemyGc0y YZmv7Yg0rNjc7Al076jPAXPtDdKPdwPsGHRleUV1OBDXp95IzOoZO/iY4YOVe8jM FcWrXW5qUshFOWbvV+1HWgY9HzZyFfNLBNvkjTrQLOjtcYjimv9MVrYuYpqsdgB6 qLG1UQct0S/S+ocCsUcYyxRn9V4sPtS1s1RgNOsObTvDiuptU29+VU3jUXv2/oOA hx0hJNzgLxzHVSwUEoOxfNQd6EWHCay72KMCWqMnICajcSqRP1QA0FJFyodQlSIq 357VPvbosF/2mQXZCqsmGWg6+2nXUot1H8nUBMdpLTIFVy2Da8ko0iV/vKROrovf 2MKjVtY2IDatcN/EpQhVGvg/QWMix8aO1CtFuPsOyiuoZVFADpxL78MefoPNKPSc 0FlcuwfZkCanm4FmBfAfPIIvvpbOehYtza+JxKhrzzUJH4yGtqwU5YWuDsP/JnzI vNn8gwjKOuEmG5aryscV5cCUqLB6Uj1q01FiBXKzfw0Ibnv95BqPlwNbdOjn4Msy rvjK2eMD+H1uzAsM2ilkSruQNQxjd3YlJG9yjK4XfDce7NEgqfOjD4ZVqltldU33 6iTpFWGEnFfDYKAV+lpY =9cX3 -----END PGP SIGNATURE----- --Sig_/dFPIUbZ5ehh3BvnOvB9M6f5--