From owner-freebsd-questions@FreeBSD.ORG Sun Aug 11 04:11:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 09FFA5EE for ; Sun, 11 Aug 2013 04:11:27 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CDC512046 for ; Sun, 11 Aug 2013 04:11:26 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id w15so6316502iea.5 for ; Sat, 10 Aug 2013 21:11:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=HdBSPYEKDatFndIZzAU5vCpY1AmweCUbV0c1PcyJBN4=; b=JYKCxiWt5bZxx2WsI8GtXRmgr8wGV19ohOFWDARpFMsn3YulsOcSUnE3kvYDlCqTea zUMFfp41xLWQumRvJxrATLxs6vDeWYWwFEpuI17qJju6pZyXj91LNjPJfagqhtw2Uvy1 uabA6/srd7hhxTSapZvS2xw5ZYMXpL4SMDvNC9X//NcqcW/6v96XM/EO1ItB8zLrJ9ol 2WplFYPG+VGtjMXo+fecxKiT3mZg/stXxVOBGsahsob6eQpaJ2tYbIl4Vh9tTV8H+Y8F JHCLcELNhf6s++62hoFsdj0qpKx8mNcOJOONGyiE8l7ewx0lp51pWW1uMkKA8eawuNYQ HZVQ== MIME-Version: 1.0 X-Received: by 10.42.215.11 with SMTP id hc11mr7540512icb.9.1376194285435; Sat, 10 Aug 2013 21:11:25 -0700 (PDT) Sender: jdavidlists@gmail.com Received: by 10.42.150.196 with HTTP; Sat, 10 Aug 2013 21:11:25 -0700 (PDT) In-Reply-To: <5202C558.3010305@fjl.co.uk> References: <5202C558.3010305@fjl.co.uk> Date: Sun, 11 Aug 2013 00:11:25 -0400 X-Google-Sender-Auth: 01JUD0xpuNK5x3XcEiaENfJ_nzY Message-ID: Subject: Re: Terrible disk performance with LSI / FreeBSD 9.2-RC1 From: J David To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 04:11:27 -0000 To follow up on this issue, at one point the stats were down to this: extended device statistics device r/s w/s kr/s kw/s qlen svc_t %b da0 0.0 0.0 0.0 0.0 0 0.0 0 da1 0.0 0.0 0.0 0.0 0 0.0 0 da2 127.9 0.0 202.3 0.0 1 47.5 100 da3 125.9 0.0 189.3 0.0 1 43.1 97 da4 127.9 0.0 189.8 0.0 1 45.8 100 da5 128.9 0.0 206.3 0.0 0 42.5 99 da6 127.9 0.0 202.3 0.0 1 46.2 98 da7 0.0 249.7 0.0 334.2 10 39.5 100 At some point, I figured out that 125 random iops is pretty much the limit for 7200 RPM SATA drives. So mostly what we're looking at here is the resilver of a raidz2 is the pathological worst case. Lesson learned; raidz2 is just really not viable without some kind of sort on the resilver operations. Wish I understood ZFS well enough to do something about that, but research suggests the problem is non-trivial. :( There also seems to be a separate ZFS issue related to having a very large number of snapshots (e.g. hourly for several months on a couple of filesystems). Some combination of the OS updates we've been doing trying to get this machine to 9.2-RC1 and deleting a ton of snapshots. It would be nice to know which it was; I guess we'll find out in a few months. So it seems like the combination of these two issues is mostly what is/was plaguing us. Thanks! From owner-freebsd-questions@FreeBSD.ORG Sun Aug 11 09:44:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C9821FBE for ; Sun, 11 Aug 2013 09:44:18 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 889192C74 for ; Sun, 11 Aug 2013 09:44:18 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V8SC7-0008RA-1f for freebsd-questions@freebsd.org; Sun, 11 Aug 2013 11:44:15 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Aug 2013 11:44:15 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Aug 2013 11:44:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: 9.2-RC1: Problem with Kernel Date: Sun, 11 Aug 2013 09:43:57 +0000 (UTC) Lines: 90 Message-ID: References: <20130810212910.60f36e17.freebsd@ edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 09:44:18 -0000 On Sat, 10 Aug 2013 21:29:10 +0200, Polytropon wrote: > On Sat, 10 Aug 2013 19:04:29 +0000 (UTC), Walter Hurry wrote: >> This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching the >> source from releng/9.2 and rebuilding kernel and world). >> >> The kernel compiles and runs fine using the supplied GENERIC, but when >> I try to use my custom kenel config file, on reboot I get this: >> >> Mounting from ufs:/dev/ada0p2 failed with error 19 >> >> What module(s) have I missed? > > Diff against the GENERIC kernel. Maybe "device xhci"? > What bootable media is listed when you type "?" at the mountroot prompt? > If GENERIC boots and your kernel doesn't, there should be a significant > difference regarding the config file's content. :-) Thanks for the reply. When I type "?" at the mountroot prompt I get: List of GEOM managed disk devices: with nothing shown. After restoring the GENERIC kernel, the output from 'gpart list' is: Geom name: ada0 modified: false state: OK fwheads: 16 fwsectors: 63 last: 41943006 first: 34 entries: 128 scheme: GPT Providers: 1. Name: ada0p1 Mediasize: 65536 (64k) Sectorsize: 512 Stripesize: 0 Stripeoffset: 17408 Mode: r0w0e0 rawuuid: c5ae2f8e-f5e1-11e2-92dd-08002755f0f7 rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f label: (null) length: 65536 offset: 17408 type: freebsd-boot index: 1 end: 161 start: 34 2. Name: ada0p2 Mediasize: 20401029120 (19G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 82944 Mode: r1w1e1 rawuuid: c5ba5d2c-f5e1-11e2-92dd-08002755f0f7 rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b label: (null) length: 20401029120 offset: 82944 type: freebsd-ufs index: 2 end: 39845921 start: 162 3. Name: ada0p3 Mediasize: 1073707008 (1G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 3221242880 Mode: r1w1e0 rawuuid: c5ccb46a-f5e1-11e2-92dd-08002755f0f7 rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b label: (null) length: 1073707008 offset: 20401112064 type: freebsd-swap index: 3 end: 41943005 start: 39845922 Consumers: 1. Name: ada0 Mediasize: 21474836480 (20G) Sectorsize: 512 Mode: r2w2e3 (This is a small VirtualBox VM.) Kernel config is at http://paste2.org/h17Ih0PD From owner-freebsd-questions@FreeBSD.ORG Sun Aug 11 11:12:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D6F327F5 for ; Sun, 11 Aug 2013 11:12:12 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 724832FFB for ; Sun, 11 Aug 2013 11:12:12 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id b13so4649842wgh.19 for ; Sun, 11 Aug 2013 04:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9gbbyoGH53A0OMAuna2/s0z4srW/RcpV3NW7YKgBF1k=; b=gSX6EeIEhMFkTZsuwwOcXag1pPh5OGTxdIMefkuDOxZDJ3mzwRbQ0Tc9rdXKcfEexM aQpmcHmFbynI97vEFrpFIh9MYSo75/Etsu1MTsVtPOl8GRkoAvyRBk2oVj1Jv/Cit7lx wsrKqdxpLBCjA7nxY1OowjwNLOEpymU1Ii4F9AfrYgx9bk1eXQ3tvfa44VnfVHOEGiSc ZoydAScv/GhDSaNZIuUNxrVUM5Ko6ap3yh78Bh4KcClHoUfTxdENY7q3E0+px21gAqKP EWsOa7jn5pFgFTdfXXWLk7MKxkSCcP2TZUN8LZCkWDttrr5EnwgkWLE87a3aVP4jKnqq zRYw== MIME-Version: 1.0 X-Received: by 10.180.13.83 with SMTP id f19mr4108268wic.54.1376219530847; Sun, 11 Aug 2013 04:12:10 -0700 (PDT) Received: by 10.194.239.164 with HTTP; Sun, 11 Aug 2013 04:12:10 -0700 (PDT) Date: Sun, 11 Aug 2013 13:12:10 +0200 Message-ID: Subject: sysvipc only for one jail From: David Demelier To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 11:12:12 -0000 Hi, I would like to enable sysvipc only for one jail (defined in /etc/rc.conf). It's possible with jail.conf but this is not supported with jails listed in /etc/rc.conf. Is it possible without using the global jail_sysvipc_allow ? Cheers, -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Sun Aug 11 12:47:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5931763F for ; Sun, 11 Aug 2013 12:47:57 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C88AF23CB for ; Sun, 11 Aug 2013 12:47:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r7BClats035692; Sun, 11 Aug 2013 22:47:36 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 11 Aug 2013 22:47:36 +1000 (EST) From: Ian Smith To: Walter Hurry Subject: Re: 9.2-RC1: Problem with Kernel In-Reply-To: Message-ID: <20130811222354.T90173@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Polytropon , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 12:47:57 -0000 In freebsd-questions Digest, Vol 479, Issue 8, Message: 10 On Sun, 11 Aug 2013 09:43:57 +0000 (UTC) Walter Hurry wrote: > On Sat, 10 Aug 2013 21:29:10 +0200, Polytropon wrote: > > > On Sat, 10 Aug 2013 19:04:29 +0000 (UTC), Walter Hurry wrote: > >> This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching the > >> source from releng/9.2 and rebuilding kernel and world). > >> > >> The kernel compiles and runs fine using the supplied GENERIC, but when > >> I try to use my custom kenel config file, on reboot I get this: > >> > >> Mounting from ufs:/dev/ada0p2 failed with error 19 > >> > >> What module(s) have I missed? > > > > Diff against the GENERIC kernel. Maybe "device xhci"? > > What bootable media is listed when you type "?" at the mountroot prompt? > > If GENERIC boots and your kernel doesn't, there should be a significant > > difference regarding the config file's content. :-) > > Thanks for the reply. When I type "?" at the mountroot prompt I get: > > List of GEOM managed disk devices: > > with nothing shown. > > After restoring the GENERIC kernel, the output from 'gpart list' is: > > Geom name: ada0 [..] > Consumers: > 1. Name: ada0 > Mediasize: 21474836480 (20G) > Sectorsize: 512 > Mode: r2w2e3 > > (This is a small VirtualBox VM.) > > Kernel config is at http://paste2.org/h17Ih0PD Please Walter, it's not fair to make us do the work of figuring out what you've changed from GENERIC in that, when all you need to provide is: # diff -uw /path/to/GENERIC /path/to/YOURKERNEL More ideal for custom kernel configs - for just these occasions - is: include GENERIC ident YOURKERNEL # custom {no,}device and {no,}options statements cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Sun Aug 11 15:34:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A02DF5AB for ; Sun, 11 Aug 2013 15:34:05 +0000 (UTC) (envelope-from maciej@suszko.eu) Received: from archeo.suszko.eu (archeo.unixguru.pl [IPv6:2001:41d0:1:f47a::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6023929AF for ; Sun, 11 Aug 2013 15:34:05 +0000 (UTC) Received: from archeo (localhost [127.0.0.1]) by archeo.suszko.eu (Postfix) with ESMTP id 25D412063B3E; Sun, 11 Aug 2013 17:33:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at archeo.local Received: from archeo.suszko.eu ([127.0.0.1]) by archeo (archeo.local [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id MQCN02fiNUD9; Sun, 11 Aug 2013 17:33:54 +0200 (CEST) Received: from arsenic (89-79-234-160.dynamic.chello.pl [89.79.234.160]) by archeo.suszko.eu (Postfix) with ESMTPSA id EDA062063881; Sun, 11 Aug 2013 17:33:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=suszko.eu; s=dkim; t=1376235234; bh=77yo/PK+4lufsxa80iDblVesy9n/hWH5vwq3xGWVoiY=; h=Date:From:To:Subject:In-Reply-To:References; b=p2zLTOt9nlj0KxNRsue1LJ8smIM36a07o/xppdRaxWzRioncoeWn7vt0GK9d638ip SQ8V55gUWjmENomb/TmpkUnVtimXFr59nQ65EvKqFtzuvot/uwZceXhVUQx8JZZkI9 QzujOq+wufB0cuC/EfxIi9e7hCRlGvbBWLBzWn+Q= Date: Sun, 11 Aug 2013 17:33:41 +0200 From: Maciej Suszko To: freebsd-questions@freebsd.org Subject: Re: sysvipc only for one jail Message-ID: <20130811173341.6d1cb2e7@arsenic> In-Reply-To: References: X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/n+JQ_udJRdKeycC.dtc0a1z"; protocol="application/pgp-signature" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 15:34:05 -0000 --Sig_/n+JQ_udJRdKeycC.dtc0a1z Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable David Demelier wrote: > Hi, >=20 > I would like to enable sysvipc only for one jail (defined in > /etc/rc.conf). It's possible with jail.conf but this is not supported > with jails listed in /etc/rc.conf. >=20 > Is it possible without using the global jail_sysvipc_allow ? You can specify different params for each jail using _parameters, for example: jail_jailname_params=3D"allow.chflags=3D1 allow.sysvipc=3D1" --=20 regards, Maciej Suszko. --Sig_/n+JQ_udJRdKeycC.dtc0a1z Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlIHrtgACgkQCikUk0l7iGrRoACfajKMxF/HWPQ0C9pPlLlXtGAU LG0AnA5ghunduKX51Q6ogej1q6LTrdnw =kzkp -----END PGP SIGNATURE----- --Sig_/n+JQ_udJRdKeycC.dtc0a1z-- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 11 15:36:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3D3A272C for ; Sun, 11 Aug 2013 15:36:43 +0000 (UTC) (envelope-from maciej@suszko.eu) Received: from archeo.suszko.eu (archeo.unixguru.pl [IPv6:2001:41d0:1:f47a::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F188529C9 for ; Sun, 11 Aug 2013 15:36:42 +0000 (UTC) Received: from archeo (localhost [127.0.0.1]) by archeo.suszko.eu (Postfix) with ESMTP id A9C742063B3E; Sun, 11 Aug 2013 17:36:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at archeo.local Received: from archeo.suszko.eu ([127.0.0.1]) by archeo (archeo.local [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id eny2DPV2z2rN; Sun, 11 Aug 2013 17:36:41 +0200 (CEST) Received: from arsenic (89-79-234-160.dynamic.chello.pl [89.79.234.160]) by archeo.suszko.eu (Postfix) with ESMTPSA id 0987C206386D; Sun, 11 Aug 2013 17:36:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=suszko.eu; s=dkim; t=1376235401; bh=HhBcJSmQdku9I4rX61Iw01K7eNsrc4tErCpKl6a6ZkU=; h=Date:From:To:Subject:In-Reply-To:References; b=bLC+I37kv5HFWbzAUYttQOTy43ZUjlOWzVMGvS+TvRhidB4+07noUbaRz7uVSvNxY /0i4QPPdkl2SyuJbquBXUIJKcsPn5/Rp5kajI0ziOISlU3YhBzQ3tPmEQLhv/YsPkq C98HKLDD7DpxWx8KnUKUByy53LEsBFt4+M4obTsU= Date: Sun, 11 Aug 2013 17:36:30 +0200 From: Maciej Suszko To: freebsd-questions@freebsd.org Subject: Re: sysvipc only for one jail Message-ID: <20130811173630.24ed528c@arsenic> In-Reply-To: <20130811173341.6d1cb2e7@arsenic> References: <20130811173341.6d1cb2e7@arsenic> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/xWj5BBEQEQvV1XoAsr+a+JB"; protocol="application/pgp-signature" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 15:36:43 -0000 --Sig_/xWj5BBEQEQvV1XoAsr+a+JB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Maciej Suszko wrote: [...] >=20 > You can specify different params for each jail using _parameters, for > example: >=20 > jail_jailname_params=3D"allow.chflags=3D1 allow.sysvipc=3D1" Sorry, my mistake - it should be jail_jailname_parameters=3D of course. --=20 regards, Maciej Suszko. --Sig_/xWj5BBEQEQvV1XoAsr+a+JB Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlIHr4EACgkQCikUk0l7iGqawACfUn20aEnYcGSb37V8pHBRg1Sl s8EAoI3b/9JYlLxq4HF4Ume4KwUvKKgX =6Xxy -----END PGP SIGNATURE----- --Sig_/xWj5BBEQEQvV1XoAsr+a+JB-- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 11 17:06:27 2013 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4D7DFB91 for ; Sun, 11 Aug 2013 17:06:27 +0000 (UTC) (envelope-from na_lov2@hotmail.com) Received: from blu0-omc2-s21.blu0.hotmail.com (blu0-omc2-s21.blu0.hotmail.com [65.55.111.96]) by mx1.freebsd.org (Postfix) with ESMTP id 1D0E82D7C for ; Sun, 11 Aug 2013 17:06:26 +0000 (UTC) Received: from BLU401-EAS148 ([65.55.111.73]) by blu0-omc2-s21.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 11 Aug 2013 10:05:20 -0700 X-TMN: [fmw5PxC6uZMeU9NBNoqtebNAaJsC6eCg] X-Originating-Email: [na_lov2@hotmail.com] Message-ID: Subject: Q? From: Peaceful Flowers Content-Type: text/plain; charset="us-ascii" Date: Sun, 11 Aug 2013 20:05:14 +0300 To: "freebsd-questions@FreeBSD.org" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 (1.0) X-OriginalArrivalTime: 11 Aug 2013 17:05:20.0315 (UTC) FILETIME=[F5D798B0:01CE96B4] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 17:06:27 -0000 Hello, we are extracting data from http://www.bbbike.org/ for bicycle parkin= gs, then we found lot of data registered as "bicycle_parking" while other re= gistered as "parking" The question: is "parking" the same and refer to also "bicycle_parking" sinc= e the database http://www.bbbike.org/ is for bikes cycle?= From owner-freebsd-questions@FreeBSD.ORG Sun Aug 11 19:10:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 97B3775F for ; Sun, 11 Aug 2013 19:10:42 +0000 (UTC) (envelope-from freebsd01@dgmm.net) Received: from outbound-queue-1.mail.thdo.gradwell.net (outbound-queue-1.mail.thdo.gradwell.net [212.11.70.34]) by mx1.freebsd.org (Postfix) with ESMTP id 5DF73235D for ; Sun, 11 Aug 2013 19:10:42 +0000 (UTC) Received: from outbound-edge-2.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-1.mail.thdo.gradwell.net (Postfix) with ESMTP id F3CE521FDD for ; Sun, 11 Aug 2013 20:09:25 +0100 (BST) Received: from cpc7-jarr12-2-0-cust882.16-2.cable.virginmedia.com (HELO amd.asgard.uk) (92.238.71.115) (smtp-auth username fbsd%pop3.dgmm.net, mechanism plain) by outbound-edge-2.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Sun, 11 Aug 2013 20:09:25 +0100 From: dgmm To: freebsd-questions@freebsd.org Subject: Re: BSD Magazine Date: Sun, 11 Aug 2013 20:09:23 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-RELEASE-p5; KDE/4.10.5; amd64; ; ) References: <52028751.3070608@fjl.co.uk> In-Reply-To: <52028751.3070608@fjl.co.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201308112009.23870.freebsd01@dgmm.net> X-Gradwell-MongoId: 5207e165.17f0b-114d-2 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: fbsd@pop3.dgmm.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 19:10:42 -0000 On Wednesday 07 August 2013 18:43:45 Frank Leonhardt wrote: > No man but a blockhead ever wrote, except for money. > - Samuel Johnson That sentiment pretty much wipes out FreeBSD and FOSS in general. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 11 22:55:35 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8D7EA35D for ; Sun, 11 Aug 2013 22:55:35 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4C5DC2B7D for ; Sun, 11 Aug 2013 22:55:34 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V8eXm-00028K-Hm for freebsd-questions@freebsd.org; Mon, 12 Aug 2013 00:55:26 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Aug 2013 00:55:26 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Aug 2013 00:55:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: 9.2-RC1: Problem with Kernel Date: Sun, 11 Aug 2013 22:55:09 +0000 (UTC) Lines: 59 Message-ID: References: < 20130811222354.T90173@sola.nimnet.asn.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 22:55:35 -0000 On Sun, 11 Aug 2013 22:47:36 +1000, Ian Smith wrote: > In freebsd-questions Digest, Vol 479, Issue 8, Message: 10 On Sun, 11 > Aug 2013 09:43:57 +0000 (UTC) Walter Hurry > wrote: > > On Sat, 10 Aug 2013 21:29:10 +0200, Polytropon wrote: > > > > > On Sat, 10 Aug 2013 19:04:29 +0000 (UTC), Walter Hurry wrote: > > >> This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching > > >> the source from releng/9.2 and rebuilding kernel and world). > > >> > > >> The kernel compiles and runs fine using the supplied GENERIC, but > > >> when I try to use my custom kenel config file, on reboot I get > > >> this: > > >> > > >> Mounting from ufs:/dev/ada0p2 failed with error 19 > > >> > > >> What module(s) have I missed? > > > > > > Diff against the GENERIC kernel. Maybe "device xhci"? > > > What bootable media is listed when you type "?" at the mountroot > > > prompt? > > > If GENERIC boots and your kernel doesn't, there should be a > > > significant difference regarding the config file's content. :-) > > > > Thanks for the reply. When I type "?" at the mountroot prompt I get: > > > > List of GEOM managed disk devices: > > > > with nothing shown. > > > > After restoring the GENERIC kernel, the output from 'gpart list' is: > > > > Geom name: ada0 > [..] > > Consumers: > > 1. Name: ada0 > > Mediasize: 21474836480 (20G) > > Sectorsize: 512 Mode: r2w2e3 > > > > (This is a small VirtualBox VM.) > > > > Kernel config is at http://paste2.org/h17Ih0PD > > Please Walter, it's not fair to make us do the work of figuring out what > you've changed from GENERIC in that, when all you need to provide is: > > # diff -uw /path/to/GENERIC /path/to/YOURKERNEL > > More ideal for custom kernel configs - for just these occasions - is: > > include GENERIC ident YOURKERNEL # custom {no,}device and {no,}options > statements > Sorry. A diff wouldn't have helped much, as every line had changed due to my reformatting. Never mind, I'll work it out for myself by a process of elimination - and I'll post the answer here just in case anyone else is interested. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 04:34:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 86D779E1 for ; Mon, 12 Aug 2013 04:34:03 +0000 (UTC) (envelope-from freeaudit.webpromoter@gmail.com) Received: from mail-ie0-x24e.google.com (mail-ie0-x24e.google.com [IPv6:2607:f8b0:4001:c03::24e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5C25A28C5 for ; Mon, 12 Aug 2013 04:34:03 +0000 (UTC) Received: by mail-ie0-f206.google.com with SMTP id k5so73776iea.1 for ; Sun, 11 Aug 2013 21:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=IVNC7wZlYCKJaUic1JzTEIvyNPh2wyCKKz7T3kT4XOI=; b=PgTKLNpoX5mL7n7wud0Uvi+UDLQgxYuX7k8FUrJ/sNM9lJmRJXluqdsRcV51dDzH8e jowHCGHlXEMuNZvqNk+DZxKD3VsSuO6enTBA9SDBjYjCZP3kSaNAWGcbuzF9j+AoX0DK WK8xT6CHb0e2/cywKmaKi5nfsICSzeDhvneJxQBoLDeorT44kLGTQBhuOt/XQ2M0yje9 MtpqO9QkQvZZw7e8MB1UNrRNUUZARR3iEvAC5ZNAK9ejDJ7mtOpDll94EsCsDwez506T Mqncs0UE3JyQfIDNRfKYu7Fz0sawLYKz/x7dpUydNBAKmkWgzno+L4mSRb7oPb//MIbt s26Q== MIME-Version: 1.0 X-Received: by 10.42.132.73 with SMTP id c9mr14546171ict.10.1376282042528; Sun, 11 Aug 2013 21:34:02 -0700 (PDT) Message-ID: <90e6ba3fd0c5417cab04e3b8a213@google.com> Date: Mon, 12 Aug 2013 04:34:02 +0000 Subject: Freebsddiary.org - Integrated marketing help From: Ethan Lim To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 04:34:03 -0000 PHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9udCBjb2xvcj0iIzAwMDBmZiIgZmFjZT0i VmVyZGFuYSwgIA0Kc2Fucy1zZXJpZiI+PGI+RnJlZWJzZGRpYXJ5Lm9yZzwvYj48L2ZvbnQ+PGZv bnQgY29sb3I9IiMwMDAwZmYiPjxmb250ICANCmZhY2U9IlZlcmRhbmEsIHNhbnMtc2VyaWYiPqBU ZWFtLDwvZm9udD48L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9u dCBjb2xvcj0iIzAwMDBmZiI+PGZvbnQgZmFjZT0iVmVyZGFuYSwgIA0Kc2Fucy1zZXJpZiI+PGZv bnQ+SQ0KdGhvdWdodCB5b3UgbWlnaHQgbGlrZSB0byBrbm93IHNvbWUgcmVhc29ucyB3aHkgeW91 IGFyZSBub3QgZ2V0dGluZw0KZW5vdWdoIFNvY2lhbCBNZWRpYSBhbmQgT3JnYW5pYyBzZWFyY2gg ZW5naW5lIHRyYWZmaWMgIA0KZm9yoDxiPkZyZWVic2RkaWFyeS5vcmcuPC9iPjwvZm9udD48L2Zv bnQ+PC9mb250PjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOjBjbSI+PGZvbnQgY29sb3I9 IiMwMDAwZmYiPjxmb250IGZhY2U9IlZlcmRhbmEsICANCnNhbnMtc2VyaWYiPjEuDQpZb3VyIHdl YnNpdGWgPGI+RnJlZWJzZGRpYXJ5Lm9yZ6A8L2I+aXMNCm5vdCByYW5raW5nIHRvcCBpbiBHb29n bGUgb3JnYW5pYyBzZWFyY2hlcyBmb3IgbWFueSBjb21wZXRpdGl2ZQ0Ka2V5d29yZCBwaHJhc2Vz LjwvZm9udD48L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj4NCjxmb250 IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5hLCBzYW5zLXNlcmlmIj4yLg0KWW91 ciBjb21wYW55IGlzIG5vdCBkb2luZyB3ZWxsIGluIG1vc3Qgb2YgdGhlIFNvY2lhbCBNZWRpYSAg DQpXZWJzaXRlcy48L2ZvbnQ+PC9mb250PjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOjBj bSI+DQo8Zm9udCBjb2xvcj0iIzAwMDBmZiI+PGZvbnQgZmFjZT0iVmVyZGFuYSwgc2Fucy1zZXJp ZiI+My4NCllvdXIgc2l0ZSBpcyBub3QgdXNlciBmcmllbmRseSBvbiBtb2JpbGUgZGV2aWNlcy48 L2ZvbnQ+PC9mb250PjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOjBjbSI+PGZvbnQgY29s b3I9IiMwMDAwZmYiPjxmb250IGZhY2U9IlZlcmRhbmEsICANCnNhbnMtc2VyaWYiPlRoZXJlDQph cmUgbWFueSBhZGRpdGlvbmFsIGltcHJvdmVtZW50cyB0aGF0IGNvdWxkIGJlIG1hZGUgdG8geW91 ciB3ZWJzaXRlLA0KYW5kIGlmIHlvdSB3b3VsZCBsaWtlIHRvIGxlYXJuIGFib3V0IHRoZW0sIGFu ZCBhcmUgY3VyaW91cyB0byBrbm93DQp3aGF0IG91ciB3b3JraW5nIHRvZ2V0aGVyIHdvdWxkIGlu dm9sdmUsIHRoZW4gSSB3b3VsZCBiZSBnbGFkIHRvDQpwcm92aWRlIHlvdSB3aXRoIGEgZGV0YWls ZWQgYW5hbHlzaXMgaW4gdGhlIGZvcm0gb2YgYSA8Yj5XRUJTSVRFDQpBVURJVCBSRVBPUlQgZm9y IEZSRUU8L2I+LjwvZm9udD48L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNt Ij4NCjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5hLCBzYW5zLXNlcmlm Ij5PdXINCmNsaWVudHMgY29uc2lzdGVudGx5IHRlbGwgdXMgdGhhdCB0aGVpciBjdXN0b21lcnMg ZmluZCB0aGVtIGJlY2F1c2UNCnRoZXkgYXJlIGF0IHRoZSB0b3Agb2YgdGhlIEdvb2dsZSBzZWFy Y2ggcmFua2luZ3MuIEJlaW5nIGF0IHRoZSB0b3ANCmxlZnQgb2YgR29vZ2xlICgjMS0gIzMgb3Jn YW5pYyBwb3NpdGlvbnMpIGlzIHRoZSBiZXN0IHRoaW5nIHlvdSBjYW4NCmRvIGZvciB5b3VyIGNv bXBhbnkmIzM5O3Mgd2Vic2l0ZSB0cmFmZmljIGFuZCBvbmxpbmUgcmVwdXRhdGlvbi4gWW91IHdp bGwNCmJlIGhhcHB5IHRvIGtub3cgdGhhdCwgbXkgdGVhbSBpcyB3aWxsaW5nIHRvIGd1YXJhbnRl ZSB5b3UgMTxzdXA+c3Q8L3N1cD4NCnBhZ2UgR29vZ2xlIHJhbmtpbmcgZm9yIG1vc3Qgb2YgeW91 ciB0YXJnZXRlZCBrZXl3b3JkIHBocmFzZXMgaW4gb3VyDQpzaXggbW9udGggb25nb2luZyBjYW1w YWlnbi48L2ZvbnQ+PC9mb250PjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOjBjbSI+PGZv bnQgY29sb3I9IiMwMDAwZmYiPjxmb250IGZhY2U9IlZlcmRhbmEsICANCnNhbnMtc2VyaWYiPlNv dW5kDQppbnRlcmVzdGluZz8gRmVlbCBmcmVlIHRvIGVtYWlsIHVzIG9yIGFsdGVybmF0aXZlbHkg eW91IGNhbiBwcm92aWRlDQptZSB3aXRoIHlvdXIgcGhvbmUgbnVtYmVyIGFuZCB0aGUgYmVzdCB0 aW1lIHRvIGNhbGwgeW91LiBJIGFtIGFsc28NCmF2YWlsYWJsZSB0byBtZWV0IHlvdSBpbiBwZXJz b24gYW5kIHByZXNlbnQgeW91IHRoaXMgd2Vic2l0ZSBhdWRpdA0KcmVwb3J0Ljxicj4tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS08V0JSPi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LTxXQlI+LS0tLS08YnI+QmVzdA0KUmVnYXJkcyw8YnI+PGI+RXRoYW4gTGltPC9iPjxicj5TRU8N CkFuYWx5c3Q8YnI+KDMxNSktODk1LTE0NTM8YnI+PGJyPjxiPlBTDQpJOiA8L2I+SQ0KYW0gbm90 IHNwYW1taW5nLiBJIGhhdmUgc3R1ZGllZCB5b3VyIHdlYnNpdGUgYW5kIGJlbGlldmUgSSBjYW4g aGVscA0Kd2l0aCB5b3VyIGJ1c2luZXNzIHByb21vdGlvbi4gSWYgeW91IHN0aWxsIHdhbnQgdXMg dG8gbm90IGNvbnRhY3QNCnlvdSwgeW91IGNhbiBpZ25vcmUgdGhpcyBlbWFpbCBvciBhc2sgdG8g cmVtb3ZlIGFuZCBJIHdpbGwgbm90DQpjb250YWN0IGFnYWluLjwvZm9udD48L2ZvbnQ+PC9wPg0K PHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj4NCjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9u dCBmYWNlPSJWZXJkYW5hLCBzYW5zLXNlcmlmIj48Yj5QUw0KSUk8L2I+OiBJIGZvdW5kIHlvdXIg c2l0ZSB1c2luZyBHb29nbGUgc2VhcmNoIGFuZCBhZnRlciBoYXZpbmcgYSBsb29rDQpvdmVyIHlv dXIgd2Vic2l0ZSBJIHJlY29tbWVuZCB5b3UgdG8gaW1wbGVtZW50IGZ1dHVyZSB0ZWNobm9sb2dp ZXMNCnN1Y2ggYXMgSFRNTDUgYW5kIFJlc3BvbnNpdmUgRGVzaWduIHRvIG1ha2UgeW91ciBzaXRl IG1vcmUgYWNjZXNzaWJsZQ0KaW4gbW9iaWxlIHBob25lLCB0YWJsZXRzLCBkZXNrdG9wIGV0Yy48 L2ZvbnQ+PC9mb250PjwvcD4NCg== From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 10:00:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0987A9A6 for ; Mon, 12 Aug 2013 10:00:32 +0000 (UTC) (envelope-from talayeh.asadi@gmail.com) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D072B2ABC for ; Mon, 12 Aug 2013 10:00:31 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id x14so7833680ief.40 for ; Mon, 12 Aug 2013 03:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:from:date:message-id:subject:to :content-type; bh=cfVUU3uAIuOrs6yEXFbyqQ8lj8Ox5TIWle+37iL9Jmk=; b=bwXUuA3d3+MwVzRoKvcbqq7STQRz+hXZWSFLu2/Pa2XoMRJ+G/R/LP/wn0a1fpQ2vY Bsdz1KbJcZXUOWe5BdPR1oTocw1e8k8VmAD/Z3C8JcjyL+mWMf5ZGHwCtj85LanGxDu3 nNHTXqjuZGtPpjs2VTo4rZSe+ZqJAw52V2qNed9p33b0DEJZCGE/PNy4NiQbAVjXjMm+ y3KKQkCMUvS6PVJHCZdhixEbD5IsCipmZCj8aaSwrkJZb09RD1iaiFe+PrNGeXnP2nw/ tm5cByiPwvDwyc2cmdUpLI3c2Du67EclRAl9ioOw7/Bv+R52K5/Zqs0eWcoZnBclH0Gy pKeQ== X-Received: by 10.42.177.1 with SMTP id bg1mr9286342icb.78.1376301631352; Mon, 12 Aug 2013 03:00:31 -0700 (PDT) MIME-Version: 1.0 Sender: talayeh.asadi@gmail.com Received: by 10.42.153.8 with HTTP; Mon, 12 Aug 2013 03:00:10 -0700 (PDT) From: takCoder Date: Mon, 12 Aug 2013 14:30:10 +0430 X-Google-Sender-Auth: sOtBgflgy7UlWwRFh4myLrrc4kc Message-ID: Subject: which pam.d config does telnetd use for authentication when SRA is activated? To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tak.official@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 10:00:32 -0000 Hi all, how can I apply radius authentication for all possible types of freebsd "telnet" connections? I am trying to use pam_radius.so for my remote authentication. when I add "auth sufficient pam_radius.so" to pam.d/sshd file, it works fine and authentication is done via radius servers. If i run telnetd(via inetd) with -X sra option (or if second machine does not support SRA), if I add mentioned line to pam.d/login file, it correctly uses radius servers for authentication.. but if SRA connection is set, it seems that authentication is done kinda locally.. in both of these telnet connections, it seems pam.d/telnetd authentication config is not applied.. am i right?? then why?! Excuse me for including different questions in one email.. but i found them all related to my need.. Thank you all for your helps and ideas. Best Regards, takCoder From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 10:40:06 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9D3B3522 for ; Mon, 12 Aug 2013 10:40:06 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3613F2E60 for ; Mon, 12 Aug 2013 10:40:06 +0000 (UTC) Received: by mail-we0-f169.google.com with SMTP id n5so5396015wev.14 for ; Mon, 12 Aug 2013 03:40:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/zq4fYR08zO3kOjMbiNQ6WNAh5QTk5pK8xCTC/w64PE=; b=ILYtmSc6Cm4oLYn5LUeffipmCY97ABSIsCOHnlIFEY1QXqvcy4CnUEXNRgNfNerOYu QJoUmB2xXj/FSRb99hhqIBxRr/wNtN/k74G7Js6pJcO6f43zgrBSj0cQMa66eNfFmzrq xUtmGWI3ePsZuXrNqSlOPNQVNVYZhPAjhP76xQB37b5OUmxR7AgEwQy4G6TtpDwAFxIl B27my3NEYgVjhXgVxU7MKfM1FV79NW6gNHjdqum8iKdrEdQ779LyNTMb04gK5GCu/k4P IFXtltzJUsDhY+fD06vrUdYxjfWd/DUeni3s2QzPTG85zp0S/F3J1YEEWDwJ2M/F5cyh O+Dg== MIME-Version: 1.0 X-Received: by 10.194.121.132 with SMTP id lk4mr6525311wjb.25.1376304004574; Mon, 12 Aug 2013 03:40:04 -0700 (PDT) Received: by 10.194.239.164 with HTTP; Mon, 12 Aug 2013 03:40:04 -0700 (PDT) In-Reply-To: <20130811173630.24ed528c@arsenic> References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> Date: Mon, 12 Aug 2013 12:40:04 +0200 Message-ID: Subject: Re: sysvipc only for one jail From: David Demelier To: Maciej Suszko Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 10:40:06 -0000 2013/8/11 Maciej Suszko : > Maciej Suszko wrote: > [...] >> >> You can specify different params for each jail using _parameters, for >> example: >> >> jail_jailname_params="allow.chflags=1 allow.sysvipc=1" > > Sorry, my mistake - it should be jail_jailname_parameters= of course. > -- > regards, Maciej Suszko. Thanks for your message, However, I could not find this setting in the manual of rc.conf(5) neither in /etc/rc.d/jail :(. It does not seems to be applied. Cheers, -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 11:36:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BA9C1AE0 for ; Mon, 12 Aug 2013 11:36:00 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2B74D250C for ; Mon, 12 Aug 2013 11:35:59 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r7CBZt3H055025 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Aug 2013 13:35:55 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r7CBZsC0055022; Mon, 12 Aug 2013 13:35:54 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Mon, 12 Aug 2013 13:35:54 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: David Demelier Subject: Re: sysvipc only for one jail In-Reply-To: Message-ID: References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-1296767649-1376307355=:90799" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: Maciej Suszko , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 11:36:00 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-1296767649-1376307355=:90799 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Mon, 12 Aug 2013 12:40+0200, David Demelier wrote: > 2013/8/11 Maciej Suszko : > > Maciej Suszko wrote: > > [...] > >> > >> You can specify different params for each jail using _parameters, for > >> example: > >> > >> jail_jailname_params="allow.chflags=1 allow.sysvipc=1" > > > > Sorry, my mistake - it should be jail_jailname_parameters= of course. > > -- > > regards, Maciej Suszko. > > Thanks for your message, > > However, I could not find this setting in the manual of rc.conf(5) > neither in /etc/rc.d/jail :(. It does not seems to be applied. Have a look at jail(8) and the last lines of /etc/default/rc.conf. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-1296767649-1376307355=:90799-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 11:57:16 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 582502A5 for ; Mon, 12 Aug 2013 11:57:16 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E2DB6265A for ; Mon, 12 Aug 2013 11:57:15 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id b13so5358015wgh.19 for ; Mon, 12 Aug 2013 04:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=ITBMJ9TfpQ8jCXiAzb4toGMBsLoZpPZUPBGchgOuBgE=; b=AJb0Wuj9UDElU9cBFad36Pky5rVii3mVfdzaglMjRyQKpXpwmDRa32KMADKl2RQ1fI ++gekkYrGHjXCooNOJesQvl0UTzfxYUvGvwgJQyqjqpMMQ5YKsplYyUvXh1ujAjNjUp1 0Q7XqrL0ZxRWbit0Ie//epY02rHvEnulCEPMbK7oDzBNmqp8Xp0+N8bWs8WgpV07tDOL Hyzsku8TLtU5E2HJEuyivnCZ6wyjlFKgTLkufJyde/YGaJKsa9cGMHu32QRhFRIbE6rw F98hEWzPK2gOXW/84KXnRtfBg51Jrg+rikSK5BBbYNNQ39u4VF+uDuY7Tij8slfZ1CeI QzAg== MIME-Version: 1.0 X-Received: by 10.180.38.15 with SMTP id c15mr5850193wik.25.1376308634115; Mon, 12 Aug 2013 04:57:14 -0700 (PDT) Received: by 10.194.239.164 with HTTP; Mon, 12 Aug 2013 04:57:14 -0700 (PDT) In-Reply-To: References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> Date: Mon, 12 Aug 2013 13:57:14 +0200 Message-ID: Subject: Re: sysvipc only for one jail From: David Demelier To: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Maciej Suszko , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 11:57:16 -0000 2013/8/12 Trond Endrest=C3=B8l : > On Mon, 12 Aug 2013 12:40+0200, David Demelier wrote: > >> 2013/8/11 Maciej Suszko : >> > Maciej Suszko wrote: >> > [...] >> >> >> >> You can specify different params for each jail using _parameters, for >> >> example: >> >> >> >> jail_jailname_params=3D"allow.chflags=3D1 allow.sysvipc=3D1" >> > >> > Sorry, my mistake - it should be jail_jailname_parameters=3D of course= . >> > -- >> > regards, Maciej Suszko. >> >> Thanks for your message, >> >> However, I could not find this setting in the manual of rc.conf(5) >> neither in /etc/rc.d/jail :(. It does not seems to be applied. > > Have a look at jail(8) and the last lines of /etc/default/rc.conf. > > -- > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrest=C3=B8l, | Trond Endrest=C3=B8l, = | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gj=C3=B8vik Technical College, Norway, = | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ I see, I've added what Maciej Suszko told me but the sysctls in the jail is not set as it should be : security.jail.param.allow.sysvipc: 0 security.jail.param.allow.chflags: 0 And thus, it's not enabled as postgresql tells: creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL: could not create shared memory segment: Function not implemented Cheers, --=20 Demelier David From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 12:03:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 35807644 for ; Mon, 12 Aug 2013 12:03:31 +0000 (UTC) (envelope-from vmiller@verisign.com) Received: from exprod6og125.obsmtp.com (exprod6og125.obsmtp.com [64.18.1.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C53DA2720 for ; Mon, 12 Aug 2013 12:03:30 +0000 (UTC) Received: from peregrine.verisign.com ([216.168.239.74]) (using TLSv1) by exprod6ob125.postini.com ([64.18.5.12]) with SMTP ID DSNKUgjPDFXGXc0khnVeydfFv9YrQMzbinx1@postini.com; Mon, 12 Aug 2013 05:03:30 PDT Received: from brn1wnexcas02.vcorp.ad.vrsn.com (brn1wnexcas02.vcorp.ad.vrsn.com [10.173.152.206]) by peregrine.verisign.com (8.13.6/8.13.4) with ESMTP id r7CC3Kkv021998 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 12 Aug 2013 08:03:23 -0400 Received: from BRN1WNEXMBX01.vcorp.ad.vrsn.com ([::1]) by brn1wnexcas02.vcorp.ad.vrsn.com ([::1]) with mapi id 14.02.0342.003; Mon, 12 Aug 2013 08:03:19 -0400 From: "Miller, Vincent (Rick)" To: FreeBSD Subject: vBSDcon 2013 Registration Opens! Thread-Topic: vBSDcon 2013 Registration Opens! Thread-Index: AQHOl1Pvs5WrSA7Uaka5GgVmhJtkJw== Date: Mon, 12 Aug 2013 12:03:19 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.13.0.110805 x-originating-ip: [10.173.152.4] MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 12:03:31 -0000 In April 2013, Verisign announced vBSDcon 2013 to be held October 25 =96 27= , 2013 in Dulles, VA. The conference, formatted to resemble an unConferenc= e concept, will feature speakers such as David Chisnall, Luigi Rizzo, Bapti= ste Daroussin, Henning Brauer, Reyk Floeter, and others. vBSDcon will incl= ude events like hacker lounges, doc sprints, BSDA exams, and a mid-conferen= ce social*. In these most recent months, we have been developing the vBSDcon conference= website hosted at http://www.vbsdcon.com/. It includes full details surro= unding the schedule, agenda, and speakers for vBSDcon. The most recent add= ition to the conference website is that registrations are now open! We loo= k forward to seeing many of you from the various BSD communities at vBSDcon= 2013! * Schedule is subject to change without notice, The BSDA exams are hosted b= y the BSD Certification group and not an official part of vBSDcon -- Vincent (Rick) Miller Systems Engineer vmiller@verisign.com t: 703.948.4395 m: 703.581.3068 12061 Bluemont Way, Reston, VA 20190 http://www.verisigninc.com =93This message (including any attachments) is intended only for the use of= the individual or entity to which it is addressed, and may contain informa= tion that is non-public, proprietary, privileged, confidential and exempt f= rom disclosure under applicable law or may be constituted as attorney work = product. If you are not the intended recipient, you are hereby notified tha= t any use, dissemination, distribution, or copying of this communication is= strictly prohibited. If you have received this message in error, notify se= nder immediately and delete this message immediately.=94 From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 12:10:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 59CCE774 for ; Mon, 12 Aug 2013 12:10:03 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D54492788 for ; Mon, 12 Aug 2013 12:10:02 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r7CC9w74055272 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Aug 2013 14:09:58 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r7CC9wTt055269; Mon, 12 Aug 2013 14:09:58 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Mon, 12 Aug 2013 14:09:58 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: David Demelier Subject: Re: sysvipc only for one jail In-Reply-To: Message-ID: References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-2119261980-1376309398=:90799" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: Maciej Suszko , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 12:10:03 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-2119261980-1376309398=:90799 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Mon, 12 Aug 2013 13:57+0200, David Demelier wrote: > 2013/8/12 Trond Endrestøl : > > On Mon, 12 Aug 2013 12:40+0200, David Demelier wrote: > > > >> 2013/8/11 Maciej Suszko : > >> > Maciej Suszko wrote: > >> > [...] > >> >> > >> >> You can specify different params for each jail using _parameters, for > >> >> example: > >> >> > >> >> jail_jailname_params="allow.chflags=1 allow.sysvipc=1" > >> > > >> > Sorry, my mistake - it should be jail_jailname_parameters= of course. > >> > -- > >> > regards, Maciej Suszko. > >> > >> Thanks for your message, > >> > >> However, I could not find this setting in the manual of rc.conf(5) > >> neither in /etc/rc.d/jail :(. It does not seems to be applied. > > > > Have a look at jail(8) and the last lines of /etc/default/rc.conf. > > I see, > > I've added what Maciej Suszko told me but the sysctls in the jail is > not set as it should be : > > security.jail.param.allow.sysvipc: 0 > security.jail.param.allow.chflags: 0 > > And thus, it's not enabled as postgresql tells: > > creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL: > could not create shared memory segment: Function not implemented I'll look into this by creating a new jail for PostgreSQL 9.2 when I get home. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-2119261980-1376309398=:90799-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 13:28:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 56F67482 for ; Mon, 12 Aug 2013 13:28:04 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D031B2DA8 for ; Mon, 12 Aug 2013 13:28:03 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id fn20so4684064lab.9 for ; Mon, 12 Aug 2013 06:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=seX2U6+DqScNFp2QGDIF46Dq1UbxmC4Y0940q7Aocu4=; b=dCV7C/KcAmFpec4ox4zRWLlllz0jvG5xLZY2oRHnEPzojcWaz3s/H9RGEpALj0tQAv umkt6IhdqSpxYx3NS/KPAacje5uWnL1zTbAVXks81wEd6OUClMyS5q3NGu82QtOqHg8W PV5BbN5cvQ6Yq/ZYwyKg/S2y9ppa0mXgZM56ZNIqIYT17+SB7UUcHs6KUUNsSJBiQY74 gSQ/YbIZX2q+FIiQoUqEqToUSEeWAdNPVryAX/halCxvP+ak91twZIYNxHr5BxloOR1T vMSK+zCcL3W0eYhHhRyeFMjRhc9rLgiAGmiDxoPxhNmtEtcilTp/1z5ta1iG8lD5XKy5 ukFQ== X-Received: by 10.152.44.164 with SMTP id f4mr9833904lam.38.1376314081659; Mon, 12 Aug 2013 06:28:01 -0700 (PDT) Received: from [192.168.1.128] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPSA id d9sm9395309lbf.2.2013.08.12.06.28.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 06:28:01 -0700 (PDT) Message-ID: <5208E2E0.3010003@gmail.com> Date: Mon, 12 Aug 2013 16:28:00 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 MIME-Version: 1.0 To: Fbsd8 Subject: Re: if_bridge and ng_netflow References: <5204B0A9.8020508@gmail.com> <522F23D5.60909@a1poweruser.com> In-Reply-To: <522F23D5.60909@a1poweruser.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 13:28:04 -0000 10.08.2013 16:51, Fbsd8 wrote: > if_bridge is relatively new in FreeBSD. Netgraph precedes if_bridge and > is un-aware of if_bridge. Change your if_bridge definition to a > ng bridge definition and everything your trying to do should fall into > place. ng_bridge lacks some if_bridge goodies like passing by traffic filtering and stp. However yes, ng_bridge works for me and I can compose a good bridge and even record netflow without data duplication. -- Sphinx of black quartz, judge my vow. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 13:38:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DA6656A3 for ; Mon, 12 Aug 2013 13:38:14 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5EE3E2E5D for ; Mon, 12 Aug 2013 13:38:14 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id 10so4856003lbf.4 for ; Mon, 12 Aug 2013 06:38:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=/lPnbTYmcvrWZdnJYGlXhPFMgDAnrnT01EtVhC30ErU=; b=NOfwphu70pD3W2i7ZgMWMVADUWhQ/Pphr7wfBZ902KxFAcT/bfVMkxq+0fUAGUrB5c VQ3uM5vIYcyyBn63EOhe91jn9wrWwIA5950AYxND0pmftYuEN0E5cb3C2ggsQeRDCwdC pSO1R4d2kk317L4pL05GPmAkScqoSo8dLAxobwCmkN07YF0ftKQ357v3ODfFfJQnRTr9 CqNegTom7kyJ6EfPdBswwC4O3OUW+8RT1JsU/3G2Hq9PnSSSTtSgT9d72urTj4LAYggX 8ytJ1gg7KQa/wVaSThto3oY+QtyEYOCnlv3Wb5oDqdGyTIK8fmP+L+Xita7ZNVCBFHHB zI0A== X-Received: by 10.152.9.37 with SMTP id w5mr11521370laa.23.1376314692292; Mon, 12 Aug 2013 06:38:12 -0700 (PDT) Received: from [192.168.1.128] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPSA id p17sm11827070lbv.11.2013.08.12.06.38.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 06:38:11 -0700 (PDT) Message-ID: <5208E542.5060900@gmail.com> Date: Mon, 12 Aug 2013 16:38:10 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 MIME-Version: 1.0 To: Juris Kaminskis Subject: Re: Setup HP Laserjet 1120m over network with LPD References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 13:38:14 -0000 06.08.2013 22:58, Juris Kaminskis wrote: > after several trials and errors and reading through FreeBSD handbook I am > at dead end on how to proceed further, hope someone can guide me. I always use foomatic for such things, it's quite easier to set up. For example I have: hplj2420d|lp|HP LaserJet 2420|:\ :af=/usr/local/etc/foomatic/lpd/hplj2420d.ppd:\ :lf=/var/log/lp-errs:\ :ppdfile=/usr/local/etc/foomatic/lpd/hplj2420d.ppd:\ :sd=/var/spool/lpd/hplj2420d:\ :lp=/dev/ulpt0:\ :if=/usr/local/bin/foomatic-rip:\ :sh:\ :mx#0: I installed those ones: print/foomatic-db-engine print/foomatic-db-hpijs This is local setup, but I think network setup can be done almost the same way. This printer was initially set up as a network printer but after Windows 7 emerged there were numerous problems with printing anything so I grabbed the box and converted it to lpd printer. Now everything works flawlessly for years. In your case the key might be using correct filters to feed raw data to printer. Most winprinters doesn't know what ps is and require user to provide correct raw data. -- Sphinx of black quartz, judge my vow. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 13:38:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D507A746; Mon, 12 Aug 2013 13:38:53 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qe0-x22c.google.com (mail-qe0-x22c.google.com [IPv6:2607:f8b0:400d:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8912B2E73; Mon, 12 Aug 2013 13:38:53 +0000 (UTC) Received: by mail-qe0-f44.google.com with SMTP id 6so3603164qeb.17 for ; Mon, 12 Aug 2013 06:38:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=qAuRkYgEGFdYsjvBrG+0LwGGnJg7SabQr+uTpH/58Xo=; b=Siy/EpvdmTDWIbt7uUR8pxUs/8xLt40wXvDWtH25AxPVPSMc3fTy03aQv9cCfg22d0 MaNRiAo1Dkj4lxfRKOw0BKoMQsCmC9dMxt4QFkFMNds56x2PxD2m82vEFzMoTUYe5P/Z fXCE7KOkye7aqiUX6bj21sdKzDJkLZexCZGAPZ51g479yu+8K2Xoq/GTEpetqRALS45M rnhRpPI0R9hOe4DUbLHnFK/ebt93vReq8PMyYqqzgHCTTNFN4EpPCA//3gPpeDnU9Ein UZsWm5TMHqbwo2UUIbQ4cn7QuA35FSfg5A9jhXomvqqsDLL/nJMeTIGE9WGz5v4T2xVW Tc3Q== MIME-Version: 1.0 X-Received: by 10.224.93.19 with SMTP id t19mr24594863qam.32.1376314732562; Mon, 12 Aug 2013 06:38:52 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.49.70.225 with HTTP; Mon, 12 Aug 2013 06:38:52 -0700 (PDT) Date: Mon, 12 Aug 2013 15:38:52 +0200 X-Google-Sender-Auth: m9ADRDIqHQVLaOYyZP-K2LBBRdc Message-ID: Subject: 9.2-RC1 rc.firewall workstation type and myservices From: CeDeROM To: freebsd-stable@freebsd.org, FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 13:38:53 -0000 Hello :-) I just have setup some service on 9.2-RC1. I want this service to be available on WAN but still I want to have stateful firewall running. I am using workstation firewall type and put the service port on firewall_myservices. However by default only TCP connections are accepted, still I need to serve UDP connections. Wouldn't that be more convenient to change "TCP" into "IP" for default firewall_myservices and maybe add TCP and UDP for firewall_myservices_{tcp,udp} ? Below is the script part.. Best regards, Tomek # Add permits for this workstations published services below # Only IPs and nets in firewall_allowservices is allowed in. # If you really wish to let anyone use services on your # workstation, then set "firewall_allowservices='any'" in /etc/rc.conf # # Note: We don't use keep-state as that would allow DoS of # our statetable. # You can add 'keep-state' to the lines for slightly # better performance if you fell that DoS of your # workstation won't be a problem. # for i in ${firewall_allowservices} ; do for j in ${firewall_myservices} ; do ${fwcmd} add pass tcp from $i to me $j done done -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 16:29:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A1E686E2 for ; Mon, 12 Aug 2013 16:29:27 +0000 (UTC) (envelope-from maciej@suszko.eu) Received: from archeo.suszko.eu (archeo.unixguru.pl [91.121.179.122]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 612452ACD for ; Mon, 12 Aug 2013 16:29:26 +0000 (UTC) Received: from archeo (localhost [127.0.0.1]) by archeo.suszko.eu (Postfix) with ESMTP id DEFBC2063B3E; Mon, 12 Aug 2013 18:29:18 +0200 (CEST) X-Virus-Scanned: amavisd-new at archeo.local Received: from archeo.suszko.eu ([127.0.0.1]) by archeo (archeo.local [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PXwHOuCRftoS; Mon, 12 Aug 2013 18:29:18 +0200 (CEST) Received: from arsenic (89-79-234-160.dynamic.chello.pl [89.79.234.160]) by archeo.suszko.eu (Postfix) with ESMTPSA id 44AAE20639B7; Mon, 12 Aug 2013 18:29:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=suszko.eu; s=dkim; t=1376324958; bh=p4zc2mq6lHDUMfqXZTpfbzlPeT0+JyTB2W2pA0Nbmxs=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=b5qBeSq+dLpLYTb4CTuVx8yaJvoKzseaOxPO2dZXtSrV2quS6wJ5qNejSKqCqbGjj JMl7cboQUu2A414p5xSz41vu6xsN3ibSffaTANozRW0t2G2rWNgjQHChYGQX8bm9TD 4TayWIRokdI0rjSCe2LnQKOQMGwAZNxip95Ep4hs= Date: Mon, 12 Aug 2013 18:29:13 +0200 From: Maciej Suszko To: David Demelier Subject: Re: sysvipc only for one jail Message-ID: <20130812182913.5b0f2412@arsenic> In-Reply-To: References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/IvvR51ZXmwzcE7L.Nb93GrV"; protocol="application/pgp-signature" Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 16:29:27 -0000 --Sig_/IvvR51ZXmwzcE7L.Nb93GrV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable David Demelier wrote: > 2013/8/11 Maciej Suszko : > > Maciej Suszko wrote: > > [...] > >> > >> You can specify different params for each jail using _parameters, > >> for example: > >> > >> jail_jailname_params=3D"allow.chflags=3D1 allow.sysvipc=3D1" > > > > Sorry, my mistake - it should be jail_jailname_parameters=3D of > > course. -- > > regards, Maciej Suszko. >=20 > Thanks for your message, >=20 > However, I could not find this setting in the manual of rc.conf(5) > neither in /etc/rc.d/jail :(. It does not seems to be applied. I suppose jail_(jname)_parameters rc.conf option is available in at least 9-STABLE. --=20 regards, Maciej Suszko. --Sig_/IvvR51ZXmwzcE7L.Nb93GrV Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlIJDV0ACgkQCikUk0l7iGqrwQCeOsRHWswCLp9jLB4UuHCMY3VP zooAnjou2e0ETcGXg5ZNkZo5SiJMwGJR =ZUTR -----END PGP SIGNATURE----- --Sig_/IvvR51ZXmwzcE7L.Nb93GrV-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 17:46:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 879C2DB6 for ; Mon, 12 Aug 2013 17:46:09 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BFF292F9C for ; Mon, 12 Aug 2013 17:46:08 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r7CHk2uF058028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Aug 2013 19:46:02 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r7CHk2g1058025; Mon, 12 Aug 2013 19:46:02 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Mon, 12 Aug 2013 19:46:02 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: David Demelier Subject: Re: sysvipc only for one jail In-Reply-To: Message-ID: References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/Mixed; BOUNDARY="2055831798-2119261980-1376309398=:90799" Content-ID: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: Maciej Suszko , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 17:46:09 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-2119261980-1376309398=:90799 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-ID: On Mon, 12 Aug 2013 14:09+0200, Trond Endrestøl wrote: > On Mon, 12 Aug 2013 13:57+0200, David Demelier wrote: > > > 2013/8/12 Trond Endrestøl : > > > On Mon, 12 Aug 2013 12:40+0200, David Demelier wrote: > > > > > >> 2013/8/11 Maciej Suszko : > > >> > Maciej Suszko wrote: > > >> > [...] > > >> >> > > >> >> You can specify different params for each jail using _parameters, for > > >> >> example: > > >> >> > > >> >> jail_jailname_params="allow.chflags=1 allow.sysvipc=1" > > >> > > > >> > Sorry, my mistake - it should be jail_jailname_parameters= of course. > > >> > -- > > >> > regards, Maciej Suszko. > > >> > > >> Thanks for your message, > > >> > > >> However, I could not find this setting in the manual of rc.conf(5) > > >> neither in /etc/rc.d/jail :(. It does not seems to be applied. > > > > > > Have a look at jail(8) and the last lines of /etc/default/rc.conf. > > > > I see, > > > > I've added what Maciej Suszko told me but the sysctls in the jail is > > not set as it should be : > > > > security.jail.param.allow.sysvipc: 0 > > security.jail.param.allow.chflags: 0 > > > > And thus, it's not enabled as postgresql tells: > > > > creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL: > > could not create shared memory segment: Function not implemented > > I'll look into this by creating a new jail for PostgreSQL 9.2 when I > get home. My host is running 9.2-PRERELEASE, r254150, in VirtualBox 4.2.16. The jails are running world, also at r254150. I added the following to the host's /etc/rc.conf: jail_enable="YES" jail_list="postgresql" jail_postgresql_rootdir="/jails/postgresql" jail_postgresql_hostname="postgresql.bsd.net" jail_postgresql_interface="vtnet0" jail_postgresql_fib="0" jail_postgresql_ip="10.0.2.103,2001:db8::103" jail_postgresql_exec_start="/bin/sh /etc/rc" jail_postgresql_exec_stop="/bin/sh /etc/rc.shutdown" jail_postgresql_devfs_enable="YES" jail_postgresql_parameters="enforce_statfs=1 allow.chflags=1 allow.sysvipc=1 allow.mount=1 allow.mount.zfs=1" I added the following to the host's /etc/jail.conf: postgresql { path = /jails/postgresql; enforce_statfs = 1; allow.chflags; allow.sysvipc; allow.mount; allow.mount.zfs; mount.devfs; host.hostname = postgresql.bsd.net; ip4.addr = 10.0.2.103; ip6.addr = 2001:db8::103; interface = vtnet0; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; } PostgreSQL 9.2.4 had no problems running initdb nor running postgres inside the jail: root@freebsd-jails:/ # jexec 4 csh root@postgresql:/ # /usr/local/etc/rc.d/postgresql status pg_ctl: server is running (PID: 46623) /usr/local/bin/postgres "-D" "/usr/local/pgsql/data" root@postgresql:/ # If you start the jail manually using jail(8), then /etc/jail.conf comes into play, whereas the lines in /etc/rc.conf is used during automatic startup of the jails when the host is rebooted. The whole arrangement seems unnecessary redundant, and I truly wish this can be merged sooner rather than later. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-2119261980-1376309398=:90799 Content-Type: TEXT/PLAIN; CHARSET=us-ascii Content-ID: Content-Description: Content-Disposition: INLINE _______________________________________________ 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" --2055831798-2119261980-1376309398=:90799-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 17:47:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B8300E58 for ; Mon, 12 Aug 2013 17:47:31 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pd0-x22f.google.com (mail-pd0-x22f.google.com [IPv6:2607:f8b0:400e:c02::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 92EB22FB2 for ; Mon, 12 Aug 2013 17:47:31 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id q10so3735162pdj.34 for ; Mon, 12 Aug 2013 10:47:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; bh=du0NHpGY3QrzN8TujBXqWv9h6Kq4/cd0HYpxyS/4YeY=; b=ZP6zF6lv8R+XLLnNP1ZBxCEAqtQtQcWmclIcAJVxHprBPYN1KVDL9QVmmQvd9rpsdy 44rLMxqJhXQy7E/NICfwNBLi5USJf9Lphuc1M8y6xV/nU8Dzw1U6bauytjqqS4mbxiy3 grwW3KGTUoZjyk9XjCks4cD+v7oOwTtsnHESUvVMu2Kr1EZPKKCEevfTCuXCRknFsWV4 WEk9FYlD3KhGDx1pnlS5Tcg6ZeLGybhnxTFI6vjX1oT+E/duY2GHQRDAKkfEvYMwrzKE jDz9ru52f5rK7Gz0fdycmZSStglHG4tE1zkrIwZcs3+eyhBf7HnqayH/goY2xoQutLGI 1MTQ== X-Received: by 10.68.34.97 with SMTP id y1mr202545pbi.198.1376329651236; Mon, 12 Aug 2013 10:47:31 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id ss8sm41374029pab.6.2013.08.12.10.47.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 10:47:29 -0700 (PDT) From: aurfalien Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: SolarFlare 10GB card Date: Mon, 12 Aug 2013 10:47:27 -0700 Message-Id: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> To: "freebsd-questions@freebsd.org questions" Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 17:47:31 -0000 Hi all, We've a brand spanking new SolarFlare 10GB nic for use with our beast of = a server. However the vendor support page says the driver is in beta. Has any one used this card in production? Thanks in advance, - aurf= From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 18:13:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 13D083C4 for ; Mon, 12 Aug 2013 18:13:02 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id A3143219A for ; Mon, 12 Aug 2013 18:13:01 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id r7CICsEk042869; Mon, 12 Aug 2013 20:12:54 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id E4BE412358; Mon, 12 Aug 2013 20:12:53 +0200 (CEST) Date: Mon, 12 Aug 2013 20:12:53 +0200 From: Roland Smith To: aurfalien Subject: Re: SolarFlare 10GB card Message-ID: <20130812181253.GB73045@slackbox.erewhon.net> References: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tsOsTdHNUZQcU9Ye" Content-Disposition: inline In-Reply-To: <82661969-647C-4064-BB7A-76293C655CDC@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 questions" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 18:13:02 -0000 --tsOsTdHNUZQcU9Ye Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 12, 2013 at 10:47:27AM -0700, aurfalien wrote: > Hi all, >=20 > We've a brand spanking new SolarFlare 10GB nic for use with our beast of = a server. >=20 > However the vendor support page says the driver is in beta. If you look in the download[1], you'll see that the driver is named sfxge. = It was released in November 2011. This driver is already present in FreeBSD 9.= 1, look at the source in /usr/src/sys/dev/sfxge. So it seems like it is as much out of beta as any other driver. :-) [1]: https://support.solarflare.com/index.php?view=3Dcategories&id=3D1847&o= ption=3Dcom_cognidox) Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --tsOsTdHNUZQcU9Ye Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlIJJaUACgkQEnfvsMMhpyWJvgCeL3SI37Oa2aQKzqkCGSGaW0vQ O0MAnRdZfmEMF46sq4AZ3Jy8triU31W4 =Yx63 -----END PGP SIGNATURE----- --tsOsTdHNUZQcU9Ye-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 18:17:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 18B07725 for ; Mon, 12 Aug 2013 18:17:01 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pd0-x234.google.com (mail-pd0-x234.google.com [IPv6:2607:f8b0:400e:c02::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E355F21E8 for ; Mon, 12 Aug 2013 18:17:00 +0000 (UTC) Received: by mail-pd0-f180.google.com with SMTP id y10so3747645pdj.25 for ; Mon, 12 Aug 2013 11:17:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=otDQLvv+KbtwohWlvuIWrxjGXK3bDI/0BldjsGM9mvE=; b=RMmkko0SjCyfrhftffxl9m5WBcylDM/Jx0Rr3sLZGoDH1FuohHruzWKa6GuMQFfyIl q72wPFeycpF1hU6k0Vt66t7JhvkZ+OGNyyHTMRqMyXWDjePf9R2lGe/0+xQZjWzs3qiE 3hXk+X+xFXcmukM0XgLhrgD9SEkVKZVM2P2Lo/5wIxm1EiAPTldg6yeekZtEWv4MJ3Me k6ideCjY5hfE6t5/WqrrOf3Fg2LBfaBd/hGIW9+d7x1rNnizcM+AmSCjnRL7Yi93Zc72 kF0RsxdHDIHft9+GXbXTXcZA/2n10eLZmxRYjH0kCpPpIVr4jec+F8wvXuTZMjcYRjc8 610g== X-Received: by 10.68.163.131 with SMTP id yi3mr353370pbb.55.1376331420644; Mon, 12 Aug 2013 11:17:00 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id qf7sm41480686pac.14.2013.08.12.11.16.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 11:16:59 -0700 (PDT) Subject: Re: SolarFlare 10GB card Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <20130812181253.GB73045@slackbox.erewhon.net> Date: Mon, 12 Aug 2013 11:16:56 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> <20130812181253.GB73045@slackbox.erewhon.net> To: Roland Smith X-Mailer: Apple Mail (2.1085) Cc: "freebsd-questions@freebsd.org questions" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 18:17:01 -0000 On Aug 12, 2013, at 11:12 AM, Roland Smith wrote: > On Mon, Aug 12, 2013 at 10:47:27AM -0700, aurfalien wrote: >> Hi all, >>=20 >> We've a brand spanking new SolarFlare 10GB nic for use with our beast = of a server. >>=20 >> However the vendor support page says the driver is in beta. >=20 > If you look in the download[1], you'll see that the driver is named = sfxge. It > was released in November 2011. This driver is already present in = FreeBSD 9.1, > look at the source in /usr/src/sys/dev/sfxge. Ahh, thanks man. Didn't even think to look there. > So it seems like it is as much out of beta as any other driver. :-) Yea, I concur :) - aurf= From owner-freebsd-questions@FreeBSD.ORG Mon Aug 12 21:01:34 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DB500E59 for ; Mon, 12 Aug 2013 21:01:34 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 99A3C2B7D for ; Mon, 12 Aug 2013 21:01:34 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V8zF5-00034L-Ee for freebsd-questions@freebsd.org; Mon, 12 Aug 2013 23:01:31 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Aug 2013 23:01:31 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Aug 2013 23:01:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: 9.2-RC1: Problem with Kernel Date: Mon, 12 Aug 2013 21:01:14 +0000 (UTC) Lines: 59 Message-ID: References: < 20130811222354.T90173@sola.nimnet.asn.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 21:01:34 -0000 On Sun, 11 Aug 2013 22:47:36 +1000, Ian Smith wrote: > In freebsd-questions Digest, Vol 479, Issue 8, Message: 10 On Sun, 11 > Aug 2013 09:43:57 +0000 (UTC) Walter Hurry > wrote: > > On Sat, 10 Aug 2013 21:29:10 +0200, Polytropon wrote: > > > > > On Sat, 10 Aug 2013 19:04:29 +0000 (UTC), Walter Hurry wrote: > > >> This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching > > >> the source from releng/9.2 and rebuilding kernel and world). > > >> > > >> The kernel compiles and runs fine using the supplied GENERIC, but > > >> when I try to use my custom kenel config file, on reboot I get > > >> this: > > >> > > >> Mounting from ufs:/dev/ada0p2 failed with error 19 > > >> > > >> What module(s) have I missed? > > > > > > Diff against the GENERIC kernel. Maybe "device xhci"? > > > What bootable media is listed when you type "?" at the mountroot > > > prompt? > > > If GENERIC boots and your kernel doesn't, there should be a > > > significant difference regarding the config file's content. :-) > > > > Thanks for the reply. When I type "?" at the mountroot prompt I get: > > > > List of GEOM managed disk devices: > > > > with nothing shown. > > > > After restoring the GENERIC kernel, the output from 'gpart list' is: > > > > Geom name: ada0 > [..] > > Consumers: > > 1. Name: ada0 > > Mediasize: 21474836480 (20G) > > Sectorsize: 512 Mode: r2w2e3 > > > > (This is a small VirtualBox VM.) > > > > Kernel config is at http://paste2.org/h17Ih0PD > > Please Walter, it's not fair to make us do the work of figuring out what > you've changed from GENERIC in that, when all you need to provide is: > > # diff -uw /path/to/GENERIC /path/to/YOURKERNEL > > More ideal for custom kernel configs - for just these occasions - is: > > include GENERIC ident YOURKERNEL # custom {no,}device and {no,}options > statements > Sorry again. Anyway, I have it nailed down now. For anyone who is interested, the missing entry was: options ATA_CAM From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 03:15:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AEDACE4A for ; Tue, 13 Aug 2013 03:15:03 +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 75D4021C3 for ; Tue, 13 Aug 2013 03:15:03 +0000 (UTC) Received: from r56.edvax.de (port-92-195-239-168.dynamic.qsc.de [92.195.239.168]) by mx02.qsc.de (Postfix) with ESMTP id 6EFEF278F3; Tue, 13 Aug 2013 05:14:56 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r7D3EqVK007749; Tue, 13 Aug 2013 05:14:52 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 13 Aug 2013 05:14:52 +0200 From: Polytropon To: Walter Hurry Subject: Re: 9.2-RC1: Problem with Kernel Message-Id: <20130813051452.abd5a0c7.freebsd@edvax.de> In-Reply-To: References: <20130811222354.T90173@sola.nimnet.asn.au> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 03:15:03 -0000 On Mon, 12 Aug 2013 21:01:14 +0000 (UTC), Walter Hurry wrote: > Sorry again. Anyway, I have it nailed down now. For anyone who is > interested, the missing entry was: > > options ATA_CAM Correct. Line 84 and 264 have it commented out. This is the "new" method of talking to disk devices, similarly as the acd interface for optical media has been trans- formed into "SCSI over ATA" (ex device atapicam). So the disk drive has not been recognized by the kernel, therefore: No soup for you (i. e., no boot device). :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 04:14:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D5A41A0F for ; Tue, 13 Aug 2013 04:14:14 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:4]) by mx1.freebsd.org (Postfix) with ESMTP id 613CF24F8 for ; Tue, 13 Aug 2013 04:14:11 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail04.adl6.internode.on.net with ESMTP; 13 Aug 2013 13:44:09 +0930 Message-ID: <5209B28E.4000200@ShaneWare.Biz> Date: Tue, 13 Aug 2013 13:44:06 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Subject: Re: sysvipc only for one jail References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: David Demelier , Maciej Suszko , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 04:14:14 -0000 On 12/08/2013 21:39, Trond Endrestøl wrote: > On Mon, 12 Aug 2013 13:57+0200, David Demelier wrote: >> And thus, it's not enabled as postgresql tells: >> >> creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL: >> could not create shared memory segment: Function not implemented > > I'll look into this by creating a new jail for PostgreSQL 9.2 when I > get home. > While it is currently in beta maybe you could also try 9.3 and verify that the shared memory update works or eliminates this configuration? If you missed the change, 9.3 is implementing shared memory using mmap. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 05:38:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C212CAA1 for ; Tue, 13 Aug 2013 05:38:26 +0000 (UTC) (envelope-from terje@elde.net) Received: from keepquiet.net (keepquiet.net [IPv6:2a01:4f8:130:84c1::deaf:babe]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7E5B82942 for ; Tue, 13 Aug 2013 05:38:26 +0000 (UTC) Received: from [10.114.75.102] (2.150.21.138.tmi.telenormobil.no [2.150.21.138]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: terje@elde.net) by keepquiet.net (Postfix) with ESMTPSA id 11F932E403; Tue, 13 Aug 2013 07:38:20 +0200 (CEST) References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> <5209B28E.4000200@ShaneWare.Biz> In-Reply-To: <5209B28E.4000200@ShaneWare.Biz> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <17C4A5ED-94DC-4D61-B527-96ED2152B908@elde.net> X-Mailer: iPhone Mail (10B329) From: Terje Elde Subject: Re: sysvipc only for one jail Date: Tue, 13 Aug 2013 07:38:16 +0200 To: Shane Ambler Cc: David Demelier , Maciej Suszko , "freebsd-questions@freebsd.org" , =?utf-8?Q?Trond_Endrest=C3=B8l?= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 05:38:26 -0000 On 13. aug. 2013, at 06:14, Shane Ambler wrote: > If you missed the change, 9.3 is implementing shared memory using mmap. But still using sysvipc for some locks/mutexes, so doesn't allow you to run "= sysvipc-free".=20 Terje From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 07:51:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B5A96C3E for ; Tue, 13 Aug 2013 07:51:08 +0000 (UTC) (envelope-from terje@elde.net) Received: from keepquiet.net (keepquiet.net [78.46.162.42]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 723A5211B for ; Tue, 13 Aug 2013 07:51:02 +0000 (UTC) Received: from [10.130.10.194] (cm-84.210.76.250.getinternet.no [84.210.76.250]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: terje@elde.net) by keepquiet.net (Postfix) with ESMTPSA id 33AD22E403; Tue, 13 Aug 2013 09:50:54 +0200 (CEST) Subject: Re: sysvipc only for one jail Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=iso-8859-1 From: Terje Elde In-Reply-To: Date: Tue, 13 Aug 2013 09:50:52 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <25DF7BAC-14CC-4481-BAC1-0DBBF0E0D92C@elde.net> References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> To: =?iso-8859-1?Q?Trond_Endrest=F8l?= X-Mailer: Apple Mail (2.1085) Cc: David Demelier , Maciej Suszko , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 07:51:08 -0000 On 12. aug. 2013, at 19.46, Trond Endrest=F8l wrote: > If you start the jail manually using jail(8), then /etc/jail.conf=20 > comes into play, whereas the lines in /etc/rc.conf is used during=20 > automatic startup of the jails when the host is rebooted. The whole=20 > arrangement seems unnecessary redundant, and I truly wish this can be=20= > merged sooner rather than later. It *is* unnecessary redundant. If you're using /etc/rc.conf to define the jails, then start them with: /etc/rc.d/jail start jailname That is, if you're mostly using /etc/rc.conf to define the jails, then = start them manually using that as well? Problem solved? Terje From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 08:42:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 51C0586B; Tue, 13 Aug 2013 08:42:15 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9AE2A243D; Tue, 13 Aug 2013 08:42:14 +0000 (UTC) Received: by mail-la0-f41.google.com with SMTP id ec20so5671720lab.28 for ; Tue, 13 Aug 2013 01:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=KlI7YmVWeU+7UE0QqbqcS1Xn58+/NofBhRrrZVDN90A=; b=d3ZC6Utq5oZ7Aa3lw9m+JdG25P8TkpjI3lrS5uKNOtJGMGLV/z9c56S/T+ayJDKkj9 8+EYUQkWgXUGxPdbUiUr3xLY9BQobGJKvbzQqcx7w8kK/lKkydA5RPPlG9vw75NBMC+E Pw/kqaiSpr2Vt7oitkLqrjsqBgAFbFK6y6j/FYTIZUm+I28imJRN8ytZyA+/3vyNHuUI 6P1ZqPAKx+iFIt9/WvKsdj3axx/8ECEkGZjliaDlaI6BQFt/anHW4n2Xx59Qi7kd2h3T LfSCx0mOf7zfW2CqkSTpX71hQJVljw9D7u4p7tlMwcNUG3l9AfvQi8TvMVVPwmVN6Vsy tI7g== MIME-Version: 1.0 X-Received: by 10.112.24.2 with SMTP id q2mr1054275lbf.34.1376383332522; Tue, 13 Aug 2013 01:42:12 -0700 (PDT) Received: by 10.112.147.230 with HTTP; Tue, 13 Aug 2013 01:42:12 -0700 (PDT) Date: Tue, 13 Aug 2013 13:12:12 +0430 Message-ID: Subject: WIDE-DHCP From: s m To: FreeBSD Net , freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 08:42:15 -0000 hello guys, does any body use WIDE-DHCP? i installed it on my freebsd 8.2 but don't know how to configure it. i searched a lot but can not find any useful documentation. please let me know if some body configure it or have some application about. thanks in advance SAM From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 08:47:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C9D81A76 for ; Tue, 13 Aug 2013 08:47:21 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 88BEC2487 for ; Tue, 13 Aug 2013 08:47:21 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V9AG0-0000xk-Da for freebsd-questions@freebsd.org; Tue, 13 Aug 2013 10:47:12 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Aug 2013 10:47:12 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Aug 2013 10:47:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: 9.2-RC1: Problem with Kernel Date: Tue, 13 Aug 2013 08:46:53 +0000 (UTC) Lines: 20 Message-ID: References: < 20130811222354.T90173@sola.nimnet.asn.au> < 20130813051452.abd5a0c7.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 08:47:21 -0000 On Tue, 13 Aug 2013 05:14:52 +0200, Polytropon wrote: > On Mon, 12 Aug 2013 21:01:14 +0000 (UTC), Walter Hurry wrote: >> Sorry again. Anyway, I have it nailed down now. For anyone who is >> interested, the missing entry was: >> >> options ATA_CAM > > Correct. Line 84 and 264 have it commented out. This is the "new" method > of talking to disk devices, similarly as the acd interface for optical > media has been trans- formed into "SCSI over ATA" (ex device atapicam). > So the disk drive has not been recognized by the kernel, therefore: No > soup for you (i. e., no boot device). :-) Thanks, Polytropon! I have changed the controller (this is a VM, remember) to which the (same) virtual hard drive is attached, from ISA to SATA and "options ATA_CAM" is no longer needed. So I have learned a few things. Thanks again. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 08:58:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9080A13B; Tue, 13 Aug 2013 08:58:32 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 420A42542; Tue, 13 Aug 2013 08:58:32 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id bv4so181635qab.8 for ; Tue, 13 Aug 2013 01:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=l0JoKH9V3EUPCQyHVQYxczyeVABQTXeqphcipw/9sAw=; b=XOq5LMyyh10YntrXOUGIyiidAW8y0y0kEQ9h5XHkarqRWp3DV4TeBBtJIPD/8VKjnF Xjlx7Kj9auPOdu4EoKRfrsycyC+eACD3XzyLqkEYslLXwPvLlHOj0BAPRlEwyijSVJ1L iXlrNf8ILS0LkN+fYDXwbGr2KzXTZp4ef67EXBZqTHlJfhVtHeBAB25a5oQeX1dj890w bRDKgcnmAZ0HP8HTnZC77aUIZwyzvfDyjYls8XEujixtNN8davHPQ7I153JZ/FVCPuzE OqLJ9qVz2fQ9pvGF7ppdxu6XKgVzFCWqNzokuTJGrndCkx7IqVMCBi1s2L2v8R3zXK4M hhtA== MIME-Version: 1.0 X-Received: by 10.49.84.6 with SMTP id u6mr76939qey.79.1376384310847; Tue, 13 Aug 2013 01:58:30 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.49.62.41 with HTTP; Tue, 13 Aug 2013 01:58:30 -0700 (PDT) In-Reply-To: References: Date: Tue, 13 Aug 2013 15:58:30 +0700 X-Google-Sender-Auth: glZfWbXOkWUunUcGwuS40GCCVYk Message-ID: Subject: Re: WIDE-DHCP From: Olivier Nicole To: s m Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Net , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 08:58:32 -0000 Sam, It seems that the distribution includes a directory called db_sample with some tutorials/examples. But it also seems that the last release of wide-dhcp is 16 years old... Olivier On Tue, Aug 13, 2013 at 3:42 PM, s m wrote: > hello guys, > > > does any body use WIDE-DHCP? i installed it on my freebsd 8.2 but don't > know how to configure it. i searched a lot but can not find any useful > documentation. > > please let me know if some body configure it or have some application about. > thanks in advance > SAM > _______________________________________________ > 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 Aug 13 09:02:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 19239522 for ; Tue, 13 Aug 2013 09:02:56 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: from bizet.nethelp.no (bizet.nethelp.no [195.1.209.33]) by mx1.freebsd.org (Postfix) with SMTP id 5F64A25C5 for ; Tue, 13 Aug 2013 09:02:54 +0000 (UTC) Received: (qmail 17660 invoked from network); 13 Aug 2013 09:02:47 -0000 Received: from bizet.nethelp.no (HELO localhost) (195.1.209.33) by bizet.nethelp.no with SMTP; 13 Aug 2013 09:02:47 -0000 Date: Tue, 13 Aug 2013 11:02:47 +0200 (CEST) Message-Id: <20130813.110247.74733201.sthaug@nethelp.no> To: olivier.nicole@cs.ait.ac.th Subject: Re: WIDE-DHCP From: sthaug@nethelp.no In-Reply-To: References: X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, sam.gh1986@gmail.com, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 09:02:56 -0000 > It seems that the distribution includes a directory called db_sample > with some tutorials/examples. > > But it also seems that the last release of wide-dhcp is 16 years old... And I also strongly doubt that he's going to have any better luck with his /8 net. Steinar Haug, Nethelp consulting, sthaug@nethelp.no From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 11:12:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4491D22B; Tue, 13 Aug 2013 11:12:20 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9007B2D64; Tue, 13 Aug 2013 11:12:19 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id n6so1428963lbi.36 for ; Tue, 13 Aug 2013 04:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OsTmoheGFwB01bOLzm1MPyh1VnNwqpRshu20+YHs4G8=; b=VzX4MzM8TkkXfhJK93Ao/ya8eHxWmLh6/c7liIjpESgCAs9Qljso76VPxHzEF48vVk KhX8unlfdFbM+ljtmVkom4KP1RxZEgEBIaUYb4vZHAgcfUVg+8MW2oA/jaFk+Y2oYeM1 +t1GownHCOrgV+D30iVu49GSr7FXsuGr3f2Cz3+xWlgDHe7E8NoPCtdjxbrDfv3H2Dyt F7IOkLCqs14PnKuuO6n/bIYpGa3KHWP2cwqqeVJEcRgsxarZ2lIZnx6rI+KTHQAhH6BQ VQOZSsIPe6Z7tyQ+a5LQoEWHaSe29xTI1mGwCOxpALNhol39oDu0OmLnKjilxA7mfA2D AYTg== MIME-Version: 1.0 X-Received: by 10.152.116.109 with SMTP id jv13mr1672651lab.30.1376392337590; Tue, 13 Aug 2013 04:12:17 -0700 (PDT) Received: by 10.112.147.230 with HTTP; Tue, 13 Aug 2013 04:12:17 -0700 (PDT) In-Reply-To: <20130813.110247.74733201.sthaug@nethelp.no> References: <20130813.110247.74733201.sthaug@nethelp.no> Date: Tue, 13 Aug 2013 15:42:17 +0430 Message-ID: Subject: Re: WIDE-DHCP From: s m To: sthaug@nethelp.no Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Net , Olivier Nicole , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 11:12:20 -0000 yes, unfortunately it's not well enough for me:(( On Tue, Aug 13, 2013 at 1:32 PM, wrote: > > It seems that the distribution includes a directory called db_sample > > with some tutorials/examples. > > > > But it also seems that the last release of wide-dhcp is 16 years old... > > And I also strongly doubt that he's going to have any better luck > with his /8 net. > > Steinar Haug, Nethelp consulting, sthaug@nethelp.no > From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 12:02:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E45766D3 for ; Tue, 13 Aug 2013 12:02:49 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mailch-3.name-services.com (mailch-3.name-services.com [98.124.252.185]) by mx1.freebsd.org (Postfix) with ESMTP id CA37F20C6 for ; Tue, 13 Aug 2013 12:02:49 +0000 (UTC) Received: from mailch.name-services.com (localhost [127.0.0.1]) by mailch.name-services.com (Postfix) with SMTP id 0C70462D43A; Tue, 13 Aug 2013 04:54:07 -0700 (PDT) X-Sender-Id: 173.88.196.224 Received: from mail-24.name-services.com (sjl0vwsmail09.prod.dm.local [10.7.17.59]) by 0.0.0.0:2500 (trex/4.8.23); Tue, 13 Aug 2013 11:54:07 GMT X-Pool-Id: 4 Received: from [10.0.10.1] (cpe-173-88-196-224.neo.res.rr.com [173.88.196.224]) by mail-24.name-services.com with SMTP; Tue, 13 Aug 2013 04:53:58 -0700 Message-ID: <520A1E57.8080209@a1poweruser.com> Date: Tue, 13 Aug 2013 07:53:59 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Shane Ambler Subject: Re: sysvipc only for one jail References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> <5209B28E.4000200@ShaneWare.Biz> In-Reply-To: <5209B28E.4000200@ShaneWare.Biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: David Demelier , Maciej Suszko , freebsd-questions@freebsd.org, =?ISO-8859-1?Q?Trond_Endrest=F8l?= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 12:02:50 -0000 Shane Ambler wrote: > On 12/08/2013 21:39, Trond Endrestøl wrote: > > While it is currently in beta maybe you could also try 9.3 and verify > that the shared memory update works or eliminates this configuration? > > If you missed the change, 9.3 is implementing shared memory using mmap. > > What 9.3 are you talking about???? 9.2-RC1 is the newest available. Is 9.3 a typo and you really mean 9.2?? From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 12:07:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1A8C07D3 for ; Tue, 13 Aug 2013 12:07:04 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mailch-2.name-services.com (mailch-2.name-services.com [98.124.252.184]) by mx1.freebsd.org (Postfix) with ESMTP id F40A7210B for ; Tue, 13 Aug 2013 12:07:03 +0000 (UTC) Received: from mailch.name-services.com (localhost [127.0.0.1]) by mailch.name-services.com (Postfix) with SMTP id 8C4C362ECE9; Tue, 13 Aug 2013 05:06:59 -0700 (PDT) X-Sender-Id: 173.88.196.224 Received: from mail-24.name-services.com (sjl0vwsmail09.prod.dm.local [10.7.17.59]) by 0.0.0.0:2500 (trex/4.8.23); Tue, 13 Aug 2013 12:06:59 GMT X-Pool-Id: 3 Received: from [10.0.10.1] (cpe-173-88-196-224.neo.res.rr.com [173.88.196.224]) by mail-24.name-services.com with SMTP; Tue, 13 Aug 2013 05:06:51 -0700 Message-ID: <520A215C.4040301@a1poweruser.com> Date: Tue, 13 Aug 2013 08:06:52 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Terje Elde Subject: Re: sysvipc only for one jail References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> <25DF7BAC-14CC-4481-BAC1-0DBBF0E0D92C@elde.net> In-Reply-To: <25DF7BAC-14CC-4481-BAC1-0DBBF0E0D92C@elde.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: David Demelier , Maciej Suszko , freebsd-questions@freebsd.org, =?ISO-8859-1?Q?Trond_Endrest=F8l?= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 12:07:04 -0000 Terje Elde wrote: > On 12. aug. 2013, at 19.46, Trond Endrestøl wrote: >> If you start the jail manually using jail(8), then /etc/jail.conf >> comes into play, whereas the lines in /etc/rc.conf is used during >> automatic startup of the jails when the host is rebooted. The whole >> arrangement seems unnecessary redundant, and I truly wish this can be >> merged sooner rather than later. > > It *is* unnecessary redundant. > > If you're using /etc/rc.conf to define the jails, then start them with: > > /etc/rc.d/jail start jailname > > That is, if you're mostly using /etc/rc.conf to define the jails, then start them manually using that as well? > > Problem solved? > > Terje > Here is a writeup about jails that you may find useful. It includes a boot time jail startup script for jail(8) defined jails. http://www.a1poweruser.com/35.00-Jails_guide_article.php From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 12:33:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A201BFB9 for ; Tue, 13 Aug 2013 12:33:08 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 128292346 for ; Tue, 13 Aug 2013 12:33:07 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r7DCX0uZ052439 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Aug 2013 14:33:00 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r7DCX0Lr052425; Tue, 13 Aug 2013 14:33:00 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 13 Aug 2013 14:33:00 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Fbsd8 Subject: Re: sysvipc only for one jail In-Reply-To: <520A1E57.8080209@a1poweruser.com> Message-ID: References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> <5209B28E.4000200@ShaneWare.Biz> <520A1E57.8080209@a1poweruser.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-245321183-1376397180=:90799" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: David Demelier , Maciej Suszko , freebsd-questions@freebsd.org, Shane Ambler X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 12:33:08 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-245321183-1376397180=:90799 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Tue, 13 Aug 2013 07:53-0400, Fbsd8 wrote: > What 9.3 are you talking about???? > 9.2-RC1 is the newest available. > Is 9.3 a typo and you really mean 9.2?? PostgreSQL 9.3beta2, you'll find it in ports as databases/postgresql93-server, etc. http://wiki.postgresql.org/wiki/What's_new_in_PostgreSQL_9.3 Among other things: o Switch to Posix shared memory and mmap(). (DONE) -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-245321183-1376397180=:90799-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 14:30:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0083E23A for ; Tue, 13 Aug 2013 14:30:08 +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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B3D142AA7 for ; Tue, 13 Aug 2013 14:30:08 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1V9Fbq-001OId-DW>; Tue, 13 Aug 2013 16:30:06 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198] helo=telesto) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1V9Fbq-001ldc-BK>; Tue, 13 Aug 2013 16:30:06 +0200 Date: Tue, 13 Aug 2013 16:30:01 +0200 From: "O. Hartmann" To: FreeBSD Questions Subject: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set Message-ID: <20130813163001.3194750f@telesto> Organization: FU Berlin X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/swA_4qKEDaL5ZLXHRBuq13B"; protocol="application/pgp-signature" X-Originating-IP: 130.133.86.198 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 14:30:09 -0000 --Sig_/swA_4qKEDaL5ZLXHRBuq13B Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable For the past I ran PostgreSQL 9.2 servers on FreeBSD 10.0-CURRENT successfully. But by now, out of the blue, login as the database's supervisor "pgsql" remotely isn't possible any more. The appropriate lines in pg_hba.conf are: local all pgsql md5 hostssl all pgsql 0.0.0.0/0 md5 The funny thing is: when login locally without providing a password (swap md5 to trust in the "local" line) and setting the password for the role "pgsql" via ALTER ROLE pgsql ENCRYPTED PASSWORD 'FooMe"; or doing the same via pgadmin3 from remotely by also swapping md5 to trust in the line "hostssl" for global network, it seems I could alter/change the password for the supervisor pgsql. But restoring the password check by setting back "md5" leaves me locked out! By the way, this strange behaviour occurs on ALL(!) PostgreSQL 9.2 servers running on FreeBSD 10.0-CURRENT boxes. Ports databases/postgresql-XXX as well as FreeBSD is as of the latest sources and up to date. What is going wrong? Please CC me. Regards, Oliver --Sig_/swA_4qKEDaL5ZLXHRBuq13B Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBAgAGBQJSCkLuAAoJEOgBcD7A/5N8zF0H/1oOOzoRSPTm54m2kldAuoX5 zPixNOVpaJCrFEeDaQ9AkhSSoOL3mWjqKZepCUSTwuLqOcMhPPNsASuO+UwwIAxx tueA5cCM4X92O1PSUg/gGXpI9CqkzukF0KdD0Z74Cxfs+m5BNLd7i6JUjmBUDXsK aclLe4/vm8hRYhu48GE3TbBPSDsr8P1j1bzcToWy0Nyjt7lJQ0C6/7OTgU8IX893 f7CB2avSbRUJ2FgrHgswKCS6KPLv1BLkllY7L7KeoPu7o+w5LupAu7gq8gZVINXm 3Hf1yEA4OXRtNgHyWcB+qkPXnP6p5kwvuiWdV54nclG395qOaK73m+OWXYTOk2o= =XAzA -----END PGP SIGNATURE----- --Sig_/swA_4qKEDaL5ZLXHRBuq13B-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 14:45:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 004DE517 for ; Tue, 13 Aug 2013 14:45:56 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 78F442BA1 for ; Tue, 13 Aug 2013 14:45:56 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id fq13so5922201lab.11 for ; Tue, 13 Aug 2013 07:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=livn9cfZmNigd9xOtSPuwtlAYWVfgNmCpz+tVSsbbHo=; b=xx88j08N5vgT0O4MOM2Gwsi6r0BmNvZGS0xh5gvTMP9l0jQuOL+54fLsUISsq9ebKY 6Z0CdJ6lV79bPq+PIjUK8zy8lbRQmzkRNOVoyCk0s++W8rws1AiLLgzWdjHX8P+ALBt5 JhXAC/jvnNeVJL+HtryuPFmOEpZHAHVCw7HehjFONINXHhTvZ1qgc6+tdgl8ZD8gX34c yMaEDkQlWnYvn+RwL9Ad9V6qki6ABjsf1+55CPsUDOo7+CELQDnQcgJDdqGR+xKEUmKU Ygr3aKXLjUH0yY20QF7Aui8Tcj9iiXOSmwzMRLgVDsLijngY5UGglt0LcXY97k4pT026 GO8A== X-Received: by 10.152.8.51 with SMTP id o19mr1788473laa.42.1376405154407; Tue, 13 Aug 2013 07:45:54 -0700 (PDT) Received: from [192.168.1.128] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPSA id i9sm14239769laa.3.2013.08.13.07.45.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 Aug 2013 07:45:53 -0700 (PDT) Message-ID: <520A46A0.5010506@gmail.com> Date: Tue, 13 Aug 2013 17:45:52 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 MIME-Version: 1.0 To: "O. Hartmann" Subject: Re: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set References: <20130813163001.3194750f@telesto> In-Reply-To: <20130813163001.3194750f@telesto> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 14:45:57 -0000 13.08.2013 17:30, O. Hartmann wrote: > For the past I ran PostgreSQL 9.2 servers on FreeBSD 10.0-CURRENT > successfully. But by now, out of the blue, login as the database's > supervisor "pgsql" remotely isn't possible any more. > > The appropriate lines in pg_hba.conf are: > > local all pgsql md5 > hostssl all pgsql 0.0.0.0/0 md5 > > The funny thing is: when login locally without providing a password > (swap md5 to trust in the "local" line) and setting the password for > the role "pgsql" via > > ALTER ROLE pgsql ENCRYPTED PASSWORD 'FooMe"; I guess ENCRYPTED means you are substituting FooMe with md5 hashed password correctly salted with role name as postgresql requires? > or doing the same via pgadmin3 from remotely by also swapping md5 to > trust in the line "hostssl" for global network, it seems I could > alter/change the password for the supervisor pgsql. But restoring the > password check by setting back "md5" leaves me locked out! > > By the way, this strange behaviour occurs on ALL(!) PostgreSQL 9.2 > servers running on FreeBSD 10.0-CURRENT boxes. > > Ports databases/postgresql-XXX as well as FreeBSD is as of the latest > sources and up to date. > > What is going wrong? -- Sphinx of black quartz, judge my vow. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 14:55:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ED6A7696 for ; Tue, 13 Aug 2013 14:55:10 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 718DB2C45 for ; Tue, 13 Aug 2013 14:55:10 +0000 (UTC) Received: by mail-lb0-f170.google.com with SMTP id r10so5925549lbi.1 for ; Tue, 13 Aug 2013 07:55:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=gNMvrWsF+S2NUhwervewxRQXn/SO3OcmIhODaPK612k=; b=So5M2awcmprbL5W8aAZNojgt+0hHtmDTgR5vyYhLuxGypw0dDWJrVlH/bVXZC201n/ qGZDb6n468EwCidfqms+eVJYQZzKJJWCYqLOVjCRPPmz4nCEneG19189OFsKlkU5t4Ji 8Ofa96SiJffQsCxmzoDxXBpuSJZ+MJZvniTHYsqduG5ULq+5WGWURnMnDboihTYCEx/p bFuuxoRwP4eIetEaBWCoOM80G5F9QtNAex7Y9WLAWCzQ+4NS6MsJtEf/WdkDzL8wbO/L ZFBgi4fIOQvKdRmwKLn9CMtgM27ZdcGadQqsQvXZ16LRMVdbVUsqWpUxTANwqLTJMQkp tlSg== X-Received: by 10.152.25.135 with SMTP id c7mr1910219lag.39.1376405708428; Tue, 13 Aug 2013 07:55:08 -0700 (PDT) Received: from [192.168.1.128] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPSA id eb20sm14055232lbb.15.2013.08.13.07.55.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 Aug 2013 07:55:07 -0700 (PDT) Message-ID: <520A48CA.2020009@gmail.com> Date: Tue, 13 Aug 2013 17:55:06 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 MIME-Version: 1.0 Subject: Re: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set References: <20130813163001.3194750f@telesto> <520A46A0.5010506@gmail.com> In-Reply-To: <520A46A0.5010506@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "O. Hartmann" , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 14:55:11 -0000 > 13.08.2013 17:30, O. Hartmann wrote: >> For the past I ran PostgreSQL 9.2 servers on FreeBSD 10.0-CURRENT >> successfully. But by now, out of the blue, login as the database's >> supervisor "pgsql" remotely isn't possible any more. >> >> The appropriate lines in pg_hba.conf are: >> >> local all pgsql md5 >> hostssl all pgsql 0.0.0.0/0 md5 >> >> The funny thing is: when login locally without providing a password >> (swap md5 to trust in the "local" line) and setting the password for >> the role "pgsql" via >> >> ALTER ROLE pgsql ENCRYPTED PASSWORD 'FooMe"; > > I guess ENCRYPTED means you are substituting FooMe with md5 hashed > password correctly salted with role name as postgresql requires? Silly me, that's wrong. ENCRYPTED only means that password will be stored encrypted on the disk. There's a side note about using ENCRYPTED password with postgres in the docs though: "Note that older clients might lack support for the MD5 authentication mechanism that is needed to work with passwords that are stored encrypted." -- Sphinx of black quartz, judge my vow. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 16:18:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F00F633B for ; Tue, 13 Aug 2013 16:18:42 +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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ACF15223C for ; Tue, 13 Aug 2013 16:18:42 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1V9HIu-002uu6-SN>; Tue, 13 Aug 2013 18:18:40 +0200 Received: from g226180153.adsl.alicedsl.de ([92.226.180.153] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1V9HIu-001uEk-Na>; Tue, 13 Aug 2013 18:18:40 +0200 Date: Tue, 13 Aug 2013 18:18:35 +0200 From: "O. Hartmann" To: Volodymyr Kostyrko Subject: Re: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set Message-ID: <20130813181835.3291401d@thor.walstatt.dyndns.org> In-Reply-To: <520A48CA.2020009@gmail.com> References: <20130813163001.3194750f@telesto> <520A46A0.5010506@gmail.com> <520A48CA.2020009@gmail.com> Organization: FU Berlin X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/ZRsfUG_RnMhYjp2_Y_aN45C"; protocol="application/pgp-signature" X-Originating-IP: 92.226.180.153 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 16:18:43 -0000 --Sig_/ZRsfUG_RnMhYjp2_Y_aN45C Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 13 Aug 2013 17:55:06 +0300 Volodymyr Kostyrko wrote: > > 13.08.2013 17:30, O. Hartmann wrote: > >> For the past I ran PostgreSQL 9.2 servers on FreeBSD 10.0-CURRENT > >> successfully. But by now, out of the blue, login as the database's > >> supervisor "pgsql" remotely isn't possible any more. > >> > >> The appropriate lines in pg_hba.conf are: > >> > >> local all pgsql md5 > >> hostssl all pgsql 0.0.0.0/0 md5 > >> > >> The funny thing is: when login locally without providing a password > >> (swap md5 to trust in the "local" line) and setting the password > >> for the role "pgsql" via > >> > >> ALTER ROLE pgsql ENCRYPTED PASSWORD 'FooMe"; > > > > I guess ENCRYPTED means you are substituting FooMe with md5 hashed > > password correctly salted with role name as postgresql requires? >=20 > Silly me, that's wrong. ENCRYPTED only means that password will be=20 > stored encrypted on the disk. There's a side note about using > ENCRYPTED password with postgres in the docs though: >=20 > "Note that older clients might lack support for the MD5 > authentication mechanism that is needed to work with passwords that > are stored encrypted." >=20 Well, even if not ENCRYPTED it doesn't work anymore and prior to this failure, the passwords were stored md5 hashed via pgadmin3 all the time - and it worked. I made now another test. On a FreeBSD 9.2 box which is also running PostgreSQL 9.2 and to which I have access the way that is now rejected by the others, I did a login as the supervisor (pgsql) successfully and then set the password for that supervisor again with alter role pgsql with encrypted password 'FooMe'; (FooMe was the passowrd used before on the same system, it worked definitely) and - booom - I can not login anymore onto that machine! Something is definitely wrong. I have no idea what is wrong here. --Sig_/ZRsfUG_RnMhYjp2_Y_aN45C Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBAgAGBQJSClxgAAoJEOgBcD7A/5N8I88IALhnRyo7y56MIRWlugMdyk0O PXG080HE9K+MmzEhzKaY/IRw7xSNReGqy7tscKTu7F2f8X+UjhuVwW2hTec1nub/ 5XQB0ADk7yRXMLFqvdiShaF8gdIKy3573XLnbYSwTvT6FhBzOxTY5c2XTEDHlRBa eYmUF7LLSDgnUb9oQbWyCswEos9nGK8qOCu8pmj64a7VCYRzm4bxafRIIhNtdFwd L1VZiAAsecg9Iz9T1fCF+oAjY3ANthK3AE+ctBS9TRGmi9xuI7cXwm9Jyu3B1Y6f Q/qkDaJ14olNOZ8b4sPUeyBMFipzSPPH+9Hs+JVM+rN5eJJmejSOXQ59/OLnQ4g= =Fy7o -----END PGP SIGNATURE----- --Sig_/ZRsfUG_RnMhYjp2_Y_aN45C-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 16:22:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 229453FB for ; Tue, 13 Aug 2013 16:22:48 +0000 (UTC) (envelope-from terje@elde.net) Received: from keepquiet.net (keepquiet.net [78.46.162.42]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D590C2285 for ; Tue, 13 Aug 2013 16:22:47 +0000 (UTC) Received: from [10.139.52.104] (2.150.36.190.tmi.telenormobil.no [2.150.36.190]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: terje@elde.net) by keepquiet.net (Postfix) with ESMTPSA id 92B532E404; Tue, 13 Aug 2013 18:22:45 +0200 (CEST) References: <20130813163001.3194750f@telesto> In-Reply-To: <20130813163001.3194750f@telesto> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <1027D295-6DBC-4CDA-A0CE-4C094770FF32@elde.net> X-Mailer: iPhone Mail (10B329) From: Terje Elde Subject: Re: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set Date: Tue, 13 Aug 2013 18:22:33 +0200 To: "O. Hartmann" Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 16:22:48 -0000 On 13. aug. 2013, at 16:30, "O. Hartmann" wrot= e: > What is going wrong? Are you unable to connect, or do you get an error message? If you do, what i= s it? Terje= From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 16:24:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CBF114C4 for ; Tue, 13 Aug 2013 16:24:32 +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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8A05522C2 for ; Tue, 13 Aug 2013 16:24:32 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1V9HOZ-002zdE-0o>; Tue, 13 Aug 2013 18:24:31 +0200 Received: from g226180153.adsl.alicedsl.de ([92.226.180.153] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1V9HOY-001uas-U4>; Tue, 13 Aug 2013 18:24:31 +0200 Date: Tue, 13 Aug 2013 18:24:30 +0200 From: "O. Hartmann" To: Terje Elde Subject: Re: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set Message-ID: <20130813182430.2fdb0176@thor.walstatt.dyndns.org> In-Reply-To: <1027D295-6DBC-4CDA-A0CE-4C094770FF32@elde.net> References: <20130813163001.3194750f@telesto> <1027D295-6DBC-4CDA-A0CE-4C094770FF32@elde.net> Organization: FU Berlin X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/_YzetgYXXT+ub6BFXcXRNWP"; protocol="application/pgp-signature" X-Originating-IP: 92.226.180.153 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 16:24:32 -0000 --Sig_/_YzetgYXXT+ub6BFXcXRNWP Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 13 Aug 2013 18:22:33 +0200 Terje Elde wrote: > On 13. aug. 2013, at 16:30, "O. Hartmann" > wrote: > > What is going wrong? >=20 > Are you unable to connect, or do you get an error message? If you do, > what is it? >=20 > Terje I always get this message: psql postgres pgsql Password for user pgsql: XXXXXXXXXX psql: FATAL: password authentication failed for user "pgsql" --Sig_/_YzetgYXXT+ub6BFXcXRNWP Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBAgAGBQJSCl2+AAoJEOgBcD7A/5N8z70IAJtTAgSTuuZ7dRkPMrn+QMEu PSY86Y3xtjcPLfn/ycVA4/mQR5sWMcMjS1cjr+LOrTgITdSsqCZE2f5poCSq9gHN X8MwafIX9mC7QOcZNgmhbm0+oPmPvbXSMdrmQpZ6yXSEJwEemEdkIuCO1xa+GsAM 49sduJLHUhDOxdfGih4+IFCBGbAz+SKdM0dLW8C7kGSxpDoviI5E21TVgfcPJHRc /F0kqIkcwD+I8jR9sRbLbVRkspxGGOk03Be7xH0EuX/OGysvkrhofveFo7zMfUQw l3dTyJ5OqjQepYCey5CpMBEr0bA8IIA2z1Iu/6Eg6UnE6LQKK9waMAicuIgF5Cc= =xKiY -----END PGP SIGNATURE----- --Sig_/_YzetgYXXT+ub6BFXcXRNWP-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 16:42:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 53281C1D for ; Tue, 13 Aug 2013 16:42:09 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 285E823FB for ; Tue, 13 Aug 2013 16:42:08 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id q10so5091818pdj.20 for ; Tue, 13 Aug 2013 09:42:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=fspYxwXafSGdJuqlV8AaDbJxCH624wNTGByM2WIhR/U=; b=pT7Fele/pFDhIdbmez+FPbluDTGdIoGTFAs1U6J5EqM7fsdletIph/5Z2O5ABIZ/qx I8xZLZpVqMT3Rew8QOX/1nwjRNSDiEjSbau4L/6mV5aJzltJzADTbV2cfOp5a5gRXoAC H6YB5hqRCdj1/UJTYL3bf22L4hBkj6c0/2zoYCdCg0k7fuLsLRxBxFCIlpKZAwMD8I4R B/kYOVqsJwkVHWwCka8kilXKBkbaOi4F+aB+7a19MY/k1RTJbIMvvDicUVyXIrwqkAVa ISwcHpUEepunxdBTe5FDgfeji80CJ7pFe+unEeUzIx1zYww2Y3LNFK4P7MWF6sYZ2TRW 8eeQ== X-Gm-Message-State: ALoCoQmEWzb97coJFB4vkx/rW+ZTxvaf4Qy+ywxKhaie6RDXsH5b0Ci0W4KEDivZLMMV3pe6bAb0 MIME-Version: 1.0 X-Received: by 10.68.101.225 with SMTP id fj1mr5432334pbb.8.1376412128215; Tue, 13 Aug 2013 09:42:08 -0700 (PDT) Received: by 10.66.11.41 with HTTP; Tue, 13 Aug 2013 09:42:07 -0700 (PDT) In-Reply-To: <5209B28E.4000200@ShaneWare.Biz> References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> <5209B28E.4000200@ShaneWare.Biz> Date: Tue, 13 Aug 2013 12:42:07 -0400 Message-ID: Subject: Re: sysvipc only for one jail From: Alejandro Imass To: Shane Ambler Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: David Demelier , Maciej Suszko , FreeBSD Questions , =?ISO-8859-1?Q?Trond_Endrest=F8l?= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 16:42:09 -0000 On Tue, Aug 13, 2013 at 12:14 AM, Shane Ambler wrot= e: > On 12/08/2013 21:39, Trond Endrest=F8l wrote: >> >> On Mon, 12 Aug 2013 13:57+0200, David Demelier wrote: > > >>> And thus, it's not enabled as postgresql tells: >>> >>> creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL: >>> could not create shared memory segment: Function not implemented >> >> >> I'll look into this by creating a new jail for PostgreSQL 9.2 when I >> get home. >> > > While it is currently in beta maybe you could also try 9.3 and verify tha= t > the shared memory update works or eliminates this configuration? > No need for any complication. Pg will work just fine by following this simple recipe. I compute a UID unique to the overall system by concatenating 70 (the natural UID for the pgsql user user in FBSD) and the last 3 digits of the Jails'IP, but you can come up with any numbering scheme as long as it's consistent and easily associated to a specific jail. For example for the Pg running on jail 192.168.101.124, install PostgreSQL and before doing anything else: pw usermod pgsql -u 70124 pw groupmod pgsql -g 70124 pw usermod pgsql -g 70124 chown -R pgsql /usr/local/pgsql/ chgrp -R pgsql /usr/local/pgsql/ Any other application that uses SYSV IPC should follow a similar recipe, and it's compatible with al versions of Jails. And that's it. I have dozens of jails with Pg running this way. Likewise also make sure all of your network daemons listen _specifically_ to that jail's IP, in Pg that would be postgresql.conf: listen_addresses =3D 'xxxxxx' although the default 'localhost' should work most of the time. Always double check all daemons with sockstat (e.g. sockstat -4l) to make sure they only listen on that jail's IP(s). Best, --=20 Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 17:52:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 814E28D4 for ; Tue, 13 Aug 2013 17:52:24 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-ob0-x22a.google.com (mail-ob0-x22a.google.com [IPv6:2607:f8b0:4003:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4E6102914 for ; Tue, 13 Aug 2013 17:52:24 +0000 (UTC) Received: by mail-ob0-f170.google.com with SMTP id eh20so10914296obb.29 for ; Tue, 13 Aug 2013 10:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=KzG8dT/m/ckbwUhFF4ZQzKR6r4xwbk6E7NYM9mUIIwI=; b=k8mJh05+tJ0cbb0he5HfV5lW7mmQG5G4OEd32zJ2MgqoU8UApcPjBNGnAj8nOGRM4N vNAQz0uDrUba7YPl0tZ7f2yIulXuQPR1wJmYA1V126jFdjM0qrmlbyvSSNLhQ9KLN6Hn 03LTXkPjCBHYZCgml//fVadFmF3+7rPLIqF3/08iaWN7C0fvPeVpnZb6I+dftrkrk9zh 5WJ+A7D1/cLW6FVRzwJu79NpkuCFnYYmAmuI0KYjKb5lGL/IypXpk8CLIYmL9mEOUYjH g8uo0w+S1KRq2C9fTLpI/JAT6fYsTebkkGGV5nqMeXQ5FmkksT7AUwAWls9N0azMI/N5 dWKg== MIME-Version: 1.0 X-Received: by 10.60.45.98 with SMTP id l2mr1216196oem.95.1376416343656; Tue, 13 Aug 2013 10:52:23 -0700 (PDT) Received: by 10.76.2.110 with HTTP; Tue, 13 Aug 2013 10:52:23 -0700 (PDT) Date: Tue, 13 Aug 2013 13:52:23 -0400 Message-ID: Subject: Qlogic Fiber Target and ZFS From: Outback Dingo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 17:52:24 -0000 Okay Ive been down this road before but seem to have lost my notes and cat seem to find the original google doc on the process how does one configure a Qlogic 8Gb fiber card as target and attach the zpool From owner-freebsd-questions@FreeBSD.ORG Tue Aug 13 22:41:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D4295DDB for ; Tue, 13 Aug 2013 22:41:02 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.207]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 928762B6A for ; Tue, 13 Aug 2013 22:41:02 +0000 (UTC) Date: Wed, 14 Aug 2013 00:21:43 +0200 From: vermaden Subject: FreeBSD on ThinkPad W530 To: freebsd-questions@freebsd.org X-Mailer: interia.pl/pf09 X-Originating-IP: 37.209.149.228 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1376432504; bh=xmPZAOswQcoOljj3LZ+dVEU9CCQixUkLIr0mNJsyfK8=; h=Date:From:Subject:To:X-Mailer:X-Originating-IP:Message-Id: MIME-Version:Content-Type:Content-Transfer-Encoding; b=YRdYzYDHNJc+q8D6rFCX6e3iui8XE7s/gTepN7clb7PaPoSa9SwRwNLGWxKUZhxIZ /SbABLw4wOZux7Yh0QbpiakAp4MXNJPAPn6lhRWdpF19e4aBjU8nxvHQ27ygAhIwyu 06rDvGqKwfWSAH2OVYtH+Mj1+VSM71qFPvjo0L9o= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 22:41:02 -0000 Hi, I have just tried FreeBSD on ThinkPad W530 and I must say that its very disapointing experience ... The FreeBSD 9.2-RC1 and PC-BSD 9.2-BETA2 does not even boot from the USB drive - instant kernel panic and reboot. The FreeBSD 10.0-CURRENT was able to boot successfully and I could install FreeBSD onto the drive with 'ZFS Madnss' style. After installation with extended battery charged to 100% I have about 3 hours of work ... while having about 10 hours on Windows (haven't tried Linux yet). I disabled discrete graphics (Nvidia) in the BIOS and also added set hw.pci.do_power_nodriver to 3, but that also did not solved the 'battery' problem. The powerd daemon was of course running and worked ok. After compiling new x11/xorg (with WITH_NEW_XORG in /etc/make.conf) along with x11-wm/openbox I was able to get X11 working, but I can not go back to console as its not implemented yet. The screen is 100% bright all the time because acpi_ibm module probably does not support this model yet (changing the dev.acpi_ibm.0.lcd_brightness is pointless, no effects). Suspend and resume works very poor, after resume the resolution is 640x640 with all colors broken, requires restarting X11 in 'blind mode' (not implemented console switching). Of course as all of the above is not possible, using the Nvidia Optimus technology (graphics card switching) is probably also not possible, which is possible with Bumblebee on Linux, any plans on merging that functionality into FreeBSD? At least WiFi and LAN worked out of the box ... Now ... how can I help, what information can I provide to help resolve these issues: 1. disable power for discrete graphics card 2. have working screen brightness changing and working other Fn + X shotrcuts 3. I guess I will have to 'just wait' for the console switching implementation? ... or maybe I am doing it 'wrong' someone have W530 there and uses FreeBSD with any more degree of success then I? Regards, vermaden From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 00:30:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4DB3D9CC for ; Wed, 14 Aug 2013 00:30:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C52B320FB for ; Wed, 14 Aug 2013 00:30:17 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hr7so1321559wib.16 for ; Tue, 13 Aug 2013 17:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=G9PSRbCz31a/EOkBZU8mw0qBpqlNZtXF4q3GpAtLWTg=; b=WIQgM4cgOsW6+zU8N6nsr3p90g/Nf17pNhucNw2Wr2CB5SzdT5Bgy/vXhwgbygZyN2 G4PtqYLOuUW9R2WiHCJYijsf1gDMKpuRUhvN+uik0NRRId0lK9kBimI1M7xvHECbdWs0 7Z2vBZuRxVDnEUnJK8bzNZzMZ5UuCpxlDaEfiAgcdOzIZHUiFFzHs83VOXaTm4Ge12fv ziEuP8VEQPpUSvAXn6yYPRE2p+A1hB3LLIvamIGIWLB/wB6OdRiHLuUDLHQtM8cUtHSU CsVVg5RLQ7iNpqLktAkXM6ha165Ym/g1FyFNqSK8SDVWWNiYLM6X3P/866v1DLCsO4Rx EFpA== MIME-Version: 1.0 X-Received: by 10.180.8.42 with SMTP id o10mr43040wia.0.1376440216138; Tue, 13 Aug 2013 17:30:16 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.116.136 with HTTP; Tue, 13 Aug 2013 17:30:16 -0700 (PDT) In-Reply-To: References: Date: Tue, 13 Aug 2013 17:30:16 -0700 X-Google-Sender-Auth: dwsVzQS8mNRJVDdO2-6dxy-W9Ps Message-ID: Subject: Re: FreeBSD on ThinkPad W530 From: Adrian Chadd To: vermaden Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 00:30:18 -0000 Hi! Yay another FreeBSD laptop user! Please do this: * join the freebsd-mobile list; * create PRs for each of your problems with -10 above!; * the power utilisation thing is going to be fun to track down - what kind of CPU is in there? Is it a recent Intel? I'm playing around with their tools at the moment; maybe we can look at the power the CPU is consuming and then add on the power from each of the other parts in your laptop until we figure out what's drawing said power * the brightness thing is known; a bunch of us have this issue and the "fix" is known. Trouble is, there's no (yet) clean fix that's made it into acpi_ibm. I'm glad there's another person who cares; it means we have more chance of getting a real fix that works for multiple people into the tree. As for suspend/resume - I'm glad it at least works for you. Right now I don't even get video output upon resume. But, it's a starting point. Let's get the PRs filed, the brightness thing pushed into -HEAD, and then start down the path of figuring out where the power consumption is coming from. -adrian On 13 August 2013 15:21, vermaden wrote: > Hi, > > I have just tried FreeBSD on ThinkPad W530 and I must say that its very > disapointing experience ... > > The FreeBSD 9.2-RC1 and PC-BSD 9.2-BETA2 does not even boot from the USB > drive - instant kernel panic and reboot. > > The FreeBSD 10.0-CURRENT was able to boot successfully and I could install > FreeBSD onto the drive with 'ZFS Madnss' style. > > After installation with extended battery charged to 100% I have about 3 > hours of work ... while having about 10 hours on Windows (haven't tried > Linux yet). I disabled discrete graphics (Nvidia) in the BIOS and also > added set hw.pci.do_power_nodriver to 3, but that also did not solved the > 'battery' problem. The powerd daemon was of course running and worked ok. > > After compiling new x11/xorg (with WITH_NEW_XORG in /etc/make.conf) along > with x11-wm/openbox I was able to get X11 working, but I can not go back to > console as its not implemented yet. > > The screen is 100% bright all the time because acpi_ibm module probably > does not support this model yet (changing the dev.acpi_ibm.0.lcd_brightness > is pointless, no effects). > > Suspend and resume works very poor, after resume the resolution is 640x640 > with all colors broken, requires restarting X11 in 'blind mode' (not > implemented console switching). > > Of course as all of the above is not possible, using the Nvidia Optimus > technology (graphics card switching) is probably also not possible, which > is possible with Bumblebee on Linux, any plans on merging that > functionality into FreeBSD? > > At least WiFi and LAN worked out of the box ... > > Now ... how can I help, what information can I provide to help resolve > these issues: > 1. disable power for discrete graphics card > 2. have working screen brightness changing and working other Fn + X > shotrcuts > 3. I guess I will have to 'just wait' for the console switching > implementation? > > ... or maybe I am doing it 'wrong' someone have W530 there and uses > FreeBSD with any more degree of success then I? > > Regards, > vermaden > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 01:44:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8922C55F for ; Wed, 14 Aug 2013 01:44:58 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 52DD924B2 for ; Wed, 14 Aug 2013 01:44:58 +0000 (UTC) Received: by mail-ob0-f176.google.com with SMTP id uz19so11144397obc.21 for ; Tue, 13 Aug 2013 18:44:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xngXOfHab4T6Jo0Hm8iDLXQ2sYgidh4gy/CoZ/KTXUU=; b=AYeVOEbAbPI9kbHUQsgLyXkETv6iOpc/XzDvoZ/c3takYh+a9X3eNLteIJhjoVw/eI K0ozzB4Dva9N88YEu+znqAVLMw69Zv3A+1QEI+y/MCkq+qrgl5KZOEx5cv43ATUC1rx+ x6XpiI+fP4iqfJCdk7Z79ohFqCYegJILpUpuUyPJjKh475iPM/zQk8qMJ0WDPIgGIdRl rmuFyvn6jHnvc05OZpBW/RHFFK2Qd4BN8G1iOHkctHy50CN+jSmIa5us6Q365tk94zEN d2P3KgyUvj7Nt372SQCe6s7MsKSJ/t7WMUTudFuMcT9md8PxNVFexLcQ80eOXDsuENOj mdvw== X-Received: by 10.182.128.42 with SMTP id nl10mr12235589obb.41.1376444697656; Tue, 13 Aug 2013 18:44:57 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id n2sm43050906obo.6.2013.08.13.18.44.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 Aug 2013 18:44:56 -0700 (PDT) Subject: Re: SolarFlare 10GB card Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <20130812181253.GB73045@slackbox.erewhon.net> Date: Tue, 13 Aug 2013 18:44:54 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> <20130812181253.GB73045@slackbox.erewhon.net> To: Roland Smith X-Mailer: Apple Mail (2.1085) Cc: "freebsd-questions@freebsd.org questions" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 01:44:58 -0000 On Aug 12, 2013, at 11:12 AM, Roland Smith wrote: > On Mon, Aug 12, 2013 at 10:47:27AM -0700, aurfalien wrote: >> Hi all, >>=20 >> We've a brand spanking new SolarFlare 10GB nic for use with our beast = of a server. >>=20 >> However the vendor support page says the driver is in beta. >=20 > If you look in the download[1], you'll see that the driver is named = sfxge. It > was released in November 2011. This driver is already present in = FreeBSD 9.1, > look at the source in /usr/src/sys/dev/sfxge. > So it seems like it is as much out of beta as any other driver. :-) Well, how would I compile it?:) I can the dir in my 9.2RC1 install. - aurf= From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 02:14:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9A4FDEEA for ; Wed, 14 Aug 2013 02:14:01 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 62D4C2654 for ; Wed, 14 Aug 2013 02:14:01 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id xn12so9567597obc.20 for ; Tue, 13 Aug 2013 19:14:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=obwva2yeJGJg4HUKISWkNrOj/hguT7myU7j8Tk8PLvU=; b=wLXrIGnU/AMXYoRaacyoC+S253bkqwnQkQCAt+FnXQGPvneW2IgsJv4ZUAcTP5oafi kJycuDEapsk05ZE4gYK6WlGoObDxdr85BDY8bBA3EXQ23/cjtDr3zB8wxXfDFq79zRyD SCgdjvd/oy8SmR6xmklZwL/dgT9x5SVS+yEEXY8VuY1+R2zo1e2NNO089jgRQszmshb1 pViWuGeeDvuTrWaNDCQPelODd6BnK+wOHAtFUIGtE7qGgbWIhNJhyxsV+PvatNZLIBZH MbeYyfBBLD7ZKENtUN8R02JB/T0kGPN2kH3ZQElkrU9Sx8skEiwxov9yR9m8zN+fCFkx CiNQ== X-Received: by 10.182.148.8 with SMTP id to8mr18811753obb.17.1376446440656; Tue, 13 Aug 2013 19:14:00 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id d3sm11454854oek.5.2013.08.13.19.13.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 Aug 2013 19:13:59 -0700 (PDT) Subject: Re: SolarFlare 10GB card Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <20130812181253.GB73045@slackbox.erewhon.net> Date: Tue, 13 Aug 2013 19:13:57 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <9C271D6F-9B0E-47E1-88F0-0E582F221E00@gmail.com> References: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> <20130812181253.GB73045@slackbox.erewhon.net> To: Roland Smith X-Mailer: Apple Mail (2.1085) Cc: "freebsd-questions@freebsd.org questions" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 02:14:01 -0000 On Aug 12, 2013, at 11:12 AM, Roland Smith wrote: > On Mon, Aug 12, 2013 at 10:47:27AM -0700, aurfalien wrote: >> Hi all, >>=20 >> We've a brand spanking new SolarFlare 10GB nic for use with our beast = of a server. >>=20 >> However the vendor support page says the driver is in beta. >=20 > If you look in the download[1], you'll see that the driver is named = sfxge. It > was released in November 2011. This driver is already present in = FreeBSD 9.1, > look at the source in /usr/src/sys/dev/sfxge. > So it seems like it is as much out of beta as any other driver. :-) It was actually easier to dl the driver from SolarF;ares site and follow = there dirs. But for future, ref, would be cool to now how to do this. - aurf= From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 04:00:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3889E51F for ; Wed, 14 Aug 2013 04:00:07 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-oa0-x22c.google.com (mail-oa0-x22c.google.com [IPv6:2607:f8b0:4003:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 018222B90 for ; Wed, 14 Aug 2013 04:00:06 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id l20so12505184oag.17 for ; Tue, 13 Aug 2013 21:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=98y29rd/BGT3IfBwZZOK9rYAMqAG9pROpblarNGvZho=; b=vR5U6IPPf2qjGejwzMqwLFvHuar8MJs/v7h9YgGzZ9YKo/5EnGEIg90TcHgOO7sL2h +1Cix3yK1HX9AarWbdAPsDFPo9Hfx9KMPqdwAN4QSoVt7PQGb1mvk4sl1kI2oiS9dj91 eqVMLSx7kvzTeL6WwtfdZEuZiWEPrBejrcpUtIfJV3bbIOFhQE9PlMb3faTD9ktMJ/zY jHk1EBHlvTZbVqB1vT7eYdkaDZ9vQ3eRsL+lTXc7kT8KGxHtSaYbRFhl3p8KPmgDrhew Vk3+4AcT89nhVDOkRHW4k6koq2JkgRs+yhvNk/jTGBKo3EXAc2JN57+y8yLvxgZGtfTM 5/Rw== X-Received: by 10.182.71.38 with SMTP id r6mr4044521obu.64.1376452806223; Tue, 13 Aug 2013 21:00:06 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id xr8sm7607389obc.12.2013.08.13.21.00.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 Aug 2013 21:00:05 -0700 (PDT) Subject: Re: SolarFlare 10GB card Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <20130814033046.GA78932@neutralgood.org> Date: Tue, 13 Aug 2013 21:00:03 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <6676D791-1277-447A-81D8-ED99DEB05269@gmail.com> References: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> <20130812181253.GB73045@slackbox.erewhon.net> <9C271D6F-9B0E-47E1-88F0-0E582F221E00@gmail.com> <20130814033046.GA78932@neutralgood.org> To: kpneal@pobox.com X-Mailer: Apple Mail (2.1085) Cc: "freebsd-questions@freebsd.org questions" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 04:00:07 -0000 On Aug 13, 2013, at 8:30 PM, kpneal@pobox.com wrote: > On Tue, Aug 13, 2013 at 07:13:57PM -0700, aurfalien wrote: >>=20 >> On Aug 12, 2013, at 11:12 AM, Roland Smith wrote: >>=20 >>> On Mon, Aug 12, 2013 at 10:47:27AM -0700, aurfalien wrote: >>>> Hi all, >>>>=20 >>>> We've a brand spanking new SolarFlare 10GB nic for use with our = beast of a server. >>>>=20 >>>> However the vendor support page says the driver is in beta. >>>=20 >>> If you look in the download[1], you'll see that the driver is named = sfxge. It >>> was released in November 2011. This driver is already present in = FreeBSD 9.1, >>> look at the source in /usr/src/sys/dev/sfxge. >>> So it seems like it is as much out of beta as any other driver. :-) >>=20 >> It was actually easier to dl the driver from SolarF;ares site and = follow there dirs. >>=20 >> But for future, ref, would be cool to now how to do this. >=20 > I haven't been paying that much attention, but ... >=20 > If you are running 9.1 or later, what happens if you run as root these = two > commands: >=20 > # kldload if_sfxge > # kldstat Hi, Thanks for the reply. It fails as cannot find module. Eh, no biggy, building it from there actual source is trivial. - aurf= From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 08:29:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EDFB5549 for ; Wed, 14 Aug 2013 08:29:49 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id B731626DC for ; Wed, 14 Aug 2013 08:29:49 +0000 (UTC) Received: from Mail-PC.tdx.co.uk (storm.tdx.co.uk [62.13.130.251]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3/) with ESMTP id r7E8TeGe073038 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 14 Aug 2013 09:29:41 +0100 (BST) Date: Wed, 14 Aug 2013 09:29:39 +0100 From: Karl Pielorz To: freebsd-questions@freebsd.org Subject: jail.conf ignoring exec.fib? Message-ID: <98486B2D79D00F0898B7C9E6@Mail-PC.tdx.co.uk> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 08:29:50 -0000 I'm running 9.2-RC2 amd64 on a system, with a number of jails. The jails are setup using '/etc/jail.conf' - but the exec.fib in jail.conf seems to be being ignored? e.g. in /etc/jail.conf I have: " testjail { jid = 100; exec.fib = 1; <---- Set FIB 1 path = /usr2/jails/testjail; host.hostname = testjail.somedomain.com; ip4.addr = 192.168.0.40; mount.devfs; } " But if I run up that jail and connect to it, 'netstat -r -n' shows it's still using fib 0 (i.e. the default gateway is set). If before running the jail, I do 'setfib 1 route add default 192.186.0.90' - when the jail is run up, again - netstat within it still shows the systems default gateway, not the gateway from fib 1? -Karl From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 11:30:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 963A6DDE for ; Wed, 14 Aug 2013 11:30:04 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [IPv6:2a00:1450:400c:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 28B3F223F for ; Wed, 14 Aug 2013 11:30:04 +0000 (UTC) Received: by mail-we0-f175.google.com with SMTP id q58so5619911wes.34 for ; Wed, 14 Aug 2013 04:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=HDb8GcAurT3DeY3SorwLXhFYplLJYXpfvQlbZ/SpbBQ=; b=wMYz1X2x9VkkaSjqMK8Tq+ixsd2fL5s5uo74ACEPs8pCdh3nCicAz98ZK0jiRDTsON n2vsStNB+fBT4Vy0+Pb4WN1L2PDVuJ5gRRGXSesdKIBCZmHRgk0HgpOpzoCQKojAqm5S 5zwVpXjaTZo6nDmDG1WcryZGnEUa0fSrAUcFSknQoQa4B4W94Fwp9zrOjIioM/lIWPf/ CnIPrOxyIkaggqR2bvv2O75+klAhO0cFRrAOsGgazcwjo2iPDMBnEI2GeEjUt37Unbc5 2qa2TAQHxDp86DAH3V0PSc0my/QzYGEkFEWdkWtj59U/8d3cGGPgtHxavVlUoocXZbSL n2Lg== X-Received: by 10.180.189.9 with SMTP id ge9mr5784065wic.52.1376479802509; Wed, 14 Aug 2013 04:30:02 -0700 (PDT) Received: from [192.168.0.10] (58.33.91.91.rev.sfr.net. [91.91.33.58]) by mx.google.com with ESMTPSA id a8sm2396729wie.6.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 04:30:02 -0700 (PDT) Message-ID: <520B6A18.2060502@gmail.com> Date: Wed, 14 Aug 2013 13:29:28 +0200 From: David Demelier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130811 Thunderbird/17.0.8 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Subject: Re: sysvipc only for one jail References: <20130811173341.6d1cb2e7@arsenic> <20130811173630.24ed528c@arsenic> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Maciej Suszko , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 11:30:04 -0000 On 12.08.2013 19:46, Trond Endrestøl wrote: > On Mon, 12 Aug 2013 14:09+0200, Trond Endrestøl wrote: > >> On Mon, 12 Aug 2013 13:57+0200, David Demelier wrote: >> >>> 2013/8/12 Trond Endrestøl : >>>> On Mon, 12 Aug 2013 12:40+0200, David Demelier wrote: >>>> >>>>> 2013/8/11 Maciej Suszko : >>>>>> Maciej Suszko wrote: >>>>>> [...] >>>>>>> >>>>>>> You can specify different params for each jail using _parameters, for >>>>>>> example: >>>>>>> >>>>>>> jail_jailname_params="allow.chflags=1 allow.sysvipc=1" >>>>>> >>>>>> Sorry, my mistake - it should be jail_jailname_parameters= of course. >>>>>> -- >>>>>> regards, Maciej Suszko. >>>>> >>>>> Thanks for your message, >>>>> >>>>> However, I could not find this setting in the manual of rc.conf(5) >>>>> neither in /etc/rc.d/jail :(. It does not seems to be applied. >>>> >>>> Have a look at jail(8) and the last lines of /etc/default/rc.conf. >>> >>> I see, >>> >>> I've added what Maciej Suszko told me but the sysctls in the jail is >>> not set as it should be : >>> >>> security.jail.param.allow.sysvipc: 0 >>> security.jail.param.allow.chflags: 0 >>> >>> And thus, it's not enabled as postgresql tells: >>> >>> creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL: >>> could not create shared memory segment: Function not implemented >> >> I'll look into this by creating a new jail for PostgreSQL 9.2 when I >> get home. > > My host is running 9.2-PRERELEASE, r254150, in VirtualBox 4.2.16. > The jails are running world, also at r254150. > > I added the following to the host's /etc/rc.conf: > > jail_enable="YES" > jail_list="postgresql" > > jail_postgresql_rootdir="/jails/postgresql" > jail_postgresql_hostname="postgresql.bsd.net" > jail_postgresql_interface="vtnet0" > jail_postgresql_fib="0" > jail_postgresql_ip="10.0.2.103,2001:db8::103" > jail_postgresql_exec_start="/bin/sh /etc/rc" > jail_postgresql_exec_stop="/bin/sh /etc/rc.shutdown" > jail_postgresql_devfs_enable="YES" > jail_postgresql_parameters="enforce_statfs=1 allow.chflags=1 allow.sysvipc=1 allow.mount=1 allow.mount.zfs=1" > > I added the following to the host's /etc/jail.conf: > > postgresql { > path = /jails/postgresql; > enforce_statfs = 1; > allow.chflags; > allow.sysvipc; > allow.mount; > allow.mount.zfs; > mount.devfs; > host.hostname = postgresql.bsd.net; > ip4.addr = 10.0.2.103; > ip6.addr = 2001:db8::103; > interface = vtnet0; > exec.start = "/bin/sh /etc/rc"; > exec.stop = "/bin/sh /etc/rc.shutdown"; > } > > PostgreSQL 9.2.4 had no problems running initdb nor running postgres > inside the jail: > > root@freebsd-jails:/ # jexec 4 csh > root@postgresql:/ # /usr/local/etc/rc.d/postgresql status > pg_ctl: server is running (PID: 46623) > /usr/local/bin/postgres "-D" "/usr/local/pgsql/data" > root@postgresql:/ # > > If you start the jail manually using jail(8), then /etc/jail.conf > comes into play, whereas the lines in /etc/rc.conf is used during > automatic startup of the jails when the host is rebooted. The whole > arrangement seems unnecessary redundant, and I truly wish this can be > merged sooner rather than later. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I've updated to 9.2-RC1 and the _parameters did the trick, thanks! Cheers, From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 12:49:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 31FC357E for ; Wed, 14 Aug 2013 12:49:45 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0820F2886 for ; Wed, 14 Aug 2013 12:49:44 +0000 (UTC) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id DDEB720E0C for ; Wed, 14 Aug 2013 08:49:42 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute4.internal (MEProxy); Wed, 14 Aug 2013 08:49:42 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=2iEBGyRo+L7VhMZr9yu97Wf25h8=; b=alc ToTEU1eywg+tlcsAqZ6V1hnJWa+520K8BLJ6OpIhk+LxW1L7IzkjICpKu/+8le4L 5H8ZNr+Z+1WjG/eCjHB35rL4nVPBnFE+m9rKYvP90S5MIRvjzAFKam8yU6eKY5nM cvmp+joNtegVqAu0RSDUYSczx01HT3eYo9TEYVFg= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id C2A19B02387; Wed, 14 Aug 2013 08:49:42 -0400 (EDT) Message-Id: <1376484582.17688.9703091.6075DC96@webmail.messagingengine.com> X-Sasl-Enc: JI8Fuou5ebxHlI8NEmXn37XSp8OXNt1Eyj6p7XjXlFsP 1376484582 From: Mark Felder To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-d9f253bf In-Reply-To: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> References: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> Subject: Re: SolarFlare 10GB card Date: Wed, 14 Aug 2013 07:49:42 -0500 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 12:49:45 -0000 Don't use the driver on their website. It's very old. Use the driver that comes with FreeBSD 9.1 which you don't have to compile. Someone should ask them to remove the link on their website... From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 12:59:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 895E6949 for ; Wed, 14 Aug 2013 12:59:11 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mailch-3.name-services.com (mailch-3.name-services.com [98.124.252.185]) by mx1.freebsd.org (Postfix) with ESMTP id 735A92936 for ; Wed, 14 Aug 2013 12:59:11 +0000 (UTC) Received: from mailch.name-services.com (localhost [127.0.0.1]) by mailch.name-services.com (Postfix) with SMTP id B9CCD62CC5E; Wed, 14 Aug 2013 05:59:07 -0700 (PDT) X-Sender-Id: 173.88.196.224 Received: from mail-24.name-services.com (sjl0vwsmail09.prod.dm.local [10.7.17.59]) by 0.0.0.0:2500 (trex/4.8.23); Wed, 14 Aug 2013 12:59:07 GMT X-Pool-Id: 4 Received: from [10.0.10.1] (cpe-173-88-196-224.neo.res.rr.com [173.88.196.224]) by mail-24.name-services.com with SMTP; Wed, 14 Aug 2013 05:58:58 -0700 Message-ID: <520B7F0F.7020006@a1poweruser.com> Date: Wed, 14 Aug 2013 08:58:55 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Karl Pielorz Subject: Re: jail.conf ignoring exec.fib? References: <98486B2D79D00F0898B7C9E6@Mail-PC.tdx.co.uk> In-Reply-To: <98486B2D79D00F0898B7C9E6@Mail-PC.tdx.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 12:59:11 -0000 Karl Pielorz wrote: > > I'm running 9.2-RC2 amd64 on a system, with a number of jails. The jails > are setup using '/etc/jail.conf' - but the exec.fib in jail.conf seems > to be being ignored? > > e.g. in /etc/jail.conf I have: > > " > testjail { > jid = 100; > exec.fib = 1; <---- Set FIB 1 > path = /usr2/jails/testjail; > host.hostname = testjail.somedomain.com; > ip4.addr = 192.168.0.40; > mount.devfs; > } > " > > But if I run up that jail and connect to it, 'netstat -r -n' shows it's > still using fib 0 (i.e. the default gateway is set). > > If before running the jail, I do 'setfib 1 route add default > 192.186.0.90' - when the jail is run up, again - netstat within it still > shows the systems default gateway, not the gateway from fib 1? > > -Karl The jail(8) man page lacks details about how to use exec.fib. It requires either a new kernel (with "options ROUTETABLES=2" or however many you want), or a boot-time setting with "net.fibs=2" in /boot/loader.conf (requiring a reboot). setfib 1 route add default 198.192.64.21 creates routing table number 1 with that IP address. In this example exec.fib="1" would be coded. See setfib(8) and setfib(2) for details. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 13:41:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C485B61F; Wed, 14 Aug 2013 13:41:02 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.207]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 324C62BAB; Wed, 14 Aug 2013 13:41:01 +0000 (UTC) Date: Wed, 14 Aug 2013 15:40:58 +0200 From: vermaden Subject: Re: FreeBSD on ThinkPad W530 To: Adrian Chadd X-Mailer: interia.pl/pf09 In-Reply-To: References: X-Originating-IP: 84.39.173.245 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1376487659; bh=Is3r4xrNIrzk5fe10ymqLkfS60PN+RC3k1L1xoskrRs=; h=Date:From:Subject:To:Cc:X-Mailer:In-Reply-To:References: X-Originating-IP:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding; b=LEmeO1o7tM9I2p2M1XUwp34jETaAy1vTugiJbRoHWZOzTcQgQyYWTOE7UFQBFcIJ/ ro/XimAQ6S1SLIB9Q8XX7CjlIbhyIYw4qw8Ycse08P5CiK+uK4XPej2oKNAv8CTA85 ASMtSPElixg4+WgyGSMGrrmxsiC028t4BnmrUU8c= Cc: FreeBSD Questions , freebsd-mobile@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 13:41:02 -0000 Hi and thanks for reply ;) > Yay another FreeBSD laptop user! I use FreeBSD for dekstop/workstation for I do not remember how long: http://vermaden.deviantart.com/art/CorporateBSD-FreeBSD-at-Work-190680188 > Please do this: > * join the freebsd-mobile list;* create PRs for each of your problems with -10 above!; Here are created PRs: http://www.freebsd.org/cgi/query-pr.cgi?pr=181281 stack trace after successfull 'umount /mnt' (SDHC card mounted as msdosfs) http://www.freebsd.org/cgi/query-pr.cgi?pr=181282 3h of work on battery on FreeBSD while 10h on Windows http://www.freebsd.org/cgi/query-pr.cgi?pr=181283 acpi_ibm module is useless on ThinkPad W530 http://www.freebsd.org/cgi/query-pr.cgi?pr=181285 x11/xorg does not start if Nvidia Optimus is enabled on > * the power utilisation thing is going to be fun to track down - what kind of > CPU is in there? Is it a recent Intel? I'm playing around with their tools at the > moment; maybe we can look at the power the CPU is consuming and then > add on the power from each of the other parts in your laptop until we > figure out what's drawing said power > > * the brightness thing is known; a bunch of us have this issue and the "fix" > is known. Trouble is, there's no (yet) clean fix that's made it into acpi_ibm. > I'm glad there's another person who cares; it means we have more chance > of getting a real fix that works for multiple people into the tree. > > As for suspend/resume - I'm glad it at least works for you. Right now I > don't even get video output upon resume. But, it's a starting point. Let's > get the PRs filed, the brightness thing pushed into -HEAD, and then start > down the path of figuring out where the power consumption is coming > from. Here is the hardware information: Lenovo ThinkPad W530 cpu: Intel Core i7-3630QM (http://ark.intel.com/products/71459) (powerd works) ram: 16 GB DDR3 hdd: 256 GB SSD gfx: Intel HD 4000 (works with Optimus disabled in BIOS) gfx: Nvidia Quadro K2000 2 GB (works with Optimus disabled in BIOS) sdh: RICOH R5CE823 (SD/SDHC card reader works) wif: Intel Centrino Ultimate-N 6300 (works) The complete information (dmesg/dmidecode) is in the submitted PRs. Regards, vermaden | Hi, | | I have just tried FreeBSD on ThinkPad W530 and I must say that its very disapointing experience ... | | The FreeBSD 9.2-RC1 and PC-BSD 9.2-BETA2 does not even boot from the USB drive - instant kernel panic and reboot. | | The FreeBSD 10.0-CURRENT was able to boot successfully and I could install FreeBSD onto the drive with 'ZFS Madnss' style. | | After installation with extended battery charged to 100% I have about 3 hours of work ... while having about 10 hours on Windows (haven't tried Linux yet). I disabled discrete graphics (Nvidia) in the BIOS and also added set hw.pci.do_power_nodriver to 3, but that also did not solved the 'battery' problem. The powerd daemon was of course running and worked ok. | | After compiling new x11/xorg (with WITH_NEW_XORG in /etc/make.conf) along with x11-wm/openbox I was able to get X11 working, but I can not go back to console as its not implemented yet. | | The screen is 100% bright all the time because acpi_ibm module probably does not support this model yet (changing the dev.acpi_ibm.0.lcd_brightness is pointless, no effects). | | Suspend and resume works very poor, after resume the resolution is 640x640 with all colors broken, requires restarting X11 in 'blind mode' (not implemented console switching). | | Of course as all of the above is not possible, using the Nvidia Optimus technology (graphics card switching) is probably also not possible, which is possible with Bumblebee on Linux, any plans on merging that functionality into FreeBSD? | | At least WiFi and LAN worked out of the box ... | | | Now ... how can I help, what information can I provide to help resolve these issues: | | 1. disable power for discrete graphics card | 2. have working screen brightness changing and working other Fn + X shotrcuts | 3. I guess I will have to 'just wait' for the console switching implementation? | | ... or maybe I am doing it 'wrong' someone have W530 there and uses FreeBSD with any more degree of success then I? | | | Regards, | vermaden From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 13:41:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BEDD3624 for ; Wed, 14 Aug 2013 13:41:09 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8DC712BAF for ; Wed, 14 Aug 2013 13:41:09 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.2]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id r7EDRgcv087294 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 14 Aug 2013 08:27:42 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 14 Aug 2013 08:27:41 -0500 From: dweimer To: FreeBSD Questions Subject: ZFS Snapshots Not able to be accessed under .zfs/snapshot/name Organization: dweimer.net Mail-Reply-To: dweimer@dweimer.net Message-ID: <22a7343f4573d6faac5aec1d7c9a1135@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 13:41:09 -0000 I have a few systems running on ZFS with a backup script that creates snapshots, then backs up the .zfs/snapshot/name directory to make sure open files are not missed. This has been working great but all of the sudden one of my systems has stopped working. It takes the snapshots fine, zfs list -t spnapshot shows the snapshots, but if you do an ls command, on the .zfs/snapshot/ directory it returns not a directory. part of the zfs list output: NAME USED AVAIL REFER MOUNTPOINT zroot 4.48G 29.7G 31K none zroot/ROOT 2.92G 29.7G 31K none zroot/ROOT/91p5-20130812 2.92G 29.7G 2.92G legacy zroot/home 144K 29.7G 122K /home part of the zfs list -t snapshot output: NAME USED AVAIL REFER MOUNTPOINT zroot/ROOT/91p5-20130812@91p5-20130812--bsnap 340K - 2.92G - zroot/home@home--bsnap 22K - 122K - ls /.zfs/snapshot/91p5-20130812--bsnap/ Does work at the right now, since the last reboot, but wasn't always working, this is my boot environment. if I do ls /home/.zfs/snapshot/, result is: ls: /home/.zfs/snapshot/: Not a directory if I do ls /home/.zfs, result is: ls: snapshot: Bad file descriptor shares I have tried zpool scrub zroot, no errors were found, if I reboot the system I can get one good backup, then I start having problems. Anyone else ever ran into this, any suggestions as to a fix? System is running FreeBSD 9.1-RELEASE-p5 #1 r253764: Mon Jul 29 15:07:35 CDT 2013, zpool is running version 28, zfs is running version 5 -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 15:49:55 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CB027566 for ; Wed, 14 Aug 2013 15:49:55 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8B5732383 for ; Wed, 14 Aug 2013 15:49:55 +0000 (UTC) Received: from Mail-PC.tdx.co.uk (storm.tdx.co.uk [62.13.130.251]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3/) with ESMTP id r7EFnqYA007997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Aug 2013 16:49:52 +0100 (BST) Date: Wed, 14 Aug 2013 16:49:54 +0100 From: Karl Pielorz To: Fbsd8 Subject: Re: jail.conf ignoring exec.fib? Message-ID: <1960A5B02323B4982B4C0320@Mail-PC.tdx.co.uk> In-Reply-To: <520B7F0F.7020006@a1poweruser.com> References: <98486B2D79D00F0898B7C9E6@Mail-PC.tdx.co.uk> <520B7F0F.7020006@a1poweruser.com> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 15:49:55 -0000 --On 14 August 2013 08:58 -0400 Fbsd8 wrote: > The jail(8) man page lacks details about how to use exec.fib. > > It requires either a new kernel (with "options ROUTETABLES=2" or however > many you want), or a boot-time setting with "net.fibs=2" in > /boot/loader.conf (requiring a reboot). Yup, done that :) > setfib 1 route add default 198.192.64.21 > creates routing table number 1 with that IP address. > > In this example exec.fib="1" would be coded. > > See setfib(8) and setfib(2) for details. Yeah, I do that as well - but 'netstat -r -n' from within the jail shows the systems default routing table. As opposed to 'setfib 1 netstat -r -n' (outside the jail) which shows fib either has no default gateway, or the one I set (which is right). Just within the jail, it only every shows it's using the systems default routing table :( Fib's work fine outside the jail (i.e. I can show them, set differing default gateways) - but no matter what I do, the 'exec.fib=' line in jail.conf seems to be ignored, when the jail is run up - it only ever sees the default routing table :( -Karl From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 17:51:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7F69B680; Wed, 14 Aug 2013 17:51:02 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pb0-x22f.google.com (mail-pb0-x22f.google.com [IPv6:2607:f8b0:400e:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5367E2AA9; Wed, 14 Aug 2013 17:51:02 +0000 (UTC) Received: by mail-pb0-f47.google.com with SMTP id rr4so8643184pbb.34 for ; Wed, 14 Aug 2013 10:51:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=HftWcUkTCxRA8adeR8DAQK4d68PQYFiQXcvb3ULm+dE=; b=B5z5dXsU/A+s8cbOsYW03/a60gM/IdvBBybEKgjLoPhYK2Z9ls3DsDK0dkyvOCcO3m 6phfhdKWQOm5NJp0e5bboNSG9UzA2FL8LTuZC3k4IQ4//DuQmqUNys6v/TpEWx7rfqbA u4Lsr2qvMDYTHvTD0mbKo0JrijbynNBVd2u/ZTax2xNMDcR6Aj16h/b3t9RsHE0OWnff CVDUpuhDaDTWS2mELMwSdxqEPYPjxqJmlv2uPhTziNaJTgof2m4Mt09/yClrBYMq1xx+ 4Kt0CP1F4mIxdTxYoez/X7wJYP+VG4KgpdpUcldNc9gLggG6UkoCsnhxJLOHiwPuSII2 dhxw== X-Received: by 10.68.104.101 with SMTP id gd5mr11238933pbb.132.1376502662048; Wed, 14 Aug 2013 10:51:02 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id sz3sm51708463pbc.5.2013.08.14.10.51.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 10:51:01 -0700 (PDT) Subject: Re: SolarFlare 10GB card Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <1376484582.17688.9703091.6075DC96@webmail.messagingengine.com> Date: Wed, 14 Aug 2013 10:51:03 -0700 Content-Transfer-Encoding: 7bit Message-Id: <2B210667-47FA-4FB7-AAF6-DBD45FC2758B@gmail.com> References: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> <1376484582.17688.9703091.6075DC96@webmail.messagingengine.com> To: Mark Felder X-Mailer: Apple Mail (2.1085) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 17:51:02 -0000 On Aug 14, 2013, at 5:49 AM, Mark Felder wrote: > Don't use the driver on their website. It's very old. Use the driver > that comes with FreeBSD 9.1 which you don't have to compile. Yea, that driver sux actually. But how would I compile the driver in 9.2RC1 as I see the source is included? - aurf From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 18:34:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8F46C6C7 for ; Wed, 14 Aug 2013 18:34:08 +0000 (UTC) (envelope-from feld@freebsd.org) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 63A272D82 for ; Wed, 14 Aug 2013 18:34:08 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 6987E2160A; Wed, 14 Aug 2013 14:34:05 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Wed, 14 Aug 2013 14:34:05 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=NGlG8cZerp8MMo3KFGjWfN u8mv4=; b=S5PguBvPVFB+U1a6hZqklpk7AnzDDfEtPdAXmKGOSCoUGIV+BRHczP br5b74c9haqUQ/RnCuYr879oEVAX4QwWfGHPf6lgfjWTPNur0BXg2kY8RdglOA5B KXo8I1meDD9rczDDMQfiW20GTYu/jo3f7Pz6u/2n6uQpsV/ecT1eQ= X-Sasl-enc: BtXdRflKWGTFb9lGJPkvdQCaKuWmMpadrs4K9HBR2vJV 1376505245 Received: from tech304.office.supranet.net (unknown [66.170.8.18]) by mail.messagingengine.com (Postfix) with ESMTPA id 1152B68019F; Wed, 14 Aug 2013 14:34:05 -0400 (EDT) Date: Wed, 14 Aug 2013 13:34:03 -0500 From: Mark Felder To: aurfalien Subject: Re: SolarFlare 10GB card Message-ID: <20130814133403.18a832b7@tech304.office.supranet.net> In-Reply-To: <2B210667-47FA-4FB7-AAF6-DBD45FC2758B@gmail.com> References: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> <1376484582.17688.9703091.6075DC96@webmail.messagingengine.com> <2B210667-47FA-4FB7-AAF6-DBD45FC2758B@gmail.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 18:34:08 -0000 On Wed, 14 Aug 2013 10:51:03 -0700 aurfalien wrote: > > On Aug 14, 2013, at 5:49 AM, Mark Felder wrote: > > > Don't use the driver on their website. It's very old. Use the driver > > that comes with FreeBSD 9.1 which you don't have to compile. > > Yea, that driver sux actually. > > But how would I compile the driver in 9.2RC1 as I see the source is included? > > Why do you believe the driver in 9.1-RELEASE sucks? Do you have a specific issue? FYI, the driver in 9.1-RELEASE, upcoming 9.2-RELEASE, and even CURRENT are almost 100% identical: http://svnweb.freebsd.org/base/release/9.1.0/sys/dev/sfxge/ http://svnweb.freebsd.org/base/head/sys/dev/sfxge/ From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 18:48:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 51B75A29; Wed, 14 Aug 2013 18:48:58 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 189262E39; Wed, 14 Aug 2013 18:48:58 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id fa1so10449266pad.33 for ; Wed, 14 Aug 2013 11:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Q8TmGMcJvpr3pETZrnqnIS1ZM8k0FC2yvWrDf4sIsuY=; b=qkguO/rR3ujPQ0HFuhvdjfxoAtSeFSD3oD9CVhy4NoSxboD6IQ8eW873WOgSiv7E1j yNAbvE3z3tS/NXQCn4+TvvU+q720SOlO9KSFnvwdjs4hjHArZYajWF2zsb7dmcIKhn/q DDmAeLrrSOrD2DhkP3z567GVERIkLd19tgBdOoCyJ2K9lGmjNR818gZK/IcUxLX0ZgIJ hmkZx2Tyo8lT3GpjkdoeaRVhpvjtxY/8EkoAQ/qyzLxU/Qb0O85yHKfseml7eXtf0+JU FwsJoEEJYbayICPo9BGHducm5C0ziGviItuQoqm31opY566EWPC50/GGJbg8cPd3luLv yvkg== X-Received: by 10.68.59.98 with SMTP id y2mr11363885pbq.135.1376506137788; Wed, 14 Aug 2013 11:48:57 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id e7sm51962071pbc.11.2013.08.14.11.48.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 11:48:56 -0700 (PDT) Subject: Re: SolarFlare 10GB card Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <20130814133403.18a832b7@tech304.office.supranet.net> Date: Wed, 14 Aug 2013 11:48:52 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> <1376484582.17688.9703091.6075DC96@webmail.messagingengine.com> <2B210667-47FA-4FB7-AAF6-DBD45FC2758B@gmail.com> <20130814133403.18a832b7@tech304.office.supranet.net> To: Mark Felder X-Mailer: Apple Mail (2.1085) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 18:48:58 -0000 On Aug 14, 2013, at 11:34 AM, Mark Felder wrote: > On Wed, 14 Aug 2013 10:51:03 -0700 > aurfalien wrote: >=20 >>=20 >> On Aug 14, 2013, at 5:49 AM, Mark Felder wrote: >>=20 >>> Don't use the driver on their website. It's very old. Use the driver >>> that comes with FreeBSD 9.1 which you don't have to compile.=20 >>=20 >> Yea, that driver sux actually. >>=20 >> But how would I compile the driver in 9.2RC1 as I see the source is = included? >>=20 >>=20 >=20 > Why do you believe the driver in 9.1-RELEASE sucks? Do you have a > specific issue? I meant the driver off there site. I'm trying the one with 9.1 in a = few. Didn't meant to sound like a barney. Unsure why the SolarFlare driver is even up on there site, seems = unstable. - aurf= From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 18:56:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D9E35CC7 for ; Wed, 14 Aug 2013 18:56:19 +0000 (UTC) (envelope-from feld@freebsd.org) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AD4492EB6 for ; Wed, 14 Aug 2013 18:56:19 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id D4275207EA; Wed, 14 Aug 2013 14:56:18 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 14 Aug 2013 14:56:18 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=3ili8ABVc25B3s/1CeZDEN b3ZHM=; b=mwV4sMeCZ5BKqzWHXGk/vrp+Ksw63ObTWfCkQiucQSN5bW/tVs+SjA tmz/TM82KfEA8Vh0VMmCKMRwfobztow6+jzDz0ScTUgZsIehSlTh6DlvNOz6hYsK GMxbxWqzTkjJ7i4shJxSle9h1uYo/zRohCsOy6pxfAPhuWkP5mN9s= X-Sasl-enc: 7QNxhaf7lkATf1qxZt2dc18cO3qWwH5u1FkHZ72zAcMO 1376506578 Received: from tech304.office.supranet.net (unknown [66.170.8.18]) by mail.messagingengine.com (Postfix) with ESMTPA id 87F83C00E85; Wed, 14 Aug 2013 14:56:18 -0400 (EDT) Date: Wed, 14 Aug 2013 13:56:17 -0500 From: Mark Felder To: aurfalien Subject: Re: SolarFlare 10GB card Message-ID: <20130814135617.62c840de@tech304.office.supranet.net> In-Reply-To: References: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> <1376484582.17688.9703091.6075DC96@webmail.messagingengine.com> <2B210667-47FA-4FB7-AAF6-DBD45FC2758B@gmail.com> <20130814133403.18a832b7@tech304.office.supranet.net> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 18:56:19 -0000 On Wed, 14 Aug 2013 11:48:52 -0700 aurfalien wrote: > > On Aug 14, 2013, at 11:34 AM, Mark Felder wrote: > > > On Wed, 14 Aug 2013 10:51:03 -0700 > > aurfalien wrote: > > > >> > >> On Aug 14, 2013, at 5:49 AM, Mark Felder wrote: > >> > >>> Don't use the driver on their website. It's very old. Use the driver > >>> that comes with FreeBSD 9.1 which you don't have to compile. > >> > >> Yea, that driver sux actually. > >> > >> But how would I compile the driver in 9.2RC1 as I see the source is included? > >> > >> > > > > Why do you believe the driver in 9.1-RELEASE sucks? Do you have a > > specific issue? > > I meant the driver off there site. I'm trying the one with 9.1 in a few. > > Didn't meant to sound like a barney. > > Unsure why the SolarFlare driver is even up on there site, seems unstable. > > - aurf Ahhh, I see. You won't have to compile anything with FreeBSD 9.1 or later. Just boot up the OS and you'll see sfxge in the output of ifconfig. Enjoy! :) From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 19:06:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6CEB6F94; Wed, 14 Aug 2013 19:06:00 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pb0-x233.google.com (mail-pb0-x233.google.com [IPv6:2607:f8b0:400e:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3E9052F46; Wed, 14 Aug 2013 19:06:00 +0000 (UTC) Received: by mail-pb0-f51.google.com with SMTP id jt11so9667505pbb.24 for ; Wed, 14 Aug 2013 12:05:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8lJXWBVWds83wQmYMDcAkEcgpFcyVielsEGVKrAA6fQ=; b=whE4oqQ0Nu+VSXhS2xycX0gtpe69zY3q6Irhrd2xVGgPoBYmqnlY9tKbBuLDUgAy2Y wY4r0UsDrey36xebIzwF8oDgaKSe5E+p6brIw1qGyhKMpCz//fwYxO4EpYqsk02+ltqR sq3VTAWy2OHAGiGU7orU+P+R1QN7IisGsFQolkIkoKRfQea79wxa2GvaKNPRNN+TjDF/ Ce/Y3NWOvwpyKKdptUHy++mssoUzn+L5Gq5w06G1Q9YEy8nrdo+ahTXffHixUuLgOTov 2LviwD9YbmopfFH+zrhXJ1eq5PyUIXs6TQmhYQscscnE7gdimZNrP8VkpE7fCRfOAUWX 5zBw== X-Received: by 10.68.254.73 with SMTP id ag9mr11480593pbd.54.1376507159822; Wed, 14 Aug 2013 12:05:59 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id ut7sm20945266pbc.31.2013.08.14.12.05.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 12:05:58 -0700 (PDT) Subject: Re: SolarFlare 10GB card Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <20130814135617.62c840de@tech304.office.supranet.net> Date: Wed, 14 Aug 2013 12:05:56 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <9A1986CB-9EF0-4F4B-9B79-616332CD1FD5@gmail.com> References: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> <1376484582.17688.9703091.6075DC96@webmail.messagingengine.com> <2B210667-47FA-4FB7-AAF6-DBD45FC2758B@gmail.com> <20130814133403.18a832b7@tech304.office.supranet.net> <20130814135617.62c840de@tech304.office.supranet.net> To: Mark Felder X-Mailer: Apple Mail (2.1085) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 19:06:00 -0000 On Aug 14, 2013, at 11:56 AM, Mark Felder wrote: > On Wed, 14 Aug 2013 11:48:52 -0700 > aurfalien wrote: >=20 >>=20 >> On Aug 14, 2013, at 11:34 AM, Mark Felder wrote: >>=20 >>> On Wed, 14 Aug 2013 10:51:03 -0700 >>> aurfalien wrote: >>>=20 >>>>=20 >>>> On Aug 14, 2013, at 5:49 AM, Mark Felder wrote: >>>>=20 >>>>> Don't use the driver on their website. It's very old. Use the = driver >>>>> that comes with FreeBSD 9.1 which you don't have to compile.=20 >>>>=20 >>>> Yea, that driver sux actually. >>>>=20 >>>> But how would I compile the driver in 9.2RC1 as I see the source is = included? >>>>=20 >>>>=20 >>>=20 >>> Why do you believe the driver in 9.1-RELEASE sucks? Do you have a >>> specific issue? >>=20 >> I meant the driver off there site. I'm trying the one with 9.1 in a = few. >>=20 >> Didn't meant to sound like a barney. >>=20 >> Unsure why the SolarFlare driver is even up on there site, seems = unstable. >>=20 >> - aurf >=20 > Ahhh, I see.=20 >=20 > You won't have to compile anything with FreeBSD 9.1 or later. Just = boot > up the OS and you'll see sfxge in the output of ifconfig. Well my fine feathered friend, thats my dilemma. I do not see the SolarFlare via ifconfig. Now pciconf -l shows much stuff, even my built in 1Gb nics but not my = 10Gb Solars. I'm sure one of the many PCI devices is listed, but not as a SlarFlare, = but some generic device. Any guidance? - aurf From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 19:20:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 48074712 for ; Wed, 14 Aug 2013 19:20:12 +0000 (UTC) (envelope-from feld@freebsd.org) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1AB01208A for ; Wed, 14 Aug 2013 19:20:11 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 3BF5821467; Wed, 14 Aug 2013 15:20:11 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 14 Aug 2013 15:20:11 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=BGHK2HMPks6z+fv/f54nx/ MLi60=; b=V2zES4J89OiJ2O6TiU7rYlEjko94OgBJFHbNYtL3psNIiEQr8cb4sc jVne0kjOY8p4XyjZqeWLlgEwnDsTWWKExhUuYKlm8GHxDhp3jKEnILt7HcpwJS40 nDTDfLWsNa0pBdd6Yg9USkGdNR5Lj2Sg9f7bho6DtwFinePFjKXzo= X-Sasl-enc: Cxd+AkcETV/kTCXO/K3QBqcObMDhEyC0bqKOPeJyFLDn 1376508011 Received: from tech304.office.supranet.net (unknown [66.170.8.18]) by mail.messagingengine.com (Postfix) with ESMTPA id E6D3C68019F; Wed, 14 Aug 2013 15:20:10 -0400 (EDT) Date: Wed, 14 Aug 2013 14:20:09 -0500 From: Mark Felder To: aurfalien Subject: Re: SolarFlare 10GB card Message-ID: <20130814142009.1684d1db@tech304.office.supranet.net> In-Reply-To: <9A1986CB-9EF0-4F4B-9B79-616332CD1FD5@gmail.com> References: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> <1376484582.17688.9703091.6075DC96@webmail.messagingengine.com> <2B210667-47FA-4FB7-AAF6-DBD45FC2758B@gmail.com> <20130814133403.18a832b7@tech304.office.supranet.net> <20130814135617.62c840de@tech304.office.supranet.net> <9A1986CB-9EF0-4F4B-9B79-616332CD1FD5@gmail.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 19:20:12 -0000 On Wed, 14 Aug 2013 12:05:56 -0700 aurfalien wrote: > > Well my fine feathered friend, thats my dilemma. > > I do not see the SolarFlare via ifconfig. > > Now pciconf -l shows much stuff, even my built in 1Gb nics but not my 10Gb Solars. > > I'm sure one of the many PCI devices is listed, but not as a SlarFlare, but some generic device. > > Any guidance? > > - aurf > > Just logged into the only Solarflare box I have access to -- /boot/loader.conf has sfxge_load="YES" So on a running system you'll have to # kldload sfxge And my pciconf -l has these entries: > sfxge0@pci0:6:0:0: class=0x020000 card=0x71041924 chip=0x08131924 rev=0x00 hdr=0x00 > sfxge1@pci0:6:0:1: class=0x020000 card=0x71041924 chip=0x08131924 rev=0x00 hdr=0x00 From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 19:31:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 25DF6922; Wed, 14 Aug 2013 19:31:44 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pd0-x22c.google.com (mail-pd0-x22c.google.com [IPv6:2607:f8b0:400e:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EB6B22111; Wed, 14 Aug 2013 19:31:43 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id z10so6848112pdj.3 for ; Wed, 14 Aug 2013 12:31:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=YNbeZSZgQXhDowzyH2YfMTfg87IdM/SGTDRsqUKlDXQ=; b=UbJrzRj75yNzlQhXjrolIGkIL0S0MbkjA1bbEECJDyzn/kexNYohp5TSBB75aZcgfJ wMDJVbQgT8LDM6QSDxF+QaYKnULCGuRO8Ef4slnj++jU5Yn12g7KRNL6l7mMqbw28YdB 1eipsCrnDD3LdinKPMlzJTuG/me0MgOoOgdoR3HZXD+WEEbIAM32WwBsxOG42uBHdPZd FSeY7d9/gQAbvciQNN178PaN7CfnDYFpW+T2OL/Gy8MbUUCUFLmPhUzLia92cIv4lV2O ebCAwPIyyfr56fRhzfvJ3M6StJ7h520uxkZofywtmXDJnoOrFZ9bmbJcmaq5maNVc7RX r6Hw== X-Received: by 10.68.166.229 with SMTP id zj5mr11571178pbb.91.1376508703675; Wed, 14 Aug 2013 12:31:43 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id wr9sm52148610pbc.7.2013.08.14.12.31.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 12:31:42 -0700 (PDT) Subject: Re: SolarFlare 10GB card Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <20130814142009.1684d1db@tech304.office.supranet.net> Date: Wed, 14 Aug 2013 12:31:40 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <5D2645AB-44FE-4360-A19A-F48F850160DF@gmail.com> References: <82661969-647C-4064-BB7A-76293C655CDC@gmail.com> <1376484582.17688.9703091.6075DC96@webmail.messagingengine.com> <2B210667-47FA-4FB7-AAF6-DBD45FC2758B@gmail.com> <20130814133403.18a832b7@tech304.office.supranet.net> <20130814135617.62c840de@tech304.office.supranet.net> <9A1986CB-9EF0-4F4B-9B79-616332CD1FD5@gmail.com> <20130814142009.1684d1db@tech304.office.supranet.net> To: Mark Felder X-Mailer: Apple Mail (2.1085) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 19:31:44 -0000 On Aug 14, 2013, at 12:20 PM, Mark Felder wrote: > On Wed, 14 Aug 2013 12:05:56 -0700 > aurfalien wrote: >=20 >>=20 >> Well my fine feathered friend, thats my dilemma. >>=20 >> I do not see the SolarFlare via ifconfig. >>=20 >> Now pciconf -l shows much stuff, even my built in 1Gb nics but not my = 10Gb Solars. >>=20 >> I'm sure one of the many PCI devices is listed, but not as a = SlarFlare, but some generic device. >>=20 >> Any guidance? >>=20 >> - aurf >>=20 >>=20 >=20 > Just logged into the only Solarflare box I have access to -- >=20 > /boot/loader.conf has >=20 > sfxge_load=3D"YES" >=20 >=20 > So on a running system you'll have to >=20 > # kldload sfxge >=20 > And my pciconf -l has these entries: >=20 >> sfxge0@pci0:6:0:0: class=3D0x020000 card=3D0x71041924 = chip=3D0x08131924 rev=3D0x00 hdr=3D0x00 >> sfxge1@pci0:6:0:1: class=3D0x020000 card=3D0x71041924 = chip=3D0x08131924 rev=3D0x00 hdr=3D0x00 Bingo! Still getting used to loader.conf, thanks man! - aurf= From owner-freebsd-questions@FreeBSD.ORG Wed Aug 14 23:00:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 25701AAD for ; Wed, 14 Aug 2013 23:00:32 +0000 (UTC) (envelope-from vagabond@blackfoot.net) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DB4442D36 for ; Wed, 14 Aug 2013 23:00:31 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id r7EN0Fs5053443 for ; Wed, 14 Aug 2013 17:00:18 -0600 (MDT) (envelope-from vagabond@blackfoot.net) Message-ID: <520C0BFF.1020506@blackfoot.net> Date: Wed, 14 Aug 2013 17:00:15 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130730 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: AMD Phenom II X4 temperature issues (was Re: hardware monitor) References: <51FEBE38.2000202@blackfoot.net> <20130804231548.dbb1fd2e.freebsd@edvax.de> <51FEE23D.3020402@blackfoot.net> In-Reply-To: <51FEE23D.3020402@blackfoot.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Wed, 14 Aug 2013 17:00:18 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 23:00:32 -0000 On 08/04/13 17:22, Gary Aitken wrote: > Ok, so now I see that my cpu temperature shoots up pretty dang fast when a > build is going on. > > I'm running an AMD Phenom II X4 with the AMD-supplied fan in an > ASUS M4A89TD PRO / USB3 motherboard. > > The system "works fine" unless I start a cpu-intensive build. > If I leave it unattended, after some time the system shuts down abruptly. > I'm guessing it's because of excessive cpu temperatures. > > When doing port builds, or any cpu-intensive job, the temperature of the > CPU goes from 45 to 50 in about 30 seconds. > > I pretty much have to manually suspend and resume the build process > to keep it down. If I do that, I avoid the abrupt shutdown. > > Needless to say, this makes unattended operation a non-starter... > > Does anyone else have a similar setup they can provide me some related > experience on? > > Thanks, > > Gary Thanks, all, for the replies and insights. Just a followup: The factory heatsink was basically incapable of keeping the temp down under a heavy-processing port build, and BIOS was shutting down when the temp eventually climbed too high. xmbmon was my friend for tracking this; using s and q on the output stream of the build effectively suspended it when it got around 60C so I could wait until the processor cooled down enough to continue. Doing a sync every second or so also postponed the eventual overheating for a while, but eventually it would creep up to the shutdown point. Replacing the heatsink with a gonzo big one seems to have solved the problem. As an aside, this is probably what also made me think some time ago that my SSD was flaky. Things just ran faster so the cpu overheated sooner. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 02:43:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 65AC51F0 for ; Thu, 15 Aug 2013 02:43:51 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:5]) by mx1.freebsd.org (Postfix) with ESMTP id ECD942C07 for ; Thu, 15 Aug 2013 02:43:48 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail05.adl6.internode.on.net with ESMTP; 15 Aug 2013 12:13:46 +0930 Message-ID: <520C405A.6000408@ShaneWare.Biz> Date: Thu, 15 Aug 2013 12:13:38 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: dweimer@dweimer.net Subject: Re: ZFS Snapshots Not able to be accessed under .zfs/snapshot/name References: <22a7343f4573d6faac5aec1d7c9a1135@dweimer.net> In-Reply-To: <22a7343f4573d6faac5aec1d7c9a1135@dweimer.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 02:43:51 -0000 On 14/08/2013 22:57, dweimer wrote: > I have a few systems running on ZFS with a backup script that creates > snapshots, then backs up the .zfs/snapshot/name directory to make sure > open files are not missed. This has been working great but all of the > sudden one of my systems has stopped working. It takes the snapshots > fine, zfs list -t spnapshot shows the snapshots, but if you do an ls > command, on the .zfs/snapshot/ directory it returns not a directory. > > part of the zfs list output: > > NAME USED AVAIL REFER MOUNTPOINT > zroot 4.48G 29.7G 31K none > zroot/ROOT 2.92G 29.7G 31K none > zroot/ROOT/91p5-20130812 2.92G 29.7G 2.92G legacy > zroot/home 144K 29.7G 122K /home > > part of the zfs list -t snapshot output: > > NAME USED AVAIL REFER > MOUNTPOINT > zroot/ROOT/91p5-20130812@91p5-20130812--bsnap 340K - 2.92G - > zroot/home@home--bsnap 22K - 122K - > > ls /.zfs/snapshot/91p5-20130812--bsnap/ > Does work at the right now, since the last reboot, but wasn't always > working, this is my boot environment. > > if I do ls /home/.zfs/snapshot/, result is: > ls: /home/.zfs/snapshot/: Not a directory > > if I do ls /home/.zfs, result is: > ls: snapshot: Bad file descriptor > shares > > I have tried zpool scrub zroot, no errors were found, if I reboot the > system I can get one good backup, then I start having problems. Anyone > else ever ran into this, any suggestions as to a fix? > > System is running FreeBSD 9.1-RELEASE-p5 #1 r253764: Mon Jul 29 15:07:35 > CDT 2013, zpool is running version 28, zfs is running version 5 > I can say I've had this problem. Not certain what fixed it. I do remember I decided to stop snapshoting if I couldn't access them and deleted existing snapshots. I later restarted the machine before I went back for another look and they were working. So my guess is a restart without existing snapshots may be the key. Now if only we could find out what started the issue so we can stop it happening again. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 05:29:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9A3F8836 for ; Thu, 15 Aug 2013 05:29:18 +0000 (UTC) (envelope-from mail@reflextechnologies.co.ke) Received: from outbound-03.safaricombusiness.co.ke (outbound-03.safaricombusiness.co.ke [41.203.208.12]) by mx1.freebsd.org (Postfix) with ESMTP id DB99B23DE for ; Thu, 15 Aug 2013 05:29:15 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlkLAK1mDFIpy9CKcWdsb2JhbABbBoI8eapkPBgeJYMPhCKMRR6BARYOAQwIDgcUKIIJVAEDGCMdCmESDyUHBRAMBIUogkUOmSeGfJlFiFGGMoFcDoN8A4knhRZGhEmVCYN/OTKBAw X-IPAS-Result: AlkLAK1mDFIpy9CKcWdsb2JhbABbBoI8eapkPBgeJYMPhCKMRR6BARYOAQwIDgcUKIIJVAEDGCMdCmESDyUHBRAMBIUogkUOmSeGfJlFiFGGMoFcDoN8A4knhRZGhEmVCYN/OTKBAw X-IronPort-AV: E=Sophos;i="4.89,882,1367960400"; d="scan'208,217";a="291460138" Received: from 3g-relay-01.safaricombusiness.co.ke ([41.203.208.138]) by smtp01.safaricombusiness.co.ke with ESMTP; 15 Aug 2013 08:28:02 +0300 Message-ID: <032fb76c-41501-40fc3527432639@user-pc> From: "CISSAP KENYA" To: freebsd-questions@freebsd.org Subject: Professionally Drafted Business Contracts & Legal Document Templates. Date: Thu, 15 Aug 2013 08:27:57 +0300 X-Priority: 3 X-Mailer: Lotus Mailer 10.0 X-MimeOLE: Lotus Mailer 10.0 MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: CISSAP KENYA List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 05:29:18 -0000 Companies use documents to communicate, transact business and analyze productivity. Since documents provide proof of an organizations dealings and may be referred to for years to come, it is important that they be well written. We provide you with business documents of almost every kind. With over 1200 business documents that are well written, you will find them very useful. To view the complete list of documents that we have, Please go to [1]http://www.cissap.com/document-list.htm The costs for all the 1200 business documents templates is Kshs 2,000.00 For payments please go to [2]http://www.cissap.com/pricing.htm CISSAP portfolio of business document templates contains a wide selection of business contract templates, agreements, forms, policies, statements and letters. Find documents for almost every kind of business such as purchase orders, partnership agreements, loan agreements, applications, and bill of sale. For the price of a single document, you get hundreds business documents templates, 24/7. Professionally drafted and simple to use and edit, these business contracts and legal templates are an essential, quality and affordable resource for any business or organization. Regards, Moses M. Ndivo 0721-351344 Note:- Though this is not an automated email, we keep on sending out these emails to all those people whom we find eligible of using our services. To unsubscribe from future mails (i.e., to ensure that we do not contact you again for this matter), please go to [3]http://www.cissap.com/unsubscribe.htm References 1. http://www.cissap.com/document-list.htm 2. http://www.cissap.com/pricing.htm 3. http://www.cissap.com/unsubscribe.htm From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 11:19:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8AFCBE97 for ; Thu, 15 Aug 2013 11:19:37 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2568327C7 for ; Thu, 15 Aug 2013 11:19:36 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id b13so453376wgh.7 for ; Thu, 15 Aug 2013 04:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=zdNh7Za+ZSsDrzifXrRQpZ4r62D/4kAEFqi1cY3lc1s=; b=lKlDsebWghFs5k7Wy3MMl62wF6SBC4KDFzQoRuIqRGxXXZEqeB8rqIFxKoqfC0sgEk Fw/2VRlPhQMdVr3QEuAlZW/Lan+YNibHfD2Ki+rk+x4/1zfXgi/FuGiEmoEfLj8usWW2 DcUueZo8KjFwJiQxgrNuMYkg9vQvbFqVcmo/FGmJSdXYJ+YYYw4r9atQmE1W4K3WcqIg +cWWpR8rniIY9hJ8gcIh9X8cAjfoSFG1qk5kC/NdGrh06bRt7QaImtPfVvJKadVt4HCt EzVb+qqOmnixvpgHSN0RiapVw6Q5wSuHbobEXmDnHSWZmKnc5DZoeKlutzom9eLn3qag AlgQ== MIME-Version: 1.0 X-Received: by 10.194.170.131 with SMTP id am3mr42747wjc.83.1376565575315; Thu, 15 Aug 2013 04:19:35 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.194.54.35 with HTTP; Thu, 15 Aug 2013 04:19:35 -0700 (PDT) Date: Thu, 15 Aug 2013 18:19:35 +0700 X-Google-Sender-Auth: W-DGSPUSt1tbX6Jpn1mS6Ewde40 Message-ID: Subject: High availability on remote site From: Olivier Nicole To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 11:19:37 -0000 Hi, I have been assigned to offer HA on a 3 tiers architecture. Data storage tier will be MySQL, so replication is easy. HA should be implemented only on the Data storage tier, Active/Active, but one of the sites is remote! When everything is working, each application accesses the local MySQL tier, but when the local MySQL becomes unavailable, it should be able to automatically move to the other database server. I have no access to the application, so I cannot modify it to test if local MySQL is working. So I should have an HA mechanism that enforces changing the IP address on the database server. If both servers are installed at different places, with different addresses, would there be a way beside establishing an IP tunnel/VPN between both places to have all machines in a single subnet? An image is here http://www.cs.ait.ac.th/~on/HA.gif I am really bothered by the IP tunnel, but that's the only way I see to keep HA. Any idea welcome. best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 12:16:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 041EE471 for ; Thu, 15 Aug 2013 12:16:18 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 77A922B87 for ; Thu, 15 Aug 2013 12:16:17 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r7FCG22S067145 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 15 Aug 2013 13:16:08 +0100 (BST) (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r7FCG22S067145 Authentication-Results: smtp.infracaninophile.co.uk/r7FCG22S067145; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <520CC681.2080708@freebsd.org> Date: Thu, 15 Aug 2013 13:16:01 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: High availability on remote site References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 12:16:18 -0000 On 15/08/2013 12:19, Olivier Nicole wrote: > I have been assigned to offer HA on a 3 tiers architecture. > > Data storage tier will be MySQL, so replication is easy. > > HA should be implemented only on the Data storage tier, Active/Active, > but one of the sites is remote! > > When everything is working, each application accesses the local MySQL > tier, but when the local MySQL becomes unavailable, it should be able > to automatically move to the other database server. > > I have no access to the application, so I cannot modify it to test if > local MySQL is working. So I should have an HA mechanism that enforces > changing the IP address on the database server. > > If both servers are installed at different places, with different > addresses, would there be a way beside establishing an IP tunnel/VPN > between both places to have all machines in a single subnet? > > An image is here http://www.cs.ait.ac.th/~on/HA.gif > > I am really bothered by the IP tunnel, but that's the only way I see to keep HA. > > Any idea welcome. Depending on the technology use in you middle layer, it may be quite simple. Some application languages, eg Java allow you to specify a list of servers in a DB connection string. The server names will be tried in order until a successful connection is made. Other languages may provide a similar facility, or it should be pretty easy to code up with minimal intervention in your codebase required. Cheers, Matthew From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 12:16:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5C208500 for ; Thu, 15 Aug 2013 12:16:45 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog107.obsmtp.com (eu1sys200aog107.obsmtp.com [207.126.144.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B21CC2B90 for ; Thu, 15 Aug 2013 12:16:44 +0000 (UTC) Received: from mail-ee0-f49.google.com ([74.125.83.49]) (using TLSv1) by eu1sys200aob107.postini.com ([207.126.147.11]) with SMTP ID DSNKUgzGjfy8qFs7rbyi0o6j58kQ/FQdwdRu@postini.com; Thu, 15 Aug 2013 12:16:44 UTC Received: by mail-ee0-f49.google.com with SMTP id d41so327440eek.36 for ; Thu, 15 Aug 2013 05:16:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:sender:date:from:message-id:to:subject:reply-to; bh=RReI78lSvzNr7/MdJnMRSq+qeivwr6qpolufnOve7tk=; b=RGlcph8gkW/6hBEdJ8VC0eVSpZkplnHidiIFhHG7KMgOw4evL5H5ozOKfT/h08nUly IFNhPvZwzfSwmB/K3HFlY8ouU3EGNorp84Pu43oowVP6BAwe40SZgzGAsCQ7robedCEO 7SjI1Pc63o6zstwdaaJLB4d5agNqBvLQRKUPPFmaCn7QvVDkqFv919aXEZFfyboVoasN +S5nrPlu72cKFnc0M5cdHFNYxbdLQxq5tp9AiHTk/TSWiarIkDBkedVCujZhsq+Bh0Mj sLM2rKEmeBAsdx/qsCjoYAjL68tiqRge9kZppiNjU5sEAvphzjhX2y0VbRx653bUG2P/ AtOQ== X-Gm-Message-State: ALoCoQme+PXg7FS9Jeky3gU6QcdqannmABfJGj5aDyhzD55/Y4iPfAxUxZICGLkgow/fXib1J9zkNcWVJj3py5gpYSG1bX9zcDUgAODHKhm5HW77TzxN47fpKHZlkSed3tFLflIMxEdpJbKpzNRAw3gLQnL3tbDMOjJivgHNo2bDBSDYiTw1IjSyrkd/b4y3T28Ql0Jb3nMa X-Received: by 10.14.149.3 with SMTP id w3mr394911eej.84.1376568973382; Thu, 15 Aug 2013 05:16:13 -0700 (PDT) X-Received: by 10.14.149.3 with SMTP id w3mr394906eej.84.1376568973323; Thu, 15 Aug 2013 05:16:13 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id m54sm84026393eex.2.2013.08.15.05.16.11 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 05:16:12 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r7FCGAx4082291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 15 Aug 2013 13:16:10 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r7FCG93K082285 for freebsd-questions@freebsd.org; Thu, 15 Aug 2013 13:16:09 +0100 (BST) (envelope-from mexas) Date: Thu, 15 Aug 2013 13:16:09 +0100 (BST) From: Anton Shterenlikht Message-Id: <201308151216.r7FCG93K082285@mech-cluster241.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: where to start with PGP/GPG? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 12:16:45 -0000 I never needed to use pgp till now. So I'm not sure where to start. Is security/gnupg the way to go? Any other advice? Thanks Anton From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 12:18:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0EE205B5 for ; Thu, 15 Aug 2013 12:18:45 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D71242BB2 for ; Thu, 15 Aug 2013 12:18:44 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 0D4BF21266 for ; Thu, 15 Aug 2013 08:18:42 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 15 Aug 2013 08:18:42 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=3J0q17Uabv42qva/ULR7YZ EltoA=; b=Gen2KXnfnTEELRD957F1yOMkEP8whrzYFTL+L2iYroRwwIqx5oU0D/ 3QiF9rTi7pY3Ab4e6wvC1xpY881FfmGoqiPqgvxSClfiaNabwGqnsyah1ziRE8g1 5HPdCrlUMGMbaGqqxZMI3cjh1ERNi5BtjTIytxrKNvQyWdjkxcHPI= X-Sasl-enc: vw5s3UpynM9+FHarmaHyBu17kNnAnzpnM2q2xwoz105K 1376569121 Received: from tech304.office.supranet.net (unknown [66.170.8.18]) by mail.messagingengine.com (Postfix) with ESMTPA id C61866800C4 for ; Thu, 15 Aug 2013 08:18:41 -0400 (EDT) Date: Thu, 15 Aug 2013 07:18:40 -0500 From: Mark Felder In-Reply-To: References: X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 12:18:45 -0000 On Thu, 15 Aug 2013 18:19:35 +0700 Olivier Nicole wrote: > Hi, > > I have been assigned to offer HA on a 3 tiers architecture. > > Data storage tier will be MySQL, so replication is easy. > Keep in mind that MySQL replication has plenty of its own issues. It does not replicate every SQL command to the slave. Guaranteeing that data on both servers is identical is also a very tricky process. You might want to first browse through the sections here to get an idea: http://dev.mysql.com/doc/refman/5.5/en/replication-features.html > HA should be implemented only on the Data storage tier, Active/Active, > but one of the sites is remote! > > When everything is working, each application accesses the local MySQL > tier, but when the local MySQL becomes unavailable, it should be able > to automatically move to the other database server. > > I have no access to the application, so I cannot modify it to test if > local MySQL is working. So I should have an HA mechanism that enforces > changing the IP address on the database server. > This is easy. Use HAProxy. It can test to see if your local MySQL instance is up and running and if it detects it is not it will automatically pass connections to the remote site's MySQL server. > If both servers are installed at different places, with different > addresses, would there be a way beside establishing an IP tunnel/VPN > between both places to have all machines in a single subnet? > This seems unnecessary. Why do you need them to be on the same subnet? > An image is here http://www.cs.ait.ac.th/~on/HA.gif > > I am really bothered by the IP tunnel, but that's the only way I see to keep HA. > Hopefully I've answered this question for you and you see that you shouldn't need these to be on the same subnet. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 12:25:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 15B8190D for ; Thu, 15 Aug 2013 12:25:41 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 97C5E2C1E for ; Thu, 15 Aug 2013 12:25:40 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r7FCPXVi046817 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 Aug 2013 14:25:33 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r7FCPXbf046814; Thu, 15 Aug 2013 14:25:33 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Thu, 15 Aug 2013 14:25:33 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Anton Shterenlikht Subject: Re: where to start with PGP/GPG? In-Reply-To: <201308151216.r7FCG93K082285@mech-cluster241.men.bris.ac.uk> Message-ID: References: <201308151216.r7FCG93K082285@mech-cluster241.men.bris.ac.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-262410330-1376569533=:90799" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 12:25:41 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-262410330-1376569533=:90799 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Thu, 15 Aug 2013 13:16+0100, Anton Shterenlikht wrote: > I never needed to use pgp till now. > So I'm not sure where to start. > Is security/gnupg the way to go? > Any other advice? Consider the use of security/pinentry for entering passphrases. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-262410330-1376569533=:90799-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 12:35:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 64451B37 for ; Thu, 15 Aug 2013 12:35:36 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog125.obsmtp.com (eu1sys200aog125.obsmtp.com [207.126.144.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B7B0D2CAD for ; Thu, 15 Aug 2013 12:35:35 +0000 (UTC) Received: from mail-ee0-f52.google.com ([74.125.83.52]) (using TLSv1) by eu1sys200aob125.postini.com ([207.126.147.11]) with SMTP ID DSNKUgzLEJtkUtWVSCDiNeYQ96yjlpHSbxn3@postini.com; Thu, 15 Aug 2013 12:35:35 UTC Received: by mail-ee0-f52.google.com with SMTP id c41so333714eek.25 for ; Thu, 15 Aug 2013 05:35:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:sender:date:from:message-id:to:subject:cc :reply-to:in-reply-to; bh=jw7uRgiGF5Ck4/uhd7mQUUAIR+hk14MDwHo1niTORwg=; b=aTFIhCfD4L0/+ocVbMJTFx38D77ylg09dzuQXeWWJ714KezGfcPtzAIddgRwHcaKIu dOFDP4DfNSKXss7B09IqSLXI6y+rAXdn1WSAZn8SO4YffORPQpn+8hlEO8mvcL4z8YvX PGdGvkuQPR+Li06zzUjTVWC7chJbI6chws4fmyWgD7zBBKGrh6fA1vGtwFe1DBGcfTqT CsahiXRQ7nt9bFXT2SztVI98tku4WOrWZGywfZuN6EFA3v3cnizhLv7wykh7IiKOsObX UuKcWLiL9n7IKc76Nc/xOazAujx2UFJikdftX5SVfge/p7nmPjprysKHI+ZRhjcHw76k kreQ== X-Gm-Message-State: ALoCoQn3eUr89qKEy+7eeNzLQ6mtEAuP7nJwZPNkqItnd+rUpVevJFwZWeyiixnnRYl2ezNdYXle1TBVz4ajJCGgsAyqPv5noa/4cxPn/pt6R3DCuaxAAuSWAESEfG/QwYsJQ6zJZhXZDwT6MblqLe+74C0jJXGC/6PCcOejMNysOA4bRLDXo/PuB5vBLq6ILGQhxQWLM1KP X-Received: by 10.14.207.4 with SMTP id m4mr3652793eeo.61.1376570128322; Thu, 15 Aug 2013 05:35:28 -0700 (PDT) X-Received: by 10.14.207.4 with SMTP id m4mr3652786eeo.61.1376570128252; Thu, 15 Aug 2013 05:35:28 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id d8sm70979743eeh.8.2013.08.15.05.35.26 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 05:35:27 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r7FCZPt4097110 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 15 Aug 2013 13:35:25 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r7FCZPhI097109; Thu, 15 Aug 2013 13:35:25 +0100 (BST) (envelope-from mexas) Date: Thu, 15 Aug 2013 13:35:25 +0100 (BST) From: Anton Shterenlikht Message-Id: <201308151235.r7FCZPhI097109@mech-cluster241.men.bris.ac.uk> To: mexas@bris.ac.uk, Trond.Endrestol@fagskolen.gjovik.no Subject: Re: where to start with PGP/GPG? In-Reply-To: Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 12:35:36 -0000 >From trond@fagskolen.gjovik.no Thu Aug 15 13:28:22 2013 > >On Thu, 15 Aug 2013 13:16+0100, Anton Shterenlikht wrote: > >> I never needed to use pgp till now. >> So I'm not sure where to start. >> Is security/gnupg the way to go? >> Any other advice? > >Consider the use of security/pinentry for entering passphrases. I discovered already that gnupg doesn't really work without it. At least I cannot generate keys without it. Thanks Anton From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 12:53:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 77CC5F5A for ; Thu, 15 Aug 2013 12:53:08 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E8A292DF5 for ; Thu, 15 Aug 2013 12:53:07 +0000 (UTC) Received: from [10.106.97.204] ([46.233.72.141]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id r7FCqwR6022309 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 15 Aug 2013 13:52:59 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <520CCF37.1000505@fjl.co.uk> Date: Thu, 15 Aug 2013 13:53:11 +0100 From: Frank Leonhardt Organization: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: High availability on remote site References: <20130815071840.26438d9b@tech304.office.supranet.net> In-Reply-To: <20130815071840.26438d9b@tech304.office.supranet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: frank2@fjl.co.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 12:53:08 -0000 On 15/08/2013 13:18, Mark Felder wrote: > On Thu, 15 Aug 2013 18:19:35 +0700 > Olivier Nicole wrote: > >> Hi, >> >> I have been assigned to offer HA on a 3 tiers architecture. >> >> Data storage tier will be MySQL, so replication is easy. >> > Keep in mind that MySQL replication has plenty of its own issues. It > does not replicate every SQL command to the slave. Guaranteeing that > data on both servers is identical is also a very tricky process. You > might want to first browse through the sections here to get an idea: > > http://dev.mysql.com/doc/refman/5.5/en/replication-features.html > > >> HA should be implemented only on the Data storage tier, Active/Active, >> but one of the sites is remote! >> >> When everything is working, each application accesses the local MySQL >> tier, but when the local MySQL becomes unavailable, it should be able >> to automatically move to the other database server. >> >> I have no access to the application, so I cannot modify it to test if >> local MySQL is working. So I should have an HA mechanism that enforces >> changing the IP address on the database server. >> > This is easy. Use HAProxy. It can test to see if your local MySQL > instance is up and running and if it detects it is not it will > automatically pass connections to the remote site's MySQL server. > >> If both servers are installed at different places, with different >> addresses, would there be a way beside establishing an IP tunnel/VPN >> between both places to have all machines in a single subnet? >> > This seems unnecessary. Why do you need them to be on the same subnet? > >> An image is here http://www.cs.ait.ac.th/~on/HA.gif >> >> I am really bothered by the IP tunnel, but that's the only way I see to keep HA. >> > Hopefully I've answered this question for you and you see that you > shouldn't need these to be on the same subnet. > _______________________________________________ > WHS, especially regarding the built-in replication of a mySQL database being problematic. I tried this a few years ago and decided it wasn't worth the candle (for my needs). It came down to the application software needing to be sensitive to the situation - to understand it needed to use a backup server, and to treat it as read-only. The implication is that mySQL could be some kind of distributed cluster until you got to it in detail. Or perhaps I was missing a point somewhere. If you get a "perfect" cluster going please do tell me know how. Incidentally, in the end I just used rsync - much less fuss but only good as a backup, really (which is what I really wanted). Regards, Frank. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 12:59:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 856BF256 for ; Thu, 15 Aug 2013 12:59:37 +0000 (UTC) (envelope-from me@staticsafe.ca) Received: from uriel.asininetech.com (uriel.asininetech.com [IPv6:2607:5300:60:e3a::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 49AF82E43 for ; Thu, 15 Aug 2013 12:59:37 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by uriel.asininetech.com (Postfix) with ESMTP id 90746E0A86 for ; Thu, 15 Aug 2013 08:59:35 -0400 (EDT) X-DKIM: OpenDKIM Filter v2.6.8 uriel.asininetech.com 90746E0A86 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=staticsafe.ca; s=2013; t=1376571575; bh=9HEp+rRs2jSY0T2l2WtZ/lVo0aEhxfbxNdmDu7NRzCo=; h=Date:From:To:Subject:References:In-Reply-To; b=L8q5DzDK4jtqKp9cLv8KRf91oiiaPG7c3c0sEAWzDeHxyqNK9ReOiNdw+BUox+Hft +LQC6HGyF3cotVknmgP0eBIA9lTBVzYWXXCearo5TU75Wd/GRVVUcX6oV8nI/SvjCy /nePyQBdtCH4z2pg1By38Jkbf7YhKbBVph9HADe8= Received: from uriel.asininetech.com ([127.0.0.1]) by localhost (uriel.asininetech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MBcQI6CMRYdj for ; Thu, 15 Aug 2013 08:59:35 -0400 (EDT) Received: from uriel.asininetech.com (uriel.asininetech.com [IPv6:2607:5300:60:e3a::1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by uriel.asininetech.com (Postfix) with ESMTPSA id 07E82E08BB for ; Thu, 15 Aug 2013 08:59:35 -0400 (EDT) X-DKIM: OpenDKIM Filter v2.6.8 uriel.asininetech.com 07E82E08BB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=staticsafe.ca; s=2013; t=1376571575; bh=9HEp+rRs2jSY0T2l2WtZ/lVo0aEhxfbxNdmDu7NRzCo=; h=Date:From:To:Subject:References:In-Reply-To; b=L8q5DzDK4jtqKp9cLv8KRf91oiiaPG7c3c0sEAWzDeHxyqNK9ReOiNdw+BUox+Hft +LQC6HGyF3cotVknmgP0eBIA9lTBVzYWXXCearo5TU75Wd/GRVVUcX6oV8nI/SvjCy /nePyQBdtCH4z2pg1By38Jkbf7YhKbBVph9HADe8= Date: Thu, 15 Aug 2013 08:59:33 -0400 From: staticsafe To: freebsd-questions@freebsd.org Subject: Re: where to start with PGP/GPG? Message-ID: <20130815125933.GE21878@uriel.asininetech.com> References: <201308151216.r7FCG93K082285@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201308151216.r7FCG93K082285@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 12:59:37 -0000 On Thu, Aug 15, 2013 at 01:16:09PM +0100, Anton Shterenlikht wrote: > I never needed to use pgp till now. > So I'm not sure where to start. > Is security/gnupg the way to go? > Any other advice? > > Thanks > Anton https://we.riseup.net/riseuplabs+paow/openpgp-best-practices is a good place to get started. You want the gnupg port, yes. -- staticsafe O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post. Please don't CC! I'm subscribed to whatever list I just posted on. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 13:37:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 505D1CDA for ; Thu, 15 Aug 2013 13:37:09 +0000 (UTC) (envelope-from lumiwa@gmail.com) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1396420EB for ; Thu, 15 Aug 2013 13:37:09 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id c1so386509qcz.5 for ; Thu, 15 Aug 2013 06:37:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=PWU8j/YI4APVvFNC7V5kpufMz6nYXemB6e0+vJczPeM=; b=hzyziZD1lMo8AEOYS1a6fVNdn4eH8EvUkwH/LZAUK9w8JdSoR7ZAua8OiIJmQEzgjc DL9xj7rjGNZQLU1fh/5dolAQKYTSeJ3XdsjuJzGyt4LYjE8z9nQHzpC+mErZzSSEp9sN TTsBUWlrP/XUu2XpatfEyKjDDDpTqnlL8ZSdSor5LOT1hkd7B9NjatqVPEUfmc2oI+Xr LvUFY105Xn1npF1W6z1PF18oJsw1lk0eau05c5u8MaNtuZEGAcJWkvwSxJlBvylvUcna +W4yB37+uzcT0aq1qIb5E2tFhkSBI9zgLF2zy4SKnf/jZ4tdb0+xaTny97UM2fPQwPyx 8m2Q== X-Received: by 10.49.35.81 with SMTP id f17mr9428299qej.96.1376573828267; Thu, 15 Aug 2013 06:37:08 -0700 (PDT) Received: from [192.168.2.254] (pool-64-223-171-164.man.east.myfairpoint.net. [64.223.171.164]) by mx.google.com with ESMTPSA id c6sm10214768qar.6.2013.08.15.06.37.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 06:37:07 -0700 (PDT) From: ajtiM Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: FreeBSD 9.2 Message-Id: Date: Thu, 15 Aug 2013 09:37:05 -0400 To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) X-Mailer: Apple Mail (2.1508) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 13:37:09 -0000 Hi! I did stop using FreeBSD three months ago and with to iMac computer = (older one) but I like start using FreeBSD again - I like it more. My computer is: iMac 27-inch, Late 2009 Processor 2.8 GHz Intel Core i7 Memory 8GB and graphics cars is ATI Radeon: Chipset Model: ATI Radeon HD 4850 Type: GPU Bus: PCIe PCIe Lane Width: x16 VRAM (Total): 512 MB Vendor: ATI (0x1002) How will be ATI supported in FreeBSD 9.2, please? I like bluetooth = mouse. Is it supported? I try Linux Mint and it works perfect. I am downloading live CD for = NetBSD (jibbed) and I will see how is works but I like to install = FreeBSD (not double boot, just FreeBSD). Thanks in advance. Mitja ---- http://www.redbubble.com/people/lumiwa From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 14:13:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3CA5421E for ; Thu, 15 Aug 2013 14:13:15 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog113.obsmtp.com (eu1sys200aog113.obsmtp.com [207.126.144.135]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 98494230A for ; Thu, 15 Aug 2013 14:13:14 +0000 (UTC) Received: from mail-ee0-f47.google.com ([74.125.83.47]) (using TLSv1) by eu1sys200aob113.postini.com ([207.126.147.11]) with SMTP ID DSNKUgzh8pT8T8IPrytyqsYCimq+KmsqwqB/@postini.com; Thu, 15 Aug 2013 14:13:14 UTC Received: by mail-ee0-f47.google.com with SMTP id d49so390227eek.20 for ; Thu, 15 Aug 2013 07:13:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:sender:date:from:message-id:to:subject:reply-to; bh=zqC3V+7IObk2IynjX/3bT7KTyRbZsOeaqBnTaLVaNhs=; b=cu68uPn3iGPs8c7nO1G+Q5jWy5IRFYU8O3xdOXSX9hCPz+JS91vSr1Go8odukVovZq fhF7IrTvboCbg974HSBq9vqCNUuqhXBV2jW4+AIneBSRkRy40Hs03cHWUGD33MY5lJaG lJdiLcZ7s6XS3GNL4VsUztsDMo3Hj3WPCA5CizJcEnjq9SUXVqPe+3TXX8EXjYxtrUo9 +NHmEZoxo+goNPqjnfeim9MfIdeTnW+7ckMJsSkAa9r3RyoQ5XeuC/VNLF9UrWqBhVy1 hcZZFgAER3TXwgU2/fNTep3jS7LXH7s1v9nXDMYo8E2LIY3lmEtRjvDuNrVaLVsRwA7F 3EBw== X-Received: by 10.14.4.1 with SMTP id 1mr5768091eei.21.1376575613966; Thu, 15 Aug 2013 07:06:53 -0700 (PDT) X-Gm-Message-State: ALoCoQlkSf6ewJ/SkDF1XqokpFmohewgrneMczYPirbx91Pb7/GlMussDEv1N7MjVjn9UOVtuKe5pRJdwy55aiZrIpAy4jBwOwLfv7OtrcodzPy/nwggVhuozY3LMihVWoX4t4hGazPo4PpYL+V8/cPdyyN99ywvjL9PgPbYh7CHivl8sxjzaUnGPD+1nTSaPDPPJPoS30QV X-Received: by 10.14.4.1 with SMTP id 1mr5768087eei.21.1376575613908; Thu, 15 Aug 2013 07:06:53 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id l47sm40273596eex.15.2013.08.15.07.06.51 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 07:06:52 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r7FE6oET017056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 15 Aug 2013 15:06:50 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r7FE6nC1017053 for freebsd-questions@freebsd.org; Thu, 15 Aug 2013 15:06:49 +0100 (BST) (envelope-from mexas) Date: Thu, 15 Aug 2013 15:06:49 +0100 (BST) From: Anton Shterenlikht Message-Id: <201308151406.r7FE6nC1017053@mech-cluster241.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: Re: where to start with PGP/GPG? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 14:13:15 -0000 >From mexas Thu Aug 15 13:16:09 2013 >To: freebsd-questions@freebsd.org >Subject: where to start with PGP/GPG? >Reply-To: mexas@bris.ac.uk > >I never needed to use pgp till now. >So I'm not sure where to start. >Is security/gnupg the way to go? >Any other advice? Answering my own question, this guide seems up to date and about the right level for a novice (me): https://help.ubuntu.com/community/GnuPrivacyGuardHowto Anton From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 15:00:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 16770C59 for ; Thu, 15 Aug 2013 15:00:49 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C8C082574 for ; Thu, 15 Aug 2013 15:00:48 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.2]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id r7FF0eHh025190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 15 Aug 2013 10:00:40 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 15 Aug 2013 10:00:40 -0500 From: dweimer To: Shane Ambler Subject: Re: ZFS Snapshots Not able to be accessed under .zfs/snapshot/name Organization: dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <520C405A.6000408@ShaneWare.Biz> References: <22a7343f4573d6faac5aec1d7c9a1135@dweimer.net> <520C405A.6000408@ShaneWare.Biz> Message-ID: <776e30b627bf30ece7545e28b2a2e064@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 15:00:49 -0000 On 08/14/2013 9:43 pm, Shane Ambler wrote: > On 14/08/2013 22:57, dweimer wrote: >> I have a few systems running on ZFS with a backup script that creates >> snapshots, then backs up the .zfs/snapshot/name directory to make >> sure >> open files are not missed. This has been working great but all of the >> sudden one of my systems has stopped working. It takes the snapshots >> fine, zfs list -t spnapshot shows the snapshots, but if you do an ls >> command, on the .zfs/snapshot/ directory it returns not a directory. >> >> part of the zfs list output: >> >> NAME USED AVAIL REFER MOUNTPOINT >> zroot 4.48G 29.7G 31K none >> zroot/ROOT 2.92G 29.7G 31K none >> zroot/ROOT/91p5-20130812 2.92G 29.7G 2.92G legacy >> zroot/home 144K 29.7G 122K /home >> >> part of the zfs list -t snapshot output: >> >> NAME USED AVAIL REFER >> MOUNTPOINT >> zroot/ROOT/91p5-20130812@91p5-20130812--bsnap 340K - 2.92G - >> zroot/home@home--bsnap 22K - 122K - >> >> ls /.zfs/snapshot/91p5-20130812--bsnap/ >> Does work at the right now, since the last reboot, but wasn't always >> working, this is my boot environment. >> >> if I do ls /home/.zfs/snapshot/, result is: >> ls: /home/.zfs/snapshot/: Not a directory >> >> if I do ls /home/.zfs, result is: >> ls: snapshot: Bad file descriptor >> shares >> >> I have tried zpool scrub zroot, no errors were found, if I reboot the >> system I can get one good backup, then I start having problems. >> Anyone >> else ever ran into this, any suggestions as to a fix? >> >> System is running FreeBSD 9.1-RELEASE-p5 #1 r253764: Mon Jul 29 >> 15:07:35 >> CDT 2013, zpool is running version 28, zfs is running version 5 >> > > > I can say I've had this problem. Not certain what fixed it. I do > remember I decided to stop snapshoting if I couldn't access them and > deleted existing snapshots. I later restarted the machine before I > went back for another look and they were working. > > So my guess is a restart without existing snapshots may be the key. > > Now if only we could find out what started the issue so we can stop it > happening again. I had actually rebooted it last night, prior to seeing this message, I do know it didn't have any snapshots this time. As I am booting from ZFS using boot environments I may have had an older boot environment still on the system the last time it was rebooted. Backups ran great last night after the reboot, and I was able to kick off my pre-backup job and access all the snapshots today. Hopefully it doesn't come back, but if it does I will see if I can find anything else wrong. FYI, It didn't shutdown cleanly, so if this helps anyone find the issue, this is from my system logs: Aug 14 22:08:04 cblproxy1 kernel: Aug 14 22:08:04 cblproxy1 kernel: Fatal trap 12: page fault while in kernel mode Aug 14 22:08:04 cblproxy1 kernel: cpuid = 0; apic id = 00 Aug 14 22:08:04 cblproxy1 kernel: fault virtual address = 0xa8 Aug 14 22:08:04 cblproxy1 kernel: fault code = supervisor write data, page not present Aug 14 22:08:04 cblproxy1 kernel: instruction pointer = 0x20:0xffffffff808b0562 Aug 14 22:08:04 cblproxy1 kernel: stack pointer = 0x28:0xffffff80002238f0 Aug 14 22:08:04 cblproxy1 kernel: frame pointer = 0x28:0xffffff8000223910 Aug 14 22:08:04 cblproxy1 kernel: code segment = base 0x0, limit 0xfffff, type 0x1b Aug 14 22:08:04 cblproxy1 kernel: = DPL 0, pres 1, long 1, def32 0, gran 1 Aug 14 22:08:04 cblproxy1 kernel: processor eflags = interrupt enabled, resume, IOPL = 0 Aug 14 22:08:04 cblproxy1 kernel: current process = 1 (init) Aug 14 22:08:04 cblproxy1 kernel: trap number = 12 Aug 14 22:08:04 cblproxy1 kernel: panic: page fault Aug 14 22:08:04 cblproxy1 kernel: cpuid = 0 Aug 14 22:08:04 cblproxy1 kernel: KDB: stack backtrace: Aug 14 22:08:04 cblproxy1 kernel: #0 0xffffffff808ddaf0 at kdb_backtrace+0x60 Aug 14 22:08:04 cblproxy1 kernel: #1 0xffffffff808a951d at panic+0x1fd Aug 14 22:08:04 cblproxy1 kernel: #2 0xffffffff80b81578 at trap_fatal+0x388 Aug 14 22:08:04 cblproxy1 kernel: #3 0xffffffff80b81836 at trap_pfault+0x2a6 Aug 14 22:08:04 cblproxy1 kernel: #4 0xffffffff80b80ea1 at trap+0x2a1 Aug 14 22:08:04 cblproxy1 kernel: #5 0xffffffff80b6c7b3 at calltrap+0x8 Aug 14 22:08:04 cblproxy1 kernel: #6 0xffffffff815276da at zfsctl_umount_snapshots+0x8a Aug 14 22:08:04 cblproxy1 kernel: #7 0xffffffff81536766 at zfs_umount+0x76 Aug 14 22:08:04 cblproxy1 kernel: #8 0xffffffff809340bc at dounmount+0x3cc Aug 14 22:08:04 cblproxy1 kernel: #9 0xffffffff8093c101 at vfs_unmountall+0x71 Aug 14 22:08:04 cblproxy1 kernel: #10 0xffffffff808a8eae at kern_reboot+0x4ee Aug 14 22:08:04 cblproxy1 kernel: #11 0xffffffff808a89c0 at kern_reboot+0 Aug 14 22:08:04 cblproxy1 kernel: #12 0xffffffff80b81dab at amd64_syscall+0x29b Aug 14 22:08:04 cblproxy1 kernel: #13 0xffffffff80b6ca9b at Xfast_syscall+0xfb -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 18:13:29 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C24BCB5C for ; Thu, 15 Aug 2013 18:13:29 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9CA50207E for ; Thu, 15 Aug 2013 18:13:29 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id lb1so990694pab.26 for ; Thu, 15 Aug 2013 11:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; bh=fFZCWDpl3evILL/l93O+34CEZnCnzacbQEenTbqxgKY=; b=SyymVokeBAOOF/sss+JQqMBCOjdFQq9OQW9Yw6igzQlEsj6ivT6aIxKkU8IR3DwUOJ +LAp1RqRDA/r4t+UqaXrDPQitM+4zQ1UEJEw/o9OF/+I+af8NXgtX96HyHw5S72IygwT W8nN4xiQ4wF+GX3WFYdVsHM6d0i09w+3CUAr7t1kvqSE1PY7KHn5FWt1/x0HAyyT0H+C otu5YBcQIF0p6fFdy0AqqBuPIsj0iv17nsqF7lHHc27K4eHOMNtip2Ml/WLiW5iegn9E HKSMHce2C6uPekhja5jN4vM8FHDdB4xFhsxI54lmENDXvKTIHhBzBILi3Bc8pEPfeWsM DPAg== X-Received: by 10.66.145.4 with SMTP id sq4mr16946304pab.46.1376590409189; Thu, 15 Aug 2013 11:13:29 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id bt1sm1352952pbb.2.2013.08.15.11.13.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 11:13:27 -0700 (PDT) From: aurfalien Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: copying milllions of small files and millions of dirs Date: Thu, 15 Aug 2013 11:13:25 -0700 Message-Id: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> To: FreeBSD Questions Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 18:13:29 -0000 Hi all, Is there a faster way to copy files over NFS? Currently breaking up a simple rsync over 7 or so scripts which copies = 22 dirs having ~500,000 dirs or files each. Obviously reading all the meta data is a PITA. Doin 10Gb/jumbos but in this case it don't make much of a hoot of a = diff. Going from a 38TB used, 50TB total BlueArc Titan 3200 to a new shiny = 80TB total FreeBSD 9.2RC1 ZFS bad boy. Thanks in advance, - aurf From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 18:31:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3C04DE61 for ; Thu, 15 Aug 2013 18:31:23 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-ea0-f180.google.com (mail-ea0-f180.google.com [209.85.215.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C91D8216D for ; Thu, 15 Aug 2013 18:31:22 +0000 (UTC) Received: by mail-ea0-f180.google.com with SMTP id h10so528589eaj.25 for ; Thu, 15 Aug 2013 11:31:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Bxwjj6iymVqwF//8yKlag50ncD27zSdzr0JNl0uVcQQ=; b=Ys07O3GqbWvz/WPNZCah4bjR6CwOk1ZP3rUFZhxXxduP7IS5NXr365Tgs+jWvPZOrw ZksCrMghfiLO4aR+Ww1ZOukUCDgze2SoDg7KFJSuVq2mdXpnPcnCIUfRLftO2DxoxVOZ 9L0CFXKq1P+8Rdq63AQRmj9zrX7JwO4Q5yBmxgGly9rPzEtgty4QsRoysFU8c5fB5OM+ tLsIrWSolHzegOmNXm7+5mj3BBfRwTe6X7HCScHZulQFxKliH+E2xVUyGDqjaEs8aL/J nwVaNFD2onl6xKvqtnb0oNphxFa7MQb4K3pSn9gcRygA4Maegus4DuU0F0PyCiIOcEIN mPaQ== X-Gm-Message-State: ALoCoQk5BOoyxy5cLngmoabvXYBHSkbITJPzgd8GtjpuIeY4UkWnhS90r9Lizd7rvheYWI++waDn X-Received: by 10.15.109.135 with SMTP id cf7mr24546956eeb.0.1376591474810; Thu, 15 Aug 2013 11:31:14 -0700 (PDT) Received: from phenom.cordula.ws (p5DDDA7D9.dip0.t-ipconnect.de. [93.221.167.217]) by mx.google.com with ESMTPSA id bn13sm541135eeb.11.2013.08.15.11.31.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 11:31:13 -0700 (PDT) Message-ID: <520D1E6F.5070804@cordula.ws> Date: Thu, 15 Aug 2013 20:31:11 +0200 From: cpghost User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130711 Thunderbird/17.0.7 MIME-Version: 1.0 To: mexas@bris.ac.uk Subject: Re: where to start with PGP/GPG? References: <201308151216.r7FCG93K082285@mech-cluster241.men.bris.ac.uk> In-Reply-To: <201308151216.r7FCG93K082285@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 18:31:23 -0000 On 08/15/13 14:16, Anton Shterenlikht wrote: > I never needed to use pgp till now. > So I'm not sure where to start. > Is security/gnupg the way to go? > Any other advice? security/gnupg + security/pinentry is the way to go. Additionally, if you use this for E-Mail, consider using thunderbird with the enigmail add-on. Works great. -cpghost. > Thanks > Anton -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 18:37:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 390C02CB for ; Thu, 15 Aug 2013 18:37:07 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pb0-x22e.google.com (mail-pb0-x22e.google.com [IPv6:2607:f8b0:400e:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 10C5F21DC for ; Thu, 15 Aug 2013 18:37:07 +0000 (UTC) Received: by mail-pb0-f46.google.com with SMTP id rq2so1073485pbb.5 for ; Thu, 15 Aug 2013 11:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=HyYKJMEkVxmsQXH9HWqODH66XEinG1zlasrVwnGk0og=; b=NmGjppJeIWS4NaCW4Aot3uBhrHRZpsxxMj+zQtcGW/+dxpidZO5cB/ama/9sEV3+/2 s3ldf6n1d+96enliLoFA5yA2mjgQsGhnLSW8ihL/w/RB7yk/RaPeRj2kmwxvGfyLfKqc sFM/cnoGpW8/O/ZgOtXoREzAi7X/80hluZrSCDcEqsrH4Y6NKRDDfh0JnDjIxl+hvfd4 yQ6XvqcjKWvHYy8tPGH/fxFyfWe7pksDwFO1t5UtLIPHyvm+uf/wqqqzS3IuUElCGWrC 9bSDEtuvBnDtnfE3s+ymK5S4w39a3YeQetaJYEVhacKbYsByY3RtUxvLPNXDbNrv1tLb h8eA== X-Received: by 10.66.120.145 with SMTP id lc17mr3024917pab.182.1376591826761; Thu, 15 Aug 2013 11:37:06 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id xe9sm1484163pab.0.2013.08.15.11.37.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 11:37:05 -0700 (PDT) Subject: Re: copying milllions of small files and millions of dirs Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: Date: Thu, 15 Aug 2013 11:37:02 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <6483A298-6216-4306-913C-B3E0F4A3BC8D@gmail.com> References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> To: Charles Swiger X-Mailer: Apple Mail (2.1085) Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 18:37:07 -0000 On Aug 15, 2013, at 11:26 AM, Charles Swiger wrote: > On Aug 15, 2013, at 11:13 AM, aurfalien wrote: >> Is there a faster way to copy files over NFS? >=20 > Probably. Ok, thanks for the specifics. >> Currently breaking up a simple rsync over 7 or so scripts which = copies 22 dirs having ~500,000 dirs or files each. >=20 > There's a maximum useful concurrency which depends on how many disk = spindles and what flavor of RAID is in use; exceeding it will result in = thrashing the disks and heavily reducing throughput due to competing I/O = requests. Try measuring aggregate performance when running fewer rsyncs = at once and see whether it improves. Its 35 disks broken into 7 striped RaidZ groups with an SLC based ZIL = and no atime, the server it self has 128GB ECC RAM. I didn't have time = to tune or really learn ZFS but at this point its only backing up the = data for emergency purposes. > Of course, putting half a million files into a single directory level = is also a bad idea, even with dirhash support. You'd do better to break = them up into subdirs containing fewer than ~10K files apiece. I can't, thats our job structure obviously developed by scrip kiddies = and not systems ppl, but I digress. >> Obviously reading all the meta data is a PITA. >=20 > Yes. >=20 >> Doin 10Gb/jumbos but in this case it don't make much of a hoot of a = diff. >=20 > Yeah, probably not-- you're almost certainly I/O bound, not network = bound. Actually it was network bound via 1 rsync process which is why I broke = up 154 dirs into 7 batches of 22 each. I'll have to acquaint myself with ZFS centric tools to help me determine = whats going on. But=20 From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 19:14:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8B56EBE0 for ; Thu, 15 Aug 2013 19:14:13 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pb0-x22f.google.com (mail-pb0-x22f.google.com [IPv6:2607:f8b0:400e:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 623F723F3 for ; Thu, 15 Aug 2013 19:14:13 +0000 (UTC) Received: by mail-pb0-f47.google.com with SMTP id rr4so1122566pbb.34 for ; Thu, 15 Aug 2013 12:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xD4A6ATGycvpkWoMXWDQxJ6nd14arcZNgFovlvuU93Y=; b=iHqZqPMEfv1ygWe2/vXTc1wfHfNr97vT5q7oIfA4r/euQw7BJBbnq+/XGtgawPxdLC h8BeoqRn02s4E51l3iwM6y+pvtxyvHrM67jGJ3bfykrg6so/NvFEb7juJtrsysSxPSfa BJPDEokkcWpnN7/fTNsnrsT5hZApVrK4yLJHLIHeegsb/wBbbOANIPddXOogI4Hn5So6 rLMB5Xgg7w44yd6fDG0ZqIoz8vNJZlnuGaG9gYjywztFNG7Rjd8jixMB7QLX1cM0lkJp uo5QKvfnLe5ZsNjvhelt+fnBd3HKRXzrHBRql1K1mC063aMBUKrHGmpRUw73Z6bQSKQP 10fA== X-Received: by 10.68.195.193 with SMTP id ig1mr3664042pbc.176.1376594051548; Thu, 15 Aug 2013 12:14:11 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id xe9sm1631327pab.0.2013.08.15.12.14.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 12:14:10 -0700 (PDT) Subject: Re: copying milllions of small files and millions of dirs Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <1F06D736-1019-4223-8546-5DBB0F5D878B@mac.com> Date: Thu, 15 Aug 2013 12:14:08 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <611B3931-958B-4A46-A6BD-1CA541F32699@gmail.com> References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> <6483A298-6216-4306-913C-B3E0F4A3BC8D@gmail.com> <1F06D736-1019-4223-8546-5DBB0F5D878B@mac.com> To: Charles Swiger X-Mailer: Apple Mail (2.1085) Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 19:14:13 -0000 On Aug 15, 2013, at 11:52 AM, Charles Swiger wrote: > On Aug 15, 2013, at 11:37 AM, aurfalien wrote: >> On Aug 15, 2013, at 11:26 AM, Charles Swiger wrote: >>> On Aug 15, 2013, at 11:13 AM, aurfalien wrote: >>>> Is there a faster way to copy files over NFS? >>>=20 >>> Probably. >>=20 >> Ok, thanks for the specifics. >=20 > You're most welcome. >=20 >>>> Currently breaking up a simple rsync over 7 or so scripts which = copies 22 dirs having ~500,000 dirs or files each. >>>=20 >>> There's a maximum useful concurrency which depends on how many disk = spindles and what flavor of RAID is in use; exceeding it will result in = thrashing the disks and heavily reducing throughput due to competing I/O = requests. Try measuring aggregate performance when running fewer rsyncs = at once and see whether it improves. >>=20 >> Its 35 disks broken into 7 striped RaidZ groups with an SLC based ZIL = and no atime, the server it self has 128GB ECC RAM. I didn't have time = to tune or really learn ZFS but at this point its only backing up the = data for emergency purposes. >=20 > OK. If you've got 7 independent groups and can use separate network = pipes for each parallel copy, then using 7 simultaneous scripts is = likely reasonable. >=20 >>> Of course, putting half a million files into a single directory = level is also a bad idea, even with dirhash support. You'd do better to = break them up into subdirs containing fewer than ~10K files apiece. >>=20 >> I can't, thats our job structure obviously developed by scrip kiddies = and not systems ppl, but I digress. >=20 > Identifying something which is "broken as designed" is still helpful, = since it indicates what needs to change. >=20 >>>> Obviously reading all the meta data is a PITA. >>>=20 >>> Yes. >>>=20 >>>> Doin 10Gb/jumbos but in this case it don't make much of a hoot of a = diff. >>>=20 >>> Yeah, probably not-- you're almost certainly I/O bound, not network = bound. >>=20 >> Actually it was network bound via 1 rsync process which is why I = broke up 154 dirs into 7 batches of 22 each. >=20 > Oh. Um, unless you can make more network bandwidth available, you've = saturated the bottleneck. > Doing a single copy task is likely to complete faster than splitting = up the job into subtasks in such a case. Well, using iftop, I am now at least able to get ~1Gb with 7 scripts = going were before it was in the 10Ms with 1. Also, physically looking at my ZFS server, it now shows the drives = lights are blinking faster, like every second. Were as before it was = sort of seldom, like every 3 seconds or so. I was thinking to perhaps zip dirs up and then xfer the file over but it = would prolly take as long to zip/unzip. This bloody project structure we have is nuts. - aurf= From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 19:26:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F0E92D67 for ; Thu, 15 Aug 2013 19:26:25 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from st11p05mm-asmtp001.mac.com (st11p05mm-asmtp004.mac.com [17.172.108.249]) by mx1.freebsd.org (Postfix) with ESMTP id C6BE72498 for ; Thu, 15 Aug 2013 19:26:25 +0000 (UTC) Received: from cswiger1.apple.com (unknown [17.209.8.53]) by st11p05mm-asmtp001.mac.com (Oracle Communications Messaging Server 7u4-27.07(7.0.4.27.6) 64bit (built Jun 21 2013)) with ESMTPSA id <0MRL00GMQ4JFIE20@st11p05mm-asmtp001.mac.com> for freebsd-questions@freebsd.org; Thu, 15 Aug 2013 18:26:04 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000 definitions=2013-08-15_08:2013-08-15,2013-08-15,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308150123 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: copying milllions of small files and millions of dirs From: Charles Swiger In-reply-to: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> Date: Thu, 15 Aug 2013 11:26:01 -0700 Content-transfer-encoding: quoted-printable Message-id: References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> To: aurfalien X-Mailer: Apple Mail (2.1508) Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 19:26:26 -0000 On Aug 15, 2013, at 11:13 AM, aurfalien wrote: > Is there a faster way to copy files over NFS? Probably. > Currently breaking up a simple rsync over 7 or so scripts which copies = 22 dirs having ~500,000 dirs or files each. There's a maximum useful concurrency which depends on how many disk = spindles and what flavor of RAID is in use; exceeding it will result in = thrashing the disks and heavily reducing throughput due to competing I/O = requests. Try measuring aggregate performance when running fewer rsyncs = at once and see whether it improves. Of course, putting half a million files into a single directory level is = also a bad idea, even with dirhash support. You'd do better to break = them up into subdirs containing fewer than ~10K files apiece. > Obviously reading all the meta data is a PITA. Yes. > Doin 10Gb/jumbos but in this case it don't make much of a hoot of a = diff. Yeah, probably not-- you're almost certainly I/O bound, not network = bound. Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 19:36:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3F567172 for ; Thu, 15 Aug 2013 19:36:11 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pb0-x232.google.com (mail-pb0-x232.google.com [IPv6:2607:f8b0:400e:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 18A6A252D for ; Thu, 15 Aug 2013 19:36:11 +0000 (UTC) Received: by mail-pb0-f50.google.com with SMTP id uo5so1136044pbc.23 for ; Thu, 15 Aug 2013 12:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6YjcrBf6edXoigCoCBjzru9YusX1OvdpT87Klw33ViI=; b=bUh+pkubgmI7tChdPj4ayzfNsKbmK63VA+keHY1B10n2MIp+7fg+bDsBPuD5X9SWUr 5gMGvZSGxW9L+I+HiTiFdjdvMBtwsni7tP8HsL9VfY6G5HqY26XF5XeFDoB85lR/uzsQ QP3UaTaQIW4agNP0GHFA/wcEgvry5wGp3Xib7BtrmUQvOvvknSQH3sPJje5ksjLIT8BW hZD00SRhQY6AWKNgBJO+CzRPUIW/VOU0AjOxCTujJaD7FikVyydxpyrv1Zf+vHvSI/ww myDzxWbF50ZhRZYkn6N3eA6TGeuNqvBRqSh6+wj8NWPrzna7Dt2THjAnosE9XYQArbqY MSwg== MIME-Version: 1.0 X-Received: by 10.68.225.164 with SMTP id rl4mr17401323pbc.100.1376595370683; Thu, 15 Aug 2013 12:36:10 -0700 (PDT) Received: by 10.70.92.79 with HTTP; Thu, 15 Aug 2013 12:36:10 -0700 (PDT) In-Reply-To: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> Date: Thu, 15 Aug 2013 14:36:10 -0500 Message-ID: Subject: Re: copying milllions of small files and millions of dirs From: Adam Vande More To: aurfalien Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 19:36:11 -0000 On Thu, Aug 15, 2013 at 1:13 PM, aurfalien wrote: > Hi all, > > Is there a faster way to copy files over NFS? > Remove NFS from the setup. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 19:40:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C3218367 for ; Thu, 15 Aug 2013 19:40:52 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 99AB62590 for ; Thu, 15 Aug 2013 19:40:52 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id bg4so1063032pad.32 for ; Thu, 15 Aug 2013 12:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=DNQmbIWvAA5TBVz4kcSMxUL4Erqixj5TjiP6/FEsUeo=; b=alr8VFNSoctTIZ+UPkrXi0xdvre0BZi4OzWdO7+hNX9PrQT342K69UUm+W+xPHTyAQ Juy1gQZQS6mw2rOoCNaJ0Ti1a1QdsE1/XUvy0kwEXWdFAJeYV+2hSa0ytNhS+oKTcfE5 lVToNZfsQX425c3xyAXQ0Zj8bDhPxvf1bVxj5fDvkip22sBXtK9TUpKGBMFlKoi08wOY jl5ne+Zt6XJkoOqxrKutZuo3x+onBRrOATIIBRGpxs2CIO3l8VpA8erLRwyj77mqgmy6 RX/Mxbxe9+yVhSrem35Mjwdb8B4RY7uV+c+PeMEXOIy8MKHNIAjb6e2zzWZqwwJXw0Xe pviw== X-Received: by 10.67.4.197 with SMTP id cg5mr17116713pad.10.1376595652325; Thu, 15 Aug 2013 12:40:52 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id ll5sm1258747pab.19.2013.08.15.12.40.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 12:40:51 -0700 (PDT) Subject: Re: copying milllions of small files and millions of dirs Mime-Version: 1.0 (Apple Message framework v1085) From: aurfalien In-Reply-To: Date: Thu, 15 Aug 2013 12:40:48 -0700 Message-Id: <9A3518B5-5CF7-4EB7-AC8A-1F2614A6A88B@gmail.com> References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> To: Adam Vande More X-Mailer: Apple Mail (2.1085) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 19:40:52 -0000 On Aug 15, 2013, at 12:36 PM, Adam Vande More wrote: > On Thu, Aug 15, 2013 at 1:13 PM, aurfalien wrote: > Hi all, > > Is there a faster way to copy files over NFS? > > Remove NFS from the setup. Yea, your mouth to gods ears. My BlueArc is an NFS NAS only box. So no way to get to the data other then NFS. - aurf From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 19:53:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 85B52578 for ; Thu, 15 Aug 2013 19:53:08 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from st11p05mm-asmtp003.mac.com (st11p05mm-asmtp003.mac.com [17.172.108.248]) by mx1.freebsd.org (Postfix) with ESMTP id 5A4C22616 for ; Thu, 15 Aug 2013 19:53:08 +0000 (UTC) Received: from cswiger1.apple.com (unknown [17.209.8.53]) by st11p05mm-asmtp003.mac.com (Oracle Communications Messaging Server 7u4-27.07(7.0.4.27.6) 64bit (built Jun 21 2013)) with ESMTPSA id <0MRL0032P5S3K940@st11p05mm-asmtp003.mac.com> for freebsd-questions@freebsd.org; Thu, 15 Aug 2013 18:52:53 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000 definitions=2013-08-15_08:2013-08-15,2013-08-15,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308150123 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: copying milllions of small files and millions of dirs From: Charles Swiger In-reply-to: <6483A298-6216-4306-913C-B3E0F4A3BC8D@gmail.com> Date: Thu, 15 Aug 2013 11:52:51 -0700 Content-transfer-encoding: quoted-printable Message-id: <1F06D736-1019-4223-8546-5DBB0F5D878B@mac.com> References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> <6483A298-6216-4306-913C-B3E0F4A3BC8D@gmail.com> To: aurfalien X-Mailer: Apple Mail (2.1508) Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 19:53:08 -0000 On Aug 15, 2013, at 11:37 AM, aurfalien wrote: > On Aug 15, 2013, at 11:26 AM, Charles Swiger wrote: >> On Aug 15, 2013, at 11:13 AM, aurfalien wrote: >>> Is there a faster way to copy files over NFS? >>=20 >> Probably. >=20 > Ok, thanks for the specifics. You're most welcome. >>> Currently breaking up a simple rsync over 7 or so scripts which = copies 22 dirs having ~500,000 dirs or files each. >>=20 >> There's a maximum useful concurrency which depends on how many disk = spindles and what flavor of RAID is in use; exceeding it will result in = thrashing the disks and heavily reducing throughput due to competing I/O = requests. Try measuring aggregate performance when running fewer rsyncs = at once and see whether it improves. >=20 > Its 35 disks broken into 7 striped RaidZ groups with an SLC based ZIL = and no atime, the server it self has 128GB ECC RAM. I didn't have time = to tune or really learn ZFS but at this point its only backing up the = data for emergency purposes. OK. If you've got 7 independent groups and can use separate network = pipes for each parallel copy, then using 7 simultaneous scripts is = likely reasonable. >> Of course, putting half a million files into a single directory level = is also a bad idea, even with dirhash support. You'd do better to break = them up into subdirs containing fewer than ~10K files apiece. >=20 > I can't, thats our job structure obviously developed by scrip kiddies = and not systems ppl, but I digress. Identifying something which is "broken as designed" is still helpful, = since it indicates what needs to change. >>> Obviously reading all the meta data is a PITA. >>=20 >> Yes. >>=20 >>> Doin 10Gb/jumbos but in this case it don't make much of a hoot of a = diff. >>=20 >> Yeah, probably not-- you're almost certainly I/O bound, not network = bound. >=20 > Actually it was network bound via 1 rsync process which is why I broke = up 154 dirs into 7 batches of 22 each. Oh. Um, unless you can make more network bandwidth available, you've = saturated the bottleneck. Doing a single copy task is likely to complete faster than splitting up = the job into subtasks in such a case. Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 20:02:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 228718A7 for ; Thu, 15 Aug 2013 20:02:21 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9E9DC2692 for ; Thu, 15 Aug 2013 20:02:20 +0000 (UTC) Received: from [10.106.108.30] ([46.233.72.243]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id r7FK2Ghd091541 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 15 Aug 2013 21:02:17 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <520D33D6.8050607@fjl.co.uk> Date: Thu, 15 Aug 2013 21:02:30 +0100 From: Frank Leonhardt Organization: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: copying milllions of small files and millions of dirs References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> In-Reply-To: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: frank2@fjl.co.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 20:02:21 -0000 On 15/08/2013 19:13, aurfalien wrote: > Hi all, > > Is there a faster way to copy files over NFS? > > Currently breaking up a simple rsync over 7 or so scripts which copies 22 dirs having ~500,000 dirs or files each. > I'm reading all this with interest. The first thing I'd have tried would be tar (and probably netcat) but I'm a probably bit of a dinosaur. (If someone wants to buy me some really big drives I promise I'll update). If it's really NFS or nothing I guess you couldn't open a socket anyway. I'd be interested to know whether tar is still worth using in this world of volume managers and SMP. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 20:14:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C2667B32 for ; Thu, 15 Aug 2013 20:14:15 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 9A199271C for ; Thu, 15 Aug 2013 20:14:15 +0000 (UTC) Received: from [10.0.1.3] (static-71-177-216-148.lsanca.fios.verizon.net [71.177.216.148]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id r7FKE93c089235 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 15 Aug 2013 13:14:09 -0700 (PDT) (envelope-from bc979@lafn.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: FreeBSD 9.2 From: Doug Hardie In-Reply-To: Date: Thu, 15 Aug 2013 13:14:08 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: ajtiM X-Mailer: Apple Mail (2.1508) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 20:14:15 -0000 On 15 August 2013, at 06:37, ajtiM wrote: >=20 > How will be ATI supported in FreeBSD 9.2, please? I like bluetooth = mouse. Is it supported? >=20 > I try Linux Mint and it works perfect. I am downloading live CD for = NetBSD (jibbed) and I will see how is works but I like to install = FreeBSD (not double boot, just FreeBSD). >=20 See: = http://docs.freebsd.org/cgi/mid.cgi?28915479-B712-4ED0-A041-B75F2F59FECA Thats not a complete answer as I don't use any of the user interface = stuff. However, it will give a starting point for you. I have updated = my two newest minis to run 9.2 (latest candidate). From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 20:23:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ED4C4DEF for ; Thu, 15 Aug 2013 20:23:03 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from st11p05mm-asmtp003.mac.com (st11p05mm-asmtp003.mac.com [17.172.108.248]) by mx1.freebsd.org (Postfix) with ESMTP id C37F62790 for ; Thu, 15 Aug 2013 20:23:03 +0000 (UTC) Received: from cswiger1.apple.com (unknown [17.209.8.53]) by st11p05mm-asmtp003.mac.com (Oracle Communications Messaging Server 7u4-27.07(7.0.4.27.6) 64bit (built Jun 21 2013)) with ESMTPSA id <0MRL009BV9YB4F50@st11p05mm-asmtp003.mac.com> for freebsd-questions@freebsd.org; Thu, 15 Aug 2013 20:23:01 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000 definitions=2013-08-15_08:2013-08-15,2013-08-15,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308150143 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: copying milllions of small files and millions of dirs From: Charles Swiger In-reply-to: <520D33D6.8050607@fjl.co.uk> Date: Thu, 15 Aug 2013 13:22:59 -0700 Content-transfer-encoding: quoted-printable Message-id: References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> <520D33D6.8050607@fjl.co.uk> To: frank2@fjl.co.uk, aurfalien X-Mailer: Apple Mail (2.1508) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 20:23:04 -0000 [ ...combining replies for brevity... ] On Aug 15, 2013, at 1:02 PM, Frank Leonhardt wrote: > I'm reading all this with interest. The first thing I'd have tried = would be tar (and probably netcat) but I'm a probably bit of a dinosaur. = (If someone wants to buy me some really big drives I promise I'll = update). If it's really NFS or nothing I guess you couldn't open a = socket anyway. Either tar via netcat or SSH, or dump / restore via similar pipeline are = quite traditional. tar is more flexible for partial filesystem copies, = whereas the dump / restore is more oriented towards complete filesystem = copies. If the destination starts off empty, they're probably faster = than rsync, but rsync does delta updates which is a huge win if you're = going to be copying changes onto a slightly older version. Anyway, you're entirely right that the capabilities of the source matter = a great deal. If it could do zfs send / receive, or similar snapshot mirroring, that = would likely do better than userland tools. > I'd be interested to know whether tar is still worth using in this = world of volume managers and SMP. Yes. On Aug 15, 2013, at 12:14 PM, aurfalien wrote: [ ... ] >>>>> Doin 10Gb/jumbos but in this case it don't make much of a hoot of = a diff. >>>>=20 >>>> Yeah, probably not-- you're almost certainly I/O bound, not network = bound. >>>=20 >>> Actually it was network bound via 1 rsync process which is why I = broke up 154 dirs into 7 batches of 22 each. >>=20 >> Oh. Um, unless you can make more network bandwidth available, you've = saturated the bottleneck. >> Doing a single copy task is likely to complete faster than splitting = up the job into subtasks in such a case. >=20 > Well, using iftop, I am now at least able to get ~1Gb with 7 scripts = going were before it was in the 10Ms with 1. 1 gigabyte of data per second is pretty decent for a 10Gb link; 10 MB/s = obviously wasn't close saturating a 10Gb link. Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 20:35:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CE51C4CB for ; Thu, 15 Aug 2013 20:35:30 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id 69B2D2828 for ; Thu, 15 Aug 2013 20:35:29 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id r7FKZSbv010972; Thu, 15 Aug 2013 22:35:29 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id CEA1F123D2; Thu, 15 Aug 2013 22:35:28 +0200 (CEST) Date: Thu, 15 Aug 2013 22:35:28 +0200 From: Roland Smith To: aurfalien Subject: Re: copying milllions of small files and millions of dirs Message-ID: <20130815203528.GA87120@slackbox.erewhon.net> References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@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 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 20:35:30 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote: > Hi all, >=20 > Is there a faster way to copy files over NFS? Can you log into your NAS with ssh or telnet? It so I would suggest using tar(1) and nc(1). It has been a while since I measured it, but IIRC the combination of tar (without compression) and netc= at could saturate a 100 Mbit ethernet connection. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlINO5AACgkQEnfvsMMhpyXKGQCgqj/yhioFQsNJurRvWYdtQUzU 9NsAnR6A7Od+lvf+gr+tEptvzo13adRv =QF9I -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 20:40:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DD6ED749 for ; Thu, 15 Aug 2013 20:40:29 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B5B6F2870 for ; Thu, 15 Aug 2013 20:40:29 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id bg4so1109045pad.32 for ; Thu, 15 Aug 2013 13:40:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=cbZMxGpydzQy8FlySMYCnF+J4wX28RAL5q9cBnTXjaA=; b=wbk+Gx9LFrkxAS0Q2j7jB7J6UpfwpGpIFEuL/gS1L9+cgqqqrUiiDfVKgGlr18LWMv jRXEu0jTF1i657moJhgF8oRrJF4f/6HIMxTcfZUzDOL90dATE6FydawbT8SQaftuKcEU qs1jdvsr6OX6QYeVusYe/KXN7DfAIO7p4O8+UQiLfMxQZrMPsYzr/6d8y57gv6lrzIrg j3G2EGzO9JFpwWJSHeHsW5cWpVOmE4MGjXUgou+6HrIVWbSfbVJkLe4dZeaDo2pjtc+N jZ0VEGvo1lOjAGeUqY3Z2Q+kWL8wfgVw04nKRAjuMCq1DC5dvB4gXCobzR4xvTv5QXWE Kbbw== X-Received: by 10.66.122.99 with SMTP id lr3mr24625pab.187.1376599229444; Thu, 15 Aug 2013 13:40:29 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id wr9sm1841540pbc.7.2013.08.15.13.40.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 13:40:28 -0700 (PDT) Subject: Re: copying milllions of small files and millions of dirs Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: Date: Thu, 15 Aug 2013 13:40:25 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <8AB33749-728B-48FD-B17F-72FE54BD564A@gmail.com> References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> <520D33D6.8050607@fjl.co.uk> To: Charles Swiger X-Mailer: Apple Mail (2.1085) Cc: frank2@fjl.co.uk, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 20:40:30 -0000 On Aug 15, 2013, at 1:22 PM, Charles Swiger wrote: > [ ...combining replies for brevity... ] >=20 > On Aug 15, 2013, at 1:02 PM, Frank Leonhardt wrote: >> I'm reading all this with interest. The first thing I'd have tried = would be tar (and probably netcat) but I'm a probably bit of a dinosaur. = (If someone wants to buy me some really big drives I promise I'll = update). If it's really NFS or nothing I guess you couldn't open a = socket anyway. >=20 > Either tar via netcat or SSH, or dump / restore via similar pipeline = are quite traditional. tar is more flexible for partial filesystem = copies, whereas the dump / restore is more oriented towards complete = filesystem copies. If the destination starts off empty, they're = probably faster than rsync, but rsync does delta updates which is a huge = win if you're going to be copying changes onto a slightly older version. Yep, so looks like it is what it is as the data set is changing while I = do the base sync. So I'll have to do several more to pick up new comers = etc... > Anyway, you're entirely right that the capabilities of the source = matter a great deal. > If it could do zfs send / receive, or similar snapshot mirroring, that = would likely do better than userland tools. >=20 >> I'd be interested to know whether tar is still worth using in this = world of volume managers and SMP. >=20 > Yes. >=20 > On Aug 15, 2013, at 12:14 PM, aurfalien wrote: > [ ... ] >>>>>> Doin 10Gb/jumbos but in this case it don't make much of a hoot of = a diff. >>>>>=20 >>>>> Yeah, probably not-- you're almost certainly I/O bound, not = network bound. >>>>=20 >>>> Actually it was network bound via 1 rsync process which is why I = broke up 154 dirs into 7 batches of 22 each. >>>=20 >>> Oh. Um, unless you can make more network bandwidth available, = you've saturated the bottleneck. >>> Doing a single copy task is likely to complete faster than splitting = up the job into subtasks in such a case. >>=20 >> Well, using iftop, I am now at least able to get ~1Gb with 7 scripts = going were before it was in the 10Ms with 1. >=20 > 1 gigabyte of data per second is pretty decent for a 10Gb link; 10 = MB/s obviously wasn't close saturating a 10Gb link. Cool. Looks like I am doing my best which is what I wanted to know. I = chose to do 7 rsync scripts as it evenly divides into 154 parent dirs :) You should see how our backup system deal with this; Atempo Time = Navigator or Tina as its called. It takes an hour just to lay down the dirs on tape before even starting = to backup, crazyness. And thats just for 1 parent dir having an avg of = 500,000 dirs. Actually I'm prolly wrong as the initial creation is = 125,000 dirs, of which a few are sym links. Then it grows from there. Looking at the Tina stats, we see a million = objects or more. - aurf= From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 20:41:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 876247E8 for ; Thu, 15 Aug 2013 20:41:23 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5CCD628A3 for ; Thu, 15 Aug 2013 20:41:23 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id lb1so1103755pab.26 for ; Thu, 15 Aug 2013 13:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=eYau0zMrkSwwB3Fhn8dqAicXmVC4Y625JGpBeZ/UWDM=; b=FUooYmG0t35D6JMvH5Bi1KnCNRCs0sMb88m+kb2Zu5uG83y2ZOGvUtkCWYzuUho580 ZJ/FXwcP9qg9jMNT6fS5sJ/fWG/isrgWkshCBBi5/rGFLJQTcOhxPhb8H2NTdWs9jSd5 zIYiYB0nOq8ZhJEnC654MvutLXzixJGwOQRCbmb70sroGn9oomus/9sKc8QTA1Por8Xd w31FSzVwyFSz5I3AhVQjLzGWdA5w88FvwMfyQmxgTqG/rKRSuhUupzLCVxwqYcGLrxDT SeuUkLLQlc5m5mrqUq5Q1sTpwBxwqvEQB3bjYnGzGAh+CXgE3WXCvGu9ZE0I9xePXxkF 5OIA== X-Received: by 10.67.14.67 with SMTP id fe3mr17641620pad.134.1376599283114; Thu, 15 Aug 2013 13:41:23 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id wr9sm1841540pbc.7.2013.08.15.13.41.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 13:41:21 -0700 (PDT) Subject: Re: copying milllions of small files and millions of dirs Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <20130815203528.GA87120@slackbox.erewhon.net> Date: Thu, 15 Aug 2013 13:41:19 -0700 Content-Transfer-Encoding: 7bit Message-Id: <8562C0D0-28DC-4962-9B1D-D50D7C36FBF2@gmail.com> References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> <20130815203528.GA87120@slackbox.erewhon.net> To: Roland Smith X-Mailer: Apple Mail (2.1085) Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 20:41:23 -0000 On Aug 15, 2013, at 1:35 PM, Roland Smith wrote: > On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote: >> Hi all, >> >> Is there a faster way to copy files over NFS? > > Can you log into your NAS with ssh or telnet? I can but thats a back channel link of 100Mb link. - aurf From owner-freebsd-questions@FreeBSD.ORG Thu Aug 15 21:21:55 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 412EC1CA for ; Thu, 15 Aug 2013 21:21:55 +0000 (UTC) (envelope-from iamatt@gmail.com) Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [IPv6:2a00:1450:400c:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C10A22A97 for ; Thu, 15 Aug 2013 21:21:54 +0000 (UTC) Received: by mail-we0-f175.google.com with SMTP id q58so992057wes.6 for ; Thu, 15 Aug 2013 14:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ekC369ntnDcMXyAVMTTOzOUAGTZRzrZTeHmBQ6fAzCo=; b=PjuW/ujrMEwnrD1owxm+W2XFBfs+5SblmDW3bC8h7y0QWz1DePi5eMu3FYtAQPeIVY llmYzf/gnEcOgyN7T6lN5lp/1AXZ+FNJ+A1kI+NOJ7nnXZCo7DPh2p2vuqPC+ptIZ3Wu 6H1MsP4TN7Nh3aj1D5DliSRC0wJ2JApja+s0mUDBHIYmBiEnS6sLOPaMVB9O+a8jFxgr mgUTtx/YVi292A4+n/cnLi0yaXUJGQ06A4d3Wc+VjvZ/qBF5JLm9BP9HR66k3FDEi18v tRlbNSZV+l2nFYSh71dtjgtvpKclCkursuoWgkrLUpAyB0FAZ6Xi2mYZSLY3Kxeupa4B a9aw== MIME-Version: 1.0 X-Received: by 10.180.37.164 with SMTP id z4mr3067872wij.30.1376601712865; Thu, 15 Aug 2013 14:21:52 -0700 (PDT) Received: by 10.217.50.196 with HTTP; Thu, 15 Aug 2013 14:21:52 -0700 (PDT) In-Reply-To: <611B3931-958B-4A46-A6BD-1CA541F32699@gmail.com> References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> <6483A298-6216-4306-913C-B3E0F4A3BC8D@gmail.com> <1F06D736-1019-4223-8546-5DBB0F5D878B@mac.com> <611B3931-958B-4A46-A6BD-1CA541F32699@gmail.com> Date: Thu, 15 Aug 2013 16:21:52 -0500 Message-ID: Subject: Re: copying milllions of small files and millions of dirs From: iamatt To: aurfalien Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 21:21:55 -0000 I would use ndmp. That is how we archive our nas crap isilon stuff but we have the backend accelerators Not sure if there is ndmp for FreeBSD. Like another poster said you are most likely i/o bound anyway. On Thu, Aug 15, 2013 at 2:14 PM, aurfalien wrote: > > On Aug 15, 2013, at 11:52 AM, Charles Swiger wrote: > > > On Aug 15, 2013, at 11:37 AM, aurfalien wrote: > >> On Aug 15, 2013, at 11:26 AM, Charles Swiger wrote: > >>> On Aug 15, 2013, at 11:13 AM, aurfalien wrote: > >>>> Is there a faster way to copy files over NFS? > >>> > >>> Probably. > >> > >> Ok, thanks for the specifics. > > > > You're most welcome. > > > >>>> Currently breaking up a simple rsync over 7 or so scripts which > copies 22 dirs having ~500,000 dirs or files each. > >>> > >>> There's a maximum useful concurrency which depends on how many disk > spindles and what flavor of RAID is in use; exceeding it will result in > thrashing the disks and heavily reducing throughput due to competing I/O > requests. Try measuring aggregate performance when running fewer rsyncs at > once and see whether it improves. > >> > >> Its 35 disks broken into 7 striped RaidZ groups with an SLC based ZIL > and no atime, the server it self has 128GB ECC RAM. I didn't have time to > tune or really learn ZFS but at this point its only backing up the data for > emergency purposes. > > > > OK. If you've got 7 independent groups and can use separate network > pipes for each parallel copy, then using 7 simultaneous scripts is likely > reasonable. > > > >>> Of course, putting half a million files into a single directory level > is also a bad idea, even with dirhash support. You'd do better to break > them up into subdirs containing fewer than ~10K files apiece. > >> > >> I can't, thats our job structure obviously developed by scrip kiddies > and not systems ppl, but I digress. > > > > Identifying something which is "broken as designed" is still helpful, > since it indicates what needs to change. > > > >>>> Obviously reading all the meta data is a PITA. > >>> > >>> Yes. > >>> > >>>> Doin 10Gb/jumbos but in this case it don't make much of a hoot of a > diff. > >>> > >>> Yeah, probably not-- you're almost certainly I/O bound, not network > bound. > >> > >> Actually it was network bound via 1 rsync process which is why I broke > up 154 dirs into 7 batches of 22 each. > > > > Oh. Um, unless you can make more network bandwidth available, you've > saturated the bottleneck. > > Doing a single copy task is likely to complete faster than splitting up > the job into subtasks in such a case. > > Well, using iftop, I am now at least able to get ~1Gb with 7 scripts going > were before it was in the 10Ms with 1. > > Also, physically looking at my ZFS server, it now shows the drives lights > are blinking faster, like every second. Were as before it was sort of > seldom, like every 3 seconds or so. > > I was thinking to perhaps zip dirs up and then xfer the file over but it > would prolly take as long to zip/unzip. > > This bloody project structure we have is nuts. > > - aurf > _______________________________________________ > 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 Aug 16 00:04:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 34607319 for ; Fri, 16 Aug 2013 00:04:20 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pd0-x234.google.com (mail-pd0-x234.google.com [IPv6:2607:f8b0:400e:c02::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0F93E2187 for ; Fri, 16 Aug 2013 00:04:20 +0000 (UTC) Received: by mail-pd0-f180.google.com with SMTP id y10so1428622pdj.39 for ; Thu, 15 Aug 2013 17:04:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; bh=2G5A536kvckH3H9JkqYcs2hWqcpKlNlc1bK95IqPXdg=; b=NOZMAqAWsn8/BLy824w7pkv7ZQQn9QAr6D64d7ZLTrhUEqieb3teMe5ofc7Qivi2Ki 57h4pZaUWjZKZB6NOGbAuYDki3EQIjHWWtaXAOXr4dZ/j2lxGZhQQlUDTgO7ShhGcrRD QvSHpQr9Ah07y0NN0jjbUwq8GJtd7oT98yqdhBQuaQo5RHosW/LY6MTKPJ+A4bmO317P nY7SlXbPqlPXDr9+4NJ3d9qGiCQE+8J0MiVGxmwB82sFqIMucj/jbhiZCPp2Mb7Am+CK d4q9j2cosTNOIVQRj5P73KtAu+5cXVfnr6G1+iIh4nTyJ4EZm4T0eXcs9tAxtg/ATwb+ 5HQw== X-Received: by 10.68.169.161 with SMTP id af1mr18212739pbc.22.1376611459252; Thu, 15 Aug 2013 17:04:19 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id iu10sm2216138pac.18.2013.08.15.17.04.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 17:04:18 -0700 (PDT) From: aurfalien Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: zilstat.ksh Date: Thu, 15 Aug 2013 17:04:15 -0700 Message-Id: To: FreeBSD Questions Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 00:04:20 -0000 Hi all, I seem to have dtrace enabled on my system which is great. However the dirs on FreeBSDs site for enabling dtrace are really easy to = follow so no big deal on that front. Hats off to the docs, very very = simple and thorough. Lovin the FreeBSD community. Ok, hugs over. When I run zilstat.ksh -p poolname I get; dtrace: invalid probe specifier=20 And it looks to print out the scripts contents with this nugget at the = end; : probe description fbt::txg_quiesce:entry does not match any probes Is this simply a matter of commenting whats related to this probe? Of course, I have no idea what I'm really saying here. But it sounds = cool. - aurf From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 03:20:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DE6EC69F for ; Fri, 16 Aug 2013 03:20:41 +0000 (UTC) (envelope-from dacoder@dcoder.net) Received: from ns0.dcoder.net (ns3.dcoder.net [128.177.28.124]) by mx1.freebsd.org (Postfix) with ESMTP id BC9912B35 for ; Fri, 16 Aug 2013 03:20:41 +0000 (UTC) Received: by ns0.dcoder.net (Postfix, from userid 1001) id 0C26D5DB58; Thu, 15 Aug 2013 23:12:02 -0400 (EDT) Date: Thu, 15 Aug 2013 23:12:01 -0400 From: dacoder@dcoder.net To: freebsd-questions@freebsd.org Subject: failure of libGL to compile on 9.2-PRERELEASE Message-ID: <20130816031201.GA12102@mail3.dcoder.net> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 03:20:41 -0000 i'm having trouble compiling libGL on 9.2-PRERELEASE using portmaster. firefox requires it. here's how the compile log file that i created ends: gmake[3]: Nothing to be done for `default'. gmake[3]: Leaving directory `/usr/ports/graphics/libGL/work/Mesa-8.0.5/src/mesa/x86' cc -c -o main/api_exec_es1.o main/api_exec_es1.c -DFEATURE_GL=1 -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -I../../include -I../../src/glsl -I../../src/mesa -I../../src/mapi -I../../src/gallium/include -I../../src/gallium/auxiliary -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall -Wmiss ing-prototypes -std=c99 -fno-strict-aliasing -fno-builtin-memcmp -O2 -pipe -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -fvisibility=hidden python2 -t -O -O ../../src/mapi/glapi/gen/gl_table.py -f ../../src/mapi/glapi/gen/gl_and_es_API.xml -m remap_table -c es2 > main/api_exec_es2_dispatch.h gmake[2]: Leaving directory `/usr/ports/graphics/libGL/work/Mesa-8.0.5/src/mesa' gmake[1]: Leaving directory `/usr/ports/graphics/libGL/work/Mesa-8.0.5/src' *** [do-build] Error code 1 Stop in /usr/ports/graphics/libGL. i'm not clear exactly what the error is nor, therefore, how to correct it, nor how to work around it. suggestions, please. david coder dacoder@dcoder.net From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 06:34:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4889A98F for ; Fri, 16 Aug 2013 06:34:18 +0000 (UTC) (envelope-from matthias@d2ux.org) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id BD255228D for ; Fri, 16 Aug 2013 06:34:16 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id CEC4784F25CD for ; Fri, 16 Aug 2013 08:34:09 +0200 (CEST) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id 6t6FcmxiHllV for ; Fri, 16 Aug 2013 08:34:08 +0200 (CEST) Received: from workstation.local (p5DDAB652.dip0.t-ipconnect.de [93.218.182.82]) by mail.s1.d2ux.org (Postfix) with ESMTPSA id EA91484F25CB for ; Fri, 16 Aug 2013 08:34:07 +0200 (CEST) Message-ID: <520DC77F.1060300@d2ux.org> Date: Fri, 16 Aug 2013 08:32:31 +0200 From: Matthias Petermann User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130526 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Laptop Fn key causes X (Gnome 2) to sleep immediately Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 06:34:18 -0000 Hello, I have a Lenovo X121e running Current with X and the Gnome desktop. Beside other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). When I press "Fn" without any additional key, the device immediately goes to sleep. As the X121e cannot resume properly from sleep, this forces me to reboot. This problem appears to be only exist when using Gnome / GDM. Pure X with TWM doesn't have this issue. I already tried to re-map the Fn key (I found in some mailing this might have the keycode 150) to a "less dangerous" key: $ xmodmap -e "keycode 150 = Delete" this brought no change. Has anyone an idea if Gnome re-maps the keys in some way or how I can disable this? At the moment this is the only blocker to use this Laptop for daily work, as I tend to accidently touch the Fn key more often than I want to reboot ;-) Thanks in advance & kind regards, Matthias [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 06:34:22 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E62B5990 for ; Fri, 16 Aug 2013 06:34:22 +0000 (UTC) (envelope-from matthias@d2ux.net) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id A50C1228F for ; Fri, 16 Aug 2013 06:34:22 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id C361F84F25CB for ; Fri, 16 Aug 2013 08:34:21 +0200 (CEST) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id KLHk0ptwpwDb for ; Fri, 16 Aug 2013 08:34:19 +0200 (CEST) Received: from workstation.local (p5DDAB652.dip0.t-ipconnect.de [93.218.182.82]) by mail.s1.d2ux.org (Postfix) with ESMTPSA id D6C9784F25CA for ; Fri, 16 Aug 2013 08:34:19 +0200 (CEST) Message-ID: <520DC78D.4090100@d2ux.net> Date: Fri, 16 Aug 2013 08:32:45 +0200 From: Matthias Petermann User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130526 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Laptop Fn key causes X (Gnome 2) to sleep immediately Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 06:34:23 -0000 Hello, I have a Lenovo X121e running Current with X and the Gnome desktop. Beside other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). When I press "Fn" without any additional key, the device immediately goes to sleep. As the X121e cannot resume properly from sleep, this forces me to reboot. This problem appears to be only exist when using Gnome / GDM. Pure X with TWM doesn't have this issue. I already tried to re-map the Fn key (I found in some mailing this might have the keycode 150) to a "less dangerous" key: $ xmodmap -e "keycode 150 = Delete" this brought no change. Has anyone an idea if Gnome re-maps the keys in some way or how I can disable this? At the moment this is the only blocker to use this Laptop for daily work, as I tend to accidently touch the Fn key more often than I want to reboot ;-) Thanks in advance & kind regards, Matthias [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 06:43:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E4922DA6 for ; Fri, 16 Aug 2013 06:43:20 +0000 (UTC) (envelope-from aymeric@kuri.mu) Received: from borok.kuri.mu (borok.kuri.mu [193.170.194.196]) by mx1.freebsd.org (Postfix) with ESMTP id A63282329 for ; Fri, 16 Aug 2013 06:43:20 +0000 (UTC) Received: from kokonatsu.kuri.mu (localhost [127.0.0.1]) by borok.kuri.mu (Postfix) with ESMTP id E0DD2E008A for ; Fri, 16 Aug 2013 08:43:12 +0200 (CEST) Received: from 5.135.183.114 (SquirrelMail authenticated user aymeric) by kokonatsu.kuri.mu with HTTP; Fri, 16 Aug 2013 08:43:13 +0200 Message-ID: <5876de2d649be35ec512c92fd5f0d8c9.squirrel@kokonatsu.kuri.mu> In-Reply-To: <5206644C.6060803@riseup.net> References: <20130809123643.1b6f7fb6@scorpio> <52051B6A.30209@tundraware.com> <5206644C.6060803@riseup.net> Date: Fri, 16 Aug 2013 08:43:13 +0200 Subject: Tex Live vs. print/texlive-full (was Re: texlive and package updating) From: "Aymeric Mansoux" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 06:43:21 -0000 Hello, On Sat, August 10, 2013 6:03 pm, Nikola Pavlović wrote: > On 09/08/13 18:40, Tim Daneliuk wrote: >> I've given up on all OS distribution-based TexLive drops. I install >> texlive manually from their installer and then run tlmgr under >> cron control nightly to keep it up-to-date. I do this on >> FreeBSD (my primary dev and server platform) as well as all >> linux instances in my environment. It makes things a lot simpler. >> > > How do you manage dependency tracking errors? The last time I've > installed it the way you do was on Slackware and since it doesn't do any > dependency tracking there were no problems (as long as the binaries were > in PATH). I can imagine ports and pkg tools on FreeBSD complaining > about missing TeX packages, and AFAIK Debian based Linux distributions > will certainly complain (I think there is a workaround, but it involves > messing with dpkg). I am also curious about this one. Any guideline or special considerations regarding the use of the Tex Live distribution straight into FreeBSD would be very helpful. Or is it just a matter of following this: http://www.tug.org/texlive/quickinstall.html While previous texlive-full port seemed to work fine. I haven't been able to install it on new machines as it seems something is wrong with japanese/tex-ptex not able to figure out where kpathsea and zlib are, or something like that. It feels that it is stuck in some sort of transition between few ports to many ports to provide Tex Live in the Collection (speculating...). Any feedback on this would be appreciated! a. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 06:44:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7B8B2E4A for ; Fri, 16 Aug 2013 06:44:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [IPv6:2a00:1450:400c:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 17B89233E for ; Fri, 16 Aug 2013 06:44:13 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id c11so1249945wgh.8 for ; Thu, 15 Aug 2013 23:44:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=VykME9pG6WFQRUZaLTw5EM9xpsjAjCJwUXrx38Qyo6Y=; b=Q58+lQ17IORdKEnuGp0bsopQ+deznRWWm/oCwEVPjrFKjEIiByRFEk7vvFovKmjNCz /ahzflFvo0r3JooMBdtirw36Ypemx8eI3Nezlb3UEhH2/G7vntltSOfEGqTQZwULqYqM IlonssMIVWVQl3xwqLiQqK1neDptwOj1H5eDkomDG3KdthTJps08tbZYNwqlXX5doxWn C5ozATBgIb9XCFCPPsh2yiCnKiVEow28kzUmejS4LohQJ+Df9bA+fV8MDYFX2ZeMd0RJ gA589QUlflt3/9Cgx9gUAMpSVTviXOfNBalIe3j7tSDODkxDprvPY5gJAYdSLkIfaxgh 7VlA== MIME-Version: 1.0 X-Received: by 10.194.201.202 with SMTP id kc10mr56527wjc.1.1376635452501; Thu, 15 Aug 2013 23:44:12 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.116.136 with HTTP; Thu, 15 Aug 2013 23:44:12 -0700 (PDT) In-Reply-To: <520DC77F.1060300@d2ux.org> References: <520DC77F.1060300@d2ux.org> Date: Thu, 15 Aug 2013 23:44:12 -0700 X-Google-Sender-Auth: m9417V6drozTy8wg1kP6Vh0ExRs Message-ID: Subject: Re: Laptop Fn key causes X (Gnome 2) to sleep immediately From: Adrian Chadd To: Matthias Petermann Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 06:44:14 -0000 Hi! I'm glad someone else is seeing this! I have the same behaviour with KDE4 on my T60 and T400. If I go to run amiwm (because hey, Workbench is awesome!) it doesn't happen. .. and bah, I wish the resume worked for you. It works fine for me on T42i, T60, T400. -adrian On 15 August 2013 23:32, Matthias Petermann wrote: > > Hello, > > I have a Lenovo X121e running Current with X and the Gnome desktop. Beside > other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). > When I press "Fn" without any additional key, the device immediately goes > to sleep. As the X121e cannot resume properly from sleep, this forces me to > reboot. > > This problem appears to be only exist when using Gnome / GDM. > Pure X with TWM doesn't have this issue. > > I already tried to re-map the Fn key (I found in some mailing this might > have the keycode 150) to a "less dangerous" key: > $ xmodmap -e "keycode 150 = Delete" > this brought no change. > > Has anyone an idea if Gnome re-maps the keys in some way or how I can > disable this? At the moment this is the only blocker to use this Laptop for > daily work, as I tend to accidently touch the Fn key more often than I want > to reboot ;-) > > Thanks in advance & kind regards, > Matthias > > > [1] http://docs.freebsd.org/cgi/**getmsg.cgi?fetch=544740+** > 551865+/usr/local/www/db/text/**2013/freebsd-current/20130707.** > freebsd-current > ______________________________**_________________ > 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 Aug 16 06:46:16 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A982FF0D for ; Fri, 16 Aug 2013 06:46:16 +0000 (UTC) (envelope-from nicolas.kowalski@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 339502363 for ; Fri, 16 Aug 2013 06:46:16 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id en1so470284wid.14 for ; Thu, 15 Aug 2013 23:46:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=/yj8VhCkXszg1OtLuPkXz3LFPm8ZT1W48MA2ujTM5F0=; b=ZCsW8W6iSPaEMVBRR/+6EeUEjXq6xW+S56pf52wKXSV//BzA+0aw8wdHW7D46VCkkW 6m6rzQIvKfirZT2RlhptKr4couYmGuAc5WyaHCgQ1VpHS+vs+omuZQFiw8k2QnKhrhfi uceTwUeXM4ZhSr7R5PaX3qKjusXBbccWlwRAp9tw5fkcHYbKSJNV5kM5AuqPIKYYmhB+ MtoGpxJA7d+MRSVxxvOIQruYq0gW82y5yvkvl95xcTKBQKt0c0jTlKXdOYoeGyya/G2Z kRSfA2imFIt4ZqIysQtA5hYLh4V03ftA5kQwRqezSx3lcGfeZp0O0yxqna4TStOqNPyJ 4A5A== X-Received: by 10.180.84.65 with SMTP id w1mr4247829wiy.4.1376635574554; Thu, 15 Aug 2013 23:46:14 -0700 (PDT) Received: from petole.demisel.net ([2a01:e35:8ae7:65f0::2]) by mx.google.com with ESMTPSA id r6sm113261wiw.0.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 23:46:13 -0700 (PDT) Received: by petole.demisel.net (Postfix, from userid 1000) id 33255405BF; Fri, 16 Aug 2013 08:46:12 +0200 (CEST) Date: Fri, 16 Aug 2013 08:46:12 +0200 From: Nicolas KOWALSKI To: freebsd-questions@freebsd.org Subject: Re: copying milllions of small files and millions of dirs Message-ID: <20130816064612.GH1190@petole.demisel.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 06:46:16 -0000 On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote: > Is there a faster way to copy files over NFS? I would use find+cpio. This handles hard links, permissions, and in case of later runs, will not copy files if they already exist on the destination. # cd /source/dir # find . | cpio -pvdm /destination/dir -- Nicolas From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 08:44:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 27653588 for ; Fri, 16 Aug 2013 08:44:36 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B4F19288B for ; Fri, 16 Aug 2013 08:44:35 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id f14so558171wiw.13 for ; Fri, 16 Aug 2013 01:44:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nMYq3Ex/wiwUyX28dPECAZIXWacKnP+znoGTbh6Xg58=; b=X6F83hOW7Jg2ti6peGlCkeDgW9qKQ5W2aexBA5vDgMrsSLMaA5C/RLfW2Q0bUWTIyc jLCtZUkcPRfd6qo0f+X4geJ81uJnFwO9/h7eMAb6OFPV/I8gH3OHMIPDj3AXrfC8BaD/ /4eSA7jtEeASOjpsRJSiOwIkECp3w4S9Mqf8gzg6FDUMKJf1JLViqAZYP/WTLvMdhE7O DZwpUj8PYQSMDUq0PpH1zHoENF+Y71M8/tgMj+NvVEgh3cOzkuOp5fevtjfOdZEi+TFR 7Ks+elRRsoK/BSLgNya0PIYwsgkagXJNtP6vJPeCDGsYRYAJMd/YjtTtoT/gnejlQPaA Dkfw== MIME-Version: 1.0 X-Received: by 10.180.85.133 with SMTP id h5mr4473422wiz.1.1376642674001; Fri, 16 Aug 2013 01:44:34 -0700 (PDT) Received: by 10.216.67.196 with HTTP; Fri, 16 Aug 2013 01:44:33 -0700 (PDT) Date: Fri, 16 Aug 2013 09:44:33 +0100 Message-ID: Subject: Vbox shared folders and freebsd guests From: krad To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 08:44:36 -0000 Hi, Do shared folders from vbox hosts to freebsd guests work as i cant seem to mount them? I have the guest additions installed fine. s11 host vbox@radical:~$ VBoxManage list runningvms "router" {daa9e421-7730-4f77-b97c-d931c107e50d} vbox@radical:~$ VBoxManage list runningvms -l| ggrep -iA 2 share Shared folders: Name: 'new', Host path: '/videos/new' (machine mapping), writable vbox@radical:~$ uname -a SunOS radical.intranet 5.11 11.1 i86pc i386 i86pc bsd guest [root@carrera /home/krad]# kldstat -v | grep -i vb 20 1 0xffffffff81c12000 22c77 vboxguest.ko (/boot/modules/vboxguest.ko) 500 pci/vboxguest [root@carrera /home/krad]# ls -l /| grep mnt drwxrwxrwx 13 root wheel 512 Aug 12 2012 mnt [root@carrera /home/krad]# mount -t vboxsf new /mnt mount: new: Operation not supported by device [root@carrera /home/krad]# ps auxwww| grep VB root 1204 0.0 0.1 32200 2832 ?? Ss 9:19AM 0:00.16 /usr/local/sbin/VBoxService From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 09:05:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 83FE3942 for ; Fri, 16 Aug 2013 09:05:01 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog116.obsmtp.com (eu1sys200aog116.obsmtp.com [207.126.144.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D36ED298D for ; Fri, 16 Aug 2013 09:05:00 +0000 (UTC) Received: from mail-wi0-f169.google.com ([209.85.212.169]) (using TLSv1) by eu1sys200aob116.postini.com ([207.126.147.11]) with SMTP ID DSNKUg3rIxl4maW5UrdbnREuWNRcSUKYmEis@postini.com; Fri, 16 Aug 2013 09:05:00 UTC Received: by mail-wi0-f169.google.com with SMTP id f14so1280334wiw.0 for ; Fri, 16 Aug 2013 02:04:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:sender:date:from:message-id:to:subject:cc :reply-to:in-reply-to; bh=fxD1Cq56jEBxXC5QEPssiuQqN6UoT9Z+0KA6OdWLVKw=; b=knm9MfDZJmwDGF+5l4gJZXKaTiN50TNcfbbMjzFwN+GIFGr5ohFL6HafGhmdZ0Ooxp dpIa9VzK243da48hp/4mkdr/uuqdrGmBOE1GAuezLcFRl/oAEI1f7PKiYEpCGQo404kS H3vwbzxLzSus9VYt+wKYu+u+57TUNmGB6OZTqp/I8FpVTMKOz0WKicnDFqS30iC9HPu4 w+fQPzbojov3Voa1C5BxPwwhX3PjYNMS/eBlF7LInR/k31eCpIiwVG0Ha0RQy2m1phnL pSUlCh7JfwGmy2UI5Z35yohTytOUiIBFBtJvrGRSdT0zPH7s+Xwo6OXJ9ybnV1XGhW4n 4I6A== X-Gm-Message-State: ALoCoQlAOR1qFFC8KJBPRpsn6GOLb4z2t8eE9d9PZdSzHY9Hbp1alxNBfvEmt4nqrcO5lZwBhAeNblwiPshokiKg2C0Em0TQQsRjF4sk2kyQqaozZW7DbHfQ0WRbjdDaMXLF3tjVQLu7fazdbohnrpgrf01T7f/cLFoiKDKKfTdSKwIlOZuipmIfYdqBOVE+CnK61y0Icztm X-Received: by 10.180.182.68 with SMTP id ec4mr4407823wic.40.1376643869774; Fri, 16 Aug 2013 02:04:29 -0700 (PDT) X-Received: by 10.180.182.68 with SMTP id ec4mr4407820wic.40.1376643869701; Fri, 16 Aug 2013 02:04:29 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id li9sm6780029wic.2.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Aug 2013 02:04:28 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r7G94Q9U060992 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 16 Aug 2013 10:04:26 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r7G94QNZ060991; Fri, 16 Aug 2013 10:04:26 +0100 (BST) (envelope-from mexas) Date: Fri, 16 Aug 2013 10:04:26 +0100 (BST) From: Anton Shterenlikht Message-Id: <201308160904.r7G94QNZ060991@mech-cluster241.men.bris.ac.uk> To: cpghost@cordula.ws, mexas@bris.ac.uk Subject: Re: where to start with PGP/GPG? In-Reply-To: <520D1E6F.5070804@cordula.ws> Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 09:05:01 -0000 >From cpghost@cordula.ws Thu Aug 15 20:20:49 2013 > >On 08/15/13 14:16, Anton Shterenlikht wrote: >> I never needed to use pgp till now. >> So I'm not sure where to start. >> Is security/gnupg the way to go? >> Any other advice? > >security/gnupg + security/pinentry is the way to go. I wonder if pinentry should be made a required port for gnupg. This is because "gpg2 --gen-keys" refuses to run unless pinentry is installed. Perhaps this is up the maintaniner, but to me this sounds like a requirement. Anton From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 09:24:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A138EBBC for ; Fri, 16 Aug 2013 09:24:25 +0000 (UTC) (envelope-from lumiwa@gmail.com) Received: from mail-qe0-x236.google.com (mail-qe0-x236.google.com [IPv6:2607:f8b0:400d:c02::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5FE332A60 for ; Fri, 16 Aug 2013 09:24:25 +0000 (UTC) Received: by mail-qe0-f54.google.com with SMTP id i11so1082971qej.27 for ; Fri, 16 Aug 2013 02:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=0V7wgUtIS38j45TKW16abTVhuyk2gCdLA/Q7yjzmSB8=; b=0Rq0l9dIxz1w0ke6LvbaIYlndt1wfTa+mIavfMPKxNhvNhQkJwNPMRC5ts9IjZsovb C1SnZM2Xkx4eSGcK0gr6fcpQuBLZRiTvPwYLvjhblxhc6g/Mk6Jj59x7tshxv+/TIr0X NRVA+Ok9hKXS9ePITRofDkvhqWVy3A6lup8XAnFnaiYjIbwIsp4TltnKigZ890d8hmOA nzLNioQTXEZJiIxMrMcGflL/+bdYR3Ntvi24XvIXC3gfeng/LEsVs5mJM4lvd7kD8R3E IVtmBtvmWPpgxQsRN9yXcFf7fJn1U4Wl/IvaPnD3TepQIDvdt+wCArcsMh2ETbrzNkx9 eSnQ== X-Received: by 10.224.74.194 with SMTP id v2mr2192200qaj.35.1376645064536; Fri, 16 Aug 2013 02:24:24 -0700 (PDT) Received: from [192.168.2.254] (pool-64-223-171-164.man.east.myfairpoint.net. [64.223.171.164]) by mx.google.com with ESMTPSA id lk8sm343592qeb.3.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Aug 2013 02:24:23 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: FreeBSD 9.2 From: ajtiM In-Reply-To: Date: Fri, 16 Aug 2013 05:24:21 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Doug Hardie X-Mailer: Apple Mail (2.1508) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 09:24:25 -0000 Thank you very much. I will wait for 9.2 release or switch to Linux which works but it is not = hat I want it=85 On Aug 15, 2013, at 4:14 PM, Doug Hardie wrote: >=20 > On 15 August 2013, at 06:37, ajtiM wrote: >=20 >>=20 >> How will be ATI supported in FreeBSD 9.2, please? I like bluetooth = mouse. Is it supported? >>=20 >> I try Linux Mint and it works perfect. I am downloading live CD for = NetBSD (jibbed) and I will see how is works but I like to install = FreeBSD (not double boot, just FreeBSD). >>=20 >=20 > See: = http://docs.freebsd.org/cgi/mid.cgi?28915479-B712-4ED0-A041-B75F2F59FECA >=20 > Thats not a complete answer as I don't use any of the user interface = stuff. However, it will give a starting point for you. I have updated = my two newest minis to run 9.2 (latest candidate). >=20 >=20 Mitja ---- http://www.redbubble.com/people/lumiwa From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 11:25:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EC41E8FF; Fri, 16 Aug 2013 11:25:44 +0000 (UTC) (envelope-from matthias@d2ux.org) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id A7D68207D; Fri, 16 Aug 2013 11:25:43 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id 1FDA984F25F7; Fri, 16 Aug 2013 13:25:43 +0200 (CEST) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id W-6dOImNMt16; Fri, 16 Aug 2013 13:25:41 +0200 (CEST) Received: from www.s1.d2ux.org (unknown [10.0.0.4]) by mail.s1.d2ux.org (Postfix) with ESMTP id 68E9784F25DB; Fri, 16 Aug 2013 13:25:41 +0200 (CEST) Received: from 188.92.33.51 ([188.92.33.51]) by d2ux.org (Horde Framework) with HTTP; Fri, 16 Aug 2013 13:25:41 +0200 Date: Fri, 16 Aug 2013 13:25:41 +0200 Message-ID: <20130816132541.Horde.O4zG8_4GjKp7OfgBJ5VaQg1@d2ux.org> From: Matthias Petermann To: Adrian Chadd Subject: Re: Laptop Fn key causes X (Gnome 2) to sleep immediately References: <520DC77F.1060300@d2ux.org> In-Reply-To: User-Agent: Internet Messaging Program (IMP) H5 (6.1.3) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 11:25:45 -0000 Hi Adrian, Zitat von Adrian Chadd : > Hi! > > I'm glad someone else is seeing this! > > I have the same behaviour with KDE4 on my T60 and T400. If I go to run > amiwm (because hey, Workbench is awesome!) it doesn't happen. > > .. and bah, I wish the resume worked for you. It works fine for me on T42i, > T60, T400. Thanks for your response. The fact it happens also in KDE appears interesting... so the root cause might exist in a component on top of pure X which is shared by Gnome and KDE. I will definitely do more investigation on this at the weekend. Hopefully some time suspend/resume will also work on the newer Lenovo models (I would be curious if the wakeup problem is Intel/KMS only or if also the NVidia models e.g. T430 NVS are affected). Kind regards, Matthias -- Matthias Petermann From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 11:59:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6BD89BC1; Fri, 16 Aug 2013 11:59:10 +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 2E98A21D0; Fri, 16 Aug 2013 11:59:09 +0000 (UTC) Received: from r56.edvax.de (port-92-195-239-168.dynamic.qsc.de [92.195.239.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id C49552774D; Fri, 16 Aug 2013 13:59:01 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r7GBwuFI002100; Fri, 16 Aug 2013 13:58:56 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 16 Aug 2013 13:58:56 +0200 From: Polytropon To: Matthias Petermann Subject: Re: Laptop Fn key causes X (Gnome 2) to sleep immediately Message-Id: <20130816135856.9d1bfbec.freebsd@edvax.de> In-Reply-To: <20130816132541.Horde.O4zG8_4GjKp7OfgBJ5VaQg1@d2ux.org> References: <520DC77F.1060300@d2ux.org> <20130816132541.Horde.O4zG8_4GjKp7OfgBJ5VaQg1@d2ux.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Adrian Chadd , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 11:59:10 -0000 On Fri, 16 Aug 2013 13:25:41 +0200, Matthias Petermann wrote: > Hi Adrian, > > Zitat von Adrian Chadd : > > > Hi! > > > > I'm glad someone else is seeing this! > > > > I have the same behaviour with KDE4 on my T60 and T400. If I go to run > > amiwm (because hey, Workbench is awesome!) it doesn't happen. > > > > .. and bah, I wish the resume worked for you. It works fine for me on T42i, > > T60, T400. > > Thanks for your response. The fact it happens also in KDE appears > interesting... so the root cause might exist in a component on top of > pure X which is shared by Gnome and KDE. I have tested a Lenovo R61i running Xfce, and I don't experience the strange behaviour desribed. However, using the "xev" event tester, the keycode for the Fn key is being displayed as 227, and the KeyPress event is held (!) until the key is released, which means KeyPress and KeyRelease happen immediately after each other. Because my IBM T60p is still in the ICU, I can't test this, but I would assume to get a similar result. > Hopefully some time suspend/resume will also work on the newer Lenovo > models (I would be curious if the wakeup problem is Intel/KMS only or > if also the NVidia models e.g. T430 NVS are affected). It would also be nice if "as much as possible" would work on the older models (including the "docking stations"), because Thinkpads seem to live much longer (and therefore will probably many more years in productive use), compared to their crappy "competitors" on the laptop market. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 12:15:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1005AFDD for ; Fri, 16 Aug 2013 12:15:45 +0000 (UTC) (envelope-from magik@roorback.net) Received: from mail-bk0-f50.google.com (mail-bk0-f50.google.com [209.85.214.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 91712231C for ; Fri, 16 Aug 2013 12:15:43 +0000 (UTC) Received: by mail-bk0-f50.google.com with SMTP id mz11so629309bkb.9 for ; Fri, 16 Aug 2013 05:15:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=fJ3+TdgjMImK9JkY2IQ+3eFHAGCcvFRBgh+FFCJFz8o=; b=FEifW2uhYwcQ8SdZqGOkBKwdZAI+iHy+sfTwR6EB/WMSMsro1BOleCZULyPeRDiM71 nfV3FS7EsInT8yvw+9f2fb4YQj0ppH4QkTt0zkejva8ybenj5uBbRkxq3pVh8yIwxx0r 0OCnFpsPyWy6YbRpZwZuf0Iiw6FcFUKSjGIVbzpyx251Uw3Twqe6Hjd2v9ryFEhsp7a8 +iZxn0wXfbwmv5lZK7Wu2MTkskmueO5JUXmyRx10wi1J5SsAlWRaW9v2HOeLP8LAfQON rFATTwj+sDIYf5/VaDeXlH8Jc76yhKi+8m23iZP4I27jZtpOqnMpviw356zuwf+SAMyP Ww8Q== X-Gm-Message-State: ALoCoQmJm7hWBHAVKVugFuX3MoWVP3JYnSyjOmqNb+vgNf6TrNiJbvz/DAbHYGVMWuyr0PnicU5O X-Received: by 10.204.63.12 with SMTP id z12mr110015bkh.44.1376653706152; Fri, 16 Aug 2013 04:48:26 -0700 (PDT) Received: from starpad.nine (user-109-243-168-132.play-internet.pl. [109.243.168.132]) by mx.google.com with ESMTPSA id qx2sm236993bkb.16.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Aug 2013 04:48:25 -0700 (PDT) Message-ID: <520E1182.1030303@roorback.net> Date: Fri, 16 Aug 2013 13:48:18 +0200 From: Grzegorz Blach User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130808 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Laptop Fn key causes X (Gnome 2) to sleep immediately References: <520DC77F.1060300@d2ux.org> <20130816132541.Horde.O4zG8_4GjKp7OfgBJ5VaQg1@d2ux.org> In-Reply-To: <20130816132541.Horde.O4zG8_4GjKp7OfgBJ5VaQg1@d2ux.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 12:15:45 -0000 Hi, I also had problem with Fn key. I'm using Lenovo T430 and Enlightenment desktop environment. I resolved this issue by unbinding XF86Sleep in Enlightenment settings. Cheers, Grzegorz Blach From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 12:43:46 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6CFBE799 for ; Fri, 16 Aug 2013 12:43:46 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (mwlucas-2-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:b9c::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 303F12499 for ; Fri, 16 Aug 2013 12:43:46 +0000 (UTC) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.14.5/8.14.5) with ESMTP id r7GChi0I021018 for ; Fri, 16 Aug 2013 08:43:44 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.14.5/8.14.5/Submit) id r7GChihm021017 for questions@freebsd.org; Fri, 16 Aug 2013 08:43:44 -0400 (EDT) (envelope-from mwlucas) Date: Fri, 16 Aug 2013 08:43:44 -0400 From: "Michael W. Lucas" To: questions@freebsd.org Subject: pkgng problem Message-ID: <20130816124343.GA21009@bewilderbeast.blackhelicopters.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Fri, 16 Aug 2013 08:43:44 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 12:43:46 -0000 Hi, I'm sure someone has had this before, but I can't find any reference to it. # pkg upgrade Updating repository catalogue digests.txz 100% 997KB 997.1KB/s 997.1KB/s 00:00 packagesite.txz 100% 5530KB 1.8MB/s 3.2MB/s 00:03 pkg: Invalid manifest format: mapping values are not allowed in this context Incremental update completed, 0 packages processed: 0 packages updated, 0 removed and 22568 added. pkg: No digest falling back on legacy catalog format packagesite repository catalogue is up-to-date, no need to fetch fresh copy Nothing to do This is from a machine freshly converted to pkgng. Any suggestions? Thanks, ==ml -- Michael W. Lucas - mwlucas@michaelwlucas.com, Twitter @mwlauthor http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e coupon code "ILUVMICHAEL" gets you 30% off & helps me. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 13:04:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 786519DA for ; Fri, 16 Aug 2013 13:04:08 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EAED92589 for ; Fri, 16 Aug 2013 13:04:07 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r7GD41jj031230 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 16 Aug 2013 14:04:02 +0100 (BST) (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r7GD41jj031230 Authentication-Results: smtp.infracaninophile.co.uk/r7GD41jj031230; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <520E2341.6000902@freebsd.org> Date: Fri, 16 Aug 2013 14:04:01 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkgng problem References: <20130816124343.GA21009@bewilderbeast.blackhelicopters.org> In-Reply-To: <20130816124343.GA21009@bewilderbeast.blackhelicopters.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 13:04:08 -0000 On 16/08/2013 13:43, Michael W. Lucas wrote: > Hi, > > I'm sure someone has had this before, but I can't find any reference > to it. > > # pkg upgrade > Updating repository catalogue > digests.txz 100% 997KB 997.1KB/s 997.1KB/s 00:00 > packagesite.txz 100% 5530KB 1.8MB/s 3.2MB/s 00:03 > pkg: Invalid manifest format: mapping values are not allowed in this context > Incremental update completed, 0 packages processed: > 0 packages updated, 0 removed and 22568 added. > pkg: No digest falling back on legacy catalog format > packagesite repository catalogue is up-to-date, no need to fetch fresh copy > Nothing to do > > This is from a machine freshly converted to pkgng. > > Any suggestions? What repositories are you using? Please show us the result of: pkg -vv | sed -ne '/Repositories/,$p' I'd hazard a guess that the repository either had a bit of a flail when creating the catalogue, or it's running some ancient version of pkg. "mapping values are not allowed in this context" is an error message from libyaml, so you've got a +MANIFEST file (or the partial copy of it that gets incorporated into the repository catalogue) which it thinks contains a mapping ( a sequence of key : value pairs ) when the YAML parser was expecting an array or whatever. Cheers, Matthew From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 13:49:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B84A6A49 for ; Fri, 16 Aug 2013 13:49:42 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 442B6280D for ; Fri, 16 Aug 2013 13:49:41 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.2]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id r7GDnepR087755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 16 Aug 2013 08:49:40 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 16 Aug 2013 08:49:40 -0500 From: dweimer To: freebsd-questions@freebsd.org Subject: Re: ZFS Snapshots Not able to be accessed under .zfs/snapshot/name Organization: dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <776e30b627bf30ece7545e28b2a2e064@dweimer.net> References: <22a7343f4573d6faac5aec1d7c9a1135@dweimer.net> <520C405A.6000408@ShaneWare.Biz> <776e30b627bf30ece7545e28b2a2e064@dweimer.net> Message-ID: <23413f3a4b95328c0bc838e6ffad364d@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 13:49:42 -0000 On 08/15/2013 10:00 am, dweimer wrote: > On 08/14/2013 9:43 pm, Shane Ambler wrote: >> On 14/08/2013 22:57, dweimer wrote: >>> I have a few systems running on ZFS with a backup script that creates >>> snapshots, then backs up the .zfs/snapshot/name directory to make >>> sure >>> open files are not missed. This has been working great but all of >>> the >>> sudden one of my systems has stopped working. It takes the snapshots >>> fine, zfs list -t spnapshot shows the snapshots, but if you do an ls >>> command, on the .zfs/snapshot/ directory it returns not a directory. >>> >>> part of the zfs list output: >>> >>> NAME USED AVAIL REFER MOUNTPOINT >>> zroot 4.48G 29.7G 31K none >>> zroot/ROOT 2.92G 29.7G 31K none >>> zroot/ROOT/91p5-20130812 2.92G 29.7G 2.92G legacy >>> zroot/home 144K 29.7G 122K /home >>> >>> part of the zfs list -t snapshot output: >>> >>> NAME USED AVAIL REFER >>> MOUNTPOINT >>> zroot/ROOT/91p5-20130812@91p5-20130812--bsnap 340K - 2.92G - >>> zroot/home@home--bsnap 22K - 122K - >>> >>> ls /.zfs/snapshot/91p5-20130812--bsnap/ >>> Does work at the right now, since the last reboot, but wasn't always >>> working, this is my boot environment. >>> >>> if I do ls /home/.zfs/snapshot/, result is: >>> ls: /home/.zfs/snapshot/: Not a directory >>> >>> if I do ls /home/.zfs, result is: >>> ls: snapshot: Bad file descriptor >>> shares >>> >>> I have tried zpool scrub zroot, no errors were found, if I reboot the >>> system I can get one good backup, then I start having problems. >>> Anyone >>> else ever ran into this, any suggestions as to a fix? >>> >>> System is running FreeBSD 9.1-RELEASE-p5 #1 r253764: Mon Jul 29 >>> 15:07:35 >>> CDT 2013, zpool is running version 28, zfs is running version 5 >>> >> >> >> I can say I've had this problem. Not certain what fixed it. I do >> remember I decided to stop snapshoting if I couldn't access them and >> deleted existing snapshots. I later restarted the machine before I >> went back for another look and they were working. >> >> So my guess is a restart without existing snapshots may be the key. >> >> Now if only we could find out what started the issue so we can stop it >> happening again. > > I had actually rebooted it last night, prior to seeing this message, I > do know it didn't have any snapshots this time. As I am booting from > ZFS using boot environments I may have had an older boot environment > still on the system the last time it was rebooted. Backups ran great > last night after the reboot, and I was able to kick off my pre-backup > job and access all the snapshots today. Hopefully it doesn't come > back, but if it does I will see if I can find anything else wrong. > > FYI, > It didn't shutdown cleanly, so if this helps anyone find the issue, > this is from my system logs: > Aug 14 22:08:04 cblproxy1 kernel: > Aug 14 22:08:04 cblproxy1 kernel: Fatal trap 12: page fault while in > kernel mode > Aug 14 22:08:04 cblproxy1 kernel: cpuid = 0; apic id = 00 > Aug 14 22:08:04 cblproxy1 kernel: fault virtual address = 0xa8 > Aug 14 22:08:04 cblproxy1 kernel: fault code = supervisor > write data, page not present > Aug 14 22:08:04 cblproxy1 kernel: instruction pointer = > 0x20:0xffffffff808b0562 > Aug 14 22:08:04 cblproxy1 kernel: stack pointer = > 0x28:0xffffff80002238f0 > Aug 14 22:08:04 cblproxy1 kernel: frame pointer = > 0x28:0xffffff8000223910 > Aug 14 22:08:04 cblproxy1 kernel: code segment = base 0x0, > limit 0xfffff, type 0x1b > Aug 14 22:08:04 cblproxy1 kernel: = DPL 0, pres 1, long 1, def32 0, > gran 1 > Aug 14 22:08:04 cblproxy1 kernel: processor eflags = interrupt > enabled, resume, IOPL = 0 > Aug 14 22:08:04 cblproxy1 kernel: current process = 1 > (init) > Aug 14 22:08:04 cblproxy1 kernel: trap number = 12 > Aug 14 22:08:04 cblproxy1 kernel: panic: page fault > Aug 14 22:08:04 cblproxy1 kernel: cpuid = 0 > Aug 14 22:08:04 cblproxy1 kernel: KDB: stack backtrace: > Aug 14 22:08:04 cblproxy1 kernel: #0 0xffffffff808ddaf0 at > kdb_backtrace+0x60 > Aug 14 22:08:04 cblproxy1 kernel: #1 0xffffffff808a951d at panic+0x1fd > Aug 14 22:08:04 cblproxy1 kernel: #2 0xffffffff80b81578 at > trap_fatal+0x388 > Aug 14 22:08:04 cblproxy1 kernel: #3 0xffffffff80b81836 at > trap_pfault+0x2a6 > Aug 14 22:08:04 cblproxy1 kernel: #4 0xffffffff80b80ea1 at trap+0x2a1 > Aug 14 22:08:04 cblproxy1 kernel: #5 0xffffffff80b6c7b3 at calltrap+0x8 > Aug 14 22:08:04 cblproxy1 kernel: #6 0xffffffff815276da at > zfsctl_umount_snapshots+0x8a > Aug 14 22:08:04 cblproxy1 kernel: #7 0xffffffff81536766 at > zfs_umount+0x76 > Aug 14 22:08:04 cblproxy1 kernel: #8 0xffffffff809340bc at > dounmount+0x3cc > Aug 14 22:08:04 cblproxy1 kernel: #9 0xffffffff8093c101 at > vfs_unmountall+0x71 > Aug 14 22:08:04 cblproxy1 kernel: #10 0xffffffff808a8eae at > kern_reboot+0x4ee > Aug 14 22:08:04 cblproxy1 kernel: #11 0xffffffff808a89c0 at > kern_reboot+0 > Aug 14 22:08:04 cblproxy1 kernel: #12 0xffffffff80b81dab at > amd64_syscall+0x29b > Aug 14 22:08:04 cblproxy1 kernel: #13 0xffffffff80b6ca9b at > Xfast_syscall+0xfb Well its back, 3 of the 8 file systems I am taking snapshots of failed in last nights backups. The only thing different on this system from all the 4 others I have running is that it has a second disk volume with a UFS file system. Setup is 2 Disks, both setup with GPART: => 34 83886013 da0 GPT (40G) 34 256 1 boot0 (128k) 290 10485760 2 swap0 (5.0G) 10486050 73399997 3 zroot0 (35G) => 34 41942973 da1 GPT (20G) 34 41942973 1 squid1 (20G) I didn't want the Squid cache directory on ZFS, system is running on an ESX 4.1 server backed by iSCSI SAN. I have 4 other servers running on the same group of ESX servers and SAN, booting from ZFS without this problem. Two of the other 4 are also running Squid but forward to this one so they are running without a local disk cache. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 14:56:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3F1D6E84 for ; Fri, 16 Aug 2013 14:56:19 +0000 (UTC) (envelope-from bounce-md_30057948.520e3a08.v1-e6f8600353fa43b9baaf2943ac4cbee7@mandrillapp.com) Received: from mail112.us4.mandrillapp.com (mail112.us4.mandrillapp.com [205.201.136.112]) by mx1.freebsd.org (Postfix) with ESMTP id 120192C31 for ; Fri, 16 Aug 2013 14:56:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=mandrill; d=mail112.us4.mandrillapp.com; h=From:Sender:Subject:Message-Id:To:Date:MIME-Version:Content-Type; i=sales@mail112.us4.mandrillapp.com; bh=fWhzAwH0hErsBZa+nEHf9U9Z1gs=; b=aK8Sf6Zhy2QMmuBduv0fXeGffchRaLAqcIqvBtzj9HIcZ2EhC+P926O5iHXcJWgmnpegZdknfIWx 3wVeN6O5annFljQjgsnxsWuO/B+EHYp1t1u3afqGPnzSDP5ImDAQpGbCR4dWITEMLuA+TX3bMkuz M7+j7ZcX8qVntDVvAVU= DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=mandrill; d=mail112.us4.mandrillapp.com; b=n9gGCxYZ3DBLG1gJ/arV47R0nVg0/cA6aWQ5l9BdTH0bjejnebKaBlm/GmdiiYWzQr4n7BEecK9N ZRrWRMmJcLdcpax+PihirbmhBXX5grM8oGcoHoYGwgRF9aEvbgI/wmHN91AnAQUbufSYnLofnluN bAAw6DQGOkHrQhHyT4U=; Received: from localhost (127.0.0.1) by mail112.us4.mandrillapp.com id h1oup614i28k for ; Fri, 16 Aug 2013 14:41:12 +0000 (envelope-from ) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c.mandrillapp.com; i=@c.mandrillapp.com; q=dns/txt; s=mandrill; t=1376664072; h=From : Sender : Subject : Message-Id : To : Date : MIME-Version : Content-Type : From : Subject : Date : X-Mandrill-User : List-Unsubscribe; bh=yuyFxBAMkavf7aelJoL5fz0RMz2zjoi7ut4m7WmWibI=; b=fXzZl/EWl7Z0Hiu9XoS3x4gCfn5km5gxoVyesrJ9PcFikUqFEPFxjdXO5eI/W4AJS5h/fI MOTDnGQmc3pM3LZa+m+okIAoVtr2rbOvPfjWnTMlAEHXuWRHJmsZg6uJ9cjgV9jaAQnA2ZEs Yq40G++5hHDfnrskETbXkxlESV1pI= From: Sender: Subject: Asic Bitcoin Sales X-Bounce-Tracking-Info: Message-Id: To: freebsd-questions Received: from [82.25.232.86] by mandrillapp.com id e6f8600353fa43b9baaf2943ac4cbee7; Fri, 16 Aug 2013 14:41:12 +0000 X-Report-Abuse: Please forward a copy of this message, including all headers, to abuse@mandrill.com X-Report-Abuse: You can also report abuse here: http://mandrillapp.com/contact/abuse?id=30057948.e6f8600353fa43b9baaf2943ac4cbee7 X-Mandrill-User: md_30057948 Date: Fri, 16 Aug 2013 14:41:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 14:56:19 -0000 = Asic-technologies.com = New Cheaper Prices - difficulty now 50M ! Visit Us USB Block Miners from ASICMINER now 0.58 BTC each !! FREE SHIPPING Mining board's supplied , Case, power supply , On-board heat sink , USB connectors. Ready assembled All the boards are linked together , With one main controller. Easy to Install Software (Disk Provided) Simple Plug and play. = Asic-technologies.com = From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 15:02:37 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8F4FC1DC for ; Fri, 16 Aug 2013 15:02:37 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (mwlucas-2-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:b9c::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 524702CBC for ; Fri, 16 Aug 2013 15:02:36 +0000 (UTC) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.14.5/8.14.5) with ESMTP id r7GF2YTC021449 for ; Fri, 16 Aug 2013 11:02:35 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.14.5/8.14.5/Submit) id r7GF2Yjp021448 for questions@freebsd.org; Fri, 16 Aug 2013 11:02:34 -0400 (EDT) (envelope-from mwlucas) Date: Fri, 16 Aug 2013 11:02:34 -0400 From: "Michael W. Lucas" To: questions@freebsd.org Subject: Re: pkgng problem Message-ID: <20130816150234.GA21428@bewilderbeast.blackhelicopters.org> References: <20130816124343.GA21009@bewilderbeast.blackhelicopters.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130816124343.GA21009@bewilderbeast.blackhelicopters.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Fri, 16 Aug 2013 11:02:35 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 15:02:37 -0000 Thanks, Matt. # pkg -vv | sed -ne '/Repositories/,$p' Repositories: packagesite: url: http://pkg-test.freebsd.org/pkg-test-freebsd:9:x86:32/latest key: enabled: yes mirror_type: SRV Also: # pkg -v 1.1.4 ==ml -- Michael W. Lucas - mwlucas@michaelwlucas.com, Twitter @mwlauthor http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e coupon code "ILUVMICHAEL" gets you 30% off & helps me. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 15:18:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D62DB6D4 for ; Fri, 16 Aug 2013 15:18:11 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A26032DAD for ; Fri, 16 Aug 2013 15:18:11 +0000 (UTC) Received: by mail-ob0-f172.google.com with SMTP id er7so2201972obc.17 for ; Fri, 16 Aug 2013 08:18:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; bh=sMc55T6qwgvJY8t5bBhtxePZzL+Xtk0niIRY7zjMsmY=; b=eJIxqcfO+PdPqlelDSBS5/G8U3BB2Um1jB2bpv+e0o+1sGJgr6iVAKitru3LJM54PH A2o6Q11VNGew7Dt84sPilyXCmllv5Nul6qc1dcrIeE5qO9sxrvivO4W/P82dCbxmUjtJ rj4Hh9lbb699rSQNswHsvRxBSbgRem0uOmSiflsGAYou3+dRl4tdf4qzCcHy6ZOQBKzn LRhCRetlZg8ZTGB1wcjnrTqjNGBziYT8z1F/luGY+Ltt4Hy5Sczh4RYIsW5FKS5NN5vV qtNcERKcT8iZ5EvZ43GYD+46IfT2kUAxDxNugUbOQcANqWK0Nq3fvppggbfgPE3aLLKl CsBQ== X-Received: by 10.60.135.167 with SMTP id pt7mr1099270oeb.59.1376666290243; Fri, 16 Aug 2013 08:18:10 -0700 (PDT) Received: from [192.168.1.74] (75-63-29-182.lightspeed.irvnca.sbcglobal.net. [75.63.29.182]) by mx.google.com with ESMTPSA id fk3sm1524505obb.2.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Aug 2013 08:18:09 -0700 (PDT) From: aurfalien Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Myrinet 10Gb odd behavior Date: Fri, 16 Aug 2013 08:18:07 -0700 Message-Id: <297A8244-3756-4126-9F23-B772B81127C7@gmail.com> To: freebsd-questions Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 15:18:11 -0000 Hi, I've been suspecting my NIC is not up to par and notice this in the logs = every few minutes; Aug 16 08:05:06 prometheus kernel: mxge0: slice 0 struck? ring state: Aug 16 08:05:06 prometheus kernel: mxge0: tx.req=3D1914503981 = tx.done=3D1914503810, tx.queue_active=3D0 Aug 16 08:05:06 prometheus kernel: mxge0: tx.activate=3D0 = tx.deactivate=3D0 Aug 16 08:05:06 prometheus kernel: mxge0: pkt_done=3D1824019832 = fw=3D1824019931 Aug 16 08:05:06 prometheus kernel: mxge0: Watchdog reset! Aug 16 08:05:06 prometheus kernel: mxge0: NIC did not reboot, not = resetting Could tis be effecting throughput? My card is a Myri-10G-PCIE-8A I did install the Myrinet dev tools for FreeBSD and ran myri_info which = yields; pci-dev at 05:00.0 vendor:product(rev)=3D14c1:0008(00) behind bridge root-port: 00:03.0 8086:3c08 (x8.1/x16.3) Myri-10G-PCIE-8A -- Link x8 EEPROM String-spec: MAC=3D00:60:dd:45:73:23 SN=3D413665 PWR=3D100 PC=3D10G-PCIE-8A-R PN=3D09-03852 XFI=3DAEL1010 TAG=3Dze_tools-1_4_45 EEPROM MCP, PRESENT, length =3D 103384, crc=3D0x119daf46 ETHZ::1.4.45 2009/08/22 18:57:06 self extracting firmware Bundle: exec_len=3D72144, PCI-ROM-len =3D 31232 Running MCP: ETH ::1.4.55 -P- 2012/04/21 01:48:34 myri10ge firmware Any insights are appreciated. - aurf= From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 15:22:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0D91A9E9 for ; Fri, 16 Aug 2013 15:22:45 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 99E062E22 for ; Fri, 16 Aug 2013 15:22:44 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r7GFMXSO099981 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 16 Aug 2013 16:22:39 +0100 (BST) (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r7GFMXSO099981 Authentication-Results: smtp.infracaninophile.co.uk/r7GFMXSO099981; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <520E43B8.4080303@freebsd.org> Date: Fri, 16 Aug 2013 16:22:32 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130816 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkgng problem References: <20130816124343.GA21009@bewilderbeast.blackhelicopters.org> <20130816150234.GA21428@bewilderbeast.blackhelicopters.org> In-Reply-To: <20130816150234.GA21428@bewilderbeast.blackhelicopters.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 15:22:45 -0000 On 16/08/2013 16:02, Michael W. Lucas wrote: > > Thanks, Matt. > > # pkg -vv | sed -ne '/Repositories/,$p' > Repositories: > packagesite: > url: http://pkg-test.freebsd.org/pkg-test-freebsd:9:x86:32/latest > key: > enabled: yes > mirror_type: SRV > > Also: > > # pkg -v > 1.1.4 > Well, looks like both of those are up-to-date versions. I wonder if the pkg-test build system threw a wobbly at all on it's i386 builder? Bapt is on holiday or I'd ask him. Cheers, Matthew From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 15:47:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 70ED7114 for ; Fri, 16 Aug 2013 15:47:46 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3BEC32F98 for ; Fri, 16 Aug 2013 15:47:46 +0000 (UTC) Received: by mail-ob0-f172.google.com with SMTP id er7so2219970obc.31 for ; Fri, 16 Aug 2013 08:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=NVEyeTyU7c00bUSV7KStCweWJmpbfjQz77bfhSKfwnw=; b=hocIy9UGBmL45w6KC8nIAKNCqVhrYnGTBF1jKDM2WadBcvpTmVuQECz+rlRgPcveEH dOr3WfAFUSS98UAUoAWW0FYneXhQYcjuE9y9TLv5YqVLFUeoO38RAJbQVGKPZVUePI/R N6IeJvqBdqpcNMdWd4caaZWPOzPT0/IqFuv9yLhN8Dz0s2D05oYQnV8gie+rRu5fo00e 0d57Rl0ILKZ2TxGvIKANqLUE4/2wfZ9NMHsfozohAuSOee7EWBngyuodrk5+Yn0LjmeB eyb199ef/Zs+zHbh16/756guCTr+i82A0hNniHkmfIj7h/qRDb63fXXimvMKZfJ4of2m 6l+Q== X-Received: by 10.60.17.229 with SMTP id r5mr1826735oed.41.1376668065553; Fri, 16 Aug 2013 08:47:45 -0700 (PDT) Received: from [192.168.1.74] (75-63-29-182.lightspeed.irvnca.sbcglobal.net. [75.63.29.182]) by mx.google.com with ESMTPSA id rr6sm1672494oeb.0.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Aug 2013 08:47:44 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1085) Subject: Re: Myrinet 10Gb odd behavior From: aurfalien In-Reply-To: <297A8244-3756-4126-9F23-B772B81127C7@gmail.com> Date: Fri, 16 Aug 2013 08:47:42 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <52F83CC6-2D87-43E7-9F9C-9D16ED637064@gmail.com> References: <297A8244-3756-4126-9F23-B772B81127C7@gmail.com> To: freebsd-questions Questions X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 15:47:46 -0000 Forgot to mention my loader.conf; if_mxge_load=3D"YES" mxge_ethp_z8e_load=3D"YES" mxge_eth_z8e_load=3D"YES" mxge_rss_ethp_z8e_load=3D"YES" mxge_rss_eth_z8e_load=3D"YES" I blindly added these w/o thinking what they do. Should I simply only load the first line? - aurf On Aug 16, 2013, at 8:18 AM, aurfalien wrote: > Hi, >=20 > I've been suspecting my NIC is not up to par and notice this in the = logs every few minutes; >=20 > Aug 16 08:05:06 prometheus kernel: mxge0: slice 0 struck? ring state: > Aug 16 08:05:06 prometheus kernel: mxge0: tx.req=3D1914503981 = tx.done=3D1914503810, tx.queue_active=3D0 > Aug 16 08:05:06 prometheus kernel: mxge0: tx.activate=3D0 = tx.deactivate=3D0 > Aug 16 08:05:06 prometheus kernel: mxge0: pkt_done=3D1824019832 = fw=3D1824019931 > Aug 16 08:05:06 prometheus kernel: mxge0: Watchdog reset! > Aug 16 08:05:06 prometheus kernel: mxge0: NIC did not reboot, not = resetting >=20 > Could tis be effecting throughput? >=20 > My card is a Myri-10G-PCIE-8A >=20 > I did install the Myrinet dev tools for FreeBSD and ran myri_info = which yields; >=20 > pci-dev at 05:00.0 vendor:product(rev)=3D14c1:0008(00) > behind bridge root-port: 00:03.0 8086:3c08 (x8.1/x16.3) > Myri-10G-PCIE-8A -- Link x8 > EEPROM String-spec: > MAC=3D00:60:dd:45:73:23 > SN=3D413665 > PWR=3D100 > PC=3D10G-PCIE-8A-R > PN=3D09-03852 > XFI=3DAEL1010 > TAG=3Dze_tools-1_4_45 >=20 > EEPROM MCP, PRESENT, length =3D 103384, crc=3D0x119daf46 > ETHZ::1.4.45 2009/08/22 18:57:06 self extracting firmware > Bundle: exec_len=3D72144, PCI-ROM-len =3D 31232 > Running MCP: > ETH ::1.4.55 -P- 2012/04/21 01:48:34 myri10ge firmware >=20 > Any insights are appreciated. >=20 > - aurf From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 16:23:31 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6D795BAD for ; Fri, 16 Aug 2013 16:23:31 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (mwlucas-2-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:b9c::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0D32321E1 for ; Fri, 16 Aug 2013 16:23:30 +0000 (UTC) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.14.5/8.14.5) with ESMTP id r7GGNTTf021700 for ; Fri, 16 Aug 2013 12:23:29 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.14.5/8.14.5/Submit) id r7GGNTud021699 for questions@freebsd.org; Fri, 16 Aug 2013 12:23:29 -0400 (EDT) (envelope-from mwlucas) Date: Fri, 16 Aug 2013 12:23:29 -0400 From: "Michael W. Lucas" To: questions@freebsd.org Subject: Re: pkgng problem Message-ID: <20130816162329.GA21650@bewilderbeast.blackhelicopters.org> References: <20130816124343.GA21009@bewilderbeast.blackhelicopters.org> <20130816150234.GA21428@bewilderbeast.blackhelicopters.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130816150234.GA21428@bewilderbeast.blackhelicopters.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Fri, 16 Aug 2013 12:23:29 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 16:23:31 -0000 Matt, Another data point on this: Machines converted to pkgng a couple weeks ago can install new packages just fine despite showing the same error. And it looks like they download the new repo information: # pkg install sysrc Updating repository catalogue digests.txz 100% 997KB 997.1KB/s 997.1KB/s 00:00 packagesite.txz 100% 5530KB 1.4MB/s 1.9MB/s 00:04 pkg: Invalid manifest format: mapping values are not allowed in this contex Incremental update completed, 0 packages processed: 8292 packages updated, 1115 removed and 129 added. pkg: No digest falling back on legacy catalog format packagesite repository catalogue is up-to-date, no need to fetch fresh copy The following 1 packages will be installed: Installing sysrc: 5.2 The installation will require 39 kB more space 15 kB to be downloaded Proceed with installing packages [y/N]: y sysrc-5.2.txz 100% 16KB 15.8KB/s 15.8KB/s 00:00 Checking integrity... done [1/1] Installing sysrc-5.2... done Machines upgraded to pkgng this week, using the same script as I used a couple weeks ago, cannot install packages. # pkg install sysrc Updating repository catalogue digests.txz 100% 997KB 997.1KB/s 997.1KB/s 00:00 packagesite.txz 100% 5530KB 2.7MB/s 1.5MB/s 00:02 pkg: Invalid manifest format: mapping values are not allowed in this context Incremental update completed, 0 packages processed: 0 packages updated, 0 removed and 22568 added. pkg: No digest falling back on legacy catalog format packagesite repository catalogue is up-to-date, no need to fetch fresh copy pkg: No packages matching 'sysrc' has been found in the repositories Not sure if this supports the "bad repo" theory, but it's interesting. Thanks, ==ml -- Michael W. Lucas - mwlucas@michaelwlucas.com, Twitter @mwlauthor http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e coupon code "ILUVMICHAEL" gets you 30% off & helps me. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 17:17:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 44FC3235 for ; Fri, 16 Aug 2013 17:17:59 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C3FB0255B for ; Fri, 16 Aug 2013 17:17:58 +0000 (UTC) Received: from [192.168.1.35] (mux.fjl.org.uk [62.3.120.246]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id r7GHHnPQ001168 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 16 Aug 2013 18:17:50 +0100 (BST) (envelope-from freebsd-doc@fjl.co.uk) Message-ID: <520E5EC0.5090105@fjl.co.uk> Date: Fri, 16 Aug 2013 18:17:52 +0100 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: VPN where local private address collide Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 17:17:59 -0000 Let's say we're using MPD on FreeBSD at both ends of a link here, using a VPN to connect two LANs. (The use of MPD is negotiable). One LAN uses the address range 192.168.1.0/24 and the other uses the address range, er, 192.168.1.0/24. However hard you try to avoid this, it's going to happen. Let's also assume there is no way either end can change its range. NO WAY. Just don't go there. I've found I can still get away with this if the actual used IP addresses don't conflict, but it's not ideal. I'm not even 100% on why it works at all. I've heard of a mythical solution called "VPN NAT". It makes sense; just use NAT to map one range on to something completely different and away you go. Hosts at either end would be none the wiser. Has anyone actually done this, and if so, how? Thanks, Frank. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 18:23:44 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 34FEDFB8 for ; Fri, 16 Aug 2013 18:23:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BFF6728DC for ; Fri, 16 Aug 2013 18:23:43 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id en1so1162284wid.12 for ; Fri, 16 Aug 2013 11:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=evVoc6hhyhqlSdXOFs4dE/m11AbYD0nXwZXoi9lnYkk=; b=gY1IHMwZq7AKhCw0IMd/lkbXwPdiprpg+QPdd9myOY133lhGvOFq621IwRYeIxrhWt guknZ6qQwzTCLL3I7HTDLt7jnotuDXAxwuyUvp7tHKrlOS/0pW2F4wC1cMzkXUsDir5v WtSiTuYZZADssByk1xUXEpM0yE7XUn2d1mPWEw28lswJ/SyrdfTjbvXrjHYbgc7Jcnxs NiXWGjQwD49vH9UREUeWPOnetPG8HeRB7DRAdNc+8Y5ltlDbrNl8plqNLWV3v0wnID30 k/15IiS0ZLgkhPuaGXkgy6j4XHqzzoWVTxY5VuBd2IaMrGFxKIdZp+nIXMw1olhcIR2D wTaQ== MIME-Version: 1.0 X-Received: by 10.194.176.163 with SMTP id cj3mr2098837wjc.8.1376677422028; Fri, 16 Aug 2013 11:23:42 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.116.136 with HTTP; Fri, 16 Aug 2013 11:23:41 -0700 (PDT) In-Reply-To: <20130816162329.GA21650@bewilderbeast.blackhelicopters.org> References: <20130816124343.GA21009@bewilderbeast.blackhelicopters.org> <20130816150234.GA21428@bewilderbeast.blackhelicopters.org> <20130816162329.GA21650@bewilderbeast.blackhelicopters.org> Date: Fri, 16 Aug 2013 11:23:41 -0700 X-Google-Sender-Auth: sJjjOV3LmdPai0ykc6ZF4kO2C4Q Message-ID: Subject: Re: pkgng problem From: Adrian Chadd To: "Michael W. Lucas" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 18:23:44 -0000 Have you done a "pkg update" first, just in case you needed to pull in a pkgng update? -adrian From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 18:24:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8D375F3 for ; Fri, 16 Aug 2013 18:24:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 22A8928F4 for ; Fri, 16 Aug 2013 18:24:52 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id u57so1977370wes.9 for ; Fri, 16 Aug 2013 11:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=xAEzBEVfb2DbetXzAfTkDM87mr9Xgf3pc19GVVhHEf0=; b=JVFn/JdyUsfuqkrzCsVV7yaKFiAv60aJG1yhm+P4XHUkbY7GAwiRC7ml58Vq+YO2tf PnKqyjSeTM2BXgcH3NbqJpEhgalfCs0aH0xlRjZ53rRY9jGKFR9j/5kk6XXhF7hJDVYj F7h24DKVOT+WjMq2qCHk7WzPkSlJ4Ge2tRZtlz8X7FCV+izMvPBMr4Vvy5gahciL6DWm u+YEZ1BG6bOQY+b0OdgnnaaEOGYQwX0FJZOmw2DtaKA3C3iOlLK9oY4cONPwYVktG1B2 EgY0vyzX+62x/cMoeirQOgxiJvYgqTvFk9WMTLOMOiUX2UfWX02Y3UcY0YPkCU6ZIxuS YrWg== MIME-Version: 1.0 X-Received: by 10.194.75.165 with SMTP id d5mr2085442wjw.18.1376677491353; Fri, 16 Aug 2013 11:24:51 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.116.136 with HTTP; Fri, 16 Aug 2013 11:24:51 -0700 (PDT) In-Reply-To: <520E1182.1030303@roorback.net> References: <520DC77F.1060300@d2ux.org> <20130816132541.Horde.O4zG8_4GjKp7OfgBJ5VaQg1@d2ux.org> <520E1182.1030303@roorback.net> Date: Fri, 16 Aug 2013 11:24:51 -0700 X-Google-Sender-Auth: _pWqW7Q2bwCxGckdXSlUCnD1XjY Message-ID: Subject: Re: Laptop Fn key causes X (Gnome 2) to sleep immediately From: Adrian Chadd To: Grzegorz Blach Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 18:24:53 -0000 ... xf86sleep as a keypress id? -adrian On 16 August 2013 04:48, Grzegorz Blach wrote: > Hi, > > I also had problem with Fn key. > I'm using Lenovo T430 and Enlightenment desktop environment. > I resolved this issue by unbinding XF86Sleep in Enlightenment settings. > > Cheers, > Grzegorz Blach > > _______________________________________________ > 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 Aug 16 18:32:56 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1E8D422A; Fri, 16 Aug 2013 18:32:56 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (mwlucas-2-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:b9c::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 536062979; Fri, 16 Aug 2013 18:32:55 +0000 (UTC) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.14.5/8.14.5) with ESMTP id r7GIWqaC022185; Fri, 16 Aug 2013 14:32:52 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.14.5/8.14.5/Submit) id r7GIWpNe022184; Fri, 16 Aug 2013 14:32:51 -0400 (EDT) (envelope-from mwlucas) Date: Fri, 16 Aug 2013 14:32:51 -0400 From: "Michael W. Lucas" To: Adrian Chadd Subject: Re: pkgng problem Message-ID: <20130816183251.GA22175@bewilderbeast.blackhelicopters.org> References: <20130816124343.GA21009@bewilderbeast.blackhelicopters.org> <20130816150234.GA21428@bewilderbeast.blackhelicopters.org> <20130816162329.GA21650@bewilderbeast.blackhelicopters.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Fri, 16 Aug 2013 14:32:52 -0400 (EDT) Cc: questions@freebsd.org, "Michael W. Lucas" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 18:32:56 -0000 On Fri, Aug 16, 2013 at 11:23:41AM -0700, Adrian Chadd wrote: > Have you done a "pkg update" first, just in case you needed to pull in a > pkgng update? Yep, tried that. ==ml -- Michael W. Lucas - mwlucas@michaelwlucas.com, Twitter @mwlauthor http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e coupon code "ILUVMICHAEL" gets you 30% off & helps me. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 19:30:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1527A9ED for ; Fri, 16 Aug 2013 19:30:18 +0000 (UTC) (envelope-from terje@elde.net) Received: from keepquiet.net (keepquiet.net [78.46.162.42]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CA1B72C92 for ; Fri, 16 Aug 2013 19:30:17 +0000 (UTC) Received: from [10.121.169.209] (2.150.35.138.tmi.telenormobil.no [2.150.35.138]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: terje@elde.net) by keepquiet.net (Postfix) with ESMTPSA id 163672E418; Fri, 16 Aug 2013 21:30:09 +0200 (CEST) References: <520E5EC0.5090105@fjl.co.uk> In-Reply-To: <520E5EC0.5090105@fjl.co.uk> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <9FB6809B-DD5D-4A04-8BD9-0271FAC03181@elde.net> X-Mailer: iPhone Mail (10B329) From: Terje Elde Subject: Re: VPN where local private address collide Date: Fri, 16 Aug 2013 21:30:01 +0200 To: Frank Leonhardt Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 19:30:18 -0000 On 16. aug. 2013, at 19:17, Frank Leonhardt wrote: > Has anyone actually done this, and if so, how? This is wrong on so many levels, and you'll have to work around all og them.= Yes, you can use nat, but what about adress-resolution? And so on.=20 If it's a specific thing you need to work - a spesific server for example - n= at can work, but if you need general bridging, best to avoid conflicts.=20 Note that there are alternatives, such as L2-bridging rather than L3.=20 If you explain a bit more of the setup, and what you need to work, it'd be e= asier to suggest something.=20 Right now, we know bits of the setup, but not really what problem(s) you're t= rying to solve.=20 Terje From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 19:53:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 17CD323D for ; Fri, 16 Aug 2013 19:53:52 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 92BCB2DAB for ; Fri, 16 Aug 2013 19:53:51 +0000 (UTC) Received: by mail-la0-f48.google.com with SMTP id er20so1840971lab.35 for ; Fri, 16 Aug 2013 12:53:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=xCZGV5BeI4NFMLh+u24vaDThWLaXffKHB6N4UFLllug=; b=erKRrIG5r3SRwh+CPAqHa+kCw97JbhpQUyrYus18y+dInPcZb9op69B9ujw2MXIdXo 0xLCxWrnsy9ODUHPL7zobc5LmGol3BZHG9zCL3O6sTEz2cIUOg/Kk1eERF70Anj87SQ1 6tlsUScUt6rRZ0vtXIlIVuqMaVqiC2qO6Qlg0wGGGatFZfUu+E+vW8Vgv0oJKopD855c gzFZJxvi3hIo4ReBjtXeAMHmvr3rXHTl9BKgP3N6qj0HUrKbCN1iDz3jPLxLZvCOUMEx YCK6RupCi3PmSF/Mgil/t0XtWBLSUfDzEDZ9uUEcjnqZYflb21awnkjjOtekN17UFqgL AAlQ== X-Received: by 10.152.2.201 with SMTP id 9mr2573782law.20.1376682828414; Fri, 16 Aug 2013 12:53:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.170.133 with HTTP; Fri, 16 Aug 2013 12:53:08 -0700 (PDT) In-Reply-To: <520E5EC0.5090105@fjl.co.uk> References: <520E5EC0.5090105@fjl.co.uk> From: Odhiambo Washington Date: Fri, 16 Aug 2013 22:53:08 +0300 Message-ID: Subject: Re: VPN where local private address collide To: Frank Leonhardt Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 19:53:52 -0000 On 16 August 2013 20:17, Frank Leonhardt wrote: > Let's say we're using MPD on FreeBSD at both ends of a link here, using a > VPN to connect two LANs. (The use of MPD is negotiable). > > One LAN uses the address range 192.168.1.0/24 and the other uses the > address range, er, 192.168.1.0/24. However hard you try to avoid this, > it's going to happen. Let's also assume there is no way either end can > change its range. NO WAY. Just don't go there. > > Such a stupid statement. No private IP's are engraved in stone, esp a /24. How many days does it take you to reconfigure the hosts to connect to the shared resources - which is what I believe would make you say "there is no way either end can change its range"? It's a /24 and shared resources can be accessed by running an internal DNS server, for crying out loud! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler." From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 19:58:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 621C4500; Fri, 16 Aug 2013 19:58:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 239092DEA; Fri, 16 Aug 2013 19:58:55 +0000 (UTC) Received: from r56.edvax.de (port-92-195-92-43.dynamic.qsc.de [92.195.92.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 7276E3D38F; Fri, 16 Aug 2013 21:50:27 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r7GJoNlu005101; Fri, 16 Aug 2013 21:50:23 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 16 Aug 2013 21:50:23 +0200 From: Polytropon To: Adrian Chadd Subject: Re: Laptop Fn key causes X (Gnome 2) to sleep immediately Message-Id: <20130816215023.b2394827.freebsd@edvax.de> In-Reply-To: References: <520DC77F.1060300@d2ux.org> <20130816132541.Horde.O4zG8_4GjKp7OfgBJ5VaQg1@d2ux.org> <520E1182.1030303@roorback.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Grzegorz Blach , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 19:58:56 -0000 On Fri, 16 Aug 2013 11:24:51 -0700, Adrian Chadd wrote: > ... xf86sleep as a keypress id? Yes, there are many of XF86... key symbols that can be associated to key codes. Probably this is some setting in Gnome or KDE (but not in other environments). You can use "xev" to check which symbol is associated to which key (or key combination, if this creates a new unique key event). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Aug 16 23:58:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 70BF0252; Fri, 16 Aug 2013 23:58:26 +0000 (UTC) (envelope-from matthias@d2ux.org) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id 2CC852856; Fri, 16 Aug 2013 23:58:25 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id 834B584F25C8; Sat, 17 Aug 2013 01:58:24 +0200 (CEST) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id vbO0PJLFi5BE; Sat, 17 Aug 2013 01:58:22 +0200 (CEST) Received: from workstation.local (p5DDAB269.dip0.t-ipconnect.de [93.218.178.105]) by mail.s1.d2ux.org (Postfix) with ESMTPSA id C9E1C84F25BC; Sat, 17 Aug 2013 01:58:22 +0200 (CEST) Message-ID: <520EBC3F.2070305@d2ux.org> Date: Sat, 17 Aug 2013 01:56:47 +0200 From: Matthias Petermann User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130526 Thunderbird/17.0.6 MIME-Version: 1.0 To: Polytropon Subject: Re: Laptop Fn key causes X (Gnome 2) to sleep immediately References: <520DC77F.1060300@d2ux.org> <20130816132541.Horde.O4zG8_4GjKp7OfgBJ5VaQg1@d2ux.org> <20130816135856.9d1bfbec.freebsd@edvax.de> In-Reply-To: <20130816135856.9d1bfbec.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Adrian Chadd , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 23:58:26 -0000 Hi, Am 16.08.2013 13:58, schrieb Polytropon: > I have tested a Lenovo R61i running Xfce, and I don't experience the > strange behaviour desribed. However, using the "xev" event tester, the > keycode for the Fn key is being displayed as 227, and the KeyPress > event is held (!) until the key is released, which means KeyPress and > KeyRelease happen immediately after each other. Because my IBM T60p is > still in the ICU, I can't test this, but I would assume to get a > similar result. thanks, I just used xev (with X and only TWM). It reports the Fn key as keycode 150. Looks like this is different across the Thinkpad models. > It would also be nice if "as much as possible" would work on the older > models (including the "docking stations"), because Thinkpads seem to > live much longer (and therefore will probably many more years in > productive use), compared to their crappy "competitors" on the laptop > market. :-) Agree :-) Regards, Matthias From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 00:10:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7FFB5584; Sat, 17 Aug 2013 00:10:46 +0000 (UTC) (envelope-from matthias@d2ux.org) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id 1FAD32930; Sat, 17 Aug 2013 00:10:45 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id E1DDB84F25B3; Sat, 17 Aug 2013 02:10:44 +0200 (CEST) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id LMNytuVfE3mu; Sat, 17 Aug 2013 02:10:42 +0200 (CEST) Received: from workstation.local (p5DDAB269.dip0.t-ipconnect.de [93.218.178.105]) by mail.s1.d2ux.org (Postfix) with ESMTPSA id BE7E084F2571; Sat, 17 Aug 2013 02:10:42 +0200 (CEST) Message-ID: <520EBF22.8080500@d2ux.org> Date: Sat, 17 Aug 2013 02:09:06 +0200 From: Matthias Petermann User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130526 Thunderbird/17.0.6 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Laptop Fn key causes X (Gnome 2) to sleep immediately References: <520DC77F.1060300@d2ux.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 00:10:46 -0000 Hi, a short update on this. I just found out: at least in Gnome 2 the behavior can be prevented by using the gconf-settings tool, changing the value of the key "/apps/gnome-power-manager/buttons/suspend" from "suspend" to "nothing". Seems like some ubuntu users had the same issue as I found the workaround there. Kind regards, Matthias Am 16.08.2013 08:44, schrieb Adrian Chadd: > Hi! > > I'm glad someone else is seeing this! > > I have the same behaviour with KDE4 on my T60 and T400. If I go to run > amiwm (because hey, Workbench is awesome!) it doesn't happen. > > .. and bah, I wish the resume worked for you. It works fine for me on > T42i, T60, T400. > > > > -adrian > > > > On 15 August 2013 23:32, Matthias Petermann > wrote: > > > Hello, > > I have a Lenovo X121e running Current with X and the Gnome > desktop. Beside other issues[1] there is a strange behavior of > Gnome-Desktop (and GDM too). When I press "Fn" without any > additional key, the device immediately goes to sleep. As the X121e > cannot resume properly from sleep, this forces me to reboot. > > This problem appears to be only exist when using Gnome / GDM. > Pure X with TWM doesn't have this issue. > > I already tried to re-map the Fn key (I found in some mailing this > might have the keycode 150) to a "less dangerous" key: > $ xmodmap -e "keycode 150 = Delete" > this brought no change. > > Has anyone an idea if Gnome re-maps the keys in some way or how I > can disable this? At the moment this is the only blocker to use > this Laptop for daily work, as I tend to accidently touch the Fn > key more often than I want to reboot ;-) > > Thanks in advance & kind regards, > Matthias > > > [1] > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current > _______________________________________________ > freebsd-questions@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org > " > > From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 01:07:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5E1AE2FD for ; Sat, 17 Aug 2013 01:07:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D42982B84 for ; Sat, 17 Aug 2013 01:07:26 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id f14so1360572wiw.1 for ; Fri, 16 Aug 2013 18:07:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=weglsRba8KhGSka0/QvoN9NGzmPLBytX+qjBohQJSOs=; b=fKgoQHKlY/rvSNYmI7CA0BJ3dnxUUs7QGcUyZrrfsq1aUDd6V937cZzTBRwTgNT6Jd vnsXmx2jZXYL8j4CxbIni/G1PvXsiXbNF6JySsR7990q0mYdKhaYpM+KnuD0GwQNglQa 9tfvu9ba+N3SNf/kucfa8TlmSRuA7ttER+IdBNHVR0sa05D2+b0Jh9/NYYtdfyfnTxkV UPKSOlL8eJw7Jexlg/epvm7qu9IRSvfCkNhNqppUe+DAAOZ1ZD/PRHtbR/By7LIECfcA ljW5tQDWSWQAYt0lMyhMr4EQ8bWU44EeFfXMjVQ18PUxyUzz6p5aD7ZhArV8ATYwuyvC nVkg== MIME-Version: 1.0 X-Received: by 10.180.211.206 with SMTP id ne14mr305750wic.30.1376701645085; Fri, 16 Aug 2013 18:07:25 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.116.136 with HTTP; Fri, 16 Aug 2013 18:07:25 -0700 (PDT) In-Reply-To: <520EBF22.8080500@d2ux.org> References: <520DC77F.1060300@d2ux.org> <520EBF22.8080500@d2ux.org> Date: Fri, 16 Aug 2013 18:07:25 -0700 X-Google-Sender-Auth: dtsLmEmDW4RRHgqIkxOyzVZIsbs Message-ID: Subject: Re: Laptop Fn key causes X (Gnome 2) to sleep immediately From: Adrian Chadd To: Matthias Petermann Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 01:07:27 -0000 Right, but this sounds like some bug to send upstream. Or at least patch in our port(s) for this stuff. What keyboard / laptop has the key code '150' map to 'go to sleep' ? -adiran On 16 August 2013 17:09, Matthias Petermann wrote: > Hi, > > a short update on this. I just found out: at least in Gnome 2 the behavior > can be prevented by using the gconf-settings tool, changing the value of > the key "/apps/gnome-power-manager/buttons/suspend" from "suspend" to > "nothing". Seems like some ubuntu users had the same issue as I found the > workaround there. > > Kind regards, > Matthias > > > Am 16.08.2013 08:44, schrieb Adrian Chadd: > > Hi! > > I'm glad someone else is seeing this! > > I have the same behaviour with KDE4 on my T60 and T400. If I go to run > amiwm (because hey, Workbench is awesome!) it doesn't happen. > > .. and bah, I wish the resume worked for you. It works fine for me on > T42i, T60, T400. > > > > -adrian > > > > On 15 August 2013 23:32, Matthias Petermann wrote: > >> >> Hello, >> >> I have a Lenovo X121e running Current with X and the Gnome desktop. >> Beside other issues[1] there is a strange behavior of Gnome-Desktop (and >> GDM too). When I press "Fn" without any additional key, the device >> immediately goes to sleep. As the X121e cannot resume properly from sleep, >> this forces me to reboot. >> >> This problem appears to be only exist when using Gnome / GDM. >> Pure X with TWM doesn't have this issue. >> >> I already tried to re-map the Fn key (I found in some mailing this might >> have the keycode 150) to a "less dangerous" key: >> $ xmodmap -e "keycode 150 = Delete" >> this brought no change. >> >> Has anyone an idea if Gnome re-maps the keys in some way or how I can >> disable this? At the moment this is the only blocker to use this Laptop for >> daily work, as I tend to accidently touch the Fn key more often than I want >> to reboot ;-) >> >> Thanks in advance & kind regards, >> Matthias >> >> >> [1] >> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > > From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 01:11:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B990A3D7 for ; Sat, 17 Aug 2013 01:11:58 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 925AF2BCE for ; Sat, 17 Aug 2013 01:11:58 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id lb1so2501918pab.12 for ; Fri, 16 Aug 2013 18:11:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=+OzZIP9mT1XS7ILp/MGShSoPwm1Ifs8M0y44v2a4WNo=; b=XShNh80635xPnvaMwS64wsU4vx792dLqvOhHxEx567YUwt/cvvmAhhMt2kv0UjhuDZ b6rcMyrAMP9+NttFZIhoqy3myKsj+/q0Rygi4Z24ninkmWfvCcRXA1pk8cDlQfgizAD3 UJs9TH3UNgTUjx9qwIJnjqRT7xWetJUOY6l60h+HFPIs5Pl8bV6m/gtvei7Ge2+9Jo+6 bZu+oV1Ooog5mvecOedqKsjgLato2b3gIKPwulkdk7HvLS8deWzYnUMY9cpScL1hopbI MAZjPzloSUZ73GaNd3WqxHlB98NQaGXcuLcIFSL+WYewZ75JWEYV45wKYxbUS9goBg+m GZEQ== X-Received: by 10.68.194.40 with SMTP id ht8mr418633pbc.136.1376701918113; Fri, 16 Aug 2013 18:11:58 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id ia5sm252696pbc.42.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Aug 2013 18:11:56 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1085) Subject: Re: Myrinet 10Gb odd behavior - SOLVED From: aurfalien In-Reply-To: <52F83CC6-2D87-43E7-9F9C-9D16ED637064@gmail.com> Date: Fri, 16 Aug 2013 18:11:55 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <297A8244-3756-4126-9F23-B772B81127C7@gmail.com> <52F83CC6-2D87-43E7-9F9C-9D16ED637064@gmail.com> To: freebsd-questions Questions X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 01:11:58 -0000 On Aug 16, 2013, at 8:47 AM, aurfalien wrote: > Forgot to mention my loader.conf; >=20 > if_mxge_load=3D"YES" > mxge_ethp_z8e_load=3D"YES" > mxge_eth_z8e_load=3D"YES" > mxge_rss_ethp_z8e_load=3D"YES" > mxge_rss_eth_z8e_load=3D"YES" >=20 >=20 > I blindly added these w/o thinking what they do. >=20 > Should I simply only load the first line? >=20 > - aurf >=20 >=20 > On Aug 16, 2013, at 8:18 AM, aurfalien wrote: >=20 >> Hi, >>=20 >> I've been suspecting my NIC is not up to par and notice this in the = logs every few minutes; >>=20 >> Aug 16 08:05:06 prometheus kernel: mxge0: slice 0 struck? ring state: >> Aug 16 08:05:06 prometheus kernel: mxge0: tx.req=3D1914503981 = tx.done=3D1914503810, tx.queue_active=3D0 >> Aug 16 08:05:06 prometheus kernel: mxge0: tx.activate=3D0 = tx.deactivate=3D0 >> Aug 16 08:05:06 prometheus kernel: mxge0: pkt_done=3D1824019832 = fw=3D1824019931 >> Aug 16 08:05:06 prometheus kernel: mxge0: Watchdog reset! >> Aug 16 08:05:06 prometheus kernel: mxge0: NIC did not reboot, not = resetting >>=20 >> Could tis be effecting throughput? >>=20 >> My card is a Myri-10G-PCIE-8A >>=20 >> I did install the Myrinet dev tools for FreeBSD and ran myri_info = which yields; >>=20 >> pci-dev at 05:00.0 vendor:product(rev)=3D14c1:0008(00) >> behind bridge root-port: 00:03.0 8086:3c08 (x8.1/x16.3) >> Myri-10G-PCIE-8A -- Link x8 >> EEPROM String-spec: >> MAC=3D00:60:dd:45:73:23 >> SN=3D413665 >> PWR=3D100 >> PC=3D10G-PCIE-8A-R >> PN=3D09-03852 >> XFI=3DAEL1010 >> TAG=3Dze_tools-1_4_45 >>=20 >> EEPROM MCP, PRESENT, length =3D 103384, crc=3D0x119daf46 >> ETHZ::1.4.45 2009/08/22 18:57:06 self extracting firmware >> Bundle: exec_len=3D72144, PCI-ROM-len =3D 31232 >> Running MCP: >> ETH ::1.4.55 -P- 2012/04/21 01:48:34 myri10ge firmware >>=20 >> Any insights are appreciated. >>=20 >> - aurf Did the ole RTFM and re programmed the firmware, all good now. - aurf= From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 01:22:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1A1CB887; Sat, 17 Aug 2013 01:22:52 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CF0682C4B; Sat, 17 Aug 2013 01:22:51 +0000 (UTC) Received: from r56.edvax.de (port-92-195-92-43.dynamic.qsc.de [92.195.92.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 25C323D316; Sat, 17 Aug 2013 03:22:48 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r7H1Mi0G006592; Sat, 17 Aug 2013 03:22:44 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 17 Aug 2013 03:22:44 +0200 From: Polytropon To: Adrian Chadd Subject: Re: Laptop Fn key causes X (Gnome 2) to sleep immediately Message-Id: <20130817032244.fba68660.freebsd@edvax.de> In-Reply-To: References: <520DC77F.1060300@d2ux.org> <520EBF22.8080500@d2ux.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 01:22:52 -0000 On Fri, 16 Aug 2013 18:07:25 -0700, Adrian Chadd wrote: > What keyboard / laptop has the key code '150' map to 'go to sleep' ? My Sun Type 7 USB keyboard has the "Copy" key at code 150... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 04:41:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 99F6D98 for ; Sat, 17 Aug 2013 04:41:53 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 6C6C223F0 for ; Sat, 17 Aug 2013 04:41:53 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id r7H4flOq063331 for ; Fri, 16 Aug 2013 21:41:47 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <520EFF0B.1020803@rawbw.com> Date: Fri, 16 Aug 2013 21:41:47 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130628 Thunderbird/17.0.7 MIME-Version: 1.0 To: FreeBSD Questions Subject: pkg install on freshly installed 9.1 doesn't find any packages Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 04:41:53 -0000 I installed 9.1 from iso image. Then 'pkg' command brought pkg-1.0.11 package. Now commands like 'pkg install gnome2' always say: pkg: Package 'gnome2' was not found in the repositories. Am I missing something? This is vanilla 9.1 from DVD image. Nothing else. Yuri From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 05:50:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 645349ED for ; Sat, 17 Aug 2013 05:50:59 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ECBD4264A for ; Sat, 17 Aug 2013 05:50:58 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r7H5olCY022921 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 17 Aug 2013 06:50:54 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r7H5olCY022921 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1376718654; bh=X6BYz2ugDHqynJ3KdpalrGzR8J7MUpGcfY9HhXDQTXk=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Sat,=2017=20Aug=202013=2006:50:35=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20pkg=20install=20on=20freshly=20in stalled=209.1=20doesn't=20find=20any=20packages|References:=20<520 EFF0B.1020803@rawbw.com>|In-Reply-To:=20<520EFF0B.1020803@rawbw.co m>; b=PI3S8LezWvRUe+Fx79Iep1hvw4StSwy9tw8hZE9PRH8Euidi8glV0MyCd55f5TQSY jA9YrSDFgKozn2lAh5w3UDMCmwgQU1YnKe4cUcSdLoJ0ahzgvaMqICM3lkXq/WtYtd ybAvvkEJd+r12kq14X28FJ9Njm+r7qoxeHhWbp9Q= Message-ID: <520F0F2B.3050001@infracaninophile.co.uk> Date: Sat, 17 Aug 2013 06:50:35 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg install on freshly installed 9.1 doesn't find any packages References: <520EFF0B.1020803@rawbw.com> In-Reply-To: <520EFF0B.1020803@rawbw.com> X-Enigmail-Version: 1.5.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OGOKlLcQcwUoJLONTfg8vK7hqguVs8Rj6" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 05:50:59 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OGOKlLcQcwUoJLONTfg8vK7hqguVs8Rj6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 17/08/2013 05:41, Yuri wrote: > I installed 9.1 from iso image. > Then 'pkg' command brought pkg-1.0.11 package. > Now commands like 'pkg install gnome2' always say: > pkg: Package 'gnome2' was not found in the repositories. >=20 > Am I missing something? This is vanilla 9.1 from DVD image. Nothing els= e. You have an old version of pkg there, and it looks like the pkg.conf that came with that version doesn't point at a repository with any useful contents. Try: pkg upgrade which /should/ get you pkg-1.1.4_1 Then check ${LOCALBASE}/etc/pkg.conf and make sure packagesite is set to:= http://pkg.freebsd.org/${ABI}/latest or there are some other publicly availble repos: Exonetric has one, as does PC-BSD. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --OGOKlLcQcwUoJLONTfg8vK7hqguVs8Rj6 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 Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlIPDzcACgkQ8Mjk52CukIyuaACgigs8Z+3khMhoplxQp0gkOw9b vr4An2YTnbZSH7iBGf/K1RAu3wW8G3JU =xzil -----END PGP SIGNATURE----- --OGOKlLcQcwUoJLONTfg8vK7hqguVs8Rj6-- From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 09:07:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0E742EC0 for ; Sat, 17 Aug 2013 09:07:46 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C2E5C2D6C for ; Sat, 17 Aug 2013 09:07:45 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VAcTx-0006zp-QH for freebsd-questions@freebsd.org; Sat, 17 Aug 2013 11:07:37 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Aug 2013 11:07:37 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Aug 2013 11:07:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Mouse Trails? Date: Sat, 17 Aug 2013 09:07:20 +0000 (UTC) Lines: 6 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 09:07:46 -0000 My sight is deteriorating. I can still see and read the screen, but sometimes locating the mouse pointer (LXDE here) is difficult. Is there a port which will give me mouse trails when the rodent is moved? Thanks. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 10:42:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 31E70CB7 for ; Sat, 17 Aug 2013 10:42:47 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 80F8F214E for ; Sat, 17 Aug 2013 10:42:45 +0000 (UTC) Received: from [192.168.1.35] (mux.fjl.org.uk [62.3.120.246]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id r7HAgdO1072222 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO); Sat, 17 Aug 2013 11:42:40 +0100 (BST) (envelope-from freebsd-doc@fjl.co.uk) Message-ID: <520F53A2.80707@fjl.co.uk> Date: Sat, 17 Aug 2013 11:42:42 +0100 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Terje Elde Subject: Re: VPN where local private address collide References: <520E5EC0.5090105@fjl.co.uk> <9FB6809B-DD5D-4A04-8BD9-0271FAC03181@elde.net> In-Reply-To: <9FB6809B-DD5D-4A04-8BD9-0271FAC03181@elde.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 10:42:47 -0000 On 16/08/2013 20:30, Terje Elde wrote: > On 16. aug. 2013, at 19:17, Frank Leonhardt wrote: >> Has anyone actually done this, and if so, how? > This is wrong on so many levels, and you'll have to work around all og them. Yes, you can use nat, but what about adress-resolution? And so on. > > If it's a specific thing you need to work - a spesific server for example - nat can work, but if you need general bridging, best to avoid conflicts. > > Note that there are alternatives, such as L2-bridging rather than L3. > > If you explain a bit more of the setup, and what you need to work, it'd be easier to suggest something. > > Right now, we know bits of the setup, but not really what problem(s) you're trying to solve. > > The setup is basically as described and the desired outcome is to NAT "the other end" so the addresses appear different. FWIW it only has to be done one way, which I didn't mention. Address resolution is not a problem - easily fixed at DNS. As I said, the only thing that cannot be changed are the local IP addresses in use, so thanks for heeding my warning. Lesser mortals might have change the ranges anyway. Yes, its obviously best to avoid conflicts but if you're bigger than Fred-in-shed you're going to get them. What I'm asking (VPN NAT) is possible, and a recognised solution to the problem I've described - the big boys do it all the time, apparently. My local Cisco expert was able to talk me through doing it, but only on IOS :-( Basically you put the VPN traffic through a NAT table on both ends, so all the remote addresses get mapped to an alternative local range. You pretty much have to do it both ways (source and destination) or you won't get a reply. I can think of dozens of workaround for specific situations (e.g. it it was to access a limited number of hosts, dual-home the ones you need) but this is specially a general solution. I'm sure this is going to be a PITA to work out on FreeBSD, because I'm not that familiar with the tools. I was hoping someone had done it, but if I have to.... I may be gone for some time. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 11:02:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8A3B4266 for ; Sat, 17 Aug 2013 11:02:15 +0000 (UTC) (envelope-from terje@elde.net) Received: from keepquiet.net (keepquiet.net [78.46.162.42]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 03BD62220 for ; Sat, 17 Aug 2013 11:02:13 +0000 (UTC) Received: from [10.121.169.209] (2.150.34.152.tmi.telenormobil.no [2.150.34.152]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: terje@elde.net) by keepquiet.net (Postfix) with ESMTPSA id BFAE72E42C; Sat, 17 Aug 2013 13:02:10 +0200 (CEST) References: <520E5EC0.5090105@fjl.co.uk> <9FB6809B-DD5D-4A04-8BD9-0271FAC03181@elde.net> <520F53A2.80707@fjl.co.uk> In-Reply-To: <520F53A2.80707@fjl.co.uk> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPhone Mail (10B329) From: Terje Elde Subject: Re: VPN where local private address collide Date: Sat, 17 Aug 2013 13:02:02 +0200 To: Frank Leonhardt Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 11:02:15 -0000 On 17. aug. 2013, at 12:42, Frank Leonhardt wrote: > The setup is basically as described and the desired outcome is to NAT "the= other end" so the addresses appear different. That's a solution to a problem, but I don't yet know what the problem is, wh= ich makes it harder to give any advice.=20 Do you need "everything" to work in both directions? If so, then what is "ev= erything"? Say both networks are at 192.168.0.0/24, and you remap so network A is avail= able as 192.168.1.0/24 in network B, all machines at the same last octet (yo= u can do that), and fix DNS for it. All good right? Well, it's not always that simple. Say you have a server running at 192.168.= 0.5 in network A, available at 192.168.1.5 in network B. A client connects (= successfully) to it, ask for some data, and the server says "Get the data at= 192.168.0.5:45756". Now the client will try to connect to that ip/port in n= etwork B, rather than following DNS for the IP that goes over the VPN and th= rough the NAT, and get nowhere.=20 You first hearing of that can be someone saying "The Foo-server is broken". Y= ou've just layered hack on top of hack, so you don't initially know if it's t= he user, his computer, the server, the VPN, the NAT or DNS, an incompatible p= rotocol that doesn't like the setup, or the weird routing you'll have to set= up.=20 If you're looking at this as an easy fix to reach a specific server or servi= ce, by all means. But if you're looking at this as a general solution to bri= dging two networks, then just don't do it. Save yourself the grief, because i= f this works at all, it's down to luck, and even if you're get lucky now, yo= u might not stay lucky. What happens if you add VoIP to the mix in two years= ? Or teleconferencing in three? Basing network-design on present and future luck is just going to give you m= ore grief that I than I'd wish for anyone.=20 Terje From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 11:38:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D5B7E4FE for ; Sat, 17 Aug 2013 11:38:26 +0000 (UTC) (envelope-from matthias@d2ux.net) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id 91C0A2382 for ; Sat, 17 Aug 2013 11:38:25 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id 83C8884F25B4 for ; Sat, 17 Aug 2013 13:38:18 +0200 (CEST) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id fcYRkwvncFCy for ; Sat, 17 Aug 2013 13:38:16 +0200 (CEST) Received: from workstation.local (p5DDA939C.dip0.t-ipconnect.de [93.218.147.156]) by mail.s1.d2ux.org (Postfix) with ESMTPSA id DB59384F2586 for ; Sat, 17 Aug 2013 13:38:16 +0200 (CEST) Message-ID: <520F6049.8070805@d2ux.net> Date: Sat, 17 Aug 2013 13:36:41 +0200 From: Matthias Petermann User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130526 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Laptop Fn key causes X (Gnome 2) to sleep immediately References: <520DC77F.1060300@d2ux.org> <520EBF22.8080500@d2ux.org> <20130817032244.fba68660.freebsd@edvax.de> In-Reply-To: <20130817032244.fba68660.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 11:38:26 -0000 Am 17.08.2013 03:22, schrieb Polytropon: > On Fri, 16 Aug 2013 18:07:25 -0700, Adrian Chadd wrote: >> What keyboard / laptop has the key code '150' map to 'go to sleep' ? > My Sun Type 7 USB keyboard has the "Copy" key at code 150... :-) > > In my case it is a Lenovo X121e. Regards, Matthias From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 12:11:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B81BFA92 for ; Sat, 17 Aug 2013 12:11:31 +0000 (UTC) (envelope-from matthias@d2ux.org) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id 3DB9B2538 for ; Sat, 17 Aug 2013 12:11:30 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id 05CB484F25BC for ; Sat, 17 Aug 2013 14:11:30 +0200 (CEST) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id kr7sbk_PK0cJ for ; Sat, 17 Aug 2013 14:11:28 +0200 (CEST) Received: from www.s1.d2ux.org (unknown [10.0.0.4]) by mail.s1.d2ux.org (Postfix) with ESMTP id EDEF984F2580 for ; Sat, 17 Aug 2013 14:11:27 +0200 (CEST) Received: from p5DDA939C.dip0.t-ipconnect.de (p5DDA939C.dip0.t-ipconnect.de [93.218.147.156]) by d2ux.org (Horde Framework) with HTTP; Sat, 17 Aug 2013 14:11:27 +0200 Date: Sat, 17 Aug 2013 14:11:27 +0200 Message-ID: <20130817141127.Horde.jiI7wd0hCPQ42kDpGjLuQA2@d2ux.org> From: Matthias Petermann To: freebsd-questions@freebsd.org Subject: Re: Laptop Fn key causes X (Gnome 2) to sleep immediately References: <520DC77F.1060300@d2ux.org> <520EBF22.8080500@d2ux.org> In-Reply-To: User-Agent: Internet Messaging Program (IMP) H5 (6.1.3) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 12:11:31 -0000 At the moment it is not clear to me at which layer the issue is originated. In fact the acpi_ibm module doesn't work completely for the Lenovo X121e (brightness control with Fn+F8/F7 nonfunctional), so the issue might be related to this. I shall file a PR during the day. Kind regards, Matthias Zitat von Adrian Chadd : > Right, but this sounds like some bug to send upstream. Or at least patch in > our port(s) for this stuff. > > What keyboard / laptop has the key code '150' map to 'go to sleep' ? > > > > -adiran > > > On 16 August 2013 17:09, Matthias Petermann wrote: > >> Hi, >> >> a short update on this. I just found out: at least in Gnome 2 the behavior >> can be prevented by using the gconf-settings tool, changing the value of >> the key "/apps/gnome-power-manager/buttons/suspend" from "suspend" to >> "nothing". Seems like some ubuntu users had the same issue as I found the >> workaround there. >> >> Kind regards, >> Matthias >> >> >> Am 16.08.2013 08:44, schrieb Adrian Chadd: >> >> Hi! >> >> I'm glad someone else is seeing this! >> >> I have the same behaviour with KDE4 on my T60 and T400. If I go to run >> amiwm (because hey, Workbench is awesome!) it doesn't happen. >> >> .. and bah, I wish the resume worked for you. It works fine for me on >> T42i, T60, T400. >> >> >> >> -adrian >> >> >> >> On 15 August 2013 23:32, Matthias Petermann wrote: >> >>> >>> Hello, >>> >>> I have a Lenovo X121e running Current with X and the Gnome desktop. >>> Beside other issues[1] there is a strange behavior of Gnome-Desktop (and >>> GDM too). When I press "Fn" without any additional key, the device >>> immediately goes to sleep. As the X121e cannot resume properly from sleep, >>> this forces me to reboot. >>> >>> This problem appears to be only exist when using Gnome / GDM. >>> Pure X with TWM doesn't have this issue. >>> >>> I already tried to re-map the Fn key (I found in some mailing this might >>> have the keycode 150) to a "less dangerous" key: >>> $ xmodmap -e "keycode 150 = Delete" >>> this brought no change. >>> >>> Has anyone an idea if Gnome re-maps the keys in some way or how I can >>> disable this? At the moment this is the only blocker to use this Laptop for >>> daily work, as I tend to accidently touch the Fn key more often than I want >>> to reboot ;-) >>> >>> Thanks in advance & kind regards, >>> Matthias >>> >>> >>> [1] >>> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe@freebsd.org" >>> >> >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Matthias Petermann From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 12:56:38 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D7BE9F87 for ; Sat, 17 Aug 2013 12:56:38 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mailch-2.name-services.com (mailch-2.name-services.com [98.124.252.184]) by mx1.freebsd.org (Postfix) with ESMTP id C14D726D3 for ; Sat, 17 Aug 2013 12:56:38 +0000 (UTC) Received: from mailch.name-services.com (localhost [127.0.0.1]) by mailch.name-services.com (Postfix) with SMTP id 7930562E77C; Sat, 17 Aug 2013 05:56:34 -0700 (PDT) X-Sender-Id: 173.88.196.224 Received: from mail-24.name-services.com (sjl0vwsmail09.prod.dm.local [10.7.17.59]) by 0.0.0.0:2500 (trex/4.8.23); Sat, 17 Aug 2013 12:56:34 GMT X-Pool-Id: 3 Received: from [10.0.10.1] (cpe-173-88-196-224.neo.res.rr.com [173.88.196.224]) by mail-24.name-services.com with SMTP; Sat, 17 Aug 2013 05:56:27 -0700 Message-ID: <520F72FC.90206@a1poweruser.com> Date: Sat, 17 Aug 2013 08:56:28 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Karl Pielorz Subject: Re: jail.conf ignoring exec.fib? References: <98486B2D79D00F0898B7C9E6@Mail-PC.tdx.co.uk> <520B7F0F.7020006@a1poweruser.com> <1960A5B02323B4982B4C0320@Mail-PC.tdx.co.uk> In-Reply-To: <1960A5B02323B4982B4C0320@Mail-PC.tdx.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 12:56:38 -0000 Karl Pielorz wrote: > > > --On 14 August 2013 08:58 -0400 Fbsd8 wrote: > >> The jail(8) man page lacks details about how to use exec.fib. >> >> It requires either a new kernel (with "options ROUTETABLES=2" or however >> many you want), or a boot-time setting with "net.fibs=2" in >> /boot/loader.conf (requiring a reboot). > > Yup, done that :) > >> setfib 1 route add default 198.192.64.21 >> creates routing table number 1 with that IP address. >> >> In this example exec.fib="1" would be coded. >> >> See setfib(8) and setfib(2) for details. > > Yeah, I do that as well - but 'netstat -r -n' from within the jail shows > the systems default routing table. > > As opposed to 'setfib 1 netstat -r -n' (outside the jail) which shows > fib either has no default gateway, or the one I set (which is right). > > Just within the jail, it only every shows it's using the systems default > routing table :( > > Fib's work fine outside the jail (i.e. I can show them, set differing > default gateways) - but no matter what I do, the 'exec.fib=' line in > jail.conf seems to be ignored, when the jail is run up - it only ever > sees the default routing table :( > > -Karl > What your describing seems that the netstat command issued from within the jail is not "JAIL" aware. Develop another way from the host to verify that jail's 'exec.fib=' parameter is working or not. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 14:37:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E08282AD for ; Sat, 17 Aug 2013 14:37:30 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4152D2AAD for ; Sat, 17 Aug 2013 14:37:29 +0000 (UTC) Received: from [192.168.1.35] (mux.fjl.org.uk [62.3.120.246]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id r7HEbOS4011339 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO); Sat, 17 Aug 2013 15:37:26 +0100 (BST) (envelope-from freebsd-doc@fjl.co.uk) Message-ID: <520F8AA8.8030407@fjl.co.uk> Date: Sat, 17 Aug 2013 15:37:28 +0100 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Terje Elde Subject: Re: VPN where local private address collide References: <520E5EC0.5090105@fjl.co.uk> <9FB6809B-DD5D-4A04-8BD9-0271FAC03181@elde.net> <520F53A2.80707@fjl.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 14:37:30 -0000 On 17/08/2013 12:02, Terje Elde wrote: > On 17. aug. 2013, at 12:42, Frank Leonhardt wrote: >> The setup is basically as described and the desired outcome is to NAT "the other end" so the addresses appear different. > That's a solution to a problem, but I don't yet know what the problem is, which makes it harder to give any advice. > > Do you need "everything" to work in both directions? If so, then what is "everything"? > > Say both networks are at 192.168.0.0/24, and you remap so network A is available as 192.168.1.0/24 in network B, all machines at the same last octet (you can do that), and fix DNS for it. All good right? > > Well, it's not always that simple. Say you have a server running at 192.168.0.5 in network A, available at 192.168.1.5 in network B. A client connects (successfully) to it, ask for some data, and the server says "Get the data at 192.168.0.5:45756". Now the client will try to connect to that ip/port in network B, rather than following DNS for the IP that goes over the VPN and through the NAT, and get nowhere. > > You first hearing of that can be someone saying "The Foo-server is broken". You've just layered hack on top of hack, so you don't initially know if it's the user, his computer, the server, the VPN, the NAT or DNS, an incompatible protocol that doesn't like the setup, or the weird routing you'll have to set up. > > If you're looking at this as an easy fix to reach a specific server or service, by all means. But if you're looking at this as a general solution to bridging two networks, then just don't do it. Save yourself the grief, because if this works at all, it's down to luck, and even if you're get lucky now, you might not stay lucky. What happens if you add VoIP to the mix in two years? Or teleconferencing in three? > > Basing network-design on present and future luck is just going to give you more grief that I than I'd wish for anyone. This is just the sort of problem Google will have when it buys Facebook :-) Your explanation of the foul-up possible with NAPT is well made, although not really talking about the kind of NAT used on Home/SME routers (one public address hiding many private one) - I'm thinking of Basic NAT - one-to-one replacement, not one-to-many. (i.e. static address assignment). All the router (or firewall) needs to do is swap the IP address in the header as it passes through, and swap it back when it returns. The two hosts shouldn't notice a thing. FWIW it works pretty well without NAT if you can avoid address conflicts, and in a small installation its possible. But consider this really trivial example: Both LANS are on the same subnet. You connect a single local host to the remote LAN on a VPN. It should be allocated a remote address that doesn't conflict with anything there. So far, so good. Now you try to connect to a remote IP address. How does your host know which interface to use - local LAN or VPN?!? If you're doing Layer 2 on the VPN, ARP seems to sort it out but its hardly clean, and when you end up with a clash (same IP on local and remote) it's never going to work. The obvious answer is IPv6, of course. I'm surprised no one has mentioned it yet. For the NAT I'm talking about see RFC2663. Take a look a Section 2.8, last paragraph. This exact problem was described back in 1999 :-) mpd does handle NAT (Section 4.14 of its manual). It doesn't go in to great detail execept to say it uses ng_nat, which in turn uses libalias (like natd). Looking at the ng_nat 'C' interface, NGM_NAT_REDIRECT_ADDR sounds like what I'm after but it all looks geared to NAPT (which is, I guess, what most people use NAT for). And I've got this nagging feeling that ipfw is going to be involved somewhere, just to make it really tricky. Regards, Frank. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 15:15:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CA1DE8F for ; Sat, 17 Aug 2013 15:15:46 +0000 (UTC) (envelope-from jimdunn@usa.net) Received: from co03.mbox.net (co03.mbox.net [165.212.64.33]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A7D382C7A for ; Sat, 17 Aug 2013 15:15:46 +0000 (UTC) Received: from co03.mbox.net (localhost [127.0.0.1]) by co03.mbox.net (Postfix) with ESMTP id 3cHPzv0cs5zvSVq for ; Sat, 17 Aug 2013 15:13:31 +0000 (UTC) X-USANET-Received: from co03.mbox.net [127.0.0.1] by co03.mbox.net via mtad (C8.MAIN.3.82G) with ESMTP id 334RHqPNZ0512M03; Sat, 17 Aug 2013 15:13:24 -0000 X-USANET-Routed: 3 gwsout-vs Q:bmvirus X-USANET-Routed: 3 gwsout-vs Q:bmvirus X-USANET-GWS2-Tenant: usa.net X-USANET-GWS2-Tagid: UNKN Received: from ca32.cms.usa.net [165.212.11.132] by co03.mbox.net via smtad (C8.MAIN.3.90E) with ESMTP id XID239RHqPNZ8843X03; Sat, 17 Aug 2013 15:13:25 -0000 X-USANET-Source: 165.212.11.132 OUT jimdunn@usa.net ca32.cms.usa.net X-USANET-MsgId: XID239RHqPNZ8843X03 Received: from [192.168.1.102] [71.2.166.106] by ca32.cms.usa.net (ESMTPSA/jimdunn@usa.net) via mtad (C8.MAIN.3.82G) with ESMTPSA id 362RHqPNy3232M32; Sat, 17 Aug 2013 15:13:24 -0000 X-USANET-Auth: 71.2.166.106 AUTH jimdunn@usa.net [192.168.1.102] Message-ID: <520F9317.1090101@usa.net> Date: Sat, 17 Aug 2013 11:13:27 -0400 From: Jim Dunn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Subject: Torrent Link Dead X-Enigmail-Version: 1.5.2 Z-USANET-MsgId: XID362RHqPNy3232X32 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 15:15:46 -0000 Hey, I noticed that the http://torrents.freebsd.org:8080/ link is dead (it's listed on http://distrowatch.com/table.php?distribution=freebsd) Thx! -- *Jim Dunn* *JimDunn@USA.Net* From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 15:31:34 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7989F3F8 for ; Sat, 17 Aug 2013 15:31:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3E04A2D2B for ; Sat, 17 Aug 2013 15:31:33 +0000 (UTC) Received: from r56.edvax.de (port-92-195-92-43.dynamic.qsc.de [92.195.92.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 7F0213C68F; Sat, 17 Aug 2013 17:31:31 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r7HFVQZr003400; Sat, 17 Aug 2013 17:31:26 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 17 Aug 2013 17:31:26 +0200 From: Polytropon To: Walter Hurry Subject: Re: Mouse Trails? Message-Id: <20130817173126.e6f52195.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 15:31:34 -0000 On Sat, 17 Aug 2013 09:07:20 +0000 (UTC), Walter Hurry wrote: > My sight is deteriorating. I can still see and read the screen, but > sometimes locating the mouse pointer (LXDE here) is difficult. If LXDE uses an ugly white mouse cursor, try changing it to black (the normal color for mouse cursors on all serious GUI systems). The classical way of solving the "where is the mouse cursor" problem is to install xeyes. :-) > Is there a port which will give me mouse trails when the rodent is moved? This is usually done by the means of the desktop environment's mouse configuration, but if I remember correctly, LXDE does not offer this. Additional software like Compiz could help you here: There seems to be a plugin that adds a mouse trail. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 16:14:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3EEE091C for ; Sat, 17 Aug 2013 16:14:54 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F2B302EBB for ; Sat, 17 Aug 2013 16:14:53 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VAj9O-0007pu-Je for freebsd-questions@freebsd.org; Sat, 17 Aug 2013 18:14:50 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Aug 2013 18:14:50 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Aug 2013 18:14:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: Mouse Trails? Date: Sat, 17 Aug 2013 16:14:32 +0000 (UTC) Lines: 28 Message-ID: References: <20130817173126.e6f52195.freebsd@ edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 16:14:54 -0000 On Sat, 17 Aug 2013 17:31:26 +0200, Polytropon wrote: > On Sat, 17 Aug 2013 09:07:20 +0000 (UTC), Walter Hurry wrote: >> My sight is deteriorating. I can still see and read the screen, but >> sometimes locating the mouse pointer (LXDE here) is difficult. > > If LXDE uses an ugly white mouse cursor, try changing it to black (the > normal color for mouse cursors on all serious GUI systems). The > classical way of solving the "where is the mouse cursor" problem is to > install xeyes. :-) > > > >> Is there a port which will give me mouse trails when the rodent is >> moved? > > This is usually done by the means of the desktop environment's mouse > configuration, but if I remember correctly, LXDE does not offer this. > > Additional software like Compiz could help you here: There seems to be a > plugin that adds a mouse trail. Thanks once again, Polytropon. The mouse pointer is indeed black. LXDE only offers three mouse config options: acceleration, sensitivity and handedness (swap buttons). I am reluctant to install Compiz, but xeyes looks to be just the ticket! From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 16:58:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4D3C59BD for ; Sat, 17 Aug 2013 16:58:10 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DAC1620BF for ; Sat, 17 Aug 2013 16:58:09 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r7HGWIC1049134; Sat, 17 Aug 2013 17:32:18 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <520FA592.7010305@qeng-ho.org> Date: Sat, 17 Aug 2013 17:32:18 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130810 Thunderbird/17.0.8 MIME-Version: 1.0 To: Karl Pielorz Subject: Re: jail.conf ignoring exec.fib? References: <98486B2D79D00F0898B7C9E6@Mail-PC.tdx.co.uk> <520B7F0F.7020006@a1poweruser.com> <1960A5B02323B4982B4C0320@Mail-PC.tdx.co.uk> In-Reply-To: <1960A5B02323B4982B4C0320@Mail-PC.tdx.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 16:58:10 -0000 On 14/08/2013 16:49, Karl Pielorz wrote: > > > --On 14 August 2013 08:58 -0400 Fbsd8 wrote: > >> The jail(8) man page lacks details about how to use exec.fib. >> >> It requires either a new kernel (with "options ROUTETABLES=2" or however >> many you want), or a boot-time setting with "net.fibs=2" in >> /boot/loader.conf (requiring a reboot). > > Yup, done that :) > >> setfib 1 route add default 198.192.64.21 >> creates routing table number 1 with that IP address. >> >> In this example exec.fib="1" would be coded. >> >> See setfib(8) and setfib(2) for details. > > Yeah, I do that as well - but 'netstat -r -n' from within the jail shows > the systems default routing table. > > As opposed to 'setfib 1 netstat -r -n' (outside the jail) which shows > fib either has no default gateway, or the one I set (which is right). > > Just within the jail, it only every shows it's using the systems default > routing table :( > > Fib's work fine outside the jail (i.e. I can show them, set differing > default gateways) - but no matter what I do, the 'exec.fib=' line in > jail.conf seems to be ignored, when the jail is run up - it only ever > sees the default routing table :( What do you get in the jail from sysctl net.fibs sysctl net.my_fibnum ? You should be getting 2 and 1 respectively. If you are, what happens in the jail when you ping an address that's covered by the fib 0 default route but that should be unroutable in the jail? You will need to enable allow.raw_sockets for the jail temporarily to try that. -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 22:15:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E14F98C6 for ; Sat, 17 Aug 2013 22:15:42 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6AA282EB9 for ; Sat, 17 Aug 2013 22:15:41 +0000 (UTC) Received: from [192.168.1.35] (mux.fjl.org.uk [62.3.120.246]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id r7HMFXAv099244 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 17 Aug 2013 23:15:33 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <520FF609.9090002@fjl.co.uk> Date: Sat, 17 Aug 2013 23:15:37 +0100 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: NAT loopback using natd and ipfw Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 22:15:42 -0000 Does anyone know how to get NAT loopback (aka NAT hairpin or NAT reflection) working with natd and ipfw? It seems to work with the in-kernel NAT without the need for configuration, but not if you're using natd. I have a feeling it may be something do do with the ipfw "diverted-loopback" test in natd but if I experiment and get it wrong it's five hours on the motorway for me. Incidentally, I've set net.inet.ip.fw.one_pass set to 0 but it didn't help. Thanks, Frank. (By "NAT loopback" I mean the situation when you're using NAT to translate one WAN IP to many local LAN IPs (i.e. the usual). If a LAN machine tries to access the WAN IP, you need NAT to treat it as an incoming connection and port-forward it as appropriate to a LAN IP as if the packet had come from the Internet. This is not weird; it's what most home and small office routers do by default). From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 23:29:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DD6D9D9A for ; Sat, 17 Aug 2013 23:29:41 +0000 (UTC) (envelope-from terje@elde.net) Received: from keepquiet.net (keepquiet.net [IPv6:2a01:4f8:130:84c1::deaf:babe]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9D6EE221E for ; Sat, 17 Aug 2013 23:29:41 +0000 (UTC) Received: from [10.130.11.108] (cm-84.210.76.250.getinternet.no [84.210.76.250]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: terje@elde.net) by keepquiet.net (Postfix) with ESMTPSA id 9C53A2E42C; Sun, 18 Aug 2013 01:29:38 +0200 (CEST) References: <520E5EC0.5090105@fjl.co.uk> <9FB6809B-DD5D-4A04-8BD9-0271FAC03181@elde.net> <520F53A2.80707@fjl.co.uk> <520F8AA8.8030407@fjl.co.uk> In-Reply-To: <520F8AA8.8030407@fjl.co.uk> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <1FF39756-0555-4CD8-95B7-862F9644CF78@elde.net> X-Mailer: iPhone Mail (10B329) From: Terje Elde Subject: Re: VPN where local private address collide Date: Sun, 18 Aug 2013 01:29:36 +0200 To: Frank Leonhardt Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 23:29:41 -0000 On 17. aug. 2013, at 16:37, Frank Leonhardt wrote: > This is just the sort of problem Google will have when it buys Facebook :-= ) Probably not. If Google were to buy Facebook, I'm confident they'd be able t= o renumber their networks if they have to.=20 > Your explanation of the foul-up possible with NAPT is well made, although n= ot really talking about the kind of NAT used on Home/SME routers (one public= address hiding many private one) - I'm thinking of Basic NAT - one-to-one r= eplacement, not one-to-many. (i.e. static address assignment). All the route= r (or firewall) needs to do is swap the IP address in the header as it passe= s through, and swap it back when it returns. The two hosts shouldn't notice a= thing. That's a good theory. In reality, it's much more complicated.=20 What about SSL/TLS for example? How would the router swap the header in an e= ncrypted session? (That's a likely scenario with blth VoIP, teleconferencing and ftp over ssl b= tw).=20 Swapping headers is also a bit outside the scope of NAT, and over to applica= tion level gateway. I've seen probably hundreds of attempts at such solution= s, most didn't work at all, and few - if any - worked well.=20 > FWIW it works pretty well without NAT if you can avoid address conflicts, a= nd in a small installation its possible. But consider this really trivial ex= ample: If you're fine with the way it works without conflicts, why not just move th= ings around? Change statically configured IPs, and narrow the DHCP scopes to= avoid conflict? > The obvious answer is IPv6, of course. I'm surprised no one has mentioned i= t yet. You seemed dead set on not renumbering the networks, and moving to IPv6 woul= d not only be just that, but also be harder than just renumbering IPv4-nets,= so you answered that question for us already.=20 > mpd does handle NAT (Section 4.14 of its manual). It doesn't go in to grea= t detail execept to say it uses ng_nat, which in turn uses libalias (like na= td). Looking at the ng_nat 'C' interface, NGM_NAT_REDIRECT_ADDR sounds like w= hat I'm after but it all looks geared to NAPT (which is, I guess, what most p= eople use NAT for). And I've got this nagging feeling that ipfw is going to b= e involved somewhere, just to make it really tricky. If you do insist on shooting the networkowner(s) in the foot, pf would proba= bly do fine for the NAT.=20 Best of luck on your adventure sir, you'll need it. If not today, then some d= ay ahead. Bring a towel.=20 Terje